/* TABLETTES */
@media screen and (max-width: 768px){
*, body{
  box-sizing: border-box;
}
#container{
  width: 90%;
  margin: 0 auto;
      overflow: hidden;
}

#header {
	background: url(/images/bg-menu.png);
	height: 158px;
}
#top {
width: 90%;
height : 11px;
margin : 0 auto;
}

#footer {
background : url(/images/footer.jpg) repeat-x;
background-color: #d1dbdd;
height : 90px;
padding: 20px 0;
text-align: center;
}
#content {
	min-height: 425px;
	border: medium none;
}
#footer p {
color : #393996;
font : 11px Arial, Helvetica, sans-serif;
margin : 0 auto;
width: 90%;
}



  /* #contenu-left */
  #contenu-left{
    width: 100%;
    float: none;
    text-align: center;
  }
#contenu-left h3{
  text-align: center !important;
  width: 100% !important;
}
  #contenu-left #activite{
    width: 100%;
    display: inline-block;
    float: left;
  }
  #contenu-left #activite-contact{
    width: 100%;
    height: 100%;
    float: left;
    display: inline-block;
  }
  #contenu-right{
    width: 100%;
    float: none;
  }
  #contenu-right h1{
    float: none;
    text-align: center;
    margin-top: 0px;
  }
  #photos-left{
    position: static;
  }
  #photos-right{
    position: static;
  }
  .linklist{
    list-style: none;
    text-align: center;
  }
  .linklist p{
    text-align: center !important;
    width: 100%;
    padding: 10px 0;
  }
  /* PAGE FINASUCRE */
  #aujourdhui-right{
    float: left !important;
    max-width: 100%;
  }

  #contenu-financier-right{
    float: left;
  }

  #contenu-financier-right{
    width: 100%;
    padding: 0 20px;
  }

  #contenu-financier-left, #contenu-financier-left .etat-f,#contenu-financier-left .etat-c{
    width: 100%;
    padding: 0 10px;
  }
  #contenu-contact-left{
    width: 100% !important;

  }
  #map_canvas{
    width: 100% !important;
  }
}


/* 414 PX */

@media screen and (max-width: 414px){
  #logo{
    max-width: 160px;

  }

  .responsive-menu{
    position: absolute;
    height: 46px;
    width: 50px;
    position: absolute;
    top: -50px;
    right: -0px;
    border:1px solid #c8c8e1;
  }

  #menu:before{
    content: attr(data-content) '\f0c9';
    font-family: 'FontAwesome';
    color: #c8c8e1;
    font-size: 24px;
    padding: 10px;
    text-align: center;
    display: block;
    height: 25px;
    width: 30px;
    border: 1px solid #c8c8e1;
    position: absolute;
    top: -50px;
    right: -1px;
  }

  #photos-left{
    width: 100%;
  }

  #contenu-right .societe{
    width: 100%;
  }

  #photos-right{
    width: 100%;
  }

  #contenu-right .rapport{
    width: 100%;
  }

  #aujourdhui-left{
    float: none;
    width: 100%;
  }

  #contenu-financier-left .etat-f{
    min-height: 228px;
  }

  #contenu-financier-left .etat-f .telechargement a{
    margin-top: -30px;
  }

  #contenu-financier-left .etat-c{
    min-height: 100px;
  }


  #contenu-contact-right {
    float: left;
    margin-top: 53px;
    width: 100%;
  }

  form {
    margin-top: 33px;
    width: 100%;
  }
  form.contact_form p {
    color: gray;
    font: 13px Arial, Helvetica, sans-serif;
    text-align: justify;
    float: none;
    overflow: hidden;
    padding: 0 2px 1px 3px;
    width: 100%;
  }

  form.contact_form p input[type="text"] {
    background: url("/images/input.jpg") no-repeat scroll 0 0 transparent;
    border: 1px solid #E0E0E0;
    color: #7F7F7F;
    font: 14px Arial,Helvetica,sans-serif;
    height: 23px;
    width: 100%;
  }

  form.contact_form p.p_demandes {
    color: #808080;
    font: 13px Arial,Helvetica,sans-serif;
    text-align: justify;
    overflow: hidden;
    width: 100%;
  }

  form.contact_form p textarea {
    background: url("/images/textarea.jpg") no-repeat scroll 0 0 transparent;
    border: 1px solid #E1E1E1;
    height: 84px;
    width: 100%;
    resize: none;
  }

  #contenu-contact-right form.contact_form p.btn {
    color: gray;
    font: 13px Arial, Helvetica, sans-serif;
    text-align: justify;
    float: right;
    padding: 5px;
    width: 100%;
  }

  .submit {
    background: #f5a520;
    border: medium none;
    color: #fff;
    cursor: pointer;
    display: block;
    font: 14px Arial, Helvetica, sans-serif;
    height: 30px;
    width: 100%;
  }

  .content-gallery {
  	color: #777;
  	font: 12px/1.4 "helvetica neue", arial, sans-serif;
  	width: 100% !important;
  }
}

