/*************** GLOBAL ***************/
.no-bottom-margin {
    margin-bottom: 0px !important;
}

.no-left-padding {
    padding-left: 0px !important;
}

.no-left-border {
    border-left: 0px !important;
}

.no-right-border {
    border-right: 0px !important;
}

.border-top-bottom {
    border-top: 1px solid;
    border-bottom: 1px solid;
}

.no-margin {
    margin: 0px !important;
}

.mt-5 {
    margin-top: 5px !important;
}

.mt-15 {
    margin-top: 15px !important;
}

.ml-5 {
    margin-left: 5px !important;
}

.mr-5 {
    margin-right: 5px !important;
}

.mb-5 {
    margin-bottom: 5px !important;
}

.mb-15 {
    margin-bottom: 15px !important;
}

.mb-0 {
    margin-bottom: 0px !important;
}

.ml-20 {
    margin-left: 20px !important;
}

.pt-0 {
    padding-top: 0px !important;
}

.pt-7 {
    padding-top: 7px !important;
}

.p-1 {
    padding: 1px !important;
}

.ui-state-default {
    cursor: move;
}

.page-header.navbar .page-logo .logo-default {
    max-width: 100px;
    max-height: 40px;
    margin-top: 5px;
}

.page-header .page-header-info {
    float: left;
    font-size: 16px;
    padding: 13px 6px 13px 8px
}

.page-header .page-header-info.small{
    float: left;
    font-size: 14px;
    padding: 5px 6px 25px 8px;
}

.full-width {
    width: 100% !important;
}

.text-align-left {
    text-align: left !important;
}

.page-container-bg-solid .theme-panel, .page-content-white .theme-panel {
    margin-top: -3px;
}

/*.page-header.navbar {*/
/*background-color: #E1E1E1!important;*/
/*}*/
/****************** menu ******************/
.page-sidebar-menu {
    overflow: hidden;
}

.page-sidebar .page-sidebar-menu li > a > .badge, .page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu li > a > .badge {
    top: 9px;
}

.page-sidebar-wrapper .page-sidebar .page-sidebar-menu > li.heading,
.page-sidebar-wrapper .page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu > li.heading {
    padding: 0px;
    /*margin: 25px 15px;*/
    /*color: grey;*/
    /*border-bottom: 1px dashed grey;*/
}

.page-sidebar-wrapper .page-sidebar .page-sidebar-menu > li.heading:first-of-type {
    border: none;
    padding: 0;
}

/*****************  Tables custom styles ********************/
.table-va-top th,
.table-va-top td {
    vertical-align: top;
}

.table th.top,
.table td.top {
    vertical-align: top;
}

.table.table-va-middle th,
.table.table-va-middle td {
    vertical-align: middle;
}

.table th.middle,
.table td.middle {
    vertical-align: middle;
}

.table-va-bottom th,
.table-va-bottom td {
    vertical-align: bottom;
}

.table th.bottom,
.table td.bottom {
    vertical-align: bottom;
}

.table-ta-left th,
.table-ta-left td {
    text-align: left;
}

.table th.left,
.table td.left {
    text-align: left;
}

.table-ta-center th,
.table-ta-center td {
    text-align: center;
}

.table th.center,
.table td.center {
    text-align: center;
}

.table-ta-right th,
.table-ta-right td {
    text-align: right;
}

.table th.right,
.table td.right {
    text-align: right;
}

.table .text-align-right {
    text-align: right;
}

.dataTables_wrapper .dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -85%);
    background: url("../img/ajax-loader.gif") transparent;
    width: 64px;
    border: 0px;
    box-shadow: none;
    height: 64px;
    background-size: 100% 100%;
}

.dataTables_wrapper table td:not(.actions-column):not(.checkbox-column):not(.boolean-column):not(.partial-column) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 150px;
}

.dataTables_wrapper table .rating-column .jq-star {
    cursor: auto;
}

.dataTables_wrapper table .actions-column,
.dataTables_wrapper table .partial-column,
.dataTables_wrapper table .boolean-column,
.dataTables_wrapper table .id-column,
.dataTables_wrapper table .num-column {
    width: 1px;
    white-space: nowrap;
}

