/*
Theme Name: EYES ON EUROPE
Author: WE JUNE Agency
Author URI: https://we-june.com/
Version: 1.0
Tags: template personnalisé, responsive, bootstrap, made in belgium
License: WE JUNE Agency
*/

@import url("inc/wp-core.css");
@import url("inc/B4-custom-colors.css");
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css");


:root {
    --primary: #004A97;
	--secondary: #FFCF00;
    --white: #ffffff;
    --dark: #333333;
    --black: #000000;
}


/* ADMIN LOGIN */
body.login p {
    color: var(--black);
}

body.login #login h1 a {
    background: url("img/logo.png") no-repeat center center / cover !important;
    height: 50px;
    width: 200px;
}

::placeholder,
:-ms-input-placeholder,
::-ms-input-placeholder {
    color: var(--black);
    opacity: 1;
}

#login h1:before,
#login h1:after {
    content: none;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    height: 100%;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    padding: 0;
    margin: 0;
    font-size: 16px;
    line-height: 1.9;
    color: var(--dark);
    background: var(--white);
    position: relative;
}

input:focus,
button:focus,
a:focus {
    outline: none;
    box-shadow: none;
}

.no-line,
.no-border-bottom {
    text-decoration: none !important;
    border: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary);
    position: relative;
    display: table;
}

h1,
.h1 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1em;
    font-weight: 500;
        text-transform: uppercase;
}

h2,
.h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1em;
    font-weight: 500;
        text-transform: uppercase;
}

h3,
.h3 {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 1em;
}

h4,
.h4 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 1em;
}

h5,
.h5 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1em;
}

h6,
.h6 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1em;
}

p {
    font-size: 1em;
    font-weight: 400;
    margin-bottom: 1rem;
}

b,
.b,
strong,
.strong {
    font-weight: 500;
}

#content a {
    color: var(--primary);
    font-weight: 500;
    transition: .5s ease-in-out;
    text-decoration: none;
}

#content a:hover {
    color: var(--secondary);
    text-decoration: none;
}

.btn {
    text-decoration: none;
    border: none !important;
}

.btn-primary, .btn-secondary,
.btn-primary *, .btn-secondary * {
    color: #ffffff !important;
}

/* HEADER */
header#header {
    position: fixed;
    background: var(--white);
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    border-bottom: 4px solid var(--primary);
}

header#header,
header#header * {
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
}

body.home header#header {
    background: var(--primary);
    border-bottom: 4px solid var(--white);
}

body.home header#header ul.menu li>a {
    color: var(--white);
}

header #logo {
    height: 75px;
    position: relative;
    z-index: 999;
}

/* MENU - NAVIGATION */
nav a {
    text-decoration: none !important;
}

#navigation ul.menu li {
    margin: 0 5px;
}

#navigation ul.menu li a {
    color: var(--primary);
    padding: 7.5px 15px;
    text-decoration: none;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 300;
}

#navigation ul.menu li>a:hover,
#navigation ul.menu li.current_page_item>a,
body.home .sticky #navigation ul.menu li>a:hover,
body.home .sticky #navigation ul.menu li.current_page_item>a {
    color: var(--secondary);
    text-decoration: none;
}

body.home #navigation ul.menu li>a:hover,
body.home #navigation ul.menu li.current_page_item>a {
    color: var(--secondary);
}

nav#navigation ul.menu li.menu-item-has-children {
    position: relative;
    z-index: 2;
}

nav ul.sub-menu {
    display: none;
    text-align: left;
    border-top: 32px solid transparent;
    padding: 10px 0;
    z-index: 0;
    position: absolute;
    width: 200px;
    top: 25px;
    left: 0;
    z-index: 1;
    border-radius: 0 0 45px 0;
    overflow: hidden;
}

header.sticky nav ul.sub-menu {
    top: -5px;
}

nav ul.menu li.menu-item-has-children:hover>ul.sub-menu {
    display: block;
}

nav ul.sub-menu ul {
    display: block;
}

nav ul.sub-menu li {
    display: block;
    margin: 0 5px;
    background: var(--primary);
}

nav ul.sub-menu li a {
    padding: 7.5px 15px !important;
    color: var(--white) !important;
    font-size: 0.8rem !important;
}

