﻿
/**LOGO **/
.header-logo {
    z-index: 1;
    position:absolute;
    top: -52px;
}
.header-logo-center {
    position: relative;
    width: 50px;
    margin-left: auto !important;
    margin-right: auto !important;
}
.header-logo-left {
    position: relative;
    width: 50px;
    left: 60px;
}


/****** Tabs -> ILR | PART | PRO *******/

.menu-left {
    margin-left: 0px !important;
}

.menu {
    background-color: #434343;
    margin-bottom: 0px;
}

ul.menu > li > a {
    border-top: 4px solid transparent;
    color: #fff;
    line-height: 36px;
    display: block;
    height: 44px;
    text-decoration: none;
    padding-left: 10px;
    padding-right: 10px;
}

ul.menu > li > a:hover {
    border-top: 4px solid #ED2939;
    background-color: #505050;
}

ul[id$='NavigationTabs'] > li:first-child {
    margin-left: 25px;
}

ul[id$='NavigationTabs'] > li > a {
    border-top: 4px solid #9C9C9C;
}

ul[id$='NavigationTabs'] > li.selected > a {
    border-top: 4px solid #ED2939;
    background-color: #fff;
    color: #000;
}

ul[id$='NavigationTabs'] > li {
    display: inline-block;
    padding-left: 0px;
    padding-right: 1px;
}

li[id$='LanguageSelector'] {
    padding-left: 30px !important;
    cursor: pointer;
}

.navigation-links-separator {
    padding-left: 0px;
    padding-right: 0px;
    vertical-align: middle;
}

.navigation-links-separator div {
    border-left: 1px solid #8F8E93;
    height: 13px;
}

ul[id$='NavigationTabs'] > li:last-child {
    margin-left: 60px;
}



/****** Navigation -> Legislation | Publications *******/

#navigation .navigation-row {
    height: 130px;
}

.navigation-logo {
   height: 100%;
}

.navigation-logo img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;    
    margin: auto;
}

.navlogo-marg {
    margin: 0 5% 0 1% !important;
}

.navigation {
    display: none;  /*switch display by JS */
}

.navigation.active {
    display: block;
    height: 100%;
}

.navigation a {
    color: #000;
    text-decoration: none;
    display: block;
}

.navigation-item-mediation {

    /* Background over breadcrumb bar*/
    position: absolute;
    /*top: 44px;*/
    background-image: Url("/_LAYOUTS/15/ILR.Internet/Images/Navigation/border-med.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain; 
    display: inline-table !important;   
    /*padding-top: 15px; */
    padding-left: 20px !important;
    padding-right: 20px !important;
    /*padding-bottom: 46px !important;*/ /*Fix for absolute positioning within a display table for FireFox & Safari // no longer needed since browser detection*/
    z-index: 201; /*Over subnavigation*/
    min-width: 145px !important;
    min-height: 150px !important;
}


.iblock-cbc {
    display: inline-block !important;
}


.navigation-item-mediation-hover {
   background-image: Url("/_LAYOUTS/15/ILR.Internet/Images/Navigation/border-med-hover.png") !important;
}



.navigation-item {
    height: 100%;
    display: table;  
    font-weight: 500; 
    max-height: 150px;     
}

.navigation-item a {
    display: table-cell;
    /*vertical-align: middle; AR EDIT to remove misalignement in nav */
    padding-top:10px;/*10% was inconsistent with Mediation*/
    height: 100%;
    width: 100%;
}

.navigation-item-hover {
    background-color: #ededed;
}

/****** Sub Navigation Panel (dropdown menu) *******/
 #sub-navigation {
    min-height:200px;
    max-width: 1100px; 
    width: calc(100% - (2*8.33333333%)); /**col-md-offset-1 en margin auto*/  
    margin-left:auto !important;
    margin-right:auto !important;
    background-color: #ededed;
    z-index:200;
    display:inline-block;
    /*margin-top:22px; AR edit*/
    position:absolute;
    left: 0;
    right: 0;
}

.sub-navigation {
    min-height:200px; /* 222px orig */
    padding-left:25px;
    /*margin-top:-22px; ar edit */
    border-left: solid 1px #c8c8c8;
    border-right: solid 1px #c8c8c8;
    border-bottom: solid 1px #c8c8c8;
    background-color:#ededed;
}

.sub-navigation-ul {    
    list-style:none;
    padding-top:20px;
    margin-left: -40px;
}

.sub-navigation-ul li {
    margin-bottom: 10px;
    list-style-position:inside;
}

.sub-navigation-ul li:hover {
    background-color: #ED2939; 
    color: #fff;
}

.sub-navigation-ul li:hover a, 
.sub-navigation-ul li:hover a:visited {
    color:#fff;
    text-decoration:none;
}

