/* MILK */

.message-div-success {
    background-color:none;
}

.flex-radio {
    display:flex;
}

.flex-radio .a-label {
    display:block;
    margin-right:20px;
}

.s-footer--newsletter {
    display:block;
}

.o-popin-newsletter--container .i-close::before, .o-popin-newsletter--container .i-close::after {
    background-color:white;
}


/* HELPERS */

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

.complete-width {
    width: 100%;
}


/* IMG */

.image-object-fit-cover__container {
    position: relative;
    min-height: auto;
    overflow: hidden;
}

.image-object-fit-cover__container.compat-object-fit-cover {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.image-object-fit-cover__container.compat-object-fit-cover img {
    opacity: 0;
}

.image-object-fit-cover__image {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
}


/* EDITOR CUSTOM */

.editor-custom h1 {
    font-family: Futura PT;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
    letter-spacing: .3em;
}

.editor-custom h1+* {
    margin-top: 2rem;
}

.editor-custom h2 {
    font-size: 1.8rem;
}

.editor-custom h3 {
    font-size: 1.5rem;
}

.editor-custom h4 {
    font-size: 1.3rem;
}

.editor-custom em {
    font-style: italic;
}

.editor-custom a:hover {
    opacity: 0.5;
}

.editor-custom ul ul,
.editor-custom ol ol {
    margin: 0;
}

.editor-custom ul li+li, 
.editor-custom ol li+li {
    margin-top: 0;
}

.editor-custom ol {
    counter-reset: ol;
    padding-left: 0;
}

.editor-custom ol li {
    position: relative;
    padding-left: 20px;
}

.editor-custom ol li:before {
    position: absolute;
    top: 0;
    left: 0;
}

.editor-custom ol > li {
    counter-increment: ol;
}

.editor-custom ol > li:before {
    content: counter(ol)'.';
}

.editor-custom ol > li > ol {
    counter-reset: ol2;
}

.editor-custom ol > li > ol > li {
    counter-increment: ol2;
    padding-left: 35px;
}

.editor-custom ol > li > ol > li:before {
    content: counter(ol)'.'counter(ol2)'.';
}

.editor-custom ol > li > ol > li > ol {
    counter-reset: ol3;
}

.editor-custom ol > li > ol > li > ol > li  {
    counter-increment: ol3;
    padding-left: 50px;
}

.editor-custom ol > li > ol > li > ol > li:before  {
    content: counter(ol)'.'counter(ol2)'.'counter(ol3)'.';
}

.editor-custom p+blockquote,
.editor-custom blockquote+p {
    margin-top: 2rem;
}

.editor-custom blockquote {
    padding-left: 20px;
    border-left: 1px solid #002855;
}

.editor-custom img {
    width: auto;
}

.editor-custom img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.editor-custom img.alignleft {
    float: left;
    margin-right: 20px;
}

.editor-custom img.alignright {
    float: right;
    margin-left: 20px;
}

.editor-custom img.alignleft,
.editor-custom img.alignright {
    max-width: 50%;
    margin-top: 10px;
    margin-bottom: 10px;
}


/* RECRUTEMENT */

@media screen and (min-width: 481px) {
    #p-recrutment .u-show-tab {
        display: none;
    }

    #p-recrutment .container-offers {
        min-width: auto;
    }
}

#p-recrutment .offers .no-result {
    display: none;
    border: none;
}


/* OFFER */

#p-offre .s-presentation--breadcrumbs {
    color: white;
}

#p-offre .s-presentation--breadcrumbs svg path {
    fill: white;
}

#p-offre .offer__information + .offer__information {
    margin-top: 4rem;
}


/* JOURNAL - FILTERS */

#p-journal .filter-articles-mobile {
    display: none;
}

#p-journal .filter-articles-mobile select {
    width: 100%;
    padding-right: 45px;
    background-image: url(../svg/arrow-bottom.svg);
    background-position: center right 15px;
    background-repeat: no-repeat;
}

#p-journal .filter-articles-desktop {
    padding: 0px 50px;
}

@media screen and (max-width: 767px) {
    #p-journal .filter-articles-mobile {
        display: block;
    }

    #p-journal .filter-articles-desktop {
        display: none;
    }
}

#p-journal .js-filter-category-articles {
    position: relative;
    display: inline-block;
    margin: 0px 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 1.2rem;
}

#p-journal .js-filter-category-articles.active,
#p-journal .js-filter-category-articles:hover {
    text-decoration: underline;
}


/* JOURNAL - ARTICLES */

