/* ----------------------------------------------------- */
/*
/*  Coordonnees
/*
/* ----------------------------------------------------- */

#coordonnees .bloc-text {
    font-size: 15px;
    color: #303030;
    font-style: italic;
}

#coordonnees .bloc-text i {
    display: block;
    font-size: 20px;
    color: #559202;
    margin-bottom: 10px;
}

#coordonnees .bloc-text a {
    color: #303030;
    transition: 0.2s color;
}

#coordonnees .bloc-text a:hover {
    text-decoration: none;
    color: #559202;
    transition: 0.2s color;
}

/* ----------------------------------------------------- */
/*
/*  Map
/*
/* ----------------------------------------------------- */

#map {
    height: 400px;
    margin: 40px auto 60px auto;
}

/* ----------------------------------------------------- */
/*
/*  Mentions Légales
/*
/* ----------------------------------------------------- */

#mentions,
#merci {
    padding: 15px 30px;
    min-height: 67vh;
}

#merci .bloc-img {
    width: 100%;
    height: 280px;
    background: url('../../images/fond2.jpg') no-repeat center center;
    background-size: cover;
    margin-top: 50px;
}

/* ----------------------------------------------------- */
/*
/*  Formulaire
/*
/* ----------------------------------------------------- */

#formulaire h2 {
    font-family: "Nova Flat";
	font-size: 22px;
    color:#549102;
    text-transform: uppercase;
}


#page .form-control{
    border-radius: 0!important;
}

#page .text-center .obligatoire{
    float: none;
}

#page form {
    margin: 50px 0;
}

#page form .form_group{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#page form .group{
    position:relative;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

#page form .group textarea{
    resize: none;
    height: 200px;
}

#page form .group input, #page form .group textarea{
    padding: 6px 17px;
    display:block;
    width:100%;
    border: none;
    background-color: none;
    color: #232323;
    font-size: 14px;
    margin-bottom: 15px;
    box-shadow: 0px 0px 5px rgba(23,23,23,0.3);
}

#page form .group input:invalid{
    color: #6c0710;
}

#page form .group select {
    font-size: 15px;
    font-weight:normal;
    border-top: none;
    border-left: none;
    border-right: none;
    padding-left: 1px;
}


#page form .group label{
    color: #232323;
    font-size: 16px;
    text-align: left;
    font-weight:normal;
    position:absolute;
    pointer-events:none;
    left: 30px;
    top: 9px;
    -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;
}

#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: -25px;
    font-size: 14px;
    color: #559202;
}

#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: #6c0710;
}
#page form .group .form-control.filled{
    border-color: #6c0710;
}
#page form .group .form-control.invalid{
    border-color: #6c0710;
}
#page form .group input.invalid ~ label{
    color: #6c0710;
}
#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: #6c0710;
}

#page form .group input.filled:not(.invalid):invalid{
    border-bottom: 1px solid #6c0710;
}
#page form .group input.filled:not(.invalid):invalid ~ label{
    color: #6c0710;
}

#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;
    top: 0; left: 0;
    width: auto;
    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;
}

.form-check {
    margin-top: 20px;
}

.form-check-label {
    color: #232323;
    text-align: left;
}

#page form .group .chkbx label:before,
#page form .group .chkbx label:after {
	position: absolute;
	top: 50%;
	left: -38px;

}

#page form .group .chkbx input[type="checkbox"] + label::after {
    content: "\f00c";
    font-weight: 900;
    color: #232323;
    line-height: 25px;
    font-size: 18px;
    text-align: center;
    left: -34px !important;
	top: calc(50% - 12.5px);
}

#page form .group .chkbx input:focus ~ label{
    top: 0;
    font-size: 17px;
    color: #232323;
}

#page form .group .chkbx input[type="checkbox"]:checked + label::before{
  border-color: #232323;
}
#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: #559202;
    font-size: 22px;
}

#page form .obligatoire {
    display: inline-block;
    color: #559202;
    font-size: 15px;
    font-family: 'Nova Flat', sans-serif;
}

#page form .obligatoire b {
    position:relative;
}

#form_submit {
    background-color: #559202 !important;
    transition: 0.2s background-color;
    width: 25%;
    font-size: 15px;
    border: none;
}
#form_submit:hover {
    background-color: #63a705 !important;
    transition: 0.2s background-color;
}

/* --------------------------------------------------------------- */
/*
/* Responsive
/*
/* --------------------------------------------------------------- */


@media screen and (max-width: 1199px) {
    #coordonnees .bloc-text {
        margin-bottom: 20px;
    }

    #map {
        height: 360px;
        margin: 20px auto 30px auto;
    }
}

@media screen and (max-width: 991px) {
    #page form .group label {
        font-size: 15px;
        top: 7px;
    }
}
	
@media screen and (max-width: 767px) {
    #mentions, #merci {
        padding: 15px 5px;
        min-height: 67vh;
    }
}

@media screen and (max-width: 575px) {
    #map {
        height: 300px;
    }

    #formulaire h2 {
        font-size: 18px;
    }

    #page form {
        margin: 20px 0;
    }

    #page form .group {
        margin-bottom: 2px;
    }

    #page form .group label {
        font-size: 13px;
        top: 9px;
    }

    #page form label {
		font-size: 12px;
	}
    
}