.sub-navigation-ul li a {
    font-size:14px;
    color: #555;
    font-weight:500;
    padding: 5px;
}

.sub-navigation-ul li a:visited {
    color: #555;
    text-decoration: none;
}

.sub-navigation-ul li:before {
    font-family:'FontAwesome';
    content:'\f105';
    margin: 0 5px 0 5px;
    color: #555;
    font-size: 1.55em;
}

.sub-navigation-ul li:hover:before {
    color:#fff !important;
}

.sub-navigation-title {
    display: inline-block;
    height: 10px;
    margin: 0; /*10px pre AR*/
    padding: 4px;
}

.sub-navigation-title h1 {
    color: #555;
    display: inline-block;
    font-weight: 600;
}

.sub-navigation-title h2 {
    font-weight:bold;
    color:#999;
    display: inherit;
    padding-left: 10px;
}

.sub-navigation-row {
    border-top:solid 1px #BBBCBF;
    margin-top: 10px; 
    margin-left:20px !important;
    padding-bottom:25px;/* AR remove subnav bottom pad */
}

.sub-navigation-header {
    padding-left:10px;
    padding-right: 5px;
    color:#ED2939;
}

.sub-navigation-title i.fa-angle-right {
    font-size: 1.55em !important; 
    color: #BBBCBF;
}

.language-btn-mobile {
    font-size: 20px; 
    color: #fff;
    text-decoration: none;
    display: block;
    margin-top: 20px;
    padding-right: 24px;
    cursor:pointer;
}

.language-btn-mobile:hover,
.language-btn-mobile:active {
    color: #fff;
    text-decoration: none;
}

.navigation-common-links-column {
    background-color: #BEBEBE;
    height: 100%;   
    position: absolute;
    right:0;
    top:0;
}
.navigation-common-links-column > .sub-navigation-row {
    margin-top: 0px;
}


/*Mobile*/
@media (max-width: 480px) {

    .SearchBoxSection2 input {
        max-width: 100%;
        width: 160px;
        height: 35px;
        background-color: #fff;
        margin-top: 15px;
    }

    .nav-tabs > li > a {
        font-size: 10px !important; 
    }
}

@media (max-width: 991px) {
.SearchBoxSection2 input {
    max-width: 100%;
    width: 160px;
    height: 35px;
    background-color: #fff;
    margin-top: 15px;

}

.rsglyph {
    font-size: 20px;
    margin-right: 5px;
    top: 24px;
    color: #fff;
    
}


#menu-toggler {
    color: #fff;
    font-size: 30px;
    display: block;
    margin-top: 16px;
    height: 44px;
    padding-left:15px;
}

#menu-toggler.toggled {
    color: #ED2939;
}

#menu {
    height: 70px !important;
}

.menu-responsive {
    font-size: 24px;
    margin-top: 13px;
}

ul.menu-responsive > li.selected > a, 
ul.menu-responsive > li > a:hover {
    background-color: transparent;
    border-top: 4px solid transparent;
    color: #ED2939;
}

ul.menu > li.selected > a {
    color: #fff;
}

#navigation-responsive {
    position: absolute;            
    background-color: #fff;
    z-index: 500 !important; 
    width: 100%;
    height: 100%;
    display: none;    
    overflow-x: hidden; /*trigger the scrollbar above*/
    -ms-overflow-style:none;
    top: 0;
    background-color: rgba(0,0,0,0.5);
}

#navigation-responsive::-webkit-scrollbar {
    display: none;
}

.nav-close {
    width: 60px;
    height: 60px;
    float: right;
    font-size: 19px;
    background-color: #ed2939;
    text-align: center;
    line-height: 58px;
}
.nav-close > a,
.nav-close > a:hover,
.nav-close > a:visited {
    color: #fff;
}   
 
/**Navigation mobile - Sections**/  
.nav-tabs {
   border-bottom: 0px;
   background-color: #444; 
   height: 60px; 
   width: calc(100% - 60px);  
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus,
.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
    color: #fff;    
    background-color: #444;        
    border-top: 0;
    border-left: 0;
    border-right: 0;
    cursor: pointer;
}

.nav-tabs > li > a {    
    color: #b6b6b6;    
    cursor: pointer;
    height: 100%;
    line-height: 40px;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 0px;
    padding-right: 0px;
    margin-right: 0px;
    border-radius: 0px;
    border: 0px;
}
.nav-tabs > li:hover,
.nav-tabs > li.active {
    border-bottom: 3px solid #eb2a3b;
}
.nav-tabs > li {    
    font-weight: 600;
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    margin-left: 10px;
    height: 100%;
}

