#form{
    margin: 80px 0;
}

@media(max-width:768px){
	#formulaire{
		padding:10%;
		
	}
}


#page .form-control{
    border-radius: 0!important;
}

#page .text-center .obligatoire{
    float: none;
}

#page form .form_group{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#page form .group{
    position:relative; 
    margin-bottom: 15px; 
    letter-spacing: 1px;
}

#page form .group textarea{
    resize: none;
}

#page form .group input, #page form .group textarea{
    font-size: 17px;
    color: #222222;
    padding: 5px 10px 2px 5px;
    display:block;
    width:100%;
    border: none;
    border-bottom: 1px solid #fba809;
    background: none !important;
    border-radius: 0px;
}
    #page form .group select{
    color: #222222;
    font-size: 17px;
    font-weight:normal;
    border-top: none;
    border-left: none;
    border-right: none;
    padding-left: 1px;
    border-bottom: 1px solid #fba809;
}

#page form .group select:focus{
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
#page form .group input:focus, #page form .group textarea:focus{
    outline:none;
    -webkit-box-shadow: none;
            box-shadow: none;
}

#page form .group label{
    color: #222222;
    font-size: 17px;
    font-weight:normal;
    position:absolute;
    pointer-events:none;
    left:15px;
    top: 5px;
    -o-transition:0.2s ease all;
    transition:0.2s ease all; 
    -moz-transition:0.2s ease all; 
    -webkit-transition:0.2s ease all;
    padding: 0;
    max-width: calc(100% - 30px);
    line-height: initial;
}
@media(max-width:1025px){
	#page form .group label{
		font-size: 15px;
	}
}

#page form .group select ~ label{
    top: 4px;
    left: 20px;
}

#page form .group input:focus ~ label, #page form .group input.filled ~ label,
#page form .group textarea:focus ~ label, #page form .group textarea.filled ~ label{
    top: -13px;
    font-size: 15px;
    color: #fba809;
}
@media(max-width:1025px){
	#page form .group input:focus ~ label, #page form .group input.filled ~ label,
	#page form .group textarea:focus ~ label, #page form .group textarea.filled ~ label{
	font-size: 13px;
	}
}

#page form .group .bar{
    position:relative;
    display:block;
    width:100%;
}

#page form .group .bar:before{
    left:50%;
}
#page form .group .bar:after{
    right:50%; 
}
#page form .group input:focus ~ .bar:before, #page form .group input:focus ~ .bar:after,
#page form .group textarea:focus ~ .bar:before, #page form .group textarea:focus ~ .bar:after{
    width:50%;
}
#page form .group .form-control:not(.invalid):focus{
    border-color: #fba809;
}
#page form .group .form-control.filled{
    border-color: #fba809;
}
#page form .group .form-control.invalid{
    border-color: #8d0000;
}
#page form .group input.invalid ~ label,
#page form .group textarea.invalid ~ label{
    color: #8d0000;
}
#page form .group input.invalid ~ .bar:before, #page form .group input.invalid ~ .bar:after,
#page form .group input.filled:not(.invalid):invalid ~ .bar:before, #page form .group input.filled:not(.invalid):invalid ~ .bar:after{
    background: #8d0000;
}

#page form .group input.filled:not(.invalid):invalid{
    border-bottom: 1px solid #8d0000;
}
#page form .group input.filled:not(.invalid):invalid ~ label{
    color: #8d0000;
}

#page form .group .chkbx .form-check{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
}

#page form .group .chkbx input{
    position: relative;
    display: inline-block;
    width: auto;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 0;
    
}
#page form .group .chkbx label{
    position: relative;
    top: 0;
    left: 25px;
    pointer-events: all;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}



#page form .group .chkbx label:before,
#page form .group .chkbx label:after{
	position: absolute;
	top: 50%;
	left: -42px;
	
}

#page form .group .chkbx label:before{
	content: '';	
	height: 25px;
	width: 25px;
	border: 2px solid #fba809;
	border-radius: 0;
	-webkit-transform: translateY(-50%);
	    -ms-transform: translateY(-50%);
	        transform: translateY(-50%);
}
#page form .group .chkbx input[type="checkbox"] + label::after {
	font-family: "Font Awesome 5 Free";
    content: "\f00c";
    font-weight: 900;
    color: #FFF;
    line-height: 25px;
    font-size: 18px;
    text-align: center;
    left: -38px !important;
	top: calc(50% - 12.5px);
}

#page form .group .chkbx input:focus ~ label{
    top: 0;
    font-size: 17px;
    color: #222222;
}

#page form .group .chkbx input[type="checkbox"]:checked + label::before{
  background: #fba809;
  border-color: #fba809;
}
#page form .group .chkbx input[type="checkbox"] + label::after{
	-webkit-transform: scale(0);
	    -ms-transform: scale(0);
	        transform: scale(0);
}
#page form .group .chkbx input[type="checkbox"]:checked + label::after{
	-webkit-transform: scale(1);
	    -ms-transform: scale(1);
	        transform: scale(1);
}

#page form .group .chkbx label::before,
#page form .group .chkbx label::after {
  -webkit-transition: .25s all ease;
  -o-transition: .25s all ease;
  transition: .25s all ease;
}


#page form b{
    position: absolute;
    top: 0;
    right: 0;
    color: #8d0000;
    font-size: 18px;
}


#page form .obligatoire {
    display: inline-block;
    color:#8d0000;
    font-size: 15px;
}
#page form .obligatoire b {
    position:relative;  
}

#page label a{
	font-weight: 600;
	color: #8d0000;
}

/* ------ Bouton ------ */

#page .bouton{
    position: relative;
    padding: 5px 20px;
    margin-bottom:10px;
    display: inline-block;  
    font-size: 18px;
    font-weight: 600;
    color: #222222;
    background: #fbb52e;
    border: none;
    border-radius: 10px;    
    text-decoration: none;    
    -webkit-transition: 0.2s;    
    -o-transition: 0.2s;    
    transition: 0.2s;
    cursor: pointer;
    outline: none;
    border-radius: 0;
    
}

#page .bouton i {
	margin-right:10px;
}
