.gray-overlay {
    display: none;
    position: fixed;
    z-index: 11000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: left;
}
.gray-overlay:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.62);
    left: 0;
    top: 0;
    box-sizing: border-box;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: -1;
}
.modalwin .detail-checkbox a{
    margin: 0 !important;
}
.gray-overlay__wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.modalwin {
    display: none;
    width: 90%;
    max-width: 814px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0px 6px 10px 0px rgb(0 0 0 / 14%);
    border: #dadada 1px solid;
    position: relative;
}
.modalwin-close, .input-fake-file__button i{
    margin: 0 !important;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 12px;
    right: 12px;
    transform: rotate(45deg);
    z-index: 1;
}
.modalwin-close:before, .modalwin-close:after, .input-fake-file__button i:before, .input-fake-file__button i:after{
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: #000;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.modalwin-close:after, .input-fake-file__button i:after{
    width: 1px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.modalwin-columns__inner-right {
    flex: 1;
    padding: 30px 31px;
}
.modalwin .title {
    position: relative;
    text-align: center;
    font-size: 24px;
    line-height: normal;
    font-weight: 400;
    margin: 0 0 41px;
}
.add-review-modal{
	max-width: 580px;
}
.modalwin__label{
    font-weight: 400;
    font-size: 14px;
    line-height: normal;
    margin: 0 0 8px;
    display: block;
}
.modalwin__input-wrap{
    position: relative;
	margin: 0 0 17px;
}
.modalwin__input, .input-fake-file{
    width: 100%;
    border: #eaeaea 1px solid;
    border-radius: 2px;
    resize: none;
    font-weight: 400;
    font-size: 14px;
    height: 47px;
    padding: 0 10px;
}
.modalwin__input.error{
    border-color: #f9857c;
}
textarea.modalwin__input{
    height: 90px;
    padding: 5px 10px;
    display: block;
}
.modalwin__input[type="text"]::-webkit-input-placeholder {color:#9fa5b1;}
.modalwin__input[type="text"]::-moz-placeholder          {color:#9fa5b1;}
.modalwin__input[type="text"]:-moz-placeholder           {color:#9fa5b1;}
.modalwin__input[type="text"]:-ms-input-placeholder      {color:#9fa5b1;}

.input-file{
	display: none;
}
.input-fake-file{
	color:#9fa5b1;
	line-height: 47px;
	position: relative;
	padding: 0 60px 0 30px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	cursor: pointer;
	background: url(./images/file-ico.svg) no-repeat 10px center;
}
.input-fake-file__button{
	display: none;
	position: absolute;
    right: -1px;
    width: 47px;
    top: -1px;
    bottom: -1px;
    z-index: 10;
    border-radius: 0 2px 2px 0;
	border-left: #eee 1px solid;
}
.input-fake-file__button i{
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) rotate(45deg);
}
.modalwin__rating.flex{
	display: inline-flex;
	vertical-align: middle;
    line-height: normal;
}
.modalwin__rating li{
	margin: 0 3px 0 0;
	cursor: pointer;
}
.modalwin__rating svg{
	fill: none;
	width: 21px;
	height: 19px;
}
.modalwin__rating path{
	fill: #ddd;
}
.modalwin__rating .sel path{
	fill: #e6c553;
}
.modalwin__rating-hint{
    margin: 0 0 0 5px;
    position: relative;
    padding: 0 0 0 24px;
    color: #999999;
    font-size: 13px;
}
.modalwin__rating-hint:before{
    content: "\2014";
    position: absolute;
    left: 0;
    top: 0;
	line-height: normal;
}
.detail-checkbox{
    font-size: 12px;
    line-height: normal;
    display: inline-block;
    cursor: pointer;
    position: relative;
}
.detail-checkbox input{
    opacity: 0;
    position: absolute;
}
.detail-checkbox span{
    padding: 0 0 0 20px;
    display: inline-block;
    position: relative;
}
.detail-checkbox span:after {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    border: #eaeaea 1px solid;
    border-radius: 2px;
    left: -2px;
    top: 0;
    box-sizing: border-box;
}
.detail-checkbox input:checked + span:before {
    content: "";
    position: absolute;
    width: 9px;
    height: 13px;
    box-sizing: border-box;
    background: url(./images/checked.png) no-repeat center / cover;
    top: -1px;
    left: 1px;
    z-index: 1;
}
.detail-checkbox a{
    color: #12b6c8;
}
.detail-checkbox a:hover{
	text-decoration: underline;
}
.add-review-modal .button, .modal-que .button{
	min-width: 130px;
    font-size: 14px;
	margin: 40px 0 0;
}

.modal-que {
    position: fixed;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 470px;
    text-align: center;
}
.modal-que .title {
    text-align: center;
}
.modalwin-columns__inner-right p {
    font-size: 14px;
    line-height: normal;
    margin: 0 0 31px;
}
.modal-que .button{
    margin: 0;
}
.review-max-length{
    text-align: right;
    font-size: 13px;
    color: #bbb;
    margin: 10px 0 0;
}
.review-modal-show{
    overflow: hidden !important;
}
.captcha-wrap{
    margin: 0 15px 0 0;
    position: relative;
}
.captcha-refresh{
    width: 47px;
    height: 47px;
    position: absolute;
    top: 0;
    right: 0;
    background: url(./images/refresh.svg) no-repeat center / 24px;
}
.modalwin__input-captcha img{
    height: 47px;
    width: 180px;
    display: block;
}

@media (max-height: 740px) {
    .add-review-modal {
        height: 100%;
        overflow-y: scroll;
    }
}

@media screen and (max-width: 425px) {
    .add-review-modal .modalwin-columns__inner-right {
        padding: 20px 20px;
    }
    .modalwin__input-captcha img{
        width: 140px;
    }
}

@media screen and (max-width: 400px) {
    .modalwin__input-captcha{
        flex-direction: column;
    }
    .modalwin__input-captcha img{
        width: 100%;
        margin: 0 0 10px;
    }
}