@import url('bootstrap.min.css');

.container:nth-child(2) {
  min-height: 66vh;
}

.content-link {
  flex-direction: column;
  align-items: flex-start!important;
  min-height: 20vh;
  justify-content: flex-start!important;
}

a{
  color: grey;
  -webkit-transition: 0.2s;
  transition:0.2s;
}

a:hover{
  text-decoration: none;
  color: #3379b8;
}

hr {
  border-top: 1px solid #b7b7b7;
  margin-bottom: 0px;
}

h4.bleu, h5.bleu, .subtitle{
  color: #3379b8;
  text-transform: uppercase;
}
.btn-default {
  color: #818181;
  -webkit-transition: all 0.2 ease-out;
  transition:all 0.2 ease-out;
}

.btn-default:hover{
  color: #727272;
  background-color: #e6e6e6;
  border-color: #adadad;
}

span.glyphicon.glyphicon-home {
  padding: 5px;
}

.jumbotron {
  background: #505052;
}

.container .jumbotron {
  border-radius: 0px;
  padding: 20px;
  padding-bottom: 50px;
  margin: 0px;
  padding-right: 60px;
}

.sous-menu.menu_flex hr, .sous-menu hr{
  margin-top: 0px;
  width: 100%;
}

img.img-responsive.zoomEffect {
  -webkit-transition: all 0.1s ease;
  transition: all 0.1s ease;
  opacity: 0.9;
  max-width: 85px;

}

img.img-responsive.zoomEffect:hover {
  transform: scale(1.10);
  -webkit-transform: scale(1.10);
  -moz-transform: scale(1.10);
  -ms-transform: scale(1.10);
  -o-transform: scale(1.10);
}

img.img-logo {
  width: 60px;
  margin-right: 20px;
}


.flex{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.flex-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-bottom: 10px;

  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.sous-menu.menu_flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-bottom: 10px;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.flex.flex-menu {
  margin: 20px 0px;
}

.choix-lang {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  flex-wrap: wrap;
  justify-content: space-between;
}

.choix-lang a{
  margin: 7px 5px;
}
.choix-lang a:last-child{
  margin-right: 0px;
}

.choix-lang a img {
  width: 50px;
  height: auto;
  opacity: 0.6;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;

  -webkit-border-radius: 3px;
  border-radius: 3px
}

.choix-lang a img:hover, .choix-lang a.active img{
  opacity: 1;
  transform: scale(1.10);
  -webkit-transform: scale(1.10);
  -moz-transform: scale(1.10);
  -ms-transform: scale(1.10);
  -o-transform: scale(1.10);

}

.flex-title {
  width: 100%;
  margin: 20px 0;
}

.content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 0 20px 0px;
  width: 33.33%;
}

p.content-description {
  -webkit-box-flex: 1;
  -ms-flex: 1 0 60%;
  flex: 1 0 60%;
  padding-left: 20px;
}

.footer {
  text-align: center;
  padding: 0 10px;
}

.footer p {
  margin: 10px 0;
}


/* pneumatique */

.master {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 49.5%;
  border-bottom: 1px solid lightgray;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 10px 0px;
  -webkit-transition: all 0.2s ease-out;
  transition:all 0.2s ease-out;
}
.master:hover {
  background: rgba(204, 204, 204, 0.4);
}
a.table-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
  align-items: center;
  /*height:50px;*/
  height: auto;
  padding: 5px 0px;
}

a.table-flex p{
  margin-bottom: 0px;
}

a.table-flex p:first-child {
  margin-left: 5px;
  margin-right: 5px;
  width: 126px;
  -webkit-box-flex: 1;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;

  font-weight: bold;
  color: #666;
}
a.table-flex p:last-child {
  -webkit-box-flex: 2;
  -ms-flex: 2 0 auto;
  flex: 2 0 auto;
}

.elements-list{
  border: none;
}

/*
    fournisseurs
    */
    #schPneumatique > p.p-nth1, {
      min-width: 128px;
    }

    #fournissieur a.table-flex p:first-child{
      /*min-width: 160px;*/
      min-width: 175px;
    }
