/***************************************
VUE EN PORTRAIT
****************************************/

.dgb_module-sit {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    position: relative;
    /* CONFIGURATION PAR DEFAUT -- surcharger ces paramètres */
    font-family: "Roboto", bold;
    --main-color: #FFCB05;
    --secondary-color: #00b9f2;
    --color-3: #92278f;
    --color-4: #ec008c;
    --color-5: #00a99d;
}

.dgb_module-sit * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

#master-wrapper {
    position: absolute;
    width: 1080px;
    height: 1920px;
    top: 0;
    left: 0;
    z-index: 2;
}

.result-container {
    position: absolute;
    top: 240px;
    display: none;
}

/****************************************
AFFICHAGE DE GG MAP
****************************************/

#resultat-map {
    position: relative;
    width: 1080px;
    height: 500px;
}

#resultat-map .gm-style-iw {
    padding: 0;
}

#resultat-map .gm-style-iw-d {
    overflow: hidden !important;
}

#resultat-map .gm-style .gm-style-iw-t::after {
    background: var(--secondary-color);
}

#resultat-map .gm-style .gm-style-iw-c {
    border-radius: 0;
}

#show-map {
    height: 100%;
    width: 100%;
    background: #E5E3DF;
    /* box-shadow: 8px 7px 13px 6px rgba(128, 128, 128, 0.4); */
}

#resultat-map .map-show-all {
    position: absolute;
    bottom: 24px;
    right: 58px;
    cursor: pointer !important;
    text-align: center !important;
    touch-action: manipulation !important;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    border: none;
    outline: none;
    background: var(--main-color);
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
    width: 147px;
    height: 80px;
    line-height: 80px;
}

#resultat-map #show-map button[title^=Zoom] {
    background: var(--main-color) !important;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 9;
}

#resultat-map #show-map button[title^=Zoom]:before {
    content: ' ';
    width: 20px;
    height: 5px;
    left: 10px;
    top: 18px;
    display: block;
    z-index: 9;
    position: absolute;
    background: white;
}

#resultat-map #show-map button[title^=Zoom\ avant]:after {
    content: ' ';
    width: 5px;
    height: 20px;
    left: 17px;
    top: 11px;
    display: block;
    z-index: 9;
    position: absolute;
    background: white;
}

/**************************************
AFFICHAGE DU TITRE SOUS LA MAP
***************************************/

.main-name h1 {
    text-align: center;
    background: var(--main-color);
    margin: 0;
    color: white;
    height: 90px;
    line-height: 90px;
}

/**************************************
AFFICHAGE DU MENU
***************************************/

#menu {
    position: absolute;
    top: 300px;
    width: 1080px;
    height: 1500px;
    z-index: 15;
}

#menu div {
    float: left;
    width: 30%;
    height: 324px;
    margin: 18px;
    background-color: #1E1E1E;
    display: table;
    cursor: pointer;
    animation: all 500ms linear;
}

#menu div span {
    color: white;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
}

#menu div span h2 {
    background: #000000cc;
    vertical-align: middle;
    padding: 30px;
}

/* Titre général : dans menu et dans page liste résultats */
.page-title {
    text-align: center;
    background: var(--main-color);
    color: white;
    text-transform: uppercase;
    font-size: 46px;
    height: 90px;
    line-height: 90px;
}

/* Bouton retour : dans menu et dans page liste résultats */
.menu-back {
    width: 150px;
    height: 150px;
    background: var(--main-color);
    position: absolute;
    z-index: 20;
    bottom: 0;
    left: 30px;
    cursor: pointer;
}

.menu-back span {
    background: url(../img/icon/return.png);
    width: 50%;
    height: 50%;
    position: absolute;
    background-size: contain;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -75%);
}

.menu-back p {
    width: 100%;
    position: absolute;
    top: 70%;
    text-align: center;
    font-size: 22px;
    color: #ffffff;
    text-transform: uppercase;
}

.js-list-back-button.menu-back {
    display: none;
}


/**************************************
BOUTON DE RECHERCHE
***************************************/

.search {
    display: none;
}




/************************************************************
VUE EN GRILLE
************************************************************/
#resultat-grid {
    width: 1080px;
    margin: 0 auto;
    overflow: hidden;
    height: 884px;
}

