/*Entete commun pour CNESST.gouv.qc.ca*/
/*Importation des fonts*/
@import url(fonts/fonts.css);
/*Support html5 tags pour ie 8*/
.cnesst header, .cnesst nav, .cnesst article, .cnesst footer,.cnesst section,.cnesst aside,.cnesst figure,.cnesst figcaption,.cnesst main{display:block!important}
.bg-deep-grey,.bg-gris-fonce{
  background:#414141!important;
}

.number-fix{
   font-family: 'thesanscaps';

}
.no-mrg-top{
  margin-top:0;
}
.no-mrg-bottom{
  margin-bottom:0;
}
.no-padding{
  padding:0!important;
}

/*
  Ajustement boîte de recherche google
*/
#gsc-iw-id2, #gsc-iw-id1
{
  border: none !important;
  height: 30px !important;
}

/*.container{max-width:1170px;}*/

#headerwrap,#footerwrap{ 
  font-family: arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased!important;
  -moz-osx-font-smoothing: grayscale!important;
  }
  
#headerwrap *, #footerwrap *, #mobile-nav *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
#headerwrap  :after, #headerwrap  :before,#footerwrap  :after, #footerwrap  :before, #mobile-nav :after, #mobile-nav :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box; /*z-index: 15;*/}

/*Buttons*/
#footerwrap .btn, #headerwrap .btn{
border-radius:2px;
}
/* Transition */
#footerwrap .transit, #headerwrap .transit{
  -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
/* Sticky footer */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 60px; 
}

#footerwrap {
 /* position: absolute;*/
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
 /* z-index:-1;*/
}




/*Header*/
/*Entete commun pour CNESST.gouv.qc.ca*/
@media (max-width: 680px) {
  .hide-680{
    display:none;
  }
  .show-680{
    display:block;
  }
}
@media (min-width: 680px) {
  .show-680{
    display:none!important;
  }
  body{
    overflow:scroll!important;
  }

}
/*Nav toggle (mobile)*/
#nav-toggle { 
position: absolute; 
right: 15px; top: 35px; 
}
#nav-toggle { 
cursor: pointer; 
padding: 0px 35px 16px 0px; 
}
#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
cursor: pointer;  
border-radius: 1px; 
height: 4px;  
width: 30px;  
background: #414141;  
position: absolute;  
display: block;  
content: '';
}
#nav-toggle span:before {  
top: -10px; 
}
#nav-toggle span:after {  
bottom: -10px;
}
#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
-webkit-transition: all 500ms ease-in-out;
-moz-transition: all 500ms ease-in-out;
-ms-transition: all 500ms ease-in-out;
-o-transition: all 500ms ease-in-out;
-webkit-transition:all 500ms ease-in-out;
transition: all 500ms ease-in-out;
}
#nav-toggle.active span {  
background-color: transparent;
}
#nav-toggle.active span:before, #nav-toggle.active span:after {
top: 0;
}
#nav-toggle.active span:before {  
-webkit-transform: rotate(45deg);/* Ch <36, Saf 5.1+, iOS, An =<4.4.4 */
-o-transform:rotate(45deg);
-moz-transform-rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
#nav-toggle.active span:after { 
-webkit-transform: rotate(-45deg);/* Ch <36, Saf 5.1+, iOS, An =<4.4.4 */
-moz-transform: rotate(-45deg);
-o-transform-rotate(-45deg);
-o-transform-rotate(-45deg);
transform: rotate(-45deg);
}



/*Menu caché*/
#mobile-nav{
  /*position:absolute;*/
  position: relative;
  z-index:999;
  top:70px;
  right:0;
  left:-200%;
  display:block;
  background:#fff;  
  background:rgba(255,255,255,1);  
  height:0;
  -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;

}
#mobile-nav.active{    
  height:100%;
  left:0;  
  
}
#mobile-nav.active .mobile-wrap{
   position: relative;
    width: 100%;
    height:320px;
    height: 80vh;   
    overflow: hidden; 
}
#mobile-nav.active .inner-mobile{ 
   height: 100%;   
    width: 100%;
    overflow-y: scroll;
}

#mobile-nav .inner-mobile ul{
  list-style:none;
  padding:20px;  
}
#mobile-nav .inner-mobile ul li{
  width:250px;
  margin:0 auto;
  padding:10px 0;  
  opacity:0;
  -webkit-transition: all 0.8s ease-in-out;
    -moz-transition: all 0.8s ease-in-out;
    -o-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}
#mobile-nav.active .inner-mobile ul li{
  opacity:1;
}
#mobile-nav .inner-mobile ul li.secteur{
  text-transform:uppercase;
  border-bottom:1px solid #ccc;
  padding:15px 0;  
}
#mobile-nav .inner-mobile ul li a{  
  color:#414141;
}

