/*
Theme Name: YOURS ADVISORY
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('https://fonts.googleapis.com/css?family=Lato:300,500&display=swap');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css");

/*
:root {
	--yellow: #E4A62C;
    --blue: #2E317D;
    --green: #078244;
    --white: #ffffff;
    --grey: #f0f0f0;
    --dark: #000000;
}
*/

/* ADMIN LOGIN */
body.login p {
    color: #000000;
}

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

::placeholder,
:-ms-input-placeholder,
::-ms-input-placeholder {
    color: #000000;
    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: 'Lato', sans-serif;
    font-weight: 300;
    padding: 0;
    margin: 0;
    font-size: 16px;
    line-height: 1.9;
    color: #000000;
    background: #ffffff;
    position: relative;
}

.btn {
    border-radius: 0px !important;
}

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

h1,
.h1 {
    font-size: 2.6em;
    font-weight: 300;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

h2,
.h2 {
    font-size: 2.2em;
    font-weight: 300;
    margin-bottom: 1rem;
}

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

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

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

h6,
.h6,
.single h3 {
    font-size: 1.4em;
    font-weight: 300;
    margin-bottom: 1rem;
}

h2.home {
    font-size: 2.5em;
    font-weight: 300;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.single h3 {
    font-weight: bold;
    font-style: italic;
}

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

b,
strong {
    font-weight: 500;
}

#content a {
    color: #000000;
    font-weight: 500;
    transition: .5s ease-in-out;
    text-decoration: none;
    border-bottom: 1px solid #000000;
}

#content a:hover {
    color: #2E317D;
    text-decoration: none;
    border-bottom: 1px solid #2E317D;
}

#content .btn a {
    color: unset;
    border: 0;
    background-color: unset;
}

.title-line:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    margin-top: 15px;
    background: #2E317D;
}

.title-circle:after {
    content: '';
    display: block;
    width: 100px;
    height: 20px;
    margin-top: 15px;
    background: url('img/circle-gradient.svg') no-repeat center center / contain;
}

.points-step {
    position: relative;
    z-index: 2;
}

.points-step:before {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    left: -15px;
    background: url(img/circle-point.svg) no-repeat center center / contain;
    z-index: 1;
    top: -5px;
}

.text-center.title-line:after,
.text-center.title-circle:after {
    margin-left: auto;
    margin-right: auto;
}

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

.btn-bord-light {
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    background: transparent !important;
}

.btn-bord-light:hover {
    border: 2px solid #ffffff !important;
    color: #000000 !important;
    background: #ffffff !important;
}

.color-yellow {
    color: #E4A62C !important;
}

.color-blue {
    color: #2E317D !important;
}

.color-green {
    color: #078244 !important;
}

.bg-yellow {
    background: #E4A62C !important;
}

.bg-blue {
    background: #2E317D !important;
}

.bg-green {
    background: #078244 !important;
}

.btn-primary {
    background-color: #E4A62C;
    color: white;
    text-transform: uppercase;
    border: none;
}

.btn-primary:hover {
    background-color: #d79209;
    color: white !important;
}

/* HEADER */
header#header {
    position: absolute;
    background: #ffffff;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    transition: .5s;
    -webkit-transition: .5s;
    -o-transition: .5s;
    -moz-transition: .5s;
}

header#header.sticky {
    position: fixed;
}

body.home header#header {
    background: transparent;
}

body.home header#header.sticky {
    background: #ffffff;
}

body.home header#header ul.menu li>a {
    color: #ffffff;
}

body.home header#header.sticky *,
body.home header#header ul.sub-menu li>a {
    color: #000000 !important;
}

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

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

body.home header .btn-link {
    color: #ffffff;
}

header .btn-link,
header.sticky .btn-link {
    color: #000000;
}

nav a {
    text-decoration: none !important;
}

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

#navigation ul.menu li a {
    color: #000000;
    padding: 7.5px 15px;
    text-decoration: none;
    font-size: 1.2em;
}

#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 {
    text-shadow: 0 0 1px #000000;
    text-decoration: none;
}

body.home #navigation ul.menu li>a:hover,
body.home #navigation ul.menu li.current_page_item>a {
    text-shadow: 0 0 1px #ffffff;
}

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

