/*
Plugin Name: TWB Woocommerce Reviews
Plugin URI: http://theweb-designs.com
Version: 1.6
*/

/* -------- reviews -------- */
.woocommerce #reviews #comments h2{
  text-align:center;
  font-size: 16px;
  background-image: url(/wp-content/themes/xcel/images/ss_titre_noir.png);
    background-position: center 28px;
    padding-bottom: 34px;
    background-repeat: no-repeat;
}

p.woocommerce-noreviews {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 25px;
    border: 1px solid #dcdcdc;
}

div#comments {
    margin-top: -20px;
    padding: 30px;
}

#reviews{
background-image: url(/wp-content/themes/xcel/images/cadrillage.jpg);
z-index:9999;
position: relative;  }

.twb_wc_reviews_slide_wrap {

    width: 625px;
    margin: 0 auto;
}


.twb_wc_reviews {
    width: 665px;
    margin: 0 auto!important;
    text-align: center;
    display: block;
    margin-right:auto!important;
    border:1px solid #dcdcdc;
    box-shadow: none !important;
}

.twb_wc_reviews_wrapper .twb_wc_reviews{

    margin-bottom: 20px!important;
}

.twb_wc_reviews > div:first-child {
    border:1px solid #dcdcdc;
}

.twb_wc_reviews_product_thumb{display:none;}
.twb_wc_reviews_wrapper {
	width: 100%;
	height: auto;
	position: relative;
}
.twb_wc_reviews_wrapper:before, .twb_wc_reviews_wrapper:after {
	display: block;
	content: "";
	clear: both;
	position: relative;
}
.twb_wc_reviews_wrapper .twb_wc_reviews_slide_wrap {
}
.twb_wc_reviews_wrapper .twb_wc_reviews {
	display: block;
	padding: 15px;
	border: none;
	color: #fff;
	list-style: none;
	text-align: center;

	}

.star-rating {
    border: none!important;
}
.twb_wc_reviews_wrapper .twb_wc_reviews a {
	color: #fff;
	text-decoration: none;
}
.twb_wc_reviews_wrapper .twb_wc_reviews a:visited {
	outline: none;
	border: none;
	color: inherit;
}

.twb_wc_reviews .twb_wc_reviews_product_thumb {
}

.twb_wc_reviews .twb_wc_reviews_product_thumb img {
	display:inline-block;
	padding-top:10px;
	border:0;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	border-radius: 0;
}

.twb_wc_reviews h3.twb_wc_reviews_product_title {
	font-size:18px;
	font-weight: bold;
	line-height: 30px;
	margin-top:7px;
	margin-bottom:25px;
}

.twb_wc_reviews_wrapper .twb_wc_reviews p:hover, .twb_wc_reviews_wrapper .twb_wc_reviews p:focus {
	color: #fff;
	outline: none;
	border: none;
}
.twb_wc_reviews_wrapper .twb_wc_reviews:hover, .twb_wc_reviews_wrapper .twb_wc_reviews:focus, .twb_wc_reviews_wrapper .twb_wc_reviews a:hover, .twb_wc_reviews_wrapper .twb_wc_reviews a:focus {
	border: 0;
	outline: 0;
	text-decoration: none;
}
.twb_wc_reviews .twb_wc_reviews_ct {
	width: 85%;
	margin: 25px auto;
}
.twb_wc_reviews .twb_wc_reviews_ct p {
	font-size: 14px;
	font-weight: 400;
}
.twb_wc_reviews .twb_wc_reviews_avatar img {
	display: inline-block !important;
	padding: 0;

	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	-ms-border-radius: 100%;
	-0-border-radius: 100%;
	border-radius: 100%;
	box-shadow: none;

	border: 0;
	outline: 0;
	margin-top: 10px;
	margin-bottom: 10px;
}
.twb_wc_reviews_ratings_wrap {
	text-align: center;
}
.twb_wc_reviews .twb_wc_reviews_ratings_wrap .star-rating {
	font-size: 17px;
	color: #fff;
	float: none;
	margin: 10px auto;
}
.twb_wc_reviews .twb_wc_reviews_ratings_wrap .star-rating:before {
	color: #fff;
}

