/*	Theme Name: TempoADN
	Theme URI: https://tempoadn.fr/
	Description: TempoADN
	Version: 1
	Author: TempoADN
	Author URI: https://tempoadn.fr/
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-family: var(--font-primary), sans-serif;
    font-style: normal;
    color: #0f0f0f;
}

html,
body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body {
    font-family: var(--font-primary), sans-serif;
    background: #efe3d9;
    position: relative;
    margin: 0;
    -webkit-transition: opacity 0.5s ease;
    -moz-transition: opacity 0.5s ease;
    -ms-transition: opacity 0.5s ease;
    -o-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

ul,
ol {
    list-style-type: none;
    margin-left: 2rem;
}

/* Montserrat regular */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/wp-content/themes/TempoADN/assets/fonts/montserrat/Montserrat-Regular.woff2');
}

/* Montserrat medium */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/wp-content/themes/TempoADN/assets/fonts/montserrat/Montserrat-Medium.woff2');
}

/* Montserrat bold */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/wp-content/themes/TempoADN/assets/fonts/montserrat/Montserrat-Bold.woff2');
}

/* Cormorant Garamond bold */
@font-face {
    font-family: 'Cormorant Garamond';
    src:
        url('/wp-content/themes/TempoADN/assets/fonts/cormorant-garamond/CormorantGaramond-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/*------------------------------------*\
    Variables
\*------------------------------------*/

:root {
    --color-primary: #c75a2a;
    --color-secondary: #7b1d1e;
    --color-terceary: #efe3d9;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --fond: #e5d5c7;
    --font-primary: 'Montserrat';
    --font-secondary: 'Cormorant Garamond';
}

/*------------------------------------*\
    MARGE SUR MENU ADMIN (lorsque le menu est en fixe, il est caché en partie)
\*------------------------------------*/
.logged-in.admin-bar header {
    margin-top: 32px;
}

/*------------------------------------*\
    LA GRID
\*------------------------------------*/
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

section {
    padding: 4rem 0;
}

.container {
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    width: 90%;
}

.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.row>* {
    float: left;
    width: 100%;
}

.row::after {
    content: "";
    display: block;
    clear: both;
}

@media screen and (min-width:1200px) {
    .container {
        max-width: 1280px;
    }
}

@media screen and (min-width:1025px) and (max-width:1199px) {
    .container {
        max-width: 1060px;
    }
}

@media screen and (min-width:1024px) {
    .row>* {
        padding-left: .9375em;
        padding-right: .9375em;
    }
}

@media screen and (max-width:1024px) {
    .container {
        width: 95%;
    }
}

@media screen and (max-width:1023px) {
    .row>* {
        padding-left: .46875em;
        padding-right: .46875em;
    }
}

/*------------------------------------*\
    MAIN
\*------------------------------------*/
/* global box-sizing */
a {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: #000;
}

a:focus {
    outline: 0;
}

a:hover,
a:active {
    outline: 0;
}

input:focus {
    outline: 0;
}

:focus {
    outline: none;
}

/* =====================================
             MENU
=======================================*/
#top.current {
    overflow: hidden;
}

#top.highlight {
    overflow: hidden;
    position: initial;
}

header {
    width: 100%;
    background: var(--color-terceary);
    top: 0;
    z-index: 11;
    position: fixed;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

#menu-aeb.dynamic,
#menu-aeb.smallogo {
    background: var(--color-terceary);
}

#menu-aeb .contain {
    width: 90%;
    max-width: 1140px;
    margin: auto;
    display: flex;
    padding: 0;
    position: relative;
}

.mara {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
}

.wrap-nav {
    list-style-type: none;
    margin: 0;
}

.logo-site {
    max-width: 150px;
}

@media only screen and (min-width: 1025px) {
    header.hidden {
        transform: translateY(-134px);
    }

    .content_aeb {
        margin-top: 132px;
    }

    header .menu {
        width: 100%;
        align-self: center;
    }

    header .wrap-nav {
        display: inline-flex;
        justify-content: end;
        gap: 2rem;
    }

    .menu .wrap {
        float: right;
    }

    #menu-aeb {
        box-shadow: 0 3px 6px #00000029;
        background: var(--color-terceary);
        padding: 1rem 0;
    }

    .dropdown-content {
        display: none;
    }

    .menu-rs li {
        align-self: center;
        padding-left: 0.5em;
    }

    #menumara .wrap-nav li {
        align-self: center;
        padding-left: 1px;
    }

    #menumara .menu-contact {
        display: none;
    }

    .dropdown,
    .wrap-nav li a {
        position: relative;
        font-size: 16px;
        color: #000;
        cursor: pointer;
        transition: color var(--transition);
        font-weight: 400;
    }

    .dropdown::after,
    .wrap-nav li a::after {
        content: "";
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 1.5px;
        background: var(--color-primary);
        transition: width var(--transition);
    }

    .dropdown:hover::after,
    .wrap-nav li a:hover::after {
        width: 100%;
    }
}

