.even,
.comment_admin,
.comment_admin .admin_name {
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.comment_header {
	max-width: 180px;
	margin-right: 30px;
	-ms-flex-negative: 0;
	flex-shrink: 0;
}

.comment_header .products__preview__item__rate {
	margin: 0;
}

.comment_header .products__preview__item__rate ol {
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}

.comment_header .products__preview__item__rate li {
	margin: 0;
}

.comment_header .data_comment {
	margin: 15px 0px;
}

.comment_worth {
	margin-bottom: 30px;
}

.comment_title {
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 5px;
}

.comment_list li:nth-of-type(even) {
	background: none;
}

.products__preview__item__rate li {
	border: none;
	padding: 0;
}

.comment_image {
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
	position: relative;
}

.comment_image a {
	display: block;
    margin: 0 20px 20px 0px;
    width: 95px;
    height: 75px;
    max-height: 75px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.comment_image a:hover::before {
	opacity: 1;
}
.comment_image a::before {
	content: 'Посмотреть';
	position: absolute;
	width: 100%;
	height: 100%;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-align-items: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	font-size: 13px;
	color: #fff;
	background-color: rgba(0,0,0,0.5);
	top: 0;
	left: 0;
	opacity: 0;
	-webkit-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
	transition: all 0.3s linear;
}

.comment_admin {
	border-top: 1px solid #cccccc;
	padding: 15px 0;
}

.comment_admin .admin_name {
	color: #fd781e;
	font-weight: bold;
	margin-right: 10px;
}

.comment_admin .admin_name::before {
	content: url(/bitrix/images/catalog/verificate.png);
	margin-right: 5px;
}


/* form */

.con_reason {
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}

.prichini_title {
	width: 100%;
}

#comments .soc_set_comment_btn {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -ms-align-items: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin: 0;
}

#comments .comment_form_new .comment_form .soc_set_comment_btn .soc_set_comment_btn_text {
	max-width: 70px;
}
#comments .comment_form_new.craft__article .comment_form .soc_set_comment_btn .soc_set_comment_btn_text {
	width: auto;
	max-width: 100%;
}

.likely {
	padding-bottom: 0;
}

.comment_flex {
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}

.comment_flex .comment_col {
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	        flex-direction: column;
}

.comment_first_section {
	border-bottom: 1px solid #ccc;
	padding-bottom: 15px;	
}

