td.details-control,
td.details-control-right {
    background-image: url('images/icons/details_open.png');
    background-repeat: no-repeat;
    cursor: pointer;
}

td.details-control {
    background-position: center center;
}

td.details-control-right {
    background-position: center right;
}

tr.shown td.details-control,
tr.shown td.details-control-right {
    background-image: url('images/icons/details_close.png');
}

.theme-frost .btn-primary,
.theme-frost .btn-primary:focus {
    border-color: var(--color-primary);
    border-bottom-color: var(--color-primary);
    background: var(--color-primary);
    background-image: unset;
    background-repeat: unset;
}

.theme-frost .btn-primary:hover {
    border-color: var(--primary_color);
    border-bottom-color: var(--primary_color);
    background: var(--primary_color) !important;
    background-image: unset !important;
    background-repeat: unset !important;
}

.theme-frost .btn-danger,
.theme-frost .btn-danger:focus {
    border-color: var(--danger_color);
    border-bottom-color: var(--danger_color);
    background: var(--danger_color);
    background-image: unset;
    background-repeat: unset;
}

.theme-frost .btn-danger:hover {
    border-color: var(--danger_color);
    border-bottom-color: var(--danger_color);
    background: var(--danger_color);
    background-image: unset;
    background-repeat: unset;
}



.theme-frost .nav-tabs > li.active > a,
.theme-frost .nav-tabs > li.active > a:focus {
    background: var(--color-primary);
    border-bottom: var(--color-primary);
    cursor: pointer;
}

.theme-frost .nav-tabs > li.active > a:hover {
    background: var(--color-primary-darker);
    border-bottom: var(--color-primary-darker);
}

.theme-frost #main-navbar .dropdown-menu li > a:hover {
    background: var(--color-primary);
}

.theme-frost .badge.badge-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.theme-frost .active.list-group-item.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.theme-frost .bg-primary {
    background: var(--color-primary) !important;
}

.theme-frost .text-primary {
    color: var(--color-primary);
}
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

/* Slider labels*/
.slider-label {
    display: inline-block;
    position: relative;
    top: 10px;
}

.slider-label-right {
    margin-left: 5px;
}

.slider-label-left {
    margin-right: 5px;
}

.slider-disabled {
    background-color: #cfcfcf;
    cursor: default;
}

.slider-label-disabled {
    color: #cfcfcf;
    cursor: default;
}
.ml-1 { margin-left: 1px !important;}
.ml-2 { margin-left: 2px !important;}
.ml-3 { margin-left: 3px !important;}
.ml-4 { margin-left: 4px !important;}
.ml-5 {margin-left: 5px !important;}
.ml-6 {margin-left: 6px !important;}
.ml-7 {margin-left: 7px !important;}
.ml-8 {margin-left: 8px !important;}
.ml-9 {margin-left: 9px !important;}
.ml-10 {margin-left: 10px !important;}
.ml-11 {margin-left: 11px !important;}
.ml-12 {margin-left: 12px !important;}
.ml-13 {margin-left: 13px !important;}

.mr-1 { margin-right: 1px !important;}
.mr-2 { margin-right: 2px !important;}
.mr-3 { margin-right: 3px !important;}
.mr-4 { margin-right: 4px !important;}
.mr-5 { margin-right: 5px !important;}

.mt-1 { margin-top: 1px !important;}
.mt-2 { margin-top: 2px !important;}
.mt-3 { margin-top: 3px !important;}
.mt-4 { margin-top: 4px !important;}
.mt-5 { margin-top: 5px !important;}
.mt-6 {margin-top: 6px !important;}
.mt-7 {margin-top: 7px !important;}
.mt-8 {margin-top: 8px !important;}
.mt-9 {margin-top: 9px !important;}
.mt-10 {margin-top: 10px !important;}
.mt-11 {margin-top: 11px !important;}
.mt-12 {margin-top: 12px !important;}
.mt-13 {margin-top: 13px !important;}

.mb-1 { margin-bottom: 1px !important;}
.mb-2 { margin-bottom: 2px !important;}
.mb-3 { margin-bottom: 3px !important;}
.mb-4 { margin-bottom: 4px !important;}
.mb-5 { margin-bottom: 5px !important;}

.m-1 {  margin: 1px !important;}
.m-2 {  margin: 2px !important;}
.m-3 {  margin: 3px !important;}
.m-4 {  margin: 4px !important;}
.m-5 {  margin: 5px !important;}

.tight-row .col {
    margin:0px;
    padding: 0px;
 }