@media only screen and (max-width: 1024px) {
    header.hidden {
        transform: translateY(-134px);
    }

    .loghead {
        height: 100px;
    }

    .content_aeb {
        margin-top: 132px;
    }

    .menu {
        display: none;
        position: fixed;
        background: var(--fond);
        height: 100%;
        width: 100%;
        z-index: 100;
        left: -100%;
    }

    .menu.active {
        display: block;
        right: 0%;
        left: inherit;
        margin-top: 126px;
    }

    .menu .wrap {
        height: 100%;
        position: relative;
        text-align: left;
        overflow: scroll;
        padding-bottom: 5em;
        display: flex;
        justify-content: center;
    }

    .menu .wrap .mara {
        position: absolute;
        flex-direction: column;
        justify-content: start;
        width: max-content;
        padding: 1em 4em;
        z-index: 2;
        background: white;
        border-radius: 32px;
        margin-top: 2rem;
        gap: 1rem;
    }

    .menu .wrap ul li {
        position: relative;
        text-transform: uppercase;
        padding: 0.5rem 0;
    }

    .menu .wrap ul li a,
    .menu .wrap ul li.dropdown {
        font-size: 20px;
        line-height: 25px;
        font-weight: 700;
        cursor: pointer;
    }

    .menu .wrap ul li a.btn {
        width: inherit;
        text-transform: inherit;
        position: inherit;
        padding: 0;
        margin: 0;
    }

    .menu .wrap ul li a:hover:after {
        width: 100%;
    }

    .hamburger {
        cursor: pointer;
        display: inline-flex;
        overflow: hidden;
        align-self: center;
    }

    .buttonMenu {
        display: flex;
    }

    .buttonMenu .text {
        text-align: left;
        color: #12006C;
        font-size: 24px;
        font-weight: 600;
        line-height: 48px;
        display: initial;
        padding-left: 0.75em;
        position: relative;
    }

    .buttonMenu .text a:after {
        position: absolute;
        right: -1.5em;
        top: 0.3em;
        content: url(/wp-content/themes/Assia/images/flower.svg);
        zoom: 0.8;
    }

    .buttonMenu .text a {
        color: #fff;
    }

    .hamburger__container {
        width: 55px;
        height: 42px;
        position: relative;
    }

    .hamburger:hover .hamburger__inner {
        transform: translate(-51px, 50%);
        opacity: 0;
    }

    .hamburger:hover .hamburger__inner::before,
    .hamburger:hover .hamburger__inner::after {
        transform: translate(102px, 0);
        opacity: 0;
    }

    .hamburger.is-active .hamburger__inner {
        display: none;
    }

    .hamburger__inner {
        background-color: var(--color-primary);
        border-radius: 20px;
        position: absolute;
        transition-property: transform, opacity;
        transition-timing-function: ease;
        transition-duration: 0.4s;
        top: 50%;
        transform: translate(0, -50%);
        opacity: 1;
    }

    .hamburger__inner::before,
    .hamburger__inner::after {
        background-color: var(--color-primary);
        border-radius: 20px;
        position: absolute;
        transition-property: transform, opacity;
        transition-timing-function: ease;
        transition-duration: 0.4s;
        content: "";
        opacity: 1;
        right: 0;
    }

    .hamburger__inner::before {
        top: -14px;
    }

    .hamburger__inner::after {
        top: 14px;
    }

    .hamburger:hover .hamburger__hidden {
        opacity: 1;
        transform: translate(0, -50%);
    }

    .hamburger:hover .hamburger__hidden::before,
    .hamburger:hover .hamburger__hidden::after {
        opacity: 1;
        transform: translate(0, 0);
    }

    .hamburger.is-active .hamburger__hidden {
        opacity: 1;
        transform: rotate(45deg);
    }

    .hamburger.is-active .hamburger__hidden::before {
        transform: translate(0, 14px) rotate(90deg);
        transform-origin: center;
    }

    .hamburger.is-active .hamburger__hidden::after {
        transform-origin: center;
        transform: translate(0, -14px) rotate(0);
        opacity: 0;
    }

    .hamburger__hidden {
        opacity: 0;
        background-color: var(--color-primary);
        border-radius: 20px;
        position: absolute;
        transition-property: transform, opacity;
        transition-timing-function: ease;
        transition-duration: 0.4s;
        top: 50%;
        transform: translate(51px, -50%);
    }

    .hamburger__hidden::before,
    .hamburger__hidden::after {
        background-color: var(--color-primary);
        border-radius: 20px;
        position: absolute;
        transition-property: transform, opacity;
        transition-timing-function: ease;
        transition-duration: 0.4s;
        content: "";
        transform: translate(102px, 0);
    }

    .hamburger__hidden::before {
        top: -14px;
    }

    .hamburger__hidden::after {
        top: 14px;
    }

    #entete .nav-site {
        top: 50%;
        right: 0;
        transform: translate(0, -50%);
    }

    .nav-site {
        display: inline-flex;
        align-self: center;
        position: absolute;
        right: 0;
    }

    /* AJout Toggle sur le menu burger pour les liens en sous menu */
    .dropdown-content {
        display: block;
        padding-top: 0.25em;
    }

    .dropdown span {
        position: relative;
        padding: 0 0.5em 0 0;
    }

    .dropdown span:before {
        content: ' ';
        transform: rotate(45deg);
        position: absolute;
        right: -0.5em;
        top: .55em;
        margin: 0;
        height: 3px;
        width: 10px;
        border-radius: 10px;
        background: #12006C;
    }

    .dropdown span:after {
        content: ' ';
        transform: rotate(-45deg);
        position: absolute;
        right: -0.5em;
        top: .8em;
        margin: 0;
        height: 3px;
        width: 10px;
        border-radius: 10px;
        background: #12006C;
    }

    .dropdown .active:before {
        transition: 0.35s;
        transform: rotate(225deg);
        right: -0.47em;
        top: 0.75em;
        background: #27ECA0;
    }

    .dropdown .active:after {
        transition: 0.35s;
        transform: rotate(-225deg);
        right: -0.75em;
        top: 0.75em;
        background: #27ECA0;
    }

    .dropdown span.active {
        color: #27ECA0;
        transition: 0.25s;
    }

    .dropdown>div>a:after {
        display: none;
    }

    .menu .dropdown .dropdown-content a {
        display: block;
        text-align: left;
        text-transform: initial;
        color: #fff;
        font-size: 17px;
        font-weight: 400;
        line-height: 28px;
        position: relative;
    }

    .menu .dropdown .dropdown-content a:hover {
        color: #27ECA0;
    }

    header {
        position: fixed;
    }

    .hamburger__inner,
    .hamburger__inner::before,
    .hamburger__hidden,
    .hamburger__hidden::before,
    .hamburger__hidden::after {
        width: 45px;
        height: 4px;
    }

    .hamburger__inner::after {
        width: 26px;
        height: 4px;
    }

    .menu.active {
        width: 100%;
    }

    .nav-site a.billetterie {
        display: none;
    }

    .nav-site {
        width: 40px;
    }

    .hamburger__inner,
    .hamburger__inner::before,
    .hamburger__hidden,
    .hamburger__hidden::before,
    .hamburger__hidden::after {
        width: 40px;
        height: 4px;
    }

    .hamburger__inner::after {
        width: 22px;
        height: 4px;
    }

    #menu-aeb {
        position: fixed;
        z-index: 99;
        width: 100%;
        box-shadow: 0 3px 6px #00000029;
        padding: 1rem 0;
        background: var(--color-terceary);
    }

    .menu .wrap .wrap-nav {
        width: max-content;
    }

    .menu .wrap .resoc {
        display: block;
        margin: auto;
        width: max-content;
        /*margin-left: 5.5em;*/
    }
}

