:root{
    --primary-color: #707cd2;
    --text-primary-color: #313131;
    --success-color: #4caf50;
}

body{
    background: #edf1f5;
    min-height: 100vh;
    font-size: 14px;
    font-weight: 300;
    font-family: 'Roboto';
    color: var(--text-primary-color);
}

a{
    text-decoration: none;
    color: var(--primary-color);
}

th{
    border-bottom: 1px solid #e4e7ea !important;
}

    --success-color: #4caf50;
a:hover{
    text-decoration: none;
    color: var(--primary-color);
}

ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-form{
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: center;
}

.auth-form form{
    width: 400px;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
}

.btn-primary,
.btn-primary:focus,
.btn-primary:hover{
    background-color: var(--primary-color);
    border-color:  var(--primary-color);
    color: #fff;
}

.btn-danger,
.btn-danger:focus,
.btn-danger:hover{
    color: #fff;
}

.btn-success,
.btn-success:focus,
.btn-success:hover {
    background-color: var(--success-color);
    border-color:  var(--success-color);
    color: #fff;
}


#app{
    height: 100vh;
    overflow: auto;
    display: flex;
}

.main{
    height: 100vh;
    overflow: auto;
    display: flex;
    width: 100%;
    flex-direction: column;
}

.topbar{
    height: 60px;
    background: #fff;
    z-index: 1000;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 30px;
}

.sidebar{
    width: 0px;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    z-index: 1050;
    position: relative;
    transition: 0.5s all ease;
}

.sidebar.open{
    width: 270px;

}

.sidebar .logo{
    display: flex;
    align-items: center;
    height: 50px;
    border-bottom: 1px solid #fff;
    padding: 0 15px;
}
.sidebar .logo a{
    font-weight: 700;
    font-size: 24px;
    color: var(--text-primary-color);
}

.sidebar ul li{
   padding: 0 15px;
}

.sidebar ul li:hover a,
.sidebar ul li.active a{
    color: #fff;
}

.sidebar ul li:hover,
.sidebar ul li.active{
    background: var(--primary-color);
}

.sidebar ul li a{
    display: block;
    padding: 6px 0;
    color: #54667a;
}


.topbar .toggle-sidebar{
    cursor: pointer;
    margin-left: 10px;
}

.content{
    height: calc(100vh - 60px);
    transition: 0.5s all ease;
    width: 100%;
    padding: 30px;
    overflow: auto;
}

.flex-center-between{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap;
}

.dz-preview{
    display: none;
}

.images-list{
    display: flex;
}

.image-item{
    position: relative;
    margin-right: 15px;
    margin-bottom: 15px;
    filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.15));
}

.image-item img{
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    width: 150px;
    height: 150px;
}

.image-item .delete-file{
    position: absolute;
    top: -5px;
    right: -5px;
}

.page-item.active .page-link {
    background: var(--primary-color);
}

th.sort{
    cursor: pointer;
    position: relative;
    white-space: nowrap;
}
th.sort .fa{
    display: none;
    font-size: 16px;
    margin-left: 10px;
}
th.sort[data-desc=desc] .fa-sort-desc{
    display: inline-block;
}
th.sort[data-desc=asc] .fa-sort-asc{
    display: inline-block;
}

.card-body{
    padding: 30px;
    padding-top: 15px;
}

.page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.flex-center{
    justify-content: center;
    align-items: center;
    display: flex !important;;
}

.flex-center-right{
    justify-content: flex-end;
    align-items: center;
    display: flex !important;;
}

.flex-center-left{
    justify-content: flex-start;
    align-items: center;
    display: flex !important;;
}

.flex-center-between{
    justify-content: space-between ;
    align-items: center;
    display: flex !important;
}

.table td, .table th{
    vertical-align: middle;
}

