/*
 Copyright © Sothys Paris - All Rights Reserved. You may not use, distribute or modify this code
 without a written agreement with Sothys Paris. Please contact us at www.sothys.com for any
 license inquiry.

Created on Netbeans 11.1
User : Paul Rosier (PAR)
Date : 10/00/2020
Time : 17:28:16
*/

.card .services img{
    height:88px;
    width: auto;
    margin-bottom: 25px;
}

.card--reassurance .card__content * {
    color: #fff;
}

@media (max-width: 768px) {
    .card .services img {
        height:45px;
        margin-bottom: 0;
    }

    .card--reassurance .card__content * {
        color: #394147;
    }
}

/*
 * Select filters on product pages
 */
label.label__categorie-selector,
label.label__beauty-selector,
label.label__subcategory-selector,
label.label__skintype-selector,
label.label__productGroup-selector,
label.label__continent-selector,
label.label__country-selector {
    color: #000;
    opacity: 0.6;
    padding: 5px 10px 5px 28px;
    display: block;
    transition: all 250ms ease-in-out;
}

label.label__categorie-selector:hover,
label.label__beauty-selector:hover,
label.label__subcategory-selector:hover,
label.label__skintype-selector:hover,
label.label__productGroup-selector:hover,
label.label__continent-selector:hover,
label.label__country-selector:hover {
    cursor: pointer;
    opacity: 1;
    -webkit-transform: translateX(5px);
    transform: translateX(5px);
    color: #C0A76E;
}

label.label__categorie-selector.actif,
label.label__beauty-selector.actif,
label.label__subcategory-selector.actif,
label.label__skintype-selector.actif,
label.label__productGroup-selector.actif,
label.label__continent-selector.actif,
label.label__country-selector.actif {
    opacity: 1;
    color: #C0A76E;
    font-weight: 700;
}

label.label__categorie-selector > input,
label.label__beauty-selector > input,
label.label__subcategory-selector > input,
label.label__skintype-selector > input,
label.label__productGroup-selector > input,
label.label__continent-selector > input,
label.label__country-selector > input {
    display: none;
}

/*
 * Search modal
 */
.search {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: -1;
    transition: all 500ms ease;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}
.search.active {
    z-index: 10000;
    opacity: 1;
}

.search .close {
    position: absolute;
    top: 20px;
    right: 20px;
}

.search .close i {
    font-size: 4rem;
    color: #394147;
}

.search form input {
    padding: 10px 60px;
    height: auto;
    font-size: 3.5rem;
    text-align: center;
    border: 0;
    background-color: transparent;
    border-bottom: 1px solid #979797;
}

@media (max-width: 768px) {
    .search form input {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .search form input {
        font-size: 1.5rem;
    }
}

.search form input:focus {
    outline: none;
}

nav.navbar .navbar__wrapper .navbar__collapse {
    position: relative;
}

nav.navbar .navbar__wrapper .navbar__collapse .e-shop--overlay {
    position: absolute;
    right: 0;
    top: calc( 100% + 15px);
    width: 326px;
    background-color: #fff;
    padding: 28px 35px;
    text-align: center;
    border: 1px solid #394147;
    transform: translateX( calc(50% - 70px) );
    display: none;
    font-size: 1.4rem;
}

nav.navbar .navbar__wrapper .navbar__collapse .e-shop--overlay.show {
    display: block;
}

nav.navbar .navbar__wrapper .navbar__collapse .e-shop--overlay .button+.button {
    margin-top: 13px;
}

nav.navbar .navbar__wrapper .navbar__collapse .e-shop--overlay ul {
    padding: 0 10px;
    margin-bottom: 20px;
}

nav.navbar .navbar__wrapper .navbar__collapse .e-shop--overlay:before, nav.navbar .navbar__wrapper .navbar__collapse .e-shop--overlay:after {
    content: "";
    left: 50%;
    position: absolute;
    top: -6px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 2;
}

nav.navbar .navbar__wrapper .navbar__collapse .e-shop--overlay:before {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 6px 10px;
    border-color: transparent transparent #394147 transparent;
}

nav.navbar .navbar__wrapper .navbar__collapse .e-shop--overlay:after {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 5px 8px;
    border-color: transparent transparent #fff transparent;
    top: -5px;
}

nav.navbar .navbar__wrapper .navbar__collapse .navbar__menu .menu-item>a:not(.mobile--all).e-shop {
    background-color: #C0A76E;
    color: #fff;
}

#storelocator__map .storelocator__item .storelocator__item-img {
    max-width: 60px;
}

.filters .filters__remove:empty {
    display: none;
}

.filters .filters__remove {
    display: block;
}

/*
 * Custom select
 */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}
.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
    color: #394147;
}
.custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    color: #3b3b3b;
    height: 40px;
    background: #ffffff;
    cursor: pointer;
    border: 1px solid #394147;
}
.custom-select__trigger i {
    font-size: 0.6rem;
    color: #394147;
    position: absolute;
    bottom: 0;
    right: 1px;
    z-index: 1;
    height: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-top: 2px;
}
.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #394147;
    border-top: 0;
    background: #fff;
    transition: all 0.5s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 2;
}
span.custom-option:before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    top: 2px;
    margin-right: 5px;
    position: relative;
}
span.custom-option:nth-child(2):before {
    background-color: #EE836F;
}
span.custom-option:nth-child(3):before {
    background-color: #C0A76E;
}
span.custom-option:nth-child(4):before {
    background-color: #488187;
}
.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
.custom-option {
    position: relative;
    display: block;
    padding: 0 10px;
    font-weight: 300;
    line-height: 40px;
    cursor: pointer;
    transition: all 0.5s;
}
.custom-option:hover {
    cursor: pointer;
    background-color: #cccccc;
}
.custom-option.selected {
    color: #ffffff;
    background-color: #5a8cca;
}

.form__errors {
    border: 1px solid;
    color: #EE836F;
    padding: 1rem;
}

.form__error {
    color: #EE836F;
    text-transform: capitalize;
    margin: 2px;
}


.form__message {
    color: #488187;
    text-transform: capitalize;
    margin: 2px 2px 2rem 2px;
}

nav.navbar .navbar__wrapper .navbar__collapse .navbar__menu.navbar__menu--desktop {
    margin: 0 15px 0 0;
}

.cart--totals table .order-total th {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block
}

body.cart--opened #cart {
    min-height: 100vh;
}

footer {
    margin-bottom: -24px;
}

header .button {
    box-sizing: border-box;
}

.button {
    box-sizing: content-box;
}

.form--paiement {
    margin-bottom: 2rem;
}

.banner--contain {
    padding-bottom: 50% !important;
    background-size: contain;
    background-repeat: no-repeat;
}

a.country-link {
    color: #394147;
}
a.country-link:hover {
    color: #C0A76E;
}

.icon.icon-search.js-geocode{
    cursor: pointer;
}

.show-institut-modal {
    width: 20rem;
    max-width: 20rem !important;
    justify-content: center;
}

@media (max-width: 768px) {
    .show-institut-modal {
        width: 90%;
    }
}