/*************BASE STYLES*******************/
html {
    position: relative;
    min-height: 100%;
    /*height:100%;*/
    width: 100%;
}

    html input[disabled], select:disabled {
        background-color: #eee;
    }

body {
    font-family: Roboto, Arial, sans-serif !important;
    color: #333E48;
    padding: 0px;
    width: 100%;
    height: 100%;
}

#week_nav {
    display: inline;
    width: 80px;
}

    #week_nav input {
        position: relative;
        top: 2px;
    }

#owner_list {
    width: 100%;
}

#clientBody {
    min-height: 100%;
    margin-bottom: 100px;
}

input, textarea, select, button {
    font-family: Roboto, Arial, sans-serif !important;
}

    input[type='text'] {
        font-family: Roboto, Arial, sans-serif !important;
        -webkit-appearance: none;
        -moz-appearance: none;
        text-indent: 1px;
        text-overflow: clip;
        -webkit-padding-end: 20px;
        padding-left: 2px;
        padding-right: 2px;
        color: #000000;
        /*font-size: small;*/
        -moz-border-radius: 5px;
        -khtml-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 4px;
        border-collapse: separate;
        margin: 1px 0;
        background-size: 15px;
        background-position: 99% 50%;
    }

    input[type='password'] {
        -webkit-appearance: none;
        -moz-appearance: none;
        text-indent: 1px;
        text-overflow: clip;
        -webkit-padding-end: 20px;
        padding-left: 2px;
        color: #000000;
        font-size: small;
        -moz-border-radius: 5px;
        -khtml-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 4px;
        border-collapse: separate;
        margin: 1px 0;
        background-size: 15px;
        background-position: 99% 50%;
    }

    button[disabled] {
        background: #6B8EB7 !important;
    }

label {
    font-family: Roboto, Arial, sans-serif !important;
    font-weight: 100;
    margin-bottom: 0 !important;
}

select.ComboFace::-ms-expand {
    /*/* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    /* Good browsers :) */
    opacity: 0;
    display: none; /*IE*/
}

select.ComboFace {
    font-family: Roboto, Arial, sans-serif !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: clip;
    padding-right: 20px;
    -webkit-padding-end: 20px;
    -moz-padding-end: 20px;
    padding-left: 2px;
}

table {
    font-family: Roboto, Arial, sans-serif !important;
}

td, th {
    padding: 1px;
}

tfoot, thead {
    font-size: 1em;
    word-spacing: normal;
    letter-spacing: normal;
    text-transform: none;
}

th {
    vertical-align: baseline;
    /*font-size: 1em;*/
    font-weight: normal;
    word-spacing: normal;
    letter-spacing: normal;
    text-transform: none;
}

h1 {
    font-size: 2em;
    font-weight: 700;
    font-style: normal;
    text-decoration: none;
    word-spacing: normal;
    letter-spacing: normal;
    text-transform: none;
}

h2 {
    font-size: 1.75em;
    font-weight: 700;
    font-style: normal;
    text-decoration: none;
    word-spacing: normal;
    letter-spacing: normal;
    text-transform: none;
}

h3 {
    font-size: 1.58em;
    font-weight: 500;
    font-style: normal;
    text-decoration: none;
    word-spacing: normal;
    letter-spacing: normal;
    text-transform: none;
}

h4 {
    font-size: 1.33em;
    font-weight: 500;
    text-decoration: none;
    word-spacing: normal;
    letter-spacing: normal;
    text-transform: none;
}

h5, dt {
    font-size: 1em;
    font-weight: 700;
    font-style: normal;
    text-decoration: none;
    word-spacing: normal;
    letter-spacing: normal;
    text-transform: none;
}

