

$orange: #FF931E;

$blue: #2BAADA;
$dark_orange: #E94F25;
$title_font : "Lato", sans-serif;
$sans_serif_font:"Lato", Arial, sans-serif;
$serif_font : "Roboto Slab", serif;
$cursive_font : 'Galada', cursive;

@import "jquery.bxslider";


@import "redactor";

@import "fontawesome/font-awesome";
@import "qi_grids";
@import "popover";


@import "public/flexslider";


@import "vendor/flipclock";
@import "vendor/jquery.cookiebar";


body{
  padding:0;
  font-family:lato;
  width:100%;
  margin:0;
}


img{
  max-width:100%;
}

.slide_home_wrapper{
  position:relative;
  background:no-repeat center center;
  background-size:100%;
  background-size:cover;
  a{
    text-decoration:none;
  }
  #cinquante{
    position:absolute;
    bottom:0px;
    left:0;
    width:300px;
    z-index:3;
  }
  .bx-wrapper{
    margin:0;
  }

  .bx-controls{
    position:absolute;
    bottom:40px;
    left:0;
    right:0;

  }

  .slide{
    .link_overlay{
      position:absolute;
      top:0;
      left:0;
      right:0;
      bottom:0;
    }
    position:relative;
    .description{
      position:absolute;
      bottom:50px;
      right:50px;
      background:rgba(255,255,255,0.85);
      width:590px;

    }
    .logo{
      position:absolute;
      top:30px;
      left:30px;
      width:135px;

    }
    .content{
      text-decoration:none;
      padding:20px 30px;
      padding-bottom:50px;
      color:black;
      font-size:1em;

    }


  }
}

.slide{
  background:no-repeat center center;
}

.clear{
  clear:both;
}
.center{
  max-width:1010px;
  margin:auto;
}
.btn{
  display:inline-block;
  width:auto !important;
  text-transform:uppercase;
  color:black;
  border:2px solid black !important;
  padding:6px 12px;
  margin:0 5px;
  text-decoration:none;
  cursor:pointer;
}

h1{
  background:no-repeat bottom center;
  text-align:center;
  background-image:url('/bottom-lines.png');
  background-size: 225px;
  padding-top:20px;
  padding-bottom:10px;
  margin-bottom:30px;
  margin-top:0;
  text-transform:uppercase;
  font-weight:500;


}

#main_content{
  margin:auto;
  max-width:940px;
  padding:20px 30px;
  padding-top:0;
  width:100%;
  min-height:600px;
  position:relative;
  z-index:2;
  top:-68px;
  background:rgba(255,255,255,1);
}

#bottom_lines{
  width:100%;
  height:4px;
  display:block;
}
#footer{
  margin-top:50px;
  padding:20px 0;
  background:no-repeat top right;
  background-color:#4D4D4D;
  background-image:url('/lines.png');
  background-size: auto 100%;
  h2{
    color:white;
  }

  fieldset{
    border:0;
    padding:0;
    margin:0;

  }

  table{
    width:600px !important;
    max-width:100%;
    border-collapse:collapse;
    td{
      padding-bottom:12px;
    }
  }

  input, textarea{
    box-sizing:border-box;
    padding:12px 15px;
    font-size:1em;
    width:100%;
    border:0;


  }
  .error{
    color:red;
  }
  .submit{
    width:600px;
    max-width:100%;
    text-align:right;
    padding:14px 0;
    padding-top:0px;

  }

  .btn{
    border-color:white !important;
    color:white;
    background:transparent;
  }
}

#sub_footer{
  padding: 0 30px;
  padding-right:20px;
  text-align:right;
  a{
    text-decoration:none;
    color:inherit;
  }
  i{
    width:17px;
    display:inline-block;
  }
  p{
    padding:0;
    margin:0;
  }

  #place,#contacts{
    display:inline-block;
    padding:25px 0;
    font-size:14px;
    color:rgba(0,0,0,0.6);
    line-height:19px;
    text-align:left;
    padding-top: 35px !important;

  }
  #contacts{
    padding-right:50px;
  }
  #place{
    padding-right:35px;
  }

  #logos{
    padding:15px 0;
    float:left;

    img{
      height:90px;
      margin:0 10px;
    }
  }
}
#actus{
  padding:20px 0;
  padding-bottom:50px;

  h3{
    text-transform:uppercase;
    font-weight:500;
    margin-bottom:-10px;
    padding-bottom:0;

  }
  #left_actus{
    float:left;
    width:65%;
  }

  #right_actus{
    float:left;
    width:35%;
  }

}

.actu{
  .img{
    float:left;
    width:260px;
    background:center center no-repeat;

  }
  .description{
    margin-left:280px;
    margin-right:20px;
  }
}
h2{
  background:no-repeat bottom left;

  background-image:url('/bottom-lines.png');
  background-size: 225px;
  padding-top:20px;
  padding-bottom:10px;
  margin-bottom:10px;
  margin-top:0;
  text-transform:uppercase;
  font-weight:500;


}



#logo_fond{
  position:absolute;
  top:0;
  left:0;
  height:190px;
  z-index:3;
}

