/**
* @Description: product - reivews style
* @Date: 2021/05/27
* @Author: zhangh
* @LastEditTime: 2021/05/27
* @LastEditors:zhangh
*/

/* dialog */
body{
    overflow: visible;
}
.base-version-switching.blue .version-switching-icon.active, .base-version-switching.blue .version-switching-icon:hover{
    color: #207cfb;
}
.dialog{
    position: fixed;
    width: 100%;
    height: 100%;
    top:0;
    left: 0;
    z-index: 9;
    display: none;
}
.dialog::before{
    content: "";
    display: block;
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}
.dialog-cont{
    max-width: 500px;
    height: 240px;
    background-color: #fff;
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 30%);
    border-radius: 4px;
    border: solid 1px #e6e6e6;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 20px 20px 35px 20px;
    z-index: 2;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 90%;
}
.dialog-close{
    background: url(https://static.imyfone.com/en/images/guide/close_icon.svg) no-repeat;
    width: 16px;
    height: 16px;
    align-self: flex-end;
    border: 0;
}
.dialog-msg{
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
    color: #2e2e2e;
    font-style: normal;
}
.dialog-tip{
    width: 60px;
    height: 60px;
}
.dialog-tip.success{
    background: url(//images.imyfone.com/en/Images/product/guide/success_icon.svg) no-repeat;
    display: block;
}
.dialog-tip.warning{
    background: url(//images.imyfone.com/en/Images/product/guide/tips_icon.svg) no-repeat;
    display: block;
}
.dialog-ok{
    background-color: #207cfb;
    border-radius: 4px;
    width: 120px;
    height: 40px;
    border: 0;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
}
.dialog-ok:hover{
    background-color: #0053ff;
}
.content-box{
    max-width: 1100px;
    margin:0 auto;
}
.content-box #content{
    justify-content: space-between;
    margin-top: 52px;
}
.content-right{
    max-width: 780px;
    width: 100%;
}
.content-right h2{
    font-size: 32px;
    margin-bottom: 30px;
}
.review-list{
    margin: 30px 0;
    border-bottom: 1px solid #ededed;
}

.review-list li{
    display: flex;
    padding: 30px 0;
    border-top: 1px solid #ededed;
}
.review-star{
	font-size:0;
	width: 100px;
	margin-right: 30px;
	flex-shrink: 0;
}
.review-star svg{
    width: 20px;
    height: 20px;
}
.review-box .name{display: flex;justify-content: space-between;}
.review-box .name:first-child{
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1;
}
.review-back{
	margin-top:30px;
	padding-left:23px;
	border-left:2px solid #e0e0e0;
}
.review-back .name{
	font-size: 16px !important;
}
.review-box .name .time{
    color: #999;
    font-weight: normal;
    font-size: 16px;
    min-width: 85px;
}
.review-txt{
    flex:1;
    max-width: 100%;
    word-break: break-word;
}
.overall-score{
    display: none;
}
.left-top{
    width: 260px;
    /* height: 481px; */
    background-color: #fff;
    border-radius: 10px;
    border: solid 2px #ededed;
    padding: 30px 20px;
    text-align: center;
}
.left-bottom{
    width: 260px;
    /* height: 254px; */
    background-color: #fff;
    border-radius: 10px;
    border: solid 2px #ededed;
    margin-top: 30px;
    text-align: center;
    padding: 30px;
    position: sticky;
    top: 70px;
}
.prod-title{
    margin:15px 0;
    text-align: center;
    font-weight: bold;
}
.left-bottom .product-button, .left-bottom .product-button .button{
	min-width:200px;
}
 .left-bottom .product-button .button{
 	min-height:40px;
 	line-height: 40px;
 }
  .left-bottom .product-button:first-child{
  	margin:0 0 20px 0;
  }
  .left-bottom .product-button svg{
  	width:20px;
  	height:20px;
  }
.left-bottom .prod-icon img{
    width: 64px;
    height: 64px;
}
.left-star{
    text-align: center;
    font-size: 0;
}

.left-star+p{
	margin:30px 0;
}
.left-star+p span{
	color:#207cfb;
}
.left-tags{
	text-align:left;
}
.left-tags li{
	font-size:14px;
	font-weight:bold;
	color:#207cfb;
	background-color: #e8f2ff;
	border: solid 1px #d2e5fe;
	padding:7px 10px;
	display:inline-block;
	margin-bottom:10px;
}
.left-star svg{
    width: 24px;
    height: 24px;
    margin: 0 3px;
}
.content-left{
    width: 260px;
    position: relative;
}
.isFixedBox{
    height: 100%;
}
.to-review-btn{
    display: inline-block;
    width: 200px;
	height: 40px;
	border-radius: 8px;
    border: solid 2px #207cfb;
    font-weight: bold;
    color: #207cfb;
    line-height: 36px;
    margin-top:20px;
}
.to-review-btn:hover{
    background: #207cfb;
    color: #fff;
}

/* review-pagination */
.review-pagination{
    display: flex;
    justify-content: center;
    align-items: center;
}
.review-pagination .page-numbers{
    padding:10px;
}
.review-pagination .page-numbers.current{
    color: #207cfb;
    font-weight:bold;
}
.review-pagination .page-numbers.next,.review-pagination .page-numbers.prev{
    width: 60px;
	height: 24px;
	background-color: #207cfb;
    border-radius: 4px;
    color: #fff;
    line-height: 24px;
    text-align: center;
    padding:0;
    margin:10px;
}
.review-pagination .page-numbers.next:hover,.review-pagination .page-numbers.prev:hover{
    background: #0053FF;
}
.review-box .cont{
    color: #666;
    word-wrap:break-word;
}
.error-msg{
    color: red;
}


/* comment-wrapper */
.comment-wrapper{
    background: #f5f8fa;
    padding: 60px 30px 40px;
    margin-top: 60px;
}
.comment-wrapper h3{
    font-size: 24px;
}
.comment-wrapper h3+p{
    margin: 15px 0 30px;
}
.form-item_name .required-icon{
    color: #207cfb;
    margin-right: 5px;
}
.form-item_name{
    font-weight: bold;
}
.rate .form-item_value {

display: flex;

align-items: center;

margin-top: 20px;
}
#myRate{
    display:inline-block;
    cursor: pointer;
}
#myRate .star{
    display: inline-block;
    width: 26px;
    height: 26px;
    padding: 0 3px;
    box-sizing: content-box;
    cursor: pointer;
    background: url(https://images.imyfone.com/en/Images/product/reviews/reviews_star.svg) no-repeat;
    vertical-align: middle;
}
#myRate .star.null{
    background-image: url(https://images.imyfone.com/en/Images/product/reviews/reviews_star_null.svg);
}

#comment_star{
	width:80px;
	height:30px;
	border-radius:4px;
	display: inline-block;
	line-height: 28px;
	border: solid 1px #ffbf98;
	text-align: center;
	color: #ff8032;
	margin-left: 30px;
}
#comment_star.Good{
    color: #FFC000;
    border-color: #FFC000;
}
#comment_star.Average{
    color: #8A990B;
    border-color: #8A990B;
}
#comment_star.Fair{
    color: #A5A5A5;
    border-color: #A5A5A5;
}
#comment_star.Poor{
    color: #ccc;
    border-color: #ccc;
}
.form-item{
	margin-top:30px;
}
.form-item_value .form-input{
    width: 100%;
    height: 46px;
    background-color: #fff;
    border-radius: 4px;
    border: solid 1px #e0e0e0;
    margin-top: 10px;
    padding: 8px 20px;
}
.code-wrapper{
    margin-top: 10px;
}
.code-wrapper .error-msg{
    position: absolute;
}
.form-item_value .form-input[name=refresh]{
    margin-top:0;
}
.code-wrapper{
	display:flex;
	align-items:center;
}
.code-wrapper .refresh{
	color:#207cfb;
}
.code-wrapper .refresh:hover{
    text-decoration: underline;
}
#captcha_img_two{
	margin:0 20px;
}
.code-wrapper .form-input{
	max-width:200px;
}
.form-item_value textarea.form-input{
    height: 100px;
}
.submit-btn{
	width: 220px;
	height: 46px;
	background-color: #207cfb;
	border-radius: 8px;
	border:none;
	color:#fff;
	margin: 10px auto 0;
	display: block;
}
.submit-btn:hover{
	background-color:#0053ff;
}

