<?php defined('ABSPATH') or die("No script kiddies please!");?>
<?php if($font_family != $desc_font_family){
if($font_family != ''){
if($font_family !="default"){ ?>
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=<?php echo $font_family;?>' type='text/css' media='all' /> 
<?php } 
}
if($desc_font_family !=""){ 
if($desc_font_family !="default"){ ?>
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=<?php echo $desc_font_family;?>' type='text/css' media='all' /> 
 <?php }
}
}else{
	 if($font_family !="default"){ 
?>
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=<?php echo $font_family;?>' type='text/css' media='all' /> 
<?php 
}
}
?>
<?php 
if($rbutton_font_family != ''){
if($rbutton_font_family != 'default'){ ?>
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=<?php echo $rbutton_font_family;?>' type='text/css' media='all' /> 
<?php  }
} ?>
<?php 
if($viewbutton_font_family != ''){
if($viewbutton_font_family != 'default'){ ?>
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=<?php echo $viewbutton_font_family;?>' type='text/css' media='all' /> 
<?php  }
} ?>
<style>
<?php if($reviewer_fcolor != '' || $reviewer_fsize != ''){?>
#egpr-reviews-outer-wrap-<?php echo $random_num;?> .egpr-reviewer-name a{
	<?php if($reviewer_fcolor != '') { ?>color: <?php echo $reviewer_fcolor;?>; <?php } ?>
	<?php if($reviewer_fsize != '') { ?>font-size: <?php echo $reviewer_fsize;?>px; <?php } ?>
}
<?php } ?><?php if($font_family != '' && $font_family != 'default'){ ?>#egpr-reviews-outer-wrap-<?php echo $random_num;?> .egpr-reviewer-name a{font-family: <?php echo $font_family;?>; }
<?php  } ?><?php if($reviewer_fhcolor != ''){?>#egpr-reviews-outer-wrap-<?php echo $random_num;?> .egpr-reviewer-name a:hover{color: <?php echo $reviewer_fhcolor;?>}<?php } ?><?php if($desc_size != '' || $desc_fcolor != ''){?>#egpr-reviews-outer-wrap-<?php echo $random_num;?> .egpr-content-reviews-wrapper{<?php if($desc_size != '') { ?>font-size: <?php echo $desc_size;?>px; <?php } ?><?php if($desc_fcolor != '') { ?>color: <?php echo $desc_fcolor;?>; <?php } ?>}<?php } ?><?php if($desc_font_family != '' && $desc_font_family !="default"){ ?>#egpr-reviews-outer-wrap-<?php echo $random_num;?> .egpr-content-reviews-wrapper{font-family: <?php echo $desc_font_family;?>; }<?php  } ?><?php if($date_fcolor != ''){?>#egpr-reviews-outer-wrap-<?php echo $random_num;?> .egpr-rated-time{color: <?php echo $date_fcolor;?>}<?php } ?><?php if($rating_color != ''){?>#egpr-reviews-outer-wrap-<?php echo $random_num;?> .egpr-google-reviews-wrap .egpr-star-icon{color: <?php echo $rating_color;?>}<?php } ?><?php if($button_hcolor != ''){?>#egpr-reviews-outer-wrap-<?php echo $random_num;?> .egpr-readtxt:hover{<?php if($button_hcolor != '') { ?>color: <?php echo $button_hcolor;?>; <?php } ?>}<?php } ?><?php if($button_color != '' || $button_fsize != ''){?>#egpr-reviews-outer-wrap-<?php echo $random_num;?> .egpr-readtxt{<?php if($button_color != '') { ?>color: <?php echo $button_color;?>;<?php } ?><?php if($button_fsize != '') { ?>font-size: <?php echo $button_fsize;?>px; <?php } ?>}<?php } ?><?php if( $choose_template != "template5" && $choose_template != "template3" ){ ?><?php if($button_bg_color != '' || $button_border_color != ''){?>#egpr-reviews-outer-wrap-<?php echo $random_num;?> .egpr-rateus-button-wrap a{<?php if($button_bg_color != '') { ?>background-color: <?php echo $button_bg_color;?>; <?php } ?><?php if($button_border_color != '') { ?>border: 1px solid <?php echo $button_border_color;?>; <?php } ?> }<?php } ?><?php if($button_bg_hcolor != '' || $button_border_hcolor != ''){?>#egpr-reviews-outer-wrap-<?php echo $random_num;?> .egpr-rateus-button-wrap a:hover{<?php if($button_bg_hcolor != '') { ?>background-color: <?php echo $button_bg_hcolor;?>; <?php } ?><?php if($button_border_hcolor != '') { ?>border:1px solid <?php echo $button_border_hcolor;?>; <?php } ?>}<?php } ?>#egpr-reviews-outer-wrap-<?php echo $random_num;?> .egpr-rateus-button-wrap a.egpr-viewall-button{<?php if($viewbutton_border_color != '') { ?>border:1px solid <?php echo $viewbutton_border_color;?>; <?php } ?><?php if($viewall_button_bg_color != '') { ?>background-color:<?php echo $viewall_button_bg_color;?>; <?php }?>
    }#egpr-reviews-outer-wrap-<?php echo $random_num;?> .egpr-rateus-button-wrap a.egpr-viewall-button:hover{<?php if($viewbutton_border_hcolor != '') { ?>border:1px solid <?php echo $viewbutton_border_hcolor;?>;<?php } ?><?php if($viewall_button_bg_hcolor != '') { ?>background-color:<?php echo $viewall_button_bg_hcolor;?>; <?php } ?> 
    }<?php }?>#egpr-reviews-outer-wrap-<?php echo $random_num;?> .egpr-rateus-button-wrap a.egpr-viewall-button{<?php if($viewall_font_size != '') { ?>font-size: <?php echo $viewall_font_size;?>px; <?php } ?> <?php if($viewall_text_fcolor != '') { ?>color: <?php echo $viewall_text_fcolor;?>; <?php } ?><?php if($viewbutton_font_family != '') { ?>font-family:<?php echo $viewbutton_font_family;?>; <?php } ?>
    } #egpr-reviews-outer-wrap-<?php echo $random_num;?> .egpr-rateus-button-wrap a.egpr-viewall-button:hover{<?php if($viewall_text_fhcolor != '') { ?>color: <?php echo $viewall_text_fhcolor;?>;<?php } ?>}#egpr-reviews-outer-wrap-<?php echo $random_num;?> .egpr-review-template5 .egpr-rateus-button-wrap a:before{<?php if($button_bg_color != '') { ?>background-color: <?php echo $button_bg_color;?>; <?php } ?>}<?php if($text_fcolor != '' || $text_font_size != ''){?>#egpr-reviews-outer-wrap-<?php echo $random_num;?> .egpr-rateus-button-wrap a{ text-decoration: none;<?php if($text_fcolor != '') { ?>color: <?php echo $text_fcolor;?>; <?php } ?><?php if($text_font_size != '') { ?>font-size: <?php echo $text_font_size;?>px; <?php } ?>}<?php } ?><?php if($text_fhcolor != ''){?>#egpr-reviews-outer-wrap-<?php echo $random_num;?> .egpr-rateus-button-wrap a:hover{<?php if($text_fhcolor != '') { ?>color: <?php echo $text_fhcolor;?>;<?php } ?>}<?php } ?><?php if($rbutton_font_family != '' && $rbutton_font_family != 'default'){ ?>#egpr-reviews-outer-wrap-<?php echo $random_num;?> .egpr-rateus-button-wrap a{font-family: <?php echo $rbutton_font_family;?>; }<?php  } ?><?php if($dot_color != ''){ ?>#egpr-reviews-outer-wrap-<?php echo $random_num;?>.egpr-reviews-main-wrapper.egpr-pager-dot-type a.bx-pager-link{background: <?php echo $dot_color;?>;border-color: <?php echo $dot_color;?>;}<?php } ?><?php if($dot_active_color != ''){ ?> #egpr-reviews-outer-wrap-<?php echo $random_num;?>.egpr-reviews-main-wrapper.egpr-pager-dot-type a.bx-pager-link.active,#egpr-reviews-outer-wrap-<?php echo $random_num;?>.egpr-reviews-main-wrapper.egpr-pager-dot-type a.bx-pager-link:focus,#egpr-reviews-outer-wrap-<?php echo $random_num;?>.egpr-reviews-main-wrapper.egpr-pager-dot-type a.bx-pager-link:hover{background: <?php echo $dot_active_color;?>;border-color: <?php echo $dot_active_color;?>;}<?php } ?><?php if($pager_active_color != ''){ ?>#egpr-reviews-outer-wrap-<?php echo $random_num;?>.egpr-reviews-main-wrapper.egpr-show-pagination .egpr-google-reviews-wrap .bx-wrapper .bx-pager.bx-default-pager a:before{background: <?php echo $pager_active_color;?>;}<?php } ?><?php if($arrow_bgcolor != '' || $arrow_color != ''){ ?>#egpr-reviews-outer-wrap-<?php echo $random_num;?>.egpr-reviews-main-wrapper.egpr-arrow-text-type .egpr-google-reviews-wrap .bx-wrapper .bx-controls-direction a,#egpr-reviews-outer-wrap-<?php echo $random_num;?>.egpr-reviews-main-wrapper.egpr-control-text-type .egpr-google-reviews-wrap .bx-wrapper .bx-controls-direction a{background: <?php echo $arrow_bgcolor;?>;color: <?php echo $arrow_color;?>;}<?php } ?><?php if($arrow_bghcolor != '' || $arrow_hcolor != ''){ ?>#egpr-reviews-outer-wrap-<?php echo $random_num;?>.egpr-reviews-main-wrapper.egpr-arrow-text-type .egpr-google-reviews-wrap .bx-wrapper .bx-controls-direction a:hover,#egpr-reviews-outer-wrap-<?php echo $random_num;?>.egpr-reviews-main-wrapper.egpr-control-text-type .egpr-google-reviews-wrap .bx-wrapper .bx-controls-direction a:hover{background: <?php echo $arrow_bghcolor;?>;color: <?php echo $arrow_hcolor;?>;}<?php } ?></style>

