* {
	margin: 0;
	padding: 0;
	box-sizing: border-box; /* врахування padding і border в ширині */
}

body {
	color: #222;
	font-family: Arial, Tahoma, sans-serif;
	background: #f1e9e9;
}
a:link,
a:active,
a:visited {
	color: #0067EA;
	text-decoration: underline;
	font-family: Arial, Tahoma, sans-serif;
}
a:hover {
	color: #CC0000;
	text-decoration: none;
}

h1 {}
h2, h3 {
	padding: 5px 0 10px 0;
	font: normal 16pt Arial, Tahoma, sans-serif;
	letter-spacing: 1px;
}
h3 a {
	color: #0067EA;
	font: normal 16pt Arial, Tahoma, sans-serif;
	text-decoration: underline;
	letter-spacing: 1px;
}
h3 a:hover {
	color: #CC0000;
	text-decoration: none;
}
h4 {}

.c {
	clear: both;
}
.line {
	padding: 5px 0;
}

.white {
	color: white;
}
.green {
	color: green;
}
.blue {
	color: blue;
}
.red {
	color: red;
}
.gray {
	color: gray;
}

.img_txt {
	margin: 0 0 -2px 0;
}

.separator {
	margin: 0;
	padding: 3px 0;
}



#main {
	margin: 0 auto;
	padding: 0 20px;
	background: #fff;
}

#sign_f {
	margin: 0 auto 30px auto;
}



@media screen and (min-width: 900px) {
	body, a {
		font-size: 12pt;
	}
	#main {
		width: 900px;
	}
	#header {
		height: 260px;
		background-size: auto 260px;
	}
	#header h1 {
		margin: 160px 0 0 0;
		font-size: 35pt;
		text-shadow: 1px 1px 2px #222;
	}
	#sign_f {
		width: 400px;
	}
	#title {
		background-position: 50% 30% ; /* left top */
	}
	#sepr {
		background-size: 100% 70px;
	}
	.content {
		width: 700px;
	}
	.content h4, .content p {
		font-size: 12pt;
	}

/* --- news --- */
	.news_content {
		margin: 0 0 17px 0;
		display: flex;
		/* align-items: center; Выровнять по центру по вертикали */
	}
	.news_img_block {
		margin: 0 10px 0 0;
		width: 200px;
		height: 100px;
		background-size: cover;
		background-position: center;
	}
	.news_preview_block {
		flex-grow: 1; /* Заполнить оставшееся пространство */
	}
/* --- /news --- */

	#footer {
		width: 700px;
	}
}



@media screen and (max-width: 900px) {
	body, a {
		font-size: 12pt;
	}
	#main {
		width: 95%;
	}
	#header {
		height: 240px;
		background-size: auto 240px;
	}
	#header h1 {
		margin: 150px 0 0 0;
		font-size: 32pt;
		text-shadow: 1px 1px 2px #222;
	}
	#sign_f {
		width: 70%;
	}
	#title {
		background-position: 50% 25% ; /* left top */
	}
	#sepr {
		background-size: 100% 70px;
	}
	.content {
		width: 100%;
	}
	.content h4, .content p {
		font-size: 12pt;
	}

/* --- news --- */
	.news_content {
		margin: 0 0 17px 0;
		display: flex;
		/* align-items: center; Выровнять по центру по вертикали */
	}
	.news_img_block {
		margin: 0 10px 0 0;
		width: 200px;
		height: 100px;
		background-size: cover;
		background-position: center;
	}
	.news_preview_block {
		flex-grow: 1; /* Заполнить оставшееся пространство */
	}
/* --- /news --- */

	#footer {
		width: 100%;
	}
}



@media screen and (max-width: 480px) {
	body, a {
		font-size: 14pt;
	}
	#main {
		width: 99%;
	}
	#header {
		height: 140px;
		background-size: auto 140px;
	}
	#header h1 {
		margin: 70px 0 0 0;
		font-size: 27pt;
		text-shadow: 1px 1px 2px #222;
	}
	#sign_f {
		width: 90%;
	}
	#title {
		background-position: 50% 25% ; /* left top */
		background-size: auto 55px;
	}
	#sepr {
		background-size: 100% 70px;
	}
	.content {
		width: 100%;
	}
	.content h4, .content p {
		font-size: 14pt;
	}

