@media all and (max-width: 480px) {
    .btn-block-custom > .btn, .btn-block-custom > span > .btn {
        width: 100%;
        display:block;
        margin-bottom: 5px;
    }
    .main-footer {
        text-align: center;
    }
}
@media all and (max-width: 1100px) {
    .btn-block-custom > .btn {
        margin-top: 5px;
    }
}
@media screen and (max-width: 767px) {
    div.dataTables_wrapper > div.row > div,
    div.dataTables_length,
    div.dataTables_filter,
    div.dataTables_info,
    div.dataTables_paginate {
        text-align: left;
    }

    div.DTTT {
        margin-bottom: 0.5em;
    }

    .col-sm-6.with-col-vis .elements_length {
        padding-right: 5px;
        padding-left: 5px;
    }

    .col-sm-6.with-col-vis .dataTables_filter {
        padding-right: 5px;
        padding-left: 5px;
    }

    .col-sm-6.with-col-vis .dt-buttons {
        width: auto;
        margin-right: 0;
        padding-left: 5px;
        padding-right: 5px;
    }

}
@media (min-width: 992px) {
    .form-group .col-sm-10 {
        width: 40%;
    }
    .form-group .col-sm-12 {
        width: 56.66666667%;
    }
    .box-footer .pull-right:nth-child(2) {
        margin-right: 44.44444443%;
    }
    .schedule-inputs-block .col-sm-10 {
        width: 40% !important;
    }
    .schedule-buttons-block .pull-right:nth-child(2) {
        margin-right: 44.94444443%;
    }
}
@media (min-width: 1200px) {
    .form-group .col-sm-10 {
        width: 35%;
    }
    .form-group .col-sm-12 {
        width: 51.66666667%;
    }
    .box-footer .pull-right:nth-child(2) {
        margin-right: 49.44444443%;
    }
    .schedule-inputs-block .col-sm-10 {
        width: 30% !important;
    }
    .schedule-buttons-block .pull-right:nth-child(2) {
        margin-right: 54.94444443%;
    }
}
@media (min-width: 1600px) {
    .form-group .col-sm-2 {
        width: 12.66666667%;
    }
    .form-group .col-sm-10 {
        width: 30%;
    }
    .form-group .col-sm-12 {
        width: 46.66666667%;
    }
    .box-footer .pull-right:nth-child(2) {
        margin-right: 58.44444443%;
    }
    .schedule-inputs-block .col-sm-2 {
        width: 10.66666667% !important;
    }
    .schedule-inputs-block .col-sm-10 {
        width: 20% !important;
    }
    .schedule-buttons-block .pull-right:nth-child(2) {
        margin-right: 70.44444443%;
    }
}
table.dataTable thead tr th.sorting_disabled {
    padding-right: 8px;
}
table.dataTable thead tr th.nosort {
    padding-right: 8px;
}
.input-group > .input-group-btn:empty {
    width: 0px;
}
.double-input .form-control {
    width: 50%;
}
.four-input .form-control {
    width: 25%;
}
.five-input .form-control {
    width: 20%;
}
table.recipient-list th, td {
    padding: 2px 5px;
}
table.form-table td {
    padding: 6px;
}
.dataTables_paginate {
    text-align: center !important;
    margin-top: 5px !important;
}
.send-sms {
    margin-top: 20px;
}
.bootstrap-select .btn-default:not(.disabled) {
    background-color: rgb(255, 255, 255);
}
.popover .actions {
    list-style: none;
    padding: 0;
    margin: 0;
}
.popover .actions li {
    margin-bottom: 8px;
}

.content-header>.breadcrumb>li:not(.default)+li:before {
    content: "|\00a0";
    padding: 0 1px;
}
.content-header>.breadcrumb>li.default+li:before {
    content: "\00a0";
    padding: 0 1px;
}
.content-header>.breadcrumb>li>a.active {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
}
.content-header>.breadcrumb>li>a.active {
    background-color: #3c8dbc;
    border-color: #367fa9;
    border-radius: 3px;
    padding: 0 5px;
}
.content-header>.breadcrumb>li.breadcrumbs-1st-block>a.active {
    background-color: #64bc3c;
    border-color: #5aa936;
    border-radius: 3px;
    padding: 0 5px;
}
.content-header>.breadcrumb {
    font-size: 15px;
}

