﻿:root {
    --agent-left-sidebar-width: 96px;
    --agent-middle-sidebar-width: 290px;
    --agent-power-sidebar-width: 270px;
    --admin-left-sidebar-width: 250px;
}

body {
    margin: 0;
    background: var(--zircon);
    color: var(--black-2);
    font-family: var(--font-family-lexend);
    font-size: var(--font-size-m);
    font-style: normal;
    font-weight: 400;
}



#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#page-content-wrapper {
    width: 100%;
    /*position: absolute;*/
    overflow-y: auto;
    height: 100vh;
}

#wrapper.client-ui #page-content-wrapper {
    overflow-y: inherit;
    height: auto;
}

/*
    Begin Admin Sidebar styles
*/
#admin-left-sidebar {
    width: var(--admin-left-sidebar-width);
    height: 100%;
    overflow-y: auto;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#admin-left-sidebar ul p {
    padding: 10px;
}

#admin-left-sidebar ul li.nav-title {
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
}

#admin-left-sidebar #admin-nav li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    color: inherit;
}

#admin-left-sidebar #admin-nav li a:hover {
    color: #7386D5;
    background: #fff;
    text-decoration: none;
}

/* 
   This is to get the sub-list on views to look the same
   as the rest of the admin nav on hover
*/
#admin-left-sidebar #admin-nav li ul li a:hover {
    color: #7386D5;
    background: #fff;
    text-decoration: none;
}

#admin-left-sidebar #admin-nav li a.active {
    border-left: 5px solid #227eab;
}

#admin-left-sidebar #admin-nav li.active > a,
#admin-left-sidebar #admin-nav li a[aria-expanded="true"] {
}

a[data-toggle="collapse"] {
    position: relative;
}

#admin-left-sidebar #admin-nav li .dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

#admin-left-sidebar #admin-nav ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
}

#admin-left-sidebar #admin-nav li a.sublink {
    padding-left: 60px !important;
}

#admin-left-sidebar #admin-nav .line {
    width: 100%;
    height: 1px;
    border-bottom: 1px solid #ddd;
}

#admin-left-sidebar .nav-link .nav-icon {
    display: inline-block;
    width: 1.09375rem;
    margin: 0 0.5rem 0 0;
    text-align: center;
}

#admin-left-sidebar #admin-nav .disabledItem {
    cursor: not-allowed;
}

#admin-left-sidebar #admin-nav .disabledItem a {
    pointer-events: none;
}
/*
    End Admin Sidebar styles
*/


/*
    Begin Admin/Agent Header styles
*/
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.agent-header {
    align-items: center;
    gap: 54px;
    height: 75px;
    display: flex;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 53px;
}

.header-item-list {
    align-items: flex-end;
    border: 1px none;
    display: flex;
    gap: 61px;
    width: 212px;
}

.logo-img {
    height: 75px;
    width: 10px;
}

.brand-text {
    align-items: flex-start;
    border: 1px none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    height: 78px;
    margin-bottom: -3px;
    padding: 11px 0;
    width: 154px;
}


.team-tracks-text {
    height: 32px;
    letter-spacing: 0.25px;
    line-height: 32px;
    white-space: nowrap;
}

.management-platform-text {
    height: 20px;
    letter-spacing: 0.25px;
    line-height: 20px;
    white-space: nowrap;
}

.agent-header .search {
    flex-grow: 1;
    padding-left:28px;
}

#global-search input {
    border-radius: 0.25rem 0 0 0.25rem;
    font-size: 1.0rem;
}

#global-search button {
    border-radius: 0 0.25rem 0.25rem 0;
    font-size: 0.8rem;
}

.header-content {
    align-items: center;
    border: 1px none;
    display: flex;
    height: 64px;
    margin-top: 1.0px;
    width: 100%;
}

.header-content-btn {
    align-items: center;
    border: 1px none;
    border-radius: 40px;
    display: flex;
    height: 48px;
    min-width: 48px;
    padding: 0 12px;
    cursor: pointer;
}
/*
    End Admin/Agent Header styles
*/


/*
    Begin Page Body styles
*/
.page-body {
    position: absolute;
    top: 91px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
}
.client-page {
    top:49px!important;
}

.agent-left-sidebar {
    align-items: flex-start;
    border: 1px none;
    display: flex;
    width: var(--agent-left-sidebar-width);
    margin: 8px 8px;
}

.small-sidebar{
    width:35px;
    margin: 0px 0px;
}
.small-sidebar-list {
    padding-top:20px;
}

.left-sidebar-list {
    align-items: center;
    border: 1px none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 552px;
    width: 96px;
}

.left-sidebar-list-item {
    align-items: center;
    border: 1px none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top:4px;
    padding-bottom:26px;
    width: 96px;
    color: var(--mirage);
    font-size: var(--font-size-l);
    font-style: normal;
    font-weight: 500;
    text-decoration: none;
}

.left-sidebar-list-item-a {
    color: var(--lochmara);
}

.left-sidebar-list-item:hover {
    color: var(--lochmara);
}

.agent-middle-sidebar {
    overflow: auto;
    background-color: var(--white);
    border: 1px none;
    border-radius: 8px;
    box-shadow: -2px -2px 9px 3px #007eb81a;
    width: var(--agent-middle-sidebar-width);
    height:100% !important;
}

.middle-sidebar-header {
    color: var(--mirage);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
}