/**Navigation mobile - Sectors**/
.navc-sub-header {
    font-size: 15px;
    font-weight: bold;
    color: #444;
    line-height: 60px;
}

ul.navc-subnav li,
.navc-sub-item {
    height: 60px;
    border-bottom: 1px solid #e8e8e8;
    display: table;
    width: 100%;
}

.navc-subnav > li > a,
.navc-sub-item > a {
    vertical-align: middle;
    display: table-cell; 
}
.navc-subnav > li > a > i.fa-angle-right,
.navc-sub-item > a > i.fa-angle-right {
    font-size: 19px;
    color: #444;
    float: right;    
    margin-right: 10px;
}

.navc-title {
    font-size: 15px;
    color: #444;
    display: inline-block;
    width: calc(100% - 62px);
}

.navc-sub-item > a > .navc-title {
    font-size: 15px;
    color: #444;
    display: inline-block;
    width: calc(100% - 30px);
    margin-left: 10px;
}

.navc-img {
    width: 24px;
    height: 24px;
    margin-left: 5px;
}

.navc-float {
    float: left;
}

.navc-parent {
    margin-left: 10px;
    font-size: 15px;
    color: #444;
    font-weight: bold;
    border-bottom: 1px solid #e8e8e8;
    height: 60px;
    line-height: 60px;
}

.navc-parent a,
.navc-parent a:visited,
.navc-parent a:hover {
    color: #444;
    cursor: pointer;
    text-decoration: none;
}

.navc-parent span {
    line-height: normal;
    display: inline-block;
}

.navc-sub-back {
    background-color: #f8f8f8;
    text-align: right;
    padding: 0 20px;
    font-size: 15px;
    color: #444;
    font-weight: bold;
}

.navc-sub-back li {
    color: #444;
    line-height: 60px;
    cursor: pointer;
}

.navc-sub-back i.fa.fa-angle-left {
    margin-right: 10px;
}

.tab-pane {
    margin-bottom: 10px;
    width: calc(100% - 60px);
    background-color: #fff;
    height: 100%;
}

.tab-pane ul {
    list-style: none;
    padding-left: 0;
}
.tab-pane li > a,
.tab-pane li > a:visited,
.tab-pane li > a:hover {
    cursor: pointer;
    color: #000;
    text-decoration: none;
}

li.navc-sub-item-col {
    text-align: left;
    margin-left: 5px;
    margin-right: 5px;
    color: #999;
    font-size: 12pt;
    font-weight: bold;
    border-bottom: 1px solid #999;
}


.hidden {display:none;} /* required for old browser ARIA not supported*/
}









@media (max-width: 350px) {
    .language-btn-mobile {
        padding-right: 10px;
    }
    .SearchBoxSection2 input {
        width: 115px;
    }
}

@media (min-width: 992px) {   
    .navigation-container {
        background-color: #FFF !important;
    }
    


    /****
     Sticky header   
    ***/
    .sticky-container {
        position: fixed;
        z-index: 100;
        width: 100%;
        background: white;
    }

    .sticky-menu {
    }

    .sticky-menu a {
        line-height: 18px !important;
        height: 26px !important;
    }

    .sticky-nav {
    }

    .sticky-nav .navigation-img-label {
        display: none;
    }

    .sticky-nav .navigation-img img {
        height: 57px;
    }

    .sticky-nav .navigation-logo img {
        display: none;
    }
    .sticky-nav .navigation-logo .navlogo:before {
        content: url(/_layouts/15/ILR.Internet/Images/Master/navigation-circle.png);
        /*top: 56px;
        left: 60px;
         width: 45px;*/

        top: 6px;
        left: 60px;
        width: 45px;
        position: absolute;
    }

    .sticky-nav .navigation-row {
        height: auto !important;
        border-bottom: 3px solid #f1f1f1;
        margin-bottom: 5px;
    }

    .sticky-nav .navigation-item a {
        padding-top: 0 !important;
    }

    .sticky-nav .navigation-item-mediation,
    .sticky-nav .navigation-item-mediation-hover {
        min-height: 1px !important;
        min-width: 0px !important;
        background-image: none !important;
    }
    .sticky-nav .navigation-item-mediation-hover {
        background-color: #ededed;
    }

    .sticky-bread {
        position: fixed;
        z-index: 50;
        width: 100%;
        top: 90px;
    }

    .sticky-nav #sub-navigation {
        top: 78px;
    }
}

@media (min-width: 1281px) {
    .navigation-container {
         max-width: 1280px;
        margin:auto;
    }

    .sticky-container, .sticky-bread  {  
        max-width: 1280px;
    }
}


@media print {
    .navigation-container {
        display:none;
    }
}


