/*
 Theme Name:   Mokaco
 description:  Mokaco V2
 Author:       Qwoty
 Template:     twentytwenty
 Version:      1.31
*/


/* HELP */
/* main .form-field.entrylink {
	visibility: visible !important;
	position: relative;
	overflow: visible;
	width: auto;
	height: auto;
	opacity: 1;
  } */


/* ---------------------------- CUSTOM SECTION ----------------------------- */
/*Font*/
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.ttf') format('truetype');
}
:root {
	--font-primary:Poppins, Arial, Helvetica, sans-serif !important ;
	--orange:#fde3d4;
	--green:#42F67F;
	--blue:#164cc7;
	--blue-dark:#131947;
	--blue-light:#e5ecfb;
	--orange:#f4560b;
	--orange-light:#fef2e7;
	--orange-dark:#DB7351;
	--yellow:#f2ba52;
	--yellow-dark:#a98239;
	--yellow-light:#fef8ee;
	--red:#EB4462;
	--red-dark:#EB4462;
	--red-light:#FDECEF;
}

/* Submit */
body.logged-in.home .frm_submit .frm_button_submit {
	background-image: linear-gradient(50deg, var(--orange), var(--orange)) !important;
  color: var(--white) !important;
}

/* Sauvegardes de devis */
.home.logged-in .frm_submit .frm_save_draft {
	display: flex !important;
	background: var(--blue) !important;
  	color: var(--white) !important;
}


/* Connexion */
body:not(.logged-in).home main::before {
  background-color: var(--orange-light);
}
body:not(.logged-in).home .post-inner {
  background: var(--transparent);
}
body:not(.logged-in).home .post-inner #loginform-0 .frm_submit input {
	background: var(--orange);
	color: var(--white);
}

/* Logged-in */
.home.logged-in main .devis-qwoty {
	background: var(--orange-light);
}

/* Bouton */
.section-hero-front .col-bouton a {
	background: var(--orange);
}
button.lien-modal {
	background: var(--orange);
}


/* section-temoignage-front */
.section-temoignage-front .col-card .card::before {
	color: var(--orange);
}
.section-temoignage-front .col-card .card a {
	color: var(--orange);
}

/*ajout de style pour le bouton suppression*/
a.frm_remove_form_row.frm_button.validateDeletion {
	color: white !important;
	background-color: #e22658 !important;
	border: 1px solid #e22658 !important;
  }
  
  a.frm_remove_form_row.frm_button.validateDeletion:hover {
	color: white !important;
	background-color: #e22658 !important;
	border: 1px solid #e22658 !important;
  }

/* Ordre */
main .devis-qwoty fieldset > .frm_fields_container > *:not(.entrylink) { 
	order:5;
}
.section-info-front, .section-hero-front, .section-reassurance-front {
	order:0 !important;
}
.section-reassurance-front {
	order:1 !important;
}
.section-contexte-front {
	order:1 !important;
}
.section-avantage-front {
	order:2 !important;
}
.section-telechargement-front {
	order:1 !important;
}
.section-temoignage-front {
	order:9 !important;
}


/* ---------------------------- CUSTOM FIELD ----------------------------- */
.section-validation-front .form-modalite:has(#field_commande_facturation_po){
	display: none !important;
}
form.form-back .frm_form_field:has(#field_client_remise){
	display: none !important;
}

/* Client - Afficher la notification email */
form.form-back .frm_form_field:has(#field_client_devis_envoi_email) {
	display: flex !important;
}

/* Header - Templates */
body:not(.home) header nav ul li.menu-admin {
	display: none;
}
body:not(.home) header nav ul li.menu-templates {
	display: flex !important;
}
