body {
    padding-top: 50px;
}

a, a:hover, a:focus, a.active{
    outline: none;
}
.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.navbar-fixed-top {
    border: 0;
}

.sideniv-taggle{
    float: left;
    font-size: 30px;
    height: 50px;
    line-height: 30px;
    padding: 10px 15px 10px 0px;
}

.sidebar{
    width: 250px;
    position: fixed;
    top: 50px;
    left: 0;
    bottom: 0;
    overflow: hidden;
    white-space: nowrap;
    z-index: 1000;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;   
    background-color: #f5f5f5;
    transition: width 0.5s ease-in-out;
}

.main{
    margin-left: 250px;
    margin-bottom: 70px;
    transition: margin-left 0.5s ease-in-out;
}

#MainContainer.loading::before{
    animation: 1s linear 0s normal none infinite running fa-spin;
    content: " ";
    display: block;
    height: 50px;
    width: 50px;
    top: 50%;
    left: 50%;
    position: absolute;
    text-align: center;
    vertical-align: middle;
    z-index: 1000;
    border: 15px double;
    border-color: #002a80 #99a9cc #99a9cc #99a9cc;
    background-color: #FFFFFF;
    border-radius: 50px;
}

.footer {
    bottom: 0;
    position: fixed;
    width: calc(100% - 250px);
    max-height: 60px;
    margin-left: 250px;
    transition: margin-left 0.5s ease-in-out;
}

.system-alerts .alert{
    border-radius: 0;
    margin: -20px 0 20px 0;
    text-align: center;
}

.full-width > .sidebar{
    width: 45px;
}
.full-width > .main,.full-width > .footer{
    margin-left: 45px;
}
.full-width > .footer{
    width: calc(100% - 45px);
}

/*Sidebar navigation*/ 
.nav-sidebar {
    padding: 5px 0;
}
.nav-sidebar:first-child{
    padding: 0;
}

.nav-sidebar > li.separator{
    height: 1px;
    border-bottom: 1px solid #CCCCCC;
    margin: 10px 0px;
}

.nav-sidebar > li > a {
    padding: 10px;
    border-left: 10px solid transparent;
}
.nav-sidebar > li > a > i, .nav-sidebar > li > a > span{
    display: inline-block
}
.nav-sidebar > li > a > span{
    padding-left: 10px;
}

.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
    color: #fff;
    background-color: #428bca;
    /*border-left-color: #428bca;*/
}

.toolsbar{
    border-radius: 0px;
    border-left: 0px;
    border-right: 0px;
}

.toolsbar .page-heading{
    margin: 0px;
    padding: 14px 0;
    font-size: 20px;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.toolsbar .toolsbar-nev{
    margin: 0px;
}

.toolsbar-nev .toolsbar-btn{
    display: inline-block;
    font-size: 14px;
    margin: 7px 2px;
}

/*Draw*/

.draw {
    position: relative;
}
.drawdown{
    background-clip: padding-box;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    /*border-radius: 4px;*/
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176);
    display: none;
    float: left;
    font-size: 14px;
    left: 0;
    list-style: outside none none;
    margin: 5px 0 0;
    min-width: 250px;
    position: absolute;
    text-align: left;
    top: 100%;
    z-index: 1000;
}
.drawdown-right{
    left: auto;
    right: 0;
}

.drawdown:before{
    background-clip: padding-box;
    content: "";
    position: absolute;
    border: 10px solid;
    border-color: transparent transparent #FFFFFF transparent;
    top: -15px;
    left: 10px;
}
.drawdown-right:before{
    left: auto;
    right: 10px;
}

.drawdown .draw-body{
    padding: 10px;
}

.drag-drop-zone{
    border: 2px dashed #cccccc; 
    padding: 10px 10px; 
    text-align: center;
    position: relative;
}
.drag-drop-zone input[type="file"]{
    display: table-cell;
    margin-top: 10px;
}

.drag-drop-zone .preview {
    margin-top: 10px;
}
.drag-drop-zone img{
    max-width: 100%;
    max-height: 300px;
}
.drag-drop-zone .preview .upload-progress{
    width: 0%;
    float: none;
    margin-top: 3px;
}
.gallery_images{
    width: 200px;
    height: 150px;
}

/*timetable*/
.timetable tbody td:hover{
    background-color: #dddddd;
    cursor: pointer;
}
.tt-cell-link{
    display: inline-block;
    width: 100%;
    height: 100%;
}
.tt-cell-link:hover,.tt-cell-link:focus, .tt-cell-link:active{
    text-decoration: none;
}

.listing-thumb{
    width: 70px;
    max-height: 130px;
}

.relative {
    position: relative;
}

.list-group-item .action-btn-group{
    display: none;
    position: absolute;
    right: 10px;
    top: 10px;
}

.list-group-item:hover .action-btn-group, .action-btn-group.visible {
    display: block;
}

.task-text.done{
    text-decoration: line-through;
    color: #3c763d;
}

table tr td .form-group,table tr th .form-group{
    margin-bottom: 0px;
}

@media (max-width: 360px) {
    .navbar-brand{
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 215px;
    }
    .main{
        margin-left: 0px !important;
    }
    .sidebar{
        width: 250px;
        transition: width 0.5s ease-in-out;
    }

    .full-width > .sidebar{
        width: 0px;
    }

    .toolsbar{
        /*text-align: center;*/
    }
    .toolsbar .toolsbar-nev{
        /*text-align: center !important;*/
    }
}
#overlay{
    position: absolute;
    background-color: black;
    width: 100%;
    height: 100%;
    z-index: 9999;
    top: 0;
    left: 0;
    opacity: .4;
    display: none;
}
#message_form{
    position: absolute;
    top: 100px;
    z-index: 10000;
    display: none;
}
.DeleteLectureTime{
    margin: 20px 0px -5px 0px;
}
.large_icons .fa{
    font-size: 22px;
}
