/***** champs formulaire *****/ 
label								{ display: block; margin-bottom: 5px;}
label span							{ color: #ef2424;}
select,
input[type="text"],
input[type="email"],
input[type="date"],
textarea 							{ width:100%; border:1px solid #dfdfdf; padding:0 30px; height:60px; font: 400 16px/30px "Barlow"; border-radius:0; color:#0c2938; margin-bottom: 10px; letter-spacing: 0.4px; display:block; }
textarea							{ min-height: 160px; padding: 20px 25px; display: block; border-radius: 0;}
input[type=checkbox] 				{ -webkit-appearance: checkbox; -ms-appearance: checkbox; appearance: checkbox; -moz-appearance: checkbox; -o-appearance: checkbox; width: 20px; height: 20px; display: block; float: left; padding: 0; margin: 0;}

input::placeholder      { color:#b3b3b3; }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus 		{ border: 1px solid #010101; -webkit-text-fill-color: #010101; box-shadow: 0 0 0px 1000px #ffffff inset; transition: background-color 5000s ease-in-out 0s;}


input[type="submit"]     { background: #e00814; color: #ffffff; padding: 0 30px 0 30px; font-size: 12px; font-weight: 700; height: 60px; line-height: 60px; display: inline-block; border: none; cursor: pointer; letter-spacing: .4px; transition: all 400ms ease-in-out; text-transform: uppercase; border-radius: 0;}

@media (min-width:1201px) {
    input[type="submit"]:hover { background: #2e2e2e; color: #ffffff; transition: all 400ms ease-in-out;}
}

/***** confirmation formulaire *****/
.anchor 							{ position: absolute; left: 0; top: -140px;}
.confirmation_form			 		{ text-align: center; border: 1px solid #e00814; padding: 40px; background: #e00814; color: #ffffff; border-radius: 0;}
.confirmation_form p			 	{ margin: 5px 0 20px 0; font-weight: 600;}

@media (max-width:600px) {
    .confirmation_form			 		{ padding: 30px; border-radius: 0;}
}


/***** RGPD *****/
#rgpdForm 							{ font: 400 12px/24px "Barlow"; border: none; letter-spacing: 0.6px; margin-bottom: 30px;}
#rgpdForm input[type=checkbox]		{ width: 18px; height: 18px; display: block; float: left; padding: 0; margin: 2px 0 0 0; -webkit-appearance: checkbox; -ms-appearance: checkbox; appearance: checkbox; -moz-appearance: checkbox; -o-appearance: checkbox;}
#rgpdForm label						{ display: block; margin: 0; padding-left: 30px; font: 400 12px/24px "Barlow"; letter-spacing: 0.6px;}
#rgpdForm a							{ position: relative; color: #000000; border-bottom: 1px solid #00000060; padding-bottom: 1px;}
#rgpdFormAcceptError				{ padding: 5px 0 0 30px; color: #a63038;}

@media (min-width:1201px) {
    #rgpdForm a:hover 					{ border-color: #cd2020; color: #000000;}
}


/**** HEADER ****/
.top_page .wrapper            { padding: 40px 0;}
.top_page .wrapper::after     { opacity: 0.05; top: 50%; transform: translateY(-50%);}

.header-grid         { display: grid; grid-template-columns: 2fr 1fr; grid-gap: 0 60px; position: relative; z-index: 2;}
.header-grid .item:nth-child(2)   { color: #ffffff;}
.header-grid .item:nth-child(2) a { color: #ffffff; border-bottom: none; display: block;}
.header-grid .item:nth-child(2) a:hover { color: #e00814; border-bottom: none;}
.header-grid .item:nth-child(2) p { margin-bottom: 10px;}

.header-grid .item:nth-child(2) a.map     { background: url("../images/map.svg") left 7px no-repeat; padding-left: 30px; }
.header-grid .item:nth-child(2) a.tel     { background: url("../images/tel.svg") left center no-repeat; padding-left: 30px; }
.header-grid .item:nth-child(2) a.mail    { background: url("../images/mail_red.svg") left center no-repeat; padding-left: 30px; }

@media (max-width:800px) {
    .header-grid                     { grid-template-columns: 1fr; grid-gap: 40px 0;}
    .header-grid .item:nth-child(2)  { display: none;}
}


.contact-grid { display: grid; grid-template-columns: 2fr 1fr; grid-gap: 0 60px; position: relative; z-index: 2; position: relative;}

.contact-grid::before {    content: "";    display: block;    position: absolute;    width: 1715px;    height: 1715px;    background: #e00814;    transform: rotate(-45deg) translate(-601px, -266px);    left: 120%;    top: 270px;    transform-origin: left top;}


@media (max-width:1200px) {
    .contact-grid     { grid-gap: 0 30px;}
}

@media (max-width:1000px) {
    .wrapper.contact     { max-width:inherit;}
}

/***** page contact *****/
.bloc_grid .texte strong       { font-weight: 600;}

.bloc_grid .texte .tel         { background: url(../images/tel.svg) left center no-repeat; line-height: 40px;font-size: 16px; padding-left: 30px; border-bottom: none;}
.bloc_grid .texte .mail        { background: url(../images/mail_red.svg) left center no-repeat; line-height: 40px;font-size: 16px; padding-left: 30px; border-bottom: none;}

.contact_form                   { background: #f2f2f2; padding: 40px; border-radius: 0; position: relative;}

.grid              			    { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 30px; margin-bottom: 30px; }
.grid .item_full				{ grid-column: span 2;}

@media (max-width:1000px) {
    .contact_form 		 { padding: 30px;}
}

@media (max-width:800px) {
    .contact-grid    		    { grid-template-columns: 1fr;}
    .grid    		            { grid-template-columns: 1fr;}
    .grid .item_full            { grid-column: span 1;}
}
@media (max-width:600px) { 
    #contact .top_page          { margin-bottom: 0;}
    .wrapper.contact .bloc_texte { margin: 0 0 30px 0;}
    form .grid 					{ display: block;}
    form label 					{ margin-bottom: 10px;}
    form .btn_sub 				{ text-align: left;}
    .grid .item                 { margin-bottom: 30px;}
    .contact-grid::before       { content: none;}
    .contact_form 				{ padding: 40px 0;}
    .contact_form:before        { content: ""; position: absolute; top: 0; left: -50vw; width: 200vw; height:120%; background: #f2f2f2; z-index: -1;}
}