nav ul.sub-menu {
    display: none;
    border-top: 20px solid transparent;
    text-align: left;
    padding: 10px 0;
    z-index: 0;
    position: absolute;
    min-width: 250px;
    left: 0;
    top: 10px;
    transition: opacity .3s ease-in-out;
    -webkit-transition: opacity .3s ease-in-out;
    -o-transition: opacity .3s ease-in-out;
    -moz-transition: opacity .3s ease-in-out;
    opacity: 0;
}

nav ul.sub-menu li {
    background: #ffffff;
}

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

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

nav ul.sub-menu li {
    display: block;
    margin: 0 5px;
}

nav ul.sub-menu li a {
    padding: 7.5px 15px !important;
    opacity: 0.7;
}

body.home nav ul.sub-menu li a {
    color: #000000 !important;
}

nav ul.sub-menu li a:hover,
nav ul.sub-menu li.current_page_item a {
    opacity: 1;
    background: transparent !important;
}

.search {
    cursor: pointer;
}

button.btn-close {
    background-color: unset;
    border: none;
    margin: 0 0.5em 0 1em;
}

/* BANNER */
.underline {
    border-bottom: 1px solid #ffffff;
}

/* HOME */

#box .card {
    border: none !important;
    border-radius: 0;
    overflow: hidden;
}

#box .card img {
    transition: 1s;
    -webkit-transition: 1s;
    -o-transition: 1s;
    -moz-transition: 1s;
}

#box .card:hover img {
    transform: scale(1.1);
}

#box article .card:before {
    content: '';
    background: linear-gradient(transparent 35%, #E4A62C);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    z-index: 1;
}

#box article:first-child .card:before {
    background: linear-gradient(transparent 35%, #078244);
}

#box article:last-child .card:before {
    background: linear-gradient(transparent 35%, #2E317D);
}

#box h5.card-title {
    position: absolute;
    bottom: 5px;
    text-transform: uppercase;
    font-weight: 500;
    z-index: 2;
}

#box h5.card-title small {
    font-weight: 300;
    font-size: initial !important;
    font-size: 1em;
}

#box article:first-child .card,
#box article:first-child .card img {
    border-radius: 15% 0 0 0;
}

#box article:last-child .card,
#box article:last-child .card img {
    border-radius: 0 15% 0 0;
}


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

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

/* SERVICES */
#services-lu #image-service {
    background: url('img/service-lu.jpg') no-repeat center center / cover !important;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
}

#services-be #image-service {
    background: url('img/service-be.jpg') no-repeat right top / cover !important;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
}

aside.bg-light.footer a {
    font-weight: 300 !important;
    border-bottom: none !important;
}

/* COLLAPSE */
.bg-light {
    background: #ECECEC !important;
}

.card-body {
    border: none;
    background-color: #F0F0F0;
}

.onglet {
    border-radius: 15px 15px 0 0 !important;
    padding: 15px 25px;
    transition: 0s !important;
    opacity: 0.7;
    color: #ffffff !important;
}

.onglet:focus,
.onglet:hover,
.onglet.active {
    opacity: 1;
    background: #E4A62C !important;
    color: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
}

/* BLOG */
article#blog-post a {
    color: #2E317D;
    font-weight: 500;
    border: none !important;
}

article#blog-post a:hover {
    opacity: 0.7;
}

article#blog-post figure {
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
    max-height: 240px;
}

article#blog-post:before {
    content: '';
    background: url(img/circle-point.svg) no-repeat center center / contain;
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    left: -10px;
    top: -25px;
    transform: rotate(45deg);
    z-index: 1;
}

article#blog-post img.img-blog-thumb {
    transition: .5s ease-in-out;
    -webkit-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
}

article#blog-post ul.post-categories {
    padding-left: 0;
    list-style: none;
}

article#blog-post ul.post-categories a {
    color: #E4A62C;
    text-transform: uppercase;
}

article#blog-post ul.post-categories a:hover {
    color: #2E317D;
}

article#blog-post ul.post-categories li {
    display: inline-block;
    margin-right: 5px;
}

article#blog-post img.img-blog-thumb:hover {
    transform: scale(1.1);
}

