/*
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: 'Nohemi';
    src: url("/wp-content/themes/salient-child/fonts/Nohemi/Nohemi-Regular.woff2") format("woff2"),
        url("/wp-content/themes/salient-child/fonts/Nohemi/Nohemi-Regular.ttf") format("truetype");
	font-style: normal;
}

@font-face
{
    font-family: 'Proxima Nova';
    src: url("/wp-content/themes/salient-child/fonts/Proxima-Nova/Proxima-Nova-Regular.woff2") format("woff2"),
        url("/wp-content/themes/salient-child/fonts/Proxima-Nova/Proxima-Nova-Regular.ttf") format("truetype");
	font-style: normal;
}

/* ----------------------- style fonts ----------------------- */

.big,
.big h1,
.big h2
{
	font-family:"Nohemi";
	font-size: 4.6vw;
	font-weight: 400;
}

.subtitle,
.subtitle h1,
.subtitle h2,
.subtitle h3
{
	font-family:"Nohemi";
	font-size: 37px !important;
	line-height: 110%;
	font-weight: 200;
}

.med,
.med p,
.med h1,
.med h2,
.med h3
{
	font-size: 24px !important;
	line-height: 110%;
	font-weight: 400;
}

.chapo,
.chapo h1,
.chapo h2,
.chapo h3,
.chapo h6
{
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
	line-height: 110%;
}

.small,
.small p,
.small h6
{
	font-size: 14px;
	line-height: 110%;
	opacity: 0.8;	
}

/* menu nav */
.phone-menu 
{
    transform: translateX(55px);
}

.contact-menu
{
	transform: translateX(30px);
}

/* offcanvas menu */
body.material #slide-out-widget-area[class*=slide-out-from-right] .open-submenu .sub-menu 
{
    opacity: 0.7;
}

.number-mobile-menu
{
	background-color: var(--nectar-extra-color-1);
	padding: 10px 20px;
	margin-top: 20px !important;
	width: fit-content;
}

.number-mobile-menu a
{
	font-size: 16px !important;
}

/* cta */
.nectar-cta.arrow-cta
{
	width: fit-content;
	display: inline-flex;
	align-items: center;
}

.nectar-cta.arrow-cta span.text.nectar-text-reveal-button__text
{
	font-size: 16px;
}

.nectar-cta.arrow-cta:before
{
    content: url(/wp-content/uploads/2025/03/arrow-cta-1.svg);
	margin-right: 15px;
	transition: 0.4s ease-in-out;
}

.nectar-cta.arrow-cta:hover:before 
{
	transform: scale(1.2);
}

/* cta programme */
.nectar-cta.arrow-cta-programme
{
	width: fit-content;
	display: flex;
	align-items: center;
	justify-self: left;
}

.nectar-cta.arrow-cta-programme:after
{
    content: url(/wp-content/uploads/2025/03/arrow-cta-1.svg);
	margin-left: 30px;
	transition: 0.4s ease-in-out;
	transform: scale(2)
}

.nectar-cta.arrow-cta-programme:hover:after
{
	transform: scale(2.2);
}

/* flèches slider */
.nectar-flickity[data-controls*=arrows_overlaid] .flickity-prev-next-button:before
{
	border-radius: 0;
}

/* icon with border */
.nectar_icon_wrap[data-style="border-basic"] .nectar_icon
{
	border-radius: 0;
	padding: 8px;
}

/* -------------------- formations ----------------------- */
/* title */
#formations .nectar-post-grid .nectar-post-grid-item .content .post-heading
{
    max-width: 100%;
}

/* infos pictos */

span[data-key="presentiel_ou_distanciel"]:before 
{
    content: "\f041";
}

span[data-key="duree"]:before 
{
    content: "\f017";
}

span[data-key="nombre_de_personne"]:before 
{
    content: "\f007";
}

span[data-key="presentiel_ou_distanciel"]:before,
span[data-key="duree"]:before,
span[data-key="nombre_de_personne"]:before
{
    font-family:'FontAwesome';
    color: #5790c8;
    font-size: 20px;
    padding-right: 8px;
}

/* style infos */
span[data-key="presentiel_ou_distanciel"],
span[data-key="duree"],
span[data-key="nombre_de_personne"]
{
    font-size: 14px;
    line-height: 110%;
    color: #788991 !important;
}

span[data-key="public"]
{
    padding : 15px 0;
    display: block;
    width: 100%;
}

/* position éléments */

#formations .nectar-post-grid-item__custom-fields
{
    gap: 1vw;
}

/* cta */

span[data-key="lien_formation"]
{
	width: fit-content;
	display: inline-flex;
	align-items: center;
}

span[data-key="lien_formation"]:before
{
    content: url(/wp-content/uploads/2025/03/arrow-cta-1.svg);
	margin-right: 15px;
}

/* même taille bloc */
#formations .nectar-post-grid-item .content,
#formations .nectar-post-grid-item .inner 
{
  position: static !important;
  height: auto !important;
  background-color: white;
}

/* responsive formations */
@media only screen and (min-width: 800px) and (max-width: 1200px)
{
    #formations .nectar-post-grid-item 
    {
        width: calc(50% - 30px) !important;
    }
}

@media only screen and (max-width: 750px)
{
	#formations .nectar-post-grid-item
	{
		padding-bottom: initial;
	}
}


/* ------------------------------------- responsive ------------------------------------- */
@media only screen and (max-width: 800px)
{
	/* responsive font */
	.big,
	.big h1,
	.big h2
	{
		font-size: 2.3rem;
	}
	
	.subtitle,
	.subtitle h1,
	.subtitle h2,
	.subtitle h3
	{
		font-size: 23px !important;
	}
	
	.med,
	.med p,
	.med h1,
	.med h2,
	.med h3
	{
		font-size: 18px !important;
	}
	
	.chapo,
	.chapo h1,
	.chapo h2,
	.chapo h3,
	.chapo h6
	{
		font-size: 12px !important;
	}
	
	.small,
	.small p,
	.small h6
	{
		font-size: 13px !important;	
	}
	
	/* CTA */
	.nectar-cta.arrow-cta:before
	{
    	transform: scale(0.8);
	}
	
	.nectar-cta.arrow-cta span.text.nectar-text-reveal-button__text
	{
		font-size: 14px !important;
	}
	
	.nectar-cta.arrow-cta:hover:before 
	{
		transform: scale(1);
	}

	.nectar-cta.arrow-cta
	{
  		display: inline-flex !important;
	}
}