/* recommend */
.recommend{
    background: #f5f8fa;
    margin:100px 0 0;
    text-align: center;
}
.recommend-wrap{
	justify-content:space-between;
	margin-top: 60px;
}
.recommend-wrap::before,.recommend-wrap::after{
    content:"";
    display: block;
}
.recommend-item>div{
    background-color: #fff;
    border-radius: 16px;
    border: solid 2px #eee;
    max-width: 360px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
_:-ms-fullscreen,
:root .recommend-item .desc {
    min-height: 60px;
}
.recommend-item .type{
	font-size:18px;
    margin-bottom:30px;
    white-space: nowrap;
}
.recommend-item img{
    width: 100px;
}
.recommend-item .title{
	font-size:24px;
	color:#207cfb;

}
.recommend-item .desc{
	margin: 20px 0 30px;
	color:#666;
	flex: 1;
}
.recommend-item .product-button:first-child{
	margin-right:0;
}
.recommend-item .base-switching-button .base-flex{
	justify-content:center;
}
.recommend-item .base-version-switching{
	justify-content:center;
}
.recommend-item .base-version-switching button{
	padding:0 14px;
	position:relative;
	margin: 0;
}
.recommend-item .base-version-switching button:first-child::before{
	content:"";
	display:block;
	width:1px;
	height:26px;
	background-color: #e0e0e0;
	position:absolute;
	right:0;
	top: -2px;
}

@media (max-width: 1480px){
    #content {
        margin: 30px 30px;
    }
    .recommend-item{
    	flex:1;
    	width: 32%;
    }
    .recommend-item:nth-of-type(2){
        margin: 0 1.5%;
    }
    .content-right{
        flex: 1;
        width: auto;
        margin-left: 30px;
    }
}

