/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0.6
*/


/*************** ADD CUSTOM CSS HERE.   ***************/

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
}


/* GESTION */

@media screen and (max-height: 850px) {
    .sidebar-menu .ic {
        display:none !important;
    }
}

.portfolio-element-wrapper .nav {
    display: none;
}

.text-brown {
    color: var(--brown);
}

.expand.button-arrow.white span {
    width: 100%;
    text-align: left;
}

.ux-maintenance-mode .is-divider {
    display: none;
}

.ux-maintenance-mode img {
    max-width: 250px;
}

.searchform .flex-row {
    flex-direction: row-reverse;
    align-items: center;
}

.searchform .search-field {
    border: none !important;
    box-shadow: none;
    background: transparent;
}

.searchform .ux-search-submit {
    border: none;
    background: transparent;
    padding: 0px 10px 0px 25px !important;
}

.searchform .search-field::placeholder {
    color: var(--green) !important;
}

.avatar {
    max-width: 250px;
}

.avatar img {
    border-radius: 100%;
}

.nav-line-bottom>li>a:before,
.nav-line-grow>li>a:before,
.nav-line>li>a:before {
    background-color: var(--brown) !important;
}

.custom-list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.custom-list li {
    padding: 7px 15px 15px 15px;
    border-bottom: 1px solid #A68567;
}

.custom-list li:last-child {
    border-bottom: none;
}


/*  SYSTEM */

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font {
    font-weight: 400;
}

h1,
h2 {
    font-family: var(--font-title)
}

.heading-font {
    font-family: var(--font-title)
}

.margin-auto {
    margin: auto !important;
}


/*
.text-blue,
.text-blue * {
    color: var(--blue);
}*/

.ic {
    max-width: 60px;
}

.bold {
    font-weight: 600;
}

.medium {
    font-weight: 500;
}

.light {
    font-weight: 300;
}

.mw-300 {
    max-width: 300px;
}

.mw-750 {
    max-width: 750px !important;
}

.mw-850 {
    max-width: 850px;
}

.full-divider {
    position: relative;
    background-color: rgba(137, 116, 117, 0.2);
    left: 50%;
    width: 100vw;
    height: 1px;
    transform: translateX(-50%);
    margin-bottom: 30px;
}

.dark .full-divider {
    background-color: rgba(255, 255, 255, 0.2);
}