h6 {
    font-size: .8em;
    font-weight: 700;
    font-style: normal;
    text-decoration: none;
    word-spacing: normal;
    letter-spacing: normal;
    text-transform: none;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a.aspxHyperLink {
    color: #004e75;
}

    a.aspxHyperLink:hover {
        color: #5494ea;
        text-decoration: underline;
        cursor: pointer;
    }

ul li li {
    list-style-type: disc;
}

    ul li li li {
        list-style-type: circle;
    }

ol li {
    list-style-type: decimal;
}

ol ol li {
    list-style-type: lower-alpha;
}

ol ol ol li {
    list-style-type: lower-roman;
}

div {
    font-family: Roboto, Arial, sans-serif !important;
}

    div.control-panel {
        margin-left: 115px;
    }

        div.control-panel select {
            max-width: 180px;
            min-width: 50px;
            margin-left: 10px;
            margin-bottom: 5px;
            height: 23px;
        }

    div.medium-select select {
        max-width: 180px;
        min-width: 50px;
    }

    div.small-select select {
        width: 100px;
    }

    div.control-panel input {
        /*margin-left: 11px;*/
        width: 97px;
        position: relative;
        top: -1px;
    }

        div.control-panel input.LabelFace {
            margin-left: 10px;
            height: 23px;
        }

    div.cust-owners {
        float: left;
        background-color: #0469AD;
        clear: both;
        width: 100%;
    }

        div.cust-owners div {
            float: left;
            clear: both;
            width: 100%;
        }

        div.cust-owners select {
            min-width: 250px;
            width: 25%;
            margin-left: 5px;
        }

        div.cust-owners div > input[type=submit] {
            min-width: 56px;
        }

        div.cust-owners span.LabelFace {
            min-width: 120px;
            width: 120px;
            color: white;
        }

    div#PageHeader {
        padding-left: 15px;
        padding-top: 5px;
        padding-bottom: 15px;
        position: relative;
    }

    div#header {
        background-color: white;
        /*width: 100%;*/
        height: 100px;
    }

    div#welcome {
        background-color: #e3e0d1;
        width: 512px;
        height: 180px;
        float: right;
    }

    div#PageFilters {
        padding-left: 15px;
        padding-bottom: 5px;
        position: relative;
    }

    div#PageBody {
        padding-left: 15px;
        position: relative;
        padding-right: 15px;
    }

    div#NoData {
        width: 60%;
        margin: 5px auto;
        vertical-align: middle;
    }

    div#LoginPageHeader {
        width: 100%;
        background-color: #DBEAF9;
    }

    div#LoginPageBody {
        margin: 10px;
    }

    div#LoginPageFooter {
        width: 100%;
        text-align: left;
        font-size: .7em;
        color: black;
    }

    div#OrgTree {
        float: left;
        padding: 15px;
    }

    div#OrgTreeScroller {
        width: 250px;
        overflow: auto;
    }

    div#OrgBody {
        float: left;
        clear: right;
        padding-top: 15px;
    }

/******************** TABLE STYLES *****************************/
table.FullTable {
    width: 100%;
}

table.NoPadding {
    /* This is equivalent to cellpadding=0 cellspacing=0 and border=0 */
    padding: 0;
    border: 0;
    border-collapse: collapse;
    border-spacing: 0;
}

.TableHeader {
    color: #FFF;
    background-color: #0469AD !important;
    font-size: small;
    padding: 2px;
}

    .TableHeader span {
        color: #fff !important;
    }

    .TableHeader th {
        padding: 4px;
    }

    .TableHeader input[disabled], select:disabled {
        background-color: transparent;
    }

td.ContentAlignTop {
    vertical-align: top;
}

td.ContentAlignBottom {
    vertical-align: bottom;
}

.table-content {
    padding: 5px;
}

.table-cell-push-horz-20 {
    padding-right: 20px;
}

.table-cell-push-vert-5 {
    padding-bottom: 5px;
}

/*****************COMBO BOX STYLES ****************************/
/* REMOVE DEFAULT BUTTON FROM COMBOS*/
.ComboFace {
    color: #000000;
    font-size: small;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 4px;
    border-collapse: separate;
    margin: 1px 0;
    padding: 1px;
    background: url(../images/selectArrow.png) no-repeat right #fff;
    background-size: 15px;
    background-position: 99% 50%;
}

    .ComboFace img {
        background-image: none;
    }

    .ComboFace:disabled {
        font-size: small;
        -moz-border-radius: 5px;
        -khtml-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 4px;
        margin: 1px 0;
    }