/*
  Hydraulique 
  */
  .title-wagon{
   width: 100%;
   text-transform: uppercase;
   color: #015a94;
   font-size: 2rem;
   margin: 0;
   display: block;
 }
 div#schHydraulique {
  margin-top: 0px;
}

/*
  Navigation hydraulique
  */
  .link{
    margin-top: 10px;
  }

  .flex{
    position: relative;
    padding: 10px 0px;
  }
  nav.navigation {
    position: relative;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -ms-flex-item-align: end;
    align-self: flex-end;
    margin-right: 10px;
  }
  nav.navigation ul {
    padding: 0;
  }
  nav.navigation ul li {
    list-style: none;
    text-decoration: none;
    text-align: center;
  }

  nav.navigation ul li p {
    padding: 10px;
    width: 101px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin: 0px 0px 4px 0px;
    -webkit-transition: 0.2s;
    transition: 0.2s;
  }
  nav.navigation ul li p:hover {
    background: #e8e8e8;
    box-shadow: 0 0px 20px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.1), 0 1px 1px -2px rgba(0, 0, 0, 0.2);
  }

  nav.navigation ul li p span.caret {
    position: relative;
    right: -11px;
    color: #5c5c5c;
  }
  nav.navigation ul li ul {
    position: absolute;
    right: 0px;
    width: 130%;
    border: 1px solid #ccc;
    border-radius: 3px;
    display: none;
    z-index: 100;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
  }
  nav.navigation ul li ul li {

    border-bottom: 1px solid #e3e3e3;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    background: #fff;
  }

  nav.navigation ul li ul li:hover{
    background-color: #e3e3e3;
  }

  nav.navigation ul li ul li a {
    width: 100%;
    display: inline-block;
    padding: 10px;
  }

  nav.navigation ul li a:hover{
    color: #666;
  }

  nav.navigation:hover{
    cursor: pointer;
  }

  nav.navigation:active ul li ul, nav.navigation:hover ul li ul, nav.navigation:focus ul li ul{
    display: block;
  }
  nav.navigation.active ul{
    display: block;
  }


/*
   ================  BTN SCOLL TOP  ======================

   */
   span.glyphicon.glyphicon-chevron-right { /* IE 9 */
    -webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
    transform: rotate(-90deg);
    padding: 0px;
    background-color: #eaeaea;
    border: 1px solid #d2d2d2;
    border-radius: 4px;
    box-shadow: 0 0px 20px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.1), 0 1px 1px -2px rgba(0, 0, 0, 0.2);
    -webkit-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
  }
  span.glyphicon.glyphicon-chevron-right:hover{
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
  }

  a.top-page:hover, a.top-page:focus {
    color: #666;
  }

  .col-md-12.scroll-top {
    position: fixed;
    max-width: 1170px;
    width: 100%;
    bottom: 56px;
    z-index: 100;
  }
  a.top-page {
    position: absolute;
    float: right;
    margin: 10px 0px;
    bottom: 0px;
    right: 30px;
    z-index: 100;
    opacity: 0;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }
  a.top-page.active {
    opacity: 1;
  }
  a.top-page.active span {
    padding: 17px;
  }

  @media (max-width: 1200px){
    .col-md-12.scroll-top{
      max-width: 990px;
    }
  }

  @media (max-width: 990px){
    .master{
      width: 100%;
    }

    .col-md-12.scroll-top{
      max-width: 840px;
    }

    .master:nth-child(odd) {
     background: rgba(236, 236, 236, 0.4);
   }

 }

 @media (max-width: 768px){
   .content {
    width: 49.5%;
  }

  p.content-description {
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
  }
}

@media (max-width: 530px){
  .content {
    width: 100%;
  }
  .master:nth-child(odd) {
   background: rgba(236, 236, 236, 0.4);
 }


}

@media(max-width: 360px){
  a.table-flex{
    display: block;
    width: 100%;
    height: auto;
  }

  a.table-flex p{
    width: 100%;
    
  }
  a.table-flex p:first-child{
    padding-top: 5px;
    
  }
  a.table-flex p:last-child{
    margin-left: 5px;
    
  }
  #fournissieur a.table-flex p:first-child{
    width: 100%;
  }
}