/******************************************************************
Stylesheet: plus css sans compilation
******************************************************************/
html{
    overflow-x: auto;
}
p a{
    display: inline-block;
}
.intranet-child-page{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
	max-width:1400px;
}
.intranet-child-page .row{
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.secondary-menu{
  background: #e9e8e8;
  padding: 0 20px;
  width: 245px;
}
.secondary-menu a{
  color: #444;
  font-size: 14px;
  line-height: 16px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 20px 0;
  border-bottom: 1px solid #373737;
}
.secondary-menu li:first-of-type a{
  border-top: 1px solid #373737;
}
.secondary-menu a:hover,
.secondary-menu li.current-menu-item a{
  color: #737a83;
}
.menu-secondaire{
  padding: 0;
  margin-top: 15px
}
.menu-secondaire li:before{
  display: none;
}
.acf-field-670cc585c298a ul.children > li:before,
.acf-field-5e8e2c93e7ca1 ul.children > li:before {
	display:none;
}
.acf-field-670cc585c298a ul:not(.children) > li > label > input,
.acf-field-5e8e2c93e7ca1 ul:not(.children) > li > label > input {
	display:none;
}
.acf-field-670cc585c298a ul:not(.children) > li > label,
.acf-field-5e8e2c93e7ca1 ul:not(.children) > li > label {
	font-weight:bold;
}

/* .acf-field-5eb9ceb4765bb li:nth-child(n+2) { */
.acf-field-5eb9ceb4765bb li:nth-child(n+1) {
    padding-left: 40px;
}
.acf-field-5eb9ceb4765bb li:nth-child(n+8) {
    padding-left: 0px;
}
.acf-field-5eb9ceb4765bb li:before {
	display:none;
}


.acf-field-5e8e2d54d079c .acf-label {
	display:none;
}
.acf-field-5e8e2d54d079c .acf-input input {
	border:1px solid #ccc;
	color: #373737;
    margin: 0 0 16px 0;
	font-size:2em;
	font-weight:bold;
}
.acf-field-5e8e2d54d079c .acf-input input:hover {
	border:1px solid #777;
}
.acf-field-5e8e2d54d079c .acf-input input::-webkit-input-placeholder {
	color: #ddd;
}
.acf-field-5e8e2d54d079c .acf-input input:-ms-input-placeholder {
	color: #ddd;
}
.acf-field-5e8e2d54d079c .acf-input input::placeholder {
	color: #ddd;
}
.admin_wrapper{
    max-width: 955px;
}
.export-btn{
    display: inline-block;
    padding: 10px;
    background-color: #333;
    color: #fff;
    border: 1px solid #333;
}
.export-btn-wrapper:hover .export-btn{
    background-color: #fff;
    color: #333;
}
ul.acf-checkbox-list li,
ul.acf-radio-list li{
    font-size: initial;
}
.acf-form ul li:before{
    display: none;
}

.page-id-1527 .row > h1 { display:none}
.page-id-1390 .row > h1 { display:none}

.certification-text{
    max-width: 200px;
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}
.product-section-aside .aside-main .aside-sstitle{
    text-align: left;
}
/************ OVERLAY ENVOI MESSAGE ************/
.overlay-wrapper{
  position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 1px solid #aaa;
	z-index: 2000;
	background-color: rgba(0,0,0,0.7);
	overflow-y: auto;
}
.msg_overlay{
  max-width: 600px;
  margin: 80px auto 15px;
  width: 80%;
  border: 1px solid #cccaca;
  padding: 20px;
  background-color: white;
}
@media (max-width: 767px) {
    
    .msg_overlay{
        width: 95%;
        margin: 10px auto;
        padding: 10px;
    }
}
.close_overlay_wrapper{
  text-align: right;
  margin-top: 0;
}
.close_overlay,
.send-overlay{
  display: inline-block;
  border: 1px solid #333;
  background-color: #333;
  color: #fff;
  -webkit-transition: all 3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-transform: uppercase;
  font-size: 16px;
  padding: 10px;
  font-weight: bold;
}
.close_overlay:hover,
.send-overlay:hover{
    cursor: pointer;
    background-color: #fff;
    color: #333;
}
.textarea-overlay{
  width: 100%;
  height: 200px;
  margin-bottom: 10px;
}

/* @fonction 06/11/2020 recherche
*/
.formations-item-search .formations-detail-wrapper ul {
  padding-left: 0;
}
.formations-item-search .list-cat-layout {
	width:100%;
}
.formations-item-search {
    width: 100%;
}

/* @patch 16/11/2020 CATALOGUE DES FORMATIONS : normaliser la taille des cartouches (3 lignes + centrage vertical) */

.page-id-1577 .card-layout.thematique > .card-item {
  min-height: 160px;
  justify-content: center;
}


/* @patch 16/11/2020 font */
.product-layout p,
.product-layout li {
	font-weight: 400;
}
.product-layout ul li {
    font-size: 15px;
    padding-left: 5px;
}
.card-item .card-main {
  font-weight: 400;
}
.card-item .card-header {
  /* background-color: #d8bb7f; */
  background-color: #cfab63;
}
.header-product.formateurs {
  background-color: #cfab63;
}
.card-item .card-form-link i {
  color: #cfab63;
}
.single-membre h2 {
  color: #cfab63;
}
.single-membre .header-product {
  background-color: #cfab63;
}
.single-membre .thumb-form {
  background-color: #cfab63;
  width: 110px;
}

.card-layout.thematique section.card-item.list h4 {
  color: #cfab63;
}
.card-layout.thematique section.card-item.list h4:before {
  color: #cfab63;
}

.single-membre .call-membre {
  border: 5px solid #cfab63;
  color: #cfab63;
}
.single-membre .aside-membre-contact {
  font-weight: 400;
}
.single-membre .desc-container .desc-cartouche p {
  color: #cfab63;
  font-weight: 400;
}

@media (min-width: 768px) {
	body.single-membre .header-product-title h1 {
	  font-size: 45px;
	  line-height: 50px;
	   padding-top: 10px;
	}
}


.page-id-1577 .card-item.formations-item-wrapper.formations-item-wrapper-opened {
  background-color: #3f9ac7;
}
.card-header-desc {
    min-height: 90px;
}

.home .main-content {
  background: url(/wp-content/uploads/2020/10/fleur-multicolore-full.png) no-repeat 96% 14%;
  background-size: auto;
}
@media (max-width: 767px) {
  .home .main-content {
    background: none;
  }
}

/* @patch 08/12/21 : Bilans page admin */

.page-id-1929 .wrap {
  max-width:100vw;
}

.bilan-action {
  cursor:pointer;
  padding:4px;
}

.bilan-action:hover {
  color:white;
  background-color:#333;
}

#bilan-form > .form-group {
  display:flex;
  flex-direction:column;
  margin:16px auto;
}

