/*@import url("/css/fonts.css");
/* reset browser styles */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.2;
}
ol { 
	list-style: decimal;
}
ul {
	list-style: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
} 
/* end reset browser styles */

html {
	/*height: 100vh;*/
}

html, body {
	width: 100%;
	min-width: 1240px;
}

body {
	/*display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100vh;*/
	font: 20px PTSans;
/*font: 22px Copperplate;*/
	color: #333232;
	background: #47add7;
}

body * {
	box-sizing: border-box;
}
/*
header,
.top_menu,
.advantages,
.main_products,
.map,
footer {
	flex-shrink: 0;
}

.content {
	flex: 1 0 auto;
}
*/
.main_products,
.content {
	background: url('../img/bg.jpg') center 0 no-repeat;
	background-size: cover;
}

.clear {
	clear: both;
}

.center {
	position: relative;
	width: 1240px;
	margin: 0 auto;
	padding: 0 20px;
	overflow: hidden;
}

.main_page h1,
.main_page h2 {
	margin: 0 0 15px;
	padding: 0;
	font: 45px UbuntuCond;
	color: #000;
	text-align: center;
	text-transform: uppercase;
}

.main_page h1 {
	margin-top: -10px;
}

.main_page h2 {
	margin: 40px 0 20px;
}

/*---------------------------------------------*/

header {
	background: url('../img/hdr.jpg') center 0 no-repeat;
	background-size: cover;
}

header .center {
	height: 416px;
}

.logo {
	display: block;
	position: absolute;
	top: 67px;
	left: 208px;
	width: 816px;
	height: 283px;
	background: url('../img/logo.png') 0 0 no-repeat;
	z-index: 1;
}

.title {
	display: block;
	position: absolute;
	top: 341px;
	left: 0;
	right: 0;
	width: 480px;
	margin: 0 auto;
	font: 37px Cuprum;
	text-align: center;
	color: #ffdfbd;
	text-shadow: #774f2f 1px 0px, #774f2f 1px 1px, #774f2f 0px 1px, #774f2f -1px 1px, #774f2f -1px 0px, #774f2f -1px -1px, #774f2f 0px -1px, #774f2f 1px -1px, #774f2f 0 0 3px, #774f2f 0 0 3px, #774f2f 0 0 3px, #774f2f 0 0 3px, #774f2f 0 0 3px, #774f2f 0 0 3px, #774f2f 0 0 3px, #774f2f 0 0 3px;
	z-index: 1;
}

.phone {
	display: block;
	position: absolute;
	top: 343px;
	left: 24px;
	font: 23px RobM;
	color: #774f2f;
	text-shadow: #ffdfbd 1px 0px, #ffdfbd 1px 1px, #ffdfbd 0px 1px, #ffdfbd -1px 1px, #ffdfbd -1px 0px, #ffdfbd -1px -1px, #ffdfbd 0px -1px, #ffdfbd 1px -1px, #ffdfbd 0 0 3px, #ffdfbd 0 0 3px, #ffdfbd 0 0 3px, #ffdfbd 0 0 3px, #ffdfbd 0 0 3px, #ffdfbd 0 0 3px, #ffdfbd 0 0 3px, #ffdfbd 0 0 3px;
	background: url('../img/icon_phone.png') 0 0 no-repeat;
	z-index: 1;
}

.phone span {
	display: block;
	margin: 0 0 3px;
}


