/*
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
*/  
/*icomoon app*/
@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?hdrhnx');
  src:  url('fonts/icomoon.eot?hdrhnx#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?hdrhnx') format('truetype'),
    url('fonts/icomoon.woff?hdrhnx') format('woff'),
    url('fonts/icomoon.svg?hdrhnx#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a:hover{
color:initial;
}

.icon-icon-ecpp-aide:before {
  content: "\e900";
}
.icon-icon-ecpp-attention:before {
  content: "\e901";
}
.icon-icon-ecpp-croix:before {
  content: "\e902";
}
.icon-icon-ecpp-devis:before {
  content: "\e903";
}
.icon-icon-ecpp-encours:before {
  content: "\e904";
}
.icon-icon-ecpp-formation:before {
  content: "\e905";
}
.icon-icon-ecpp-go:before {
  content: "\e906";
}
.icon-icon-ecpp-info:before {
  content: "\e907";
}
.icon-icon-ecpp-licence:before {
  content: "\e908";
}
.icon-icon-ecpp-modifier:before {
  content: "\e909";
}
.icon-icon-ecpp-plus:before {
  content: "\e90a";
}
.icon-icon-ecpp-privileges:before {
  content: "\e90b";
}
.icon-icon-ecpp-telecharger:before {
  content: "\e90c";
}
.icon-icon-ecpp-temoignage:before {
  content: "\e90d";
}
.icon-icon-ecpp-valider:before {
  content: "\e90e";
}
.icon-icon-ecpp-voir:before {
  content: "\e90f";
}
body button.btn-accept-consent[type=submit]:hover{
	color:#000!important;
	border:2px solid #000;
}
/*****************/
span.icon-icon-ecpp-go, .bulle[class*="icon-"] {
    font-size: 34px;
}
span.ecpp-puce {
    background: #D58038;
    height: 13px;
    width: 13px;
    border-radius: 50%;
    position: absolute;
}
a.bulle {
    border: 2px solid;
    width: fit-content;
    position: relative;
    display: flex;
    gap: 7px;
    align-items: center;
    border-radius: 24px;
    padding-left: 10px;
}
 .carte-link {
    flex:1 1 200px;    /* base 200px, peut grandir */
	max-width:250px;   /* jamais > 250px */
	aspect-ratio:1/1;  /* carré */
	background:#fff;
	overflow:hidden;
	display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
	padding:20px;
	transition: transform .45s cubic-bezier(0.25, 1, 0.33, 1);
	cursor:pointer;
	position:relative;
}
.carte-link:hover{
	transform: translateY(-3px); 
	-webkit-transform: translateY(-3px);
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.16);
}
.carte-link .icon-icon-ecpp-go {
    border: 2px solid black;
    width: fit-content;
    border-radius: 50%;
    align-self: end;
}
.carte-link .title {
    font-weight: bold;
    font-size: 1.6em;
}
.carte-link .subtitle {
    line-height: 16px;
    margin-top: 12px;
}
.carte-link.inactif .ecpp-puce {
    display:none;
}
.carte-link .ecpp-puce {
    top: 20px;
    right: 20px;
}
body:not(.woocommerce-cart) .main-content table, body:not(.woocommerce-cart) .main-content table td, body:not(.woocommerce-cart) .main-content table th, body:not(.woocommerce-cart) .main-content table tr {
    border: none;
}
a.inactive {
    opacity: 0.3;
    pointer-events: none;
    cursor: default;
}
.liensutiles a {
    transition: transform .45s cubic-bezier(0.25, 1, 0.33, 1);
	display:inline-block;
}
.liensutiles a:hover {
    transform: translateX(3px); 
	-webkit-transform: translateX(3px);
}
/*****************/

.ecpp-modal[hidden]{ 
	display:none; 
}  
.ecpp-modal{ 
	position:fixed; 
	inset:0; 
	background:rgba(0,0,0,.5); 
	display:flex; 
	align-items:center; 
	justify-content:center; 
	z-index:9999; 
}  
.ecpp-modal__content{ 
	background:#fff; 
	padding:24px; 
	max-width:560px; 
	width:100%; 
	border-radius:12px; 
	box-shadow:0 10px 30px rgba(0,0,0,.2); 
}  
.ecpp-modal__actions{ 
	display:flex; 
	gap:12px; 
	justify-content:center; 
	margin-top:16px; 
} 
.ecpp-modal__actions button {
    outline: none;
    border: 2px solid black;
    background: white;
}
.ecpp-modal__actions a {
    background: black;
    border: 2px solid black;
    color: white;
}
.ecpp-modal__actions > *:hover {
    transform: translateY(-3px); 
	-webkit-transform: translateY(-3px);
}
.ecpp-modal__actions > * {
    padding: 8px 15px;
    font-size: 1.2em !important;
    font-family: Poppins;
	transition: transform .45s cubic-bezier(0.25, 1, 0.33, 1);
	cursor:pointer;
}
body.ecpp-modal-open { overflow: hidden; } 
.ecpp-table a{ 
	margin-right:10px; 
}   
.alert{ 
	font-weight:600; 
	text-decoration:underline; 
}

