﻿.CustomStarsBox {
    position: relative;
    display: table;
    margin-top: 10px;
    padding: 20px;
    width: 100%;
    box-shadow: 0 0 22px 4px #dcdcdc;
    margin-bottom: 20px;
    border-radius: 5px;
    background: #fff;
}
.RatingTit {
    font-size: 17px;
    text-align: center;
    border-left: 1px #ddd solid;
    padding: 15px;
    color: #585858;
}
.CustomStars {
    font-size: 26px;
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
    bottom: 4px;
}

.StarColorA {
    color: #e66b2e;
}

.StarColorB {
    color: #c9c9c9;
    cursor: pointer;
}
.StarColorAHoverd{
    color: #c9c9c9;
    cursor: pointer;
}
.ColorHover {
    color: #e66b2e !important;
}

span.AvarageRate {
   background: #ffffff;
    color: #000000;
    font-size: 14px;
    border-radius: 3px;
    cursor: default;
    border: 1px #ddd solid;
}

span.TotalRate {
    background: #ffffff;
    color: #000000;
    font-size: 14px;
    border-radius: 3px;
    cursor: default;
    border: 1px #ddd solid;
}
.clickrate:hover{
	cursor:pointer;
}
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 0;
}
.CustomStarsBox .tooltip {
	width: 100px;
}

    .tooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: #555;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -60px;
        opacity: 0;
        transition: opacity 0.3s;
    }

        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }
/* Popup container - can be anything you want */
.popup {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* The actual popup */
    .popup .popuptext {
        visibility: hidden;
        width: 100%;
        color: #666;
        text-align: center;
        border-radius: 6px;
        padding: 8px;
        position: absolute;
        z-index: 1;
        top: -60px;
        left: 0;
        height: 100%;
        right: 20px;
    }

.popuptext table {
    direction: rtl;
    background: #e6e6e6;
    padding: 10px;
    margin: auto;
    box-shadow: 0px 20px 15px -9px rgba(0, 0, 0, 0.16);
}
.popuptext th {
    border: 1px #ffffff solid;
    padding: 5px;
    font-size: 12px;
    text-align: center;
    color: #000;
    font-weight: normal;
        background: #e6e6e6;
    color: #8e8e8e;
}

.popuptext td {
    background: #ffffff;
    border: 1px #f1f1f1 solid;
    padding: 5px;
    text-align: center;
    font-family: tahoma;
}
/* Popup arrow */
.popup .RateInfo::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
    position: relative;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

span.ThankMs {
    background: #d2fa96;
    border-radius: 3px;
    color: #6b8e2e;
    padding: 7px 8px !important;
}

.CustomStars .tooltip {
    position: absolute;
}

.LoadingRating {
    width: 100%;
    position: absolute;
    text-align: center;
    top: -15px;
}

    .LoadingRating img {
        width: 80px;
    }

.CustomStarsBox span {
    padding: 5px 8px;
    margin: 0 4px;
    float: right;
}
.Displaynone{
	display:none;
}
.popuptext {
    float: right;
}
.popuptext.show {
    float: none;
}
@media (max-width: 768px){
.CustomStars {
    font-size: 22px;
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
    bottom: 0px;
}
span.TotalRate, span.AvarageRate {
    font-size: 14px;
}
.RatingTit {
    border-left: 0;
}

}


.ItemRated {
    cursor: default !important;
}
.ItemRated.StarColorB.ColorHover {
    color:gold !important;
}



.clickrate {
    font-size: 19px;
}

.RatingDiv {
    display: inline-block;
    width: 100%;
    border-top: 1px #ddd solid;
    border-bottom: 1px #ddd solid;
    background: #eaeaea;
        margin-top: 30px;
}
@media (max-width:767px) { 
	.CustomStarsBox {
		margin:auto;	
	}
	.RatingDiv .col-sm-6:last-child { 
		    margin-bottom: 20px;
	}
	.RatingTit {
	    padding: 4px;
	}
}

@media (min-width: 1100px){
	.RatingDiv .col-sm-6:first-child {
	    width: 25%; 
	}
	.RatingDiv .col-sm-6:last-child { 
	    width: 75%;
	}
	.RatingDiv .col-sm-6{ 
		margin-top:0; 	
	}
}






.EnSite .CustomStarsBox span{
	    float: left;
}