html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    /*padding: 70px 15px 20px;*/
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav > li > form {
    padding: 8px;
}

@media(max-width:768px) {
    .nav li > form {
        padding: 3px;
    }
}

.nav > li > form > button:hover {
    text-decoration: none;
}


.tab-list{
    padding: 0;
    border-bottom:1px solid #8da0aa;
}

.tab-list >li{
    float: left;
    margin-bottom: -1px;
    cursor: pointer;
    display: inline-block;
    padding: 10px 30px;
    /*background-color: #f5f5f5;*/
    border-radius: 2px;
    border-bottom:1px solid #8da0aa;
    /*border-bottom: transparent;*/
    color: #777;
    font-size: 14px;
    font-weight: bold;
}

.tab-list >li:hover{
    background-color: #f5f5f5;
}

.is-hide{
    display: none;
}

.tab-list >li.active{
    color: #777;
    margin-bottom: -1px;
    /*border-color: #00b19b;*/
    background-color: #f5f5f5;;
    border:1px solid #8da0aa;
    border-bottom: transparent;
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125)
}

.navbar-gradient{
    background: radial-gradient(circle at 1.98% 40.96%,#00c6ff,transparent 100%),
    radial-gradient(circle at 98.02% 52.04%,#0072ff,transparent 100%),
    radial-gradient(circle at 50% 50%,#0cc285,#0cc285 100%);
}

.nav>li>a{
    color: white;
    line-height: 30px !important;
    font-size: 14px;
    margin-bottom: 0 !important;
}
.nav>li>a:hover{
    color: #000;
}

button.btn.btn-link.btn-logaut{
    color: white;
}

button.btn.btn-link.btn-logaut:hover{
    text-decoration: underline;
}

.btn-create{
    display: flex;
    justify-content:center;
    /*align-items: center;*/
    position: fixed;
    bottom: 10%;
    /*left: 5%;*/
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    font-size: 22px;
    line-height: 44px;

    -webkit-box-shadow: 0 0 20px -5px #000000;
    box-shadow: 0 0 20px -5px #000000;

    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.btn-create:hover{
    -webkit-box-shadow: 0 5px 25px -5px #000000;
    box-shadow: 0 5px 25px -5px #000000;
}

.grid-view td {
    /*max-height: 20px;*/
    white-space: pre-line;
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
}

.klass-pupils-multi{
    padding: 20px 0;
}
a.klass-pupil-filter__trigger{
    /*display: inline-block;*/
    padding: 10px 0;
}

.sidebar .nav>li{
    text-align: center;
}
.sidebar .nav>li>a{
    color: #777;
}
.sidebar i.glyphicon{
    font-size: 2.2em;
}
.sidebar a:hover>i.glyphicon{
    color: #02b2e2;
}
.panel-primary>.panel-heading {
    color: #777;
    background-color: #f5f5f5;
    border-color: #f5f5f5;
}

#lessonList{
    margin: 30px 0;
    list-style: none;
}
#lessonList h3{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #d2d6de;
    padding: 5px;
    font-weight: bold;
}
#lessonList h3>span{
    font-size: 14px;
    font-weight: normal;
    color: #3c8dbc;
}
#lessonList li{
    margin: 20px 0;
}
#lessonList tr{
    display: inline-block;
    margin: 15px 0;
    padding: 5px 0;
    /*margin-left: 25px;*/
    border-bottom: 2px solid #02b2e2;
    font-size: 1.3em;
    width: 100%;
}
#lessonList td{
    display: table-cell;
    padding: 0 10px;
}
.shedule-period {
    font-size: 1.4em;
    text-align: center;
    line-height: 34px;
    color: #3c8dbc;
}
tr.kv-grid-group-row>td {
    background: rgba(46, 204, 113, 0.65) !important;
    color: white;
}
.table-hover .kv-grouped-row:hover{
    background: rgba(46, 204, 113, 0.65) !important;
    color: white;
}

.disablePodcut{
    background-color: rgba(255, 18, 56, 0.34);
}

#cke_22{
    display: none;
}

.main-post{
    margin: 1em 0;
}
.main-post .main-post__body{
    /*min-height: 330px;*/
}