.btn-trash {
    width: 22px;
    cursor: pointer;
}


.theme-frost .btn-primary, .theme-frost .btn-primary:focus {
    /*    border-color: #0F0F0F;
    border-bottom-color: #0F0F0F;
    background: #1f1f1f;*/
    background-image: none;
    border-radius: 5px;
    box-shadow: 0px 0px 2px dimgrey;
 }

.nav-tabs > li > a {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border:1px solid gainsboro;
    border-bottom:none;
    box-shadow: 1px 0px 1px -1px grey;
}

.thin-left-border {
    border-left: 1px solid gainsboro;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway';
    font-weight: bold;
}

.page-header {
    padding: 3px;
    background: var(--primary_color);
    color: white;
    padding-left: 18px;
    padding-top: 15px;
}


/* width */
::-webkit-scrollbar {
    width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px !important;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #0082c9;
    border-radius: 3px !important;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #0082FF;
}




.checkbox input[type="checkbox"] {
    display: none;
}

.checkbox input[type="checkbox"] + .box:before,
.checkbox input[type="checkbox"] + .box:after {
    transition: all .3s;
}

.checkbox input[type="checkbox"] + .box:after {
    position: absolute;
    left: 4px;
    top: 3px;
    margin-top: -5px;
    margin-left: -4px;
    display: inline-block;
    content: ' ';
    width: 20px;
    height: 20px;
    border: 2px solid #999;
    border-radius: 2px;
    background-color: #fff;
    z-index: 1000;
}

.checkbox input[type="checkbox"]:checked + .box:after {
    background-color: #2196F3;
    border-color: #2196F3;
}

.checkbox input[type="checkbox"]:checked + .box:before {
    transform: rotate(45deg);
    position: absolute;
    left: 28.5%;
    top: 13px;
    width: 6px;
    height: 13px;
    border-width: 2px;
    border-style: solid;
    border-top: 0;
    border-left: 0;
    border-color: #fff;
    content: '';
    z-index: 10000;
}

.radiobutton input[type="radio"] {
    display: none;
}

.radiobutton input[type="radio"] + .box:before,
.radiobutton input[type="radio"] + .box:after {
    transition: all .3s;
}

.radiobutton input[type="radio"] + .box:after {
    position: absolute;
    right: -19px;
    top: 3px;
    margin-top: -5px;
    margin-left: -4px;
    display: inline-block;
    content: ' ';
    width: 24px;
    height: 24px;
    border: 3px solid #710f2d;
    border-radius: 50%;
    background-color: #fff;
    z-index: 1000;
}

.radiobutton input[type="radio"]:checked + .box:after {
    background-color: #ad1a48;
    border-color: #710f2d;
}

.radiobutton input[type="radio"]:checked + .box:after {
    border-color: #710f2d;
}

.width-medium {
    width:120px;
}

.w100 {
    width: 100%;
}

textarea,
input[type="text"]:not(.select2-input),
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {
    border-radius: 4px;
    border: 1px solid transparent;
    border-top: none;
    border-bottom: 1px solid #ddd;
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 70%), 0 -1px 1px #fff, 0 1px 0 #fff;
    height: 28px;
    padding: 10px;
}

    textarea:focus,
    input[type="text"]:focus,
    input[type="password"]:focus,
    input[type="datetime"]:focus,
    input[type="datetime-local"]:focus,
    input[type="date"]:focus,
    input[type="month"]:focus,
    input[type="time"]:focus,
    input[type="week"]:focus,
    input[type="number"]:focus,
    input[type="email"]:focus,
    input[type="url"]:focus,
    input[type="search"]:focus,
    input[type="tel"]:focus,
    input[type="color"]:focus,
    .uneditable-input:focus {
        border-radius: 3px !important;
        border: 1px solid transparent !important;
        border-top: none !important;
        border-bottom: 1px solid #ddd !important;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.39), 0 -1px 1px #fff, 0 1px 0 #fff !important;
        outline: 0 none !important;
    }

.radio-grid .radiobutton input[type="radio"] + .box:after {
    right: -15px !important;
}

.sources-grid .radio-grid .radiobutton input[type="radio"] + .box:after {
    right: -5px !important;
}

.radio-grid {
}

.col-md-1-5 {
    width: 10%;
}

.radio-grid .radio-dollar-sign {
}

.radio-grid .radio-percent-sign {
   
}

label {
    font-weight: 600;
    font-family: 'Raleway';
    color: #0F0F0F;
}