article#blog-post figure .date-thumb {
    position: absolute;
    top: 5px;
    right: 10px;
    color: #ffffff;
    text-shadow: 1px 1px 10px #000000;
}

.date-thumb {
    text-transform: uppercase !important;
}

aside#pagination {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

#pagination a {
    font-weight: initial;
    color: #000000;
    border: none;
}

#pagination span.page-numbers.current {
    font-weight: bold;
    color: #2E317D;
}

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

article#single-post ul.post-categories {
    padding-left: 0;
    list-style: none;
}

article#single-post ul.post-categories li {
    display: inline-block;
    margin-right: 5px;
}

article#single-post ul.post-categories li:first-child:before {
    content: '';
}

article#single-post ul.post-categories li:before {
    content: ' / ';
    color: #000000;
}

article#single-post ul.post-categories a {
    color: #E4A62C;
    text-transform: uppercase;
    border: none !important;
}

article#single-post ul.post-categories a:hover {
    color: #2E317D;
}

#single-post span.category ul {
    margin-bottom: 0px !important;
}

#single-post sup strong,
#single-post sup b {
    font-weight: 600 !important;
}

/* EQUIPE */
section.team#banner {
    background: linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .9)), url('img/team.jpg') no-repeat center center / cover;
}

.title_team_blue,
.title_team_yellow,
.title_team_green {
    text-transform: uppercase;
}

.title_team_blue:before,
.title_team_yellow:before,
.title_team_green:before {
    content: '';
    display: inline-block;
    height: 100px;
    width: 100px;
    margin-right: 5px;
    position: relative;
    top: 35px;
}

.title_team_blue:before {
    background: url('img/you-blue.png') no-repeat center center / contain;
}

.title_team_yellow:before {
    background: url('img/you-yellow.png') no-repeat center center / contain;
}

.title_team_green:before {
    background: url('img/you-green.png') no-repeat center center / contain;
}

/* SIDEBAR */
#sidebar video {
    max-width: 100%;
    height: auto;
}

#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 {
    font-size: 1.2em;
}

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

#sidebar .widget_recent_entries li a {
    border-bottom: none !important;
}

/* CONTACT */
.box-contact {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #ffffff;
    width: 50%;
    margin: 0 auto;
    min-height: 200px;
    padding: 15px;
    border-radius: 25px 0 0 0;
}

.box-contact h2 {
    color: #000000;
    font-weight: 500 !important;
    font-size: 1.5em;
}

.box-contact h2 span {
    font-weight: 300;
}

.flag-belgique:after,
.flag-luxembourg:after {
    content: '';
    display: inline-block;
    height: 30px;
    width: 25px;
    margin-left: 10px;
}

.flag-belgique:after {
    background: url('img/belgium.svg') no-repeat center center / contain;
}

.flag-luxembourg:after {
    background: url('img/luxembourg.svg') no-repeat center center / contain;
}

span.map,
span.tel,
span.mail,
span.fax {
    position: relative;
}

span.map:before,
span.tel:before,
span.mail:before,
span.fax:before {
    content: '';
    display: inline-block;
    height: 17.5px;
    width: 20px;
    position: absolute;
    left: -25px;
    top: 0px;
}

.box-contact span.map:before,
.box-contact span.tel:before,
.box-contact span.mail:before,
.box-contact span.fax:before {
    content: '';
    display: inline-block;
    height: 15px;
    width: 10px;
    position: absolute !important;
    left: -20px;
    top: 2.5px;
}

span.map:before {
    background: url('img/map.svg') no-repeat center center / contain;
}

span.mail:before {
    background: url('img/mail.svg') no-repeat center center / contain;
}

span.mail a:hover {
    color: #078244 !important;
    border-bottom: 1px solid #078244 !important;
}

span.tel:before {
    background: url('img/tel.svg') no-repeat center center / contain;
}

span.fax:before {
    background: url('img/fax.svg') no-repeat center center / contain;
}

/* ACCORDEON */
.wp-block-ub-content-toggle-accordion-title {
    font-weight: 500 !important;
    font-size: 1.2em;
    text-transform: uppercase;
}

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

.wpcf7 form textarea {
    border: 2px solid rgba(241, 229, 196, 0.8) !important;
}