/* 320 PX */

@media screen and (max-width: 320px){
  #logo{
    max-width: 160px;
    padding: 0;
    margin: 0;
  }
  #logo img{
    max-width: 160px;
    height: 60px

  }
  #logo p{
    width: 100%;
  }
  .responsive-menu{
    position: absolute;
    height: 46px;
    width: 50px;
    position: absolute;
    top: -50px;
    right: -0px;
    border:1px solid #c8c8e1;
  }
  #menu{
    width: 120px;
  }
  #menu:before{
    content: attr(data-content) '\f0c9';
    font-family: 'FontAwesome';
    color: #c8c8e1;
    font-size: 24px;
    padding: 10px;
    text-align: center;
    display: block;
    height: 25px;
    width: 30px;
    border: 1px solid #c8c8e1;
    position: absolute;
    top: -50px;
    right: -1px;
  }

  #photos-left{
    width: 100%;
  }

  #contenu-right .societe{
    width: 100%;
  }

  #photos-right{
    width: 100%;
  }

  #contenu-right .rapport{
    width: 100%;
  }

  #aujourdhui-left{
    float: none;
    width: 100%;
  }

  #contenu-financier-left .etat-f{
    min-height: 228px;
  }

  #contenu-financier-left .etat-f .telechargement a{
    margin-top: -30px;
  }

  #contenu-financier-left .etat-c{
    min-height: 100px;
  }


  #contenu-contact-right {
    float: left;
    margin-top: 53px;
    width: 100%;
  }

  form {
    margin-top: 33px;
    width: 100%;
  }
  form.contact_form p {
    color: gray;
    font: 13px Arial, Helvetica, sans-serif;
    text-align: justify;
    float: none;
    overflow: hidden;
    padding: 0 2px 1px 3px;
    width: 100%;
  }

  form.contact_form p input[type="text"] {
    background: url("/images/input.jpg") no-repeat scroll 0 0 transparent;
    border: 1px solid #E0E0E0;
    color: #7F7F7F;
    font: 14px Arial,Helvetica,sans-serif;
    height: 23px;
    width: 100%;
  }

  form.contact_form p.p_demandes {
    color: #808080;
    font: 13px Arial,Helvetica,sans-serif;
    text-align: justify;
    overflow: hidden;
    width: 100%;
  }

  form.contact_form p textarea {
    background: url("/images/textarea.jpg") no-repeat scroll 0 0 transparent;
    border: 1px solid #E1E1E1;
    height: 84px;
    width: 100%;
    resize: none;
  }

  #contenu-contact-right form.contact_form p.btn {
    color: gray;
    font: 13px Arial, Helvetica, sans-serif;
    text-align: justify;
    float: right;
    padding: 5px;
    width: 100%;
  }

  .submit {
    background: #f5a520;
    border: medium none;
    color: #fff;
    cursor: pointer;
    display: block;
    font: 14px Arial, Helvetica, sans-serif;
    height: 30px;
    width: 100%;
  }

  .content-gallery {
  	color: #777;
  	font: 12px/1.4 "helvetica neue", arial, sans-serif;
  	width: 100% !important;
  }

  #footer{
    height: 120px;
  }
}