#mobile-nav .inner-mobile ul li a:hover,#mobile-nav .inner-mobile ul li a.active{
  text-decoration:none;
  color:#50A129;
}

#mobile-nav .inner-mobile ul li:nth-child(5){margin-top:10px;}

/*./nav-mobile*/

#menu-commun{  
  width:100%;
  background:none;
  margin:0 0 10px 0;  
  letter-spacing:0.6px;
  text-transform:uppercase;
  background:#1b1b1b;
}

#menu-commun .col-xs-4{
  padding:0;
  border-right:1px solid #0B0B0B;
  border-left:1px solid #373737;

}
#menu-commun .col-xs-4:first-of-type{
  border-left:none;
}
#menu-commun .col-xs-4:last-of-type{
  border-right:none;
}

#menu-commun .col-xs-4 a{
color:#fff!important;
height:30px;
display:block;
padding:5px 0 10px;
width:100%;
margin:0 auto;
text-align:center;
position:relative;
font-size:16px;
font-family: 'thesansbold';
border-bottom:1px solid #282828;
border-top:1px solid #484848;
background:#1b1b1b;

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased!important;
  -moz-osx-font-smoothing: grayscale!important;

}
@media only screen and (min-width:680px) and (max-width: 991px) {  
  #menu-commun .col-xs-4 a{
    font-size:13px;
    padding-top:7px!important; 
    height:30px;
  }
}


#menu-commun .col-xs-4:first-of-type a{
border-top:none;
}
#menu-commun .col-xs-4:last-of-type a{
border-bottom:none;
}

@media (max-width: 680px){
  #menu-commun .col-xs-4 a{
  font-size:17px;
  padding-top:0px!important; 
  height:25px!important;
  }
}


#menu-commun .col-xs-4 a:hover{
text-decoration:none;
background:#414141!important;
-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;

}

#menu-commun .col-xs-4 a.active{
color:#fff!important;
background:#50A129!important;
border-bottom:1px solid #50a129;
border-top:1px solid #50a129;
}
#menu-commun .col-xs-4 a.active:hover{
cursor:default;
}

@media (min-width: 768px) {
#menu-commun .col-xs-4 a.active::after{
position:absolute;
left:49%;
bottom:-4px;
content:"";
width: 0;
height: 0;
border-style: solid;
border-width: 5px 5px 0 5px;
border-color: #4fa129 transparent transparent transparent;
}

}

@media (max-width: 991px) {
#headerwrap h1.logo svg{
  width:70%;
  text-align:left!important;
  }
#headerwrap #logo-svg-fix{
  width:92px!important;
  height:34px!important;
}
#headerwrap .logo-label{
  font-size:12px;
  line-height:16px;
  margin:-2px 0 0 10px!important;
  text-align:left;
  }
#headerwrap .header-small-nav{
  margin:0 0 20px 0!important;
  text-align:right!important;
}
}
@media (max-width: 680px) {
#headerwrap h1.logo svg{
  width:60%;
  text-align:left!important;
}
}
@media (max-width: 629px) {
#headerwrap #banner .col-xs-2{
  width:30%!important;
  text-align:center;
}
#headerwrap #banner .col-xs-5{
  width:0%!important;
}
#headerwrap #banner .col-xs-4{
  display:none!important;
  
}

#headerwrap .header-small-nav{  
  text-align:center!important;
  font-size:12px;
}
}
@media (max-width: 480px) {

  #headerwrap  #banner .col-xs-2{
  width:100%!important;
  text-align:center;
  }
  #headerwrap #banner .col-xs-5{
    width:80%!important;    
  }
  #headerwrap #banner .col-xs-5 .recherche{
  float:none!important;
  margin:0 auto;
  margin:0 0 10px 4px;
  padding-left:0;
  padding:0;
  }
  #headerwrap #banner .col-xs-4{
  display:none!important;
  }

  #headerwrap .header-small-nav li{  
  border-left:none;
  line-height:20px;
  text-align:left;  
  }
  #headerwrap .header-small-nav li:before{
  content: "\f105";
    font-family: FontAwesome;
    color: #50A129;
    font-weight: bold;
    margin-right: 4px;  
  }

}


header #headerwrap #banner{
  display:block;
  padding-top:20px;
  position:relative;  
  }
header #headerwrap h1.logo{  
  width: 165px;
  height: 50px;
  margin:0;
  padding: 0;
  text-align:left;
}

#logo-svg-fix{width:132px!important;height:49px!important;}




header h1.logo svg{
  width:80%;  
}
header #banner .col-md-6:last-of-type .col-md-6{
  padding-top:15px;
}

