/* General overrides */
a, td > a:not([href]):not([tabindex]), td strong > a:not([href]):not([tabindex]) {cursor: pointer; color: #4371a2;}
a:hover, td > a:not([href]):not([tabindex]):hover, td strong > a:not([href]):not([tabindex]):hover {color: #212529; text-decoration: underline;}
.hidden {display: none;}
.bottom-logo img {width: 70%;}
.list-styled {padding-left: 20px;list-style: circle}
.sweet-alert > h3 {margin-top: 25px !important;font-weight: 400;font-size: 26px;}
.sweet-alert .lead {font-size: 18px;}
.input-group-prepend {border-top-right-radius: 0; border-bottom-right-radius: 0;}
.input-group-append {border-top-left-radius: 0; border-bottom-left-radius: 0;}
.no-transform {text-transform: none;}
.typewriter {font-family: 'Courier New', Courier, monospace;}
.page-header .breadcrumbs li {color: inherit;}
.opacity-100 {opacity: 1 !important;}
.opacity-75 {opacity: .75 !important;}
.opacity-50 {opacity: .5 !important;}
.opacity-25 {opacity: .25 !important;}
.opacity-15 {opacity: .15 !important;}
.sp-replacer {float: none !important; width: 100%;}
.sp-dd {float: right !important;}
.fa-1x {font-size: 16px !important;}
.fa-big {font-size: 17px !important;}
.fa-bigger {font-size: 21px !important;}
.w-10 {width: 10% !important;}
.w-12 {width: 12% !important;}
.w-15 {width: 15% !important;}
.vatbox {border:1px #ddd solid; border-radius: 8px; padding:2px 5px; background-color: #fafafa;}
/*.card-body {border: 1px #DDD solid;}*/
.doc-numbers {width: 50px !important; float: left;}
.perm-icons {width: 25px;}
.ml-perm-icons {margin-left: 30px;}
.valign-top {vertical-align: top !important;}
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {border-color: #ccc #EEE #fff #EEE;}
hr {background-image: none; border-top: 1px #eee solid; margin: 15px 0}
.small_right_margin {margin-right: 5px !important}
.small_left_margin {margin-left: 5px !important}
.priority-label {width: 60px; margin-right: 10px !important;}
.nomargin {margin: 0}
ul.nav-main > li.nav-active > a {color: #dd4244 !important;}
.ql-editor {min-height: 200px;}

a.amount.amount-secondary:hover {color: #888888 !important;}
a.amount.amount-primary:hover {color: #dd4244 !important;}
a.amount.amount-warning:hover {color: #ed9c28 !important;}
a.amount.amount-success:hover {color: #28a745 !important;}
a.amount.amount-info:hover {color: #17a2b8 !important;}

/* Custom Page Header (secondary) */
.page-header2 {
    background-color: #ffffff;
    border-left: 1px #e6e6e6 solid;
    border-top: 1px #ddd solid;
    border-bottom: none;
    -webkit-box-shadow: 1px 3px 0 1px #CCCCCC;
    box-shadow: 1px 3px 0 1px #CCCCCC;
    height: 42px;
    margin: -40px -40px 40px -40px;
    padding: 0;
}
.finyear-right {float: right; margin-right: 20px; margin-top: 5px; font-size: 17px;}

/* Form elements */
.text-no-italic {font-style: normal !important;}
.sp-replacer {float: right;}
input.form-control, textarea.form-control {width: 100% !important;}
.form-control:focus {
    border-color: #87cef2 !important;
    box-shadow: 0 0 0 0.2rem rgba(81, 200, 233, 0.2) !important;
}
input.form-control-lg {font-size: 18px !important;}
select.form-control {height: 39px;}
select.squarebox {border-radius: 0 !important;}
input[type="file"].form-control {padding: 7px; line-height: 1.3 !important; cursor: pointer;}
.input-group2 .input-group-addon {background-color: #EEE;margin-top: 4px;margin-bottom: 3px;padding: 3px 12px;font-size: 11px;border: 1px #DDD solid;border-right: 0;border-top-left-radius: 5px;border-bottom-left-radius: 5px;}
.input-group3 .input-group-addon {background-color: #EEE;padding: 7px 12px;font-size: 13px;border: 1px #DDD solid;border-right: 0;border-top-left-radius: 5px;border-bottom-left-radius: 5px;}
.input-group2 > select, .input-group3 > select, .input-group2 > input[type="text"], .input-group3 > input[type="text"] {border-top-left-radius: 0 !important;border-bottom-left-radius: 0 !important;}
.close-button {float: right;}
form .form-control, .input-group {font-size: 14px;margin-bottom: 8px;}
.card-body > form button {font-size: 14px !important;}
.disabled, .banned {color: currentColor;cursor: not-allowed !important; opacity: 0.5;text-decoration: none !important;}
.errorbox {border-color: #cd5656;background-color: #e7dcda;}
.bootstrap-select button.dropdown-toggle, button.dropdown-toggle:focus, button.dropdown-toggle:active, button.dropdown-toggle::selection {
    color: #495057 !important;
    border: 1px solid #ced4da !important;
    font-size: 14px;
    outline: none !important;
    background-color: #FFF !important;
    height: 39px;
}
.remember-me-box {padding: 5px 13px 6px !important;}
.bootstrap-select.text-2 button.dropdown-toggle {font-size: 13px !important;}
.bootstrap-select.border-success button.dropdown-toggle {border: 1px #28a745 solid !important;}
.dropdown.m-0.bootstrap-select button.dropdown-toggle,
.dropdown.m-0 button.dropdown-toggle:focus,
.dropdown.m-0 button.dropdown-toggle:active,
.dropdown.m-0 button.dropdown-toggle::selection {margin-bottom: 0;}
.max-200 {max-width: 275px !important;}
.max-500 {max-width: 500px !important;}
.max-650 {max-width: 640px !important;}
.bootstrap-select .dropdown-menu li.active small {color: inherit !important;}

/* Colours */
.white_colour, .white_text {color: #FFFFFF !important;}
.grey_colour, .grey_text2 {color: #CCCCCC !important;}
.colour-red, .red_text, .red_colour, .errornote {color: #cd5656 !important;}
.colour-orange, .orange_text, .orange_colour {color: #f78832 !important;}
.colour-gold, .gold_colour {color: gold !important;}
.colour-green, .green_text, .green_colour {color: #619629 !important;}
.colour-green-dark {color: #619629 !important;}
.colour-green-light {color: #8cbf4c !important;}
.colour-mint {color: #98e3c2 !important;}
.colour-indigo { color: #4b5ea3 !important;}
.colour-navy {color: #4371a2 !important;}
.colour-steel { color: #577b92 !important;}
.colour-teal { color: #3b8c88 !important;}
.colour-cyan { color: #48c0c8 !important; }
.colour-sky { color: #76b6e3 !important;}
.colour-blue, .blue_text, .blue_colour {color: #4e8fab !important;}
.colour-violet { color: #7a4fa3 !important;}
.colour-purple {color: #9367c6 !important;}
.colour-magenta { color: #c93f91 !important;}
.colour-pink {color: #af5294 !important;}
.colour-lilac { color: #c9a0dc !important;}
.colour-grey, .colour-charcoal, .charcoal_colour {color: #666666 !important;}
.colour-light-grey {color: #999999 !important;}
.colour-black {color: #000 !important;}

/* Background Colours */
.bg-red {background-color: #cd5656 !important;}
.bg-orange {background-color: #f78832 !important;}
.bg-gold {background-color: gold !important;}
.bg-green-dark { background-color: #4a7720 !important;}
.bg-green {background-color: #619629 !important;}
.bg-green-light { background-color: #8cbf4c !important;}
.bg-mint { background-color: #98e3c2 !important;}
.bg-indigo { background-color: #4b5ea3 !important;}
.bg-navy {background-color: #4371a2 !important;}
.bg-steel { background-color: #577b92 !important;}
.bg-teal { background-color: #3b8c88 !important;}
.bg-cyan { background-color: #48c0c8 !important; }
.bg-sky { background-color: #76b6e3 !important;}
.bg-blue {background-color: #4e8fab !important;}
.bg-violet { background-color: #7a4fa3 !important;}
.bg-purple {background-color: #9367c6 !important;}
.bg-magenta { background-color: #c93f91 !important;}
.bg-pink {background-color: #af5294 !important;}
.bg-lilac { background-color: #c9a0dc !important;}
.bg-charcoal {background-color: #666666 !important;}
.bg-charcoal-light {background-color: #999;}
.bg-grey {background-color: #f6f6f6 !important;}
.bg-lighter-grey {background-color: #fafafa !important;}
.bg-black {background-color: #000 !important;}
.bg-slate { background-color: #445566 !important;}
.bg-dark {background-color: #343a40 !important;}

/* Data Tables & Financial System Overrides */
.form-inline {display: inline;}
.dataTables_wrapper div.dataTables_info {font-size: 0.8rem;}
.dataTables_length select {border: 1px #ccc solid;}
.dataTables_wrapper .dataTables_filter input {width: auto !important;}
.dataTables_wrapper .dataTables_filter label {width: auto !important;}
.small_left_margin {margin-left: 5px;}
.small_right_margin {margin-left: 5px;}
a.pull-right > i.fad, a.pull-left > i.fad, div.pull-right > a > i.fad {font-size: 15px;}
.fa-2x {font-size: 2em !important;}
.help_icon {cursor: help !important;}
.btn-info, .btn-danger, .btn-success, .btn-warning, .btn-dark, .btn-primary, .btn-secondary, .btn-tertiary {color: #fff !important;}
.form-inline label {display: inline;}
.form-inline .bootstrap-select, .form-inline .bootstrap-select.form-control:not([class*=col-]) {width: 100%;}
.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {width: 100%; z-index: 2000;}
.strikeIt {text-decoration: line-through;}
.icheck_label {cursor: pointer !important;padding-left: 3px !important;}
.amount_column {width: 120px !important;text-align: right !important}
.amount_column2 {width: 80px !important;text-align: center !important}
.small_input_box {font-size: 12px !important;padding-left: 5px !important;padding-right: 5px !important;text-align: right;}
.small_input_box2 {font-size: 12px !important;text-align: center !important;padding-left: 2px !important;padding-right: 2px !important;}
th {vertical-align: top !important;}

/* Text size classes */
.smaller {font-size: 14px;}
.td-small {font-size: 13px;}
.nav-link i {width: 25px;}
.strike, .strike-through {text-decoration: line-through;color: #ccc;}
.text-underlined {text-decoration: underline !important;}
.text-not-underlined {text-decoration: none !important;}
.primary_colour, .primary_link, .text-primary, .text-primary:hover, a.text-primary:hover, a.text-primary:focus {color: #dd4244 !important;}
.primary_link:hover {text-decoration: underline !important;}
fieldset {border: 1px solid #ddd; margin: 0; padding: 10px 15px; background: #fff; border-radius: 3px;}
legend {font-size: 15px !important; margin: 0 0 10px 0; border: 1px solid #ddd; padding: 5px 15px; display: block; width: auto; background: #fafafa; border-radius: 3px;}
.form-control[readonly] {background: #fff; border: 1px #efefef solid; opacity: .75;}
.margin-auto {margin: auto; width: 50%;}
.no-radius-left {border-top-left-radius: 0; border-bottom-left-radius: 0;}
.no-radius-right {border-top-right-radius: 0; border-bottom-right-radius: 0;}
.no-radius-bottom {border-bottom-left-radius: 0; border-bottom-right-radius: 0;}
.no-radius-top {border-top-left-radius: 0; border-top-right-radius: 0;}
.no-border-left {border-left: none !important;}
.no-border-right {border-right: none !important;}
.no-border-top {border-top: none !important;}
.no-border-bottom {border-bottom: none !important;}
.btn:focus, .btn.focus {outline: none !important; box-shadow: none !important;}
.form-control:disabled, .form-control[readonly] {background-color: inherit;opacity: 0.5;}
.bootstrap-select.disabled > .dropdown-toggle,
.bootstrap-select > .dropdown-toggle:disabled {opacity: 1 !important; color: #aaa !important;}
/* Sidebar flyout must sit above bootstrap-select (z-index 2000) when hovered in collapsed state */
html.sidebar-left-collapsed .sidebar-left:hover {z-index: 2100;}
.control-label {font-size: 12px; opacity: 0.7; margin-bottom: 0;}
.font-weight-400 {font-weight: 400 !important;}
.font-weight-500 {font-weight: 500 !important;}

/* Margins */
.margin-right {margin-right: 5px !important;}
.margin-left {margin-left: 5px !important;}
.center-img {display: block;margin-left: auto;margin-right: auto;width: 50%;}

/* Icons/Cursors */
.smaller_i {width: 13px;}
.small_i {width: 20px;}
.wide-i {width: 26px;}
.help-icon {cursor: help !important;}
.click_cursor, .click-cursor {cursor: pointer !important;}
.default_cursor, .default-cursor {cursor: default !important;}

/* Clear */
.clear5 {clear: both;height: 5px;}
.clear10 {clear: both;height: 10px;}
.clear20 {clear: both;height: 20px;}
.clear30 {clear: both;height: 30px;}

.text-shadow-lighter {text-shadow: 0 0 10px #EEE;}
.text-shadow-light {text-shadow: 0 0 10px #CCC;}
.text-shadow-med {text-shadow: 0 0 10px #999;}
.text-shadow-dark {text-shadow: 0 0 10px #666;}
.text-shadow-darker {text-shadow: 0 0 10px #333;}
.img-circle {border-radius: 100%;}
.img-rounded {border-radius: 5px;}
.dropdown-menu {font-size: inherit;}
.dropdown-item.active, .dropdown-item:active {background-color: #800d12;}
.dropdown-item:hover {color: #dd4244;}
.entry-meta {margin-bottom: 15px;}
.bs-searchbox input.form-control {height: inherit;padding: 5px 8px;}

.table-sm tbody tr td, .table-sm thead tr th, .table-sm tfoot tr th {padding-left: 10px;padding-right: 10px;}
.bg-success-light, .green_back {background-color: #d4edda !important;}
.bg-success-lighter, .green_back {background-color: #e8f6eb !important;}
.bg-warning-light {background-color: #fff3cd !important;}
.bg-warning-lighter {background-color: #fff9e3 !important;}
.bg-info-light {background-color: #d1ecf1 !important;}
.bg-info-lighter {background-color: #e6f5f8 !important;}
.bg-danger-light {background-color: #f8d7da !important;}
.bg-danger-lighter {background-color: #fbe9eb !important;}
.card > .card-body {border: none;}
.card > .card-header, .card-body > .card > .card-body {padding: 10px 20px;}
.modal-backdrop {background-color: #999;}
.bootstrap-dialog.type-primary .modal-header {background-color: #333;}
.bootstrap-dialog.big-dialog .modal-dialog {width:70% !important;}
.width-auto {width: auto;}

/* Replace normal checkboxes with font awesome ones */
input[type=checkbox], input[type=radio] {width: 16px; height: 16px; cursor: pointer; margin-right: 3px; margin-left: 3px; line-height: 16px;}

/*
input[type=checkbox] { display:none; }
input[type=checkbox] + label:before {font-family: 'FontAwesome';display: inline-block;font-size: 16px;}
input[type=checkbox] + label:before { content: "\f096"; letter-spacing: 8px; }
input[type=checkbox]:checked + label:before { content: "\f046"; letter-spacing: 8px; }
*/

/* Datatables Plugin */
table.DTFC_Cloned thead,table.DTFC_Cloned tfoot{background-color:white}
div.DTFC_Blocker{background-color:white}
div.DTFC_LeftWrapper table.dataTable,div.DTFC_RightWrapper table.dataTable{margin-bottom:0;z-index:2}
div.DTFC_LeftWrapper table.dataTable.no-footer,div.DTFC_RightWrapper table.dataTable.no-footer{border-bottom:none}

/* CK Editor */
.ck-container, .editor-container_classic-editor .editor-container__editor {width: 100%;border-radius: 10px;}
.ck-content, .ql-editor {font-family: "Open Sans", Arial, sans-serif; font-size: 14px; line-height: 1.6; word-break: break-word;}
.ck-content {min-height: 250px; padding: 0 15px !important;}

/* Datepicker */
.datepicker table tr td, .datepicker table tr th {padding: 5px;}

/*Legal Classes*/
.legal_container {padding: 20px;}
.terms_heading {padding: 5px 10px;background-color: #efefef;text-transform: uppercase;margin: 20px 0 20px 0 !important;font-size: 17px; border:1px #ddd solid;}
.legal_container p {margin: 0 0 12px 0;}
.legal_container ul {margin: 0;}
.legal_container h4 {font-size: 15px;text-transform: uppercase;margin: 10px 0 10px 0 !important;}
dl {margin: 0;}
dd {margin-left: 0;margin-bottom: 7px;}
@media (min-width: 768px) {
    .dl-horizontal dt {float: left;width: 50px;overflow: hidden;clear: left;text-align: left;text-overflow: ellipsis;white-space: nowrap;}
    dt.l_indent {margin-left: 50px;}
    dt.l_indent2 {width: 80px;margin-left: 110px;}
    .dl-horizontal dd {margin-left: 50px;text-align: left;}
    dd.l_indent {margin-left: 110px;text-align: left;}
    dd.l_indent2 {margin-left: 190px;text-align: left;}
    dt.wide {width: 100px;}
    dt.wide2 {width: 190px;}
}
/* xl */
#trustee-video {height: 400px;}
ul.nav-main li span {text-wrap: auto; line-height: 18px; margin-top: 5px;}

/* Alert overrides */
.alert-info {border: 1px #a7d2dc solid;}
.alert-warning {border: 1px #ecd27b solid;}
.alert-success {border: 1px #abd1b3 solid;}
.alert-danger {border: 1px #e2a7ae solid;}
.alert-default {border: 1px #c9c9c9 solid;}
.alert-link {border: 1px #e9e9e9 solid;}
.border-grey {border: 1px #ccc solid !important;}
.border-danger-light {border: 1px #e2a7ae solid !important;}

.bg-budget {background-color: #e8f3f5;}
.bg-budget-light {background-color: #f8feff;}
.bg-budget-slight {background-color: #effbfd;}
.bg-budget-dark {background-color: #6e8c91;border-left: 1px #6e8c91 solid !important;}
.text-budget {color: #6e8c91;}
.bg-variance {background-color: #f2efe8;}
.bg-variance-light {background-color: #fefbf4;}
.bg-variance-slight {background-color: #fdf8ed;}
.bg-variance-dark {background-color: #958e7a;border-left: 1px #958e7a solid !important;}
.text-variance {color: #958e7a;}

html.sidebar-left-big-icons .sidebar-left {
    width: 140px;
}

.btn-account-switch.border {
    border-color: #c8cfd8 !important;
    opacity: 0.75;
}

html.sidebar-left-big-icons .sidebar-left .nano .nav-main > li > a i {
    font-size: 1.5rem;
}

/* Dividers between nav items — collapsed state (light mode) */
html.sidebar-light.sidebar-left-sm.sidebar-left-collapsed .sidebar-left .nav-main > li > a {
    border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
}
html.sidebar-light.sidebar-left-sm.sidebar-left-collapsed .sidebar-left .nav-main > li:last-child > a {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
}

/* Dividers between nav items — expanded (big-icons) state (light mode) */
html.sidebar-light.sidebar-left-big-icons .sidebar-left .nano .nav-main > li > a {
    border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
}
html.sidebar-light.sidebar-left-big-icons .sidebar-left .nano .nav-main > li:last-child > a {
    border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
}

/* Right border on expanded sidebar only (light mode) */
html.sidebar-light.sidebar-left-big-icons:not(.sidebar-left-collapsed) .sidebar-left {
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
}
/* Calendar - events not matching a meeting type are shown, but toned down */
.fc .fc-event.rr-event-other {
    background-color: #eceef1;
    border-color: #eceef1;
    opacity: 0.8;
}
.fc .fc-event.rr-event-other .fc-event-main,
.fc .fc-event.rr-event-other .fc-event-title,
.fc .fc-event.rr-event-other .fc-event-time {
    color: #8a8f96;
}
/* List view draws a dot in FullCalendar's default blue when an event has no colour - keep "other" grey there too */
.fc .fc-list-event.rr-event-other .fc-list-event-dot {
    border-color: #c9ccd1;
}
.fc .fc-list-event.rr-event-other .fc-list-event-title,
.fc .fc-list-event.rr-event-other .fc-list-event-time {
    color: #8a8f96;
}

/* Calendar legend - its own full-width line in the FullCalendar header bar, under the title */
.fc .fc-header-toolbar {
    flex-wrap: wrap;
    gap: 0.5rem;
}
.rr-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
}
.fc .fc-header-toolbar .rr-calendar-legend {
    flex-basis: 100%;
    order: 99;
}
.rr-calendar-legend .rr-legend-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    cursor: default;
}
.rr-calendar-legend .rr-legend-swatch {
    display: inline-block;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 3px;
    margin-right: 0.35rem;
}
.rr-calendar-legend .rr-legend-other {
    opacity: 0.6;
    font-weight: 400;
}
.rr-calendar-legend .rr-legend-other .rr-legend-swatch {
    background-color: #eceef1;
    border: 1px solid #c9ccd1;
}
