/*
Theme Name: Ecore Child
Description: Thème enfant d'Ecore
Author: Ranking
Template: ecore
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ecore-child
*/

:root{
	--main-color: #242525;
	--theme-color: #171d24;
    --blue-color: #0a4b78;
    --light-blue-color: #1eb7c4;
    --grey-color: #b5aea2;
}

.row{
    align-items: center;
}
/* 
.doc_blog_classic_area {
    background-color: red;
} */

body {
    background-color: var(--blue-color);
}

body.theme-ecore, body.theme-ecore.body_dark{
    --primary-color: #002c5f !important;
}

.header .header-top {
    padding: 0;
}

.header .header-top .top-bar-actions span{
    color: var(--grey-color) !important;
    font-size: 14px;
}

.top-bar-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.top-bar-actions a.contact-us-header {
    background: var(--primary-color);
    padding: 7px 18px;
    font-size: 14px;
    border: 1px solid var(--primary-color);
    margin-left: 15px;
    color: white;
}

body .breadcrumb-widget .breadcrumb-content h1 {
    text-transform: none;
}

.header-logo-and-search {
    padding: 50px 0 15px;
    background-color: white;
}

.header-logo-and-search img {
    max-width: 100%;
}

.header-menu .menu > .nav-item{
    padding: 10px 0;
}

.header-menu .menu > .active.nav-item > .nav-link::before{
    opacity: 0;
}

.header-logo-and-search input.form-control, .header-logo-and-search span.input-group-addon button {
    border: none;
    border-bottom: 1px solid;
    padding-bottom: 5px;
    border-radius: 0;
    transition: border-color 0.5s;
}

.header-logo-and-search input.form-control,
.header-logo-and-search input.form-control::placeholder{
    color: var(--grey-color);
    background-color: transparent !important;
}

.header-logo-and-search span.input-group-addon button{
    background-color: transparent;
}

.header-logo-and-search form.search-form.input-group:hover input.form-control,
.header-logo-and-search form.search-form.input-group:hover span.input-group-addon button{
    border-color: var(--light-blue-color);
}

#navbarSupportedContent {
    justify-content: flex-start;
}

ul#menu-menu-principale {
    margin: 0 !important;
    width: 100%;
}

.header .header-top, .header-logo-and-search {
    background-color: white !important;
}

.header-menu .navbar {
    background-color: #F6F5F4 !important;
}

.header-menu .menu > .nav-item > .nav-link {
    color: #242525 !important;
    text-transform: none;
    padding: 0 10px;
}

.banner-area-3 {
    background: #002C5F !important;
}

@media screen and (min-width: 815px) {
    .header-menu .menu > .nav-item + .nav-item{
        margin-left: 15px !important;
    }
    .header-menu .menu > .nav-item + .nav-item:nth-last-child(2) {
        margin-left: auto !important;
    }
}

#navbarSupportedContent{
    background-color: transparent;
}

button.navbar-toggler {
    padding: 15px;
    margin: 10px;
}


body.body_dark .header .header-top, body.body_dark .header-logo-and-search {
    background-color: #242525 !important;
}

body.body_dark .header-menu .navbar {
    background-color: #343331 !important;
}

body.body_dark .header-menu .menu > .nav-item > .nav-link {
    color: #cfc8bd !important;
}

body.body_dark .header-menu .menu > .nav-item:hover {
    background: #3e3d3b !important;
}

body:not(.body_dark) .header-menu .menu > .nav-item:hover {
    background: #d1cbc5 !important;
}
body:not(.body_dark) .header-menu .menu > .nav-item:hover a{
    color: #30261D !important;
}

body:not(.body_dark) .header-logo-and-search img.light {
    display: none;
}

body.body_dark .header-logo-and-search img.dark {
    display: none;
}

body.body_dark button.navbar-toggler {
    background: white;
}

body .elementor-widget-icon-box {
    padding: 25px;
    position: relative;
    min-height: 350px;
    border-radius: 50px;
    overflow: hidden;
    z-index: 1;
}

body .elementor-widget-icon-box:before {
    position: absolute;
    content: "";
    inset: 0;
    transition: 0.75s;
    border-radius: 30% 70% 30% 70% / 66% 30% 70% 34%;
    z-index: -1;
}

body .elementor-widget-icon-box:hover::before{
    border-radius: 84% 16% 86% 14% / 18% 84% 16% 82%;
}

body .ecore-card{
    border-radius: 10px;
    -webkit-box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.16);
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    -webkit-transition: -webkit-box-shadow 0.1s ease;
    transition: -webkit-box-shadow 0.1s ease;
    transition: box-shadow 0.1s ease;
    transition: box-shadow 0.1s ease, -webkit-box-shadow 0.1s ease;
}