.form-group > * {
  margin:8px auto;
  width:100%;
}

#bilan-form button {
  background-color:#d8bb7f;
  color:white;
  padding:4px;
  border:none;
}

#bilan-form button:hover {
  background-color:#B7893F;
}

.bilan-state {
  padding:4px;
  text-align:center;
}

.draft {
  background-color:#FFDA85;
}

.submitted {
  background-color:#FFC233;
}

.refused {
  background-color:#AE2012;
  color:white;
}

.valid {
  background-color:#06D6A0;
}

.back-link {
  background-color:#7995a3;
  color:white;
  border:none;
  padding:8px;
  margin-bottom:32px;
}

.back-link .fa-arrow-left {
  margin-right:8px;
}

.back-link > a {
  color:white;
}

/* DocGenerator */

.doctype, .formation-choice {
  /* margin:64px auto; */
  margin:32px auto; /* @patch 28/09/2022 marge très grande après inversion choix du programme et champs des documents */
}

.formation-choice > h3 {
  margin-bottom:0;
}

.doctype button, .add-variables {
  /* background-color:#333; */
  /* color:white; */
  /* padding:8px; */
  padding:4px;
  /* margin:16px 0; */
}

.docgenerator {
  display:flex;
}

.docline, .docline2 {
  display:flex;
  margin:8px 0;
}

