@-ms-viewport {
    width: device-width;
    height: device-height;
}

@viewport {
    width: device-width;
    height: device-height;
}

/* * {
    scroll-behavior: smooth;
} */

html,
body,
#page-content-wrapper,
#wrapper,
.modal,
.modal-body {
    scroll-behavior: smooth;
}

@media screen {
    /* html {
			background: none !important;
			background-color: none !important;
			width: 100% !important;
			overflow: hidden !important;
		}


		body {
			width: 100% !important;
			overflow-x: hidden !important;
			overflow-y: auto;
		} */
}

@media all and (max-width: 991px) {
    body {
        position: relative !important;
    }
}

@media print {

    body,
    html {
        height: auto !important;
    }

    body {
        /* print-color-adjust: exact !important; */
        -webkit-print-color-adjust: exact !important;
        -moz-print-color-adjust: exact !important;
        -ms-print-color-adjust: exact !important;
    }

    .reorder-handle,
    .ui-sortable-handle {
        display: none !important;
    }
}

body.mfp-zoom-out-cur {
    /* margin: 0 !important;
		padding: 0 !important;
		height: 100% !important;
		width: 100% !important; */
    overflow: hidden !important;
}

.mfp-wrap.mfp-ready {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: 100vh !important;
    overflow-y: hidden !important;
    overflow-y: auto !important;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

.cursor-zoom-in {
    cursor: zoom-in;
}

.cursor-zoom-out {
    cursor: zoom-out;
}

input[data-plugin-datepicker],
input[data-plugin-timepicker] {
    cursor: pointer !important;
}

.well {
    background: #f9fbfd;
}

.text-brown {
    color: brown;
}

.bg-brown {
    background-color: brown;
}



#insufficient_fund_alert {
    display: none;
}

.hidden-on-load {
    display: none;
}

.thumb-info .thumb-info-title {
    bottom: auto !important;
    margin-top: -20px !important;
    /* display: none; */
}

.thumb-info {
    margin-bottom: 55px !important;
}

.thumb-info .thumb-info-inner {
    white-space: unset !important;
}

td.details-control {
    background: url('https://cdn.rawgit.com/DataTables/DataTables/6c7ada53ebc228ea9bc28b1b216e793b1825d188/examples/resources/details_open.png') no-repeat center center;
    cursor: pointer;
}

tr.shown td.details-control {
    background: url('https://cdn.rawgit.com/DataTables/DataTables/6c7ada53ebc228ea9bc28b1b216e793b1825d188/examples/resources/details_close.png') no-repeat center center;
}

[data-toggle="collapse"] {
    cursor: pointer;
}

[data-toggle="collapse"] .click-to-expand {
    display: none;
    float: right;
}

[data-toggle="collapse"] .click-to-expand::after {
    content: 'Click to expand';
    font-size: 11px;
    color: #0d6efd;
}

@media all and (max-width: 991px) {
    [data-toggle="collapse"] .click-to-expand::after {
        font-family: "FontAwesome";
        content: "\f078";
        color: inherit;
    }
}

.bg-odd {
    background-color: #f9fbfd !important;
}

table tr.tr-odd {
    background-color: #f9fbfd !important;
}