div#review_form_wrapper{
	/*display:none;*/
	max-width: 700px;
    margin: auto;
}
#review_form_wrapper p.stars {
    text-align: center;
    padding-bottom: 9px;
}
#review_form_wrapper .comment-form-rating > label{
	display: none;
}
#review_form_wrapper p.stars a {
    width: 1.5em;
    font-size: 1.2em;
    color: #dbaa46;
}
#review_form_wrapper #comment {
    resize: vertical;
}
#review_form_wrapper .form-submit{
    text-align: center;
}

 .comment-form-author  label,
 .comment-form-email label,
 .acf-field .acf-label label,
 .comment-form-comment label{
     display: block;
    color: #444;
    font-family: 'Playfair Display';
    text-transform: capitalize;

 }

#review_form_wrapper .form-submit #submit {
    background-color: #dbaa46 !important;
    border: 1px solid #dbaa46 !important;
    padding: 10px 27px !important;
    font-weight: 400 !important;
    color: white;
    font-size: 13px;
    font-family: 'Playfair Display';
}
#review_form_wrapper .form-submit #submit:hover {
    padding: 10px 27px !important;
    font-size: 13px !important;
}

.woocommerce #review_form #respond .form-submit input, .woocommerce-page #review_form #respond .form-submit input{text-transform:capitalize!important;}

.twb_wcr_author {
	display: block;
	font-size: 18px;
	padding: 0;
}

.twb_wcr_date {
	display: block;
	font-size: 12px;
	padding: 0;
}
.twb_wcr_date {
	padding-bottom: 25px;
}
/*Default Slider*/
.twb_wcr_prev_arrow, .twb_wcr_next_arrow {
	display: none !important;
	font-size: 0;
	line-height: 0;
	position: absolute;
	top: 50%;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	padding: 0;
	cursor: pointer;
	color: rgba(0, 0, 0, 0);
	border: none;
	outline: none;
	background-color:#fff;
	z-index: 999;
	text-align: center;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-mz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

.twb_wcr_prev_arrow {
	left: 0;
 	animation-name: slide-in-left;
	animation-duration: 0.2s;
	animation-timing-function: ease-in;
	animation-delay: 0;
	animation-direction: normal;
	animation-iteration-count: 1;
	animation-fill-mode: none;
	animation-play-state: running;
}
.twb_wcr_next_arrow {
	right: 0;
	animation-name: slide-in-right;
	animation-duration: 0.2s;
	animation-timing-function: ease-in;
	animation-delay: 0;
	animation-direction: normal;
	animation-iteration-count: 1;
	animation-fill-mode: none;
	animation-play-state: running;
}

@keyframes slide-in-left {
 0% {
 transform: translateX(3px);
}
 100% {
 transform: translateX(0%);
}
}
@keyframes slide-in-right {
 0% {
 transform: translateX(-3px);
}
 100% {
 transform: translateX(0%);
}
}
.twb_wcr_prev_arrow:before, .twb_wcr_next_arrow:before {
	content: "<";
	font-size: 20px;
	line-height: 1.5;
	opacity: 1;
	color: #000;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.twb_wcr_next_arrow:before {
	content: ">";
}

.twb_wc_reviews_slide:hover > .twb_wcr_prev_arrow, .twb_wc_reviews_slide:hover > .twb_wcr_next_arrow {
	display: block !important;
}
.twb_wcr_prev_arrow:hover, .twb_wcr_prev_arrow:focus, .twb_wcr_next_arrow:hover, .twb_wcr_next_arrow:focus {
	background-color:#fff ;
}
.twb_wc_reviews_wrapper:hover>.twb_wcr_prev_arrow, .twb_wc_reviews_wrapper:hover>.twb_wcr_next_arrow {
	display: inline-block;
}


.cache{
	display: none;
}

.woocommerce #review_form #respond .comment-form-rating
{
    margin-bottom: 70px;
}

.woocommerce #review_form #respond .acf-field.acf-field-radio
{
    display: none;
    margin-top: 100px;
}
.woocommerce #review_form #respond .acf-field.acf-field-text
{
    margin-top: -195px;
    margin-bottom: 120px;
}

.review_title h5 {
    font-size: 28px;
    margin: .55em auto;
    line-height: 32px;
    font-family: 'Open Sans', sans-serif;
    padding-top: 15px;
    padding-bottom: 30px;
}

.comment-form-comment label .required
{
    color : #f00;
}
.comment-form-comment label {
    /* font-weight: bold; */
    width: 100%;
    display: block;

}