.middle-sidebar-item {
    color: var(--mirage);
    font-size: var(--font-size-l);
    font-style: normal;
    font-weight: 500;
}

.middle-sidebar-item {
    display: flex;
}

.middle-sidebar-item .link {
    text-decoration: none;
    color: rgb(5, 81, 141);
    flex: 1;
    padding-left: 1rem;
    padding-top: 2px;
    padding-bottom: 2px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}


.middle-sidebar-item span {
   
}

.middle-sidebar-item .favourite-item-sortable {
    color: rgb(5, 81, 141);
    flex: 1;
    padding-left: 1rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    cursor: move;
}

.middle-sidebar-item .favourite-item-sortable .nav-icon {
    display: inline-block;
    width: 1.09375rem;
    margin: 0 0.5rem 0 0;
    text-align: center;
}

.middle-sidebar-item .favourite-item-sortable:hover {
    background-color: rgba(31, 115, 183, 0.08);
}

.middle-sidebar-item .link:hover {
    background-color: rgba(31, 115, 183, 0.08);
}

.middle-sidebar-item .link .nav-icon {
    display: inline-block;
    width: 1.09375rem;
    margin: 0 0.5rem 0 0;
    text-align: center;
}

.middle-sidebar-track {
    color: var(--mirage);
    font-size: var(--font-size-l);
    font-style: normal;
    font-weight: 500;
}

.middle-sidebar-track.sortable {
    cursor: move;
}

.middle-sidebar-container {
    padding: 12px;
}

.track-container {
    padding-bottom: 0.5rem;
}

.agent-power-sidebar {
    overflow: auto;
    background-color: var(--white);
    border: 1px none;
    border-radius: 8px;
    width: var(--agent-power-sidebar-width);
    margin-right: 12px;
    padding: 12px;
}

.agent-power-sidebar .message {
    position: relative;
    color: aliceblue;
    background-color: #005275;
}

.agent-power-sidebar .message-delete {
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 5px;
    border-radius: 25px;
    text-align: center;
    cursor: pointer;
}

.agent-power-sidebar a {
    display: inline-block;
    width: 100%;
    height: 100%;
}


.main-content-container {
    background-color: var(--white);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-right: 12px;
    margin-left: 12px;
    overflow: hidden;
    box-shadow: -2px -2px 9px 3px #007eb81a;
}

#inside-view {
    height: 100%;
    overflow: auto;
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.content {
    flex: 1;
    display: flex;
    overflow: auto;
}

.box {
    display: flex;
    min-height: min-content; /* needs vendor prefixes */
    flex-grow: 1;
    /*
        Need to have overflow-x set to hidden to allow tables to have horizontal scrollbars on them
    */
    overflow-x: hidden;
}

.column {
    flex-grow: 1;
    /*
        Need to have overflow-x set to hidden to allow tables to have horizontal scrollbars on them
    */
    overflow-x: hidden;
}
/*
    End Page Body styles
*/



/*
    Begin Page Print styles
*/
@page {
    /*
        Allows user to set orientation of page when printing
    */
    size: auto;
}

@media screen {
    .printable, .printable * {
        display: none;
    }
}

@media print {
    .non-printable, .non-printable * {
        display: none;
    }

    *,
    *::before,
    *::after {
        text-shadow: none !important;
        box-shadow: none !important;
    }

    a:not(.btn) {
        text-decoration: underline;
    }

    abbr[title]::after {
        content: " (" attr(title) ")";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #8f9ba6;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    body {
        min-width: 992px !important;
    }

    .container {
        min-width: 992px !important;
    }

    .navbar {
        display: none;
    }

    .table {
        border-collapse: collapse !important;
    }

    .table td,
    .table th {
        background-color: #fff !important;
    }

    .table-bordered th,
    .table-bordered td {
        border: 1px solid #c8ced3 !important;
    }


    /*This is required so that reports can span multiple pages when printing*/

    .agent-header, .agent-left-sidebar, .agent-middle-sidebar, .agent-power-sidebar {
        display: none !important;
    }

    .page-body {
        position: static !important;
        overflow-y: visible;
    }
}
/*
    End Page Print styles
*/

.vis-modal {
    padding: 20px;
}

/* Keep the field-group mapping modal above another admin modal (for example, Visualization). */
.field-group-copy-mappings-modal {
    z-index: 1060;
}

.field-group-copy-mappings-backdrop {
    z-index: 1055;
}

/* Keep timer support generation visible above an admin edit modal. */
.timer-support-generation-modal {
    z-index: 1060;
}

.timer-support-generation-backdrop {
    z-index: 1055;
}

/* Select2 appends its open dropdown to the body, so keep it above nested modals. */
.select2-container--open {
    z-index: 1070;
}

/* Keep optional configuration labels from shifting their selectors vertically. */
.relationship-counter-option-label,
.add-by-group-option-label {
    display: block;
    min-height: 2.75rem;
}

.add-group-rule-failure-label {
    font-weight: 700;
}

.add-group-type-section {
    border-top: 1px solid #dee2e6;
    padding-top: .75rem;
}

.add-group-type-section__header {
    font-weight: 700;
    margin-bottom: .75rem;
}

.add-group-entry-header--clickable {
    cursor: pointer;
    transition: filter .15s ease-in-out;
}

.add-group-entry-header--clickable:hover {
    filter: brightness(.94);
}

.add-group-entry-header--clickable:focus {
    box-shadow: inset 0 0 0 2px #80bdff;
    outline: 0;
}