/* =========================
      FIN MENU 
===========================*/
/* DEBUT PERSONNALISATION */

.logo-site a {
    display: flex;
}

h1,
h2,
h3 {
    line-height: 1;
    font-family: var(--font-secondary), sans-serif;
}

h1 {
    font-size: 40px;
}

h1 span {
    color: var(--color-primary);
    font-family: var(--font-secondary), sans-serif;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 22px;
    text-transform: none;
}

li {
    font-size: 16px;
}

p {
    line-height: 1.5;
    margin: 1rem 0;
    display: block;
}

img {
    display: block;
    margin: auto;
    max-width: 100%;
    height: auto;
}

.grp-btn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.btn {
    display: block;
    width: max-content;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    font-size: 16px;
    color: white;
    background: var(--color-primary);
    transition: all var(--transition);
}

.btn:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: white;
}

.btn-sec {
    font-size: 16px;
    color: var(--color-primary);
    border-bottom: 1.5px solid var(--color-primary);
    padding-bottom: 2px;
    transition: all var(--transition);
    font-weight: 500;
}

.btn-sec:hover {
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

@media only screen and (min-width: 801px) and (max-width: 1199px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 22px;
    }
}

@media only screen and (min-width: 481px) and (max-width: 800px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 22px;
    }
}

@media only screen and (max-width: 480px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 22px;
    }
}