.content-header>div>.breadcrumb>li:not(.default)+li:before {
    content: "|\00a0";
    padding: 0 1px;
}
.content-header>div>.breadcrumb>li.default+li:before {
    content: "\00a0";
    padding: 0 1px;
}
.content-header>div>.breadcrumb>li>a.active {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
}
.content-header>div>.breadcrumb>li>a.active {
    background-color: #3c8dbc;
    border-color: #367fa9;
    border-radius: 3px;
    padding: 0 5px;
}
.content-header>div>.breadcrumb>li.breadcrumbs-1st-block>a.active {
    background-color: #64bc3c;
    border-color: #5aa936;
    border-radius: 3px;
    padding: 0 5px;
}
.content-header>div>.breadcrumb {
    font-size: 15px;
}

li.disabled {
    cursor: not-allowed;
}
li.disabled > a {
    pointer-events: none;
}
.icheckbox_square-blue.disabled {
    cursor: not-allowed;
}
.btn.disabled {
    cursor: not-allowed !important;
}
fieldset:disabled span.input-group-addon:not(.info-element) {
    cursor: not-allowed;
}
fieldset:disabled a {
    pointer-events: none;
}
.media-object {
    position: relative;
}
.zoom_overlay {
    -o-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -webkit-transition: -webkit-transform 1s;
    background-color: #000;
    cursor: pointer;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 10;
    opacity: 0;
}
.zoom_overlay:hover {
    opacity: .7;
    -o-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -webkit-transition: -webkit-transform 1s;
    -webkit-box-shadow: 0px 0px 4px #000;
    -moz-box-shadow: 0px 0px 4px #000;
    box-shadow: 0px 0px 4px #000;
}
.zoom_overlay i {
    color: white;
    font-size: 36px;
    position: absolute;
    left: 45%;
    top: 45%;
}
.media-object-edit {
    position: absolute;
    right: -5px; top: -5px;
    z-index: 11;
}
.photo .thumbnail, .video .thumbnail {
    padding: 0px;
    border-radius: 0px;
    border: none;
}
.thumbnail img {
    height: 240px !important;
    /*width: 100%;*/
}
.thumbnail iframe {
    height: 240px !important;
    width: 100%;
}
/* pupil info modal*/
.modal-block {
    overflow: auto;
    width: 580px;
}
.block1, .block2 {
    width: 50%;
    overflow: auto;
    padding: 0;
    float: left;
    margin-top: 10px;
    margin-bottom: 10px;
}
.modal-note {
    font-size: 16px;
    padding: 15px 10px;
    background-color: #d6eaf8;
    border-radius: 3px;
    overflow: auto;
    position: relative;
}
.modal_actions {
    text-align: center;
}
.fancybox-inner {
    overflow: visible !important;
    height: auto !important;
}
.fancybox-inner dt {
    width: 30%;
    white-space: nowrap;
    float: left;
}
.fancybox-inner dd {
    font-weight: normal;
    white-space: nowrap;
    margin-left: 31%;
}
.fancybox-inner .block1 a, .block2 a {
    color: #3c8dbc;
    font-style: italic;
    border-bottom: 1px dashed;
}
.modal-textarea {
    margin: 20px 0;
    border-radius: 3px;
    width: 560px;
}
.fancybox-inner .modal_pupil_info dt {
    width: 50%;
}
.attribute-name {
    font-weight: bold;
    float: left;
    width: 50%;
}

@media (min-width: 0) and (max-width: 1023px) {
    #pupil_detail_modal .modal_actions .btn,
    #payment_detail_modal .modal_actions .btn {
        margin-bottom: 10px;
    }

    #pupil_detail_modal .admin-name {
        font-size: 1.4rem;
    }

}

