/* ##########################################################################
   This stylesheet describes Main and side navigation (responsive)
   ########################################################################## */

/*--- standard variables ---*/
/*--- overwrite variables with the variable from a theme ---*/
/* #####################################################################################################
   This stylesheet is used for theme specific variables
   ##################################################################################################### */
/*--- media queries. When using responsive ---*/
/*--- custom class functions ---*/
/*----- Default functions -----*/
/*---------------------------------------------------
    LESS Elements 0.9
  ---------------------------------------------------
    A set of useful LESS mixins
    More info at: http://lesselements.com
  ---------------------------------------------------*/
/*----- CSS3 Animation functions -----*/
/* ==========================================================================
   Mobile / default styles
   ========================================================================== */

#header .toggleMenu {
  display: none;
}
#globalNav a {
  color: white;
  display: block;
  font-family: 'Open Sans', sans-serif;
}
#globalNav a:hover {
  background-color: white;
  color: #003948;
}
@media only screen and (max-width: 1179px) {
  #globalNav {
    position: fixed;
    left: 0;
    bottom: 0;
    top: 0;
    height: 100%;
    width: 70%;
    padding-right: 0%;
    z-index: 105;
    display: block;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    /*-moz-backface-visibility: hidden;*/
  
    /*end #navContainer*/
  
  }
  #globalNav.show {
    padding-right: 70%;
    display: block;
    top: 0;
  }
  #globalNav a {
    padding: 0 20px;
    line-height: 40px;
  }
  #globalNav #navContainer {
    background: #007694;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    overflow-y: auto;
    /*end ul.navUl-1, ul.level1 */
  
  }
  #globalNav #navContainer div > ul {
    /* niveau 1 */
    padding: 0;
    margin: 0;
  }
  #globalNav #navContainer div > ul li {
    border-bottom: 1px solid #008aae;
  }
  #globalNav #navContainer div > ul li a {
    overflow: hidden;
  }
  #globalNav #navContainer div > ul li a:hover {
    background-color: rgba(255, 255, 255, 0.35);
  }
  #globalNav #navContainer div > ul li.active > a {
    border-left: 5px solid #cccc00;
    padding-left: 15px;
  }
  #globalNav #navContainer div > ul > li.navLi-1 > a {
    position: relative;
  }
  #globalNav #navContainer div > ul > li.navLi-1 > a:after {
    content: "\203A";
    position: absolute;
    right: 15px;
    top: 0;
    color: white;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 26px;
    line-height: 35px;
  }
  #globalNav #navContainer div > ul > li.active.more > a:after {
    content: "\203A";
    position: absolute;
    right: 12px;
    top: 0;
    color: white;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 26px;
    line-height: 40px;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
  }
  #globalNav #navContainer div > ul > li.active > ul {
    /* niveau 2 */
    display: block;
    border-top: 1px solid #008aae;
    background-color: #008aae;
  }
  #globalNav #navContainer div > ul > li.active > ul > li > a {
    padding-left: 30px;
  }
  #globalNav #navContainer div > ul > li.active > ul > li > ul {
    /* niveau 3 */
    background-color: #0092b8;
  }
  #globalNav #navContainer div > ul > li.active > ul > li > ul > li a {
    padding-left: 40px;
  }
  #globalNav #navContainer div > ul > li > ul {
    display: none;
  }
  #globalNav #accountLinks {
    font-size: 12px;
  }
  #globalNav #accountLinks ul {
    overflow: hidden;
    padding: 0 5%;
    margin: 0;
  }
  #globalNav #accountLinks ul#LoggedInOptions li {
    width: 33%;
  }
  #globalNav #accountLinks ul#LoggedInOptions li.account {
    width: 66%;
  }
  #globalNav #accountLinks ul li {
    float: left;
    text-align: center;
    margin: 0;
    width: 50%;
  }
  #globalNav #accountLinks ul li a {
    padding: 0 5px;
  }
  #globalNav #accountLinks ul li.account {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 40px;
    color: white;
    text-align: center;
    height: 40px;
  }
  #globalNav #accountLinks ul li.account a {
    display: inline;
  }
  /*end #globalNav*/
  
  #bottomSubmenu {
    margin: 40px 0 0 0;
    border: 1px solid #e6ebf0;
  }
  #bottomSubmenu .h3 {
    font-size: 18px;
    display: inline-block;
    padding: 1em;
    font-weight: bold;
  }
  #bottomSubmenu ul {
    list-style: none;
    margin: 0;
  }
  #bottomSubmenu ul > li {
    border-top: 1px solid #e6ebf0;
  }
  #bottomSubmenu ul > li.active {
    display: none;
  }
  #bottomSubmenu ul > li:first-child {
    border-top: 0 none;
  }
  #bottomSubmenu ul > li > a {
    padding: 10px 7px 10px 35px;
    font-size: 13px;
    position: relative;
    display: block;
  }
  #bottomSubmenu ul > li > a:before {
    content: "";
    border: 4px solid #e6ebf0;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    display: block;
    position: absolute;
    top: 16px;
    left: 2%;
  }
  #bottomSubmenu ul > li > a.active:before {
    content: "";
    border: 4px solid #003948;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    display: block;
  }
  #bottomSubmenu ul > li.active > ul {
    display: block;
  }
  #content #mobileSubNav {
    display: none;
    background: white;
    border: 1px solid #e6ebf0;
    width: 100%;
    max-width: 445px;
    margin: 0 auto 20px;
    position: relative;
  }
  #content #mobileSubNav:before {
    content: "";
    position: absolute;
    right: 0;
    width: 13px;
    height: 13px;
    margin: 12px 15px 12px 0;
    display: block;
    background: url('../../../images/arrowBottomBigBlue.gif') no-repeat left center;
    pointer-events: none;
  }
  #content #mobileSubNav h3 {
    text-align: center;
    font-size: 16px;
    font-weight: normal;
    margin: 0;
    line-height: 38px;
    height: 38px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-indent: -9999em;
  }
  #content #mobileSubNav h3:after {
    content: attr(data-active-page);
    text-indent: 0;
    float: left;
    /* Force visiblity */
    display: block;
    width: 100%;
  }
  #content #mobileSubNav ul li.active > a {
    color: #003948;
  }
  #content #mobileSubNav ul li a {
    text-decoration: none;
    color: #202020;
    font-size: 16px;
    line-height: 32px;
    display: block;
  }
  #content #mobileSubNav ul {
    display: none;
    position: absolute;
    left: -1px;
    right: -1px;
    top: 38px;
    background: white;
    border: 1px solid #e6ebf0;
    padding: 20px;
    margin: 0;
    list-style: none;
    z-index: 9999;
  }
  #content #mobileSubNav.active {
    -webkit-box-shadow: 0 0 3px #cccccc;
    -moz-box-shadow: 0 0 3px #cccccc;
    box-shadow: 0 0 3px #cccccc;
  }
  #content #mobileSubNav.active ul {
    display: block;
    -webkit-box-shadow: 0 2px 3px #cccccc;
    -moz-box-shadow: 0 2px 3px #cccccc;
    box-shadow: 0 2px 3px #cccccc;
  }
}
#header #utilNav ul li:last-child {
  border-bottom: none;
}
/*sidecol navigation*/