.dataTables_wrapper th .mt-checkbox {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.dataTables_length {
    display: none;
}

table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting, table.dataTable thead > tr > td.sorting_asc, table.dataTable thead > tr > td.sorting_desc, table.dataTable thead > tr > td.sorting {
    padding-right: 8px;
}

table.dataTable .label:not(.md-skip) {
    padding: 3px 6px;
}

table.dataTable br {
    line-height: 5px;
}

table.dataTable tr.totals td {
    font-weight: bold !important;
    color: #578ebe;
    border-top: 1px solid black;
}
/***************** Forms custom styles ********************/

.filters-form label::after,
.create-form label::after {
    content: ': ';
}

.filters-form label.no-colon::after,
.create-form label.no-colon::after {
    content: ' ';
}

.filters-form .form-group label.required,
.create-form .form-group label.required {
    color: #333;
    font-size: 14px;
}

.create-form .has-error label.required {
    color: #e73d4a;
}

.create-form .form-group label.required::after {
    content: ': *';
}


.filters-form .form-group label.mt-checkbox::after,
.filters-form .form-group label.mt-radio::after,
.create-form .form-group label.mt-checkbox::after,
.create-form .form-group label.mt-radio::after {
    content: '';
}

.filters-form .form-group label.mt-radio {
    margin-right: 10px;
    padding-left: 23px;
}

.filters-form .form-group label.mt-checkbox {
    margin-right: 0px;
    padding-left: 5px;
    margin-bottom: 0px;
}

.filters-form .form-group label.mt-checkbox span {
    left: -15px;
}

.create-form .mt-checkbox-inline, .create-form .mt-radio-inline {
    padding-bottom: 0px;
}

.filters-form.form-inline .control-label {
    display: block;
}

.filters-form.form-inline .form-group {
    margin-bottom: 15px;
    margin-right: 10px;
}

.filters-form.form-inline .form-group .mt-checkbox-inline, .filters-form.form-inline .form-group .mt-radio-inline {
    padding: 8px 0px;
}


@media (min-width: 767px) {
    .filters-form.form-inline .form-control {
        width: 100%;
        max-width: 300px;
        min-width: 100%; /*Causes horizontal scroll on Chrome*/
    }
}

.filters-form.form-inline .form-control.ajax-select-2,
.filters-form .form-control.select2 {
    min-width: 200px;
}

.filters-form.form-inline .button-group {
    margin-bottom: -5px;
}

.filters-form .modal-content .filters-name {
    width: 100%;
}

.has-error ul, ul.alert-danger {
    list-style-type: none;
    color: #dd4b39;
}

select.form-control option.inactive-option, .select2-results .inactive-option {
    color: #aaa;
}

.select2-container--bootstrap .select2-results__group {
    white-space: normal !important;
}

.create-form .bootstrap-tagsinput {
    min-width: 100%;
}

.filters-form .bootstrap-tagsinput {
    min-width: 250px;
}

.rating-input {
    font-size: 20px;
    color: #c49f47;
}


.rating-widget .rating-input {
    font-size: 30px;
    color: #c49f47;
}

.datepicker-dropdown {
    z-index: 100000;
}

table td .form-group {
    margin-bottom: 0px;
}

.mt-checkbox.mt-checkbox-outline:hover > input:not([disabled]):checked ~ span,
.mt-checkbox.mt-checkbox-outline:hover > input:not([disabled]) ~ span,
.mt-checkbox.mt-checkbox-outline > input:checked ~ span,
.mt-checkbox.mt-checkbox-outline > input:focus ~ span,
.mt-checkbox.mt-checkbox-outline > span,
.mt-checkbox.mt-radio-outline:hover > input:not([disabled]):checked ~ span,
.mt-checkbox.mt-radio-outline:hover > input:not([disabled]) ~ span,
.mt-checkbox.mt-radio-outline > input:checked ~ span,
.mt-checkbox.mt-radio-outline > input:focus ~ span,
.mt-checkbox.mt-radio-outline > span,
.mt-radio.mt-checkbox-outline:hover > input:not([disabled]):checked ~ span,
.mt-radio.mt-checkbox-outline:hover > input:not([disabled]) ~ span,
.mt-radio.mt-checkbox-outline > input:checked ~ span,
.mt-radio.mt-checkbox-outline > input:focus ~ span,
.mt-radio.mt-checkbox-outline > span,
.mt-radio.mt-radio-outline:hover > input:not([disabled]):checked ~ span,
.mt-radio.mt-radio-outline:hover > input:not([disabled]) ~ span,
.mt-radio.mt-radio-outline > input:checked ~ span,
.mt-radio.mt-radio-outline > input:focus ~ span,
.mt-radio.mt-radio-outline > span {
    border: 1px solid #555;
}

.select2-select-all {
    position: absolute;
    right: 5px;
    top: 7px;
    opacity: 0.5;
}

.select2-select-all:hover {
    opacity: 1;
}
/***************** MODAL POPUP OPTIONS ********************/
#modalWinwdow #modal-btn-close {
    background: #32c5d2;
    color: white;
}

#modalWinwdow #modal-btn-ok {
    background: #32c5d2;
    color: white;
}

.modal.modal-info .modal-title {
    color: #32c5d2;
}

#modalWinwdow.modal-danger #modal-btn-close {
    background: #32c5d2;
    color: white;
}

.modal.modal-danger .modal-title,
.modal.modal-warning .modal-title {
    color: #dd4b39;
}