.additional {
    /*width: 140px !important;*/
}
/*#pupil_detail_modal .attribute-name {*/
/*    display: inline-block;*/
/*    width: 120px;*/
/*    font-weight: bold;*/
/*}*/
.attribute {
    display: inline-block;
}
.modal-note-edit {
    text-align: right;
    font-style: italic;
}
.fancybox-inner .note-editor {
    display: none;
}
.fancybox-inner .fa-pencil {
    margin-left: 10px;
}
.edit-mode .fa-pencil {
    color: #187b21;
}
.fancybox-inner .fa-times {
    margin-left: 10px;
}
.fa-times {
    color: #337ab7;
}
.fancybox-inner .note-editor textarea {
    width: 540px;
    margin-bottom: 10px;
}
.dynamic-form .col-sm-2 {
    text-align: right;
}
.dynamic-form .input-group {
    margin-bottom: 5px;
}
.dynamic-form .form-group {
    margin-bottom: 5px;
}
.fixed-column-hover {
    background-color: #f5f5f5;
}
.select2-selection {
    border-radius: 0px !important;
    border: solid #d2d6de 1px !important;
}
.select2-selection__choice {
    background-color: #3c8dbc !important;
    border-color: #367fa9 !important;
}
.select2-selection__choice__remove {
    color: white !important;
}
.select2-selection--single {
    min-height: 32px;
}
.form-group.has-error .select2-selection {
    border-color: #dd4b39 !important;
}
.bootstrap-select .btn {
    border-radius: 0px;
}
.nav-tabs {
    background-color: #eaeaea;
}
.dt-column-filter {
    margin-right: 10px;
    min-width: 50px;
    width: 100%;
}
.with-col-vis .dataTables_filter {
    float: right;
}
.with-col-vis .dt-buttons {
    float: right;
    margin-right: 10px;
}
.with-col-vis .dt-buttons .btn {
    background-color: #ffffff;
    font-size: 12px;
}
.with-col-vis .btn-default:hover {
    background-color: #ffffff;
}
.select2-dropdown {
    z-index: 9999
}
.box-fancybox {
    margin-bottom: 0px;
}
.tooltip-inner {
    max-width: 400px;
}
.tooltip {
    z-index: 10000;
}
td.cell-hover {
    cursor: pointer;
}
td.cell-hover:hover {
    background-color: #f5f5f5;
}
.intl-tel-input {
    display: table-cell;
}
.intl-tel-input .selected-flag {
    z-index: 4;
}
.intl-tel-input .country-list {
    z-index: 5;
}
.modal-auto-width {
    display: table;
    width: auto !important;
}
.valign {
    vertical-align: middle !important;
}

.requests-form-description{
    line-height: 12px;
    max-width: 400px;
    display: block;
    overflow-x: scroll;
    word-break: break-all;
}

.requests-form-description p {
    max-width: 400px;
    word-break: break-all;
    height: auto;
}

.w-100{
    width: 100%!important;
}
input.input-for-set-results::-webkit-outer-spin-button,
input.input-for-set-results::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input.input-for-set-results[type=number] {
    -moz-appearance:textfield;
}


.input-for-set-results{
    outline: none;
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: 1px solid #ccc;
    width: 50px;
    margin: 0 auto;
}

select.input-for-set-results{
    width: 100px;
}

div#save-status{
    display: inline;
    line-height: 30px;
    vertical-align: middle;
    color: #ccc;
    float: right;
    margin-right: 10px;
}
div#customBtns{
    float: right;
    margin-right: 10px;
}

#modeBtn{
    padding: 4px 15px;
}

#onlyToday{
    display: inline;
    padding: 5px 15px;
    margin-right: 5px;
}

div#save-status.in-progress{
    color: #3c8dbc;
    font-weight: bold;
}


/**
 *   Css for modal gallery-view
 *   -------------------------
 **/
#gallery-modal .no-indent {
    padding: 0 !important;
    margin: 0 !important;
}

#gallery-content {
    height: auto;
    width: auto;
    max-width: 100%;
    min-height: 30vh;
    max-height: 90vh;
    margin: 0 auto;
}


#gallery-carousel img,
#gallery-carousel video {
    height: auto;
    width: auto;
    max-width: 100%;
    min-height: 30vh;
    max-height: 90vh;
    margin: 0 auto;

}

#gallery-carousel img.lazy,
#gallery-carousel video.lazy {
    height: auto;
    width: auto;
    max-width: 100%;
    min-height: 30vh;
    max-height: 90vh;
    margin: 0 auto;
}

#gallery-modal {
    text-align: center;
    padding: 0 !important;
}

#gallery-modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -6px;
}

#gallery-modal .block {
    display: block;
}

#gallery-modal .modal-dialog {
    width: 90% !important;
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

#gallery-carousel {
    background: #4a4848 !important;

}

#gallery-modal .close {
    background: #ffffff !important;
    margin: 0;
    position: absolute;
    top: -10px;
    right: -10px;
    width: 23px;
    height: 23px;
    border-radius: 23px;
    font-size: 14px;
    opacity: 1;
    z-index: 10;
}

#column-form {
    min-height: 15vh;
    height: 100%;
    overflow-y: auto;
    background: #ffffff !important;
}

.refereeing-select .select2-results>.select2-results__options{
    max-height: 450px;
}

.refereeing-star {
    color:#008000;
    margin: 0;
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 10;
    text-shadow: 0px 0px 2px #FFFFFF;
}

.refereeing-photo,
.refereeing-video {
    position: relative;
}
/**
 *   End css for modal gallery-view
 *   -------------------------
 **/

.dataTables_processing {
    position: fixed !important;
    z-index: 2000;
}

.z-index15 {
    z-index: 1500;
}