.fiche {
    margin: 10px;
    width: 200px;
    height: 260px;
    display: inline-block;
    box-shadow: 6px 7px 20px rgba(0, 0, 0, 0.5);
    transition: all 100ms ease-in;
    transform: scale(1);
    /* customize it ! */
    color: white;
    font-size: 18px;
    font-weight: bold;
    /* center */
    margin-left: 29px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

/* spécifique fiche dans carte */
#resultat-map .fiche {
    margin: 0;
}

/* spécifique grille agenda */
#resultat-grid.isAgenda .fiche {
    width: 277px;
    height: 360px;
}

.fiche .grid-title {
    padding: 16px 9px;
    /* customize-it ! */
    text-transform: uppercase;
    background: var(--main-color);
}

.fiche .grid-img {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.fiche .grid-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fiche .grid-link {
    padding: 11px 0;
    /* customize-it ! */
    background: var(--secondary-color);
    font-size: 14px;
}

.fiche p {
    margin: 0;
}

/* FLECHE DE LA VUE EN GRILLE */
.swiper-button-prev {
    left: 0px;
}

.swiper-button-next {
    right: 0px;
}

.swiper-button-prev,
.swiper-button-next {
    zoom: 2;
    top: 200px;
    display: inline-block !important;
    cursor: pointer !important;
    text-align: center !important;
    line-height: 32px !important;
    touch-action: manipulation !important;
    box-shadow: rgba(0, 0, 0, 0.14) 0px 1px 1px 1px !important;
    border-radius: 50% !important;
    border-width: 2px !important;
    border-color: transparent !important;
    background: rgb(255, 255, 255) !important;
    outline: none;
    font-weight: bold;
    width: 32px;
    height: 32px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    color: var(--main-color);
    font-size: 13px;
    display: inline-block;
}

.swiper-container-horizontal>.swiper-scrollbar {
    height: 7px;
}

/* #resultat-grid .swiper-slide {
    height: 100%;
} */

.swiper-empty {
    position: absolute;
    font-size: 46px;
    text-align: center;
    color: var(--main-color);
    padding-top: 400px;
    width: 100%
}

/* GRILLE AGENDA */
#resultat-grid.isAgenda .swiper-wrapper {
    padding-top: 71px;
}

#resultat-grid ._agenda-day {
    position: absolute;
    z-index: 9;
    color: var(--secondary-color);
    text-transform: capitalize;
    font-size: 28px;
    top: -61px;
    margin-left: 28px;
    width: 312px;
    height: 71px;
    display: table;
}

#resultat-grid ._agenda-day p {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
}

#resultat-grid ._agenda-day::before {
    content: "";
    border-left-color: var(--main-color);
    border-left-style: dotted;
    height: 903px;
    position: absolute;
    top: 7px;
    left: -36px;
}

#resultat-grid ._poi-hours,
#resultat-grid ._poi-distance,
#resultat-grid ._poi-days,
#resultat-grid ._poi-ville {
    color: white;
    background: var(--color-3);
    position: absolute;
    z-index: 9;
    bottom: 53px;
    font-size: 21px;
    right: -40px;
    text-align: center;
    padding: 7px 17px;
}

#resultat-grid ._poi-hours {
    background: var(--color-4);
    bottom: 101px;
}

#resultat-grid ._poi-ville {
    background: var(--color-5);
    bottom: 217px;
}

#resultat-grid ._poi-distance {
    background: var(--color-5);
    bottom: 117px;
}



/* <-- Vue en cours de chargement */
.in-progress .fiche {
    background: #a5a5a5;
}

.in-progress .fiche .grid-link,
.in-progress .fiche .grid-title {
    background: #cacaca;
    color: #cacaca;
    padding-left: 20px;
    padding-right: 20px;
}

.in-progress .fiche .grid-link p,
.in-progress .fiche .grid-title p {
    background: #555;
    color: #555;
    height: 22px;
    display: block;
    overflow: hidden;
}

.in-progress .fiche img {
    display: none
}

@keyframes flickerAnimation {
    0% {
        opacity: .66;
    }

    100% {
        opacity: .33;
    }
}

.in-progress {
    opacity: .66;
    animation: flickerAnimation .75s infinite alternate;
}

/* Vue en cours de chargement --> */

/********************************************
AFFICHAGE DE LA POPUP D'UNE FICHE PRODUIT
*********************************************/
#resultat-popup {
    width: 1080px;
    height: 1920px;
    background: rgba(0, 0, 0, 0.62);
    position: fixed;
    z-index: 500;
    top: 0;
    left: 0;
    display: none;
}

#popup-container {
    height: 1450px;
    margin: 250px 50px;
    position: relative;
    font-size: 20px;
    background: white;
}

