.btn-info, .btn-primary, .btn-info:focus, .btn-primary:focus, .theme-frost .btn-primary, .theme-frost .btn-primary:focus {
    border-color: var(--primary_color);
    border-bottom-color: var(--primary_color);
    background: var(--primary_color);
    background-image: none;
    border-radius: 3px;
    box-shadow: 0px 0px 2px var(--darkest_color);
}

.leaderboard-panel {
    min-height: 300px;
}

.theme-frost .nav-tabs > li.active > a, .theme-frost .nav-tabs > li.active > a:focus, .theme-frost .nav-tabs > li.active > a:hover {
    background: var(--secondary_color);
    border-bottom: 2px solid #309dc2;
}

#loginName, #ImpersonateUN, #loginPass {
    text-align: center;
    color: var(--primary_color) !important;
}

.navbar-inner {
    padding-top: 6px;
}

h1, h2, h3, h4, h5, h6 {
    outline: none;
    color: var(--secondary_color) !important;
    font-family: var(--heading_font_family);
}

.message {
    font-family: var(--heading_font_family);
}

.btn-share {
    background: var(--button_highlight_color) !important;
    color: white !important;
    box-shadow: 0px 0px 2px var(--button_highlight_color) !important;
    border-color: var(--button_highlight_color) !important;
}

.btn-danger {
    box-shadow: 0px 0px 2px var(--danger_color) !important;
    border-color: var(--danger_color) !important;
    background: var(--danger_color) !important;
}

.btn-warning, .btn-warning:focus {
    border-color: var(--primary_color);
    border-bottom-color: var(--primary_color);
    background: var(--primary_color);background-image: none;
}

    .btn-warning:hover {
        border-color: var(--primary_medium_color);
    }

.theme-frost .btn-primary:hover {
    color: var(--lightest_color);
    font-weight: medium;
    border-color: var(--secondary_light_color);
    background: var(--secondary_color) !important;
    background-image: none !important;
    box-shadow: 0px 0px 3px dimgray;
}

.panel-title {
    color: var(--lightest_color);
}

.loading-spinner {
    width: 170px;
    height: 50px;
    display: inline-block;
    color: var(--primary_color);
    margin: 0px;
}

    .loading-spinner img {
        height: 100%;
    }

.forgot {
    color: var(--secondary_color);
    position: relative;
    top: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#signin-form_id, #client-signin-form_id {
    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);
}

.tb-login {
    letter-spacing: 2px;
    font-family: var(--site_font_family);
}

.navbar-inner, .navbar-header, .main-navbar-collapse, .dropdown-menu, .dropdown-toggle {
    background-color: var(--secondary_color) !important;
}

.navbar-nav li a {
    color: white !important;
    cursor: pointer;
}

.dropdown-menu {
    background-color: var(--primary_light_color);
}


/* width */
::-webkit-scrollbar {
    width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--lightest_color);
    border-radius: 3px !important;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--secondary_color);
    border-radius: 3px !important;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: var(--secondary_medium_color);
    }


li.open {
    background-color: transparent !important;
}

    li.open .dropdown-toggle {
        background-color: var(--primary_medium_color) !important;
    }

.theme-frost #main-navbar .dropdown-menu {
    margin-top: 0px;
    border: none;
    box-shadow: 2px 2px 5px 0px grey;
}

.theme-frost #main-navbar .nav > li > a:hover {
    color: var(--primary_medium_color);
    background-color: var( --secondary_light_color);
}

.theme-frost #main-navbar .dropdown-menu li > a:hover {
    background: var( --primary_light_color);
    color: var(--primary_color);
}

.datepicker {
    background-color: white !important;
}

.edit-icon {
    height: 20px;
    cursor: pointer;
    margin-right: 8px;
}

.pointer {
    cursor: pointer;
}

input[type=checkbox].form-control {
    margin-top: 0;
}

/* Flex */

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.justify-content-between {
    justify-content: space-between;
}

.flex-grow-1 {
    flex-grow: 1;
}