/* --- news --- */
	.news_content {
		margin: 0 0 12px 0;
		flex-direction: column; /* Изменить направление флекс-контейнера на колонку */
		align-items: flex-start; /* Выравнивание по левому краю */
	}
	.news_img_block {
		width: 100%;
		height: 100px;
		margin: 0 0 10px 0;
		background-size: cover;
		background-position: center;
	}
	.news_preview_block {
		width: 100%;
	}
/* --- /news --- */

	#footer {
		width: 100%;
	}
}



#header {
	margin: 0 0 20px 0;
	width: 100%;
	background: #fff url('/img/desktop.jpg') center center no-repeat;
	position: relative;
}

#header h1 {
	display: inline-block;
	text-align: center;
	color: #fefefe;
	letter-spacing: 2px;
}

#title {
	margin: auto;
	width: 100%;
	text-align: center;
	background-image: url('/img/logo.png');
	background-repeat: no-repeat;
}

#sepr {
	width: 100%;
	height: 70px;
	background: transparent url('/img/spr.png') center center no-repeat;
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
}

.content {
	margin: 0 auto 20px auto;
	padding: 0;
	line-height: 24px;
}

.content h4, .content p {
	padding: 5px 0 11px 0;
	color: #222;
	font-family: Arial, Tahoma, sans-serif;
}

.content h3 {
	padding: 5px 0 11px 0;
	color: #222;
	font-size: 16pt;
	font-family: Arial, Tahoma, sans-serif;
}

.content ul, .content ol {
	padding: 5px 0 11px 17px;
}
.content ul li, .content ol li {
	margin: 4px 0;
}

.n_main_content {
	padding: 15px 0 0 0;
}
.n_main_content img {
	width: 100%;
}

#n_title {
	margin: 0 0 10px 0;
	padding: 0 0 5px 0;
	border-bottom: 1px #ccc dotted;
}
.news_post {
	margin: 0 0 15px 0;
}
.time {
	margin: 10px 0 0 0;
	padding: 10px 0 0 25px;
	background: transparent url('/img/clock.png') 0 13px no-repeat;
	border-top: 1px #ccc dotted;
}





#news_block {
	display: flex;
	flex-wrap: wrap;
}
#news_block a.n_block {
	display: block;
	margin: 10px 10px 15px 0;
	width: 200px;
	text-decoration: none;
}
#news_block a.n_block:hover {
	text-decoration: underline;
	font-family: Arial, Tahoma, sans-serif;
}
#news_block a.n_block div.img_block {
	width: 200px;
	height: 100px;
	background-size: cover;
	background-position: center;
	position: relative;
		z-index: 1000;
}
#news_block a.n_block img {}





#cookie_msg {
	padding: 20px 40px;
	color: #fff;
	font-size: 12pt;
	background: #222;
	line-height: 25px;
		position: fixed;
		bottom: 0;
		right: 0;
		left: 0;
		z-index: 10000;
}
#cookie_msg a {
	color: #56B6FF;
	font-size: 12pt;
	text-decoration: underline;
}
#cookie_msg a:hover {
	color: #CC0000;
	font-size: 12pt;
	text-decoration: none;
}
.inp_e {
	margin: 5px 0 0 0;
	padding: 8px 20px;
	color: #fff;
	font-size: 16px;
	background: #00b721;

	border: #00b721 1px solid;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;

	cursor: pointer;
}
.inp_e:hover {
	background: #00d326;
}