.dark .row-solid .col:before {
    border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.dark .row-solid .col {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.dark .row-solid .col:after {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.row-solid .col:before {
    border-left: 1px solid #A68668 !important;
}

.row-solid .col {
    border-top: 1px solid #A68668;
}

.row-solid .col:after {
    border-bottom: 1px solid #A68668;
}

.button,
button,
input[type=button],
input[type=reset],
input[type=submit] {
    font-size: 0.9em !important;
    font-weight: 500 !important;
}

@media (max-width: 549px) {
    .banner-layers {
        overflow: hidden !important;
    }
}


/* ICONS */

.icon-menu:before,
.icon-search:before {
    font-family: 'Material Symbols Outlined' !important;
    font-style: normal;
    font-weight: 100 !important;
    font-variation-settings: 'FILL' 0, 'wght' 100, 'GRAD' 0, 'opsz' 24;
    font-size: 28px;
    display: inline-block;
    line-height: 1;
}

.icon-menu:before {
    content: "menu" !important;
}

.icon-search:before {
    content: "search" !important;
}


/* HEADER */

#masthead .header-inner {
    max-width: 1250px !important;
}

.header [class^="icon"] {
    color: var(--blue);
}

.header-inner .has-icon a:before {
    display: none;
}

.header-nav .current_page_item a {
    font-weight: 800 !important;
}

.nav-line-bottom>li>a:before,
.nav-line-grow>li>a:before,
.nav-line>li>a:before {
    height: 2px !important;
}

.nav-column>li>a,
.nav-dropdown>li>a,
.nav-vertical-fly-out>li>a,
.nav>li>a {
    color: var(--blue) !important;
}

.mobile-sidebar .nav>li>a {
    font-size: 0.9em;
}

.header-bottom .nav>li>a {
    font-weight: 400;
}

.header-bottom {
    background-color: rgba(0, 0, 0, 0.1);
}

.header-bottom .nav-spacing-xlarge>li {
    margin: 0 20px;
}

.home-entry-header .ic {
    max-width: 85px;
}

.home-entry-header {
    height: 100vh;
}

.home-entry-header .section-bg img {
    margin-top: 100px;
}

.header.transparent .header-bottom {
    background-color: #F5F0ED !important;
}


/*
.home .transparent .header-bottom .nav>li>a {
    color: #fff !important;
}*/

.transparent .header-main {
    background-color: #fff !important;
}


/* MENU OFF-CANVAS */


/* Search */

.off-canvas-undefined.mfp-ready {
    opacity: 1;
    background: #F4F0ED;
}

#search-lightbox {
    font-size: 1em !important;
    max-width: 100% !important;
}


/* Retrait de l'ancien bouton du canvas */

.off-canvas .mfp-close {
    display: none !important;
}

.custom-canvas-close {
    left: 325px;
    margin-bottom: 60px;
}


/* Menu */

.off-canvas-right .mfp-content {
    background-color: var(--red) !important;
    box-shadow: none !important;
}

.off-canvas-right .mfp-content * {
    color: #fff !important;
}

.nav-sidebar.nav-vertical>li.menu-item.active,
.nav-sidebar.nav-vertical>li.menu-item:hover {
    background-color: transparent !important;
}

.nav-sidebar.nav-vertical>li+li {
    border-top: 0px solid #ececec !important;
}

.nav-sidebar.nav-vertical li a {
    font-weight: 400 !important;
    display: block;
    text-align: right;
}

.nav-sidebar.nav-vertical li {
    right: 150px !important;
}

.sub-elements {
    position: absolute;
    bottom: 40px;
    right: 150px;
}

.sub-elements .ic {
    max-width: 120px;
    padding-bottom: 30px;
    opacity: 0.5;
}


/* HOME */

.testimonial img {
    max-width: 120px;
    height: 120px;
    border-radius: 50%;
}

.testimonial .img {
    margin-top: -100px;
}

.exceeding {
    margin-left: -170px;
    width: 770px !important;
}

@media screen and (max-width: 550px) {
    .horseback {
        margin-top: -10vh;
    }
}

@media screen and (min-width: 550px) {
    .horseback {
        margin-top: -20vh;
    }
}


/* Sliders */

.category-icon {
    max-width: 40px;
}

.slider-nav-reveal .flickity-prev-next-button,
.slider-nav-reveal .flickity-prev-next-button:hover {
    background-color: var(--red);
    box-shadow: none;
    height: 30px;
    width: 30px;
    margin: 10px !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff !important;
}

.reals .flickity-button-icon {
    display: none;
}

.reals .flickity-prev-next-button::after {
    font-family: 'Material Symbols Outlined' !important;
    font-weight: 100 !important;
    font-variation-settings: 'FILL' 0, 'wght' 100, 'GRAD' 0, 'opsz' 24;
    font-size: 20px;
    line-height: 1;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    content: '\ef7d';
}

.reals .flickity-prev-next-button.next::after {
    content: '\e941';
}

.reals .flickity-prev-next-button {
    border: 1px solid var(--red);
    border-radius: 0;
    width: 35px !important;
    height: 35px !important;
    background: var(--green) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.reals .flickity-prev-next-button {
    top: 50%;
}

@media screen and (max-width: 549px) {
    .reals.row-slider .flickity-prev-next-button {
        background-color: var(--red) !important;
        width: 35px !important;
    }
}

.testimonial .flickity-button-icon {
    width: 25px !important;
    height: 25px !important;
}

.testimonial .flickity-page-dots {
    bottom: 0px;
}

.testimonial .slider-nav-circle .flickity-prev-next-button .arrow,
.testimonial .slider-nav-circle .flickity-prev-next-button svg {
    border: 1px solid;
    border-radius: 0px;
}

.testimonial .flickity-page-dots .dot {
    height: 8px;
    width: 8px;
}


/* Blog posts */

.box-overlay.dark .box-text,
.box-shade.dark .box-text {
    text-shadow: none;
}

.grid-col-1-2 .from_the_blog_excerpt,
.grid-col-1-2 .is-divider,
.grid-col-1-2 .button {
    display: none !important;
}

.row-grid .box-blog-post h3 {
    font-size: 2em;
}

.row-grid .box-blog-post .box-text {
    padding: 50px 30px;
}

.row-grid .box-blog-post .from_the_blog_excerpt {
    font-size: 12px;
    max-width: 400px !important;
    margin-bottom: 2em !important;
}

.grid-col-1 .from_the_blog_excerpt {
    max-width: 600px;
}

.box-overlay.dark .box-text,
.box-shade.dark .box-text {
    text-shadow: none !important;
}

.cat-id-1783 .overlay {
    background-color: rgba(166, 133, 103, 0.75) !important;
    mix-blend-mode: multiply;
}

.cat-id-1785 .overlay {
    background-color: rgba(72, 77, 155, 0.75) !important;
    mix-blend-mode: multiply;
}

.cat-id-1784 .overlay {
    background-color: rgba(5, 58, 58, 0.75) !important;
    mix-blend-mode: multiply;
}

.filter-nav a {
    font-size: 10px !important;
    padding: 5px 10px !important;
    border-radius: 0px;
    margin: 0;
    transition: border 0.2s, color 0.2s;
    border: 1px solid transparent !important;
}

.filter-nav .active a,
.filter-nav a:hover {
    border: 1px solid var(--brown) !important;
}

.filter-nav.nav-uppercase>li>a {
    font-weight: normal;
    letter-spacing: 0em;
    text-transform: uppercase;
}

.filter-nav {
    margin-bottom: 10px;
}


/* Single */

.single-post .entry-content {
    max-width: 680px;
    margin: auto;
}

.single-post .entry-image {
    margin-bottom: 20px;
}

.single-post h2,
.single-post .text-blue h3 {
    font-size: 2em !important;
    color: var(--blue) !important;
}

.single-post p {
    margin-bottom: 3em;
}


/* Archives */

.nav-pagination>li>a,
.nav-pagination>li>span {
    border: 0px solid !important;
    border-radius: 0px !important;
    font-weight: 400 !important;
    padding: 1px 10px !important;
}

.label {
    font-size: 10px;
    padding: 5px 10px;
    border-radius: 0px;
    display: inline-block;
    margin: 0;
    transition: border 0.2s, color 0.2s;
    border: 1px solid transparent;
}

.label.current-cat,
.label:hover {
    border: 1px solid var(--brown);
}

.cat-link,
.cat-link:hover {
    color: var(--brown);
}


/* PAGE GROUPE */

.our-mission .section-bg img {
    position: absolute !important;
    bottom: 0 !important;
    left: 40% !important;
    width: 900px !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: center bottom !important;
    z-index: 2;
    top: auto !important;
}

.nos-valeurs .slider-style-container .flickity-slider>:not(.is-selected),
.slider-style-focus .flickity-slider>:not(.is-selected),
.slider-style-shadow .flickity-slider>:not(.is-selected) {
    opacity: 1;
}

.nos-valeurs .row.row-collapse.is-selected .col>.col-inner {
    background-color: var(--red) !important;
}

.rencontre h3:before {
    content: "|";
    color: #8F7258;
    padding-right: 10px;
}

.rencontre h3 {
    font-weight: bold;
    font-size: 14px;
}

.newsletter .newsletter-container {
    max-width: 450px;
}

.same-height .col-inner {
    height: 450px !important;
}

.reals.slider-light .flickity-prev-next-button {
    border: 1px solid #fff !important;
    background: #fff !important;
}

.reals.slider-light .flickity-prev-next-button::after {
    color: var(--red);
}


/* PORTFOLIO */

.portfolio-box.box-push .box-text {
    margin-top: -170px;
    height: 170px;
    max-width: 100%;
    padding: 30px !important;
}

.portfolio-box.box-push .box-text * {
    color: #fff !important;
}

.portfolio-box.box-push.cat-caze-hospitality .box-text {
    background-color: hsla(180, 86%, 12%, 0.8);
}

.portfolio-box.box-push.cat-caze-gestion .box-text {
    background-color: rgba(166, 133, 103, 0.8);
}

.portfolio-box.box-push.cat-caze-home .box-text {
    background-color: rgba(72, 77, 155, 0.8);
}

.portfolio-box.box-push.cat-caze-immobilier-dentreprise .box-text {
    background-color: rgba(153, 26, 40, 0.8);
}


/* FOOTER */

.footer-1,
.footer-2 {
    border-top: 0px !important;
}

.footer-1 img {
    max-width: 250px;
    margin: 30px 0px;
}

.footer-2 img {
    max-width: 100px;
}

.footer-2 li a,
.footer-2 p {
    font-size: 0.7rem;
}

.footer-2 .widget>ul>li+li,
.footer-2 ul.menu>li+li {
    border-top: 0px solid #ececec;
}

.footer-2 .widget>ul>li>a,
.widget>ul>li>span:first-child,
ul.menu>li>a,
.footer-2 ul.menu>li>span:first-child {
    padding: 3px 0 !important;
}

@media screen and (min-width: 850px) {
    .footer-2 .large-2 {
        flex-basis: 20%;
        max-width: 20%;
    }
}

.dark .form-flat .wpcf7-form-control-wrap input:not([type=submit]) {
    background-color: transparent !important;
}

@media (max-width: 849px) {
    .select-resize-ghost,
    .select2-container .select2-choice,
    .select2-container .select2-selection,
    input[type=date],
    input[type=email],
    input[type=number],
    input[type=password],
    input[type=search],
    input[type=tel],
    input[type=text],
    input[type=url],
    select,
    textarea {
        font-size: 1em !important;
    }
}


/* V1 */

#header,
.header-wrapper {
    z-index: 3 !important;
}

#header.open {
    z-index: 1 !important;
}

#main {
    background-color: var(--beige) !important;
}