#popup-title {
    padding: 20px 50px;
    text-align: center;
    text-transform: uppercase;
    color: white;
    background: var(--main-color);
}

#resultat-popup hr {
    margin: 20px 0;
    padding: 0;
    border: none;
}

#popup-banner {
    width: 100%;
    height: 553px;
    text-align: center;
    border-bottom: 6px solid var(--main-color);
}

#popup-banner>div {
    height: 100%;
}

#popup-banner .swiper-slide {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#popup-banner .swiper-button-prev,
#popup-banner .swiper-button-next {
    top: 50%;
    transform: translateY(-50%);
}

#popup-banner .swiper-button-prev {
    left: 4px;
}

#popup-banner .swiper-button-next {
    right: 4px;
}

#resultat-popup #popup-content ._desc {
    font-size: 26px;
}

#popup-map {
    position: absolute;
    width: 100%;
    height: 300px;
    bottom: 0;
    background: #e66969;
    text-align: center;
    color: white;
}

#automatique-map {
    position: absolute;
    width: 98%;
    height: 300px;
    bottom: 5%;
    background: #e66969;
    left: 1%;
    text-align: center;
    color: white;
    border-radius: 10px;
    box-shadow: 6px 7px 20px rgba(0, 0, 0, 0.5);
}

#popup-map ._distance-duree {
    position: absolute;
    background: rgba(90, 90, 90, 0.58);
    bottom: 0;
    padding: 5px;
}

#popup-map ._latlng {
    position: absolute;
    background: rgba(90, 90, 90, 0.58);
    padding: 5px;
}

#popup-map ._envoyer-moi-adresse {
    position: absolute;
    background-image: url(/content/custom/sit/img/envoyer-vers-mon-telephone.png);
    background-repeat: no-repeat;
    background-position: left center;
    border: 1px solid #cacaca;
    border-radius: 2px;
    background-color: white;
    padding: 9px 12px 9px 30px;
    left: 6px;
    top: 41px;
    outline: none;
}

#popup-map .phone-or-email {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border: 2px solid #C4C4C4;
    border-radius: 10px;
    color: black;
    z-index: 9;

    display: none;
}

#popup-map .phone-or-email.shown {
    display: block;
}

#popup-map .phone-or-email i._close {
    background-image: url(/content/custom/sit/img/close.png);
    background-size: contain;
    width: 35px;
    height: 35px;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
}

#popup-map .phone-or-email input {
    background: #FFFFFF;
    border: 2px solid #C4C4C4;
    box-sizing: border-box;
    border-radius: 10px;
    width: 359.89px;
    height: 54.47px;
    font-size: 24px;
    padding-left: 7px;
    outline: none;
    display: block;
}

#popup-map .phone-or-email input[type=submit] {
    background-color: var(--main-color);
    margin-top: 20px;
    color: white;
}

#popup-map ._qrcode {
    position: absolute;
    right: 0;
    bottom: 0;
}

#scrollable-popup {
    overflow-y: scroll;
    height: 550px;
    padding: 40px;
}

#scrollable-popup::-webkit-scrollbar {
    width: 12px;
    background-color: #F5F5F5;
}

#scrollable-popup::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #555;
}

#scrollable-popup::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

#resultat-popup .after-photo {
    position: relative;
}

#resultat-popup .after-photo-badge {
    padding: 0 27px;
    text-align: right;
    position: absolute;
    width: 100%;
    top: -28px;
    z-index: 9;
}

#resultat-popup .after-photo-badge>span {
    display: inline-block;
}

#resultat-popup ._poi-ville,
#resultat-popup ._poi-distance,
#resultat-popup ._poi-hours,
#resultat-popup ._poi-days {
    color: white;
    background: var(--color-3);
    font-size: 31px;
    text-align: center;
    padding: 7px 17px;
}

#resultat-popup ._poi-ville {
    background: var(--main-color);
    /* right: 313px; */
}

#resultat-popup ._poi-distance {
    background: var(--main-color);
    /* right: 213px; */
}

#resultat-popup ._poi-hours {
    background: var(--color-4);
    /* right: 313px; */
}


/*********************************************************
BOUTON DE FERMETURE DE LA POPUP
***********************************************************/

.close-btn {
    background-image: url(/content/custom/sit/img/close.png);
    width: 60px;
    height: 60px;
    display: block;
    position: absolute;
    right: 8px;
    top: 16px;
}