#modalWinwdow.modal-danger #modal-btn-close {
    background: #dd4b39;
}

#modalWinwdow .modal-dialog {
    position: fixed;
    transform: translate(-50%, -50%);
    top: 40%;
    left: 50%;
    min-width: 200px;
    width: 400px;
}

#modalWinwdow.modal-warning #modal-btn-close {
    background: #dd4b39;
    color: white;
}

/*************** ELFINDER ******************/

.elfinder-preview-image {
    position: relative;
    display: inline-block;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.elfinder-preview-file {
    position: relative;
    display: inline-block;
    overflow: hidden;
    margin-top: 10px;
}


.elfinder-preview-image img {
    max-width: 350px;
    max-height: 350px;
}

.elfinder-preview-image > a {
    position: absolute;
    right: 2px;
    top: 2px;
    background: #fff;
    width: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 1px 0 3px;
}

.elfinder-preview-image a.fa-close {
    color: #C00;
    top: 22px;
}


a.download-link * {
    vertical-align: middle;
}

a.download-link {
    font-size: 18px;
    text-decoration: underline !important;
    color: #454545;
}


/*********************** END Custom Loader ****************/
.overlay {
    position: relative;
}

.overlay .loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .1);
    z-index: 9999;
    color: white;
    display: inline-block;
}

.overlay .loading::after {
    content: '';
    overflow: visible;
    margin: auto;
    position: absolute;
    z-index: 10000;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: block;
    background-image: url("../img/ajax-loader.gif");
    background-size: 100% 100%;
    width: 198px;
    height: 198px;
}

#data-loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url("../img/ajax-loader.gif");
    width: 198px;
    height: 198px;
    padding: 8px 16px;
    background-size: 100% 100%;
    display: none;
    z-index: 100000;
}


/******************** Permissions ***********************/
.permissions-container .permissions {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.permissions-container .controller-permissions {
    overflow: hidden;
    margin-top: 20px;
}

.permissions-container .card-block {
    padding-right: 40px;
}

.form-group ul.sortable.inline-options {
    margin-top: 10px;
}

.form-group ul.sortable.inline-options li {
    float: left;
    width: auto;
    margin: 0 10px 10px 0;
}


.form-group ul.sortable.inline-options .btn-danger {
    margin-left: 10px;
}


/*************** Translations Module *****************/

.default-translation {
    color: #32c5d2 !important;
}

.translation-params {
    color: #CC0000;
}

#bulk-translations-form ::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #32c5d2;
}

#bulk-translations-form :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #32c5d2;
    opacity: 1;
}

#bulk-translations-form ::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #32c5d2;
    opacity: 1;
}

#bulk-translations-form :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #32c5d2;
}

#bulk-translations-form ::-ms-input-placeholder { /* Microsoft Edge */
    color: #32c5d2;
}

#bulk-translations-form .form-group {
    margin-bottom: 0px;
}

/*************** Portlets ******************/

.portlet > .portlet-title {
    min-height: 38px;
    vertical-align: middle;
}

.portlet.box > .portlet-title > .caption {
    padding: 10px 0;
}

.portlet > .portlet-title > .caption > i {
    margin-top: 3px;
}

/*********** Notes ************/
.note {
    border-left: 5px solid #eee;
}


/*********** Dashboard ************/
.school-data blockquote {
    padding-bottom: 0px;
    padding-left: 0px;
}

.school-data blockquote p {
    margin: 0px;
    margin-left: 35px;
}

/************ Sortable ***********/
.form-group ul.sortable {
    list-style-type: none;
    padding: 0px;
}

.form-group ul.sortable > li {
    padding: 10px;
    position: relative;
    margin: 0px 0px 20px 0px;
}


.form-group ul.sortable > li .btn-danger {
    float: right;
}

.form-group ul.sortable > li > div {
    float: left;
}

/***************** Print *************/

#voucherPreviewInstructions {
    display: none;
}


@media print {
    #voucherPrintPreview .heading {
        display: block!important;
    }

    #edit-form .portlet-title {
        display: none;
    }

    #edit-form.portlet.box {
        border: 0px !important;
        padding: 0px !important;
        margin: 0px !important;
    }

    #edit-form .portlet-body {
        padding: 0px !important;
        margin: 0px !important;
        border: 0px !important;
    }

    #edit-form .portlet-body th.right {
        text-align: right !important;
    }

    .page-break {
        page-break-after: always;
    }

    #edit-form .actions {
        display: none !important;
    }
    #edit-form .table-responsive .table {
        margin-bottom: 0px !important;
    }

    .homepage-vouchers-list, .dashboard-block, .modal-header {
        display: none;
    }

    #vouchersTable {
        float: left;
        width: 50%;
        margin-right: 20px
    }

    #voucherPreviewInstructions {
        display: block;
    }

    .password-expiration-bar, .mt-cookie-consent-bar {
        display: none!important;
    }

    ul {
        list-style-position: inside;
    }

    ul li {
        margin-left: 10px;
    }

    ul li ul {
        list-style-type: circle;
    }

    .portlet {
        border: 0px !important;
    }
}