.comment_first_section.comment_flex .popup-row {
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.comment_first_section .popup-row div:nth-of-type(1) {
	max-width: 80px;
}

.comment_first_section .comment_col:nth-of-type(1) {
	margin-right: 25px;
}

.comment_second_section {
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	        flex-direction: column;
	padding-top: 10px;
}

.comment_second_section .popup-row-text {
	max-width: 100px;
}

.comment_second_section .popup-row {
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.comment_second_section .popup-row textarea {
	max-width: 100%;
}

.comment_second_section .comment_captcha {
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin-top: 15px;
}

.comment_second_section .comment_captcha .popup-row {
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	        flex-direction: column;
	margin: 0;
}

.comment_captcha_submit {
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	        flex-direction: column;
	-webkit-box-pack: end;
	    -ms-flex-pack: end;
	        justify-content: flex-end;
	margin-bottom: 2px;
	margin-left: 20px;
}

.comment_captcha_submit .popup-row .fileinput-button.btn-success {
	margin: 0;
	margin-bottom: 10px;
}

.comments .comment_form_new .popup-row-text {
	margin-bottom: 10px;
}

.comment_form_new .popup_send_review {
	max-width: 255px;
	width: 100%;
	background-color: #f7f7f7;
	text-align: center;
	padding: 15px 0 20px;
	position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
    -webkit-box-shadow: 0 0 10px 0px #F5F5F5;
    box-shadow: 0 0 10px 0px #F5F5F5;
    z-index: 110;
    display: none;
}

.comment_form_new .popup_send_review span {
    display: block;
    color: #5a5a5a;
}

.comment_form_new .popup_send_review .popup_send_review-title {
    font-size: 18px;
    padding-bottom: 5px;
    padding-top: 20px;
}

.comment_form_new .popup_send_review .popup_send_review-text {
    font-size: 14px;

}

@media screen and (max-width: 1023px) {
	.comment_header .products__preview__item__rate {
		-webkit-box-flex: 0;
		    -ms-flex: 0 1 100%;
		        flex: 0 1 100%;
		margin: 15px 0;
	}

	.comment_header .autor_comment {
		-webkit-box-flex: 0;
		    -ms-flex: 0 1 50%;
		        flex: 0 1 50%;
	}

	.comment_header .data_comment {
		margin: 0;
		-webkit-box-flex: 0;
		    -ms-flex: 0 1 50%;
		        flex: 0 1 50%;
		text-align: right;
	}

	.comment_list .even {
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-moz-flex-direction: column;
		-ms-flex-direction: column;
		-o-flex-direction: column;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		        flex-direction: column;
		padding: 20px 0;
	}

	.b-right_page_card #comments .comment_header {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
	    -webkit-box-pack: justify;
	        -ms-flex-pack: justify;
	            justify-content: space-between;
	    max-width: 100%;
	    width: 100%;
	    margin-bottom: 15px;
	}

	.b-right_page_card #comments .comment_form_new .comment_header {
	    width: 100%;
	}

	#comments .comment_form_new .comment_form .soc_set_comment_btn .soc_set_comment_btn_text {
		display: none;
	}

	#comments .soc_set_comment_btn {
		max-width: 40%;
	}

	.comment_first_section {
		-moz-flex-direction: column;
		-ms-flex-direction: column;
		-o-flex-direction: column;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		        flex-direction: column;
	}

	.comments .comment_form_new .popup-row-text {
		margin: 0 0 10px 0;
	}

	#comments .comment_form_new .comment_form .grey_form {
		padding: 30px 5px;
		background-color: transparent;
	}

	.comment_first_section .popup-row.comment_stars {
		-moz-flex-direction: row;
		-ms-flex-direction: row;
		-o-flex-direction: row;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		        flex-direction: row;
	}

	.comment_first_section .popup-row,
	.comment_second_section .popup-row {
		-moz-flex-direction: column;
		-ms-flex-direction: column;
		-o-flex-direction: column;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		        flex-direction: column;
	}

	.comment_first_section .comment_col:nth-of-type(1) {
		margin-right: 0;
	}

	.comment_second_section .comment_captcha {
		-moz-flex-direction: column;
		-ms-flex-direction: column;
		-o-flex-direction: column;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		        flex-direction: column;
		-ms-align-items: center;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
	}

	.comment_captcha_submit {
		margin-left: 0;
		-ms-align-items: center;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
	}
}

/*--------------------------------
		Попап косморулетки
--------------------------------*/

.popup_cosmorulet * {
    margin: 0;
    padding: 0;
    font-size: 18px;
    color: #1E1E1E;
}

.popup_cosmorulet_bg {
	position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: #fff;
    top: 0;
	left: 0;
	z-index: -5;
	background-image: url(/bitrix/templates/cosmogon_2018.11.28/img/cosmorulet_bg.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
 }
 .popup_cosmorulet_bg:before {
    position: absolute;
    background-color: #fff;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.88;
}

.popup_cosmorulet {
    position: fixed;
    max-width: 650px;
    padding: 20px 25px;
    width: 90%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
	z-index: 110;
	background-color: #fff;
    border: 3px solid #FF7900;
    text-align: center;
}

.popup_cosmorulet span {
	font-size: 36px;
	display: block;
}

.popup_cosmorulet span,
.popup_cosmorulet .popup_cosmorulet_text {
    margin-bottom: 21px;
}

.popup_cosmorulet .popup_cosmorulet_btn {
    background-color: #FF7900;
    color: #fff;
    border: 2px solid #FF7900;
    max-width: 255px;
    width: 100%;
    display: inline-block;
    padding: 10px;
    border-radius: 7px;
    text-decoration: none;
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
}

.popup_cosmorulet .popup_cosmorulet_btn:hover {
    background-color: #fff;
    color: #FF7900;
}

.popup_cosmorulet_close {
	position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
	height: 20px;
	cursor: pointer;
}

.popup_cosmorulet_close:before {
    position: absolute;
    content: '';
    width: 2px;
    height: 100%;
    background: #000;
    transform: rotate(-45deg);
}

.popup_cosmorulet_close:after {
    position: absolute;
    content: '';
    width: 2px;
    height: 100%;
    background: #000;
    transform: rotate(45deg);
}