.input_txt_r {
	padding: 8px 15px;
	width: 90%;
	color: #333;
	font: normal 16px Verdana, Arial, Helvetica, sans-serif;
	background: #fff;

	border: #dadada 1px solid;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.input_txt {
	padding: 8px 15px;
	width: 80%;
	color: #333;
	font: normal 16px Verdana, Arial, Helvetica, sans-serif;
	background: #fff;

	border: #dadada 1px solid;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.input_txt_middle {
	padding: 8px 15px;
	width: 250px;
	color: #333;
	font: normal 16px Verdana, Arial, Helvetica, sans-serif;
	background: #fff;

	border: #dadada 1px solid;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.input_txt_area {
	padding: 8px 15px;
	width: 80%;
	height: 150px;
	color: #333;
	font: normal 16px Verdana, Arial, Helvetica, sans-serif;
	background: #fff;

	border: #dadada 1px solid;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.inp_e {
	margin: 5px 0 0 0;
	padding: 8px 20px;
	color: #fff;
	font: normal 16px Verdana, Arial, Helvetica, sans-serif;
	background: #3f83e0;
	letter-spacing: 1px;

	border: #dadada 1px solid;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;

	cursor: pointer;
}
.inp_e:hover {
	color: fff;
	background: #2878e5;
}

.btn_o {
	display: inline-block;
	padding: 10px 15px;
	margin-bottom: 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: 5px;
	color: #fff;
	text-decoration: none;
	background-color: #007bff;
	transition: background-color 0.3s ease;
}

.btn_o:hover {
	background-color: #0056b3;
}





.msg {
	padding: 15px;
	width: 250px;
	text-align: center;
	background-color: #fff;
	border: 1px solid #bbb;
	font: bold 16px Verdana, Arial, Helvetica, sans-serif;
	color: green;
	position: fixed;
	top: 30%;
	left: 50%;
	transform: translate(-50%, -50%);
	box-shadow: 0 0 10px #ccc;
	z-index: 999999;
}

ul.list {
	list-style: none;
}
ul.list li {
	margin: 0 0 2px 0;
	padding: 5px 12px;
	background: #fcfcfc;

	border: #f3f3f3 1px solid;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

.checkbox_1 {
	display: inline;
	background: transparent;
}
.checkbox_1:hover {
	background: yellow;
	cursor: pointer;
}





/* Media Library */
div#mediaLib {
	margin: 50px auto 0 auto;
}

div#mediaLib div.media {
	margin: 2px;
	padding: 2px;
	min-height: 150px;
	float: left;
	font-size: 10pt;
	border: 1px #888 solid;
	position: relative;
}

div#mediaLib div.media img {
	border: 1px #888 solid;
}

div#mediaLib div.media input.mediaLink {
	width: 98px;
	color: #222;
	background: transparent;
	border: none;
}

div#mediaLib div.media a, div#mediaLib div.media a:active, div#mediaLib div.media a:visited{
	text-decoration: none;
}
div#mediaLib div.media a:hover{
	text-decoration: underline;
	color: #dd3a09;
}

.photoimg_design {
	padding: 15px 20px;
	width: 200px;
	background: #f9f6f2;

	border: #dadada 1px dashed;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

#file_name {
	margin: 5px 0;
}

div.m_control{
	position: absolute;
	bottom: 1px;
	left: 1px;
	right: 1px;
}

img.preview {
	width: 200px;
}
/* / Media Library */





/* RTE */
.formTxt {
	margin: 0 0 3px 0;
}

input.format {
	border: 1px solid #ccc;
	color: #000;
	font-size: .8em;
	line-height: 1.5em;
	cursor: pointer;
	display: block;
	float: left;
	background: #f9f6f2;
	margin: 0 3px 2px 0;
	padding: .2em .8em;

	border: 1px solid #b3c1c2;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.strong {
	font-weight: bold;
}
.em {
	font-style: italic;
}
.underline {
	text-decoration: underline;
}
.del {
	text-decoration: line-through;
}

.uIco {
	margin: 0 1px -2px 0;
	padding: 0;
}
/* /RTE */





table {
    margin: 11px 0 0 0;
	width: 100%;
    border-collapse: collapse;
}

table td, table th {
    padding: 10px;
	line-height: 24px;
    border: 1px solid #ddd;
}

table th {
    background-color: #f2f2f2;
    text-align: left;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f2f2f2;
}

table tr td:first-child {
    font-weight: bold;
    width: 30%;
}



#footer {
	margin: 0 auto;
	padding: 40px 20px 60px 20px;
}

#footer .f_element {
	margin: 0 0 7px 0;
}



