/**
	GENERAL
*/

.djrv_clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.djrv_clearfix {
	min-width: 0;
	display: inline-block; /* \*/
	display: block;
} /* trigger hasLayout for IE7. Hide from IE Mac */
* html .djrv_clearfix {
	height: 1%;
} /* Hide from IE Mac */

/**
 * Preven modals from covering tooltips
 */
.tip-wrap {
	z-index: 2000 !important;
}




/**
  * Bootstap modals
  */

.djrv_modal-backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1040;
	background-color: #000;
}
.djrv_modal-backdrop.fade {
	opacity: 0;
}
.djrv_modal-backdrop,
.djrv_modal-backdrop.fade.in {
	opacity: 0.8;
	filter: alpha(opacity=80);
}
.djrv_modal.modal {
	position: fixed;
	top: 10%;
	left: 50%;
	z-index: 1050;
	width: 560px;
	margin-left: -280px;
	margin-top: 0;
	display: block;
	background: #fff;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
}
.djrv_modal-header {
    padding: 10px 15px 0px;
    border-radius: 5px 5px 0 0;
}
.djrv_modal-header h3 {
	margin: 0;
	line-height: 30px;
	font-size: 22px;
	font-weight: 400;
}
.djrv_modal-body {
    width: 100%;
    position: relative;
    max-height: 400px;
    padding: 0 15px;
    overflow-x: hidden;
    overflow-y: auto;
}
.djrv_modal-form {
	margin-bottom: 0;
}
.djrv_close_form_button {
    cursor: pointer;
    background: transparent;
    width: 20px;
    height: 20px;
    background-image: url(../images/close.png);
    background-repeat: no-repeat;
    margin: 0;
    position: absolute;
    top: 14px;
    right: 15px;
    font-size: 18px;
    border:none;
}
.djrv_close_form_button:hover,
.djrv_close_form_button:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
	opacity: 1;
}
.djrv_modal-form fieldset {
    padding: 0;
    border:none;
}
.djrv_modal input[type="text"]{
    width: 275px;
    display: block;
    border: none;
    border: 1px solid #e3e3e3;
    font-size: 18px;
    line-height: 21px;
    color: #5B6167;
    outline: none;
    margin-bottom: 15px;
    width: 100%;
    padding: 11px 13px;
    box-sizing: border-box;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
}
.djrv_modal button.btn-success {
  background: #3174AF;
  box-shadow: 0px 4px 20px rgba(90, 82, 3, 0.15);
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  border-radius: 5px;
  padding: 16px 37px;
  outline: none;
  border:none;
  font-size: 18px;
  line-height: 21px;
  text-align: center;
  color: #FFFFFF;
}
.djrv_close_form_button {
    
}

#djrv_msg-1 {
    margin: 15px 0 0;
    font-size: 16px;
}
#djrv_msg-1 .alert {
    color:#cd1e1e;
}
#djrv_msg-1 .success {
    color:#259f0f;
}


@media (max-width: 767px) {
	.djreviews div.modal {
		position: fixed;
		top: 20px;
		left: 20px;
		right: 20px;
		width: auto;
		margin: 0;
	}
	.djreviews div.modal.fade {
		top: -100px;
	}
	.djreviews div.modal.fade.in {
		top: 20px;
	}
}
@media (max-width: 480px) {
	.djreviews div.modal {
		top: 10px;
		left: 10px;
		right: 10px;
	}
}
 
/**
  * Component styling
  */

.djrv_rating {
	/*height: 24px;*/
	line-height: 24px !important;
	margin: 0.5em 0;
}
.djrv_rating.xsmall {
	line-height: 12px !important;
	/*height: 12px;*/
}
.djrv_rating.small {
	line-height: 16px !important;
	/*height: 16px;*/
}
.djrv_rating.medium {
	line-height: 20px !important;
	/*height: 20px;*/
}

.djrv_rating,
.djrv_rating.xsmall,
.djrv_rating.small,
.djrv_rating.medium {
	margin: 0.5em 0;
}

