/*-----------------------------------------*/
/*                 Custom                  */
/*-----------------------------------------*/

/* 
	COMMENT SURCHARGER LE STYLE ?
========================================

	Décommenter dans la classe mère BundleAvis.php la ligne '99' :
	// app::addLink( "stylesheet" , $this->getFilesPath("style_custom.css") ); // css à ajouter dans la surcharge du module (web/bundles/avis/style_custom.css)
	
	Puis créez le dossier :
	 ./web/bundles/avis/
	 
	Ensuite créez le fichier :
	 ./style_custom.css
	 
	Vous pouvez désormais surcharger le style du module en écrivant le style dans ce fichier
*/

/*
	EXEMPLE DE SURCHARGE :
	RQ: Remplacer les '//' par les blocs de commentaire propre au CSS
========================================
	
// Couleur de la box 'Avis Global'
.list-avis .header .block-infos {
	background-color: #655a4c !important;
}

// Couleur des séparateurs d'avis dans la liste d'avis
.list-avis .avis .separate-block hr {
	border-top: 1px solid #dfdfd0 !important;
}


// Couleur de la box 'Avis Global'
.list-avis .header .block-infos {
	background-color: #655a4c !important;
}

//Couleur votre avis nous intéresse !
.list-avis .box .content h2 {
	color: #655a4c !important;
}

// Couleur des noms
.list-avis .avis h4.user {
	color: #655a4c !important; 
}

// Style bouton
.list-avis .box .content input[type="submit"], .list-avis #avisCancel {
	padding: 6px 20px !important;
    background: #AFA38E !important;
    border: 1px solid #9B997F !important;
    color: white !important;
    font-size: 14px !important;
}

// Custom Fonts

// Titre
.list-avis .box .content h1, .list-avis .box .content h2, 
.list-avis .box .content h3, .list-avis .box .content h4 {
	font-family: "Roboto-Condensed",arial !important;
}

// Contenu
.list-avis p {
	font-family: "Roboto-Condensed",arial !important;
}

// Posté le ...
.list-avis .avis .footer {
	font-family: "Roboto-Condensed",arial !important;
}

// Chiffre Avis global
.list-avis .header .block-infos .textRate {
	font-family: "Roboto-Condensed",arial !important;
}
*/

/*-----------------------------------------*/
/*            CSS Module Général           */
/*-----------------------------------------*/

.banniereAvis{
    content: " ";
    display: block;
    width: 100%;
    height: 250px;
    background-image: url(./img/background-user.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 250px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.module_avis {
    border-spacing: 1px;
    transform: scale(1, 1);
    overflow: hidden;
    max-height: 500px !important;
}

.module_avis .slider_image {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    filter: brightness(75%);
    top: 0;
    z-index: -1;
    border-spacing: 0;
    width: 100%;
    max-height: 500px !important;
}

.module_avis h1 {
    font-family: "Dosis ExtraLight";
    font-size: 70px;
    text-transform: uppercase;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.65);
    position: absolute;
    bottom: 0;
    color: white;
    bottom: 60px;
    text-align: center;
    width: 100%;
}

.list-avis .transition {
    margin-top: 30px;
    position: relative
}

.list-avis .transition .triangle-up {
    z-index: 11;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 20px 0 20px;
    border-color: #FFFFFF transparent transparent transparent;
    position: absolute;
    left: 0;
    right: 0;
    margin: -8px auto 0 auto
}

.list-avis .transition .triangle-down {
    z-index: 10;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 20px 0 20px;
    border-color: #8A8A7A transparent transparent transparent;
    position: absolute;
    left: 0;
    right: 0;
    margin: -6px auto 0 auto
}

.list-avis .transition hr {
    width: 20%;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: #8A8A7A !important;
}

/*-----------------------------------------*/
/*                 LISTE AVIS              */
/*-----------------------------------------*/

/*******************/
/*--   GENERAL   --*/
/*******************/

.list-avis .content {
   font-family: "Mst Black";
    color: rgb(102, 102, 102);
}

.list-avis .vertical-center {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.list-avis .box .content hr {
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: auto;
    margin-right: auto;
    height: 1px;
    border: 0;
    border-top: 1px solid rgb(238, 238, 238);
}
.list-avis .box .content h1{
	font-family: "Mst Black";
	font-weight: normal;
    color: #000000;
}
.list-avis .box .content h2,
.list-avis .box .content h3,
.list-avis .box .content h4 {
   font-family: "Mst Regular";
    font-weight: normal;
    color: #000000;
}

.list-avis .box .content h1 {
    font-size: 34px;
    text-align: center;
	text-transform: uppercase;
}

.list-avis .box .content h2 {
	width: 100%;
	font: 500 20px/25px "Mst Medium";
	color: #000000;
	padding: 0;
}

.list-avis .box .content h3 {
    font-size: 20px;
    display: inline-block;
}

.list-avis .box .content h4 {
    font-size: 16px;
}

.list-avis p {    
    margin-top: 0px;
	font: 400 14px/18px "Mst Regular";
	color:#000000;
}

.list-avis li {
    list-style: none;
}

.list-avis .form label {
    min-width: 0px;
    margin-top: 5px;
}

/* Block */
.list-avis .block {
    position: relative;
    padding-right: 60px;
    padding-left: 60px;
    margin-top: 35px;
    margin-bottom: 35px;
}

/* Block de séparation */
.list-avis .separate-block {
    position: relative;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 10px;
    padding-right: 10px;
}

.list-avis .separate-block h1 {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-right: 15px;
    padding-left: 15px;

    background-color: white;
}

.list-avis .box .content input[type="submit"],
.list-avis #avisCancel {
    cursor: pointer;
	background-color: #8CC63F;
	border: 1px solid #8CC63F;		
	border-radius: 10px;	
	display: block;
	text-align: center;
	text-decoration: none;
	max-width: 390px;
	margin: auto;
	margin-bottom: 30px;	
	padding: 8px 60px;
	font: 400 20px/24px "Mst Regular";
	color: #FFFFFF;
	transition: all .4s ease;
}

.list-avis .box .content input[type="submit"]:hover,
.list-avis #avisCancel:hover {
	text-decoration: none;
	color: white;
	background-color: #006633;
}