.fa-download, .fa-edit, .fa-trash-alt {
  margin-left:8px;
  cursor:pointer;
}

.js-docgen2, .docgen {
  cursor:pointer;
}

.docgen:hover {
  text-decoration:underline;
}

#stagiaires_form {
    display: flex;
    flex-direction: column;
    flex-grow:1;
    padding:8px;
}

#stagiaires_form > *,
#doc_form > * {
	margin:8px;
}

#doc_form {
  display:flex;
  flex-direction:column;
  flex-grow:2;
  padding:8px;
}

.participants-table {
  width:100%;
}

.participants-table td {
  padding:8px;
  border:1px solid #999;
}

.overlays button {
  background-color: #333;
  color: white;
  padding: 8px;
  border: none;
  margin: 32px 8px 8px 0;
}

#mapping-table {
  border-collapse:separate;
  border-spacing:4px;
}

#mapping-table tr > td:nth-of-type(3) {
    width: 40%;
}

#mapping-table td > input {
    width:100%;
}

#mapping-table tr > td:nth-of-type(1) {
    font-weight:bold;
}


/*   LOADER  */

.loader span {
  opacity:0;
  font-size:1.75em;
  margin-left:2px;
  animation-duration:1.5s;
  animation-iteration-count: infinite;
}

.loader span:nth-of-type(1) {
  margin-left:8px;
  animation-name:point1;
}

.loader span:nth-of-type(2) {
  animation-name:point2;
}

.loader span:nth-of-type(3){
  animation-name:point3;
}

.empty-var {
  color:red;
}

/* .empty-var td > input  */
/* @rb 22/07/2025 ajout flexible */
.empty-var td > input, .empty-var td > select, .empty-var td > textarea	
{
  border-color:red;
}

@keyframes point1 {
  from  { opacity: 0; }
  30%   { opacity: 1; }
  60%   { opacity: 0; }
  to    { opacity: 0; }
}

@keyframes point2 {
  from { opacity: 0; }
  10%  { opacity: 0; }
  40%  { opacity: 1; }
  70%  { opacity: 0; }
  to   { opacity: 0; }
}

@keyframes point3 {
  from { opacity: 0; }
  20%  { opacity: 0; }
  50%  { opacity: 1; }
  80%  { opacity: 0; }
  to   { opacity: 0; }
}


/*    SPINNER  */

.spinner {
  position:relative;
  width: 120px;
  height: 120px;
  border:12px solid lightgrey;
  border-radius:50%;
}

.spinner:after,
.spinner:before {
    content:'';
    position:absolute;
    border:12px solid transparent;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin-left:-12px;
    margin-top:-12px;
    /* animation: spin 1.5s linear infinite; */
 }

 .spinner:before {
  border-top: 12px solid #7995a3;
  z-index:10;
  animation: spin1 1.1s linear infinite;
 }

 .spinner:after {
  border-top: 12px solid #7995a3; /* Blue */
  z-index:10;
  animation:spin2 1.1s linear infinite;
 }

