@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700");

html,
body {
    height: 100%;
}

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

.wrap .navbar .container {
    width: 100%;
}

@media screen and (min-width: 768px) {
    .wrap .navbar .container {
        padding: 0 42px;
    }
}

.wrap > .container {
    padding: 80px 15px 20px;
}

@media screen and (max-width: 767px) {
    .wrap {
        margin: 70px 0 -60px;
    }
}

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

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

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

.loading {
    display: none;
    width: 25px;
    height: 25px;
}

.site-error h1 {
    font-size: 165px;
}

.site-error h3 {
    margin-bottom: 30px;
}

/* 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 th {
    white-space: nowrap;
}
.grid-view .crud-buttons {
    justify-content: center !important;
}
.grid-view .crud-buttons--right {
    justify-content: end !important;
}
.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 > button.logout {
    padding: 15px;
    border: none;
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

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

.nav > li > form > button.logout:focus {
    outline: none;
}

/* gridview tables */
.table-bordered > tbody > tr > td, .table-bordered > thead > tr > th {
    vertical-align: middle;
    text-align: center;
}

.table-bordered > tbody > tr > td.crud-buttons {
    width: 100%;
    display: inline-flex;
    justify-content: flex-end;
    border-bottom: none;
    border-left: none;
    border-top: 1px #dddddd solid;
}

.table-bordered > tbody > tr > td.crud-buttons > a {
    margin: 1px 3px;
}

.table-bordered > tbody > tr > td.crud-buttons .modal {
    text-align: initial;
}

/*create student page*/
.students-create .find-parent, .students-create .create-parent {
    display: none;
}

#generate-password, #generate-parent-password {
    margin: 5px 0;
}

#password-output span, #password-parent-output span {
    font-weight: 800;
}

#password-output img, #password-parent-output img {
    max-width: 20px;
    max-height: 20px;
}

span.wrong {
    color: red;
}

/* class update page */
.classes-update .added-students {
    display: flex;
    flex-wrap: wrap;
}

.classes-update .added-students .errors {
    color: red;
}

.classes-update .added-students .added-student {
    margin: 0 3px 3px 0;
    font-size: small;
}

.classes-update .added-students .student-clear:hover {
    cursor: pointer;
    color: #000;
    opacity: .5;
}

/* admin layout */
#js-bootstrap-offcanvas {
    background-color: white;
    z-index: 9999;
}

.has-success input[type="radio"], .has-success input[type="search"] {
    box-shadow: none !important;
}

.modal-title {
    line-height: 1.2;
}

.table-responsive > .table > tbody > tr > td {
    white-space: normal;
}

.datepicker.datepicker-dropdown.dropdown-menu.datepicker-orient-left.datepicker-orient-top {
    margin-top: 60px;
}

.datepicker.datepicker-dropdown.dropdown-menu.datepicker-orient-left.datepicker-orient-bottom {
    margin-top: 80px;
}

.input-daterange .help-block {
    margin: 0;
}

@media screen and (min-width: 1024px) {
    .input-daterange .help-block {
        margin-top: 5px;
        margin-bottom: 10px;
    }
}

/* students diary page */
.days:first-letter, .days:first-letter {
    text-transform: uppercase;
}

.students-home #date-picker-form {
    display: inline-block;
}

.students-home #date-picker-form .btn {
    margin-bottom: 5px;
}

.students-home .days .day {
    font-size: 24px;
}

.students-home .days .time-left {
    font-size: 14px;
    margin: 14px 0 0
}

@media screen and (min-width: 550px) {
    .students-home .days .time-left {
        float: right;
    }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
    .students-home .days .time-left {
        float: none;
        margin: 0;
    }
}

@media screen and (max-width: 550px) {
    .students-home .days .time-left {
        margin: 0;
    }
}

.students-home .lessons p {
    margin: 0;
}

.student-home-work-assign-view label {
    font-weight: bold;
}

.error-text {

    color: #e51c23;
}

.lists {
    padding-bottom: 10px;
}

.bar-height {
    height: 20px;
}

.warning {
    color: #a86400;
}

.teachers-home .bar-height {
    margin-bottom: 0;
    margin-top: 5px;
}

.cursor-active {
    cursor: pointer;
}

/* menu icons */
.nav li a .glyphicon {
    margin-right: 5px;
}

.nav li a .glyphicon.glyphicon-subgroups {
    width: 13px;
    height: 13px;
    margin-right: 5px;
    background-image: url("../pictures/icons/subgroups-13x13.svg");
    filter: brightness(1);
    transition: filter 0.25s;
}

.nav li a:hover .glyphicon.glyphicon-subgroups {
    filter: brightness(0.8);
}

.nav li.active a .glyphicon.glyphicon-subgroups {
    background-image: url("../pictures/icons/subgroups-13x13-active.svg");
}

.nav li.active a:hover .glyphicon.glyphicon-subgroups {
    filter: brightness(1);
}