.list-avis .box .content input[type="submit"]:disabled {
    color: white !important;
    background-color: rgb(146, 146, 146) !important;
    cursor: initial;
}

.list-avis .truncate_avis{
	max-height: 110px;
	overflow: hidden;
	transition:all 0.3s ease-in;
}
.list-avis .truncate_avis.expanded{
	max-height: 100%;
	height:auto;
	transition:all 0.3s ease-in;
}
.list-avis .seemore_avis{
	margin-top: 10px;
	margin-bottom: 30px;
	color: #000;
	cursor: pointer;
	text-align: center;
	font-style: italic;
}
.list-avis .seemore_avis:hover{
	color:#8CC63F;
}


#content .background-avis {
    background: url(img/background.jpg) top center;
    max-width: 100%;
    height: auto;
    height: 1500px;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 0;
}


/*****************/
/*--    BOX    --*/
/*****************/

.list-avis {
    clear: both;
}

.list-avis .box {
    position: relative;
    margin: 0 auto;

    background-color: transparent;

    width: 90%;
    max-width: 1280px;
}

.list-avis .box .content {
    padding: 0px;
}


/*********************/
/*--   BOX HEADER  --*/
/*********************/

.list-avis .header {
    margin-top: 0px;
	padding-top:50px;
}
.list-avis .notif_confirmation{
	background: #8cc63f;
	color: #fff;
	text-align: center;
	padding: 14px 20px;
	margin-bottom: 30px;
	font-size:18px;
	border-radius:5px;
}

.list-avis .header .block-infos {
    position: relative;
	display: inline-block;
	background-color: #8CC63F;
	height: 220px;
	width: 220px;
	text-align: center;
	margin-right: 50px;
	border-radius: 15px;
}
.list-avis .header .block-infos .description{
	margin-top:10px;
}
.list-avis .header .block-infos h3,
.list-avis .header .block-infos .textRate {
    color: white;
}

.list-avis .header .block-infos #rate_bar_general {
    left: 0;
    right: 0;
    margin: 0 auto;
    margin-bottom: 6px;
}

.list-avis .header .block-text {
    position: relative;
    display: inline-block;
    width: calc(100% - 300px);
    height: 256px;
}

/* FORM DESCRIPTION */
.list-avis .header .block-text .form-description .text {
    margin-top: 10px;
    margin-bottom: 25px;
	font: 400 14px/18px "Mst Regular";
	color:#000000;
}

/* FORM */
.list-avis .header .block-text .form {
    display: none;
}