.btn {
	display: block;
	position: absolute;
	bottom: 24px;
	right: 24px;
	width: 228px;
	height: 47px;
	font: 23px/47px UbuntuCond;
	color: #fff;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	background: #0086bd url('../img/bf.png') 0 0 no-repeat;
	border-radius: 10px;
	background-image: -webkit-linear-gradient(to bottom right, #6ba349 0%, #3a810e 50%, #2b610b 100%);
	background-image: -moz-linear-gradient(to bottom right, #6ba349 0%, #3a810e 50%, #2b610b 100%);
	background-image: linear-gradient(to bottom right, #6ba349 0%, #3a810e 50%, #2b610b 100%);
	-webkit-box-shadow: 3px 3px 6px 0px rgba(0, 0, 0, .6);
	-moz-box-shadow:    3px 3px 6px 0px rgba(0, 0, 0, .6);
	box-shadow:         3px 3px 6px 0px rgba(0, 0, 0, .6);
	overflow: hidden;
}

/*---------------------------------------------*/

.top_menu {
	background-image: -webkit-linear-gradient(to bottom, #45acd6 0%, #70c8f2 25%, #77cdf6 33%, #81d4fd 50%, #77cdf6 66%, #70c8f2 70%, #47add7 100%);
	background-image: -moz-linear-gradient(to bottom, #45acd6 0%, #70c8f2 25%, #77cdf6 33%, #81d4fd 50%, #77cdf6 66%, #70c8f2 70%, #47add7 100%);
	background-image: linear-gradient(to bottom, #45acd6 0%, #70c8f2 25%, #77cdf6 33%, #81d4fd 50%, #77cdf6 66%, #70c8f2 70%, #47add7 100%);
}

.top_menu .center {
	height: 55px;
	padding: 0;
	overflow: visible;
}

.top_menu .center > ul {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: stretch;
	height: 55px;
	padding: 0 100px;
}

.top_menu .center > ul > li {
	position: relative;
	font: 20px/53px PTSans;
	text-transform: uppercase;
}

.top_menu .center > ul > li > a {
	position: relative;
	display: block;
	height: 55px;
	padding: 0 20px 0 20px;
	color: #000;
	text-decoration: none;
	outline: none;
	border-top: 2px solid transparent;
	border-bottom: 2px solid transparent;
}

.top_menu .center > ul > li > a > span::before {
	display: inline-block;
	height: 55px;
	vertical-align: middle;
	content: "";
}

.top_menu .center > ul > .active > a,
.top_menu .center > ul > li:hover > a {
	border-top: 2px solid #f9d8b6;
	border-bottom: 2px solid #f9d8b6;
	background-image: -webkit-linear-gradient(to bottom, #825a3a 0%, #e6c4a3 33%, #f9d8b7 48%, #f9d8b7 52%, #e6c4a3 67%, #825a3a 100%);
	background-image: -moz-linear-gradient(to bottom, #825a3a 0%, #e6c4a3 33%, #f9d8b7 48%, #f9d8b7 52%, #e6c4a3 67%, #825a3a 100%);
	background-image: linear-gradient(to bottom, #825a3a 0%, #e6c4a3 33%, #f9d8b7 48%, #f9d8b7 52%, #e6c4a3 67%, #825a3a 100%);
}

.top_menu .center > ul > li:hover > .tm_sub_menu {
	display: inline-block;
}

.top_menu .center > ul > li > .tm_sub_menu {
	display: none;
	position: absolute;
	top: 53px;
	left: 0;
	width: 200px;
	list-style: none;
	overflow: hidden;
	z-index: 100;
}

.top_menu .center > ul > li:last-child > .tm_sub_menu {
	right: 0;
}

.tm_sub_menu li {
	border-top: 2px solid #f9d8b6;
}

.tm_sub_menu li:first-child {

}

.tm_sub_menu li:last-child {
	border-bottom: 2px solid #f9d8b6;
}

.tm_sub_menu li a {
	display: block;
	padding: 0 17px;
	line-height: 37px;
	color: #000;
	text-decoration: none;
	background-image: -webkit-linear-gradient(to bottom, #45acd6 0%, #70c8f2 25%, #77cdf6 33%, #81d4fd 50%, #77cdf6 66%, #70c8f2 70%, #47add7 100%);
	background-image: -moz-linear-gradient(to bottom, #45acd6 0%, #70c8f2 25%, #77cdf6 33%, #81d4fd 50%, #77cdf6 66%, #70c8f2 70%, #47add7 100%);
	background-image: linear-gradient(to bottom, #45acd6 0%, #70c8f2 25%, #77cdf6 33%, #81d4fd 50%, #77cdf6 66%, #70c8f2 70%, #47add7 100%);
}

.tm_sub_menu li a:hover {
	text-decoration: underline;
}

.top_menu .center > ul > li > ul > .active > a,
.top_menu .center > ul > li > ul > li:hover > a {
	background-image: -webkit-linear-gradient(to bottom, #825a3a 0%, #e6c4a3 33%, #f9d8b7 48%, #f9d8b7 52%, #e6c4a3 67%, #825a3a 100%);
	background-image: -moz-linear-gradient(to bottom, #825a3a 0%, #e6c4a3 33%, #f9d8b7 48%, #f9d8b7 52%, #e6c4a3 67%, #825a3a 100%);
	background-image: linear-gradient(to bottom, #825a3a 0%, #e6c4a3 33%, #f9d8b7 48%, #f9d8b7 52%, #e6c4a3 67%, #825a3a 100%);
	text-decoration: none;
}

/*---------------------------------------------*/

.content {
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: stretch;
	width: 100%;
	overflow: hidden;
}

.categories .content article {
	background: url('../img/bg_prod.png') 29px 0 repeat-y;
}

.products .content article {
	background: url('../img/fish2.png') right 40px no-repeat, url('../img/fish1.png') 40px 98% no-repeat;
}

.catalog .content article {
	background: url('../img/bg_cats.png') 20px 180px no-repeat;
}

.content::before {
	position: absolute;
	display: block;
	bottom: 0;
	left: 50%;
	width: 202px;
	height: 194px;
	margin-left: -748px;
	background: url('../img/ship.png') 0 0 no-repeat;
	opacity: .4;
	z-index: 0;
	content: "";
}

.content::after {
	position: absolute;
	display: block;
	bottom: 7px;
	right: 50%;
	width: 130px;
	height: 132px;
	margin-right: -671px;
	background: url('../img/helm.png') 0 0 no-repeat;
	opacity: .4;
	z-index: 0;
	content: "";
}

.catalog .content::before,
.catalog .content::after,
.products .content::before,
.products .content::after,
.categories .content::before,
.categories .content::after {
	display: none;
}

.content .center {
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: stretch;
	z-index: 1;
}

.content article {
	width: 896px;
	padding: 25px 0 50px 21px;
	line-height: 28px;
	order: 2;
}

.content article.main_text {
	width: 100%;
	padding: 25px 0 50px;
	order: 1;
}

.left {
	width: 297px;
	margin: 0 0 35px;
	padding: 20px 0 50px;
	order: 1;
}


.left h2 {
	margin: 8px 0 20px;
	padding: 0 0 0 24px;
	font: 30px PTSans;
	text-transform: uppercase;
	text-align: left;
	color: #774f2f;
	text-shadow: #ffdfbd 1px 0px, #ffdfbd 1px 1px, #ffdfbd 0px 1px, #ffdfbd -1px 1px, #ffdfbd -1px 0px, #ffdfbd -1px -1px, #ffdfbd 0px -1px, #ffdfbd 1px -1px, #ffdfbd 0 0 3px, #ffdfbd 0 0 3px, #ffdfbd 0 0 3px, #ffdfbd 0 0 3px, #ffdfbd 0 0 3px, #ffdfbd 0 0 3px, #ffdfbd 0 0 3px, #ffdfbd 0 0 3px, 2px 2px 6px rgba(0,0,0,0.8);
	z-index: 1;
}

.free_block {
	width: 100%;
	margin-top: 30px;
	overflow: hidden;
}

/*---------------------------------------------*/

.side_menu > ul {

}

.side_menu > ul > li {
	position: relative;
	font: 21px PTSans;
}

.side_menu > ul > li > a {
	position: relative;
	display: block;
	padding: 11px 10px 12px 24px;
	color: #000;
	text-decoration: none;
	background-image: background-image: -webkit-linear-gradient(to bottom, #825a3a 0%, #e6c4a3 33%, #f9d8b7 48%, #f9d8b7 52%, #e6c4a3 67%, #825a3a 100%);
	background-image: -moz-linear-gradient(to bottom, #825a3a 0%, #e6c4a3 33%, #f9d8b7 48%, #f9d8b7 52%, #e6c4a3 67%, #825a3a 100%);
	background-image: linear-gradient(to bottom, #825a3a 0%, #e6c4a3 33%, #f9d8b7 48%, #f9d8b7 52%, #e6c4a3 67%, #825a3a 100%);
	outline: none;
}

.side_menu > ul > .active > a,
.side_menu > ul > li > a:hover {
	background-image: -webkit-linear-gradient(to bottom, #45acd6 0%, #70c8f2 25%, #77cdf6 33%, #81d4fd 50%, #77cdf6 66%, #70c8f2 70%, #47add7 100%);
	background-image: -moz-linear-gradient(to bottom, #45acd6 0%, #70c8f2 25%, #77cdf6 33%, #81d4fd 50%, #77cdf6 66%, #70c8f2 70%, #47add7 100%);
	background-image: linear-gradient(to bottom, #45acd6 0%, #70c8f2 25%, #77cdf6 33%, #81d4fd 50%, #77cdf6 66%, #70c8f2 70%, #47add7 100%);
}

/*---------------------------------------------*/

.cat_nav {
	margin: 0 0 25px;
}

.cat_nav ul {
	font: 20px PTSans;
}

.cat_nav ul li {
	display: inline;
	padding: 0;
	background: url('../img/arr_lft.png') right center no-repeat;
}

.cat_nav a {
	font-style: normal;
	color: #333131;
	text-decoration: underline;
}

.cat_nav a:hover {
	text-decoration: none;
}

.product_block_cont {
	display: flex;
	flex-flow: wrap;
	flex-direction: row;
	justify-content: center;
	align-items: stretch;
	margin: 15px 0 0;
}

.product_block_cont .product_block {
	width: 210px;
	margin: 0 60px 20px;
	font: 17px/24px OSansCondB;
	color: #000;
	text-align: center;
}

.product_block_cont .product_block:nth-of-type(3n-2) {
	margin-left: 0;
}

.product_block_cont .product_block:nth-of-type(3n),
.product_block_cont .product_block:last-of-type {
	margin-right: 0;
}

.product_block a:first-child {
	display: block;
	width: 210px;
	height: 210px;
	margin: 0 0 20px;
	text-align: center;
	background: url('../img/prod_border.png') 0 0 no-repeat;
	overflow: hidden;
	outline: none;
}

.product_block a:first-child::after {
	display: inline-block;
	height: 210px;
	vertical-align: middle;
	content: "";
}

.product_block a:first-child img {
	display: inline-block;
	vertical-align: middle;
}

.product_block a:last-child {
	display: inline-block;
	font: 24px/24px OSansCondB;
	color: #000;
	text-decoration: none;
}

.cat_product_block {
	margin: 0 0 17px;
}

.cat_product_block a:first-child {
	display: inline-block;
	margin: 0 15px 0 0;
	vertical-align: middle;
}

.cat_product_block img {
	vertical-align: middle;
}

.cat_product_block a:last-child {
	display: inline-block;
	max-width: 770px;
	font: 24px/24px UbuntuCond;
	color: #000;
	vertical-align: middle;
	text-decoration: none;
}

.prod_img {
	display: block;
	position: relative;
	float: left;
	width: 210px;
	height: 210px;
	margin: 5px 35px 7px 30px;
	background: #fff;
	border-radius: 105px;
	overflow: hidden;
}

.prod_img::after {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 210px;
	height: 210px;
	background: url('../img/prod_border2.png') 0 0 no-repeat;
	z-index: 1;
	content: "";
}

.prod_img img {
	width: 204px;
	height: 204px;
	margin: 3px auto 0;
	border-radius: 102px;
}

/*---------------------------------------------*/

.advantages {
	position: relative;
	background: #f1eff4;
}

.advantages::before {
	position: absolute;
	display: block;
	top: -18px;
	left: 0;
	width: 100%;
	height: 43px;
	background: url('../img/line_cntr0.png') center 0 no-repeat, url('../img/line.png') 0 16px repeat-x;
	z-index: 2;
	content: "";
}

.advantages::after {
	position: absolute;
	display: block;
	bottom: -25px;
	left: 0;
	width: 100%;
	height: 43px;
	background: url('../img/line_cntr1.png') center 0 no-repeat, url('../img/line.png') 0 16px repeat-x;
	z-index: 2;
	content: "";
}

.advantages .center {
	min-height: 330px;
	background-image: -webkit-linear-gradient(to right, #f1eff4 0%, #fff 45%, #fff 55%, #f1eff4 100%);
	background-image: -moz-linear-gradient(to right, #f1eff4 0%, #fff 45%, #fff 55%, #f1eff4 100%);
	background-image: linear-gradient(to right, #f1eff4 0%, #fff 45%, #fff 55%, #f1eff4 100%);
}

.advantages ul {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: stretch;
}

.advantages ul li {
	min-width: 145px;
	padding: 130px 0 26px;
	font: 17px/24px OSansCondB;
	color: #000;
	text-align: center;
}

.advantages ul li:nth-child(1) {
	background: url('../img/adv0.png') center 0 no-repeat
}

.advantages ul li:nth-child(2) {
	background: url('../img/adv1.png') center 0 no-repeat
}

.advantages ul li:nth-child(3) {
	background: url('../img/adv2.png') center 0 no-repeat
}

.advantages ul li:nth-child(4) {
	background: url('../img/adv3.png') center 0 no-repeat
}

.advantages ul li:nth-child(5) {
	background: url('../img/adv4.png') center 0 no-repeat
}

.advantages ul li:nth-child(6) {
	background: url('../img/adv5.png') center 0 no-repeat
}


/*---------------------------------------------*/

.main_products .center {
	min-height: 480px;
	background: url('../img/fish1.png') 12px 27px no-repeat, 
				url('../img/fish2.png') 670px 355px no-repeat,
				url('../img/fish3.png') 940px 65px no-repeat;
}

.main_products ul {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: stretch;
}

.main_products ul li {
	width: 210px;
	padding: 0 0 26px;
	font: 17px/24px OSansCondB;
	color: #000;
	text-align: center;
}

.main_products ul li a:first-child {
	display: block;
	width: 210px;
	height: 210px;
	margin: 0 0 20px;
	text-align: center;
	background: url('../img/prod_border.png') 0 0 no-repeat;
	overflow: hidden;
	outline: none;
}

.main_products ul li a:first-child::after {
	display: inline-block;
	height: 210px;
	vertical-align: middle;
	content: "";
}

.main_products ul li a:first-child img {
	display: inline-block;
	vertical-align: middle;
}

.main_products ul li a:last-child {
	display: inline-block;
	padding: 0 30px;
	color: #000;
	text-decoration: none;
}

/*---------------------------------------------*/

.map {
	position: relative;
	height: 408px;
	background: #fff;
}

.map::after {
	position: absolute;
	display: block;
	top: -15px;
	left: 0;
	width: 100%;
	height: 26px;
	background: url('../img/line2.png') 0 0 repeat-x;
	z-index: 5;
	content: "";
}

.map .center {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 1240px;
	height: 408px;
	margin: 0 auto;
	z-index: 1;
}

.contacts {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 133px;
	width: 380px;
	margin: auto 0;
	padding: 30px 25px;
	background: rgba(255,255,255,.8);
	z-index: 2;
}

.contacts span {
	display: inline-block;
	margin: 0 0 30px;
	font: 26px UbuntuCond;
}

/*---------------------------------------------*/

footer {
	background-image: -webkit-linear-gradient(to bottom, #45acd6 0%, #70c8f2 25%, #77cdf6 33%, #81d4fd 50%, #77cdf6 66%, #70c8f2 70%, #47add7 100%);
	background-image: -moz-linear-gradient(to bottom, #45acd6 0%, #70c8f2 25%, #77cdf6 33%, #81d4fd 50%, #77cdf6 66%, #70c8f2 70%, #47add7 100%);
	background-image: linear-gradient(to bottom, #45acd6 0%, #70c8f2 25%, #77cdf6 33%, #81d4fd 50%, #77cdf6 66%, #70c8f2 70%, #47add7 100%);
}

footer .center {
	height: 103px;
}

.copy {
	position: absolute;
	top: 26px;
	left: 24px;
	height: 50px;
	padding: 0 0 0 55px;
	font: 18px/50px UbuntuCond;
	color: #000;
	background: url('../img/foo.png') 0 center no-repeat;
}

.f_counter {
	position: absolute;
	top: 36px;
	left: 0;
	right: 0;
	width: 83px;
	margin: 0 auto;
}

.gal {
	position: absolute;
	top: 36px;
	right: 10px;
	width:185px;
	padding: 0 0 0 34px;
	font: 14px UbuntuCond;
	color: #000;
	text-align: left;
	background: url('../img/gala.png') 0 center no-repeat;
	white-space: nowrap;
}

.gal a {
	color: #000;
	text-decoration: underline;
}

.gal a:hover {
	text-decoration: none;
}

/*--------------------------------------------------*/
div.counter {
	width: 100%;
	margin: 0 0 40px;
	font: bold 14px/23px Arial;
	text-align: left;
}

div.counter a,
div.counter span {
	display:inline-block;
	width: 23px;
	height: 23px;
	text-align: center;
	color: #000 !important;
	text-decoration: none !important;
	vertical-align: middle;
	border-radius: 11px;
}

div.counter a:first-child {
	background: url('../img/cnt_arr_left.png') center center no-repeat;
	
}

div.counter span:first-child {
	background: url('../img/cnt_arr_left.png') center center no-repeat;
	
}

div.counter a:last-child {
	background: url('../img/cnt_arr_right.png') center center no-repeat;
	
}

div.counter span:last-child {
	background: url('../img/cnt_arr_right.png') center center no-repeat;
	
}

div.counter .p {
	background: #0083b9;
	color: #fff !important;
}

/*---------------------------------------------*/

.bg {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	background: rgba(0, 0, 0, .6);
	z-index: 200;
}

.form {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 654px;
	height: 438px;
	margin: auto;
	padding: 44px 39px 25px;
	background: #53942b;
	border-radius: 10px;
	color: #fff;
	z-index: 250;
}

.form .close {
	position: absolute;
	top: -10px;
	right: -10px;
	width: 28px;
	height: 28px;
	background: #fff url('../img/close.png') center center no-repeat;
	border-radius: 14px;
	overflow: hidden;
	z-index: 300;
}

.form label {
	display: block;
	width: 578px;
	margin: 0 auto 12px;
	font: 18px OSansCondB;
}

.form input, .form textarea {
	display: inline-block;
	width: 578px;
	height: 39px;
	padding: 2px 7px;
	border:none;
	border-radius: 5px;
	font: 18px OSansCondB;
	color: #8d8d8d;
	outline: none;
	vertical-align: middle;
}

.form textarea {
	height: 125px;
	padding: 5px 7px;
	resize: none;
	vertical-align: top;
}

.form label + span {
	display: block;
	margin: 0 0 20px;
	padding-left: 5px;
	font: 16px OSansCondB;
}

.form input[name="conf"] {
	width: auto;
	height: auto;
	vertical-align: middle;
}

.form input[name="send"] {
	display: block;
	position: relative;
	top: 0;
	right: 0;
	width: 205px;
	height: 42px;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	text-transform: uppercase;
	line-height: 42px;
	font: 25px OSansCondB;
	color: #fff;
	cursor: pointer;
}

.alert {
	position: relative;
	padding: 10px;
	background: #ff0000;
	text-align: center;
	border-bottom: 1px solid #000;
}

.alert_close {
	position: absolute;
	top: 5px;
	right: 10px;
	cursor: pointer;
}

.no-js body::before {
	position: relative;
	display: block;
	padding: 10px;
	background: #ff0000;
	text-align: center;
	border-bottom: 1px solid #000;
	content: "Сайт может отображаться и работать некорректно, поскольку в Вашем браузере отключен javascript.";
}

/*DW*/
.btn{
	padding: 0;
	border: none;
}
a.btn:hover {
    color: #fff;
}
.btn:not(:disabled):not(.disabled):active, 
.btn:not(:disabled):not(.disabled).active {
    background-image: linear-gradient(to bottom right, #6ba349 0%, #3a810e 50%, #2b610b 100%);
}
.btn-main{
    display: block;
    width: 228px;
    height: 47px;
    font: 23px / 47px UbuntuCond;
    color: #fff;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 10px;
    background-image: -webkit-linear-gradient(to bottom right, #6ba349 0%, #3a810e 50%, #2b610b 100%);
    background-image: -moz-linear-gradient(to bottom right, #6ba349 0%, #3a810e 50%, #2b610b 100%);
    background-image: linear-gradient(to bottom right, #6ba349 0%, #3a810e 50%, #2b610b 100%);
    -webkit-box-shadow: 3px 3px 6px 0px rgba(0, 0, 0, .6);
    -moz-box-shadow: 3px 3px 6px 0px rgba(0, 0, 0, .6);
    box-shadow: 3px 3px 6px 0px rgba(0, 0, 0, .6);
    overflow: hidden;
    margin: 0 auto;
    cursor: pointer;
}
.index-news {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.index-news .item .box-img {
    aspect-ratio: 4 / 2;
}
.index-news .item .box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.index-news .item a{
	text-decoration: none;
}
.index-news .item p.new_name {
    color: #333;
    font: 19px / 26px OSansCondB;
    margin-bottom: 8px;
    margin-top: 8px;
    transition: all .3s;
}
.index-news .item a:hover p.new_name{
	color: #7f5e3f;
}
.index-news .item .new_date {
    color: #7e5e3e;
    font-size: 15px;
}

/*MODAL*/
.modal.show {
    overflow-x: hidden;
    overflow-y: auto;
}
.modal-dialog.modal-form {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    max-height: calc(100% - 10px);
    width: calc(100% - 30px);
    max-width: 560px;
}
button.close-modal {
    background-color: transparent;
    position: absolute;
    right: -40px;
    top: -40px;
    border: none;
    outline: none;
}
.modal-form .modal-content {
    border-radius: 15px;
    border: none;
    background-color: #fff;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #333;
    padding: 30px 50px;
}
.light-theme .modal-form .modal-content{
    background-color: #fff;
}

.fade {
    background: rgba(51, 51, 51, 0.3); !important;
    backdrop-filter: blur(4px);
}
.modal-backdrop.show {
    opacity: 1;
}

.modal-form h3{
    font: 37px Cuprum;
    text-align: center;
    color: #333;
    margin-bottom: 14px;
}

.modal-body{
    padding: 0;
}

input.form-control, 
textarea.form-control,
select.form-control{
    border: 1px solid transparent;
    border-radius: 5px;
    height: 56px;
    font-weight: 300;
    font-size: 18px;
    color: #333;
    margin-bottom: 14px;
    outline: none;
    background: #e6c4a3;
	color: #333;
    height: 45px;
    padding: 5px 10px;
	border-radius: 5px;
	font: 18px OSansCondB;
}
select.form-control:not([size]):not([multiple]){
    height: 61px;
    cursor: pointer;
}
select.form-control {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}
select.form-control:not([multiple]) {
    background-repeat: no-repeat;
    background-position: right 17px center;
    background-size: 9px;
    background-image: url("data:image/svg+xml,%3Csvg width='9' height='9' viewBox='0 0 9 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.15101 7.61032C3.7209 8.64648 5.20977 8.64648 5.77966 7.61032L8.74275 2.22288C9.29257 1.2232 8.56933 0 7.42843 0H1.50224C0.361335 0 -0.361908 1.2232 0.187915 2.22288L3.15101 7.61032Z' fill='%23333333' /%3E%3C/svg%3E");
}
select.form-control::-ms-expand {
  display: none;
}
textarea.form-control{
    resize: none;
    height: 125px;
}
input.form-control::placeholder, 
textarea.form-control::placeholder{
    color: #333;
}
input.form-control:focus,
textarea.form-control:focus{
    border: 1px solid #47add7;
}

.form-text-bottom{
    margin-bottom: 15px;
    text-align: left;
    color: #333;
    font-weight: 300;
    font-size: 12px;
}
.form-text-bottom p {
    margin-bottom: 6px;
}
.form-text-bottom a{
    text-decoration: underline;
}
.form-text-bottom a:hover{
    text-decoration: none;
}
label.custom-checkbox {
    margin-bottom: 0;
    text-align: left;
    max-width: 100%;
}
.custom-checkbox>input {
  position: absolute;
  z-index: -1;
  opacity: 0;
  height: auto !important;
    margin: 0 !important;
}
.custom-checkbox>span {
  user-select: none;
  cursor: pointer;
}
.custom-checkbox>span::before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  flex-grow: 0;
  border-radius: 3px;
  margin-right: 9px;
  background-repeat: no-repeat;
  background-position: center center;
  border: 1px solid #333;
  margin-top: 0;
  background-size: 9px;
  position: relative;
  top: 3px;
}

.custom-checkbox>input:not(:disabled):not(:checked)+span:hover::before {
  background-color: #fff;
}
.custom-checkbox>input:checked+span::before {
    background-image: url("data:image/svg+xml,%3Csvg width='9' height='10' viewBox='0 0 9 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4.07143L3.76923 7.5L8 1.5' stroke='white' stroke-width='2' stroke-linecap='round' /%3E%3C/svg%3E");
    background-color: #333;
}
.custom-checkbox>input:disabled+span::before {
  background-color: #fff;
}
.form-control:disabled, 
.form-control[readonly] {
    background-color: #fff;
    opacity: 1;
}
.copy p {
    height: 25px;
}
.copy p a{
    text-decoration: underline;
}
.copy p a:hover{
    text-decoration: none;
}