.wpcf7 form input,
.wpcf7 form textarea,
.wpcf7 form select {
    background: #ffffff;
    border: none !important;
    box-shadow: 5px 5px 10px #ECECEC;
    color: #000000;
    width: 100%;
    padding: 10px;
}

.wpcf7 form #candidature-form input,
.wpcf7 form #candidature-form textarea,
.wpcf7 form #candidature-form select {
    box-shadow: 5px 5px 10px #000000;
}

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

.wpcf7 form input.wpcf7-submit {
    color: #ffffff;
    border: none;
    background: #E4A62C;
    display: block;
    padding: 10px 25px;
    width: initial;
    float: right;
    margin-top: 25px;
    text-transform: uppercase;
}

.wpcf7 form input.wpcf7-submit:hover {
    background: #2E317D;
}

form input[readonly=readonly] {
    background: #f0f0f0 !important;
}

.wpcf7 form.sent .wpcf7-response-output {
    background: green !important;
    color: #ffffff !important;
    border: 2px solid green !important;
}

.wpcf7 form.unaccepted .wpcf7-response-output {
    color: #ffffff !important;
    background-color: red !important;
    border: none !important;
}

.wpcf7 form.invalid .wpcf7-response-output {
    color: #ffffff !important;
    background-color: orange !important;
    border: none !important;
}

.wpcf7 span.mfcf7-zl-multifile-name{
    color: white;
}

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

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

/* FOOTER */
footer {
    background: #2E317D;
    color: #ffffff;
}

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

footer nav#navigation-footer a {
    color: #ffffff;
}

footer nav#navigation-footer a:hover {
    color: #E4A62C;
}

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

.modal-dialog {
    width: 120%;
}

/* WPML */
.wpml-ls {
    text-align: right;
    margin-right: 25px;
}

.wpml-ls li a {
    color: #ffffff;
}

.wpml-ls li.wpml-ls-current-language a {
    font-weight: bold;
}

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

#wmpl-switch-custom div div {
    color: #E4A62C;
    font-weight: bold;
}

body.home #wmpl-switch-custom a {
    color: #ffffff;
}

body.home nav #wmpl-switch-custom a,
#wmpl-switch-custom a {
    color: #000000;
    font-weight: lighter;
}

@media screen and (min-width: 1200px) and (max-width: 1225px) {
    #navigation ul.menu li a {
        font-size: 1em;
    }
}

@media screen and (max-width: 1024px) {
    .box-contact {
        width: 70%;
    }

    nav#navigation ul.menu li {
        margin: 10px !important;
        text-align: center !important;
    }

    body.home header nav {
        background: #ffffff !important;
    }

    body.home header#header ul.menu li>a {
        color: #000000;
    }

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

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

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

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

    nav#navigation ul.menu li {
        margin: 0 !important;
    }

    nav ul.sub-menu li a {
        padding: 0 !important;
    }

    #navigation ul.menu li a {
        font-size: 0.8em !important;
    }

    .content-page h1 {
        font-size: 1.5em;
    }

    h3,
    .h3 {
        font-size: 1.4em;
    }

    .box-contact h2 {
        font-size: 1.5em;
    }

    header #logo {
        height: 70px;
    }

    #services-lu,
    #services-be {
        background: #ECECEC !important;
    }

    footer * {
        text-align: center !important;
        margin: 0 auto;
    }

    .wpml-ls {
        margin-right: 0;
    }

    .box-contact {
        position: relative;
        bottom: initial;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {

    #services-be #image-service,
    #services-lu #image-service {
        display: none !important;
        position: relative !important;
        top: initial !important;
        right: initial !important;
        bottom: initial !important;
    }

    .title_team_blue,
    .title_team_yellow,
    .title_team_green {
        text-align: center;
    }

    .title_team_blue:before,
    .title_team_yellow:before,
    .title_team_green:before {
        display: block;
        top: initial;
        margin: 0 auto;
        text-align: center;
    }

    body.home #last-section a {
        display: inline-flex;
    }
}

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

.box-valeurs {
    display: block;
    border-radius: 15px;
    padding: 25px 35px;
    align-items: center;
    min-height: 410px;
}

.modal-content {
    height: 100%;
    max-height: 500px;
}