.list-avis .header .client-form {
    display: inline-block;
    width: 46%;
    padding-right: 4%;

}

.list-avis .header .avis-form {
    display: inline-block;
    width: 46%;
}

.list-avis .header .avis-form textarea {
    width: 100%;
    height: 52px;
}

.list-avis .header .civilitySelect {
    font-size: 14px;
    margin-bottom: 9px;
}

.list-avis .header .productSelect {
    width: 100%;
    font-size: 12px;
    margin-bottom: 5px;
}

.list-avis .header .rateSelect {
    font-size: 14px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.list-avis .header input[type="text"] {
    width: 100%;
    margin-top: 1px;
    margin-bottom: 5px;
    font-size: 16px;
    padding: 1px;
}


.list-avis .header .avis-input-form {
    display: block;
    margin-top: 15px;
    text-align: center;
}

.list-avis .header #avisCancel {
    margin-right: 15px;
}


/* RATE */
.list-avis .content .textRate {
    font-size: 20px;
}

.list-avis .content .textRate .highlighted {
    font-size: 40px;
    font-weight: bold;
}

.list-avis .content h3.highlighted {
    font-weight: bold;
}


/*********************/
/*--      LIST     --*/
/*********************/

.list-avis .content .list {
    position: relative;
    /* min-height: 500px; */
}

.list-avis .content .single-col {
    display: none;
}

.list-avis .content .left-col,
.list-avis .content .right-col {
    width: 100%;
	display: flex;
	flex-wrap: wrap;
}

/* .list-avis .content .left-col { */
    /* padding-right: 5%; */
/* } */

/* .list-avis .content .right-col { */
    /* padding-left: 5%; */
    /* vertical-align: top; */
/* } */

.list-avis .content .list .avis {
    position: relative;
    display: inline-block;   
    margin-bottom: 10px;
	width:100%;
}
.list-avis .content .list .left-col .avis{
	width: calc(33.33% - 50px);
	margin:0 auto;
	background: rgba(0, 0, 0, 0.05);
	margin-bottom: 30px;
	padding: 15px;
}

.list-avis .content #more-input {
    text-align: center;
    margin-top: -30px;
    margin-bottom: 50px;
	width: 100%;
	display: block;
	overflow: hidden;
}

/*********************/
/*--      AVIS     --*/
/*********************/

/* text user */
.list-avis .avis h4.user {
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 15px;
    color: #8CC63F;
}

/* AVIS RATE */
.list-avis .avis .rate {
    margin-top: 10px;
    position: relative;
    height: 40px;
}


.list-avis .avis .rate-text {
    font-size: 16px;
    position: relative;
    display: inline-block;
    top: 0;
    vertical-align: middle;
	color:#000000;
}

.list-avis .avis .rate-text .highlighted {
    font-size: 20px;
}

.list-avis .avis .rate-bar {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-top: -3px;
}

.list-avis .avis .image {
    margin-top: 10px;
    margin-bottom: 10px;
}

.list-avis .avis .image p {
    margin-bottom: 5px;
}

/* AVIS FOOTER*/
.list-avis .avis .footer {
    margin-top: 5px;
    /* font-weight: normal; */
    /* font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; */
    /* font-size: 16px; */
    /* color: rgb(102, 102, 102); */
	font: 400 14px/18px "Mst Regular";
	color:#000000;
}

.list-avis .avis .footer .highlighted {
    font-weight: bold;
}

.list-avis .avis .separate-block {
    position: relative;
    padding-top: 10px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
	display:none;
}

.list-avis .avis .separate-block hr {
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: auto;
    margin-right: auto;
    height: 1px;
    border: 0;
    border-top: 1px solid rgb(204, 204, 204);
}

/* Commentaire */
.list-avis .avis .comment {
    margin-top: 20px;
}

.list-avis .avis .comment .idi_content,
.list-avis .avis .comment .idi_date_posted,
.list-avis .avis .comment .idi_author {
    display: block;
}

.list-avis .avis .comment .idi_content {
    padding-left: 15%;
    text-align: justify;
	text-align: right;
	margin-top: 8px;
	margin-bottom: 8px;
}

.list-avis .avis .idi_date_posted {
    text-align: right;
	display:block;
}

.list-avis .avis .comment .idi_author {
    text-align: right;
    /* margin-bottom: 20px; */
}

/*-----------------------------------------*/
/*               BLOCK RATE                */
/*-----------------------------------------*/