#p-journal .articles {
    margin-bottom: -100px;
}

@media screen and (max-width: 767px) {
    #p-journal .articles {
        margin-bottom: -40px;
    }
}

#p-journal .articles .article {
    width: 50%;
    padding: 0 50px;
    margin-bottom: 100px;
}

@media screen and (max-width: 767px) {
    #p-journal .articles .article {
        width: 100%;
        padding: 0;
        margin-bottom: 40px;
    }
}

#p-journal .article__inner,
.related-articles .article__inner {
    display: block;
}

#p-journal .article__inner:hover .article__image,
.related-articles .article__inner:hover .article__image {
    opacity: 0.7;
}

#p-journal .article__container-image,
.related-articles .article__container-image {
    position: relative;
    background-color: #002855;
    line-height: 0;
}

#p-journal .article__image,
.related-articles .article__image {
    transition: opacity 0.4s cubic-bezier(0.24, 0, 0, 1);
}

#p-journal .article__title,
.related-articles .article__title {
    margin: 2rem 0;
}

#p-journal .article__excerpt,
.related-articles .article__excerpt {
    margin-top: 1rem !important;
}


/* JOURNAL - ARTICLES (related articles) */

.related-articles {
    display: flex;
    margin: 40px -20px 0;
}

@media screen and (max-width: 767px) {
    .related-articles {
        flex-wrap: wrap;
        margin: 20px 0 0;
    }
}

.related-articles .article {
    width: 33.33%;
    padding: 0 20px;
}

@media screen and (max-width: 767px) {
    .related-articles .article {
        width: 100%;
        padding: 0;
    }

    .related-articles .article:not(:last-child) {
        margin-bottom: 40px;
    }
}

.related-articles .article .article__container-image {
    padding-bottom: 65%;
}


/* JOURNAL (home) */

.journal-home {
    display: flex;
}

@media screen and (max-width: 1023px) {
    .journal-home {
        flex-wrap: wrap;
    }
}

.journal-home__container-image {
    width: 50%;
    line-height: 0;
    z-index: 1;
}

@media screen and (max-width: 1023px) {
    .journal-home__container-image {
        width: 100%;
        margin-bottom: 5rem;
    }
}

.journal-home__container-image__inner {
    position: relative;
    height: 100vh;
}

@media screen and (max-width: 1023px) {
    .journal-home__container-image__inner {
        height: auto;
    }
}

.journal-home__container-image__inner__inner {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50vw;
    background-color: #002855;
}

@media screen and (max-width: 1023px) {
    .journal-home__container-image__inner__inner {
        right: -2rem;
        width: 100vw;
     }
}
 
.journal-home__container-image__inner__inner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); 
}

 .journal-home__container-image__inner__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 50px 50px 0;
    color: white;
}

@media screen and (max-width: 1023px) {
    .journal-home__container-image__inner__content {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        padding: 45% 50px 50px;
    }
}

@media screen and (max-width: 767px) {
    .journal-home__container-image__inner__content {
        padding: 45% 0 50px;
    }
}

.journal-home__content {
    width: 50%;
    padding-top: 60px;
    padding-left: 20px;
    padding-right: 20px;
}