/* Static Texts */

.static-text-content input[type=checkbox] {
    margin: 0 5px 0 0;
}

.static-text-content p label * {
    vertical-align: middle;
}

.static-text-content ul {
    list-style-position: inside;
}

.terms-and-conditions .content {
    background-color: #fff;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -ms-border-radius: 7px;
    -o-border-radius: 7px;
    border-radius: 7px;
    width: 90%;
    margin: 40px auto 10px;
    padding: 10px 30px 30px;
    overflow: hidden;
    position: relative;
    height: 90vh;
    overflow-y: auto;
}

.terms-and-conditions .copyright {
    margin-bottom: 0px;
}

.terms-and-conditions .page-title {
    margin: 20px 0;
    font-weight: bold;
}

.terms-and-conditions .conditions-content {
    /*height: 80vh;*/
    /*overflow-y: auto;*/
}

/***************** Modals *************/
.notifications-popup {
    width: 700px;
}

.notifications-popup .modal-body {
    /*background: #fafafa;*/
    padding: 0px;
}

.notifications-popup .modal-body .portlet {
    margin-bottom: 0px;
}
@media (max-width: 767px) {
    .notifications-popup {
        width: calc(100% - 20px);
    }
}


/*************** Menu **********************/
/*.page-container .page-sidebar .page-sidebar-menu .sub-menu > li.active > a,*/
/*.page-container .page-sidebar .page-sidebar-menu .sub-menu > li.open > a,*/
/*.page-container .page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu .sub-menu > li.active > a,*/
/*.page-container .page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu .sub-menu > li.open > a {*/
    /*background: rgba(54, 198, 211, 0.62) !important;*/
    /*color: white !important;*/
/*}*/


/*.modal {*/
/*z-index: 10062;*/
/*}*/

/*.modal-backdrop.in.loader {*/
/*!** Bootstrap defines it as z-index: 10049;*!*/
/*z-index: 10061;*/
/*}*/
/*!* Add higher z-index for select2 container, due bug when opening portlet at fullscreen *!*/
.page-portlet-fullscreen .select2-container--bootstrap, .page-portlet-fullscreen.modal-open .datepicker {
    /** The same as .portlet.portlet-fullscreen z-index: 10060 **/
    z-index: 10060 !important;
}

.bordered {
    border: 1px solid;
}

th .filters-form label::after, .create-form td label::after {
    content: '';
}

table.centered
{
    width: auto;
    margin: 0 auto;
}

table.fixed {
    table-layout: fixed;
}

table.fixed td,
table.fixed th {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.overflow-x-scroll {
    overflow-x: auto;
}

.form-inline .input-group.align-switch-to-li{
    vertical-align: text-top;
}
.align-switch-to-li .bootstrap-switch{
    margin-top: -7px;
}


.form-wizard .form-group .mt-radio-list {
    margin-top: 10px;
}


.popover {
    box-shadow: 5px 5px rgba(102,102,102,.1);
    padding: 0;
    border: 1px solid rgba(0,0,0,.2);
}

.popover > .popover-title {
    margin: 0;
    padding: 8px 14px;
    font-size: 14px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ebebeb;
    border-radius: 5px 5px 0 0;
    text-transform: none;
}

.page-sidebar .page-sidebar-menu > li.active.open > a, .page-sidebar .page-sidebar-menu > li.active > a, .page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu > li.active.open > a, .page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu > li.active > a {
    background: #605E5B!important;
}

.page-header.navbar {
    background: #94999A!important;
}

h3.strong {
    font-weight: 500!important;
}


.dashboard-stat .visual > i {
    opacity: .1;
}


table.dataTable tr.totals td {
    color: #605E5B;
}

table.dataTable.no-border td,
table.dataTable.no-border th {
    border: 0px;
}

table.dataTable.table-bordered td,
table.dataTable.table-bordered th {
    border: 1px solid #e7ecf1;
}

.form-horizontal .form-group .mt-checkbox-list, .form-horizontal .form-group .mt-radio-list {
    padding-bottom: 0px;
}

.form-horizontal .mt-radio {
    margin-bottom: 5px;
}

p {
    margin: 10px 0;
}

.password-expiration-bar {
    display: none;
    /*position: absolute;*/
    /*bottom: 0;*/
    /*width: calc(100vw - 250px);*/
}


@media (max-width: 992px) {
    /*.password-expiration-bar {*/
        /*width: calc(100vw);*/
    /*}*/
}

.password-expiration-bar a {
    color: #605E5B !important
}