.table-toolbar{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.table-toolbar>*{
    padding: .20rem .4rem;
    border-radius: 0;
}

.table-header{
    padding: 10px 0;
}

.form-footer{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.form-footer .btn{
    margin-right: 15px;
}

.form-footer .btn:last-of-type{
    margin-right: 0;
}

.card-title{
    font-size: 20px;
    margin-bottom: 0;
}

.form-body{
    margin-bottom: 20px;
}

form .tab-pane,
.fixed-tabs .tab-pane{
    height: calc(100vh - 400px);
    min-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}

.image-field{
    display: flex;
    width: 250px;
    height: 250px;
    align-items: center;
    justify-content: center;
    position: relative;
}
.image-field .image-delete,
.image-field .image-edit{
    display: none;
}

.image-field.has-image .image-delete,
.image-field.has-image .image-edit{
    display: block;
}

.image-field.has-image img{
    cursor: pointer;
}

.image-field img{
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.image-options{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: #00000099;
    padding: 5px;

}

.image-options a{
    color: #fff;
    padding: 5px 5px;
}

.image-toolbar{
    display: flex;
    align-items: center;
}

th[data-sort="id"]{
    width: 80px;
}

th[data-sort=sort]{
    width: 80px;
}

.modal-title{
    font-size: 20px;
}

.sidebar-title{
    font-size: 16px;
    font-weight: 500;
    display: block;
    padding-bottom: 7px!important;
    padding-top: 10px !important;
    margin-bottom: 5px;
    border-bottom: 1px solid #e4e7ea;
}

.sidebar ul li.sidebar-title:hover{
    background: inherit;
}

.auth-container{
    position: fixed;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: url('/img/login-register.jpg') no-repeat center;
    background-size: cover;
}

.auth-form-container{
    width: 350px;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 50px 30px;
    z-index: 200;
    background: #fff;
}

.auth-info {
    position: absolute;
    width: 50%;
    top: 100px;
    left: 100px;
    padding: 20px;
    background-color: rgba(22,22,22, 0.5);
}

.auth-info h1 {
    color: #fff;
    font-size: 45px;
    font-weight: 500;
}

.auth-info h2 {
    color: #fff;
    line-height: 1.2;
    margin: 20px 0;
}

.auth-info h3 {
    color: #fff;
    font-size: 16px;
    line-height: 1.3;
}

.select2-container{
    z-index: 5000;
}

.switch{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.switch label{
    margin-right: 10px;
    margin-bottom: 0;
}

.switch.checked .switcher svg{
    transform: none;
}

.switch.checked .switcher svg .switch-background{
     fill: #7C86DD;
}

.switch .switcher{
    cursor: pointer;
}

.switch .switcher svg{
    transform: rotate(180deg);
    height: 20px;
    width: 35px;
}

.switch .switcher svg .switch-background{
    fill:  #C9C9C9;
}

.table-striped>tbody>tr:nth-of-type(odd){
    background: #f8f8f8;
}

.table>:not(caption)>*>* {
    box-shadow: none;
}


.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple{
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    font-size: 0.9rem;
    line-height: 1.5;
    padding: .375rem .75rem;
    height: auto;
    color: #212529;
}

.select2-container .select2-selection--single .select2-selection__rendered{
    padding-left: 0;
    line-height: 1.6;
}

.select2-container--default.select2-container--focus .select2-selection--multiple{
    border: 1px solid #ced4da;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice{
    background: #000;
    color: #fff;
    font-size: 14px;
    margin-top: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    border: none !important;
    color: #fff;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    background: inherit;
    color: #fff;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 8px;
}

.fc-toolbar-chunk{
    display: flex;
    align-items: center;
}

.calendar-teachers-list{
    overflow: auto;
    height: 680px;
}

.calendar-teacher-item{
    color: #000;
    font-weight: 500;
    padding: 5px 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 13px;
}

.no-margin{
    margin:0 !important;
}

.btn-secondary.active {
    background-color: #000000;
    border-color: #51585e;
    color: #fff;
}
.schedule-weekday-checks{
    display: flex;
}
.schedule-weekday-checks label{
    margin-right: 2px;
}

.schedule-weekday-checks .switch{
    margin-right: 10px;
}
.schedule-weekday-checks .switcher svg{
    width: 25px;
}

.dashboard-widget{
    height: 100%;
    max-height:400px;
    overflow: auto;
}
.form-control[readonly]{
    background-color:#fff;
}
.date-range-wrapper{
    display: flex;
}

.date-range-wrapper input{
    width: 150px;
}

.date-range-wrapper input:first-of-type{
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-right: none;
}

.date-range-wrapper input:last-of-type{
    border-radius: 0px;
    border-right: none;
}
.date-range-wrapper .btn{
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.form-control,
.form-control:focus{
    outline:none;
    box-shadow:none;
}

.fc-timegrid-event, .fc-event-title {
    font-size: 11px;
}

.fixed-block{
    overflow: auto;
    height: 500px;
}
[data-load="1"]{
    position: relative;
    z-index: 1;
}
[data-load="1"]:before{
    position: absolute;
    z-index: 100000;
    background: #00000055;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
   content: "";


}
[data-load="1"]:after{
    content: "\f110";
    z-index: 100001;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 50px;
    animation: fa-spin 2s infinite linear;
    color: white;
    position: absolute;
    top: 50%;
    margin-top: -25px;
    left: 50%;
    margin-left: -25px;
}