header #banner .input-group button{
  height:34px;
}
header #banner .form-control {
  height:34px;
}

/*Banner*/
header .logo-label {
    margin: 0;
    padding: 0; 
    /*font-weight: 600;*/
  font-size:15px;
  line-height: 19px;
  font-family: 'thesansextrabold';
}
@media (min-width: 1200px) {
  header .logo-label {
    margin: -2px 0 0 -40px;
    max-width:240px;
  }
  .container {
    max-width: none !important;
    width: 1144px!important;
    padding: 0 2px!important;
}
#banner .col-xs-2{
  padding:0!important;
}
}
@media (max-width: 991px) {
  header .logo-label{      
    text-align:center;  
    margin:10px 0 20px 0;
  }
  

}

#headerwrap .toplabel{
  margin:0 0 40px;
}

/*Navigation sous la recherche*/
.header-small-nav {
  text-align:right;
  margin:0 0 12px 0;
  font-size: 0.85em;
  padding-left:0;
}

.header-small-nav li{
  display:inline-block;
  border-left: 1px solid #ccc;  
  padding:0 10px 0 10px;
}
.header-small-nav li:first-child{
  border:none;
  padding:0 10px 0 0;
}
.header-small-nav li:last-child{  
  padding:0 0 0 10px;
}

.header-small-nav li a{color:#414141;}


/******FOOTER******/
#footerwrap{
  opacity:1;  
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}  
#footerwrap.hidding-foot{
  opacity:0;
  height:0;
  
}
#footerwrap .container-fluid{
  overflow:hidden;
}

#footerwrap  .container-fluid:first-of-type{
  padding-top:20px;
  font-family:'thesanslight';
}
#footerwrap h1{
  font-size:0.875em;
  color:#fff;
}
#footerwrap h2{
  font-size:1.1em;
  text-transform:none;
  color:#fff;
  
}

#footerwrap #footer-columns h1{
  font-size:15px;
  color:#fff;
}
#footerwrap #footer-columns h2{
  font-size:1.1em;
  text-transform:none;
  color:#fff;
}
#footerwrap a,#footerwrap p {
  color:#fff;
}
#footerwrap .social a{
  font-size:25px;
}
#footerwrap .social a:hover{
  opacity:0.5;
}
 #footerwrap #footer-columns li{
  color:#fff;
}
 #footerwrap #footer-columns {
  list-style-type: none;
}

 #footerwrap #footer-columns li:first-child{
  border:none;
}
 #footerwrap #footer-columns li li{
  border:none;
  margin:7px 0;
}
 #footerwrap #footer-columns li h1:first-of-type{
  margin:0;  
}

@media (max-width: 768px){

   #footerwrap #footer-columns li h1:first-of-type{
    margin-top:10px;
  }

}

 #footerwrap .footer-main-nav ul{
  padding:0;
  margin:0;
}
 #footerwrap #footer-columns .footer-main-nav li, #footerwrap #footer-columns .footer-sub-nav li, #footerwrap .footer-liens-spec{
  /*font-weight:bold;*/
  font-size:15px;  
  line-height:24px;
}
 #footerwrap #footer-columns .footer-sub-nav li{
  margin:0;
  padding:3px 0 3px;
}
 #footerwrap #footer-columns .footer-sub-nav li:first-child{
  padding:10px 0 3px;
}

 #footerwrap #footer-columns .footer-main-nav li{
  display:block;
  border-bottom:1px solid #666;
  padding: 16px 0 15px 0px;  
  position:relative;    
  margin: 0 0 0 0;
}
 #footerwrap .footer-main-nav li{text-transform:uppercase;}
 #footerwrap #footer-columns .footer-main-nav li:first-of-type{
padding-top:10px
}
 #footerwrap #footer-columns .footer-main-nav li:last-of-type{
padding-bottom:21px
}

 #footerwrap #footer-columns .footer-main-nav li.active{
background:#505050;
border-left:4px solid #50a129;
border-bottom:none;
}

 #footerwrap #footer-columns .footer-main-nav li:hover{
  background:#414141;    
}

 #footerwrap #footer-columns .footer-main-nav li.active:hover{
