@media screen and (max-width: 1024px) {
  .width-1024 {
    width: auto;
  }
  #content-footer {
      padding: 10px;
  }
}
@media screen and (max-width: 965px) {
    body {
        padding: 0 10px;
    }
    .home-left,
    .home-right,
    .grid-2,
    .home-content-left,
    .list-valeur,
    .home-content-right,
    .links-box {
        float: none;
        width: 100%;
    }
    .home-right {
        margin-top: 50px;
        position: absolute;
        top: 150px;
        right: 47px;
    }
    .box-circle {
        border-radius: 30px !important;
        -o-border-radius: 30px !important;
        -ms-border-radius: 30px !important;
        -moz-border-radius: 30px !important;
        -webkit-border-radius: 30px !important;
    }
    .box-anniversaire {
        height: auto !important;
    }
    .ctn-valeur {
        min-height: auto;
    }
    .footer {
        padding-bottom: 10px !important;
    }
    .content-document .icon-document {
        float: none;
        width: 100%;
        text-align: center;
        padding-top: 10px;
    }
    .content-document .lien-document {
        float: none;
        margin-left: 0;
        margin-top: 10px;
        margin-bottom: 10px;
        width: 100%;
    }
    .nb-photo-galerie {
        padding-bottom: 20px;
    }
    #form-search {
        position: fixed;
        left: 0;
        right: 0;
        top: 105px;
        bottom: 0;
        z-index: 15;
        display: none;
    }
    #nav-show-hide {
        background: url(../images/icons/nav-white.png) center center no-repeat;
        width: 40px;
        position: absolute;
        right: 10px;
        top: 0;
        bottom: 0;
        cursor: pointer;
    }
    .nav-black {
        background: url(../images/icons/nav.png) center center no-repeat !important;
    }
    #nav {
        float: none;
        margin: 0;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: #4ea584;
        z-index: 17;
        padding-top: 140px;
        margin-top: 0;
        border-radius: 0;
        display: none;
    }
    .show-nav {
        display: block !important;
    }
    #nav a {
        display: block;
        text-align: center;
        float: none;
        padding: 15px 5px;
        margin: 5px 20px;
    }
    #close-nav {
        background: url(../images/icons/close-box-search.png) center center no-repeat;
        width: 40px;
        height: 40px;
        position: absolute;
        top: 45px;
        right: 42px;
        cursor: pointer;
    }
}
@media screen and (max-width: 460px) {
    .grid-3, .box-montant,
    .details-left, .details-right, .details-article,
    .autre-article {
        float: none;
        width: auto;
    }
    
    .details-right {
        margin-top: 20px;
    }
    .box-devise, .box-symbol-devise,
    .item-list-mode-paiement{
        width: 50%;
    }
    .content-article,
    .content-galerie {
        height: auto;
    }
    
    .item-list-lib-service {
        width: 50%;
        margin-bottom: 0;
    }
    .field-l,.field-r {
        float: none;
        width: 100%;
    }
    .onglet {
        font-size: 12px;
    }
    #vdsv-error-form div {
        font-size: 9px;
    }
    .box-menu-foot,
    .left-container,
    .ctn-pp,
    .sidebar,
    .photo-infos-pp,
    .infos-pp {
        float: none;
        width: auto;
    }
    .sidebar,
    .infos-pp {
      margin-top: 10px;
    }
    .pas-de-pp {
      padding: 20px;
    }
    .formulaire-pp {
      z-index: 10;
      position: fixed;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      width: 100%;
      background: #ffffff;
      overflow: scroll;
      display: none;
    }
    .close-form-pp {
      position: absolute;
      right: 5px;
      top: 0;
      bottom: 0;
      width: 40px;
      background: url(../images/icons/close-box-search.png) center center no-repeat;
      cursor: pointer;
    }
    #icon-form-add-pp {
      display: block;
    }
}