/* =========================
      FIN COOKIES 
===========================*/
/* =========================
      FOOTER 
===========================*/
footer {
    background: var(--color-secondary);
    position: relative;
    border-top: 1px solid var(--color-terceary);
    padding: 2rem 0 0;
}

footer * {
    color: #fff;
}

footer .bloc-3 {
    display: flex;
    flex-direction: column;
}

footer img {
    max-width: 200px;
    margin: 0;
}

footer .bloc-1 {
    width: 100%;
    margin-top: 2rem;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--color-terceary);
}

footer .info .content {
    display: flex;
    flex-direction: column;
    margin: 1rem 0 0;
    gap: 0.5rem;
}

footer .info .content p {
    margin: 0;
}

footer .info .content a,
footer .legal a {
    position: relative;
    width: fit-content;
}

footer .info .content a:hover,
footer .legal a:hover {
    color: white;
}

footer .info .content a::after,
footer .legal a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-primary);
    transition: width var(--transition);
}

footer .info .content a:hover::after,
footer .legal a:hover::after {
    width: 100%;
}

footer h3 {
    text-transform: uppercase;
    margin-bottom: 1rem;
}

footer .menu-footer a {
    color: white;
}

footer .menu-footer .wrap-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

footer .legal .content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* =========================
      FIN FOOTER 
===========================*/
/* RESPONSIVE */
@media only screen and (min-width: 801px) {
    .bloc-1 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .bloc-2 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .bloc-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.3%;
        flex: 0 0 33.3%;
        max-width: 33.3%;
    }

    .bloc-4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .bloc-5 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }

    .bloc-2-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 66.66%;
        flex: 0 0 66.66%;
        max-width: 66.66%;
    }

    .bloc-3-4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }

    .bloc-2-5 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 40%;
        flex: 0 0 40%;
        max-width: 40%;
    }

    .bloc-3-5 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 60%;
        flex: 0 0 60%;
        max-width: 60%;
    }

    .bloc-4-5 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 80%;
        flex: 0 0 80%;
        max-width: 80%;
    }
}

/*------------------------------------*\
    MISC
\*------------------------------------*/
::selection {
    background: #424242;
    color: #FFF;
    text-shadow: none;
}

::-webkit-selection {
    background: #424242;
    color: #FFF;
    text-shadow: none;
}

::-moz-selection {
    background: #424242;
    color: #FFF;
    text-shadow: none;
}

/* RGPD */
#cookie-notice,
#cookie-notice * {
    color: #fff;
}

body #cookie-notice .cn-button:not(.cn-button-custom) {
    color: #000;
    font-weight: 500;
}

@media screen and (max-width:422px) {
    body #cookie-notice .cn-button:not(.cn-button-custom) {
        margin: 0.5em;
    }
}

/* POPUP NEWSLETTER */
.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    z-index: 99;
    display: none;
}

.overlay.open {
    display: inherit;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    padding: 2%;
    width: 620px;
    max-width: 80%;
    transition: all 1s ease-in-out;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
}

#actus .popup h3 {
    color: #27ECA0;
    font-weight: 700;
    font-size: 24px;
}

#actus .popup p {
    color: #444;
    font-size: 14px;
    margin: 1.5em 0;
}

.popup .close {
    position: absolute;
    top: 0;
    right: 10px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
}

.popup .close {
    color: #27ECA0;
    cursor: pointer;
}

.popup .close:hover {
    color: #12006C;
}

.popup .content {
    width: 80%;
    max-width: 400px;
    margin: 2em auto 1em;
}

#gform_fields_5 input {
    border: none;
    padding: 0.5em 1em;
    height: 50px;
    color: #757575;
    background: #f9f9f9;
    max-width: 320px;
    -webkit-box-shadow: 0 1px 1px rgb(0 0 0 / 15%);
    box-shadow: 0 1px 1px rgb(0 0 0 / 15%);
}

#gform_submit_button_5 {
    background: #27ECA0;
    color: #fff;
    font-weight: 700;
    border: 0;
    padding: 10px 20px;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.3s;
    cursor: pointer;
    letter-spacing: .28px;
    margin: auto;
}

#field_5_4 #input_5_4_1 {
    height: auto;
}

#gform_wrapper_5 .gfield_consent_label {
    font-size: 12px;
}

@media only screen and (max-width: 480px) {
    .popup {
        max-width: 95%;
    }
}