@charset "UTF-8";


/* popup dialog - new popup styles */
#popup_bg {position: fixed;top: 0;left: 0;right: 0;bottom: 0;background: rgba(62, 62, 62, 0.8);z-index: 700;}

.popup_dialog {display: none;position: fixed;left: 0;top: 0;width: 100%;z-index: 2001;pointer-events: none;/*min-width:400px;*/min-width:320px;max-height: 100vh;}
.popup_dialog .m {max-width: 390px;margin: 0 auto;/* padding: 54px 60px 60px; */position: relative;z-index: 1;background: #FFFFFF;box-shadow: 0px 4px 25px rgba(29, 43, 39, 0.25);pointer-events: all;border-radius: 14px;width: 100%;max-height: 90vh;max-height: calc(100vh - 48px);overflow-x: hidden;overflow-y: auto;}

.popup_dialog .close {position: absolute;cursor: pointer;right: 10px;top: 10px;background: no-repeat;border:none;width: 32px;height: 32px;background: url(../../i/forum/common.svg) -135px -96px no-repeat;line-height: 32px;text-align: center;opacity: .25;}
.popup_dialog .close:hover {opacity: .5;}

.popup_dialog .header {/* border-bottom: solid 1px #d5d5d5; *//* background: #eee; */color: #000;font-size: 18px;line-height: 21px;padding: 16px 20px;padding-right: 50px;font-weight: 700;}
.popup_dialog .header .title {/* overflow: hidden; */}

/*
.popup_dialog .header .back {display: inline-block;color: #004a72;cursor: pointer;}
.popup_dialog .header .back:before {content: "";display: inline-block;vertical-align: middle;width: 16px;height: 16px;margin-right: 5px;margin-top: -1px;background: url(../../i/common.svg) -103px -345px no-repeat;}
*/

.popup_dialog .body {clear: both;flex-grow: 1;min-height: 0;}

.popup_dialog .content {text-align: center;font-size: 16px;line-height: 26px;margin: auto;width: 100%;padding: 30px 30px 30px;}
.popup_dialog .body .content {/* padding: 54px 60px 60px; */padding: 45px 50px 50px;}

.popup_dialog .banner {max-width: 100%; margin: 0 auto 16px;}
.popup_dialog .banner img {max-height: 100%;max-width: 100%;display: block;margin: 0 auto;}


.popup_dialog .content .icon {width: 62px;height: 60px;margin: 0 auto 16px;/* background: url(../../i/common.svg) -16px -251px no-repeat; */}
.popup_dialog .content .title {font-size: 18px;margin: 0 0 18px;display: block;}

.popup_dialog .content .txt {/*line-height: 24px;*/}
.popup_dialog .content .title.txt {font-weight: 400;margin-bottom: 0;}

.popup_dialog .content .text_info_box {margin-top: 24px;}


/*
.popup_dialog .content .icon.confirm {background-position: -53px -249px;}
.popup_dialog .content .icon.error {background-position: -105px -249px;}

/**/

.popup_dialog .buttons {border-top: 1px solid #E5EDE9;padding: 10px 0 10px;text-align: center;user-select: none; margin: 0 10px;}
.popup_dialog .buttons.right {text-align: right; }
.popup_dialog .buttons.left {text-align: left; }

.popup_dialog .buttons.equal {display: flex;justify-content: center;}
.popup_dialog .buttons.equal .button {display: inline-flex;justify-content: center;flex-grow: 1;width: 50%;}

.popup_dialog button,
.popup_dialog .button {font-weight: 600;}

/*
.popup_dialog button,
.popup_dialog .button {display: inline-block;border-radius: 14px;line-height: 16px;border: 1px solid #6E6D7A;outline: none;min-width: 78px;cursor: pointer;padding: 14px 20px 16px;min-height: 48px;line-height: 16px;font-size: 14px;text-align: center;color: #6E6D7A;vertical-align: middle;text-decoration: none;font-weight: 400;}
*/

.popup_dialog button + button,
.popup_dialog .button + .button {margin-left: 10px; }


/**/
.popup_dialog .button.ok, .popup_dialog .button.submit, .popup_dialog .button.apply, .popup_dialog .button.confirm {background: #9C9647;border-color: #9C9647;color: #fff;}
.popup_dialog .button.ok:hover, .popup_dialog .button.submit:hover, .popup_dialog .button.apply:hover, .popup_dialog .button.confirm:hover {background: #9C9647;border-color: #9C9647;color: #fff; opacity: .9; }
/**/


.popup_dialog .content .buttons {padding: 0;margin: 26px auto 0;border-top: none;}
.popup_dialog .content .buttons .button {padding: 15px 20px 15px;line-height: 18px;}

/*
.popup_dialog .ico_sign span {padding-left: 26px; position: relative;}
.popup_dialog .ico_sign span:before {content: "";display: inline-block;background: url(../../i/forum/common.svg) -463px -21px no-repeat;width: 20px;height: 22px;vertical-align: middle;position: absolute;left: 0;top: 50%;margin-top: -11px;}

*/


.popup_dialog .footer {border-top: solid 1px #d5d5d5;margin: 30px -30px 0;border-bottom-left-radius: 14px;border-bottom-right-radius: 14px;padding: 15px 30px 15px;text-align: center;min-height: 33px;line-height: 15px;font-size: 12px;color: #816f09;}


.popup_dialog .error_text {display: none;background: #e74222;color: #fff;font-size: 12px;padding: 5px 15px;padding-left: 40px;position: relative;line-height: 14px;}
.popup_dialog .error_text:before {display: block;content: "";position: absolute;top: 50%;margin-top: -8px;width: 16px;height: 16px;background: url(../../i/common.svg) -515px -261px no-repeat;left: 15px;}
.popup_dialog.error .error_text {display: block;}




/* popups with always visible buttons */
.popup_fixed {position: fixed;align-items: center;top: 0 !important;bottom: 0;left: 0;right: 0;padding: 10px 10px 10px;}
.popup_fixed.shown {display: flex !important;}
.popup_fixed .m {height: auto;max-height: 100%;display: flex;flex-flow: column;align-self: center;}

.popup_fixed .body {flex-shrink: 1;overflow-y: auto;min-height: 0;}
.popup_fixed .buttons {margin-left: 0;margin-right: 0;padding-left: 10px;padding-right: 10px;flex-shrink: 0;}




/* custom popup styles */
.popup_delete {}

.popup_report .m {max-width: 410px;}
.popup_report .banner img {max-height: 168px;}
.popup_report .s_textarea textarea {font-size: 14px;min-height: 120px;height: 120px;padding: 14px 20px 14px;resize: none;}

.popup_topic_close .banner img,
.popup_delete .banner img {height: 72px;}

.popup_blocked .content .icon {width: 72px;height: 72px;background: url(../../i/block.svg?v=2) -39px -38px no-repeat;}


.popup_comment_complain {padding: 0 10px;}
.popup_comment_complain .header {background: #FFF2EE;color: #EB5323;}
.popup_comment_complain .header .title {position: relative;padding-left: 40px;}
.popup_comment_complain .header .title:before {position: absolute;content: "";display: block;top: 50%;margin-top: -14px;height: 28px;width: 28px;left: 0;background: url(../../i/publication/item.svg) -29px -190px no-repeat;}
.popup_comment_complain .buttons {border-top: none;}

.popup_comment_complain .error .error_txt {display: block;background: rgba(240, 58 ,0, .95);color: #fff;font-size: 14px;line-height: 16px;padding: 8px 30px 8px;}
.popup_comment_complain .error textarea {color: #F03A00;}


@media only screen and (min-width: 900.02px) {
	
	/*
	.popup_dialog .content .icon {width: 72px;height: 72px;background-position: -105px -304px;}

	.popup_dialog .content .icon.confirm {background-position: -105px -304px;}
	.popup_dialog .content .icon.error {background-position: -205px -304px;}
	*/
}



@media only screen and (max-width: 720px) {

	.popup_dialog {position: fixed;align-items: center;justify-content: center;}
	.popup_dialog .m {margin: auto;}

	.popup_dialog .header {padding: 13px 20px;padding-right: 50px;}

}