@media (max-width: 992px) {
    .recommend-wrap{
        flex-wrap: wrap;
    }
    .recommend-item{
        max-width: 49%;
        width: 49%;
    }
    .recommend-item:nth-of-type(2){
        margin: 0;
    }
    .recommend-item:last-child{
        margin-top: 30px;
    }
    
}
@media (max-width: 768px) {
	#content{
		margin: 30px 20px;
	}
    .recommend-wrap{
        margin-top:30px;
    }
    .content-right{
        margin-left: 30px;
        width: 100%;
    }
    #comment_star{
        margin-right: 20px;
    }
    .review-list li{
        flex-direction: column;
        position: relative;
    }
    .review-star{
        position: absolute;
        top: 70px;
    }
    .review-box .name:first-child{
        margin-bottom: 50px;
    }
    .review-back .name{
    	margin-bottom:20px !important;
    }
   
}

@media (max-width: 660px) {
    .content-right h2{
        font-size: 26px;
    }
    .content-right{
        margin-left: 0;
    }
    .recommend-item{
        max-width: 100%;
        width: 100%;
    }
    .recommend-item:nth-of-type(2){
        margin: 20px  0;
    }
    .recommend-item:last-child{
        margin-top:0;
    }
    .recommend-item>div{
        max-width: 100%;
    }
    .content-left{
        display: none;
    }
    .content-box #content{
        margin: 30px 20px;
    }
    
    .overall-score{
        border: solid 2px #ededed;
        border-radius: 10px;
        text-align: center;
        height: 130px;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        margin-bottom: 30px;
    }
    .overall-score span{
    	color:#207cfb;
    }
    
    .overall-score .star svg{
        width: 24px;
        height: 24px;
    }
     .comment-wrapper{
    	padding:30px;
    }
    .form-item{
    	margin-top:20px
    }
    #comment_star{
    	margin-left:10px;
    	margin-right: 0;
    }
}
@media (max-width: 414px) {
    .form-item_value .form-input[name=refresh]{
        min-width: 150px;
        
    }
    .code-wrapper{
        flex-wrap: wrap;
    }
    .code-wrapper .error-msg{
    	position:static;
    	margin-bottom: 10px;
    }
    #captcha_img_two{
        margin-left: 0;;
    }
}