#page {
    z-index: 1;
}

@media
    only screen and (-webkit-min-device-pixel-ratio: 2),
    only screen and (min--moz-device-pixel-ratio: 2),
    only screen and (-o-min-device-pixel-ratio: 2/1),
    only screen and (min-device-pixel-ratio: 2) {
        #logo{
          width: 20%;
        }
    }
@media (max-width:1175px){
  #searchform div{margin: 0;}
}
@media (max-width:980px){
  .img-responsive, .thumbnail > img, .thumbnail a > img, .carousel-inner > .item > img, .carousel-inner > .item > a > img{
  	width: 50%;
      margin-bottom: 20px;
  }
  #div_contact_accueil #coord_accueil {
    background-color: #ed4029;
    color: white;
    height: 105px;
    margin-top: 12px;
    padding-left: 0;
    width: 100%;
  }
  #div_contact_accueil #coord_accueil div {
      display: block;
      float: left;
      margin-left: 10px;
      margin-top: 15px;
  }
  .navbar .nav ul.dropdown-menu{
    position: relative;
  }
  .navbar-collapse.in{
    overflow: inherit;
  }
  .dropdown-menu li a{
    text-align: center;
  }
  #div-menu ul.dropdown-menu li{
    margin: 0;
    padding: 10px 0;
    height: auto;
  }
  #div-menu ul.dropdown-menu li img{
    display: none;
  }
  /********************MENU*****************/
  #searchform{
    position: absolute;
    right: 10px;
    top: 15px;
  }
  #searchform div{
    margin-right: inherit;
    margin-top: 10px;
  }
  #searchform input[type=text]{
    display: inline-block;
  }
.dropdown-menu li a:hover{background: inherit;}
  #div-menu{
    height: auto;
  }

  #div-menu ul{
    width: 100%;
    height: auto;
  }

  #div-menu ul li{
    width: 100%;
    height: auto;
  }

  #div-menu ul.dropdown-menu li{
    text-align: left;
    padding-left: 10px;
  }

  #div-menu ul.dropdown-menu li img{
      margin-right: 10px;
  }

  .icon-bar{
    background: white;
  }

  .navbar-toggle{
    border: 1px solid white;
  }

  .menu-toggle:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover, article.post-password-required input[type=submit]:hover{
    background: none;
  }

  #div-slogan-search{
    position: initial;
  }

  .navbar-toggle{
    left: 10px;
        position: absolute;
        top: 15px;
        width: 44px;
  }

  /********************ACCUEIL*****************/
  #div-videos-accueil{
    height: auto;
  }

  #ul_certifications li:nth-child(even){
  	margin-right: 0;
  }

  #accueil .video{
    margin: auto;
  }

  /*****************BATIMENTS*****************/

  #sous-batiments .div-img-top img{
    width: 100%;
    margin-bottom: 10px;
  }

  /****************DESINSECTISATION*************/
  #desinsectisation .img-responsive{
    max-width: 50%;
    margin-bottom: 20px;
  }
  #desinsectisation .row-insectes div {
	text-align: center;	  
  }
  #desinsectisation .row-insectes div a {
	display: inline-block;
	height: 120px !important;
    width: 240px;
  }


  /****************DETAIL INSECTE*************/

  #detail-insecte .div-detail{
    display: inline-block;
  }

  #detail-insecte .div-img{
    padding-top: 20px;
  }

  .div-detail img{
    max-width: 50%;
  }

  /****************DETAIL RAT*************/
  #detail-rat .jcarousel ul {
      width: 20000em;
      position: relative;
  }

  #detail-rat .jcarousel li {
      float: left;
  		display: block;
  }

  #detail-rat .jcarousel-control-prev,#detail-rat .jcarousel-control-next{
  	display: block;
  }

  #detail-rat .div-detail{
    display: inline-block;
  }

  #detail-rat .div-img{
    padding-top: 20px;
  }


  /********************FOOTER*****************/
  #footer{
    height: inherit;
    text-align: center;
  }
  #footer .widget_nav_menu li{
    text-align: center;
  }
  #site-navigation {
    background: rgba(0, 0, 0, 0) url("../img/header.jpg") no-repeat scroll 0 0 / 230% auto;
    font-family: "Roboto";
    margin-bottom: 0;
  }
  #footer .menu-item-type-custom{
    border-right: 1px solid white;
    margin: 10px auto;
    padding-right: 10px;
    position: relative;
    right: 0;
    width: 50%;
  }
  #footer .menu-item-object-custom:last-child {
    border-right: medium none;
    padding-left: 10px;
    padding-right: 0;
    position: relative;
    right: 0;
  }
  #coccinet {
    bottom: 0;
    color: white;
    font-size: 12px;
    position: relative;
  }
  #sous-batiments .img_cote{float: none; margin-bottom: 20px;}
}
@media (max-width:600px){
  #searchform {
    position: absolute;
    right: 10px;
    top: 165px;
    width: 100%;
}
  #div-slogan-search{
    height: 160px;
  }
  #searchform input[type="text"] {
    border-radius: 0;
    height: 24px;
    opacity: 0.8;
    padding: 0;
    width: 190px;
  }
}
@media (max-width:400px){
  #searchform input[type="text"] {
    width: 190px;
  }
  #div_contact_accueil #pro_part {
      background-color: rgba(255, 255, 255, 0.8);
      color: black;
      height: auto;
      padding-top: 7px;
      text-align: center;
      width: 100%;
      padding-left: 0;
  }
  #searchform {
  position: absolute;
  right: 10px;
  top: 135px;
  }
  #coccinet {
    bottom: 10px;
    clear: left;
    color: white;
    font-size: 12px;
    position: relative;
    width: 120px;
    margin: 0 auto;
    right: 0;
  }

}