.input-group-addon + label {
    padding: 7px 13px;
    font-size: 12px;
    font-weight: normal;
    color: #555555;
    text-align: center;
    background-color: #FCFCFC;
    border: 1px solid #d6d6d6;
    border-radius: 2px;
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
    margin: 0px;
    min-width: 80px;
}

select {
    padding: 3px;
    font-family: 'Raleway';
    font-weight: bold;
    border-radius: 3px;
}

.row-header div {
    font-weight:bold;
    text-align:center;
    margin-bottom:6px;
 }

div.table-checkbox .box:after  {
    top: 17px !important;
    left: 27% !important;
}

.tb-money {    
    font-size:14pt;
    text-align:right;
    padding:3px;
}

.tb-money-grid {
    width: 92% !important;
}

.logo-svg-top-only {
    background-image: url(../images/brand/logo-large-new.png);
    background-position: center center;
    background-size: 100%;
    background-repeat: no-repeat;
 }

.lds-ring {
    display: inline-block;
    position: relative;
    width: 100px;
    height: 100px;
    margin-top: 4px;
    /*left: -25px;*/
}

.lds-ring-splash {
    top: 97px;
    left: -20px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 80px;
    height: 80px;
    margin: 9px;
    border: 9px solid black;
    border-radius: 50%;
    animation: lds-ring .55s linear infinite;
    border-color: var(--secondary_color) transparent var(--primary_color) transparent;
    text-align: center;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.MBanimate {
    margin-bottom: 20px;
    height: 100%;
}

.logo-loading {
    height: 111px;
    width: 500px;
    left: -250px;
    margin: auto;
    padding-top: 10px;
    max-width: 90%;
}

#dialog-data-loading {
    width: 100%;
    height: 100%;
    background-color: white;
    /* display: none; */
    position: absolute;
    margin: 0px;
    top: -3px;
    left: 0px;
    text-align: center;
    z-index: 9999;
    opacity: .9;
}

#dialog-data-loading .logo-svg-top-only {
    display: flex;
    margin: 8% auto 20px auto;
    width: var(--loading-logo-width);
    height: var(--loading-logo-height);
}

.MBanimate.message img {
    width: var(--loading-logo-width);
    height: var(--loading-logo-height);
}

#dialog-data-loading .lds-ring {
    left: 2px;
}

.spDataLoading {
    font-size:24pt;    
    text-align:center;
    color:var(--primary_color);
}

.currentCaseDesignContainer {
    margin-top: 30px;
    box-shadow: 0px 0px 4px dimgray;
    padding: 12px 60px 40px 36px;
}

.currentCaseDesignContainer .row {
    border-bottom: 1px solid #F0F0F0;
    padding:6px;
}

.currentCaseDesignContainer .col:first-child {
    font-weight: bold;
}

.panel-default > .panel-heading{
    background-color: white;
    cursor:pointer;
    border-bottom: 4px solid #132D64;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
}

.panel-default > .panel-heading:hover {
    background-color: #F0F0F0;
    cursor: pointer;
}

.student-income-checkbox input[type="checkbox"] + .box:after {
    top: 8px;
    left: 16px;
}

/* don't remove this, the check won't show up if you do*/
.student-income-checkbox input[type="checkbox"]:checked + .box:before {
    left: 19px;
    top: 5px;
}

.input-group-addon + input[type="number"],
.input-group-addon + input[type="text"] {
    text-align: right
}

.section-header {    

}

.empty-list-label {
    color: #710f2d;
    text-align: center;
    border: 2px dashed #c5738c;
    padding: 16px;
    vertical-align: middle;
    width: 100%;
}

#loginName, #ImpersonateUN, #loginPass {
    text-align: center;
    padding: 22px;
}

#signin-form_id {
    width: 435px;
    box-shadow: 1px 1px 3px 1px gainsboro;
}

#new-agent-panel {
    width: 435px;
    box-shadow: 1px 1px 3px 1px gainsboro;
}

.btn-login-page {
    box-shadow: 0px 0px 2px black;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 11pt;
    font-family: var(--site_font_family);
    background-color: var(--primary_color);
    color:white;
}

.tb-login {
    letter-spacing: 2px;
    font-family: var(--site_font_family);
}


.loading spinner,
.loader {
    border-radius: 50%;
    width: 44px;
    height: 44px;
    margin-bottom: 6px;
}