/* SURCHARGE DU DESIGN DE BASE */
#news #animation .all_news_home{
  background: none !important;
  background-color: rgba(255,255,255,0.6) !important;
  border: 1px solid #c8c8e1 !important;
}

#news #animation .all_news_home .jcarousel-skin-tango .jcarousel-item{
  padding-left: 20px;
}

#news #animation .all_news_home .cycle-slide:first-child{
  width: 49%;
  margin-right: 1%;
  float: left;
}
#news #animation .all_news_home p.finasucre_news{
  width: 49%;
  float: left;
  margin-right: 1%;
}

#news #animation .all_news_home .jprev{
  position: absolute;
  top: 45%;
  left: 0px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: url("../../images/jprev.png") repeat scroll 0 0 transparent;
}

#news #animation .all_news_home .jnext{
  position: absolute;
  top: 45%;
  right: 0px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: url("../../images/jnext.png") repeat scroll 0 0 transparent;
}

#cycle{
  margin: 42px;
}

.cycle-slide{
  width: 100%;
}

/* SURCHARGE DU DESIGN DE BASE */

@media screen and (max-width: 960px){
  .historique{
    overflow: scroll !important;
  }
  #contenu-history{
    width: 100%;
  }
  #aujourdhui-left {
    width: 289px;
    float: left;
    height: 350px;
    background: url(/images/bg-aujourdhui.jpg) no-repeat;
    background-size: 100%;
    margin: 10px;
    padding: 0px 30px 0 10px;
}

  form.contact_form p input[type="text"] {
    background: url("/images/input.jpg") repeat-x scroll 0 0 transparent;
    border: 1px solid #E0E0E0;
    color: #7F7F7F;
    font: 14px Arial,Helvetica,sans-serif;
    height: 23px;
    width: 100%;
}
  #news{
    height: 521px !important;
    background: url(/images/news-bg.png) no-repeat center;
    margin: 0 auto;
  }
  #news #animation .all_news_home {
  	background: url('/images/anim-bg0.png') no-repeat transparent;
  	position: relative;
  }
  #animation{
    width: 100% !important;
    min-height: 400px !important;
  }

  #news #animation .all_news_home{
    width: 100% !important;
    min-height: 400px !important;
  }

  .finasucre_news{
    display: block;
    float: none !important;
    width: 100% !important;
    margin-bottom: 30px;
  }
  #photos-left,#photos-right, #contenu-right .rapport, #contenu-right .societe{
    width: 100% !important;
  }

  /* MENU */
    #menu{
  		position: relative;
      width: 20%;
  	}

    #menu ul{
      position: absolute;
      display: none;
      right: 0;
      background-color: #fff;
      z-index: 999999;
      border: 1px solid #c8c8e1;
      top: 25px;
      right: -10px;
    }

    #menu ul.toggleMenu{
      position: absolute;
      display: block;
      right: 0;
      background-color: #fff;
      z-index: 999999;
      border: 1px solid #c8c8e1;
      top: 5px;
      right: -10px;
    }

    .responsive-menu{
      position: absolute;
      height: 46px;
      width: 50px;
      position: absolute;
      top: -50px;
      right: -9px;
      border:1px solid #c8c8e1;
      cursor: pointer;
    }

    #menu:before{
      content: attr(data-content) '\f0c9';
      font-family: 'FontAwesome';
      color: #c8c8e1;
      font-size: 24px;
      padding: 10px;
      text-align: center;
      display: block;
      height: 25px;
      width: 30px;
      border: 1px solid #c8c8e1;
      position: absolute;
      top: -50px;
      right: -10px;
    }
    #menu ul li{
      display: block;
      text-align: center;
      border-bottom: 1px solid #c8c8e1;
      padding: 0;

    }

    #menu ul li.active a, #menu ul li a:hover{
      display: block;
      padding: 10px;
      border-bottom: none;
    }

    #menu ul li a {
      display: block;
      width: 200px;
      padding: 10px 0;
      border: none;
    }
}