/*******************/
/*--   GENERAL   --*/
/*******************/

.blockRate {
    height: auto;
    background: rgb(237, 238, 239);
    border-radius: 20px;
    padding: 5px 40px 7px 10px;
    display: block;

    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 84px;
    right: -30px;
    z-index: 9999;

    min-height: 65px;
    min-width: 140px;
    max-width: 140px;

    box-shadow: 0px 2px 3px 2px rgba(119, 119, 119, 0.3);
    -moz-box-shadow: 0px 2px 3px 2px rgba(119, 119, 119, 0.3);
    -webkit-box-shadow: 0px 2px 3px 2px rgba(119, 119, 119, 0.3);

}


/*******************/
/*--    IMAGE    --*/
/*******************/

.blockRate .image {
    float: left;
    background: url("../img/like.png") no-repeat bottom;
    width: 42px;
    height: 38px;
    margin: auto 0px;
    margin-top: 15px;
}


/*******************/
/*--   CONTENU   --*/
/*******************/

.blockRate .content {
    float: right;
   font-family: "Mst Black";
    color: rgb(102, 102, 102);
}

.blockRate .content .textRate {
    font-size: 14px;
}

.blockRate .content .textRate .highlighted {
    font-size: 24px;
    font-weight: bold;
}

.blockRate .content #rate_bar_general_block {
    margin-bottom: 2px;
}

.blockRate .content .description {
    font-size: 13px;
}

.blockRate .content .description .highlighted {
    font-weight: bold;
}


/*-----------------------------------------*/
/*                 FORM AVIS              */
/*-----------------------------------------*/

.form-avis {
    min-height: 900px;
}
.form-avis h1{
	margin-bottom:50px;
}
.form-avis form {
    padding-bottom: 70px;
}

.form-avis .form-left {
    display: inline-block;
    width: 46%;
    padding-right: 4%;
}

.form-avis .form-right {
    display: inline-block;
    width: 46%;
}

.form-avis .form-full {
    width: auto;
    margin-left: 330px;
}

.form-avis .rate {
    position: relative;
    height: 40px;
    margin-top: 20px;
    margin-bottom: 25px;
}

.form-avis .rate label {
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
}

.form-avis .rate #rate_bar_form {
    position: absolute;
    left: 75px;
    top: 50%;
    transform: translateY(-50%);
}

.form-avis .rate .rate-text {
    position: absolute;
    left: 270px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
	color:#000;
}

.form-avis .rate .rate-text .highlighted {
    font-size: 30px;
    font-weight: bold;
}

.form-avis .form-left label,
.form-avis .form-right label,
.form-avis .form-full label {
    font-size: 16px;
	font-family: 'Mst regular';
	font-weight: bold;
	color:#000000;
}

.form-avis .form-left input[type="text"],
.form-avis .form-right input[type="text"],
.form-avis .form-full input[type="text"] {
    font-size: 16px;

    margin-top: 5px !important;
    margin-bottom: 5px !important;
    padding: 5px !important;
    padding-left: 7px !important;

    border: #E1E1E1 solid 1px;
}

.form-avis .form-left select,
.form-avis .form-right select,
.form-avis .form-full select {
    font-size: 16px !important;

    margin-top: 5px !important;
    margin-bottom: 5px !important;
    padding: 5px !important;
    padding-left: 7px !important;


    border: #E1E1E1 solid 1px;
}

.form-avis .form-left textarea,
.form-avis .form-right textarea,
.form-avis .form-full textarea {
    font-size: 16px !important;

    margin-top: 5px !important;
    margin-bottom: 5px !important;
    padding: 5px !important;
    padding-left: 7px !important;


    border: #E1E1E1 solid 1px;
}

.form-avis .header .civilitySelect {
    margin-bottom: 20px !important;
}

.form-avis .form-full input[type="text"] {
    width: 100%;
    margin-top: 1px;
    margin-bottom: 5px;
}

.form-avis .form-full select {
    display: block;
}

.form-avis .form-full textarea {
    width: 100%;
    margin-top: 1px;
    margin-bottom: 5px;
    height: 170px;
    min-width: 100%;
    max-width: 100%;
    min-height: 100px;

}

.form-avis .avis-input-form {
    position: relative;
    height: 50px;
    padding-top: 25px;
    padding-bottom: 30px;
}

.form-avis #addAvis {
    position: absolute;
    right: 0px;
}