.main-post .main-post__body .heading{
    margin-top: 0.5em;
    text-align: left;
    font-size: 1.2em;
    font-weight: bold;
    height: 65px;
    overflow: hidden;
}
.main-post .main-post__body .desc{
    height: 200px;
    background-color: #fff;
    padding: 0.5em 0.5em;
    font-size: 16px;

    -webkit-box-shadow: 0 4px 10px -5px #030303;
    box-shadow: 0 4px 10px -5px #030303;
}

@media
(-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    /* Retina-specific stuff here */
    .main-post .main-post__body .desc{
        font-size: 12px;
    }
}

.popover-x-body .navbar{
    z-index: 2;
}

.sidebar-menu .treeview-menu>li{
    white-space: normal;
}

.kv-panel-before .dropdown-menu{
    left: inherit !important;
}

/*404*/
#fof{
    color: white;
    text-align: center;
    height: 100vh;
    /*background-image: url('http://www.shingalaexpo.com/web/images/Contact1.jpg');*/
    background-image: url('http://cdn.wallpapersafari.com/29/28/Ecp2Di.jpeg');
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}
#fof .container{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}
#fof .container a{
    margin-top: 2em;
    text-transform: uppercase;
    color: white;
}
#fof .container a:hover{
    font-weight: bold;
}