@keyframes spin1 {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(25deg);
  }
  50% {
    transform: rotate(90deg);
  }
  75% {
    transform:rotate(270deg);
  }
  90% {
    transform:rotate(345deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin2 {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform:rotate(15deg);
  }
  50% {
    transform:rotate(45deg);
  }
  75% {
    transform: rotate(235deg);
  }
  90% {
    transform:rotate(300deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* @patch 06/03/2023 ajout pdf */
.pdf_link_wrapper {
	background-color: #fff;
	padding: 16px 20px 10px;
	margin-top: 44px;
	position: relative;
	/* display:none; */
}
.pdf_link_wrapper a:hover {
	text-decoration:underline;
}
.pdf_link_wrapper::before {
	content: "\f1c1";
	font-family: "Font Awesome 5 Free";
	font-size: 20px;
	position: absolute;
	top: -26px;
	left: calc(50% - 20px);
	font-weight: 600;
	background-color: #3f9ac7;
	color: #fff;
	padding: 9px 12px;
	border-radius: 100px;
}
body.logged-in .pdf_link_wrapper {
	display:block;
}


body.logged-in.admin-bar .onlynotadmin{
	display:none!important;
}
body.logged-in:not(.admin-bar) .onlyadmin{
	display:none!important;
}
body.logged-in.admin-bar .onlyadmin_showflex{
	display:flex!important;
}

/* @patch 23/05/2023 masque menu sticky sur la page d'aide (pb offset avec les ancres) */
/* body.page-id-29176 .section-header-sticky.active{ */
    /* display: none; */
/* } */
html {
	scroll-padding-top: 120px; 
	/* scroll-margin-top: 110px;  */
}

/* @patch 14/03/2022 pb export CSV sur toute la largeur (26/06/2023)
*/
.export-btn-wrapper {
    width: fit-content;
}

/* @rb 12/03/2024 ajout classe li_like pour formulaire ACF bilan : décalage à gauche */
.acf-field.li_like {
    padding-left: 50px;
}

/* @rb 13/11/2024 ajout classe pour affichage ts et tv sur le catalogue */
.scatp_tstv{
	background-color: #fff;
	padding: 5px;
	color: #cfab63;
}

.list-cat .title-cat.scatp2{
	padding: 5px 16px 15px;
}

/* @rb 16/12/2024 champ lecture seule c_montant_total */
.ob8_heures_total,
.ob13_nb_total,
.c_montant_total{
	background-color: #e9e8e8;
	text-align: right;
	font-size: 0.9em;
	display: flex;
	justify-content: center;
	gap: 10px;	
}

.ob8_heures_total input,
.ob13_nb_total input,
.c_montant_total input {
    background-color: #e9ecef;
    color: #6c757d;
    border: 1px solid #ced4da;
    pointer-events: none; /* Empêche les clics */
}

/* @rb 30/01/2025 masque enregistrer en édition jsgrid */
.form_wrapper.editing_field .jsgrid tr.jsgrid-row,
.form_wrapper.editing_field .jsgrid tr.jsgrid-alt-row {
		opacity: 0.2;
}
.form_wrapper.editing_field .submit_wrapper{
		opacity: 0;
	visibility:hidden;
}

/* @rb 13/03/2025 changement couleur de fond home */

.bandeau_top_home {
	margin: 10px 0 20px;
}

.bandeau_top_home img {
	margin: 0 10px -9px;
}

body.home {
    background-color: #fddeb794;
}

.header-menu .menu li a {
		padding-bottom:36px;
}

/* @rb 03/04/2025 100% masqué sinon */
.acf-range-wrap input[type="number"] {
    /* min-width: 60px; */
    min-width: 65px; /* @rb 14/05/2025 */
}

/* @rb 14/05/2025 ajout code formation BPF */
.f4_code_formation li {
		position:relative;
    font-size: 0.8em !important;
    line-height: 1.3em !important;
    width: 30%;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;		
    min-height: 1.4em;
}
.f4_code_formation li:hover {
		overflow: visible;
}
.f4_code_formation li:hover label {
    position: absolute;
    background: #c5685c;
		color:#fff;
    z-index: 5;
    padding: 3px;
    margin: -3px;	
		min-width:100%;
}

/* @rb 25/06/2025 ajout souligné et noir sur les liens du tableau des actions */
.tablesorter a:not(.bilan-action):hover {
    text-decoration: underline;
    color: #333;
}