table tr.tr-thick-border-top {
    border-top-width: 4px !important;
    border-top-style: solid;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

.table-hover-shown-item {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

tr:hover .table-hover-shown-item {
    opacity: 1;
}

@media print {
    .table-hover-shown-item {
        display: none;
    }
}


.panel-title {
    /* color: #0d6efd; */
    color: #33353F;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    padding: 0;
    text-transform: none;
}

.panel-title:not(.sidebar-menu .panel-title) {
    /* make the text bolder */
    font-weight: 600;

    /* make the color lighter */
    color: #606164;
}

.input-inline {
    height: auto !important;
    padding: 0px !important;
    border-radius: 0px !important;
    border: .5px solid #999 !important;
    font-size: inherit !important;
}

.required {
    color: inherit !important;
    top: 0.2em !important;
}

.menu-toggle-btn,
.menu-toggle-btn:hover,
.menu-toggle-btn:active,
.menu-toggle-btn.active.focus,
.menu-toggle-btn.active:focus,
.menu-toggle-btn.focus,
.menu-toggle-btn.focus:active,
.menu-toggle-btn:active:focus,
.menu-toggle-btn:focus {
    outline: 0 !important;
    outline-offset: 0 !important;
    background-image: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

/* ---Modals customizations here--- */
.modal .panel-heading,
.modal .panel-body,
.modal .panel-footer {
    background: #ffffff;
}

.modal footer,
.modal .footer,
.tab-content .panel-footer {
    margin: 0px;
}

/* .modal-body .panel-body {
    padding: 0px;
} */

.ajaxModal-modal-body {
    padding: 0px;
}

.ajaxModal-modal-body .panel-body {
    padding: 20px;
}

.modal-backdrop {
    background-color: transparent !important;
    opacity: 0 !important;
}

.modal.fade {
    background: rgba(0, 0, 0, 0.5);
}

.modal-title-content-conveyer {
    display: none !important;
    visibility: hidden !important;
}

/* Custom Modal In-Out animation (reveal from bottom) */
.modal.fade .modal-dialog {
    top: 0;
    transition: transform 0.3s;
    transform: translateX(0%) translateY(105%);
    -webkit-transform: translateX(0%) translateY(105%);
    -moz-transform: translateX(0%) translateY(105%);
    -ms-transform: translateX(0%) translateY(105%);
    -o-transform: translateX(0%) translateY(105%);

}

.modal.in .modal-dialog {
    top: 0;
    -webkit-transition: transform 0.3s;
    -moz-transition: transform 0.3s;
    -ms-transition: transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;

    -webkit-transform: translateX(0) translateY(0);
    -moz-transform: translateX(0) translateY(0);
    -ms-transform: translateX(0) translateY(0);
    -o-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
}

.modal-content {
    /* -webkit-box-shadow: none !important; */
    /* box-shadow: none !important; */
    border: none !important;
}

/* --------- */


.my-card {
    box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.2);
}

.ui-pnotify,
.tooltip {
    z-index: 1151000000 !important;
}


/* .pause-provider-warning-notifications,
.pause-this-notification {
    z-index: 1151000000 !important;
} */

.mfp-content .tooltip {
    display: none !important;
}

.dropdown-menu.bg-primary,
.dropdown-menu.bg-primary li a,
.dropdown-menu.bg-primary {
    color: #ffffff !important;
}

.dropdown-menu.bg-primary:hover,
.dropdown-menu.bg-primary li a:hover {
    color: #000 !important;
}

.cke_dialog_background_cover,
.cke_dialog_container {
    z-index: 100000 !important;
}

.note-editor.panel {
    margin: 0px !important;
}

.note-modal {
    max-height: 100vh;
    overflow-y: auto;
}

.note-modal .modal-dialog {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.note-modal .modal-body {
    padding: 15px !important;
}

/* remove top and bottom padding */
.note-color .dropdown-menu {
    min-width: 168px !important;
    padding: 0;
}

/* hide background color picker */
.note-color .note-palette:first-child {
    display: none !important;
}

/* remove palette title */
/* .note-color .note-palette-title {
		display: none;
	} */


/* tiny mce */

.mce-menu {
    position: fixed !important
}

/* to make tinymce fullscreen work in bs modal */
/* .modal.in .modal-dialog {
		-webkit-transform: none;
		-ms-transform: none;
		-o-transform: none;
		transform: none;
	} */

.modal.in .tox-fullscreen {
    width: 100% !important;
}

.tox-menubar .custom-editor-menus {
    /* align-self: flex-end !important; */
    margin-left: auto !important;
    /* color: var(--sf-primary-color) !important; */
    margin-bottom: auto !important;
    margin-top: auto !important;
    font-size: 11px;
}

.tox-menubar .custom-editor-menus .custom-menu-item {
    /* color: var(--sf-primary-color) !important; */
    /* border-color: var(--sf-primary-color) !important; */
    border-width: 1px;
    border-style: solid;
    padding: 5px !important;

    font-size: 11px;
    margin-right: 5px;
    margin-left: 5px;
}

.close-editor-mode {
    display: none;
}

.open-editor-mode {
    display: inline-block;
}

.tox-fullscreen .close-editor-mode {
    display: inline-block;
}

.tox-fullscreen .open-editor-mode {
    display: none;
}

/*  */



a.modal-dismiss:not(.btn):not(.pull-right) {
    color: inherit;
    padding: 7px 10px;
    border-radius: 100%;
}


/* a.modal-dismiss:not(.btn):not(.pull-right):hover {
		background-color: #D8CDD3;
	} */

.scratch_card_ui {
    width: 320px;
    min-height: 150px;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
    background-color: #f9fbfd;
    color: gray;

    border: 1px solid #aaa;

}

.form-group {
    margin-bottom: 20px !important;
}

.checkbox-custom,
.radio-custom {
    /* margin-bottom: 15px !important; */
    margin-bottom: 0px !important;
}

.hidden-on-load {
    display: none;
}

.menu-toggle,
.menu-toggle * {
    border-radius: 0px !important;
}

.word-break {
    word-break: break-word !important;
}

.modal-block-primary .fa {
    color: inherit;
}

.iti--allow-dropdown {
    display: block;
    width: 100% !important;
}



/*NUMBER INPUT SELECTOR ARROWS DISABLE*/

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input[type="checkbox"],
input[type="radio"] {
    cursor: pointer;
}

body .btn-primary[disabled] {
    border-color: #0d6efd !important;
    background-color: #0d6efd;
}

.my-page-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

.center-flex {
    display: flex;
    align-items: center;
}

.fixed-top {
    position: fixed;
    top: 0px;
    display: block;
}

[data-plugin-tagsinput] {
    display: none;
}

.formbuilder-text-label,
.formbuilder-textarea-label,
.formbuilder-select-label,
.formbuilder-number-label,
.formbuilder-radio-label,
.formbuilder-radio-group-label,
.formbuilder-checkbox-label,
.formbuilder-checkbox-group-label,
.control-label {
    color: #878787 !important;
    font-weight: 500 !important;
}

.input-group .form-control {
    z-index: auto;
}


/* input form control styling */
.uneditable-input {
    height: auto !important;
    min-height: 42px;
}

.form-control,
.form-builder .form-control,
.form-wrap.form-builder .form-control,
.rendered-form .form-control,
.bootstrap-tagsinput,
.select2-container--bootstrap .select2-selection,
.select2-container--bootstrap .select2-selection--single {
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    min-height: 43px;
    border-radius: 10px;
    color: #878787;
    font-weight: 500;
    vertical-align: middle;
}

.rendered-form .form-control,
.form-builder .form-control,
.form-wrap.form-builder .form-control {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    -webkit-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
    min-height: 43px !important;
    border-radius: 10px !important;
    color: #878787 !important;
    font-weight: 500 !important;
    vertical-align: middle !important;
}

.select2-container--bootstrap .select2-selection--single {
    display: flex;
    width: 100%;
    align-items: center;
    padding-top: 0px;
    padding-bottom: 0px;

}

.form-control:focus,
.select2-container--bootstrap.select2-container--focus .select2-selection,
.select2-container--bootstrap.select2-container--open .select2-selection {
    color: #212529;
    background-color: #fff !important;
    border-color: #0d6efd !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.select2-selection__rendered,
.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice,
.select2-container--bootstrap .select2-results__option {
    color: #878787;
    font-weight: 500;
}

.input-group:focus-within>* {
    color: #212529 !important;
    background-color: #fff !important;
    border-color: #0d6efd !important;
}

.select2-container--bootstrap .select2-search--dropdown .select2-search__field {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0px;
}

.iti__selected-flag,
.iti__flag-container {
    height: 43px !important;
}

.input-group-addon,
.select2-dropdown {
    border-radius: 10px;
    cursor: pointer;
}

.input-group>input:not(:first-child):not(:last-child):not(:only-child) {
    border-left-width: 0px !important;
    border-right-width: 0px !important;
    border-radius: 0px !important;
}

.input-group>*:not(input):not(:first-child):not(:last-child):not(:only-child) {
    border-left-width: 0px !important;
    border-right-width: 0px !important;
    border-radius: 0px !important;
}

.input-group>*:not(:first-child):not(:last-child):not(:only-child) .select2-selection {
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.input-group>*:last-child:not(:only-child) {
    border-left-width: 0px !important;
}

.input-group>*:first-child:not(:only-child) {
    border-right-width: 0px !important;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;

}

.input-group>input:not(:first-child):not(:only-child),
.input-group>select:not(:first-child):not(:only-child) {
    padding-left: 0px !important;
}

.input-group>*:only-child {
    border: 1px solid #ccc !important;
}

.input-group-addon {
    background-color: #fff !important;
}

.input-group>.select2-container--bootstrap {
    width: 100% !important;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
    background-color: #fff;
    cursor: not-allowed;
    opacity: 1;
}

.multiselect-parent select,
.multiselect-parent .select2-container--bootstrap .select2-selection {
    border-bottom-right-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.multiselect-parent .select2-container+.btn-group .multiselect.dropdown-toggle.btn {
    border-top-width: 0px !important;
    border-top-right-radius: 0px !important;
    border-top-left-radius: 0px !important;
    width: 100%;
}

.multiselect-parent .btn-group {
    width: 100%;
}

.multiselect-parent .btn-group .multiselect.dropdown-toggle.btn {
    width: 100%;

    /* text truncate */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.multiselect-parent .multiselect-container.dropdown-menu {
    min-width: 100%;

    /* max-height: 300px;
    overflow-y: auto; */
}

.multiselect-container.dropdown-menu li a {
    padding-top: 5px;
    padding-bottom: 5px;
    white-space: unset;
}



@media all and (min-width: 992px) {

    .input-append>* {
        border-radius: 10px;
    }

    .input-append .uneditable-input {
        border-radius: 10px;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    .input-append .btn {
        border-radius: 10px !important;
        border-top-left-radius: 0px !important;
        border-bottom-left-radius: 0px !important;
        height: auto !important;
        min-height: 42px;
    }

    .fileupload.fileupload-exists .btn-file {
        border-top-right-radius: 0px !important;
        border-bottom-right-radius: 0px !important;
    }
}

/* input form control (mobile) */
@media all and (max-width: 991px) {
    .fileupload .btn {
        margin-left: unset;
    }

    .form-control,
    .rendered-form .form-control,
    .bootstrap-tagsinput,
    .select2-container--bootstrap .select2-selection,
    .select2-container--bootstrap .select2-selection--single,
    .rendered-form .form-control,
    .select2-selection:not(.select2-selection--multiple),
    .select2-container--bootstrap .select2-selection--multiple {
        min-height: 46px;
        font-size: 18px;
        line-height: 1.3333333;
    }

    .iti__selected-flag,
    .iti__flag-container {
        height: 46px !important;
    }

    .input-group-addon.password-input-clear {
        display: none !important;
    }
}

/* input[type=date].form-control,
input[type=datetime-local].form-control,
input[type=month].form-control,
input[type=time].form-control {
    width: auto !important;
} */


.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-off,
.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-on,
.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-label,
.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-off,
.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-on,
.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-label,
.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-off,
.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-on,
.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-label {
    opacity: 1;
    cursor: not-allowed !important;
}


.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-label:after,
.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-label:after,
.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-label:after {
    font-family: 'FontAwesome';
    content: '\f023';
}

.btn.disabled {
    pointer-events: all !important;
    cursor: not-allowed !important;
}



.input-group .form-control:last-child,
.input-group-addon:last-child,
.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,
.input-group-btn:first-child>.btn:not(:first-child),
.input-group-btn:last-child>.btn,
.input-group-btn:last-child>.btn-group>.btn,
.input-group-btn:last-child>.dropdown-toggle {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group .form-control:focus {
    z-index: 3;
}

.input-group .form-control {
    z-index: auto;
}

.cursor-pointer {
    cursor: pointer !important;
}

.d-inline {
    display: inline !important;
}

.d-inline-block {
    display: inline-block !important;
}

/* .form-control[disabled],
	.form-control[readonly],
	fieldset[disabled] .form-control {
		background-color: inherit !important;
		opacity: 0.9;
	} */

.select2-container--bootstrap.select2-container--open {
    z-index: 1000000;
}

.select2-container--bootstrap .select2-results__option[aria-selected="true"] {
    background-color: #0d6efd;
    color: #fff;
}

#event_calendar {
    display: none;
}

.hidden_1 {
    visibility: hidden;
}

.shown_1 {
    visibility: visible;
}

.bg-white {
    background-color: #fff !important;
}

.bg-primary-important {
    background: #0d6efd !important;
    color: #FFF !important;
}

.btn-square-edge {
    border-radius: 0px !important;
}


.sidebar-wrapper-scroll {
    top: 0 !important;
}

@media (min-width: 768px) {
    .row.equal {
        display: flex;
        flex-wrap: wrap;
    }
}

.card-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.card {
    display: block;
    flex: 0 1 100%;
    margin-bottom: 15px;
    border: 1px solid grey;
    box-shadow: 1px 1px 3px #888;
    border-radius: 4px;
}

.my-shadow {
    /* box-shadow: 1px 1px 3px #888; */
    box-shadow: 0px 0px 5px 1px #D8CDD3;
}

.border-0 {
    border: 0px !important;
}

.border-bottom-default {
    border-bottom: 1px solid #ddd;
}

.alternate-bg-divs>div:nth-child(odd) {
    background: #f9fbfd;
}

.eclass-dashboard-card {
    max-height: 260px;
    overflow-y: auto;
}

p {
    flex-grow: 1;
}

.card-content {
    padding: 10px;
}

.footer {
    margin-top: auto;
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* Using Popover as Dropdown Menu in Tables */
.popover-content .menu-items {
    margin-left: -10px;
    margin-right: -10px;
}

.popover-content .menu-items ul,
.popover-content .menu-items li {
    list-style: none;
    list-style-type: none;
    list-style-position: inside;
    padding: 0px;
    margin: 0px;
}

.popover-content .menu-items a {
    color: inherit;
    display: block;
    width: 100%;
}

.popover-content .menu-items li {
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 10px;
    padding-bottom: 10px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.popover-content .menu-items li:hover {
    background-color: #efefef;
}

/*  */

.hover-dim:hover {
    background-color: #efefef;
}

.go-to-class-discussion:hover {
    background-color: #efefef;
}

.label-danger {
    border-width: 1.5px;
    border-style: solid;
    border-color: #d2322d;
    color: #d2322d;
    background-color: #fff;
}

.label-info {
    border-width: 1.5px;
    border-style: solid;
    border-color: #5bc0de;
    color: #5bc0de;
    background-color: #fff;
}

.label-success {
    border-width: 1.5px;
    border-style: solid;
    border-color: #47a447;
    color: #47a447;
    background-color: #fff;
}

.label-primary {
    border-width: 1.5px;
    border-style: solid;
    border-color: #0d6efd;
    color: #0d6efd;
    background-color: #fff;
}

.label-default {
    border-width: 1.5px;
    border-style: solid;
    border-color: #777 !important;
    color: #777;
    background-color: #fff;
}




/* Datalist styling */

/* <datalist> and <option> styling */
datalist {
    position: absolute;
    max-height: 20em;
    border: 0 none;
    overflow-x: hidden;
    overflow-y: auto;
}

datalist option {
    font-size: 0.8em;
    padding: 0.3em 1em;
    background-color: #ccc;
    cursor: pointer;
}

datalist option:hover,
datalist option:focus {
    color: #fff;
    background-color: #036;
    outline: 0 none;
}





/* Customizing Tabs */
.nav-tabs {
    margin: 0;
    font-size: 0;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-content: center;
}

.nav-tabs>li {
    flex: 1;
    text-align: center;
    width: auto;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* change Tabs coloring */

.nav-tabs {
    border-top: 1px solid #ddd;
    /* border-left: 1px solid #ddd; */
    /* border-right: 1px solid #ddd; */
    padding-left: .5px;
    padding-right: 1px;
    padding-top: 0px;
}

.nav-tabs>li a {
    border-radius: 0px;
    border: 0px !important;
    background: none !important;
    color: inherit !important;

    width: auto;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tab-pane,
.tab-pane .panel,
.tab-pane .panel-heading,
.tab-pane .panel-body,
.tab-pane .panel-footer {
    background: #ffffff;
}

.nav-tabs>li {
    background: #ffffff;
    color: #0d6efd;
    border-bottom: 1px solid #ddd;
    margin-top: -0.1px;
}

.nav-tabs>li.active {
    background: #ffffff;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.nav-tabs>li:not(.active):first-child {
    border-left: 1px solid #ddd;
}

.nav-tabs>li.active:first-child {
    border-left: 0px;
}


.nav-tabs>li:not(.active):last-child {
    border-right: 1px solid #ddd;
}

.nav-tabs>li.active:last-child {
    border-right: 0px;
}

.nav-tabs>li.active a {
    border: 0px;
}

.nav-tabs>li:not(.active):hover {
    /* background: #efeeee; */
    background: #f0f2f5;
}

.tab-content {
    padding: 0px;
}

.tab-pane {
    padding: 15px;
}

/* limit height of tabs in desktop view so the tab headings are always visible. */

@media all and (min-width: 768px) {
    /* .tab-pane {
        max-height: calc(100vh - 180px);
        overflow-y: auto;
        overflow-x: hidden;
    } */

    /* make the nav tabs sticky */
    /* .nav-tabs{
        position: sticky;
        top: 0;
        z-index: 1;
    } */
}

/* -------- */


/* Quicklinks Search styling */

.sidebar-quick-links a {
    display: block;
    padding: 10px;
    padding-bottom: 10px !important;
    padding-top: 10px !important;
    /* color: #0d6efd; */
    color: inherit;
}

.sidebar-quick-links a:hover {
    background: #0d6efd;
    color: #ffffff;
}

.sidebar-quick-links a:after {
    font-family: "FontAwesome";
    content: "\f105";
    float: right;
}

.quicksearch-input {
    background: none;
    border-radius: 0px !important;
    padding: 0px !important;
    border-width: 0px !important;
    min-height: 20px !important;
    width: 100% !important;
}

.quicksearch-input-icon {
    margin-top: -2px !important;
    display: inline-block;
}

.quicklinks-search-clear-btn {
    display: none;
}

.quicklinks-search-mobile .well {
    background: inherit;
    border-radius: 0px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    box-shadow: none;
    border-color: #ffffff;
    border-bottom: 1px solid #ccc;
}

@media all and (max-width: 991px) {

    /* Mobile */
    .quicksearch-input {
        min-height: 33px !important;
    }

    .quicksearch-input-icon {
        padding-top: 6px !important;
    }

    .sidebar-quick-links a {
        border-bottom: .5px solid #dfdfdf;
        padding-bottom: 15px !important;
        padding-top: 15px !important;
    }
}

.dashboard-search-area {
    display: flex;
    width: 100%;
    height: 500px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #ffffff;
    /* padding: 10px; */
    margin-top: 10px;
    border-radius: 7px;
    box-shadow: 0px 0px 5px 1px #D8CDD3;

}

.dashboard-search-area>div {
    width: 100%;
}

/* .dash-search-input-holder {} */

.dash-search-results-holder {
    background-color: #ffffff;
    display: none;
    height: 88%;
    overflow-y: auto;

}

/* End of Quicklinks search styling */


@media all and (min-width: 30em) {
    .card {
        flex: 0 1 30%
    }
}


.print-only {
    display: none;
}

@media print {
    .print-only {
        display: block;
    }
}

.main-page-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Table to accordion. re-style table rows to give one another som gap */
@media all and (max-width: 991px) {

    table.table-to-accordion td,
    table.table-to-accordion th,
    table.table-to-accordion .shrink-toggle {
        border-color: #bbb !important;
    }

    table.table-to-accordion {
        /* border-collapse: collapse; */
        border-collapse: separate;
        border-spacing: 0 9px;

        border: 0px !important;

    }

    table.table-to-accordion th {
        border: 0px !important;
    }

    table.table-to-accordion tr.collapsed {
        background-color: inherit;
        /* background-color: #0d6efd; */
        /* color: #ffffff; */
    }

    table.table-to-accordion .br-none {
        border-right: 0px !important;
    }

    table.table-to-accordion .bl-none {
        border-left: 0px !important;
    }

    table.table-to-accordion .bt-none {
        border-top: 0px !important;
    }

    table.table-to-accordion .bb-none {
        border-bottom: 0px !important;
    }

    table.table-to-accordion .b-none {
        border: 0px !important;
    }

    table.table-to-accordion .shrink-toggle {
        border-left: 0px !important;
    }

    table.table-to-accordion .shrinked-row {
        margin-bottom: 13px;

    }

    table.table-to-accordion .shrinked-row>div {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-direction: row;

    }

    table.table-to-accordion.row-border-top-only td,
    table.table-to-accordion.row-border-top-only th {
        border-left: 0px !important;
        border-right: 0px !important;
        border-bottom: 0px !important;
        padding-top: 15px;
    }
}

@media all and (max-width: 767px) {

    body.sidebar-open {
        overflow: hidden;
    }

    .main-page-content {
        padding-left: 10px;
        padding-right: 10px;
    }

    .nav.nav-tabs:not(.keep-as-tabs-on-mobile),
    .tab-content:not(.keep-as-tabs-on-mobile) {
        visibility: hidden;
    }

    .tooltip,
    .tooltip-inner {
        display: none !important;
        visibility: hidden !important;
    }

    .fileupload .btn {
        margin: 0px;
    }

    .comm-link-icon i {
        font-size: 25px !important;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .chat-popup-hamburger.nav-hidden {
        transform: translateY(105%);
    }

    /* Make buttons bigger and more accessible on mobile. Style buttons as though they have the classes '.btn-lg' and '.btn-block' */
    .btn:not(.btn-no-block):not([data-jplist-control="pagination"] .btn):not(.navbar-fixed-top .btn):not(.menu-toggle-btn):not([class*="note"] .btn):not(.btn[class*="note"]) {
        /* from .btn-lg */
        padding: 10px 20px;
        font-size: 18px;
        line-height: 1.33333;
        border-radius: 6px;

        /* from .btn-block */
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }

    .btn-xs,
    .removed-btn-xs {
        padding: 6px 12px !important;
        font-size: 16px !important;
    }

}


/* User Profile Snippet */

.profile-snippet {
    display: flex;
    flex-direction: row;
}

.profile-snippet>div {
    flex: 1;
}

.profile-snippet>.name-box {
    flex-grow: 4;
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: flex-end;
}

.profile-photo-snippet {
    border-radius: 100px;
    height: 70px;
    width: 70px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

/*  */

/* For page Preloader skeleton placeholder */
.show-on-document-ready {
    visibility: hidden;
    display: none;
}

.preloading-placeholder {
    display: block;
    visibility: visible;
}

.ph-item {
    background: inherit;
    margin-bottom: 0px;
}

.ph-picture-sm {
    height: 60px;
}

.ph-picture-xs {
    height: 30px;
}


.multisource-image-input input[type="file"] {
    opacity: 0;
    /* visibility: hidden; */
    height: 0px !important;
    width: 0px !important;
}

.multisource-image-input .thumbnail-parent {
    width: 170px;
    min-height: 190px;
    align-items: center;
    text-align: center;

}

.multisource-image-input .open-multisource-btn {
    width: 100%;
    padding: 5px;
    text-align: center;
    display: inline-block;
    border: .5px solid #ddd;
    color: inherit !important;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.5);
}

.multisource-image-input .open-multisource-btn:hover {
    background-color: #eee;
}

.multisource-image-input .thumbnail {
    margin-bottom: 0px !important;
    min-width: 170px;
    min-height: 190px;
}

.msg-item-row {
    border: 1px solid transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.075);
    padding: 4px 0px 4px 0px;
}

.msg-item-row:hover {
    background-color: rgba(0, 0, 0, 0.02);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
    border: 1px solid rgba(0, 0, 0, 0.075);
}

.msg-listing-item {
    display: flex;
    align-items: flex-start;
    justify-content: baseline;
    width: 100%;
}

.text-divider {
    margin: 2em 0;
    line-height: 0;
    text-align: center;
}

.text-divider span {
    background-color: #f5f5f5;
    padding: 1em;
}

.text-divider:before {
    content: " ";
    display: block;
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #f7f7f7;
}

.letter-spacing-3 {
    letter-spacing: 3px;
}

.letter-spacing-2 {
    letter-spacing: 3px;
}

.fixed-center {
    position: fixed;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    z-index: 1040;
    display: none;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
}

.modal .fixed-center {
    position: fixed;
    margin-top: 250px;
    top: 0%;
    right: 50%;
    transform: translate(50%, 0%);
    z-index: 1040;
    display: none;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
}


.bg-grey {
    background-color: grey;
}

.progress-bar.bg-grey {
    background-color: #ddd;
}

.progress-bar.bg-success {
    background-color: #47a447;
}

.summary-icon {
    border-radius: 12px;
}

img {
    max-width: 100%;
}

/* .modal-body .panel-body:not(.modal-body .panel-body *) {
		max-height: calc(100vh - 200px);
		overflow-y: auto;
	} */
table.align-top:not(.va-middle):not(.va-bottom) tr,
table.align-top:not(.va-middle):not(.va-bottom) td {
    vertical-align: top !important;
}
table.va-middle tr,
table.va-middle td {
    vertical-align: middle !important;
}
table.va-bottom tr,
table.va-bottom td {
    vertical-align: bottom !important;
}

.searchable-input,
.search-table-input {
    border: 0px !important;
    outline: 0px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    box-shadow: none !important;
}

.search-table-input-clear-btn,
.searchable-input-clear-btn {
    background: inherit !important;
    background-color: inherit !important;
    border: none !important;
}

input.score-input-box:focus {
    border: 1px solid var(--sf-primary-color) !important;
    /* box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; */
}

.input-group .input-box-none,
.input-group .input-box-none:focus {
    border: 0px solid #ccc !important;
    outline: 0 !important;
    cursor: default !important;
    box-shadow: none !important;
    background: inherit !important;
    background-color: inherit !important;

    /* min-height: 30px !important;
		height: 30px !important;
		opacity: 0.7 !important;
		font-size: 82% !important; */

}

.input-group .input-box-none::-webkit-input-placeholder {
    /* WebKit browsers */
    color: #fff;
    opacity: 0;
}

.input-group .input-box-none:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #fff;
    opacity: 0;
}

.input-group .input-box-none::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #fff;
    opacity: 0;
}

.input-group .input-box-none:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: #fff;
    opacity: 0;
}

.error-404-page-home-link {
    display: none !important;
}

.h1,
.h2,
.h3,
h1,
h2,
h3 {
    letter-spacing: normal !important;
}

.rounded-left-only {
    border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important;

    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.rounded-right-only {
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;

    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}



/*  */
.modal .panel-heading .modal-dismiss {
    display: inline-block;
    padding: 15px;
    border-radius: 50%;
    margin: -10px;
}

.modal .panel-heading .modal-dismiss:hover {
    background: #efefef !important;
}

.overflow-y-auto {
    overflow-y: auto !important;
}

.overflow-y-hidden {
    overflow-y: hidden !important;
}

.overflow-x-auto {
    overflow-x: auto !important;
}

.overflow-x-hidden {
    overflow-x: hidden !important;
}

.min-h-100 {
    min-height: 100% !important;
}

@media screen and (min-width: 768px) {
    .fileupload .input-append {
        display: flex !important;
    }

    .fileupload .input-append .uneditable-input {
        flex-grow: 1 !important;
    }
}

@media screen and (max-width: 768px) {
    .fileupload .input-append .uneditable-input {
        display: block !important;
    }
}

.notification-paused {
    display: none !important;
    height: 0px !important;
    width: 0px !important;
    opacity: 0 !important;
    visibility: hidden !important;
}


.dataTables_paginate.paging_full_numbers a,
.dataTables_paginate.paging_full_numbers span.ellipsis {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #0b5ed7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
}

.dataTables_paginate.paging_full_numbers a:not(.disabled):not(.current):hover,
.dataTables_paginate.paging_full_numbers a:not(.disabled):not(.current):focus,
.dataTables_paginate.paging_full_numbers span:not(.disabled):not(.current).ellipsis:hover,
.dataTables_paginate.paging_full_numbers span:not(.disabled):not(.current).ellipsis:focus {
    z-index: 2;
    /* color: #23527c; */
    background-color: #eee;
    border-color: #ddd;
    border: 1px solid #ddd;
    line-height: 1.42857143;
}

.dataTables_paginate.paging_full_numbers a.current {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #0b5ed7;
    border-color: #0b5ed7;
}

.dataTables_paginate.paging_full_numbers a.disabled {
    cursor: not-allowed;
}

.dataTables_paginate.paging_full_numbers>a:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.dataTables_paginate.paging_full_numbers>a:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

@media screen and (max-width: 768px) {
    .dataTables_paginate.paging_full_numbers {
        display: flex !important;
        justify-content: center !important;
    }

    .table-responsive tr td .form-control {
        min-width: 150px;
    }
}

.text-yellow {
    color: #fabe05 !important;
}

.owl-nav {
    display: flex !important;
    justify-content: center !important;
    margin-top: 1px !important;
}

.owl-nav>* {
    margin-left: 5px !important;
    margin-right: 5px !important;
    padding: 5px 10px !important;
    color: #fff;
}

.owl-nav.disabled {
    display: none !important;
    visibility: hidden !important;
}

.gateway-status-label .label {
    display: inline-block;
    margin-bottom: 4px;
    margin-left: 3px;
}

.sa-confirm-button-container button.confirm {
    background-color: #0d6efd;
}

.popover,
.popover:active,
.popover:focus,
.popover:hover {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

table.bg-none,
table.bg-none thead,
table.bg-none tbody,
table.bg-none th,
table.bg-none td,
table.bg-none tr {
    background-color: transparent !important;
    background: none !important;
}

.bg-navy-blue,
.bg-navy-blue th,
.bg-navy-blue td,
.bg-navy-blue .ptd,
.bg-navy-blue th.ptd,
.bg-navy-blue td.ptd {
    background: #1f5a99 !important;
    color: #ffffff !important;
}

.bg-navy-blue th,
.bg-navy-blue td,
.bg-navy-blue .ptd,
.bg-navy-blue th.ptd,
.bg-navy-blue td.ptd {
    border-color: #ffffff !important;
}

@media print {
    a[href]:not([href="https://schoolsfocus.net"]):after {
        content: none !important;
    }
}

.ai-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.ai-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2563eb;
    animation: ai-bounce 1s infinite alternate;
}

.ai-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes ai-bounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-18px);
    }
}


.ai-history-item {
    transition: border 0.2s, background 0.2s;
}

.ai-history-item.border-primary {
    border-width: 2px;
}

.ai-history-scroll {
    scrollbar-width: thin;
    scrollbar-color: #2563eb #f3f3f3;
    padding-bottom: 8px;
}

.ai-history-card {
    min-width: 180px;
    max-width: 220px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 10px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ai-history-card.active {
    border-color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.ai-history-card .ai-history-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-history-card .ai-history-preview {
    font-size: 12px;
    color: #444;
    margin-bottom: 6px;
    max-height: 40px;
    overflow: hidden;
}

.ai-history-card .ai-history-use {
    color: #2563eb;
    font-size: 12px;
    text-align: right;
    margin-top: 2px;
}

.ai-history-card .ai-history-media {
    font-size: 11px;
    color: #888;
    margin-bottom: 2px;
}


.swipy-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.swipy-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #2563eb;
    animation: swipy-bounce 1s infinite alternate;
    display: inline-block;
}

.swipy-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.swipy-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes swipy-bounce {
    0% {
        transform: translateY(0);
        opacity: 0.5;
    }

    100% {
        transform: translateY(-12px);
        opacity: 1;
    }
}



.skeleton-card {
    background: #f3f3f3;
    border-radius: 10px;
    padding: 18px 16px;
    margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.skeleton-header {
    width: 40%;
    height: 18px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f3f3f3 50%, #e0e0e0 75%);
    border-radius: 6px;
    margin-bottom: 14px;
    animation: skeleton-shimmer 1.2s infinite linear;
}

.skeleton-line {
    width: 100%;
    height: 12px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f3f3f3 50%, #e0e0e0 75%);
    border-radius: 6px;
    margin-bottom: 10px;
    animation: skeleton-shimmer 1.2s infinite linear;
}

.skeleton-line.short {
    width: 60%;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: 200px 0;
    }
}



.option-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fafbfc;
    transition: box-shadow 0.2s, border-color 0.2s;
    margin-bottom: 8px;
}

.option-card:hover {
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
    border-color: #2563eb;
}

.ai-option-text {
    margin-top: 4px;
}



/* modify summernote toolbar for mobile view */
@media (max-width: 768px) {
    .note-toolbar {
        /* visibility: hidden; */
        /* opacity: 0; */
        transition: opacity 0.2s;
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap;
        position: relative !important;
        z-index: 10;
    }

    .note-editor.active .note-toolbar,
    .note-editor:hover .note-toolbar,
    .note-editor:focus-within .note-toolbar {
        visibility: visible;
        opacity: 1;
    }

    .note-toolbar .note-btn-group {
        flex-shrink: 0;
    }

    .note-toolbar::-webkit-scrollbar {
        height: 6px;
        background: #f0f0f0;
    }

    .note-toolbar::-webkit-scrollbar-thumb {
        background: #bbb;
        border-radius: 3px;
    }


    /*  */
    .note-toolbar .dropdown-menu,
    .note-toolbar .note-popover {
        position: fixed !important;
        z-index: 10600000 !important;
        top: auto !important;
        margin-top: 30px !important;
        left: auto !important;
        right: auto !important;
        will-change: auto;
        min-width: 160px;
    }

    /* Hide scrollbar by default using opacity */
    .note-toolbar::-webkit-scrollbar {
        height: 6px;
        background: transparent;
    }

    .note-toolbar::-webkit-scrollbar-thumb {
        background: transparent;
        /* Hide thumb by default */
        border-radius: 3px;
        transition: background 0.2s;
    }

    .note-toolbar:hover::-webkit-scrollbar-thumb {
        background: #bbb;
        /* Show thumb on hover */
    }
}