.ecpp-btn {
	border: 2px solid black; 
	padding: 15px 25px; 
	font-size: 16px;
	display:inline-block;
	transition: transform .45s cubic-bezier(0.25, 1, 0.33, 1);
	white-space:nowrap;
	font-weight:bold;
}
.ecpp-btn:hover{
	transform: translateY(-3px); 
	-webkit-transform: translateY(-3px);
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.16);
	color:black;
}
.ecpp-btn .ecpp-badge {
	margin-left: -32px; 
	margin-top: -28px; 
	margin-right: 18px;
}

.ecpp-etabs {
    display:flex;
	flex-wrap:wrap;
	gap:clamp(12px, 3vw, 40px);
	align-content:flex-start;
}
.ecpp-etab-item{
	justify-content:flex-start;
}
.ecpp-etab-item .codeclient {
    font-weight: bold;
    opacity: 0.3;
	flex-grow:2;
}
.ecpp-etab-item .nom {
    font-weight: bold;
    font-size: 1.5em;
}
.ecpp-etab-item .ville {
    opacity: 0.6;
}
.menu-client{
	display:flex;
	flex-wrap:wrap;
	gap:clamp(12px, 3vw, 40px);
	align-content:flex-start;
}
.menu-client > a{
	flex:1 1 30vw;    /* base 200px, peut grandir */
	max-width:250px;   /* jamais > 250px */
	aspect-ratio:1/1;  /* carré */
	background:#fff;
	overflow:hidden;
	display: flex;
    flex-direction: column;
    justify-content: center;
	align-items: center;
    height: 100%;
	padding:20px;
	transition: transform .45s cubic-bezier(0.25, 1, 0.33, 1);
	font-weight: bold;
    font-size: 1.2em;
    text-align: center;
	position:relative;
}
.menu-client > a:hover{
	transform: translateY(-3px); 
	-webkit-transform: translateY(-3px);
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.16);
}
.menu-client > a > span:not(.ecpp-puce) {
    font-size: 6em;
    padding: 5px;
    color: #317B88;
}
.menu-client > a > .ecpp-puce {
    top: 8%;
    right: 8%;
}