/*fix image*/
.carousel-inner>.item>a>img, .carousel-inner>.item>img, .img-responsive {
    display: block;
    width: 200px;
    height: 140px;
    object-fit: contain;
}
.main-post__thubmail .heading {
    position: absolute;
    bottom: 0;
    font-size: 1.5em;
    padding: 5px;
    color: white;
    background-color: rgba(0, 0, 0, 0.58);
    display: inline;
}
.main-post__thubmail {
    position: relative;
    min-height: 200px;
    /* height: 100%; */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.main-post__thubmail img.img-responsive{
    display: block;
    width: 200px;
    height: 140px;
    object-fit: contain;
}

/*content height fix*/
.content-wrapper{
    /*min-height: calc(100vh - 99px) !important;*/
    height: auto;
}
/*fix inner-table*/
td.kv-child-table-cell{
    padding: 0 !important;
}
.kv-child-table{
    width: 100%;
}
.kv-child-table th{
    text-align: left !important;
}
.kv-child-table th,.kv-child-table td{
    padding: 10px;
    border-left: 1px solid #f4f4f4;
    border-right: 1px solid #f4f4f4;
}

.inbox .inbox-header{
    display: flex;
    padding: 10px 10px;
    margin-bottom: 15px;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-top: 2px solid #3c8dbc;
}
.inbox .inbox-header h3{
    display: inline-block;
    font-size: 1em;
    text-transform: uppercase;
}

.inbox .box-body{
    max-height:300px;
    overflow: scroll;
}

.inbox-controls{
    background-color: #fff;
    padding: 0 10px;
    text-align: right;
}
.inbox-list{
    padding: 0;
    padding-top: 10px;
    background-color: #fff;
    min-height: 160px;
}

.inbox__search-recepient{
    width: 100%;
    padding: 10px 15px;
}

.inbox-list li{
    display: flex;
    align-items: center;
    padding: 10px;
    border-top: 1px solid #f4f4f4;
    border-bottom: 1px solid #f4f4f4;
}
.inbox-list__item--empty{
    justify-content: center;
    text-transform: uppercase;
}
.inbox-list li:nth-child(2n+1){
    background-color: #f9f9f9;
}
.mail-message{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mail-delete{
    font-size: 1.3em;
    color: #dd4b39;
}
.chat-direct-header{
    padding: 10px;
    background-color: #3c8dbc;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    color: #000;
}
.chat-direct-header__title{
    margin: 0;
    font-size: 1.5em;
    color: white;
}
.chat-direct-list{
    height: 50vh;
    overflow: scroll;
    padding: 5px 10px;
    background-color: #fff;
}
.chat-direct-message{
    padding: 5px;
    margin: 1.2em 0;
    list-style: none;
}
.chat-direct-message--no-read{
    padding: 5px;
    margin: 1.2em 0;
    list-style: none;
    background-color: rgba(61, 141, 188, 0.08);
}
.chat-direct-message-info{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.chat-direct-message-info .author{
    font-size: 0.9em;
    font-weight: bold;
    color: #000;
}
.chat-direct-message-info .date{
    font-size: 0.8em;
    color: #999;
    font-style: italic;
}
.chat-direct-message-text{
    position: relative;
    border:1px solid;
    border-radius: 5px;
    padding: 5px 10px;
    margin-top: 2px;
    margin-bottom: 10px;
    font-size: 1.2em;
}
.chat-direct-message-text.sender{
    /*color: #000;*/
    color: #444;
    background: #d2d6de;
    border-color:#d2d6de;
}
.chat-direct-message-text.sender:after{
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background-color: #d2d6de;
    position: absolute;
    transform: rotate(-25deg);
    left: 1px;
    bottom: -3px;
}
.chat-direct-message-text.recipient{
    background: #3c8dbc;
    border-color: #3c8dbc;
    color: #fff;
    /*color: white;*/
}
.chat-direct-message-text.recipient:after{
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background-color: #3c8dbc;
    position: absolute;
    transform: rotate(25deg);
    right: 1px;
    bottom: -3px;
}
.create-message-group{
    display: flex;
}
.create-message-group textarea{
    width: 100%;
    resize: none;
}
.create-message-group .field-messages-text{
    width: 100%;
}
.create-message-group .field-messages-text>textarea{
    resize: none;
    height: 60px;
}
.create-message-group .send-message {
    height: 60px;
    width: 60px;
}
.notifications-menu ul>li{
    text-align: center;
}

.dropdown-menu>li>a {
    color: #777;
    border: 1px solid #777;
    border-radius: 3px;
}

.kv-grouped-row-2{
    background-color: #f9fafe !important;
}

/*lesson editor style*/
ul.days{
    margin: 0;
    margin-bottom: 20px;
    width: 250px;
    /*min-width:200px;*/
    /*flex: 1;*/
    /*width: 100%;*/

    /*max-width:200px;*/
    position: relative;
    padding: 10px;
    border-radius: 5px;
    border-color: #e5e5e5 #eee #eee;
    border-style: solid;
    border-width: 1px 0;
    -webkit-box-shadow: inset 0 3px 6px rgba(0,0,0,.05);
    box-shadow: inset 0 3px 6px rgba(0,0,0,.05);

    counter-reset: section;
    list-style-type: none;
}

@media (max-width: 768px) {
    ul.days{
        max-width: 100%;
    }
}
.days>li{
    /*background-color: yellow;*/
    /*list-style: none;*/
    display: flex;
    align-items:stretch;
    justify-content: center;
    min-height: 50px;
}
.days>li::before {
    min-width: 31px;
    padding-right: 5px;
    font-size: 2em;
    counter-increment: section;
    content: counters(section, ".") " ";
}
.days>li>div{
    display: inline-block;
    /*width: 49%;*/
    width: 100px;
    /*max-width: 86px;*/
    /*min-height: 150px;*/
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
}
.le__week{
    display: flex;
    flex-flow: row nowrap;
    overflow: scroll;
    /*justify-content: space-around;*/
}
.le__date-picker{
    display: flex;
    justify-content: space-between;
}
.le-cell .row>i.study-day__check {
    position: absolute !important;
    /*display: block;*/
    display: none;
    z-index: 100;
    cursor: pointer;
    left: 0;
}
.le-cell.le-warn .row>i.study-day__check{
    display: block;
}
.le-teachers__panel{
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #fff;
    margin-bottom: 1em;
    padding: 2em 0;
    border: 1px solid rgb(223, 232, 241);
}
#teachers .le-cell,
#clasess .le-cell{
    height: 45px !important;
}
.le-teachers,.le-classes{
    overflow: scroll;
    height: 30vh;
}
.le-teachers__relation,le-teacher__breack {
    font-size: 1.5em;
    padding: 0.5em 0;
    color: grey;
}
ul.days:before {
    display: inherit;
    content: attr(data-weekend);
    word-wrap: break-word;
    text-align: center;
    font-weight: bold;
}
ul.days:after {
    display: inherit;
    content: attr(data-weekend);
    word-wrap: break-word;
    text-align: center;
    font-weight: bold;
}

.subjects{
    word-wrap: break-word;
    font-weight: bold;
}
button.delete-element{
    display: none;
}
i.study-day__check{
    display: none;
}
.subject i.study-day__info{
    display: none;
}

.clasess i.study-day__info{
    display: none;
}
i.study-day__info{
    position: absolute;
    right: 8px;
    cursor: pointer;
    font-size: 1.5em;
}
.le-cell{
    /*width: 100px;*/
}
.subject>.le-cell .delete-element,.clasess>.le-cell .delete-element{
    display: block;
    position: absolute;
    top: 0;
    right: -5px;
    background-color: transparent;
    border: none;
    font-size: 1.2em;
    color: #e74c3c;
}
.subject>.le-cell,.clasess>.le-cell{
    /*pointer-events: none;*/
    /*min-height: 150px;*/
    /*height: 100%;*/
}
.panel-default>.panel-heading{
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}
.le-busy{
    border:2px solid #e74c3c !important;
}
.le-warn{
    background-color: rgba(251, 191, 202, 0.6) !important;
    border-color: #ff6347 !important;
}
.le-empty{
    background-color: #f1c40f !important;
}
.le__curent-class{
    font-size: 1.6em;
}
.study-day__handler{
    display: flex !important;
    align-items: center;
    cursor: pointer;
}
.post__thumb{
    display: flex;
    /*justify-content: space-between;*/
    justify-content: flex-start;
    flex-flow: row wrap;
}
.post__thumb img{
    width: 200px;
    height: 200px;
    margin: 1px 0;
}
.post__avatar-prew{
    max-width: 200px;
}
.pupil__photo--btn{
    display: block !important;
    max-width: 200px;
}
.pupil__photo{
    display: inline-block;
    margin: 0 5px;
}
.pupil__photo:first-child{
    margin-left: -10px;
}
.pupil__photo:last-child{
    margin-right: 0;
}

/*RadioSwitcher*/
@import url("https://fonts.googleapis.com/css?family=Roboto");
body {
    /*background: #332f35;*/
    font-family: roboto;
}

.le-type-switcher input[type=radio] {
    position: absolute;
    visibility: hidden;
    display: none;
}

.le-type-switcher label {
    color: #9a929e;
    display: inline-block;
    cursor: pointer;
    font-weight: bold;
    padding: 8px 15px;
    margin-bottom: 0 !important;
    transition: all 0.3s linear;
}

.le-type-switcher input[type=radio]:checked + label {
    color: white;
    background: #00a65a;
}

.le-type-switcher label + input[type=radio] + label {
    /*border-left: solid 3px #ddd;*/
}
.post__avatar-prew img{
    width: 200px;
    height: 200px;
    object-fit: cover;
}
.radio-group  {
    border: solid 1px #ddd;
    display: inline-block;
    /*margin: 20px;*/
    border-radius: 3px;
    overflow: hidden;
}
.post-view__title{
    margin: 15px 0 0 0;
    display: inline-block;
    font-family: 'Source Sans Pro',sans-serif;
    font-size: 26px;
    font-weight: 300;
}
/*Bootstrap fix*/
.ms-container{
    width: 100% !important;
}

.btn, .fc-button, .size-md{
    line-height: 22px !important;
}
.btn{
    line-height: 30px !important;
}
#sticky-panel{
    z-index: 1000 !important;
}
.post__media-body{
    background-color: #fff;
    border-radius: 5px;
    padding: 15px 10px;
    margin-bottom: 10px;
}
.datepicker{
    opacity: 1 !important;
}
.datepicker table{
    margin: 0 auto !important;
}

.main-sidebar.open{
    transform: translate(0,0) !important;
}
.form-control{
    padding: 15px;
    height: auto !important;
}
input#mark{
    width: 100%;
}

#js-change-present .btn,
#js-change-access .btn{
    width: 33%;
    display: flex;
    justify-content: center;
    align-items: center;
}
div#mark_cotainer .input-group {
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    align-items: center;
}
#myModalMarks .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group {
    z-index: 2;
    margin-left: -25px;
    height: 35px;
    line-height: 20px !important;
    display: flex;
}
#myModal .input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group {
    height: 35px;
    line-height: 20px !important;
}
input#mark{
    height: 35px;
}
#myModalMarks .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group{
    margin-left: -25px !important;
}
#mark-submith,
#mark-close{
    line-height: 21px !important;
}
#myModalMarks .mark{
    background-color: transparent !important;
}

.modal-backdrop.fade.in{
    opacity: 0.5;
}

#error{
    margin-top: 15px;
}
@media (max-width: 991px) {
    .main-header .navbar-custom-menu a, .main-header .navbar-right a {
        background: #367fa9 !important;
    }
}