.align-items-center {
    align-items: center;
}
/* DataTables stuff*/
.table-success thead tr, .table-success thead th {
    background: var(--secondary_color) !important;
}

.table-success thead, .table-success thead tr, .table-success thead th, .table-success .table-header {
    border-color: #d0e6be !important;
    color: var(--lightest_color);
}

.table-success select {
    color: var(--darkest_color)
}

.table-success ul a {
    color: var(--lightest_color)
}

.initial-icon {
    background-color: var(--secondary_color);
}


.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;
}

.table-success tfoot tr, .table-success tfoot th {
    background: var(--mid_light_color);
    color: dimgray;
}

.login-message {
    font-family: var(--site_font_family);
    color: var(--secondary_color);
    font-size: 16px;
    text-transform: uppercase;
}



.panel-group.panel-group-info .accordion-toggle {
    background: var(--secondary_color);
    color: var(--lightest_color);
    font-size: 14pt;
    font-family: Lato;
    font-weight: 200;
}


.listname {
    color: var(--secondary_color);
    font-family: var(--site_font_family);
    font-size: 17px;
}

.table-header-green {
    background-color: var(--primary_color) !important;
    color:var(--lightest_color);
}

.max-width-200 {
    max-width: 200px;
}

.max-width-date {
    max-width: 125px;
}

.panel-body {
    background: white;
    border: 1px solid var(#0082c9);
    padding: 10px;
    padding-left: 20px;
}

.panel {
    border: 1px solid var(#0082c9);
    width: 97%;
}

.info-panel .row {
    margin-bottom: 4px;
    margin-left: 3px;
    margin-right: 3px;
    border-bottom: 1px solid gainsboro;
}

#dashboard-calendar {
    box-shadow: 3px 3px 6px 0px grey;
    border: 1px solid gainsboro;
    padding: 38px;
}

.copy-btn:hover {
    color: black;
}




/* PROFILE IMAGE ========================= */
.flex-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: baseline;
    margin-left: -11px;
    margin-right: -11px;
}
.flex-row:not(:last-child) {
    margin-bottom: 15px;
}
.flex-row.align-center {
    align-items: center;
}
.flex-row > * {
    flex: 1 0 0%;
    margin-left: 11px;
    margin-right: 11px;
}