/* .close-btn {
    position: absolute;
    right: -35px;
    top: -35px;
    width: 60px;
    height: 60px;
    background: #d1382a;
    border-radius: 50px;
    box-shadow: 2px 3px 5px 0px #730000;
}

.close-btn:before, .close-btn:after {
    position: absolute;
    right: 27px;
    top: 5px;
    content: ' ';
    height: 50px;
    width: 5px;
    background-color: #fff;
}

.close-btn:before {
    transform: rotate(45deg);
}

.close-btn:after {
    transform: rotate(-45deg);
} */

/********************************************************
LOADING
***********************************************************/

#loading {
    position: fixed;
    top: 0;
    width: 1080px;
    height: 1920px;
    z-index: 1;
}

.cube-loader {
    margin: 0 auto;
    width: 150px;
    height: 150px;
    position: absolute;
    left: 465px;
    /* (LARGEUR ECRAN / 2) - (this.width / 2) */
    top: 885px;
    /* (Hauteur ECRAN / 2) - (this.height / 2) */
}

.cube-loader .sk-cube {
    /* box-shadow: 7px 7px 0px 0px rgb(140, 98, 22);*/
    width: 33%;
    height: 33%;
    background-color: var(--main-color);
    float: left;
    -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
    animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
}

.cube-loader .sk-cube1 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.cube-loader .sk-cube2 {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.cube-loader .sk-cube3 {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.cube-loader .sk-cube4 {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.cube-loader .sk-cube5 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.cube-loader .sk-cube6 {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.cube-loader .sk-cube7 {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

.cube-loader .sk-cube8 {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.cube-loader .sk-cube9 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

@-webkit-keyframes sk-cubeGridScaleDelay {

    0%,
    70%,
    100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    }

    35% {
        -webkit-transform: scale3D(0, 0, 1);
        transform: scale3D(0, 0, 1);
    }
}

@keyframes sk-cubeGridScaleDelay {

    0%,
    70%,
    100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    }

    35% {
        -webkit-transform: scale3D(0, 0, 1);
        transform: scale3D(0, 0, 1);
    }
}


/**************************************
MENU ANIMATION
**************************************/

/* #return-to-menu-btn {
    width: 150px;
    height: 150px;
    background: var(--main-color);
    position: absolute;
    z-index: 20;
    top: 1630px;
    left: 30px;
    display: none;
    cursor: pointer;
    border: 2px solid #656e85;
}

#return-to-menu-btn span {
    background: url(../img/icon/return.png);
    width: 50%;
    height: 50%;
    position: absolute;
    background-size: contain;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-75%);
}

#return-to-menu-btn p {
    width: 100%;
    position: absolute;
    top: 70%;
    text-align: center;
    font-size: 22px;
    color: #ffffff;
    text-transform: uppercase;
} */

.menu-closer {
    animation-name: menu-closer;
}

@keyframes menu-closer {
    0% {
        opacity: 1;
        transform-origin: 50% 50%;
        transform: scale(1, 1);
        filter: blur(0px);
    }


    100% {
        opacity: 0;
        transform-origin: 4% 94%;
        transform: scale(0.09, 0.05);
        filter: blur(2px);
    }
}

.menu-opener {
    animation-name: menu-opener;
}

@keyframes menu-opener {
    0% {
        opacity: 0;
        transform-origin: 4% 94%;
        transform: scale(0.09, 0.05);
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform-origin: 50% 50%;
        transform: scale(1, 1);
        filter: blur(0px);
    }
}


/*************************************
OTHER
***********************************/
.backToMenu {
    position: absolute;
    width: 210px;
    height: 210px;
    background: url(../img/icon/backhome.png);
    background-size: cover;
    top: 1340px;
    left: 50%;
    transform: translateX(-50%);
}

.pmr_activated #master-wrapper {
    transition-duration: 0s;
}

/* */
.pushOnActive {
    transition: all .1s ease;
}

.pushOnActive:active:not(.open) {
    transform: scale(0.95) !important;
}

i[class^=ko-] {
    display: none;
    color: red;
}

i[class^=ok-] {
    display: none;
    color: green;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    background: white;
    top: 193px;
    padding: 5px;
    border-radius: 6px;
}

.tgr-rgpd {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 16px;
}

.i-rgpd {
    display: none;
    background: white;
    text-align: left;
    padding: 20px;
    border: 2px solid #C4C4C4;
    font-size: 16px;
}

.swiper-slide {
    touch-action: none;
}