.SpinFace {
    color: #000000;
    font-size: small;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 4px;
    border-collapse: separate;
    margin: 1px 0;
    padding: 1px;
    background: url(../images/selectArrow.png) no-repeat right #fff;
    background-size: 15px;
    background-position: 99% 50%;
}

    .SpinFace:disabled {
        font-size: small;
        -moz-border-radius: 5px;
        -khtml-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 4px;
        margin: 1px 0;
    }

.invisible {
    display: none;
}

    .invisible img {
        background-image: none;
        display: none;
    }

.dxeButton, dxeButtonEdit, .dxeButtonEditButton {
    border: none !important;
    /*border-right: 1px  solid black;*/
    /*border-left:none;
            border-top:solid 1px;*/
    background-image: none;
    background-color: white;
}

    .dxeButtonEditButton img {
        vertical-align: bottom;
    }


/*****************CHECK BOX STYLES ****************************/
input[type=checkbox] {
    margin: 4px !important;
}

.Checkbox {
    margin: 0;
    display: inline !important;
}

.CheckboxSmallerLabel label {
    font-size: x-small !important;
}


.Checkbox input[type=checkbox] {
    display: none;
}

    .Checkbox input[type=checkbox] + label:before {
        content: "";
        display: inline-block;
        width: 16px;
        height: 16px;
        vertical-align: middle;
        margin: 5px !important;
        -moz-box-shadow: inset 0px -1px 3px 1px #333E48;
        -webkit-box-shadow: inset 0px -1px 3px 1px #333E48;
        box-shadow: inset 0px -1px 3px 1px #333E48;
        border-radius: 2px;
        background-color: white;
    }

    .Checkbox input[type=checkbox]:checked + label:before {
        content: "\2713"; /* Tick */
        color: black;
        text-align: center;
        line-height: 15px;
    }

.Checkbox label {
    font-weight: normal;
    margin-bottom: 2px;
    margin-right: 8px;
    font-size: small;
}

.Checkbox[disabled] input[type=checkbox] + label:before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin: 5px !important;
    -moz-box-shadow: inset 0px -1px 3px 1px #8c8c8c;
    -webkit-box-shadow: inset 0px -1px 3px 1px #8c8c8c;
    box-shadow: inset 0px -1px 3px 1px #8c8c8c;
    border-radius: 2px;
    background-color: #e0e4de;
}

.Checkbox[disabled] input[type=checkbox]:checked + label:before {
    content: "\2713"; /* Tick */
    color: black;
    text-align: center;
    line-height: 15px;
    text-shadow: 0px 0px 3px #8c8c8c;
    background-color: #e0e4de;
}

.CheckboxSmall input[type=checkbox] {
    display: none;
}

    .CheckboxSmall input[type=checkbox] + label:before {
        content: "";
        display: inline-block;
        width: 14px;
        height: 14px;
        vertical-align: middle;
        margin: 5px !important;
        -moz-box-shadow: inset 0px -1px 3px 1px #333E48;
        -webkit-box-shadow: inset 0px -1px 3px 1px #333E48;
        box-shadow: inset 0px -1px 3px 1px #333E48;
        border-radius: 2px;
    }

    .CheckboxSmall input[type=checkbox] + label:before {
        content: "";
        display: inline-block;
        width: 14px;
        height: 14px;
        vertical-align: middle;
        margin: 5px !important;
        -moz-box-shadow: inset 0px -1px 3px 1px #8c8c8c;
        -webkit-box-shadow: inset 0px -1px 3px 1px #8c8c8c;
        box-shadow: inset 0px -1px 3px 1px #8c8c8c;
        border-radius: 2px;
        background-color: #e0e4de;
    }

    .CheckboxSmall input[type=checkbox]:checked + label:before {
        margin: 5px;
        content: "\2713"; /* Tick */
        color: black;
        text-align: center;
        line-height: 15px;
        text-shadow: 0px 0px 3px #eee;
    }

.CheckboxSmall[disabled] input[type=checkbox]:checked + label:before {
    margin: 5px;
    content: "\2713"; /* Tick */
    color: black;
    text-align: center;
    line-height: 15px;
    text-shadow: 0px 0px 3px #8c8c8c;
    background-color: #e0e4de;
}