.djrv_rating .djrv_star {
	display: inline-block;
	width: 24px;
	height: 24px;	
	background: url('../images/stars.png') repeat-x 0 0;
	background-size: 100% auto !important;
	float: left;
}

.djrv_rating.xsmall .djrv_star {
	width: 12px;
	height: 12px;
}
.djrv_rating.small .djrv_star {
	width: 16px;
	height: 16px;
}
.djrv_rating.medium .djrv_star {
	width: 20px;
	height: 20px;
}

.djrv_stars {
    display: block;
    white-space: nowrap;
    min-width: 120px;
}

.djrv_rating.xsmall .djrv_stars{
	min-width: 60px;
}

.djrv_rating.small .djrv_stars{
	min-width: 80px;
}

.djrv_rating.medium .djrv_stars {
	min-width: 100px;
}

.djrv_rating .djrv_star.active {
	background: url('../images/stars.png') repeat-x 0 -24px;
}
.djrv_rating.xsmall .djrv_star.active {
	background: url('../images/stars.png') repeat-x 0 -12px;
}
.djrv_rating.small .djrv_star.active {
	background: url('../images/stars.png') repeat-x 0 -16px;
}
.djrv_rating.medium .djrv_star.active {
	background: url('../images/stars.png') repeat-x 0 -20px;
}

.djrv_rating .djrv_avg {
	padding-left: 10px !important;
	margin: 0 !important;
	display: none;
}

/** SPRITE PERCENTAGE STARS **/

.djrv_rating .djrv_stars_sprite {
	background: url('../images/stars.png') repeat-x 0 0;
	width: 120px;
	height: 24px;
	overflow: hidden;
	line-height: 1;
	margin: 0 auto;
	display: inline-block;
	position: relative;
	background-size: 24px auto;
	
	line-height: 0;
  	overflow: hidden;
  	text-indent: -999em;
  	vertical-align: middle;
}

.djrv_rating .djrv_stars_sprite .djrv_stars_sprite_rating {
	background: url('../images/stars.png') repeat-x 0 -24px;
	float: left;
	height: 100%;
	display: inline-block;
	background-size: 24px auto;
	vertical-align: middle;
	filter: hue-rotate(331deg);
}

.djrv_rating.xsmall .djrv_stars_sprite {
	height: 12px;
	width: 60px;
	background-size: 12px auto !important;
}

.djrv_rating.xsmall .djrv_stars_sprite .djrv_stars_sprite_rating {
	background: url('../images/stars.png') repeat-x 0 -12px;
	background-size: 12px auto !important;
}

.djrv_rating.small .djrv_stars_sprite {
	height: 16px;
	width: 80px;
	background-size: 16px auto !important;
}

.djrv_rating.small .djrv_stars_sprite .djrv_stars_sprite_rating {
	background: url('../images/stars.png') repeat-x 0 -16px;
	background-size: 16px auto !important;
}

.djrv_rating.medium .djrv_stars_sprite {
	height: 20px;
	width: 100px;
	background-size: 20px auto !important;
}

.djrv_rating.medium .djrv_stars_sprite .djrv_stars_sprite_rating {
	background: url('../images/stars.png') repeat-x 0 -20px;
	background-size: 20px auto !important;
}

/** SPRITE PERCENTAGE STARS - END **/

/**
	REVIEW FORM
*/

form.djrv_review_form {
	margin: 1em 0;
}

form.djrv_review_form .djrv_rating_fields fieldset {
	margin: 0.5em 0;
	padding-top: 0;
	padding-bottom: 0;
}

form.djrv_review_form .djrv_rating_fields .djrv_field_rating {
	display: inline-block;
	position: relative;
	height: 24px;
	background: url('../images/stars.png') repeat-x 0 0;
	vertical-align: bottom;
}

form.djrv_review_form .djrv_rating_fields .djrv_field_rating div {
	float: left;
	position: relative;
	height: 24px;
}

form.djrv_review_form .djrv_rating_fields .djrv_field_rating input {
	position: relative;
	z-index: 1;
	width: 24px !important;
	height: 24px !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0;
	float: none !important;
}