nav ul.sub-menu li a:hover,
nav ul.sub-menu li.current_page_item a {
    opacity: 1;
    color: var(--secondary) !important;
}

#navigation .btn-secondary.current_page_item a {
    color: var(--primary) !important;
}

/* HEADER STICKY */
header#header.sticky {
    background: var(--white);
}

body.home header#header.sticky {
    background: var(--primary);
}

header.sticky #navigation ul.menu li a {
    font-size: 0.8rem;
}

header.sticky #logo {
    height: 35px;
}

/* SEARCH */
#search-btn {
    position: fixed;
    top: 30%;
    right: 0;
    padding: 10px 15px;
    border-radius: 10px 0 0 10px;
    background: var(--primary);
    color: var(--white);
    z-index: 999;
}

body.home #search-btn {
    background: var(--secondary);
}

/* HOME */
body.home header {
    position: fixed !important;
}

body.home #content {
    margin-top: 0px;
}

/* VIDEOS YOUTUBE */
#display-medias iframe {
    width: 100% !important;
    max-width: 100% !important;
}
body.page-id-5831 #display-medias iframe {
    max-height: 200px;
}

/* NEWSLETTER */
section#newsletter {
    background: #1063bb;
}

section#newsletter * {
    color: var(--white);
    text-align: center;
}

section#newsletter input {
    text-align: left !important;
}

section#newsletter .btn-block {
    width: initial !important;
    padding: 10px 15px !important;
    margin: 0 auto;
    text-align: center !important;
}

section#newsletter .title-eoe:after {
    content: '';
    background: url('img/logo-e.png') no-repeat center center / contain;
    height: 40px;
    display: block;
    text-align: center;
    margin: 15px 0 0;
}


/* CONTENT */

.content-page h1 {
    font-size: 2em;
    background: var(--white);
    padding: 25px;
    border-radius: 25px 25px 0 0;
    margin-top: -105px;
    text-align: center;
}

/* TOP CONTENT - BANNER */
.banner {
    padding: 150px 0;
    overflow: hidden;
    position: relative;
}

.banner h1.title-overlay {
    position: absolute;
    z-index: 9;
    bottom: -9px;
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 0 10px var(--dark);
}

.banner h1.title-overlay:after {
    content: none;
}

#highlight-banner {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
}


#highlight-banner *,
#highlight-banner #metas a {
    color: var(--white) !important;
}

#highlight-banner #post-item {
    position: absolute;
    bottom: 10%;
}

#highlight-banner h2,
#highlight-banner h2.display-2 a {
    font-size: 2rem;
    font-weight: 300;
}
#highlight-banner h2.display-2 a:hover {
    color: var(--secondary) !important;
}

/* MAGAZINES */
#list-mag .card-img-overlay {
    top: initial;
    bottom: 10px;
    left: -5px;
}

#list-mag img.card-img {
    min-height: 360px;
}

/* BLOG
GENERAL POST */
p#metas {
    font-size: 0.8rem;
}

#metas a {
    color: var(--black) !important;
}

#display-articles #metas span,
#display-events #metas span {
    position: relative;
    font-weight: 500;
    color: var(--black);
}

figure#post-image {
    position: relative;
    overflow: hidden;
}

figure#post-image img {
    border-radius: 20px 20px 20px 0;
}

figure#post-image:before {
    content: '';
    display: block;
    position: absolute;
    top: 10px;
    right: -60%;
    width: 80%;
    height: 2px;
    background: var(--secondary);
    transition: .5s ease-in-out;
}

figure#post-image:hover:before {
    width: 100%;
}

.underline-bottom:after,
h1:after,
h2:after {
    content: '';
    height: 2px;
    width: 30px;
    background: var(--secondary);
    display: block;
    position: absolute;
    left: 0;
    bottom: -0.5em;
    transition: .5s ease-in-out;
}

.underline-bottom:hover:after {
    width: 60px;
}

h1:after,
h2:after {
    height: 4px;
    width: 50%;
    position: relative;
}

#highlight-banner h1:after,
#highlight-banner h2:after {
    content: none;
}

span#category a.no-line:before {
    content: '| ';
}

span#category a.no-line:first-child:before {
    content: none;
}

/* BLOG
SINGLE POST */
body.single p {
    text-align: justify !important;
}