.CheckboxSmall label {
    font-weight: normal;
    font-size: 8pt;
    margin-bottom: 4px;
    margin-right: 4px;
}


/****************RADIO STYLES*********************/
.radio-button label, input[type=radio] {
    vertical-align: middle;
    font-weight: 100;
    font-size: small;
}

.radio-button input[type=radio] {
    margin: 5px !important;
}

/*****************BUTTON STYLES ****************************/
.ButtonFace:disabled {
    background: #6B8EB7 !important;
}

.ButtonFace {
    color: #FFF;
    background: #0469AD !important;
    font-size: x-small;
    height: 23px;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: none;
    box-shadow: 2px 1px 2px #333E48;
    margin: 5px;
    font-weight: normal;
    line-height: 1;
}

.ButtonFaceGreen {
    color: #FFF;
    background: #68AE2F !important;
    font-size: x-small;
    height: 24px;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: none;
    box-shadow: 2px 1px 2px #333E48;
    margin: 4px;
    line-height: 1;
}

.ButtonFaceMed {
    color: #FFF;
    background-color: #0469AD;
    font-size: medium;
    height: 23px;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border-color: #333E48;
    border-top: none;
    border-right: none;
    border-left: none;
    box-shadow: 2px 1px 2px #333E48;
    border: none;
    line-height: 1;
}


.ButtonFaceRed {
    color: #FFF;
    background: #e03e13 !important;
    font-size: x-small;
    height: 24px;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: none;
    box-shadow: 2px 1px 2px #333E48;
    margin: 4px;
    line-height: 1;
}

#week_nav .ButtonFaceMed {
    margin-left: 11px;
}

.small-select .ButtonFace {
    margin-left: 11px !important;
    margin-top: 4px;
}

.medium-select .ButtonFace {
    margin-left: 10px !important;
}


/*****************SECTION HEADER STYLES ****************************/
.Heading {
    font-size: 16pt;
}

.SubHead {
    font-size: 13pt;
    font-weight: bold;
}

.SubHeading {
    font-size: 13pt;
}

.SubSubHeading {
    font-weight: bold;
    font-size: 11pt;
}

.Larger {
    font-size: 1em !important;
    width: 79px;
    min-width: 79px;
}

.EvenLarger {
    font-size: 2em !important;
}

/*****************LABEL STYLES ****************************/
.LabelFace {
    font-size: small;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    /*margin : 5px 0;*/
}

.LabelFaceSmall {
    font-size: xx-small;
    background-color: white;
}

.spinner {
    border: 1px solid;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
}

    .spinner img {
        margin-top: 1px !important;
        border: none;
    }


.InfoLabel {
    color: #005b9a;
    font-weight: bold;
    font-size: xx-small;
}

.CommonLabel {
    font-size: 11px;
    font-weight: normal;
}

.ErrorText {
    color: red;
    font-size: 12px;
    line-height: 20pt;
}

/*****************FONT STYLES ****************************/
.bold-text {
    font-weight: bold;
}

.SmallNormal {
    font-size: 8pt;
}

.ScreenHeading {
    font-size: 13pt;
    font-weight: bold;
    color: #004E75;
}

.ScreenSubHeading {
    font-size: x-large;
    padding-left: 20px;
    color: #e03e13;
}

.ScreenHeadingLarge {
    color: #333E48;
    font-size: xx-large;
    font-weight: bold;
}

.Normal {
    font-size: 10pt;
}

.centered {
    text-align: center;
}

.SmallText {
    font-size: x-small;
}

/*********************GRID STYLES********************/
.NoData {
    font-size: large;
}

.Grid, .Grid td {
    font-size: 8pt;
    margin-right: 0px;
    margin-top: 0px;
    border: solid 1px #333E48;
}

a.grid-link {
    color: #0469AD !important;
}

a:visited.grid-link {
    color: #0469AD !important;
}

.Grid td a {
    color: #333E48;
}

.GridHeader {
    background-color: #e0e4de;
}

.gridPager td span {
    font-size: 12px;
    color: #330099;
    font-weight: bold;
}

.gridPager td a {
    font-size: 12px;
    color: #330099;
}

