/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

@font-face {
    font-family: 'Cards';
    src: url('/fonts/cards-normal-regular.woff2') format('woff2'),
        url('/fonts/cards-normal-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/*sous-menu desk*/

a.termly-display-preferences {
	color:white;
	opacity:70%;
}


/* HEADER DESKTOP */
@media only screen and (min-width: 1000px) {

    html body #header-outer,
    html body #header-space {
        margin-left: 50px !important;
    }

    #header-outer[data-format="default"] #top .span_9 {
        margin-left: 100px !important;
    }

    /* Sous-menus MENU et WPML */
    #header-outer #top .sf-menu > li > ul {
        width: 304px !important;
        min-width: 304px !important;
        max-width: 304px !important;

        box-sizing: border-box !important;
        top: 80% !important;
    }

}

/* ALIGNEMENT FINAL DES SOUS-MENUS */
@media only screen and (min-width: 1000px) {

    #header-outer #top .sf-menu > li > ul {
        left: 0 !important;
        right: auto !important;
        transform: none !important;
    }

    /* Positionnement indépendant du parent */
    #header-outer #top .sf-menu > li {
        position: static !important;
    }

    #header-outer #top .span_9 {
        position: relative !important;
    }

}

/* ALIGNEMENT HORIZONTAL FINAL */
@media only screen and (min-width: 1000px) {

    #header-outer #top .sf-menu > li > ul {
        transform: translateX(-182px) !important;
    }

}

/* ALIGNEMENT WPML À DROITE - DESKTOP */
@media only screen and (min-width: 1000px) {

    /* Uniquement le sous-menu WPML */
    #header-outer #top .sf-menu > li.wpml-ls-item > ul.sub-menu {
        text-align: right !important;
    }

    /* Éléments de langue */
    #header-outer #top .sf-menu > li.wpml-ls-item > ul.sub-menu > li {
        width: 100% !important;
        display: block !important;
        text-align: right !important;
    }

    /* Liens ES / FR */
    #header-outer #top .sf-menu > li.wpml-ls-item > ul.sub-menu > li > a {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: right !important;
    }

}

.middle {font-size:23px!important;line-height:24px!important;}
.med {font-size:45px!important;line-height:48px!important;}
.small {font-size:14px!important;line-height:17px!important;}
.sand {color:#dbc7af!important;}
.orange {color:#fc8752!important;}
.linkwhite a{color:#ffffff!important;opacity:100%!important;}
 @media only screen and (min-width: 1000px){
	.nodesk {display:none!important}}
	  @media only screen and (max-width: 1000px){
	.nomob {display:none!important}}
.big {font-size:45px!important;line-height:50px!important;}

/*remove blog single post header*/
div#page-header-wrap {
	display:none!important;
}

/*blog archive date info*/ 
span.nectar-post-grid-item__meta-wrap {font-size:14px!important;line-height:17px!important;color:#fc8752!important;}

/*off*/
.off-canvas-menu-container {
	display:none!important;
}

/*portfolio nav*/
.bottom_controls {
	display:none!important;
}

/* TELL YOUR STORY — WPML MOBILE HORIZONTAL */

#slide-out-widget-area .wpml-ls-legacy-list-horizontal {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    text-align: center !important;
}

/* Liste */
#slide-out-widget-area .wpml-ls-legacy-list-horizontal > ul {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Liens */
#slide-out-widget-area .wpml-ls-legacy-list-horizontal a {
    display: inline-block !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    color: #35191e !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
}

/* Langue active */
#slide-out-widget-area .wpml-ls-current-language a {
    font-weight: 700 !important;
    opacity: 1 !important;
}

/* Langues inactives */
#slide-out-widget-area
.wpml-ls-legacy-list-horizontal
.wpml-ls-item:not(.wpml-ls-current-language) a {
    opacity: 0.5 !important;
}

/* Survol */
#slide-out-widget-area .wpml-ls-legacy-list-horizontal a:hover {
    opacity: 1 !important;
}