/* --------------------------------------------------------------- */
/*
/* Commentaire
/*
/* --------------------------------------------------------------- */
#commentaires .commentaire{
	background: #FFF;
	padding: 10px 15px;
	margin-bottom: 30px;
	box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}
#commentaires .commentaire:last-child{
	margin-bottom: 0;
}
#commentaires .commentaire header{
	border-bottom: 2px solid #959595;
}
#commentaires .commentaire header .content{
	position: relative;
	display: inline-block;
	padding-right: 15px;
	padding-bottom: 10px;
}
#commentaires .commentaire header .content:after{
	content: '';
	position: absolute;
	bottom: -2px;
	height: 2px;
	width: 100%;
	background: #fbb52e;	
}
#commentaires .commentaire .author span{
	font-weight: 600;
	color: #8d0000;
}
#commentaires .commentaire .site a{
	font-weight: 600;
	color: #fbb52e;
}
#commentaires .commentaire .date{
	font-weight: 600;
	color: #8d0000;
}
#commentaires .commentaire .heure{
	font-weight: 600;
	color: #fbb52e;
}
#commentaires .commentaire .texte{
	padding: 15px 0;
	font-size: 17px;
}


/* --------------------------------------------------------------- */
/*
/* Bloc formulaire
/*
/* --------------------------------------------------------------- */

#form_commentaire_container{
	position: relative;
	margin: 30px 0;
	
    background: #FFF;
    padding: 10px 30px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.2);	
}
#retour_confirmation_commentaire{
	position: absolute;
	top: 10px;
	left: 30px;
	right: 30px;
	bottom: 10px;
	z-index: 0;
	
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
#retour_confirmation_commentaire.relative{
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
#retour_confirmation_commentaire h3{
    text-transform: uppercase;
    color: #8d0000;
    font-weight: 600;
}
#retour_confirmation_commentaire p{
	font-weight: 600;
}

#form_ajout_commentaire{
	position: relative;
	z-index: 10;
}
#form_ajout_commentaire h3{
    text-transform: uppercase;
    color: #fbb52e;
    margin: 15px 0;
}


/* --------------------------------------------------------------- */
/*
/* Formulaire
/*
/* --------------------------------------------------------------- */

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

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

#form_ajout_commentaire .form-group:last-of-type{
    margin-bottom: 0;
}

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

#form_ajout_commentaire .group textarea{
    resize: none;
}

#form_ajout_commentaire .group input, #form_ajout_commentaire .group textarea{
    font-size: 17px;
    color: #222222;
    padding: 5px 15px 2px 5px;
    display:block;
    width:100%;
    border: none;
    border-bottom: 1px solid #fba809;
    background: none !important;
    border-radius: 0px;
}

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

#form_ajout_commentaire .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){
	#form_ajout_commentaire .group label{
		font-size: 15px;
	}
}

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


#form_ajout_commentaire .group .form-control:not(.invalid):focus{
    border-color: #fba809;
}
#form_ajout_commentaire .group .form-control.filled{
    border-color: #fba809;
}
#form_ajout_commentaire .group .form-control.invalid{
    border-color: #8d0000;
}
#form_ajout_commentaire .group input.invalid ~ label,
#form_ajout_commentaire .group textarea.invalid ~ label{
    color: #8d0000;
}


#form_ajout_commentaire .group input.filled:not(.invalid):invalid{
    border-bottom: 1px solid #8d0000;
}

#form_ajout_commentaire .group input.filled:not(.invalid):invalid ~ label{
    color: #8d0000;
}

#form_ajout_commentaire .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;
}

#form_ajout_commentaire .group .chkbx input{
    position: relative;
    display: inline-block;
    width: auto;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 0;
    
}

#form_ajout_commentaire .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_ajout_commentaire .group .chkbx label:before,
#form_ajout_commentaire .group .chkbx label:after{
	position: absolute;
	top: 50%;
	left: -42px;
	
}

#form_ajout_commentaire .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%);
}

#form_ajout_commentaire .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);
}

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

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

#form_ajout_commentaire .group .chkbx input[type="checkbox"]:checked + label::after{
	-webkit-transform: scale(1);
	    -ms-transform: scale(1);
	        transform: scale(1);
}

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

#form_ajout_commentaire .group b{
    position: absolute;
    top: 0;
    right: 15px;
    color: #8d0000;
    font-size: 18px;
}

#form_ajout_commentaire .obligatoire {
    display: inline-block;
    color:#8d0000;
    font-size: 15px;
}

#form_ajout_commentaire .obligatoire b {
    position:relative;  
}

#form_ajout_commentaire .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;
}