body.single h1 {
    font-size: 1.75rem;
}
body.single h2 {
    font-size: 1.5rem;
    text-transform:initial;
}
body.single h2:after {
    content: none;
}
body.single h3 {
    font-size: 1.25rem;
}
body.single h4 {
    font-size: 1.15rem;
}
body.single h5 {
    font-size: 1.1rem;
}
ul.post-categories {
    list-style: none;
    text-transform: uppercase;
}

/* BLOG
PAGINATION */
.wp-pagenavi {
    display: flex;
    justify-content: center;
}

.wp-pagenavi span,
.wp-pagenavi a {
    margin: 0 10px;
    color: var(--primary) !important;
    border: none !important;
}

.wp-pagenavi span.current,
.wp-pagenavi a:hover {
    color: var(--secondary) !important;
    font-weight: 500 !important;
}

.wp-pagenavi span.pages,
.wp-pagenavi a.first,
.wp-pagenavi a.last {
    display: none;
}

/* EVENTS */
.ai1ec-time {
    color: var(--white);
    font-size: 1rem;
    background: var(--primary);
    padding: 10px;
    border-radius: 10px 10px 10px 0px;
    display: table;
}

.single-ai1ec_event div.widget:nth-child(1), .post-type-archive-ai1ec_event div.widget:nth-child(1),
.single-ai1ec_event div.widget:nth-child(2), .post-type-archive-ai1ec_event div.widget:nth-child(2) {
    display: none;
}
.single-ai1ec_event #sidebar, .post-type-archive-ai1ec_event #sidebar {
    margin-top: 50px;
}

/* TIMELINE */
.cool-timeline .ctl_info.event-description strong {
    font-weight: 600 !important;
    color: black !important;
}
.cool-timeline .timeline-post .timeline-content .content-details p {
    margin-bottom: 0.75rem !important;
}

h2.content-title:after {
    content: none;
}

.ctl_info.event-description .content-details p {
    color: var(--black) !important;
}
.ctl_info.event-description .content-details p strong {
    color: var(--primary) !important;
}
.cool-timeline img.story-img {
    max-width: 250px !important;
    padding: 25px 0;
    height: auto;
}

.timeline-post.odd .timeline-content .event-description {
    margin-top: 52px !important;
}
.timeline-post.odd .timeline-content h2.content-title {
    position: absolute !important;
    right: 0 !important;
}

/* SIDEBAR */
#sidebar p,
#sidebar a {
    font-size: 0.8rem;
}

#sidebar a {
    color: var(--black);
}

#sidebar a:hover {
    color: var(--primary);
}

#form-sidebar {
    display: none !important;
}

#sidebar #form-sidebar {
    display: block !important;
}

#sidebar input.form-control {
    width: initial;
}

#sidebar .widget {
    margin-bottom: 2em;
    padding: 15px;
}

#sidebar ul,
#sidebar li {
    list-style: none;
    padding-left: 0;
}

#sidebar .widget_title {
    padding-bottom: 5px;
}

#sidebar .widget h4 {
    display: block;
    border-bottom: 2px solid var(--secondary);
}

#sidebar .widget_recent_entries li {
    margin-bottom: 15px;
    line-height: initial;
}

li.cat-item,
li.cat-item-all {
    text-transform: uppercase;
}

/* CONTACT */
.box-contact {
    border-radius: 35px;
}
.box-contact a {
    color: var(--secondary) !important;
}
.box-contact a:hover {
    opacity: 0.5;
}
body.page-template-contact .widget {
    margin-bottom: 0 !important;
}

body.page-template-contact section#contact:before {
    content: '';
    background: var(--primary);
    border-radius: 25px;
    width: 100%;
    height: 370px;
    position: absolute;
    top: -20px;
}

/* CONTACT FORM 7 */
.wpcf7 form label {
    text-transform: uppercase;
}

.wpcf7 form input,
.wpcf7 form textarea,
.wpcf7 form select {
    background: var(--white);
    border: 2px solid var(--primary) !important;
    color: var(--black);
    width: 100%;
    padding: 10px;
}

.wpcf7 form input:focus,
.wpcf7 form textarea:focus,
.wpcf7 form select:focus {
    outline: none !important;
}