form.djrv_review_form .djrv_rating_fields .djrv_field_rating label {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 24px;
	float: none  !important;
}

form.djrv_review_form .djrv_rating_fields .djrv_field_rating span {
	display: none;
}

form.djrv_review_form .djrv_rating_fields .djrv_field_rating input:checked+label,
form.djrv_review_form .djrv_rating_fields .djrv_field_rating:hover input:checked:hover+label
	{
	background: url('../images/stars.png') repeat-x 0 -24px;
}

form.djrv_review_form .djrv_rating_fields .djrv_field_rating:hover input:checked+label {
	background: transparent;
}

form.djrv_review_form .djrv_rating_fields .djrv_field_rating:hover input:hover+label {
	background: url('../images/stars.png') repeat-x 0 -48px;
}

form.djrv_review_form #jform_message {
display: block;
    border: none;
    border: 1px solid #e3e3e3;
    font-size: 18px;
    line-height: 21px;
    color: #5B6167;
    /* padding-bottom: 20px; */
    outline: none;
    margin-bottom: 26px;
    width: 100%;
    padding: 11px 13px;
    box-sizing: border-box;
    height: 96px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
}

/**
	REVIEW LISTING
*/

.djrv_reviews_list {
	margin: 1em 0;
}

.djrv_listing {
	margin: 0.5em 0;
}

.djrv_single_review {
}

.djrv_single_review .djrv_poster,
.djrv_single_review .djrv_review_date {
    color:#a19e9e;
}
.djrv_single_review .djrv_user_rating {
	float: left;
	margin: 0;
}

.djrv_single_review h4 {
	margin: 0 0 1em 0;
}

.djrv_single_review blockquote {
	margin: 0 0 1em 0;
}

.djrv_message_quote {
    padding: 10px 0 0;
    clear: both;
}

.djrv_review_toolbar {
	text-align: right;
}

/**
	RATING
	*/

.djrv_rating_full {
	margin: 1em 0;
}

/** comments **/

.djrv_comments {
	clear: both;
	border-top: 1px solid #e9e9e9;
	margin-top: 30px;
	padding-top: 30px;
	padding-left: 30px;
}

.djrv_comment {
	border-top: 1px solid #e9e9e9;
	margin-top: 15px;
	padding-top: 15px;
}

.djrv_comment:first-child {
	border: 0;
	margin-top: 0;
	padding-top: 0;
}

.djrv_single_review {
    border-bottom:1px solid #E3E3E3;
    padding: 10px 0 0;
    margin: 0 0 10px;
}
.djrv_single_review:last-child {
    border:none;
}

.djrv_post_info {
    float:right;
}

.djrv_reviews_list h3 {
    margin-bottom: 0;
}

.djrv_add_button {
    background: #3174AF;
    box-shadow: 0px 4px 20px rgba(90, 82, 3, 0.15);
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
    padding: 16px 37px;
    outline: none;
    border: none;
    font-size: 18px;
    line-height: 21px;
    text-align: center;
    color: #FFFFFF;
    cursor: pointer;
}

.pagination {

}

.pagination-centered {
	text-align: center;
}
.pagination-right {
	text-align: right;
}


ul.pagination  {
  display: flex;
  justify-content: space-between;
  max-width: 570px;
  margin:auto;
  padding-top: 15px;
}
.pagination ul > li {
  width:50px;
  height: 50px;
  font-size: 18px;
  line-height: 140%;
  color: #3174AF;
  text-align: center;
  border-radius:100%;
  align-items:center;
  overflow: hidden;
}
.pagination ul > .active > a,
.pagination ul > .active > span {
  color:#fff;
  background: #3174AF;
}
.pagination ul > .active:first-child > a,
.pagination ul > .active:first-child > span,
.pagination ul > .active:last-child > a,
.pagination ul > .active:last-child > span{
    background: transparent;
    color: #3174AF;
}


.pagination ul > li > a,
.pagination ul > li > span {
  color:inherit;
  padding: 13px 10px;
  display: block;
}
.pagination ul > li > a:hover,
.pagination ul > li > a:focus {
    color: #000;
}