.agent-info-wrapper {
    padding: 15px 0px;
}
.profile-img-wrapper {
    display: flex;
    flex: 0 0 auto;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    position: relative;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid var(--primary_color);
    padding: 4px;
}
.profile-img-wrapper > img {
    width: 100%;
    height: auto;
}
.profile-img-wrapper:hover > .img-overlay-actions {
    display: flex;
}
.img-overlay-actions {
    position: absolute;
    display: none;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    background-color: rgba(250, 250, 250, 0.5);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.img-overlay-actions .actions {
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
}
.img-overlay-actions.no-image .actions label {
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
}
.img-overlay-actions .actions > *:not(:first-child) {
    margin-top: 10px;
}
.img-overlay-actions .fa {
    font-size: 30px;
    color: #ffffff;
    text-shadow: 1px 1px 5px #000000;
    cursor: pointer;
    margin: 10px;
}
.img-overlay-actions label > .fa,
.img-overlay-actions .btn > .fa {
    font-size: 14px;
    color: inherit;
    text-shadow: none;
    margin: 0px 5px 0px 0px;
}

.img-overlay-actions .actions .btn {
    min-width: 85px;
}
.img-overlay-actions .actions .btn,
.img-overlay-actions .actions .btn:hover,
.img-overlay-actions .actions .btn:focus,
.img-overlay-actions .actions .btn:active {
    color: #ffffff !important;
    border-color: #67696d !important;
    border-bottom-color: #67696d !important;
    background: #67696d !important;
    background-image: none !important;
    background-repeat: unset !important;
}
.img-overlay-actions .actions .btn:hover {
    color: #ffffff !important;
    background: #56585b !important;
    background-color: #56585b !important;
    border-color: #56585b !important;
}
.img-overlay-actions .actions .btn.btn-success,
.img-overlay-actions .actions .btn.btn-success:hover,
.img-overlay-actions .actions .btn.btn-success:focus,
.img-overlay-actions .actions .btn.btn-success:active {
    color: #ffffff !important;
    border-color: var(--success_color) !important;
    border-bottom-color: var(--success_color) !important;
    background: var(--success_color) !important;
    background-image: none !important;
    background-repeat: unset !important;
}
.img-overlay-actions .actions .btn.btn-success:hover {
    color: #ffffff !important;
    background: var(--success_color_active) !important;
    background-color: var(--success_color_active) !important;
    border-color: var(--success_color_active) !important;
}
.img-overlay-actions .actions .btn.btn-danger,
.img-overlay-actions .actions .btn.btn-danger:hover,
.img-overlay-actions .actions .btn.btn-danger:focus,
.img-overlay-actions .actions .btn.btn-danger:active {
    color: #ffffff !important;
    border-color: var(--danger_color) !important;
    border-bottom-color: var(--danger_color) !important;
    background: var(--danger_color) !important;
    background-image: none !important;
    background-repeat: unset !important;
}
.img-overlay-actions .actions .btn.btn-danger:hover {
    color: #ffffff !important;
    background: var(--danger_color_active) !important;
    background-color: var(--danger_color_active) !important;
    border-color: var(--danger_color_active) !important;
}
.img-overlay-actions label {
    margin: 0px;
}

/* ======================================= */

/* TOGGLE SWITCH ========================= */
.toggleSwitch {
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    width: auto;
    height: 20px;
    line-height: 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.toggleSwitch input[type="checkbox"] {
    display: none;
}
.toggleSwitch > .toggleSwitch-wrapper,
.toggleSwitch > .toggleSwitch-wrapper > .switch-text {
    height: inherit;
    line-height: inherit;
}
.toggleSwitch > .toggleSwitch-wrapper {
    position: relative;
    display: block;
    width: 75px;
    overflow: hidden;
    cursor: pointer;
    border: none;
    border-radius: 20px;
    box-shadow: 0px 0px 0px 1px #57198C;
    margin-left: 10px;
}
.toggleSwitch > .toggleSwitch-wrapper > .switch-text {
    display: block;
    width: 200%;
    margin-left: -100%;
    -webkit-transition: margin-left 0.3s ease-in;
    -moz-transition: margin-left 0.3s ease-in;
    -o-transition: margin-left 0.3s ease-in;
    transition: margin-left 0.3s ease-in;
}
.toggleSwitch > .toggleSwitch-wrapper > .switch-text::before,
.toggleSwitch > .toggleSwitch-wrapper > .switch-text::after {
    display: block;
    float: left;
    width: 50%;
    height: 100%;
    line-height: inherit;
    padding: 0px 10px;
    font-size: inherit;
    color: var(--secondary_color);
    box-sizing: border-box;
    font-weight: 700;
}
.toggleSwitch > .toggleSwitch-wrapper > .switch-text::before {
    content: "Show";
    background-color: #ffffff;
}
.toggleSwitch > .toggleSwitch-wrapper > .switch-text::after {
    content: "Hide";
    background-color: var(--mid_light_color);
    text-align: right;
}

.toggleSwitch > .toggleSwitch-wrapper > .switch-text.on-off::before {
    content: "On"
}

.toggleSwitch > .toggleSwitch-wrapper > .switch-text.on-off::after {
    content: "Off"
}

.toggleSwitch > .toggleSwitch-wrapper > .switch-text.yes-no::before {
    content: "Yes"
}

.toggleSwitch > .toggleSwitch-wrapper > .switch-text.yes-no::after {
    content: "No"
}
.toggleSwitch > .toggleSwitch-wrapper > .switch-toggler {
    display: block;
    width: 14px;
    height: 14px;
    margin: 3px;
    background: var(--secondary_color);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    border: none;
    border-radius: 20px;
    -webkit-transition: left 0.3s ease-in;
    -moz-transition: left 0.3s ease-in;
    -o-transition: left 0.3s ease-in;
    transition: left 0.3s ease-in;
}
.toggleSwitch > .toggleSwitch-wrapper.checked > .switch-text {
    margin-left: 0px;
}
.toggleSwitch > .toggleSwitch-wrapper.checked > .switch-toggler {
    left: calc(100% - 20px);
}
.panel-body > .form-group:last-of-type {
    margin-bottom: 0px;
}
@media(min-width:768px) {
    .toggleSwitch {
        -webkit-justify-content: space-between;
        justify-content: space-between;
        width: 100%;
    }
    .toggleSwitch > * {
        flex: 0 0 auto;
    }
    .toggleSwitch > .toggleSwitch-title {
        flex: 1 0 0%;
        max-width: 250px;
    }
    .toggleSwitch > .toggleSwitch-title-lg {
        flex: 1 0 0%;
    }
}
/* ======================================= */

/* PROFILE IMAGE UPLOAD ================== */
.profile-upload-widget ul.checklist {
    list-style-type: none;
    padding-inline-start: 25px;
    padding-left: 25px;
}
.profile-upload-widget ul.checklist li.check-item::before {
    font-family: "fontAwesome";
    content: "\f10c";
    font-weight: bold;
}
.profile-upload-widget ul.checklist li.check-item.check-fail { color: red; }
.profile-upload-widget ul.checklist li.check-item.check-fail::before { content: "\f057" !important; }
.profile-upload-widget ul.checklist li.check-item.check-success { color: green; }
.profile-upload-widget ul.checklist li.check-item.check-success::before { content: "\f058" !important; }

.profile-upload-widget .notice {
    padding: 15px;
    border: 1px solid #e5e5e5;
    background-color: #f8f8f8;
}
.profile-upload-widget .notice:not(:last-child) { margin-bottom: 10px; }
.profile-upload-widget .notice > :first-child { margin-top: 0px; }
.profile-upload-widget .notice > :last-child { margin-bottom: 0px; }
.profile-upload-widget .notice.notice-fail { background-color: #f7e1e1; }
.profile-upload-widget .notice.notice-success { background-color: #e1f7e7; }
.profile-upload-widget .file-upload {
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 4rem 2rem;
    border: 1px dashed gray;
}
/* ======================================= */

.margin-xxs-r {
    margin-right: 5px !important;
}


.table-dark {
    background-color: var(--primary_color);
    color: var(--lightest_color);
    text-align: center;
}

.panel-erc .panel-heading {
    background: var(--primary_color);
    border-color: var(--primary_color);
    color: #fff;
}

.panel-phm .panel-heading {
    background: var(--secondary_color);
    border-color: var(--secondary_color);
    /*background: #B0B1B4;
    border-color: #B0B1B4;*/
    color: #fff;
}

.panel-vb .panel-heading {
    background: var(--secondary_color);
    border-color: var(--secondary_color);
    /*background: #CDDA2D;
    border-color: #CDDA2D;*/
    color: #fff;
}

.panel-cl .panel-heading {
    background: var(--secondary_color);
    border-color: var(--secondary_color);
    /*background: #604B78;
    border-color: #604B78;*/
    color: #fff;
}

.panel-ts .panel-heading {
    background: var(--secondary_color);
    border-color: var(--secondary_color);
    /*background: #FFB547;
    border-color: #FFB547;*/
    color: #fff;
}

.panel-ls .panel-heading {
    background: var(--secondary_color);
    border-color: var(--secondary_color);
    /*background: #4C71B7;
    border-color: #4C71B7;*/
    color: #fff;
}

.panel-r .panel-heading {
    background: var(--secondary_color);
    border-color: var(--secondary_color);
    /*background: #40C6F3;
    border-color: #40C6F3;*/
    color: #fff;
}

.panel-eb .panel-heading {
    background: var(--secondary_color);
    border-color: var(--secondary_color);
    /*background: #2B8DBF;
    border-color: #2B8DBF;*/
    color: #fff;
}

.panel-pf .panel-heading {
    background: var(--secondary_color);
    border-color: var(--secondary_color);
    /*background: #050708;
    border-color: #050708;*/
    color: #fff;
}

.panel-eds .panel-heading {
    background: var(--secondary_color);
    border-color: var(--secondary_color);
    /*background: #E7202A;
    border-color: #E7202A;*/
    color: #fff;
}

.widget-profile-header span {
    font-weight:bold !important;
}

.m-0 {
    margin: 0 !important;
}

.m-1 {
    margin: .25rem !important;
}

.m-2 {
    margin: .5rem !important;
}

.m-3 {
    margin: 1rem !important;
}

.m-4 {
    margin: 1.5rem !important;
}

.m-5 {
    margin: 3rem !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mr-0 {
    margin-right: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.ml-0 {
    margin-left: 0 !important;
}

.mx-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.mt-1 {
    margin-top: .25rem !important;
}

.mr-1 {
    margin-right: .25rem !important;
}

.mb-1 {
    margin-bottom: .25rem !important;
}

.ml-1 {
    margin-left: .25rem !important;
}

.mx-1 {
    margin-left: .25rem !important;
    margin-right: .25rem !important;
}

.my-1 {
    margin-top: .25rem !important;
    margin-bottom: .25rem !important;
}

.mt-2 {
    margin-top: .5rem !important;
}

.mr-2 {
    margin-right: .5rem !important;
}

.mb-2 {
    margin-bottom: .5rem !important;
}

.ml-2 {
    margin-left: .5rem !important;
}

.mx-2 {
    margin-right: .5rem !important;
    margin-left: .5rem !important;
}

.my-2 {
    margin-top: .5rem !important;
    margin-bottom: .5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mr-3 {
    margin-right: 1rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.ml-3 {
    margin-left: 1rem !important;
}

.mx-3 {
    margin-right: 1rem !important;
    margin-left: 1rem !important;
}

.my-3 {
    margin-bottom: 1rem !important;
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.25rem !important;
}

.mr-4 {
    margin-right: 1.25rem !important;
}

.mb-4 {
    margin-bottom: 1.25rem !important;
}

.ml-4 {
    margin-left: 1.25rem !important;
}

.mx-4 {
    margin-right: 1.25rem !important;
    margin-left: 1.25rem !important;
}

.my-4 {
    margin-bottom: 1.25rem !important;
    margin-top: 1.25rem !important;
}

.text-small {
    font-size: 1rem;
}

.text-black-60 {
    color: rgba(20,18,22,.6);
}

.cursor-pointer {
    cursor: pointer !important;
}

.nowrap {
    white-space: nowrap !important;
}
.overflow-hidden {
    overflow: hidden !important;
}


td .action-group.inline {
    display: -webkit-inline-box;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-left: -10px;
}
td .action-group.inline * {
    margin-left: 10px;
}


.table-container {
    overflow-x: auto;
    margin-bottom: 18px;
}
.table-container > table {
    margin-bottom: 0px;
}

.nav-tabs > li.form-horizontal:not(:first-child) {
    margin-left: 11px;
}
.nav-tabs > li.form-horizontal:not(:last-child) {
    margin-right: 11px;
}
.nav-tabs .tabs {
    margin-top: 10px;
}

@media(min-width: 992px) {
    .col-md-auto {
        width: auto;
    }
    .nav-tabs > li.form-horizontal .col-md-auto > .form-control {
        width: auto;
        min-width: 200px;
    }
}
@media(min-width: 1200px) {
    .col-lg-auto {
        width: auto;
    }
    .nav-tabs > li.form-horizontal .col-lg-auto > .form-control {
        min-width: 250px;
    }
}

.dataTables_wrapper,
.table-wrapper {
    width: 100%;
    overflow-x: auto;
}
.dataTables_wrapper > table,
.dataTables_wrapper > .dataTable,
.table-wrapper > table,
.table-wrapper > .dataTable {
    width: calc(100% - 2px) !important;
}

.table-wrapper:not(:last-child) {
    margin-bottom: 20px;
}

