/* Règles du composant formulaire « custom-form » (bouton, bas du formulaire, flèche, icône TLS)
 * copiées telles quelles du style.css de Pindol (CIO), avec leurs variantes mobiles.
 * Chargées par le pont sur toutes les pages : sous Kadence, ce style.css n'est plus chargé
 * sur les pages Elementor. Toutes les règles visent .custom-form, .custom-arrow ou .drk-terms. */
#CommercialeTop .gform_wrapper.custom-form_wrapper .drk-terms p,
#CommercialeTop .gform_wrapper.custom-form_wrapper .drk-terms p a{
	color:black!important;
	margin:0!important;
}
#HabitationAuto-Top #ha-form .custom-arrow{
    display: none;
}
.gform_wrapper.custom-form_wrapper .drk-terms {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width:100%;
	margin:20px auto 10px!important;
}
.gform_wrapper.custom-form_wrapper .drk-terms img{
	width:70px;
    height: 39px;
	position:static!important;
}
.gform_wrapper.custom-form_wrapper .drk-terms p {
	padding-left: 15px;
	font-size: 14px !important;
	line-height: 1.4 !important;
	color: #ffffff !important;
	text-align: left !important;
	margin-bottom:0;
}
.gform_wrapper.custom-form_wrapper .drk-terms p a{
	color:#ffffff;
}
.gform_wrapper.custom-form_wrapper .drk-terms p a:hover{
	color:#00abc9!important;
}
.gform_wrapper.custom-form_wrapper{
	padding:0!important;
	width:100%!important;
	background-color:transparent!important;
}
.gform_wrapper.custom-form_wrapper form{
	padding:0!important;
}
.gform_wrapper.custom-form_wrapper .gsection_title{
	margin-left: 0 !important;
	text-align: left !important;
	font-size: 18px;
	margin-bottom: 0;
}
#HomeHeadline #homeForm .gform_wrapper.custom-form_wrapper .gsection_title{
	color:#ffffff!important;
}
.gform_wrapper.custom-form_wrapper .gfield input, 
.gform_wrapper.custom-form_wrapper .gfield select,
.gform_wrapper.custom-form_wrapper .gfield textarea{
	margin-bottom: 0px !important;
	box-shadow: none !important;
	font-size: 15px !important;
	background-color: #3b3b3b !important;
	border-color: #333 !important;
	color: white;
	border-radius: 0px !important;
	padding: 5px;
	height:30px;
	border-style:solid;
}
.gform_wrapper.custom-form_wrapper select{
	background: #3b3b3b url(images/select-bg-v2.png) no-repeat scroll right 4px center !important;
	background-color: rgb(59, 59, 59);
	-webkit-appearance: none;
	white-space: normal;
	height: auto !important;
}
.gform_wrapper.custom-form_wrapper .gfield textarea{
	height:60px;
}
.gform_wrapper.custom-form_wrapper.white-field_wrapper input, 
.gform_wrapper.custom-form_wrapper.white-field_wrapper select, 
.gform_wrapper.custom-form_wrapper.white-field_wrapper textarea {
	margin-bottom: 0 !important;
	box-shadow: none !important;
	padding: 6px 6px !important;
	font-size: 14px !important;
	background: #f1eff0 !important;
	border-color: #b4aeae !important;
	color: #333 !important;
	border-radius: 0 !important;
	border-style: solid;
	border-width: 1px;
}
.gform_wrapper.custom-form_wrapper .gfield_label{
	display:none!important;
}
#HomeTop .homeForm .gform_wrapper.custom-form_wrapper,
#HomeHeadline .homeForm .gform_wrapper.custom-form_wrapper{
	background-color:#5f6266!important;
	padding:20px 20px 0!important;
	width:calc(100% - 40px) !important;
}
#HomeHeadline #homeForm .gform_wrapper.custom-form_wrapper {
  background-color: #5f6266 !important;
  padding: 20px !important;
  width: calc(100% - 40px) !important;
}
#AssuranceAutoBottom .homeForm .gform_wrapper.custom-form_wrapper{
	padding:20px!important;
	width:calc(100% - 40px) !important;
}
.gform_wrapper.custom-form_wrapper .gform_validation_errors{
	padding:16px!important;
	text-align:center;
}
.gform_wrapper.custom-form_wrapper .gform_validation_errors > h2{
	padding:0!important;
}
.gform_wrapper.custom-form_wrapper .gfield_validation_message, 
.gform_wrapper.custom-form_wrapper .validation_message{
	font-size:12px!important;
	margin-top:0!important;
	background-color: #fff !important;
	padding: 0 5px !important;
}
.gform_wrapper.custom-form_wrapper .gform_heading,
.gform_wrapper.custom-form_wrapper .gform_validation_errors .gform-icon{
	display:none!important;
}
.gform_wrapper.custom-form_wrapper .ginput_container {
	margin-top:0!important;
}
.gform_wrapper.custom-form_wrapper .gform_fields{
	grid-row-gap:8px!important;
}
.gform_wrapper.custom-form_wrapper .ginput_container_address{
	margin-left:0!important;
	margin-right:0!important;
}
.gform_wrapper.custom-form_wrapper .ginput_container_address span{
	flex:0 0 100%!important;
	padding-left:0!important;
	padding-right:0!important;
	margin-bottom:0!important;
}
.gform_wrapper.custom-form_wrapper .has_street.has_city.has_zip.ginput_container_address{
	margin-left:-1%!important;
	margin-right:-1%!important;
}
.gform_wrapper.custom-form_wrapper .has_street.has_city.has_zip.ginput_container_address span{
	margin-top:8px!important;
	flex:0 0 50%!important;
	padding-left:.9804%!important;
	padding-right:.9804%!important;
}
#AssuranceAutoBottom .homeForm .gform_wrapper.custom-form_wrapper .ginput_complex.has_street.has_city.has_zip .ginput_left, 
#AssuranceAutoBottom .homeForm .gform_wrapper.custom-form_wrapper .ginput_complex.has_street.has_city.has_zip .ginput_right{
	margin-top:8px!important;
}
.gform_wrapper.custom-form_wrapper .ginput_complex.has_street.has_city.has_zip .ginput_full,
#AssuranceAutoBottom .homeForm .gform_wrapper.custom-form_wrapper .ginput_complex.has_street.has_city.has_zip .ginput_full{
	margin-top:0!important;
	flex:0 0 100%!important;
}
.gform_wrapper.custom-form_wrapper .ginput_container_address{
	margin-bottom:0!important;
}
.gform_wrapper.custom-form_wrapper #field_submit input, 
.gform_wrapper.custom-form_wrapper .gform_footer input{
	align-self:center!important;
	background-color: #f7bb00!important;
	color: black!important;
	text-transform: uppercase;
	padding: 15px 30px!important;
	border: none;
	font-size: 16px!important;
	border-bottom: #a0801c solid 5px !important;
	border-radius:50px!important;
	width:100%!important;
}
.gform_wrapper.custom-form_wrapper #field_submit input:hover, 
.gform_wrapper.custom-form_wrapper .gform_footer input:hover {
	background: #00abc9 !important;
	border-bottom: #0690a8 solid 5px !important;
}
.gform_wrapper.custom-form_wrapper #field_submit, 
.gform_wrapper.custom-form_wrapper .gform_footer{
	justify-content:center;
	flex-direction:column;
}
.gform_wrapper.custom-form_wrapper .gfield textarea{
	resize:none!important;
}
.gform_wrapper.custom-form_wrapper .click-terms .gfield_checkbox label, 
.gform_wrapper.custom-form_wrapper .click-terms .gfield_checkbox label a{
	color:#ffffff!important;
}
.gform_wrapper.custom-form_wrapper .click-terms .gfield_checkbox label a:hover{
	color:#00abc9!important;
}
.gform_wrapper.custom-form_wrapper .gfield.gfield--width-half{
	margin-right:0!important;
}
.custom-arrow {
	position: absolute;
	right: -105px !important;
    width: 100px;
    bottom: 70px !important;
	left: initial !important;
	top: initial !important;
}
#HomeTop .homeForm .custom-arrow{
	bottom:95px!important;
}
.page-template-template-assurance-auto .custom-arrow{
	bottom:75px!important;
}
#HomeBottomForm .homeform .custom-arrow {
	right: -40px!important;
	bottom: 125px!important;
}
#inv-form.custom-form{
    background-color: #011f39;
    width: 600px;
    padding: 20px 20px 10px;
    margin: 0 auto;
    border-radius: 10px;
    position: relative;
}
#inv-form.custom-form .gfield input, #inv-form.custom-form .gfield select, #inv-form.custom-form .gfield textarea {
    margin-bottom: 0px !important;
    box-shadow: none !important;
    font-size: 15px !important;
    background-color: #fff !important;
    border-color: transparent!important;
    color: black!important;
    border-radius: 0px !important;
    padding: 5px;
    height: 30px;
}
#inv-form.custom-form ::-webkit-input-placeholder { 
    color: black!important;
}
#inv-form.custom-form ::-moz-placeholder { 
    color: black!important;
    opacity:1;
}
#inv-form.custom-form :-ms-input-placeholder { 
    color: black!important;
    opacity:1;
}
#inv-form.custom-form :-moz-placeholder { 
    color: black!important;
    opacity:1;
}
#inv-form.custom-form .custom-arrow{
    display: none;
}
#inv-form.custom-form .gform_wrapper.custom-form_wrapper .drk-terms{
    max-width: 100%;
    margin: 0px auto!important;
    display: none;
}
#inv-form.custom-form .gform_wrapper.custom-form_wrapper .gform_footer input{
    padding: 15px 50px!important;
    border: none;
    font-size: 18px!important;
    border-bottom: none;
    border-radius: 30px!important;
    width: auto!important;
    box-shadow: none;
}
#inv-form.custom-form .gform_wrapper.custom-form_wrapper .drk-terms img {
    width: 60px;
}
#inv-form.custom-form .gform_wrapper.custom-form_wrapper .drk-terms p{
    margin-bottom: 0px;
}
#inv-form.custom-form #gform_wrapper_14{
    padding-bottom: 0px!important;
}
@media (min-width: 800px) and (max-width: 1024px) {
	#inv-form.custom-form{
        width: 460px;
    }
}
@media (min-width: 600px) and (max-width: 799px) {
	#inv-form.custom-form{
        width: 460px;
    }
}
@media only screen and (max-width:767px) {
	.custom-arrow {
	  right: -30px!important;
	  bottom: 115px!important;
	}
	#HomeTop .homeForm .gform_wrapper.custom-form_wrapper .gform_footer{
        padding: 0px!important;
    }
	#HomeBottomForm .homeform .custom-arrow {
		right: -45px!important;
		bottom: 120px!important;
	}
}
@media only screen and (max-width:640px) {
	.gform_wrapper.custom-form_wrapper .has_street.has_city.has_zip.ginput_container_address{
		margin-left:0!important;
		margin-right:0!important;
	}
	.gform_wrapper.custom-form_wrapper .has_street.has_city.has_zip.ginput_container_address span{
		flex:0 0 100%!important;
		padding-left:0!important;
		padding-right:0!important;
	}
}
@media only screen and (max-width:479px) {
	#HomeBottomForm .homeform .gform_wrapper.custom-form_wrapper{
		background-color:#5f6266!important;
		padding:20px!important;
		width:calc(100% - 40px) !important;
	}
	.custom-arrow {
		right: -30px!important;
		transform: rotate(-70deg);
		width: 70px;
	}
	#HomeBottomForm .homeform .custom-arrow {
		bottom: 210px!important;
		right: -25px!important;
	}
	.page-template-template-assurance-auto .custom-arrow {
	  bottom: 175px!important;
	}
	#AssuranceAutoBottom .homeForm .gform_wrapper.custom-form_wrapper {
	  width: calc(100% - 40px) !important;
	}
	#inv-form.custom-form{
        width: auto;
    }
}