:root {
    --red: #991A28;
    --brown-opacity-2: #E6D3D3;
    --brown: #A68567;
    --white: #ffffff;
    --beige: #F4F0ED;
    --blue: #252D5F;
    /*--green: #143B3C;*/
    --box-shadow: 0px 3px 21px #00000017;
    --transition: 1s ease;
    --font-title: "aviano-flare";
    --font-body: "halyard-micro", "sans-serif";
}

html {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow-x: hidden;
}

html.open {
    overflow-y: hidden;
}

body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    position: relative;
    font-family: var(--font-body);
    background-color: var(--beige);
    font-size: 12px;
}

h1,
h2 {
    font-size: 30px !important;
    font-family: var(--font-title)
}

h3 {
    /*font-size: 30px !important;*/
    font-family: var(--font-body);
}

h4 {
    font-family: var(--font-body);
    font-size: 15px !important;
}

a,
a:hover {
    text-decoration: none;
}

ul {
    list-style-type: none !important;
}


/* BUTTON ARROW */

.button-arrow {
    position: relative;
    border: 1px solid var(--brown) !important;
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
    cursor: pointer;
    padding: 0 !important;
    margin-bottom: 0 !important;
    margin-top: inherit !important;
    display: inline-flex !important;
    background-color: inherit !important;
}

.button-arrow.white {
    border: 1px solid var(--white) !important;
    background-color: inherit !important;
}

.button-arrow span {
    margin-bottom: 0;
    margin-right: 13px;
    padding: 13px 22px;
    border-right: 1px solid var(--brown);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brown);
}

.button-arrow.white span {
    border-right: 1px solid var(--white);
    color: var(--white);
}

.button-arrow::after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="%23897475"><path d="m547.69-267.69-28.31-28.77L682.92-460H200v-40h482.92L519.38-663.54l28.31-28.77L760-480 547.69-267.69Z"/></svg>');
    margin-right: 13px;
    position: relative;
    top: 5px;
    left: 0;
    transition: var(--transition);
}

.button-arrow.white::after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="%23ffffff"><path d="m547.69-267.69-28.31-28.77L682.92-460H200v-40h482.92L519.38-663.54l28.31-28.77L760-480 547.69-267.69Z"/></svg>');
}

.button-arrow:hover {
    box-shadow: inherit !important;
}

.button-arrow:hover::after {
    left: 2px;
    transition: var(--transition);
}