.nav li a .glyphicon.glyphicon-homework {
    width: 13px;
    height: 13px;
    margin-right: 5px;
    background-image: url("../pictures/icons/homework-13x13.svg");
    filter: brightness(1);
    transition: filter 0.25s;
}

.nav li a:hover .glyphicon.glyphicon-homework {
    filter: brightness(0.8);
}

.nav li.active a .glyphicon.glyphicon-homework {
    background-image: url("../pictures/icons/homework-13x13-active.svg");
}

.nav li.active a:hover .glyphicon.glyphicon-homework {
    filter: brightness(1);
}

.nav li a .glyphicon.glyphicon-schedule {
    width: 13px;
    height: 13px;
    margin-right: 5px;
    background-image: url("../pictures/icons/schedule-13x13.svg");
    filter: brightness(1);
    transition: filter 0.25s;
}

.nav li a:hover .glyphicon.glyphicon-schedule {
    filter: brightness(0.8);
}

.nav li.active a .glyphicon.glyphicon-schedule {
    background-image: url("../pictures/icons/schedule-13x13-active.svg");
}

.nav li.active a:hover .glyphicon.glyphicon-schedule {
    filter: brightness(1);
}

.nav li a .glyphicon.glyphicon-classwork {
    width: 13px;
    height: 13px;
    margin-right: 5px;
    background-image: url("../pictures/icons/classwork-13x13.svg");
    filter: brightness(1);
    transition: filter 0.25s;
}

.nav li a:hover .glyphicon.glyphicon-classwork {
    filter: brightness(0.8);
}

.nav li.active a .glyphicon.glyphicon-classwork {
    background-image: url("../pictures/icons/classwork-13x13-active.svg");
}

.nav li.active a:hover .glyphicon.glyphicon-classwork {
    filter: brightness(1);
}
.panel-body {
    word-wrap: break-word;
}

a .menu-messages :before {
    content: "\e008";
}

.alert {
    z-index: 999999;
    width:100%;
    position:fixed;
    left: 0;
}

.check-b {
    margin-top: 30px;
}

.select2-dropdown .form-check input[type='checkbox'] {
    width: 2%;
}

.select2-dropdown .form-check label {
    width: 98%;
}

#holiday_cancellation {
    font-size: 16px;
    line-height: 22px;
}

#holiday_cancellation .modal-dialog-centered {
    margin-top: 200px;
}

#holiday_cancellation .btn-yes,
#holiday_cancellation .btn-no {
    padding: 7px 50px;
}

.boiko-site-container {
    padding: 0 16pt;
}

.boiko-site-container .boiko-site-heading {
    font-style: normal;
    font-size: 20pt;
    line-height: 30pt;
    text-transform: uppercase;
    color: #000;
}

 .privacy.main-area-holder {
    word-break: break-word;
}

.boiko-site-container .main-area-holder p,
.boiko-site-container .main-area-holder span {
    font-family: 'Open Sans', sans-serif;
    font-size: 16pt;
    font-weight: 400;
    line-height: 26pt;
    letter-spacing: 0.4pt;
    color: #000;
}

.boiko-site-container .boiko-site-heading,
.boiko-site-container .privacy.main-area-holder p:first-child,
.boiko-site-container .payment-terms.main-area-holder p:first-child {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
}

.boiko-site-wrap {
    margin-top: 29pt;
}

.boiko-site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.boiko-site-header img {
    width: 64pt;
}

.boiko-site-header a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    color: #fff;
    background: linear-gradient(rgb(63, 97, 163), rgb(39, 62, 115));
    border-radius: 6pt;
    text-decoration: none;
    font-size: 15pt;
    line-height: 20pt;
    height: 54pt;
    width: 150pt;
}

.boiko-site-container a {
    text-decoration: none;
}

.mobile-app.main-area-holder {
    letter-spacing: 0.4pt;
}

.mobile-app.main-area-holder .phone,
.mobile-app.main-area-holder .email {
    color: #000;
}

.mobile-app.main-area-holder .phone,
.mobile-app.main-area-holder .email,
.boiko-site-footer .pull-left {
    font-family: 'Open Sans', sans-serif;
    font-weight:  300;
    font-style: italic;
}

.boiko-site-footer .pull-left {
    font-size: 15pt;
    line-height: 20pt;
    color: #000;
}

.boiko-site-footer img {
    width: 30pt;
    margin-left: 15pt;
}

.boiko-site-footer .container {
    margin-top: 26pt;
}

@media screen and (max-width: 600px) {
    .boiko-site-container .boiko-site-heading {
        font-size: 6.5vw;
    }

    .boiko-site-header a {
        height: 9vh;
        width: 47vw;
    }

    .boiko-site-footer .pull-left {
        font-size: 4.5vw;
    }
}

.text-break {
    word-break: break-word;
    overflow-wrap: break-word;
}
