body {
    background-color: #f5f5f5;
    margin: 0 auto;
    padding: 0;
    height: 100%;
}

.structure {
    position: relative;
}

.structure.grid {
    display: grid;
    grid-template-columns: 1fr 320px;
}

.col-gauche {
    background-color: #fff;
    overflow: hidden;
}

.col-droite {
    background-color: #ebebeb;
    min-height: 2482px;
}

.breadcrumb, .footercontainer {
    margin: 0 calc(-50vw + 50%);
    padding: 0 calc(50vw - 50%);
}

.navbar-bouton-apple {
    background-color: #0099FF;
    border: none;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    display: inline-block;
    color: #ffffff;
    font-size: 14px;
    line-height: 16px;
    padding: 8px 12px;
    margin-top: 9px;
    -webkit-appearance: none;
}

.navbar-bouton-apple:hover {
    background-color: #008eec;
    color: #ffffff;
    text-decoration: none;
}

.navbar-bouton-apple:active {
    background-color: #0083db;
}

.navbar-bouton-refurb {
    background-color: #1BB120;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    display: inline-block;
    color: #ffffff;
    font-size: 14px;
    line-height: 16px;
    padding: 8px 12px;
    margin-top: 9px;
}

.navbar-bouton-refurb:hover {
    background-color: #0fa814;
    color: #ffffff;
    text-decoration: none;
}

.navbar-bouton-refurb:active {
    background-color: #09940d;
}

.navbar-indicateur {
    font-weight: 900;
    font-size: 18px;
    vertical-align: -3px;
    padding-right: 2px;
}

#lien_comparateur, #lien_comparateur:hover {
    display: block;
    margin: 20px 0;
    text-decoration: none;
    cursor: pointer;
}

.lien_comparateur {
    color: #fff;
    text-align: left;
    font-size: 16px;
    line-height: 22px;
    margin: 0 20px 20px 20px;
    padding: 20px;
    border-radius: 4px;
    position: relative;
    background: repeating-linear-gradient(60deg, #272727, #272727 35px, #2d2d2d 35px, #2d2d2d 70px);
}

#lien_comparateur:hover .lien_comparateur {
    background: repeating-linear-gradient(60deg, #212020, #212020 35px, #272727 35px, #272727 70px);
}

.lien_comparateur i {
    border: solid white;
    border-width: 0 4px 4px 0;
    height: 20px;
    width: 20px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    margin: auto;
}

.lien_comparateur #label {
    width: 40px;
    position: absolute;
    top: -4px;
    bottom: -4px;
    left: 20px;
    border: 2px solid #212020;
    border-radius: 2px;
    text-align: center;
    display: inline-block;
    background-color: #F00;
    background-image: url("/images/apple.png");
    background-repeat: no-repeat;
    background-size: 34px 34px;
    background-position: center;
}

.lien_comparateur_message {
    padding-left: 60px;
    padding-right: 30px;
    color: #fff;
    font-size: 16px;
}

.lien_comparateur .right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

a.bandeaucomparateur {
    padding: 10px 20px;
    background-color: #fffdbe;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: 20px;
}

a.bandeaucomparateur:hover {
    text-decoration: none;
}

.bandeaucomparateur p {
    color: #505050;
    line-height: 24px;
    font-weight: bold;
    align-self: center;
    cursor: pointer;
}

a.bandeaucomparateur:hover p {
    color: #000;
}

.bandeaucomparateur i {
    color: #fff;
    font-size: 24px;
    border: 2px solid #5d5d5d;
    border-radius: 50%;
    background: #5d5d5d;
    width: 24px;
    height: 24px;
    text-align: center;
    align-self: center;
    cursor: pointer;
}

.bandeaucomparateur i::before {
    padding-left: 2px;
}

#avertissement_bannieres {
    display: none;
    margin-bottom: 20px;
    padding: 20px 20px;
    background: #e40000;
    text-align: center;
    font-weight: bold;
    color: #fff;
    border-radius: 4px;
}

@media screen and (max-width: 1122px) {
    .navbar-bouton-apple {
        margin-right: 10px;
    }
}

@media screen and (max-width: 998px) {
    .navbar-bouton-apple {
        margin-right: 10px;
    }

}

@media screen and (max-width: 998px) {
    .col-droite {
        display: none;
    }

    .structure.grid {
        grid-template-columns: 1fr;
    }
}

