/*
Theme Name: Prisme
Author: Prisme
Author URI: https://e-prisme.fr
Version: 1.0.1
Text Domain: prisme
*/

/* Reset */

* {
    box-sizing: border-box;
    outline: none;
}

body,
html {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-size: 62.5%;
}

body {
    background: white;
    overflow-x: hidden;
    position: relative;
    font-size: 1.4rem;
    font-family: 'Montserrat', sans-serif;
}

img {
    vertical-align: top;
    max-width: 100%;
    max-height: 100%;
    /*  height: auto;
    width: auto; */
}

::selection {
    background: var(--cs-color-titre);
    color: white;
}

input {
    font-family: 'Montserrat', 'Arial', sans-serif;
}

/*
textarea,
input[type="text"],
input[type="button"],
input[type="submit"] {
    border-radius: 0;
}
*/
input[type="checkbox"] {
    -webkit-appearance: checkbox;
}

input[type="radio"] {
    -webkit-appearance: radio;
}


a {
    text-decoration: none;
    transition: color 0.2s;
    color: var(--cs-color-link);
}

a:hover,
a:focus {
    text-decoration: none;
}

/** RESET IE10 **/

a img {
    border: none;
    outline: none;
}

/** END RESET IE10 **/

/** CLASSES **/

.hidden {
    display: none;
}