background:#505050;
}
 #footerwrap #footer-columns .footer-main-nav li.active a:hover{cursor:default;}

 #footerwrap #footer-columns .footer-main-nav li:last-child{
  border-bottom:none;
}
 #footerwrap #coords{
  padding-top:8px;
}  
 #footerwrap #coords h1{
  line-height:1.4em;
  min-width:280px;
}
 #footerwrap #coords h2{
  line-height:1.4em;

}
 #footerwrap .footer-liens-spec{
  padding:10px 0;
   /* border-left: 4px solid #50a129;*/
  
}
@media (max-width: 768px){
   #footerwrap .footer-liens-spec{border-bottom:1px solid #666;}
}
 #footerwrap .footer-liens-spec li{
  padding: 10px 0 0 0;
  
}
 #footerwrap .footer-liens-spec li:first-child{
  padding: 0;
  
}
 #footerwrap .footer-liens-spec li:before{
   content: "\f105";
    font-family: FontAwesome;
    color: #50A129; /* or whatever color you prefer */
  font-weight:bold;
    margin-right: 10px;
  vertical-align: top;
    float: left;
    line-height: 1.7em;
  
}
 #footerwrap #footer-slogan{
  color:#fff;
  min-height:50px;
  font-weight:bold;
  background:#50A129;    
}

 #footerwrap #footer-slogan .logo {
margin: 23px 0 19px 0;
float:right;  
}
@media (max-width: 768px){
   #footerwrap #footer-slogan .logo {
    float:none;
    text-align:center;
  }
}
 #footerwrap #footer-bottom{  
  min-height:50px;  
  padding:15px 0;
  background:#fff;
  font-weight:bold;  
}
 #footerwrap #footer-bottom  a a:hover a:focus{
  color:#50A129;
}
 #footerwrap #footer-bottom ul{
  padding:0 0 15px 0;  
  display:inline-block;
}
 #footerwrap #footer-bottom .container{
  text-align:center!important;  
}

 #footerwrap #footer-bottom ul li {
  font-size:12px;
  list-style:none;
  display:inline-block;
  /*margin:0 10px;*/
}
 #footerwrap #footer-bottom ul li:first-child {
  /*margin:0 10px 0 0;*/
}
 #footerwrap #footer-bottom li{
  padding: 0 10px 0 10px;
  border-left: 1px solid #ccc;
}

/* Hyperliens bas de page*/
#footerwrap a:focus {
  outline:none;
  color:#ffffff;
}
#footerwrap a:hover{
  color:#ffffff;
}
 #footerwrap .footer-main-nav, #footerwrap .footer-sub-nav {
  /*padding: 0 10px;*/
  border-bottom: 1px solid rgb(102, 102, 102);
}
 #footerwrap .footer-sub-nav {
  height:168px;
}
@media (max-width: 768px) {
  #footerwrap .footer-sub-nav{
  margin-top:7px;
  }

}

 #footerwrap .sans-puce{
  list-style-type: none;
  padding:0;
}
 #footerwrap #footer-bottom {
  font-weight:normal;
}
 #footerwrap #footer-bottom a {
  color:#414141;
}
 #footerwrap #footer-bottom a:focus {
  outline:none;
  color:#414141;
}
 #footerwrap #footer-bottom a:hover{
  color:#414141;
}
 #footerwrap #footer-bottom li.copyright {  
  border-left:none!important;
}

/*Barre de recherche Google*/
.recherche{
float:right;
width:100%;  
max-width:340px!important;
}
@media (max-width: 991px) {
  .recherche{    
    margin:0 auto;
    width:100%;
    float:none;
  }
}
.recherche .gsc-control-searchbox-only{
  position:relative;
}
.gsc-search-box,.gsc-input{
padding:0!important;
width:100%!important;
}
.recherche .gsc-input input{
position:relative;
height:30px;
border:1px solid #ccc;
border-top-left-radius:2px;  
border-bottom-left-radius:2px;  
min-width:100%!important;
width:100%!important;
float:right;
line-height:14px!important;
padding-left:5px!important;
text-align:middle!important;
}

.recherche table{
  height:30px!important;
} 
.recherche .gsc-search-button,.recherche .gsc-search-button input{
  position:relative;
  color:transparent!important;
  font-size:0;
  line-height:0!important;
  max-width:30px!important;
  width:30px!important;
  height:30px!important;
  box-sizing:content-box!important;
  overflow:hidden!important;  
  filter:none!important;
  background:transparent!important;  
  border:none!important;
  float:right;
}
.recherche .gsc-search-button:before{
  display: block;
    left: 0;
    text-align: center;
    top: 0px;
    bottom: 0;
    right: 0;
    width: 100%;
    border: 1px solid #ccc;
    position: absolute;
    border-radius: 2px;
    border-left: none;
    border-top-left-radius: 0!important;
    border-bottom-left-radius: 0!important;
    background-color: #ebebeb!important;
    max-width: 30px!important;
    height: 30px!important;
    font-family: FontAwesome;
    font-size: 15px!important;
    color: #666;
    content: "\f002";
    padding-top: 14px!important;}

.recherche .gsc-search-button:hover:before{
   background-color: #50a129!important;
   color: #fff;
   border-color:#50a129;
}
.recherche .gsc-clear-button{
  position:absolute;
  right:16px;
  top:3px
}