@media screen and (max-width: 1023px) {
    .journal-home__content {
        width: 100%;
        padding-top: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

.journal-home__content > * {
    margin-right: -40px;
}

@media screen and (max-width: 1023px) {
    .journal-home__content > * {
        margin-right: 0;
    }
}

.journal-home__content .articles .article {
    padding: 0 20px !important;
}

@media screen and (max-width: 1023px) {
    .journal-home__content .articles .article {
        padding: 0 50px !important;
    }
}

@media screen and (max-width: 767px) {
    .journal-home__content .articles .article {
        padding: 0 !important;
    }
}

.journal-home__content .filter-articles-desktop {
    padding: 0px 20px !important;
}

@media screen and (max-width: 1023px) {
    .journal-home__content .filter-articles-desktop {
        padding: 0px 50px !important;
    }
}

@media screen and (min-width: 1024px) {
    .journal-home__content .js-filter-category-articles {
        font-size: 1rem !important;
    }
}


/* JOURNAL (single) */

.single-article .s-cover:not(.m-empty)::after {
    padding-bottom: 0;
}

.cover-article {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: auto !important;
    height: auto !important;
    color: white;
    background: rgba(0, 0, 0, 0.2); 
    padding: 20vw 0 10vw;
}

@media screen and (max-width: 768px) {
    .cover-article {
        padding: 200px 0 10vw;
    }
}

.single-article__date:not(:last-child) {
    margin-bottom: 30px;
}


/* PAGINATION */

.page-nav-container {
    position: relative;
    text-align: center;
}

.page-nav-container > * {
    display: inline-block;
    width: 40px;
    height: 40px;
    padding-top: 2px;
    margin: 0 5px;
    font-size: 20px;
}

@media screen and (max-width: 768px) {
    .page-nav-container > * {
        width: 30px;
        height: 30px;
        padding-top: 1px;
        font-size: 16px;
    }
}

.page-nav-container > *.current {
    background-color: #002855;
    color: white;
}

.page-nav-container > a:hover  {
    cursor: pointer;
    text-decoration: underline;
}


/* SHARE */

.share {
    margin-top: 1rem;
}

.share__item {
    display: inline-block;
    vertical-align: middle;
    margin: 0px 10px;
    transition: opacity 0.4s cubic-bezier(0.24, 0, 0, 1);
}

.share__item:hover {
   opacity: 0.5;
}

.share__item svg {
    width: 20px;
    height: 20px;
}

.share__item svg, 
.share__item svg path, 
.share__item svg circle {
    fill: #002855;
}

.cover-article .share__item svg, 
.cover-article .share__item svg path, 
.cover-article .share__item svg circle {
    fill: white;
}


/* MENU */

.o-header.m-transparent .o-header--top-left > a,
.o-header.m-transparent .o-header--nav .o-header--item > a,
.o-header.m-transparent .o-header--langs {
    color: white;
}

.o-header:not(.m-transparent) .o-header--top-left > a,
.o-header:not(.m-transparent) .o-header--nav .o-header--item > a,
.o-header:not(.m-transparent) .o-header--langs {
    color: #002855;
}








/* Form Builder */

.builder-form {
    max-width: 800px;
    margin: auto;
}

.builder-form__row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.builder-form__row .builder-form__container-field {
    width: 50%;
    padding: 0 10px;
}

@media screen and (max-width: 567px) {
    .builder-form__row--responsive .builder-form__container-field {
        width: 100%;
    }
}

.builder-form__container-field {
    margin-bottom: 1rem;
}

.builder-form__container-field--infos_children,
.builder-form__container-field--infos_accompanying_persons {
    margin-bottom: 0 !important;
}

.builder-form__container-infos_children,
.builder-form__container-infos_accompanying_persons {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.builder-form__container-infos_child,
.builder-form__container-infos_accompanying_person {
    width: 50%;
    padding: 0 10px;
}

.builder-form__container-civility_accompanying_person {
    width: 100%;
}

.builder-form__container-infos_child:not(:empty),
.builder-form__container-infos_accompanying_person:not(:empty) {
    margin-bottom: 1rem;
}

@media screen and (max-width: 567px) {
    .builder-form__container-infos_child,
    .builder-form__container-infos_accompanying_person {
        width: 100%;
    }
}

.builder-form__container-checkbox--inline,
.builder-form__container-radio--inline {
    display: inline-block;
}

.builder-form__container-checkbox--inline:not(:last-child),
.builder-form__container-radio--inline:not(:last-child) {
    margin-right: 3rem;
}

.builder-form__label {
    display: block;
    margin-bottom: 0.5rem;
}

.builder-form__label span {
    display: inline;
}

.builder-form__field:not([type="submit"]):not([type="checkbox"]):not([type="radio"]) {
    display: block;
    width: 100%;
}

select.builder-form__field {
	background-image: url(https://evokcollection.com/wp-content/uploads/2022/05/chevron-down.svg);
	background-position: center right 1.4rem;
	background-repeat: no-repeat;
	background-size: 1.4rem;
	padding-right: 4.2rem;
    background-color: white !important;
}

select.builder-form__field[name=date] {
	background-image: url(https://evokcollection.com/wp-content/uploads/2022/11/calendar.svg);
}

select.builder-form__field[name*=hour] {
	background-image: url(https://evokcollection.com/wp-content/uploads/2022/11/hour.svg);
}

textarea.builder-form__field {
	height: 160px;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

.builder-form__message:not(:empty) {
    padding: 0.6rem 2rem 0.8rem;
    text-align: center;
    border: 1px solid #002855;
}

.builder-form__message:not(:empty):not(:first-child) {
    margin-top: 2em;
}

.builder-form__message--succes:not(:empty) {
    border: 1px solid green;
    color: green;
}

.builder-form__message--error:not(:empty) {
    border: 1px solid red;
    color: red;
}

.builder-form__error {
    font-size: 1rem;
    color: red;
}

.builder-form__container-button {
    margin-top: 2em;
    text-align: center;
}

.builder-form__form.submitting {
    position: relative;
}

.builder-form__form.submitting::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.builder-form__form.submitting::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
    width: 50px;
    height: 50px;
    border-radius: 50px;
    border: 5px solid #8ca0b7;
    border-top-color: #002855;
    animation: spin 2s linear infinite;
}

@keyframes spin {
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

.builder-form__form.submitting > div {
    opacity: 0.2; 
}

.builder-form__form.submitting button {
    pointer-events: none;
}

.builder-form__message p + p {
    margin-top: 0.5rem;
}


/* Custom checkbox/radio */
.builder-form__container-checkbox,
.builder-form__container-radio {
    position: relative;
}

input[type="checkbox"],
input[type="radio"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
    position: relative;
    display: inline-block;
    padding-left: 2em;
    cursor: pointer;
}

input[type="checkbox"] +label:before,
input[type="radio"] +label:before {
    content: "";
    position: absolute;
    top: 0.3em;
    left: 0;
    width: 1.2em;
    height: 1.2em;
    border: 1px solid #002855;;
    background: none;
}

[type="radio"] + label:before {
    border-radius: 50%;
}

input[type="checkbox"] + label:after,
input[type="radio"] + label:after {
    content: "";
    position: absolute;
    top: 0.5em;
    left: 0.2em;
    width: 0.9em;
    height: 0.9em;
    text-align: center;
    background-color: #002855;
}

input[type="checkbox"].checkbox-check + label:after {
    box-sizing: border-box;
    top: 1.3rem;
    left: 1rem;
    width: 1rem;
    height: 0.5rem;
    transform: translate(-50%, -50%) rotate(-45deg);
    border-left: 2px solid #00003F;
    border-bottom: 2px solid #00003F;
    background-color: transparent;
}

[type="radio"] + label:after {
    border-radius: 50%;
}

input[type="checkbox"]:not(:checked) + label:after,
input[type="radio"]:not(:checked) + label:after{
    opacity: 0;
}

input[type="checkbox"]:checked + label:after,
input[type="radio"]:checked + label:after{
    opacity: 1;
}

input[type="checkbox"] +label a,
input[type="radio"] +label a {
    text-decoration: underline;
}


/* EVENTS */
:root {
    --tec-color-accent-primary: #002855 !important;
    --tec-color-link-accent-hover: #00346f !important;
    --tec-color-button-primary-hover: #00346f !important;
}

.tribe-events-view {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.tribe-events-single-section.tribe-events-event-meta a {
    text-decoration: underline;
}

#p-single .tribe-events-meta-group-organizer .tribe-organizer a,
#p-single .tribe-events-meta-group-venue .tribe-venue a {
    text-decoration: none !important;
    pointer-events: none !important;
}

body.single-tribe_events .tribe-events-event-image {
    max-width: 600px;
}

.tribe-common a.a-button {
    border: 1px solid #002855;
    margin-top : 20px;
}

.tribe-common a.a-button:hover,
.tribe-common a.a-button:focus-within {
    color: white;
}

.tribe-events-calendar-series-archive__link,
.tribe-events-series-relationship-single-marker__title {
    display: none;
}

.tribe-events .tribe-events-c-view-selector__list-item-text {
    white-space: nowrap;
}

.tribe-events-single ul.tribe-related-events {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: -10px;
    margin-right: -10px;
}

.tribe-events-single ul.tribe-related-events li {
    flex: none;
    width: 33.33%;
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 10px;
    padding-right: 10px;
}

.tribe-events-single ul.tribe-related-events li .tribe-related-events-thumbnail a {
    padding-top: 0;
}

.tribe-events-single ul.tribe-related-events li .tribe-related-events-thumbnail img {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    transform: translate(0px, 0px) scale(1);
}

@media screen and (max-width: 767px) {
    .tribe-events-single ul.tribe-related-events li {
        width: 100%;
    }
}


/* WPML */

.otgs-development-site-front-end {
    display: none;
}

.is-ready .o-loader {
    display: none;
}

/* CLEMENT 05/03/2024 */
.builder-form__container-field--liste_choix {
    position: relative;
}
.builder-form__container-field--liste_choix:before {
    display: block;
    position: absolute;
    top: 65px;
    right: 24px;
    width: 20px;
    height: 20px;
    content:'';
    background-image: url(../img/down-arrow.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}