/*
 Theme Name:     Custom Piotre
 Theme URI:      https://seeusoon.digital
 Description:    Divi Child Theme for Piotre
 Author:         SEEUSOON DIGITAL
 Author URI:     https://seeusoon.digital
 Template:       Divi
 Version:        1.0.0
*/


/*** REMOVE LABEL ON FIELDS USING PLACEHOLDER ***/
.gform_wrapper .top_label .gfield_label,
.gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label {
 display: none;
}
/*** FIELD STYLING ***/
.gform_body input[type=text],
.gform_body textarea,
.gform_body select,
.gform_body .chosen-container .chosen-default,
.gform_body .chosen-container .chosen-single
 {
 background: linear-gradient(#fff 20%,#fff 50%,#fff 52%,#fff 100%) !important; 
 background-color: rgba(250,250,250,1)!important;
 border: none;
 border-radius: 0;
 color: #999 !important;
 padding: 1em !important;
 height: auto !important;
}
.gform_body .chosen-container .chosen-single{
	padding-bottom: .5em !important;
}
.gform_body .chosen-container .chosen-default div,
.gform_body .chosen-container .chosen-single div
{
	display: none!important;
}
.gform_body .chosen-container,
.gform_body select
{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    z-index: 0;
}
.gform_wrapper .gfield_checkbox li,
.gform_wrapper .gfield_radio li
{
	position: initial !important;
}
.gform_body .chosen-drop{
	background-color: rgba(250,250,250,1)!important;
}
.gform_body .ginput_container_select{
	position: relative;
	z-index: 0;
}
.gform_body .chosen-container-single .chosen-single span{
	padding: .1em 0 0 0;
	display: inline-block !important;
}
.gform_body .ginput_container_select select{
	cursor: pointer; 
}
.gform_body .chosen-container.chosen-with-drop .chosen-drop{
	position: relative;
}
.gform_body textarea,
.gform_body .chosen-container,
.gform_body select,
.gform_body input
{
	box-shadow: 0em 0em 1em .1em rgba(0, 0, 0, .2);
	background-color: rgba(0,0,0,.03)!important;
}
.gform_body input:focus
{
	box-shadow: 0em 0em 1em .1em rgba(0, 0, 0, .3);
	background-color: rgba(0,0,0,.01)!important;
}

.gform_body .ginput_container_select:after{
	position: absolute;
	top: .9em;
	right: 1em;
	height: 1em;
	width: 1em;
	z-index: 1;
	content: " ";
	border-top: .5em solid rgba(0,0,0,0);
	border-right: .5em solid rgba(0,0,0,.6);
	border-bottom: .5em solid rgba(0,0,0,.6);
	border-left: .5em solid rgba(0,0,0,0);
	transform: rotate(45deg);
	animation: all .8s linear;
	border-radius: .2em;
}
.gform_body .ginput_container_select:hover:after{
	border-right-color: rgba(0,0,0,.8);
	border-bottom-color: rgba(0,0,0,.8);
	top: 1.1em;
}

.gfield_checkbox [type="checkbox"],
.ginput_container_consent [type="checkbox"]
{
	margin: 0 !important;
	padding: 0 !important;
	width: 1.4em;
	height: 1.4em;
}

.gfield_checkbox [type="checkbox"]:not(:checked), 
.gfield_checkbox [type="checkbox"]:checked,
.ginput_container_consent [type="checkbox"]:not(:checked), 
.ginput_container_consent [type="checkbox"]:checked
{
	/* Cache la checkbox sans
	   la desactiver pour les
	   lecteurs d'ecran */
	position: absolute;
	left: 0;
	opacity: 0.01;
}

/* checkbox label */
.gfield_checkbox [type="checkbox"]:not(:checked) + label,
.gfield_checkbox [type="checkbox"]:checked + label,
.ginput_container_consent [type="checkbox"]:not(:checked) + label,
.ginput_container_consent [type="checkbox"]:checked + label
{
	position: relative; /* permet de positionner les pseudo-elements */
	padding-left: 2.3em; /* fait un peu d'espace pour notre case à venir */
	font-size: 1.05em; /* Label un peu plus gros */
	line-height: 1.7;
	cursor: pointer;    /* affiche un curseur adapte */
}
/* Aspect de la case */
.gfield_checkbox [type="checkbox"]:not(:checked) + label:before,
.gfield_checkbox [type="checkbox"]:checked + label:before,
.ginput_container_consent [type="checkbox"]:not(:checked) + label:before,
.ginput_container_consent [type="checkbox"]:checked + label:before
{
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 1.5em;
	height: 1.5em;
	border: 1px solid rgba(0,0,0, .2);
	background: #FFF;
	border-radius: .2em;
	box-shadow: inset 0 1px 3px rgba(0,0,0, .1), 0 0 0 rgba(203, 34, 237, .2);
	transition: all .275s;
}

/* Aspect de la coche */
.gfield_checkbox [type="checkbox"]:not(:checked) + label:after,
.gfield_checkbox [type="checkbox"]:checked + label:after,
.ginput_container_consent [type="checkbox"]:not(:checked) + label:after,
.ginput_container_consent [type="checkbox"]:checked + label:after
{
	content: '✕';
	position: absolute;
	top: .455em;
	left: .08em;
	font-size: 1.6em;
	color: rgba(0,0,0,.3);
	line-height: 0;
	transition: all .2s; /* Petite transition */
}
@media screen and (max-width: 640px){
	.gfield_checkbox [type="checkbox"]:not(:checked) + label:after,
	.gfield_checkbox [type="checkbox"]:checked + label:after,
	.ginput_container_consent [type="checkbox"]:not(:checked) + label:after,
	.ginput_container_consent [type="checkbox"]:checked + label:after

	{
		top: 0.45em !important;
		left: 0.1em !important;
	}	
} 

/* Aspect non cochee */
.gfield_checkbox [type="checkbox"]:not(:checked) + label:after,
.ginput_container_consent [type="checkbox"]:not(:checked) + label:after
{
	opacity: 0;
	transform: scale(0) rotate(45deg);
}

/* Aspect cochee */
.ginput_container_consent [type="checkbox"]:checked + label:after
.gfield_checkbox [type="checkbox"]:checked + label:after
{
	opacity: 1;
	transform: scale(1) rotate(0);
}

/*** BUTTON STYLING ***/
.gform_wrapper .gform_footer input.button {
 float: right;
 background: transparent;
 border: 2px solid #FFF;
 font-size: 22px;
 color: #FFF;
 padding: 12px 23px;
 border-radius: 5px;
 letter-spacing: 2px;
 cursor: pointer;
}
/*** BUTTON HOVER STYLING ***/
.gform_wrapper .gform_footer input.button:hover {
 background: rgba(0, 0, 0, 0.1);
 border: 2px solid transparent;
}

#gform_fields_1 label{
	/*color: rgba(255,255,255,1);*/
}
 
/* Theme customization starts here

/* Hide Divi Main Navigation Menu 
#main-header { display:none; }
#page-container { 
	padding-top:0px !important; 
	margin-top:-1px !important 
}
*/

/* ------------------------------------------------------- */
*{
  /*font-family: 'Abel', sans-serif;*/
  font-weight: normal;
 }

.et-highlightable {
	-webkit-transition: -webkit-transform 500ms ease-in-out;
	transition: -webkit-transform 500ms ease-in-out;
	transition: transform 500ms ease-in-out;
	transition: transform 500ms ease-in-out,-webkit-transform 500ms ease-in-out;
}
.et-highlighted{
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
}
@media (min-width:980px){
	.et-highlighted{
		-webkit-transform: scale(1.4);
		transform: scale(1.4);
	}
}
.et_right_sidebar #main-content .container:before,
body.woocommerce-page #content-area:before{
	display: none;
}
body.woocommerce-page #left-area{
	float: none;
    padding-right: 0;
    width: 100%;
}




.woocommerce .woocommerce-error, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message {
    background: rgb(246, 245, 248);
}