.form-avis #photo_extension {
    font-size: 12px;
}
.form-avis li{
	margin-bottom:20px;
}
.header_rate {
    position: absolute;
    top: 15px;
    right: 523px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    font-family: "Roboto-Condensed", sans-serif;
    padding: 2px 10px 3px 10px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid #AFA38E;
    color: #FFF;
    text-decoration: none;
    transition: all .4s ease;
}
.form-avis .rgpd_consent_checkbox .rgpd_checkbox label{
	font-size: 14px;
	font-weight: 600;
	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
.form-avis .info_mention.info_text{
	margin-top:30px;
}
.form-avis .datelocation{
	display:none;
}
/* .form-avis .datelocation{ */
	/* display:none; */
	/* width: 50%; */
	/* float: left; */
/* } */
/* .form-avis .datelocation.start{ */
	/* width: calc(50% - 30px); */
	/* margin-right: 30px; */
/* } */
.header_rate:hover {
    color: #FFF;
    background-color: rgba(0,0,0,0.6);
}

body.menusticky_forced .header_rate {
    display: none;
}

.header_rate:hover {
    text-decoration: none;
}

.header_rate .textRate {
    font-family: "Roboto-Condensed", sans-serif;
}

.header_rate .textRate .highlighted {
    font-size: 20px;
}

.header_rate #rate_bar_general_header {
    padding: 0 5px;
    cursor: pointer;
}


/*-----------------------------------------*/
/*           R E S P O N S I V E           */
/*-----------------------------------------*/

@media screen and (max-width: 1350px) {
    .header_rate {
        right: 563px;
    }
}

@media screen and (max-width: 1296px) {

    /* FORM */
    .list-avis .header .block-text {
        display: block;
        width: 100%;
    }


    .list-avis .header .client-form {
        display: block;
        width: 100%;

    }

    .list-avis .header .avis-form {
        display: block;
        width: 100%;
    }

    /* FORM 'form-avis' */
    .form-avis .header .block-text {
        margin-top: 30px;
    }

    .form-avis .form-full {
        margin-left: 0px;
    }
}

@media screen and (min-width: 981px) and (max-width: 1024px) {
    .header_rate {
        padding: 4px 10px 5px 10px;
    }

    .header_rate .textRate {
        display: none;
    }
    .header_rate #rate_bar_general_header{
        padding: 0 5px 0 0px;
    }
}

@media screen and (max-width: 980px) {

    /* LISTE AVIS */
    .list-avis .box {
        width: 100%;
    }

    .list-avis .block {
        padding-left: 30px;
        padding-right: 30px;
    }

    /* FORM 'form-avis' */
    .form-avis .form-full {
        padding-left: 30px;
        padding-right: 50px;
    }

    /* .list-avis .avis .comment .idi_content { */
        /* text-align: left; */
    /* } */

    .header_rate {
        top: 25px;
        right: 60px;
    }
	.list-avis .content .list .left-col .avis{
		width:calc(45% - 50px);
	}
}

@media screen and (max-width: 855px) {

    /* HEADER */
    .list-avis .box .content h1 {
        font-size: 34px;
        width: 80%;
        text-align: center;
    }

    /* LISTE AVIS */
    .list-avis .content .single-col {
        display: block;
    }

    .list-avis .content .left-col,
    .list-avis .content .right-col {
        display: none;
    }

}

@media screen and (max-width: 767px) {

    /**********************/
    /*--   BLOCK RATE   --*/
    /*********************/
    .blockRate {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        margin-top: 84px;
        right: -30px;

        min-height: 40px;
        min-width: 25px;
        max-width: 25px;
    }

    /* IMAGE */
    .blockRate .image {
        float: left;
        background: url("../img/like.png") no-repeat bottom;
        background-size: 28px 28px;
        width: 28px;
        height: 28px;
        margin: auto 0px;
        margin-top: 5px;
    }

    /* CONTENU */
    .blockRate .content {
        display: none;
    }

    .header_rate {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }

    body:not(.menusticky_forced) #header #logo {
        padding-top: 50px;
    }
	
	.list-avis .content .list .avis{
		width:calc(100%);
	}

}


@media screen and (max-width: 575px) {
    .header_rate{
        font-size: 12px;
    }
    .header_rate .textRate .highlighted{
        font-size: 12px;
    }

    body:not(.menusticky_forced) #header #logo {
        padding-top: 30px;
    }
}