/* Évite le zoom sur les formulaires sur iOS */
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 1024px) {
    select,
    input,
    textarea,
    .reaction-formulaire textarea  {
        font-size: 16px;
    }
}

@media screen and (max-width: 560px) {
    #boutonsdroite {
        display: none;
    }

    #boutonsproduits {
        display: block !important;
    }

    .navbar-indicateur {
        padding-right: 1px;
    }

    .lien_comparateur #label {
        left: 10px;
    }

    .lien_comparateur_message {
        padding-left: 40px;
    }
}

@media screen and (max-width: 500px) {
    .lien_comparateur {
        margin-left: 14px !important;
        margin-right: 14px !important;
    }
}

/* Footer */
.breadcrumb {
    font-size: 12px;
    background-color: #e7e7e7;
    line-height: 26px;
    color: #666;
    overflow: hidden;
    font-weight: bold;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 10px;
}

.breadcrumb i {
    padding-right: 5px;
}

.breadcrumb a {
    color: #333;
    padding-right: 5px;
}

.breadcrumb span {
    color: #666;
}

.breadcrumb #currentcountry a {
    color: #000;
}

.breadcrumb #currentcountry a:hover {
    text-decoration: underline;
    cursor: pointer;
}

.footercontainer {
    background-color: #414043;
    overflow: hidden;
}

.footer {
    color: #fff;
    font-size: 13px;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: 54px;
}

.footer > div {
    align-self: center;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-copyright-liens {
    padding-left: 10px;
    display: inline-block;
    position: relative;
    margin-left: 10px;
}

.footer-copyright-liens:before {
    background-color: #fff;
    content: "";
    display: block;
    margin-top: -8px;
    top: 50%;
    left: 0;
    position: absolute;
    width: 1px;
    height: 16px;
}

.footer-social a {
    font-size: 18px;
}

.footer-social a:hover {
    text-decoration: none;
}

.footer-social a:hover i {
    filter: brightness(90%);
}

.footer-social a:not(:first-child) {
    margin-left: 18px;
}

@media screen and (max-width: 1122px) {
    .breadcrumb, .footercontainer {
        padding-left: 14px;
        padding-right: 14px;
    }
}

@media screen and (max-width: 780px) {
    .footer {
        display: block;
    }

    .footer-copyright, .footer-social {
        line-height: 24px;
        text-align: center;
        margin: 20px 14px;
    }

    #footer-copyright-text {
        display: block;
    }

    #link-break {
        margin: 0;
        padding: 0;
    }

    #link-break:before {
        content: none;
    }
}

/* ads */
.slot-header, .slot-home, .slot-product, .slot-comp, .slot-post-top,
.slot-post-bottom, .slot-halfpage-1, .slot-halfpage-2, .slot-footer {
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
}

.slot-header, .slot-home, .slot-product, .slot-comp, .slot-post-top,
.slot-post-bottom, .slot-footer {
    max-width: calc(100% - 40px);
}

.slot-halfpage-1, .slot-halfpage-2 {
    max-width: calc(100% - 20px);
}

/* first one on all pages */
.slot-header {
    margin: 20px;
}

/* just above refurb */
.slot-home {
    margin: 40px 20px;
}

/* before the post's text, only on mobile */
.slot-post-top {
    margin: 0 0 20px;
    max-width: 100%;
}

/* after the post's text */
.slot-post-bottom {
    margin: 40px 20px;
}

/* banners after 2 of the sections */
.slot-product {
    margin: 20px 40px 40px;
}

/* bottom of shop */
.slot-comp {
    margin: 20px;
}

/* last one on all pages */
.slot-footer {
    margin: 20px;
}

/* sidebar */
.slot-halfpage-1 {
    margin: 20px 10px;
}

.slot-halfpage-2 {
    margin: 0 10px 20px;
    position: sticky;
    top: 70px;
}

@media screen and (max-width:500px) {
    .slot-post-bottom {
        margin-left: 14px;
        margin-right: 14px;
        max-width: calc(100% - 28px);
    }
}

@media screen and (max-width: 767px) {
    .slot-desktop {
        display: none;
    }
    .slot-header {
        margin: 40px 20px 20px;
    }
    .slot-footer {
        margin: 20px 20px 40px;
    }
}
@media screen and (min-width: 768px) {
    .slot-post-top {
        display: none;
    }
}