.loader {
    margin: 0px auto;
    font-size: 10px;
    position: relative;
    border-top: 8px solid var(--primary_color_opacity);
    border-right: 8px solid var(--primary_color_opacity);
    border-bottom: 8px solid var(--primary_color_opacity);
    border-left: 8px solid var(--secondary_color);
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1s infinite linear;
    animation: load8 1s infinite linear;
    opacity: 1;
    visibility: visible;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.login-message {
    font-family: var(--site_font_family);
    font-size: 16px;
    text-transform: uppercase;
    color: var(--secondary_color);
}

.money-text {
    font-weight:bold;
    text-align:right;
}

.money-text-center {
    font-weight: bold;
    text-align: center;
}

.percent-text-center {
    font-weight: bold;
    text-align: center;
}

.font-weight-bold {
    font-weight: bold;
}

.totalrow {
    font-weight:bold;
    font-size: 12pt;
}

table {
    border-collapse: unset;
}

.table > tbody > tr.totalrowtopborder > td {
    border-top: 3px solid var(--primary_color);
}

.half-width {
    width: 50%;
}

.disabled {
    background-color: crimson;
    padding: 5px 10px;
    border-radius: 6px;
    color: white;
}

.enabled {
    background-color: forestgreen;
    padding: 5px 10px;
    border-radius: 6px;
    color: white;
}

.overlap-indicator {
    font-weight: bold;
    font-size: 15pt;
    text-align:center;
    color:var(--secondary_color);
}

.overlap-indicator:first-child {
    text-align:left;
    padding-left:10px;
    font-size:10pt;    
    font-weight:normal;
}

.overlap-column-header {
    font-size: 10pt;
    font-weight: normal;
}

.paid-off {
    background-color: seagreen;
    padding:3px;
    border:1px solid lightgray;
    border-radius:6px;
    width:80%;
    margin:auto;
    color:white;
    text-align: center;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.slide-toggle-label {
    font-size: 13pt;
    position: relative;
    top: 10px;
    margin-right: 9px;
}

.casedesignstatusbar {
    color: white;
    text-align: right;
    font-family: Raleway;
}

.casedesignstatusbar .status-value {
    font-weight:bold;
    font-size:13pt;
}

.casedesignstatusbar .status-label {
    font-size: 11pt;
}

.red-icon {
    color: #710F2D;
    cursor:pointer;
}

.x-icon {
    /* border-radius: 17px; */
    height: 24px;
    width: 24px;
    padding: 7px;
    /* border: 1px solid #710F2D; */
    padding-top: 4px;
    font-weight: bold;
    font-size: 15pt;
}

.vcenter {
    display: flex;
    align-items: center;
}

.header-save-button {
    height: 44px;
    position:sticky;
    top:5px;
    border:1px solid forestgreen;
    padding: 5px;
    display:none;
}

.page-header {
    margin-bottom:0px;
}

/* NOT REMOVE EVER*/
/* fixes the left/prev year click, year thing was overlapping the left arrow*/
.datepicker-switch {
    position:static !important;
}
/*********/


.table-tight th,
.table-tight td {
    padding: 1px;
    font-size: 9px;
}

.table-tight td {
    font-size:10px
}

.table-tight .btn-trash {
    width:16px;
}

.tab-pane-white-bg {
    background-color: white !important;
    padding:10px;
    margin-top:0px;
}
#saveIndicator {
    color:forestgreen;
    font-size:14pt;
    padding:10px;
}
.tooltip-initiator {
    border-radius: 10px;
    width: 16px;
    background-color: white;
    color: dimgray;
    padding: 0px;
    border: 1px solid gray;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    height: 16px;
    font-weight: bold;
    font-size: 10px;
    box-shadow: 1px 1px 1px 1px gainsboro;
}

.tooltipcontainer {
    box-shadow: 2px 2px 4px dimgray;
    border: 1px solid gainsboro;
    border-radius: 5px;
    border-top-left-radius:0px;
    background-color: white;
    padding: 12px;
    color: #0F0F0F;
    display: block;
    position: absolute;
    z-index: 99999;
    font-size: 12px;
}

table.table-bordered thead th,
.table-striped > tbody > tr:nth-child(odd) > th,
.panel > .table-bordered > tbody > tr:last-child > th,
.table th {
    border-color: var(--secondary_light_color);
    border-bottom: 3px solid var(--secondary_color);
    font-weight: bold;
    color: var(--secondary_color);
}

.theme-frost .page-header {
    background: var(--primary_color);
    border-color: #dcdfe0;
}

.login-container {
    /*background-color: #f0f0f0;*/
}

#main-wrapper {
    height:100%;
}