/* ===================================================
   Common Layout Styles
   Extracted from inline styles for CSP compliance
   =================================================== */

/* === Arrow Box (topnavbar) === */
.arrow_box {
    position: relative;
    background: #ffffff;
    border-radius: 4px;
}

.arrow_box:after,
.arrow_box:before {
    bottom: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.arrow_box:after {
    border-color: rgba(136, 183, 213, 0);
    border-bottom-color: #88b7d5;
    border-width: 1px;
    margin-left: -1px;
}

.arrow_box:before {
    border-color: rgba(194, 225, 245, 0);
    border-bottom-color: white;
    border-width: 10px;
    margin-left: -10px;
}

.navbarBackground {
    background-color: white;
}

.navbarBackgroundLiberty {
    background-color: #ffd000;
}

/* === Block Home Content Overlays === */
.cmn-block-overlay {
    position: fixed;
    z-index: 10;
    top: 0;
    right: 0;
    width: 100%;
    height: 3000px;
    background-color: transparent;
    display: none;
}

/* === Navbar Border Override === */
.cmn-navbar-border {
    border-left: none !important;
    border-top: none !important;
    border-right: none !important;
}

/* === Logo Positioning === */
.cmn-logo-desktop {
    z-index: 1000;
    position: absolute;
    max-width: 250px;
    bottom: 20px;
    left: 2%;
    cursor: pointer;
    max-height: 80px;
    padding-top: 1%;
}

.cmn-logo-desktop-t2 {
    z-index: 1000;
    position: absolute;
    max-width: 250px;
    bottom: 7px;
    left: 2%;
    cursor: pointer;
    max-height: 110px;
    padding-top: 1%;
}

.cmn-logo-mobile {
    z-index: 1000;
    position: absolute;
    max-width: 200px;
    bottom: 20px;
    left: 2%;
    cursor: pointer;
    max-height: 80px;
    padding-top: 1%;
}

.cmn-logo-mobile-short {
    z-index: 1000;
    position: absolute;
    max-width: 200px;
    bottom: 7px;
    left: 2%;
    cursor: pointer;
    max-height: 100px;
    padding-top: 1%;
}

/* === Main Menu Container === */
.cmn-menu-container {
    height: 89px;
}

/* === Footer === */

/* XPO Logistics footer overrides (scoped via ng-class) */
.cmn-footer-xpo #footer {
    background: #6F6F6F !important;
}

.cmn-footer-xpo .footer ul li a {
    color: #EDEDED !important;
}

.cmn-footer-row-padding {
    padding-bottom: 30px;
}

.cmn-footer-heading {
    color: white;
}

.cmn-footer-phone {
    color: white;
    cursor: default;
}

.cmn-footer-link {
    color: white;
}

.cmn-footer-link-inline {
    color: white;
    display: inline !important;
}

.cmn-footer-separator {
    color: white;
}

.cmn-footer-logo-col {
    margin-top: 34px;
}

.cmn-footer-logo-img {
    width: 137px;
    margin: 5px 0 5px 0;
}

.cmn-footer-seal {
    margin: 10px auto;
}

/* === Content Layout === */
.cmn-content-view {
    overflow-x: hidden;
}

.cmn-footer-no-margin {
    margin: 0;
}

/* === Top Nav Bar === */
.cmn-nav-bar {
    padding-top: 2%;
    background-color: white;
}

/* === Liberty Mutual overrides === */
.cmn-nav-bar-lm {
    padding-top: 2%;
    background-color: #ffd000;
}

.cmn-lm-home-bg {
    background: #ffd000;
}

.cmn-lm-caret {
    vertical-align: middle;
}

/* === XPO Settings Popup === */
.cmn-xpo-user-link {
    cursor: pointer;
    position: fixed;
    right: 50px;
    top: 35px;
    text-transform: uppercase;
    font-weight: bold;
}

.cmn-xpo-settings-box {
    display: none;
    background-color: white;
    position: fixed;
    z-index: 1050;
    top: 70px;
    right: 0;
    width: 250px;
    height: 150px;
    padding: 10px;
}

.cmn-xpo-arrow {
    width: 20px;
    position: absolute;
    top: -15px;
    right: 110px;
}

.cmn-xpo-info-wrap {
    width: 100%;
    text-align: left;
    font-family: Calibri;
    font-size: 13px;
}

.cmn-xpo-info-row {
    margin: 7px 0 !important;
}

.cmn-xpo-info-row-muted {
    margin: 7px 0 !important;
    color: #b1b1b1;
}

.cmn-xpo-info-text {
    font-weight: normal;
    text-transform: none;
}

.cmn-xpo-info-text-muted {
    font-weight: normal;
    text-transform: none;
    color: #b1b1b1;
}

.cmn-xpo-info-text-hidden {
    font-weight: normal;
    text-transform: none;
    color: #b1b1b1;
    display: none;
}

.cmn-xpo-footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    height: 50px;
    margin-left: -10px;
    padding: 10px;
    text-align: center;
}

.cmn-xpo-btn {
    border: 2px solid;
    float: left;
    margin-bottom: 15px;
    width: 100px;
    border: none;
}

.cmn-xpo-btn-right {
    border: 2px solid;
    float: right;
    margin-bottom: 15px;
    width: 100px;
    border: none;
}