/**************** MENU **********************/
.dropdown-menu {
    border-left: none !important;
    -webkit-box-shadow: -1px 6px 12px rgba(0,0,0,.175);
    box-shadow: -1px 6px 12px rgba(0,0,0,.175);
}

    .dropdown-menu li {
        list-style: none;
        border: none;
    }

        .dropdown-menu li:hover {
            border-left: 5px solid #e03e13;
            color: #e03e13;
        }

        .dropdown-menu li a {
            padding: 3px 20px !important;
            text-align: left !important;
        }

.nav-tabs {
    min-width: 0 !important;
    left: 89px !important;
    top: -1px !important;
}

    .nav-tabs > li {
        float: none !important;
    }

.border-circle {
    display: inline-block;
    border-radius: 60px;
    border-width: 2px;
    border-color: #0469AD;
    border-style: solid;
}

.col-md-1 {
    width: 96px !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
}

.container-fluid {
    margin-left: 0 !important;
    display: block;
}

.navbar-left {
    width: 94px;
}

    .navbar-left ul li a {
        color: #333E48;
        padding: 2px;
        text-align: center;
    }

i {
    background-color: #0469AD;
    color: white;
}

.navbar-left > li {
    float: none !important;
}

    .navbar-left > li:hover {
        background-color: #f2f2f2;
        border-left: 5px solid #e03e13;
    }

ul.nav-tabs li {
    padding: 6px 0;
}

ul.nav-tabs {
    background-color: #f2f2f2;
}

    ul.nav-tabs a {
        background-color: #f2f2f2;
    }

        ul.nav-tabs a:hover {
            background-color: #f2f2f2;
        }

.clear {
    clear: both;
}

.etn-header {
    background-color: #0469AD;
    border-radius: 0;
    margin-bottom: 0;
    border: hidden;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
}

.logo-left {
    float: left;
    margin-left: 5px;
    clear: none;
}

.web-head-right {
    float: right;
    padding: 0 50px;
}

.messages {
    float: left;
    padding-top: 20px;
    vertical-align: middle;
}

.logout {
    padding-top: 20px;
    min-width: 30px;
    float: right;
    margin-left: 50px;
    vertical-align: middle;
    /*display: inline;*/
}

div.logout a:hover {
    color: #fff;
    text-decoration: underline;
}

div.logout a {
    color: #fff;
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(../icons/MaterialIcons-Regular.eot); /* For IE6-8 */
    src: local('Material Icons'), local('MaterialIcons-Regular'), url(../icons/MaterialIcons-Regular.woff2) format('woff2'), url(../icons/MaterialIcons-Regular.woff) format('woff'), url(../icons/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px !important;
    background-color: #0469AD;
    margin: 5px;
    width: 30px;
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
    /* Support for IE. */
    font-feature-settings: 'liga';
}

div.footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1rem;
    text-align: center;
    clear: both;
}

div.grid-footer {
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1rem;
    text-align: center;
}

div.footer ul {
    list-style-type: none;
}

div.footer li {
    display: inline;
    padding: 10px 10px;
}

div.grid-footer ul {
    list-style-type: none;
}

div.grid-footer li {
    display: inline;
    padding: 10px 10px;
}

.report-viewer {
    clear: both;
    /*height:100%;*/
}

/****************MISC***********************/
.RoundedPopup {
    border: 2px solid;
    border-radius: 5px;
    -moz-border-radius: 5px;
}

.map {
    height: 600px;
    width: 800px;
    visibility: visible;
    text-align: center;
}

.LinkButton {
    background: none;
    border: 0;
    color: #004e75;
    padding: 0;
    height: auto;
    cursor: pointer;
}

    .LinkButton.dxbButton div.dxb {
        padding: 0;
        border: 0;
    }

.tabMenu {
    border-spacing: 6px 6px;
    border-collapse: separate;
}

.break-wrap {
    word-break: break-all;
}

.simple-border {
    border: 1px solid black;
}

.prop {
    height: 25px;
    float: right;
    width: 1px;
}

.clear {
    clear: both;
    height: 1px;
    overflow: hidden;
}

.margin-left-5 {
    margin-left: 5px;
}

.extra-wide {
    width: 293px !important;
    max-width: 293px !important;
}