#categorieNav a {
  color: #001f4b;
}
#sidecol li.active > a,
#categorieNav li.active > a {
  color: #003948;
}
/* ==========================================================================
   Tablet styles
   ========================================================================== */

@media only screen and (min-width : 768px) {
  #globalNav {
    width: 30%;
    padding-right: 0%;
  }
  #globalNav.show {
    padding-right: 70%;
  }
  #globalNav.show #navContainer {
    width: 30%;
  }
  #globalNav #navContainer {
    width: 0;
  }
  #globalNav > ul > li {
    border: none;
  }
}
/* ==========================================================================
   Desktop styles
   ========================================================================== */

@media only screen and (min-width : 1180px) {
  #globalNav {
    position: relative;
    left: 0;
    top: 0;
    float: none;
    width: 100%;
    height: 60px;
    padding: 0;
    z-index: 100;
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: color 0 ease-in;
    transition: none;
  }
  #globalNav #navContainer {
    width: auto;
    background: none;
    /*end div > ul*/
  
  }
  #globalNav #navContainer > ul {
    border: 0 none;
    overflow: hidden;
    background: none;
    width: 100%;
  }
  #globalNav #navContainer .hasSub .level1,
  #globalNav #navContainer .hasSub .ul-1 {
    background: none;
  }
  #globalNav #navContainer .navSub {
    position: absolute;
    top: 42px;
    left: 0px;
    right: 0px;
  }
  #globalNav #navContainer .navSubInner {
    overflow: hidden;
    padding: 20px 30px;
    background-color: white;
    border: 1px solid #e6ebf0;
    border-top: 0 none;
    -webkit-box-shadow: 0px 4px 6px #888888;
    -moz-box-shadow: 0px 4px 6px #888888;
    box-shadow: 0px 4px 6px #888888;
  }
  #globalNav #navContainer #sideColContainer {
    display: none;
  }
  #globalNav #navContainer div > ul {
    /*level 1 (horizontal)*/
    background: white;
  }
  #globalNav #navContainer div > ul > li {
    float: left;
    border: none;
    /*end &:hover*/
  
  }
  #globalNav #navContainer div > ul > li > a {
    position: relative;
    font-size: 14px;
    height: 24px;
    line-height: 24px;
    padding: 18px 0;
  }
  #globalNav #navContainer div > ul > li > a > span {
    display: block;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 25px;
  }
  #globalNav #navContainer div > ul > li > ul {
    display: none;
    z-index: 99;
  }
  #globalNav #navContainer div > ul > li.active > a {
    padding: 15px 0 18px;
    border-top: 3px solid #cccc00;
  }
  #globalNav #navContainer div > ul > li:first-child a {
    padding: 18px 25px;
  }
  #globalNav #navContainer div > ul > li:first-child a span {
    border: none;
    text-indent: -9999px;
    font-size: 0;
    /* ie8 */
    background: transparent url(../../../images/IconSpriteMainSmall.png) no-repeat 0 4px;
    width: 20px;
    height: 20px;
    padding: 0;
  }
  .backgroundsize #globalNav #navContainer div > ul > li:first-child a span {
    background: transparent url(../../../images/IconSpriteMain.png) no-repeat 0 4px;
    background-size: 48px 540px;
  }
  #globalNav #navContainer div > ul > li:first-child a:hover span {
    /* ie8 */
    background: transparent url(../../../../../themes/1007/images/IconSpriteMainAlternativeSmall.png) no-repeat 0 4px;
  }
  .backgroundsize #globalNav #navContainer div > ul > li:first-child a:hover span {
    background: transparent url(../../../../../themes/1007/images/IconSpriteMainAlternative.png) no-repeat 0 4px;
    background-size: 48px 540px;
  }
  #globalNav #navContainer div > ul > li:first-child.active a {
    padding-top: 15px;
  }
  #globalNav #navContainer div > ul > li:hover > a {
    background-color: white;
    color: #003948;
  }
  #globalNav #navContainer div > ul > li:hover > ul {
    /*level 2 (dropdown)*/
    display: block;
    position: absolute;
    width: 240px;
    height: auto;
    background: white;
    -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4);
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4);
    padding: 20px;
  }
  #globalNav #navContainer div > ul > li:hover > ul li {
    float: none;
  }
  #globalNav #navContainer div > ul > li:hover > ul li a {
    color: #001f4b;
    border: none;
    display: block;
    line-height: 20px;
  }
  #globalNav #navContainer div > ul > li:hover > ul li a:hover {
    background-color: #f3f5f8;
  }
  #globalNav #navContainer div > ul > li:hover > ul > li > a {
    padding: 2% 3%;
    font-size: 13px;
  }
  #globalNav #navContainer div > ul > li:hover > ul > li > ul {
    /*level 3 (dropdown)*/
    display: none;
  }
  #globalNav #navContainer div > ul > li:hover > ul > li > ul > li > a {
    padding: 1.3% 7%;
    font-size: 12px;
  }
  /*end #globalNav*/
  
  #sideCol a,
  #sidecol a {
    display: block;
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
    /*-moz-backface-visibility: hidden;*/
  
  }
  #sideCol a:before,
  #sidecol a:before {
    content: "";
    border: 4px solid #e6ebf0;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    display: block;
    position: absolute;
    top: 6px;
    left: 2%;
    margin-top: 5%;
  }
  #sideCol ul > li,
  #sidecol ul > li {
    border-top: 1px solid #e6ebf0;
  }
  #sideCol ul > li:first-child,
  #sidecol ul > li:first-child {
    border-top: 0 none;
  }
  #sideCol ul > li > a,
  #sidecol ul > li > a {
    padding: 5% 1% 5% 10%;
    font-size: 13px;
    position: relative;
  }
  #sideCol ul > li > a.active:before,
  #sidecol ul > li > a.active:before,
  #sideCol ul > li > a:hover:before,
  #sidecol ul > li > a:hover:before {
    content: "";
    border: 4px solid #003948;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    display: block;
    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transition: all 0.4s linear;
    /*-moz-backface-visibility: hidden;*/
  
  }
  #sideCol ul > li.li-1.active > a:before,
  #sidecol ul > li.li-1.active > a:before {
    content: "";
    border: 4px solid #003948;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    display: block;
    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transition: all 0.4s linear;
    /*-moz-backface-visibility: hidden;*/
  
  }
  #sideCol ul > li.active > ul,
  #sidecol ul > li.active > ul {
    display: block;
  }
  #sideCol ul > li > ul,
  #sidecol ul > li > ul {
    display: none;
  }
  #sideCol ul.ul-2 > li,
  #sidecol ul.ul-2 > li {
    border: 0 none;
  }
  #sideCol ul.ul-2 > li > a,
  #sidecol ul.ul-2 > li > a {
    font-size: 12px;
    padding: 3.5% 1% 3.5% 20%;
  }
  #sideCol ul.ul-2 > li > a:before,
  #sidecol ul.ul-2 > li > a:before {
    left: 14%;
    margin-top: 3.5%;
  }
  #sideCol ul.ul-2 > li.li-2.active > a:before,
  #sidecol ul.ul-2 > li.li-2.active > a:before {
    content: "";
    border: 4px solid #003948;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    display: block;
    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transition: all 0.4s linear;
    /*-moz-backface-visibility: hidden;*/
  
  }
  #sideCol ul.ul-3,
  #sidecol ul.ul-3 {
    border-bottom: 0 none;
  }
  #sideCol ul.ul-3 > li > a,
  #sidecol ul.ul-3 > li > a {
    font-size: 11.5px;
    padding: 3% 1% 3% 25%;
  }
  #sideCol ul.ul-3 > li > a:before,
  #sidecol ul.ul-3 > li > a:before {
    left: 19%;
    margin-top: 3%;
  }
  #sideCol ul.ul-3 > li.li-3.active > a:before,
  #sidecol ul.ul-3 > li.li-3.active > a:before {
    content: "";
    border: 4px solid #003948;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    display: block;
    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transition: all 0.4s linear;
    /*-moz-backface-visibility: hidden;*/
  
  }
  /*end #sidecol*/
  
  #categorieNav {
    margin: 0 0 20px 0;
  }
  #categorieNav ul.navUl-2 > li {
    border-top: 1px solid #e6ebf0;
  }
  #categorieNav ul.navUl-2 > li:first-child {
    border: 0 none;
  }
  #categorieNav ul.navUl-2 > li.active > a:before {
    border-left-color: #003948;
  }
  #categorieNav ul.navUl-2 > li > a {
    font-size: 13px;
    padding: 5% 1% 5% 10%;
  }
  #categorieNav ul.navUl-2 > li > a:before {
    left: 2%;
    margin-top: 15px;
    position: absolute;
    top: 5%;
  }
}
#content #mobileSubNav h3 {
  text-align: center;
  font-size: 16px;
  font-weight: normal;
  margin: 0;
  line-height: 38px;
  height: 38px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-indent: -9999em;
}
#content #mobileSubNav h3:after {
  content: attr(data-active-page);
  text-indent: 0;
  float: left;
  /* Force visiblity */
  display: block;
  width: 100%;
}