#menu_top{
  position:absolute;
  top:0px;
  left:0;
  right:0;
  min-height:100px;

  background:black;
  padding-right:20px;
  padding-top:30px;



  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.25) 30%,rgba(0,0,0,0) 100%);


  z-index:2;
  color:white;

  text-align:right;

  a{
    color:white;
    text-decoration:none;
  }
  .sub_menu{
    font-size:0.8em;
    opacity:0.7;
    padding-right:10px;

  }
  .menu{
    padding:5px 0;
    a{
      display:inline-block;
      padding:5px 10px;
      font-weight:500;
      font-size:1.2em;
      text-transform:uppercase;

    }
    .devis{
      background:#f2930d;
    }
  }
}

.breve{
  color:black;
  text-decoration:none;
  font-size:1.2em;

  .color{
    height:1em;
    width:5px;
    position:relative;
    top:2px;
    background:black;
    display:inline-block;

  }

  border-bottom:1px dashed rgba(0,0,0,0.9);
  padding-bottom:10px;
  margin-bottom:10px;

}
.product_icon{
  text-align:center;
  img{
    height:120px;
    margin:10px 5px;
  }
  padding-bottom:30px;
}
#products{

  a{
    text-decoration:none;
  }
  h2{
    background-position:center bottom;
    text-align:center;

  }
  text-align:center;
  img{
    height:100px;
    margin:10px 5px;
  }
}

.menu_outer {
  display: none;
}

.bars {
  display:none;
}

#groupepayreid img{
  height: 110px !important;
}

.imgpayre {
  position: relative;
  bottom: 10px;
}

// medias queries

@media screen and (max-width: 1023px) {
  .sub_menu {
    display: none;
  }

  #logo_fond {
    max-width: 150px;
    width: 30%;
    height: auto;
  }

  .menu {
    display: none;
  }

 //menu

  .main.row-fluid .btn {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin: 30px !important;
  }

  .bars {
    display: block;
    z-index: 300;
    font-size: 30px;
    color: #F29125;
    z-index:111;
    position:fixed;
    top:10px;
    right:10px;

  }

  table {
    font-size: 11px;
    span {
      font-size: 12px !important;
    }
  }


#menu_top{
  position:static;
  min-height:0;
  padding:0;
}

.suppmenu {
  display: none;
}
.menu_outer{
  //display:block;
  display: none;
    position:fixed;
    top:0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(50,50,50,0.90);
    padding: 14% !important;
    z-index: 3;
  .menu {
    display: block;
  }
}

  .menu {




    a{
      color: rgba(255, 255, 255, 1) !important;
      display: block !important;
      padding: 10px 25px !important;
      font-size: 20px !important;
    }
  }

  .content {
    display: none;
  }

  #cinquante {
    width: 150px !important;
  }

  .main.row-fluid {
    p {
      padding: 0 30px;
    }

    .btn {
      margin: 5px;
    }
  }
  .columns.span_10 {
    width: 100%;
 }

  .row {
    img {
      max-width: 150px;
    }
  }

  .img.image_content{
    top: 40%;
    left: 30%;
    transform: translate(180%, -15%);

  }

  //formulaire

  #footer table {
    width: 100% !important;
    max-width: auto;
    border-collapse: collapse;
  }

  #footer .submit {
    width: auto;
    max-width: auto;
  }

  .center {
    margin: 20px;
  }

  #footer {
    margin-top: 0px;
  }

  // articles
  .actu .description {
    margin-left: 0px;
    margin-right: 0px;
  }
  #actus #left_actus {
    float: left;
    width: 100%;
}
  .actu .img {
    float: none;
    width: 100%;
    background: center center no-repeat;
  }

  .img.with_ratio {
    background-size: contain !important;
    margin-top: 20px;
  }

  #actus #right_actus {
    float: center;
    width: 100%;
  }

  .breve {
    margin-top: 20px;
  }


  #sub_footer #contacts {
    padding-right: 50px;
  }
  //pour les particuliers
  #main_content {
    padding: 0px;
    position: static;
  }

  h1 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .columns.span_4 {
    width: 100%;
  }

  .row {
    margin-top: 20px;
  }

  .expandable_image {
    img {
      margin-top: 20px;
    }
  }

  .columns.span_3 {

    .img.image_content {
    top: 40%;
    left: 30%;
    transform: translate(0%, -15%);
    padding: 0;
    }
    img {
      margin-top: 0px;
      height: auto !important;
      margin-left: 3px;
      width: 70px;
      margin-top: 20px;
    }

  .columns {
    box-sizing: border-box;
    float: center;
    display: inline-block;
    }
  }

  #sub_footer {
    padding: 5px 0 !important;
    text-align: center;

    #logos {
      padding: 20px;
      img {

      }
    }

    #place, #contacts {
      padding-right: 10px !important;
      padding-left: 10px !important;
      padding-top: 0px !important;

    }

    img {
      height: 70px !important;
    }
  }

  #groupepayreid img{
      height: 90px !important;
      display: block;
      margin: 0 auto !important;
      padding-bottom: 20px;
    }

  tbody {
    width: 100% !important;
  }
}

@media screen and (max-width: 1023px) {
  #sub_footer #logos {
    float: none;
  }
}


//@media screen and (min-width: 875px) {
//  #sub_footer #place, #sub_footer #contacts {
//    display: block;
//    //position: relative;
//    //left: 15%;
//  }
//}
