.pop-title {
	overflow:hidden;
	position:relative;
	display:flex;
	align-items:center;
	gap:10px;
	-webkit-border-radius: 10px 10px 0 0;
	-moz-border-radius: 10px 10px 0 0;
	border-radius: 10px 10px 0 0;
	background:#276892;
	padding:12px 26px;
}

.pop-title .close {
	cursor:pointer;
	text-decoration:none;
	position: absolute;
	right:14px;
	top:50%;
	height:34px;
	line-height:32px;
	color:#fff;
	margin-top:-17px;
	width:34px;
	text-align:center;
	font-size:24px;
	font-weight:400;
	background:transparent;
	border:0;
	border-radius:50%;
	opacity:.86;
}

.pop-title .close:hover {
	opacity:1;
	background:rgba(255,255,255,.12);
}

.pop-title h2 {
    margin:0;
    color:#fff;
    font-size:24px;
    line-height:50px;
}

.pop-in {
    padding:20px 24px;
    clear:both;
    overflow: hidden;
    z-index: 1000;
}

.mess-img {
    float:none;
    margin-left:0;
    margin-right:10px;
    flex:0 0 auto;
    width:44px;
    height:44px;
    padding:2px;
    border:1px solid #6e8ea3;
    background:#fff;
}

.mess-img img {
    display:block;
    width:44px;
    height:44px;
}

.mess-title {
    overflow:hidden;
    flex:1;
    min-height:44px;
    display:flex;
    align-items:center;
    color:#fff;
    font-size:22px;
    line-height:1.2;
    font-weight:700;
    padding-right:42px;
}

.message-form {}
.message-form .submit {
    font-size:16px;
    margin-top: 8px;
}

.message-form .form-row {
    padding-bottom: 16px;
}

.message-form .form-row label {
    font-style:italic;
    margin-bottom: 4px;
    display:block;
    color:#a9a7aa;
    font-size:14px;
    line-height:22px;
}

.message-form .input-text {
    width: 477px;
}

.message-form .form-row textarea.textarea {
    width: 100%;
    height: 150px;
}

.send-message-pop-up {
    display: none;
}

.send-message-pop-up.modal-open {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    overflow: auto;
    z-index: 10050;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .34);
}

.modal-overlay {
	display:none;
	position:fixed;
	inset:0;
	z-index:10040;
	background:rgba(0,0,0,.45);
	backdrop-filter: blur(1px);
}

body.modal-opened {
	overflow:hidden;
}

.send-message-pop-up .submit {
	padding:0 21px;
	min-width: 128px;
	display:block;
	height:45px;
	border:1px solid #448401;
	background:url(../images/reg-submit.jpg) repeat-x 0 0; margin:14px auto 0;
	-webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px;
	text-align:center;
	font-size:18px;
	line-height:43px;
	color:#fff;
	font-weight:bold;
	font-family: 'PT Sans', arial, sans-serif;
	cursor:pointer;
	-webkit-box-shadow:inset 0px 1px 0px #d8d8d8;
    -moz-box-shadow:inset 0px 1px 0px #d8d8d8;
    box-shadow:inset 0px 1px 0px #d8d8d8;
	-webkit-box-shadow: 0 1px rgba(14,15,15,.16), inset 0 1px rgba(255,255,255,.38);
	-moz-box-shadow: 0 1px rgba(14,15,15,.16), inset 0 1px rgba(255,255,255,.38);
	box-shadow: 0 1px rgba(14,15,15,.16), inset 0 1px rgba(255,255,255,.38);
	border: solid 1px rgba(67,132,0,.95);
	background-image: -webkit-linear-gradient(bottom, #57af01, #93d100);
	background-image: -moz-linear-gradient(bottom, #57af01, #93d100);
	background-image: -o-linear-gradient(bottom, #57af01, #93d100);
	background-image: -ms-linear-gradient(bottom, #57af01, #93d100);
	background-image: linear-gradient(to top, #57af01, #93d100);
}

.send-message-pop-up .submit:hover {
	text-decoration:none;
	background-image: -webkit-linear-gradient(top, #57af01, #93d100);
	background-image: -moz-linear-gradient(top, #57af01, #93d100);
	background-image: -o-linear-gradient(top, #57af01, #93d100);
	background-image: -ms-linear-gradient(top, #57af01, #93d100);
	background-image: linear-gradient(to bottom, #57af01, #93d100);
}

.form-row textarea.textarea {
	background:#fff;
	font-family: 'PT Sans', arial, sans-serif;
	padding:5px 9px 5px 9px; float:none;
	margin-bottom:0;
	display: block;
	width:100%;
	height:101px;
	resize:none;
	outline:none;
	border:1px solid #cfcfd4;
	position:relative;
	font-size:14px;
	line-height:22px;
	clear:both;
	-moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius:  4px; border-radius:  4px; behavior: url(PIE.htc);
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.form-row textarea.textarea:focus {
	border-color:#7eaf3f;
	box-shadow:0 0 0 3px rgba(126,175,63,.18);
}

.send-message-pop-up .pop-in {
	padding: 18px 26px 24px;
}

.send-message-pop-up .block-message-form {
	max-width: none;
	width: 100%;
	margin: 0;
}

.send-message-pop-up .message-form {
	width: 100%;
}

.send-message-pop-up .form-row {
	padding-bottom: 12px;
}

.send-message-pop-up .message-form .form-row textarea.textarea {
	width: 100%;
	box-sizing: border-box;
}

.send-message-pop-up .submit {
	min-width: 160px;
	height: 46px;
	line-height: 44px;
	margin-top: 8px;
}

@media (max-width: 768px) {
	.send-message-pop-up.modal-open {
		width: calc(100vw - 18px);
		max-height: calc(100vh - 18px);
	}

	.send-message-pop-up .pop-in {
		padding: 14px 12px 16px;
	}

	.mess-title {
		font-size: 22px;
		line-height: 44px;
	}
}

.input-text {
	font-family: 'PT Sans', arial, sans-serif;padding:5px 9px 5px 9px; margin-bottom:0px;  width:343px; height:20px; position:relative; font-size:14px; line-height:20px; /*color:#a9a7aa;*/ clear:both;
	-moz-border-radius: 4px;-webkit-border-radius: 4px;-khtml-border-radius:  4px;border-radius:  4px;behavior: url(PIE.htc);
	background-color: #fff;
	-webkit-box-shadow: 0 2px #fff, inset 0 2px 5px rgba(153,153,153,.34);
	-moz-box-shadow: 0 2px #fff, inset 0 2px 5px rgba(153,153,153,.34);
	box-shadow: 0 2px #fff, inset 0 2px 5px rgba(153,153,153,.34);
	border: solid 1px rgba(0,0,0,.17);
}

.follow-text {
   color: #00ae00;
   font-size: 14px;
}

p.error-message {
    color: #bf0000;
    padding-top: 7px;
    margin: 0;
}

p.success-text-message {
    padding-top: 7px;
    color: #008000;
    margin: 0;
}