#page>div.woocommerce,
.site-content-width-2 {
    max-width: 124rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.site-content-width {
    max-width: 144rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}


.site-content-full-width-2 {
    margin-left: calc(-100vw / 2 + 121rem / 2);
    margin-right: calc(-100vw / 2 + 121rem / 2);
}

.bold {
    font-weight: bold;
}

.fa-star--gold {
    color: #FFA34D;
}

.fa-star--grey {
    color: #BCBFC2;
}

.rounded-shadowed-container {
    -webkit-box-shadow: 0px 0px 25px 10px #EDEDED;
    -moz-box-shadow: 0px 0px 25px 10px #EDEDED;
    box-shadow: 0px 0px 25px 10px #EDEDED;
    -webkit-border-radius: 1rem;
    -moz-border-radius: 1rem;
    border-radius: 1rem;
    background: white;
    padding: 3rem 1.9rem;
}

.rounded-shadowed-container h2 {
    margin: 0 0 1.2rem 0;
    padding: 0;
    color: #0D1A0F;
    font-family: Montserrat;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 2.4rem;
}

/* BUTTONS */

.btn {
    display: inline-block;
    border-radius: 2rem;
    border: none;
    outline: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn span {
    transition: color 0.3s;
}


.btn1 {
    background: var(--cs-color-button);
    padding: 1.5rem 2rem;
}

.btn1:hover {
    background: var(--cs-color-button-hover);
}

.btn1 span {
    text-transform: uppercase;
    font-family: Montserrat;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.7rem;
    color: white;
}

.btn200w {
    width: 200px;
    text-align: center;
}

.btn2 {
    background: var(--cs-color-button2);
    padding: 1.5rem 2rem;
    text-decoration: none;
}

.btn2:hover {
    background: var(--cs-color-button2-hover);
}

.btn2 span {
    text-transform: uppercase;
    font-family: Montserrat;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 2.2rem;
    color: var(--cs-color-text-button2);
}

.btn3 {
    background: white;
    padding: 1.5rem 2rem;
}

.btn3:hover {
    background: #D0D0D0;
}

.btn3 span {
    text-transform: uppercase;
    text-decoration: underline;
    font-family: Montserrat;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 2.2rem;
    color: #3B3A40;
}

/** SPECIFIC UI ELEMENTS **/

/* Toggle Mode */


.toggler-container {
    display: inline-flex;
    align-items: center;
    gap: 1.8rem;
}

.toggler-container:not(disabled) {
    cursor: pointer;
}



.toggler:before,
.toggler:after {
    content: "";
}



/*#toggle-mode:hover #toggle-mode-switch:before {
    background: linear-gradient(to bottom, #fff 0%, #fff 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}*/

.toggler-checkbox:checked+.toggler {
    background: var(--cs-color-bg-switch-mode);
}




.toggler-checkbox {
    position: absolute;
    visibility: hidden;
}

.toggle-mode-label {
    font-family: 'Montserrat', 'Arial', sans-serif;
    line-height: 1.8rem;
    font-size: 1.4rem;
    color: var(--prisme-color-header-h1-link);
}

/* --- */



/** END SPECIFIC UI ELEMENTS **/

/* FONTS */

/*ex MARKETPLACE en footer*/
.cs-font-1 {
    font-family: Montserrat;
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 3.9rem;
}

.cs-font-2 {
    /*font-family: Poppins;    */
    font-size: 1.4rem;
    line-height: 2.1rem;
    text-transform: uppercase;
    /* letter-spacing: 0.5px; */
}

/*ex Consultez la foire .... en footer*/
.cs-font-3 {
    /* font-family: Poppins; */
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.4rem;
}

.bold {
    font-weight: 700;
}


/* */


.cs-title {
    position: relative;
}

.cs-title span {
    text-transform: uppercase;
    font-family: Montserrat;
    font-weight: 600;
    color: var(--cs-color-titre);
    position: relative;
    z-index: 4;
}




.cs-title.cs-title-no-bar:before {
    display: none;
}

/* ------- */

.input-wrapper-loc {
    position: relative;
    /* width: 51.5rem; */
}

.input-wrapper-loc input {
    width: 100%;
}

.input-loc-geoloc {
    position: absolute;
    right: 1.5rem;
    cursor: pointer;
    height: 2.4rem;
    top: -1.2rem;
    bottom: 0;
    margin: auto;
}

.input-loc-geoloc::before {
    content: '\f601';
    font-family: 'Font Awesome 5 pro';
    color: #0D1E33;
    font-size: 2.2rem;
    transition: color 0.3s;
}

.input-loc-geoloc:hover::before {
    color: var(--cs-color-button2);
}

/* ---------- */

.input-wrapper-date {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.input-wrapper-date label {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    white-space: nowrap;
}

/** --------- */

.radios-wrapper {
    display: flex;
    gap: 1.2rem;
    flex-direction: column;
}

.container-radio {
    display: block;
    position: relative;
    cursor: pointer;
    font-size: 22px;
    user-select: none;
    display: flex;
    gap: 1.7rem;
    align-items: center;
}

.container-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.container-radio .checkmark {
    height: 25px;
    width: 25px;
    border: 1px solid #979797;
    border-radius: 50%;
    position: relative;
}

.container-radio .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.container-radio:hover input~.checkmark {
    background-color: #eee;
}

.container-radio input:checked~.checkmark:after {
    display: block;
}

.container-radio .checkmark:after {
    top: 4px;
    left: 4px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--cs-color-checkbox-checked);
}

.container-radio .cs-product-shop-label {
    margin-bottom: 0;
}

/* ------ */

body .checkboxes-wrapper {
    display: flex;
    gap: 1.2rem;
    flex-direction: column;
}

body .container-checkbox {
    position: relative;
    cursor: pointer;
    font-size: 22px;
    user-select: none;
    display: flex !important;
    gap: 1.7rem;
    align-items: center;
}

body .container-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

body .container-checkbox .checkmark {
    height: 25px;
    width: 25px;
    background-color: #eee;
    display: inline-block;
    vertical-align: top;
}

body .container-checkbox:hover input[type="checkbox"]~.checkmark {
    background-color: #ccc;
}

body .container-checkbox input[type="checkbox"]:checked~.checkmark {
    background-color: var(--cs-color-checkbox-checked);
}

body .container-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

body .container-checkbox input[type="checkbox"]:checked~.checkmark:after {
    display: block;
}

body .container-checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

body .container-checkbox .cs-product-shop-label {
    margin-bottom: 0;
    font-family: Montserrat;
    font-size: 1.4rem;
    letter-spacing: 0;
    line-height: 1.8rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}


body .container-checkbox .cs-product-shop-label>i {
    color: #3ca486;
    font-size: 3rem;
}

/* --- */

.points_distance {
    background: var(--cs-points_distance);
    padding: 0.4rem 1rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.points_distance span {
    color: #FFFFFF;
    font-family: Montserrat;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 1.8rem;
}

.points_distance::before {
    content: '\f3c5';
    font-family: 'Font Awesome 5 pro';
    color: #F9B402;
    font-size: 1.2rem;
    font-weight: 600;
}

/* -- */

.cs-message {
    padding: 1.5rem 2.5rem;
    margin-bottom: 2rem;
}

.cs-message.cs-message-success {
    border: 1px solid #638666;
    border-radius: 1rem;
    background: rgba(99, 134, 102, 0.15);
}

/* -- */


.leaflet-control-attribution {
    display: none !important;
}

.map-cluster-cs {
    height: 3rem;
    width: 3rem;
    border-radius: 50%;
    background-color: var(--cs-color-header);
    color: white;
    text-align: center;
    font-size: 1.2rem;
    line-height: 3.1rem;
    margin-top: -1.5rem;
    margin-left: -1.5rem;
}

.map-cluster-cs:before {
    content: ' ';
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 2px solid white;
}

.leaflet-popup {
    font-size: 1.6rem;

}

.info-box-wrap-cats,
.info-box-wrap-price,
.info-box-wrap-title {
    font-weight: bold;
}

.info-box-wrap-cats {
    text-transform: uppercase;
    font-size: 1.4rem;
}

.leaflet-popup .btn.btn2 {
    color: #FFF;
}

.info-box-wrap-product {
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-box-wrap-product-info {
    padding-left: 4rem;
}

.leaflet-popup-content {
    width: max-content;
}

.info-box-wrap-product-info>* {
    margin-bottom: 1rem;
}

.info-box-wrap-product-image {
    max-width: 20rem;
}

#cs-404 {
    margin: 5rem 0;
    text-align: center;
}

#page_content {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

#page_content>.rounded-shadowed-container {
    overflow: hidden;
}

#page_content>.rounded-shadowed-container>h1 {
    margin-bottom: 5rem;
}


/*----*/

.pewc-total-field>.woocommerce-Price-amount>bdi {
    direction: ltr;
}

.has-feedback .form-control {
    padding-right: 34px;
}

.has-feedback .form-control.input-sm,
.has-feedback.form-group-sm .form-control {
    padding-right: 30px;
}

.has-feedback .form-control.input-lg,
.has-feedback.form-group-lg .form-control {
    padding-right: 46px;
}

.has-feedback-left .form-control {
    padding-right: 12px;
    padding-left: 34px;
}

.has-feedback-left .form-control.input-sm,
.has-feedback-left.form-group-sm .form-control {
    padding-left: 30px;
}

.has-feedback-left .form-control.input-lg,
.has-feedback-left.form-group-lg .form-control {
    padding-left: 46px;
}

.has-feedback-left .form-control-feedback {
    left: 0;
}

.form-control-feedback {
    line-height: 34px !important;
}

.input-sm+.form-control-feedback,
.form-horizontal .form-group-sm .form-control-feedback {
    width: 30px;
    height: 30px;
    line-height: 30px !important;
}

.input-lg+.form-control-feedback,
.form-horizontal .form-group-lg .form-control-feedback {
    width: 46px;
    height: 46px;
    line-height: 46px !important;
}

.has-feedback label.sr-only~.form-control-feedback,
.has-feedback label.sr-only~div .form-control-feedback {
    top: 0;
}



@media (min-width: 768px) {
    .form-inline .inline-feedback {
        position: relative;
        display: inline-block;
    }

    .form-inline .has-feedback .form-control-feedback {
        top: 0;
    }
}

.form-horizontal .has-feedback-left .form-control-feedback {
    left: 15px;
}

.btn-modal-yellow {
    background: var(--cs-color-button2);
    border-radius: 1rem;
    padding: 1rem 1rem;
    min-width: 25%;
}

.btn-modal-yellow:hover {
    background: var(--cs-color-button2-hover);
}

.btn-modal-yellow span {
    text-transform: uppercase;
    color: var(--cs-color-text-button2);
    font-weight: 600;
    font-size: 1.4rem;
}

.container-fluid {
    padding-right: 3rem;
    padding-left: 3rem;
}




.ep-sm-block {
    display: none;
}

.ep-sm-hidden {
    display: block;
}

@media (min-width: 576px) {
    .ep-sm-hidden {
        display: none
    }

    .ep-sm-block {
        display: block
    }
}