.menu-client > a.inactive {
    opacity: 0.3;
	pointer-events: none; 
	cursor: default; 
}
.menu-client a:not(.active) span.ecpp-puce {
    display: none;
}
.bulle.small[class*="icon-"] {
    vertical-align: middle;
    margin: 0 5px;
    background: transparent;
    border: 1px solid black;
    border-radius: 50%;
    font-size: 22px;
}
.bulle.large[class*="icon-"] {
    border: 2px solid black;
    width: fit-content;
    border-radius: 50%;
    align-self: end;
	color:black;
}
table.ecpp-table th {
    opacity: 0.4;
    font-size: 1em;
}
.actions span {
    font-size: 1.4em;
}
.actions a {
    transition: transform .45s cubic-bezier(0.25, 1, 0.33, 1);
	display:inline-block;
}
.actions a:hover {
    transform: translateY(-3px); 
	-webkit-transform: translateY(-3px);
}
.ecpp-table .statut-valide {
    font-weight: bold;
    color: black;
}
.historique td:not(:nth-child(5)) {
    opacity: 0.5;
}
.ecpp-table td:last-child a {
    display: inline-block;
    padding: 5px 8px;
    border: 2px solid black;
	transition: transform .45s cubic-bezier(0.25, 1, 0.33, 1);
	white-space: nowrap;
}
td.actions {
    white-space: nowrap;
}
.ecpp-table td:last-child a:hover {
    transform: translateY(-3px); 
	-webkit-transform: translateY(-3px);
}
/*formation*/
.list-formations {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.formation-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.formation-box {
    background: white;
    padding: 20px;
    aspect-ratio: 1;
    max-width: 200px;
    overflow: hidden;
    position: relative;
	display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.formation-box-filter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.passed .formation-box-filter {
    backdrop-filter: grayscale(1);
    z-index: 100;
}
.passed .formation-box {
    opacity:0.6;
}
.formation-box span.offert {
    background: #D58038;
    color: white;
    padding: 2px 6px;
    line-height: 18px;
    position: absolute;
    top: 5px;
    left: 5px;
}
.formation-box p {
    margin: 0;
    padding: 0;
}
.formation-format, .formation-date{
	background-color:#EFCEAF;
	color:#D58038;
}
.formation-titre {
    color: black;
    font-weight: bold;
    font-size: 1.4em;
	line-height: 1.2em;
	word-break: break-word;
}
.formation-soustitre {
    color: black;
    font-weight: normal;
    font-size: 0.8em;
	line-height: 1.2em;
}
.formation-date {
    margin: 8px 0 3px!important;
}
.formation-format, .formation-date {
    background-color: #F6E5D4;
    color: #D58038;
    line-height: 0.9em;
    font-size: 0.9em;
    width: fit-content;
    padding: 5px 8px !important;
}
.formation-docs {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
	padding-bottom:20px;
}
.etape {
    display: flex;
    gap: 8px;
}
.etape > span:first-child {
    border: 1px solid black;
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 50%;
    line-height: 29px;
    color: black;
}
[class*="-formation"].inactif {
    opacity: 0.3;
}
.inactif .etape a {
    pointer-events: none;
}
td.ecpp-actions span[class*="icon-"] {
    font-size: 1.4em;
}
.wpb_column.carre {
    aspect-ratio: 1 / 1;
}
.wpb_column.grand.carre .vc_column-inner{
	    height: calc(100% + 1.5em);
}
.wpb_column.deuxcarres {
    aspect-ratio: 2 / 1;
}
.wpb_column.deuxcarres .vc_column-inner, .wpb_column.carre .vc_column-inner {
    height: 100%;
	color:black;
}
.row .col .deuxcarres h3, .row .col .carre h3 {
    font-size:1.4em!important;
}
.wpb_column.deuxcarres .wpb_wrapper, .wpb_column.carre .wpb_wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.bulle.icon-icon-ecpp-valider.large {
    font-size: 26px;
    padding: 4px;
}
.wpb_column:has(> div > a.column-link) {
  transition: transform .45s cubic-bezier(0.25, 1, 0.33, 1);
}
.wpb_column:has(> div > a.column-link):hover {
  transform: translateY(-3px); 
  -webkit-transform: translateY(-3px);
}
/*blog page accueil*/
ul.ecpp-blog-feed {
    margin: 0;
}
li.ecpp-blog-feed-item {
    list-style: none;
    background: #fff;
    margin-bottom: 10px;
    padding: 20px;
	transition: transform .45s cubic-bezier(0.25, 1, 0.33, 1);
}
.ecpp-blog-feed-item p {
    padding-bottom: 6px;
}
.ecpp-blog-excerpt {
    opacity: 0.5;
}
.ecpp-blog-date {
    opacity: 0.2;
}
li.ecpp-blog-feed-item:hover {
  transform: translateY(-3px); 
  -webkit-transform: translateY(-3px);
}

/*******************/
/*puce active sur menu*/
/********************/

header nav ul li span.ecpp-puce {
    width: 0;
    height: 0;
}
header nav ul li.active span.ecpp-puce {
    width: 8px;
    height: 8px;
    margin-left: 4px;
    margin-top: 2px;
}
/********************/
a.underlined {
    border-bottom: 1px solid;
}
/**********************/
/*page guides*/
.ecpp-guides-wrap {
    display: flex;
}
.ecpp-guides-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.ecpp-guide {
    display: flex;
    flex-wrap: wrap;
	    margin-bottom: 30px;
}
.ecpp-guide-meta {
    background: white;
    aspect-ratio: 1;
    max-width: 200px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
	    padding-bottom: 12px;
}
.ecpp-guide-meta > span:not(.label) {
    margin: 0 20px !important;
}
.ecpp-guide .bulle {
    align-self: end;
}
.ecpp-guide-cover {
    max-width: 200px;
    aspect-ratio: 1;
    overflow: hidden;
    background: white;
    filter: brightness(0.98);
}
span.ecpp-guide-title {
    font-weight: bold;
    line-height: 1.1em;
    font-size: 1.5em;
}
span.label {
    align-self: flex-start;
    background: #d58038;
    color: white;
    padding: 0 8px;
    line-height: 1.2em;
    margin-bottom: 20px;
}
span.label:before {
    content: 'OFFERT';
}
.extrait span.label:before {
    content: 'EXTRAIT';
}
.ecpp-guide-cover img {
    height: 80%;
    margin: 10% auto;
    display: block;
}
.extrait span.label {
    background: #bbbbbb;
}
.extrait .ecpp-guide-cover:before {
    content: 'EXTRAIT';
    position: absolute;
    transform: rotate(-45deg);
    bottom: 39%;
    left: 17%;
    font-size: 3em;
    font-weight: bold;
    opacity: 0.9;
}
.extrait .ecpp-guide-cover img {
    opacity: 0.7;
}
/*********************/