

$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;
}

.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{
    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;
      h3{
        color :#2c4709;
        text-transform:uppercase;
        margin-top:0;
      }

    }


  }
}

.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:0px;
  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{
    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;

  }
  #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;

  .blog_img{
    display:block;
    margin:auto;
    height:100px;
  }
  h2{
    background:transparent;
    font-size:20px;
    color:#2c4709;
    font-weight:bold;
    strong{

      color:#00893f;
    }
  }
  h3{
    text-transform:uppercase;
    font-weight:500;
    margin-bottom:-10px;
    padding-bottom:0;

  }
  #left_actus{
    float:right;
    width:62%;
    h2{
      text-align:center;
    }
  }

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

}

td {
  width: 50%;
  vertical-align: top;
  padding-right: 6px;
}

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

  }
  .description{
    margin-left:280px;
    margin-right:20px;
  }
}

#logo_fondmob {
  display: none;
}


#bottom_actus{
  background:#ececec;
  padding:40px 0;

  .breve{
    width:30%;
    margin:20px 1.5%;
    float:left;
  }
}

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:120px;
  z-index:3;
}

#menu_top{
  position:absolute;
  top:0px;
  left:0;
  right:0;
  left:0;

  min-height:250px;

  background:black;

  padding-top:0px;



  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:center;

  a{
    color:white;
    text-decoration:none;
  }
  #logo_france_rurale{
    margin:auto;
    margin-bottom:10px;
    display:block;
    height:100px;

  }
  .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;
  }
}

.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.text-justify {
    text-align: justify;
}

img{
  max-width:100%;
}

#menu_top {
  .bars {
    display: none;
  }
}

#footer {
  padding: 20px 10px !important;
}

@media screen and (max-width: 880px) {

  //page d'accueil
  #menu_top {
    position: relative;
    top: 0px;
    left: 0;
    right: 0;
    left: 0;
    min-height: 0px;
    padding-top: 0px;
    background: none !important;
    z-index: 5;
    color: white;
    text-align: center;

  }

  #logo_fondmob {
    display: block;
    position: absolute;
    top: 5px;
    left: 20px;
    height: 50px;
    z-index: 3;
  }

  #logo_fond {
    display: none;
  }



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

  #logo_france_rurale {
    width: 240px;
    height: auto !important;
    position: relative;
    top: 5px;
  }

  .menu {
    display: none;
    //display:block;
    position:fixed;
    top:0;
    bottom: 0;
    right: 0;
    left: 0;
    background: dimgrey;
    opacity: 0.96;
    padding: 14% !important;
    a{
      color: rgba(255, 255, 255, 1) !important;
      display: block !important;
      padding: 10px 25px !important;
      font-size: 20px !important;
    }
  }

  #menu_top {
    .menu {
      padding: 15% 5px !important;
      text-align: right;
    }
  }

  .article .description {
    padding: 25px;
  }

  .bars {
    display: block !important;
    position: absolute;
    right: 25px;
    top: 12px;
    font-size: 30px;
    color: #8CBD3A;
    z-index:3;
  }

  .slide_home_wrapper .description {
    height: 0;
    width: 80% !important;
    position: absolute;
    text-align: center;

    #contentdescription {
      display: none;
    }

    h3 {
      font-size: 17px;
    }

    p {
      font-size: 14px;
      padding: 10px;
    }
  }

  .content h3 {
    background-color: rgba(255, 255, 255, 0.5);
    position: absolute;
    bottom: -30px;
    padding: 20px;
    font-size: 15px !important;
  }

  //blog

  .blog_img {
    float: none;
  }

  .actu .img {
    float: none;
    width: 95% !important;
    padding: 10px;
  }

  .actu {
    height: auto !important;
  }

  #actus h2 {
    position: relative;
    font-size: 12px !important;
    padding: 40px;
    text-align: center;
  }

  #left_actus {
    width: 100% !important;

  }

  #right_actus {
    width: 100% !important;
    .description {
      width: 100% !important;
      position: absolute;
      padding: 20px;
    }
  }

  .article {

  }
  //nos magasins

  .columns {
    float: none;
  }

  span {
    font-size: 14px;
  }

  .columns .span_6 {
    padding-bottom: 30px;
  }

  .columns .span_9 {
    width: auto !important;
    padding: 0 30px;
  }

  //actu
  #bottom_actus{
    padding-left: 15px;
    .breve {
      float: none;
      width: 90%;
    }
  }

  //table
  .formulairecontact {
    width: 100% !important;
  }

  #contacts {
    padding-bottom: 90px !important;
  }

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

    img {
      height: 70px !important;
    }
  }

  table {
    padding-left: 20px;
  }


  //pages

  #main_content {
    width: auto;
    top:0;
  }

  .span_6 {
    img {
      padding-bottom: 20px;
      width: 100% !important;

    }
  }

  .rea-gal {
    text-align: center;
  }

  .columns.span_4 {
    width: 100%;
  }
  .columns.span_3 {
      width: auto !important;
      margin-bottom: 5px;
  }

  .center_block {
    .columns.span_4 {
      width: 70%;
      margin-top: 10px;
  }
  }

}