.wpcf7 form input.wpcf7-submit {
    color: var(--white);
    border: none !important;
    background: var(--secondary);
    display: block;
    padding: 10px 25px;
    width: initial;
    float: right;
    margin-top: 25px;
    text-transform: uppercase;
}

.wpcf7 form input.wpcf7-submit:hover {
    background: var(--primary);
}

form input[readonly=readonly] {
    background: var(--secondary) !important;
}

.wpcf7-mail-sent-ok {
    background: green !important;
    color: var(--white) !important;
    border: 2px solid green !important;
}

div.wpcf7-validation-errors {
    color: var(--white) !important;
    background-color: red !important;
    border: none !important;
}

div.wpcf7-acceptance-missing {
    color: var(--white) !important;
    background-color: orange !important;
    border: none !important;
}

/* RECAPTCHA */
.grecaptcha-badge {
    display: none !important;
    bottom: 50px !important;
}

body.page.page-id-2672 .grecaptcha-badge {
    display: block !important;
}

/* FOOTER */
footer {
    background: var(--primary);
    color: var(--white);
}

footer nav#navigation-footer ul,
footer nav#navigation-footer li {
    display: inline-block;
    padding: 0 5px;
}

footer nav#navigation-footer a {
    color: var(--white);
}

footer nav#navigation-footer a:hover {
    color: var(--secondary);
}

footer nav li a {
    font-size: 0px;
}

footer nav li a:hover {
    opacity: 0.7;
}

footer li a:before {
    content: '';
    width: 20px;
    height: 20px;
    display: inline-block;
}

li.menu-item.facebook-link a:before {
    background: url('img/facebook.svg') no-repeat center center / contain;
}

li.menu-item.twitter-link a:before {
    background: url('img/twitter.svg') no-repeat center center / contain;
}

li.menu-item.instagram-link a:before {
    background: url('img/instagram.svg') no-repeat center center / contain;
}

li.menu-item.linkedin-link a:before {
    background: url('img/linkedin.svg') no-repeat center center / contain;
}

li.menu-item.youtube-link a:before {
    background: url('img/youtube.svg') no-repeat center center / contain;
}

p#order_comments_field {
    background: var(--tertiary) !important;
    padding: 20px !important;
    border: none !important;
    border-radius: 5px !important;
    margin-bottom: 25px !important;
}

p#order_comments_field label {
    color: var(--white) !important;
    font-weight: bold !important;
}

/* MODAL */
.modal-content {
    border-radius: 20px !important;
    overflow: hidden;
}

/* RESPONSIVE */
button.navbar-toggler {
    background: transparent;
    border: none;
}

body.home button.navbar-toggler i {
    color: var(--white);
}

button.navbar-toggler i {
    color: var(--primary);
}


@media screen and (max-width: 1440px) {
    #navigation ul.menu li a {
        font-size: 0.95rem !important;
        padding: 5px 7.5px !important;
    }
}

@media screen and (max-width: 1024px) {
    nav#navigation ul.menu li {
        margin: 10px !important;
        text-align: center !important;
    }

    header nav {
        background: var(--primary) !important;
    }

    header#header ul.menu li>a {
        color: var(--white);
    }

    ul.menu {
        font-size: 1.2rem !important;
    }

    ul.sub-menu {
        position: relative !important;
        opacity: initial !important;
        display: block !important;
        background: transparent !important;
        bottom: initial !important;
        border-top: initial !important;
        font-size: 1rem !important;
        width: 100% !important
    }
    ul.sub-menu,
    ul.sub-menu li {
        display: none !important;
        border: none;
        padding: 0 !important;
        margin: 0 !important;
        top: initial !important;
        background: transparent !important;
    }

    ul.sub-menu li a {
        color: var(--primary) !important;
        font-size: 1rem !important;
        opacity: 0.7;
    }

    ul.sub-menu li {
        display: block !important;
    }
}

@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }

    #highlight-banner #post-item {
        left: 0;
    }

    figure.wp-block-embed-youtube iframe {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media screen and (max-width: 480px) {
    #highlight-banner h2 {
        font-size: 1.2rem;
    }
    .banner {
        height: 220px;
    }
    h1,
    .h1 {
        font-size: 1.6rem;
    }

    h4,
    .h4 {
        font-size: 1.25rem;
    }
}

@media screen and (max-width: 340px) {
    header #logo {
        height: 50px;
    }
}