.left{
    float: left;
}

.payment-bad-enrollment {
    color: black;
}
.payment-bad-enrollment:hover {
    color: gray;
}

.billed_payment_amount {
    color: red;
}

.fixed-table-head {
    overflow-y: scroll;
    height: 750px;
}
.fixed-table-head th {
    position: sticky;
    top: 0;
    background-color: #FFFFFF;
    z-index: 1;
}

@media only screen
    and (max-device-width:768px)
    and (orientation: portrait) {
    .modal .modal-body {
        max-height: 420px;
        overflow-y: auto;
    }
}

@media only screen
    and (max-device-width:655px)
    and (orientation: portrait) {
    .modal .modal-body {
        max-height: 400px;
        overflow-y: auto;
    }
}

@media only screen
    and (max-device-width:768px)
    and (orientation: landscape) {
    .modal .modal-body {
        max-height: 240px;
        overflow-y: auto;
    }
}

@media only screen
    and (max-device-width:655px)
    and (orientation: landscape) {
    .modal .modal-body {
        max-height: 140px;
        overflow-y: auto;
    }
}

.mark_all_disabled {
    color: grey;
}

.modal.info .modal-footer button {
    min-width: 75px;
}

.justify-content {
    justify-content: space-between;
    display: flex
}

.datatable-cell_with_owerflow {
    overflow-y: auto; height: 125px;
}

/*Select2 ReadOnly Start*/
select[readonly].select2-hidden-accessible + .select2-container{
    pointer-events: none;
    touch-action: none;
}
select[readonly]{
    pointer-events: none;
    touch-action: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
    background: #eee;
    box-shadow: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection__arrow, select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {
    display: none;
}
/*Select2 ReadOnly End*/

.ui-sortable li:hover{
    cursor: move;
    cursor: -webkit-grab;
    cursor: grab;
}
.ui-sortable li.grabbing {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

.pupil_restricted_age_highlight {
    background-color: rgba(180, 0, 0, 0.2);
}

.results__a-comments {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.p-3 {
    padding: 3px;
}
.m-3 {
    margin: 3px;
}

#partner_attributes_edit_btns .btn {
    text-overflow: ellipsis;
    overflow: clip;
    width: 100%;
}

.custom-dropdown-menu{
    min-width: 100%;
    text-align: center;
}

.navbar-nav>li>a.language-item, .navbar-nav>li>p.language-item{
    padding: 2px 15px;
    color: #ffffff;
    margin-bottom: 0;
}

.navbar-nav>li>p.language-item{
    font-weight: 600;
}

/** gallery-view **/
@media (min-width: 992px) {
    #gallery-carousel.carousel .iframe_video iframe {
        width: 100%;
        height: 623px;
    }
}
/** ** **/

.modal {
    background: rgb(0, 0, 0, 1) !important;
}

.pupil_on_free_training_highlight {
    background-color: #ccf0e0;
}

.pupil_free_training_highlight {
    background-color: #c7fdaf;
    border: 1px solid black !important;
}

.organizationStampImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.organizationStampImg:hover {
    opacity: 0.7;
}

/* The Modal (background) */
.modalForStamp {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1031; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.6); /* Black w/ opacity */
}

/* Modal Content (image) */
#modalDivImg {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }
    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}

/* The Close Button */
.organizationStampclose {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.organizationStampclose:hover,
.organizationStampclose:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

.iti {
    position: static !important;
    display: inline !important;
}

div.dataTables_wrapper div.dataTables_filter input {
    width: 120px !important;
}

@media only screen and (max-width: 700px) {
    .superflexbox {
        display: flex;
        flex-flow: row nowrap;
        align-content: center;
        justify-content: space-between;
    }

    .content-wrapper section.content > .row > div {
        padding: 0 !important;
    }

    table.table-bordered.dataTable tbody th, table.table-bordered.dataTable tbody td {
        padding-left: 1px !important;
        padding-right: 1px !important;
    }

    .dataTables_wrapper div.row div.col-sm-12 {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

.icon-pay {
    display: inline-block;
    content: url("/images/wallet_icon.png");
    width: 18px;
}


.dropdown-menu{
    left: -185px!important;
}

/* Dispalys */
.d-flex{
    display: flex;
}

/* Margins */
.ml-auto{
    margin-left: auto;
}
.mr-auto{
    margin-right: auto;
}
.mt-auto{
    margin-top: auto;
}
.mb-auto{
    margin-bottom: auto;
}
.mr-2{
    margin-right: 1rem;
}
.ml-2{
    margin-left: 1rem;
}