.custom-notification-title {
    font-weight: bold;
    color: #0469AD;
    font-size: large;
}

/********************************PRINTING*********************************/
@media print {
    div #PageFilters {
        display: none;
    }

    div#PageHeader {
        display: none;
    }

    /* .PRINTABLE NOT USED*/
    .printable {
        display: block;
    }

    .unprintable {
        display: none;
    }
}

.dailyBudgetColumn  {
	width: 130px;
	padding-left: 10px;
}

.dailyBudgetHours {
	width: 90px;
}

.dailyBudgetMinutes {
	width: 60px;
}

.dailyBudgetValue {
	width: 90px;
	margin-left: 20px;
}
.siteBudgetSpacer {
	min-width: 60px;
}

.numericInput {
    border-width: unset;
    border-style: inset;
    border-color: rgb(118, 118, 118);
    padding: 2px 1px;
    border-width: 0.5px;
    border-radius: 0 !important;
}

/************* IFRAME / COLLAPSE MODE **************/

/* ?? Collapse toggle button (iframe-only, hidden by default) ?? */
#btn-collapse-bars {
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.18);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 5px 7px;
    margin-right: 10px;
    float: left;
    margin-top: 10px;
    transition: background 0.2s;
}

    #btn-collapse-bars:hover {
        background: rgba(255,255,255,0.32);
    }

    #btn-collapse-bars svg {
        width: 25px;
        height: 25px;
        fill: white;
        display: block;
        transition: transform 0.3s;
    }

body.iframe-mode.bars-collapsed #btn-collapse-bars svg {
    transform: rotate(90deg);
}

/* ?? Hide logo when collapsed (keep only hamburger button + message icon) ?? */
body.iframe-mode.bars-collapsed .logo-left a {
    display: none !important;
}

/* ?? Customer Owners top bar collapses ?? */
.cust-owners {
    transition: max-height 0.3s ease, opacity 0.25s ease;
    max-height: 200px;
    opacity: 1;
}

body.iframe-mode.bars-collapsed .cust-owners {
    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden;
    pointer-events: none;
}

    body.iframe-mode.bars-collapsed .cust-owners + .clear {
        display: none;
    }

/* ?? Left sidebar collapses ?? */
.container-fluid.navbar-left {
    transition: max-width 0.35s ease, min-width 0.35s ease, opacity 0.25s ease;
}

body.iframe-mode.bars-collapsed .container-fluid.navbar-left {
    max-width: 0 !important;
    min-width: 0 !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    overflow: hidden;
    pointer-events: none;
}

/* ?? Control panel + content fill width when sidebar collapses ?? */
body.iframe-mode.bars-collapsed div.control-panel {
    margin-left: 10px !important;
}

/* ?? Home icon: hidden by default, shown via body.iframe-mode ?? */
body.iframe-mode #mnuHome {
    display: block !important;
}

/* ?? Content area expands to fill when bars collapsed ?? */
#clientBody {
    transition: padding-left 0.3s ease;
}

body.iframe-mode.bars-collapsed #clientBody {
    padding-left: 10px !important;
}

/* ?? Messages area: reduce top padding in iframe mode ?? */
body.iframe-mode .messages {
    padding-top: 10px;
}

/************* MESSAGE NOTIFICATION (IFRAME ICON MODE) **************/

/* ?? Text link (non-iframe): shown by default ?? */
.msg-text-link {
    display: inline;
}

/* ?? Icon (iframe-only): hidden by default, JS reveals it ?? */
.msg-icon-block {
    display: none;
    position: relative;
}

    .msg-icon-block a.msg-icon-link {
        display: inline-block;
        text-decoration: none;
        line-height: 0;
    }

    .msg-icon-block svg.msg-icon-svg {
        width: 38px;
        height: 38px;
        display: block;
        transition: opacity 0.2s;
    }

    .msg-icon-block a.msg-icon-link:hover svg.msg-icon-svg {
        opacity: 0.75;
    }

/* ?? Red unread badge (iframe-only) ?? */
.msg-unread-badge {
    position: absolute;
    top: -7px;
    right: -9px;
    background-color: #e53935;
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.45);
    pointer-events: none;
    box-sizing: border-box;
}