/*
Theme Name: My Website Theme
Theme URI: https://up-to-you.ch/
Author: Léa Medrano
Author URI: https://leamedrano.myportfolio.com/
Description: uptoyoutheme
Text Domain: uptoyoutheme
Requires at least: WordPress 5.6
Version: 1.0
*/

/****
WP CUSTOM
 */

.top-header {
    position: fixed;
    top: 0;
}

.admin-bar .top-header {
    top: 32px;
}

/*****
VARS
 */

html {
    font-size: 18px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

:root {
    --main-font: 'DM Sans', sans-serif;
    --accent-font: "Sutro";
    --main-color: #252829;
    --accent-color: #C7A03E;
    --basic-color: #FFF8E6;
    --light-brown-color: #BFAA8E;
    --bg-brown-color: #E1C39B;
    --bg-white: #FFFFFF;
    --container-width-s: 1180px;
    --container-width-m: 1420px;
    --container-width-vw: 80vw;
    --header-height: 120px;
}

/*****
GENERAL
 */

body {
    margin-bottom: -15px;
    font-family: var(--main-font);
    background: var(--basic-color);
    margin: 0;
    overflow: hidden;
}

section {
    padding: var(--margin-m) 0;
}


p {
    margin-top: 0;
    margin-bottom: 0;
    color: var(--main-color);
}

.basic-container p {
    margin-bottom: 18px;
}

a {
    text-decoration: none;
    color: var(--accent-color);
}

a:hover {
    color: var(--main-color);
    transition: all ease 500ms;
}

li {
    list-style: none;
    color: var(--main-color);
}


img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

ul {
    margin-top: 0;
    margin-bottom: 0;
}

.paper-container {
    background-color: var(--bg-brown-color);
    background-image: url(assets/img/paper-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    z-index: 11;
}

.paper-light-container {
    background-image: url(assets/img/paper-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
}

.multiply {
    mix-blend-mode: multiply;
}

/*****
DISPOSITION
 */

.di__container-small {
    width: var(--container-width-s);
    margin: 0 auto;
}

.di__container-big {
    width: var(--container-width-m);
    margin: 0 auto;
}

.di__container-vw {
    width: var(--container-width-vw);
    margin: 0 auto;
}

.di__section-main {
    background-color: var(--main-color);
}

.di__section-accent {
    background-color: var(--accent-color);
}

.di__section-basic {
    background-color: var(--basic-color);
}

.di__margin-bottom-small {
    margin-bottom: 10px;
}

.di__padding-regular {
    padding-top: 100px;
    padding-bottom: 100px;
}

.di__padding-top-small {
    padding-top: 500px;
}

.di__padding-bottom-regular {
    padding-bottom: 100px;
}

.di__margin-bottom-xs {
    margin-bottom: 50px;
}

.di__padding-basic {
    padding-top: 75px;
    padding-bottom: 100px;
}

.di__padding-really-small {
    padding-right: 20px;
    padding-left: 20px;
}

.di__padding-really-xsmall {
    padding-top: 20px;
    padding-bottom: 20px;
}

.di__padding-small {
    padding-top: 60px;
    padding-bottom: 50px;
}

.di__padding-x-small {
    padding-top: 60px;
    padding-bottom: 40px;
}

.di__padding-y-small {
    padding-right: 60px;
    padding-left: 60px;
}

.di__padding-y-big {
    padding-right: 100px;
    padding-left: 100px;
}

.di__padding-x-big {
    padding-top: 135px;
    padding-bottom: 70px;
}

.di__box-shadow {
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}

.di__flex-column {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.di__flex-center {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}


.di__flex-around {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}


.di__flex-between {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.di__flex-between-stretch {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
}

.di__flex-start-center {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}

.di__flex-start {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}


.di__flex_self_stretch {
    align-self:stretch;
}

.height-100 {
    height: 100%;
}

.width-50 {
    width: 50%;
}

.width-49 {
    width: 49%;
}

.width-32 {
    width: 32%;
}


.top-border {
    border-top: solid 8px var(--accent-color);
}

.white-bg {
    background-color: var(--bg-white);
}

.basic-container {
    padding-top: 220px;
}

/*****
TYPOS
 */

h1, .ty__h1 {
    font-family: var(--accent-font);
    font-style: normal;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 50px;
    line-height: 55px;
}

h1 span {
    font-family: var(--accent-font);
    font-style: bold;
    font-weight: 700;
    display: block;
}

h1.basic-h1 {
    text-align: center;
    margin-bottom: 100px;
}

h2, .ty__h2 {
    font-family: var(--accent-font);
    text-transform: uppercase;
    font-style: normal;
    font-weight: 300;
    font-size: 50px;
    line-height: 55px;
    text-align: center;
    margin-top: 20px;
}

h3, .ty__h3 {
    font-family: var(--main-font);
    color: var(--accent-color);
    font-weight: 400;
    font-size: 25px;
    line-height: 33px;
    /* identical to box height */

    text-align: center;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

h4, .ty__h4 {
}

h5, .ty__h5 {

}

h6, .ty__h6 {

}

p, .ty__p {
    font-family: var(--main-font);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;

}

.text-align-left {
    text-align: left;
}

.hero-text .p-inner-text, .etab-text, .menu-test {
    margin-bottom: 20px;
}

.a-link{
    /* margin-bottom: 20px;
    margin-top: 20px; */
    font-family: var(--accent-font);
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 19px;
    text-transform: uppercase;
    color: var(--accent-color);
}

.basic-container li {
    list-style: disc;
    margin-bottom: 20px;
    font-family: var(--main-font);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
}


/*****
BUTTONS
 */


a.el__btn {
    font-family: var(--accent-font);
    padding: 20px 32px;
    background-color: var(--accent-color);
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 19px;
    text-align: center;
    text-transform: uppercase;
    color: white;
    margin: 0 auto;
    cursor: pointer;
    transition: all ease 500ms;
    z-index: 10;
}



a.el__btn:hover {
    color: var(--accent-color);
    background-color: var(--basic-color);
}


img[alt="Street View Pegman Control"] {
    object-fit: contain !important;
}

/* VIDEO */

video {
    object-fit: cover;
    height: 80vh !important;
}

.el__video-mobile {
    display: none;
}

.video-container {
    position: relative;
}

.unmute {
    margin: 20px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0px 0px 50px rgb(0 40 100 / 40%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
    align-items: center;
    justify-content: center;
    display: flex;
}

.unmute img {
    width: auto;
    height: 60%;
    opacity: 0.3;
}

.unmute img.play {
    margin-left: 20px;
}

.unmute img:last-child {
    display: none;
}

.hide {
    display: none !important;
}

.active {
    display: block !important;
}

/* MAP */

/* .mapboxgl-control-container {
    display: none;
} */

.marker {
    background-image: url("assets/img/Pointer.png");
    background-size: contain;
    width: 67px;
    height: 124px;
}

.mapboxgl-marker {
    top: -62px;
    left: 30px;
}

.icon-dc {
    background: #3bb2d0;
}

/* .marker-active {
    width: 40px;
    height: 40px;
    background-image: url("assets/imgs/Pointer-active.png");
    transition: 300ms ease-in-out;
} */

/* FOOTER */

.nf-form-fields-required {
    text-align: center !important;
}

#nf-field-17 {
    font-family: var(--accent-font);
    padding: 18px 32px;
    background-color: var(--accent-color);
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 19px;
    text-align: center;
    text-transform: uppercase;
    color: white;
    margin: 0 auto;
    cursor: pointer;
    transition: all ease 500ms;
    z-index: 10;
}

#nf-field-17:hover {
    background-color: #BFAA8E;
}

a.btn-form {
    color: var(--main-color);
    font-size: 20px;
}
a.btn-form:hover {
    color: var(--accent-color);
}

.el__prescripteurs .el__prescripteurs-content {
    align-items: baseline;
    justify-content: flex-start;
    text-decoration: none;
    cursor: pointer;
}

.el__prescripteurs .el__prescripteurs-content h3 {
    color: var(--basic-color);
    padding-bottom: 21px;
    font-family: var(--accent-font);
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 20px;
    color: var(--basic-color);
}

.el__prescripteur-line {
    width: 100%;
    height: 1px;
    background-color: var(--basic-color);
}

.el__prescripteurs .el__prescripteurs-content .el__prescripteurs-picto {
    width: 40px;
    height: 40px;
    margin-right: 8px;
    transition: transform 300ms ease;
    transform: rotate(0deg);
}

.el__prescripteurs .el__prescripteurs-content .el__prescripteurs-picto.active {
    transform: rotate(180deg);
    transition: transform 300ms ease;
}

.el__prescripteurs .el__prescripteurs-list p, .el__prescripteurs .el__prescripteurs-list {
    color: var(--basic-color);
}

.el__prescripteurs .el__prescripteurs-list {
    display: none;
    border-bottom: 1px solid var(--basic-color);
    padding: 21px 0;
}

.el__prescripteurs .el__prescripteurs-list a {
    font-family: var(--accent-font);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    text-decoration: none;
}

.useful-links, .ordo_list, .catalogue_list {
    margin-top: 20px;
}

.el__prescripteurs .el__prescripteurs-list a:hover {
    color: var(--accent-color);
}

.el__footer-link-title {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    font-family: var(--accent-font);
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: var(--basic-color);
}

.el__footer-link-img {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.uptoyou {
    text-align: center;
    color: var(--basic-color);
    padding-bottom: 20px;
}

.uptoyou a {
    color: var(--accent-color);
}

/*---------------------- CARDS -------------------- */

.single-menu, .infos {
    z-index: 10;
}

/* TEST */

.filter {
    color: #4A4A4A;
    border: 1px solid #4A4A4A;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: lighter;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    text-align: center;
    width: 30%;
}

.sub-filter {
    color: #4A4A4A;
    border: 1px solid #4A4A4A;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: lighter;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    text-align: center;
}
  
.filter:hover, .sub-filter:hover {
    opacity: 1;
}


.single-menu, .infos {
    display: flex;
    flex-direction: column;
}

.single-menu .menu-test, .infos .etab-text {
    flex-grow: 1;
}

/*---------------------- MEDIA QUERIES-------------------- */


@media (max-width: 992px) {

    .di__flex-between.hero-container {
        flex-direction: column-reverse;
    }

    .di__container-vw {
        width: 90vw;
    }

    .hero-container .hero-img.width-50 {
        width: 50%;
    }

    .hero-container .width-50 {
        width: 80%;
    }

    .width-50 {
        width: 100%;
    }

    .width-49 {
        width: 100%;
    }

    .single-menu, .etablissement-container .infos {
        margin-bottom: 20px;
    }

    .etablissement-container .infos {
        padding-bottom: 20px;
    }

    .footer1 .di__container-vw {
        width: 80vw;
    }

}

@media (max-width: 614px) {

    h1, h2 {
        font-size: 38px;;
    }

    h3{
        font-size: 22px;;
    }

    .di__padding-bottom-regular {
        padding-bottom: 50px;
    }

    .width-32 {
        width: 100%;
    }

    .single-saison-post {
        margin-bottom: 20px;
    }

    .footer2, #menu-footer {
        flex-direction: column;
        text-align: center;
        padding: 0;
    }

    .footer-rs {
        margin-bottom: 20px;
    }

}

@media (max-width: 425px) {
    .di__padding-y-small {
        padding-right: 30px;
        padding-left: 30px;
    }
}