body .ecore-card__image {
    position: relative;
}

body aside.ecore-card__label {
    position: absolute;
    bottom: 0;
    left: 0;
    color: white;
    background: var(--primary-color);
    font-size: 13px;
    line-height: 18px;
    padding: 8px 30px 5px;
    text-transform: uppercase;
    border-top-right-radius: 10rem;
}

body .ecore-card__content {
    padding: 32px 24px;
    border: 1px solid #e6e2df;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

body .ecore-card__title {
    font-weight: bold;
    margin-bottom: 15px;
}

body:not(.body_dark) .ecore-card__content{
    color: var(--primary-color);
}

body.body_dark .ecore-card__content{
    color: white;
    border-color: #928E8A;
}

body .elementor-widget-icon-box::before{
    background: var(--primary-color);
}

body:not(.body_dark) .twae-wrapper .twae-label-big {
    color: var(--primary-color);
}

body:not(.body_dark) .elementor-widget-icon-box .elementor-icon-box-content, body:not(.body_dark) .elementor-widget-icon-box .elementor-icon-box-content h3 {
    color: white;
}

body .swiper-wrapper{
    align-items: center;
}

body img.swiper-slide-image {
    max-width: 100%;
}

body .advisor-area .advisor-img .shape{
    display: none !important;
}
/* 
body form.search-form.input-group {
    pointer-events: none !important;
} */

body .banner-area-3 .banner-content .theme-btn{
    border-radius: 6px;
    text-transform: none;
}

body .banner-area-3 .banner-content .theme-btn:hover{
    color: white;
    border: 2px solid #FFFFFF;
    background-color: var(--primary-color);
}

body #preloader .round_spinner{
    width: 124px;
    height: 124px;
}

body #preloader .round_spinner img.attachment-full.size-full {
    width: 325px;
    height: 80px;
    object-fit: cover;
}

body .blog_single_banner .breadcrumb-widget, body .blog_banner_animation .breadcrumb-widget {
    padding-top: 375px;
}

#MyContactForm {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9999;
    transform: translateX(150%);
    width: 600px;
    padding: 30px 45px;
    max-width: 100%;
    transition: ease-in 0.75s;
    background: var(--main-color);
    color: white;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-title {
	font-size: 60px;
	margin-bottom: 2.5rem;
	line-height: 1;
}

#MyContactForm label {
	display: block;
	margin-bottom: 12px;
}

.my-contact-form-close {
    cursor: pointer;
    background: white;
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
    position: absolute;
    left: -25px;
    top: 50%;
    width: 50px;
    color: var(--main-color);
    border-radius: 100%;
    border: 2px solid var(--main-color);
}

.my-contact-form-close:hover {
    background: var(--primary-color);
    color: white;
    border-color: white;
}

#MyContactForm.show {
	transform: translateX(0);
	transition: ease-out 0.75s;
}

#MyContactForm input, #MyContactForm textarea {
    max-height: 100px;
    width: 100%;
    background: white !important;
}

.my-contact-form-container input, .my-contact-form-container select, .my-contact-form-container textarea {
    padding: 10px 25px;
}

#MyContactForm span.wpcf7-form-control.wpcf7-acceptance input[type="checkbox"] {
    margin-bottom: 0;
    margin-top: 5px;
    margin-right: 5px;
    width: auto;
}

#MyContactForm span.wpcf7-list-item {
    margin: 0;
}

#MyContactForm input.wpcf7-form-control.wpcf7-submit {
    background: var(--primary-color) !important;
    border: 2px solid white;
}

#MyContactForm input.wpcf7-form-control.wpcf7-submit:hover {
    background: white !important;
    color: var(--primary-color) !important;
}

span.wpcf7-form-control-wrap {
    display: block;
}

body:not(.body_dark) #MyContactForm {
    background: white;
}

body:not(.body_dark) .form-title,
body:not(.body_dark) #MyContactForm label{
    color: var(--main-color);
}

body:not(.body_dark) #MyContactForm input.wpcf7-form-control.wpcf7-submit {
    color: white !important;
}

body:not(.body_dark) #MyContactForm input.wpcf7-form-control.wpcf7-submit:hover {
    border-color: var(--primary-color);
}

@media screen and (min-width: 815px) {
    section.banner-area-3 .col-lg-7 {
        padding: 220px 12px 70px !important;
    }
    body img.swiper-slide-image {
        max-width: 500px;
    }
}

@media screen and (max-width: 815px) {
    body section.banner-area-3 .col-lg-7 {
        padding-top: 270px !important;
        padding-bottom: 50px !important;
    }
    .my-contact-form-close {
        right: 65px;
        bottom: 55px;
        left: unset;
        top: unset;
    }
}