* { margin: 0; padding: 0; box-sizing: border-box; }

html { height: 100%; }

body {
	background: #FDFDFD;
	font-family: "Jost", sans-serif;
	color: #333333;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 16pt;
	line-height: 1.3;
	height: 100%;
	padding: 140px 0 0 0;
}
@media only screen and (max-width: 800px) {
body {
	padding: 0;
}
}

H1 {
    font-family: "Mulish", sans-serif;
    font-optical-sizing: auto;
    color: #01669A;
    margin: 0 0 40px 0;
    font-weight: 500;
    font-size: 40pt;
    line-height: 1.2;
    font-style: normal;
}
H2 {
    font-family: "Mulish", sans-serif;
    font-optical-sizing: auto;
    color: #006666;
    margin: 0 0 25px 0;
    font-weight: 500;
    font-size: 25pt;
    line-height: 1.2;
    font-style: normal;
}
H3 {
	margin: 20px 0;
	font-family: "Jost", sans-serif;
	font-optical-sizing: auto;
	color: #006666;
	font-weight: 400;
	font-style: normal;
	word-spacing: 1px;
	letter-spacing: 1px;
	line-height: 1.3;
	font-size: 18pt;
}
H4 {
	margin: 20px 0;
	font-family: "Jost", sans-serif;
	font-optical-sizing: auto;
	color: #000000;
	font-weight: 400;
	font-style: normal;
	word-spacing: 1px;
	letter-spacing: 1px;
	line-height: 1.3;
	font-size: 16pt;
}
@media only screen and (max-width: 800px) {
H1 {
    font-size: 30pt;
}
H2 {
    font-size: 24pt;
}
}
	
a {
    color: #006699;
    text-decoration: none;
    -webkit-transition: color 0.25s ease-out;
    -moz-transition: color 0.25s ease-out;
    -ms-transition: color 0.25s ease-out;
    -o-transition: color 0.25s ease-out;
    transition: color 0.25s ease-out;
}

a:hover { color: #33CCCC; text-decoration: none; }

p {
	margin: 0 0 10px 0;
	font-family: "Jost", sans-serif;
	font-optical-sizing: auto;
	color: #333333;
	font-weight: 400;
	font-style: normal;
	word-spacing: 1px;
	letter-spacing: 1px;
	line-height: 1.3;
	font-size: 16pt;
}

ol li {
	margin: 0 0 0 40px;
	padding: 0 0 0 15px;
	word-spacing: 2px;
	line-height: 1.3;
	list-style-position: outside;
}
ul { margin: 25px 0; }
ol { margin: 25px 0; }
ul li {
	margin: 0 0 0 40px;
	padding: 0 0 0 15px;
	word-spacing: 2px;
	line-height: 1.3;
	list-style-type: circle;
	list-style-position: outside;
}

/*Стили таблиц*/
table {
	margin: 0;
	width: 100%;
}
table tr:nth-child(even) { background-color: #F5F9FC; }

table, tr, td, th {
	color: #252525;
	border: 1px solid #F5F9FC;
	border-collapse: collapse;
}

td, th { padding: 5px 10px; }

th { font-weight: bold; background-color: #F5F9FC; }
/*Стили таблиц конец*/

/*Блоки шапки*/
header {
	background: rgba(255, 255, 255, 0.7);
	-webkit-box-shadow: 0px 12px 23px -12px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0px 12px 23px -12px rgba(0, 0, 0, 0.2);
	box-shadow: 0px 12px 23px -12px rgba(0, 0, 0, 0.2);
	top: 0px;
	padding: 0 15%;
	height: 140px;
	width: 100%;
	position: fixed;
	z-index: 1000;
	backdrop-filter: blur(5px);
	border-bottom: 1px solid rgba(200, 200, 200, 0.3);
	transition: all 0.4s ease;
}
header:hover { background: rgba(255, 255, 255, 0.9); }
.header-cont { display: flex; flex-flow: column wrap; width: 100%; }
.header-lines {
	margin: 0;
	padding: 2px 0;
	flex: 0 1 auto;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	width: 100%;
}
.logo-box {
	flex: 0 1 15%;
	padding: 30px 0;
}
.logo-box img { width: 100%; height: auto; outline: none; }
.menu-box {
	flex: 0 1 65%;
	padding: 15px 0 15px 25px;
}

.rightside {
    flex: 0 1 20%;
    padding: 15px 0;
    text-align: right;
    position: relative;
}
.rightside .q_search {
    width: 100%;
}

/*Форма поиска*/
#story {
    width: 100%;
    font-size: 16pt;
    color: #333333;
    padding: 5px 30px 5px 5px;
    background: transparent;
    border: 1px solid #006699;
    border-radius: 5px;
    outline: none;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}
.q_search_btn {
    font-size: 16pt;
    top: 50%;
    right: 6px;
    padding: 0;
    border: none;
    outline: none;
    color: #006699;
    background-color: transparent;
    cursor: pointer;
    position: absolute;
    z-index: 100;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
    border-radius: 0;
    transform: translateY(-50%);
    line-height: 1;
}
#searchsuggestions {
	z-index: 2200;
	width: 300px;
	border-radius: 2px;
	background: #fff;
	box-shadow: 0 8px 40px -10px rgba(0,0,0,0.3);
	border: 1px solid #ddd; border-color: rgba(0,0,0,0.2);
	background-clip: padding-box;
	font-size: .9em;
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
	}
	#searchsuggestions a, #searchsuggestions span.notfound { padding: 15px 25px; display: block; text-decoration: none; border-bottom: 1px solid #e5e5e5; }
	#searchsuggestions a { color: inherit; }
	#searchsuggestions a:hover { background-color: #f7f7f7; }
	#searchsuggestions a span { display: block; cursor: pointer; }
	#searchsuggestions span.searchheading { display: block; font-weight: bold; margin-bottom: .2em; }
	#searchsuggestions span.seperator { display: block; }
	#searchsuggestions span.seperator a { padding: 10px 0; text-align: center; border: 0 none; background-color: transparent; color: #919191; }
	#searchsuggestions span.notfound { padding: 15px 25px; display: block; }
	#searchsuggestions .break { display: none; }
/*Форма поиска конец*/

@media only screen and (max-width: 1400px) {
header {
	padding: 0 8%;
	height: auto;
	width: 100%;
}
}
@media only screen and (max-width: 1200px) {
header {
	padding: 0 2%;
	height: auto;
	width: 100%;
}
}
@media only screen and (max-width: 800px) {
header {
	padding: 0;
	height: auto;
	width: 100%;
	position: relative;
	z-index: 100;
}
.logo-box {
	flex: 0 1 100%;
	text-align: center;
	padding: 30px 0;
	border-bottom: 1px solid #006699;
}
.logo-box img { width: 60%; height: auto; outline: none; margin: 0 auto; }
.menu-box {
	flex: 0 1 100%;
	padding: 15px 0 15px 25px;
}
.rightside {
    display: none;
}
}
/*Блоки шапки конец*/

/* Основной контент */
.content {
	background: #FFFFFF;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	align-content: center;
	margin: 0px;
	padding: 70px 15%;
	height: auto;
	width: 100%;
	position: relative;
}
@media only screen and (max-width: 1400px) {
.content {
	padding: 70px 8%;
}
}
@media only screen and (max-width: 1200px) {
.content {
	padding: 70px 2%;
}
}
@media only screen and (max-width: 800px) {
.content {
	padding: 70px 0;
}
}
/* Основной контент конец */

/* Подвал */
footer {
	font-family: "Jost", sans-serif;
	font-size: 16pt;
	color: #FFFFFF;
	background-color: #496B83;
	text-align: center;
	display: block;
	margin: 0px;
	padding: 25px 0;
	height: auto;
	width: 100%;
	position: relative;
}
/* Подвал конец */

/*Прозрачная кнопка*/
.btn-major {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    color: #CC7357;
    border: 2px solid #CC7357;
    border-radius: 4px;
    font-family: "Jost", sans-serif;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Эффекты при наведении - деликатные, но запоминающиеся */
.btn-major:hover {
    color: white;
    background: #CC7357;
    box-shadow: 0 4px 12px rgba(204, 115, 87, 0.25);
    transform: translateY(-2px);
}

/* Аккуратная анимация "пульсации" */
.btn-major:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(204, 115, 87, 0.3);
}

/* Минималистичный эффект "волны" */
.btn-major::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.5);
    opacity: 0;
    border-radius: 100%;
    transform: translate(-50%, -50%) scale(1, 1);
    transition: all 0.5s ease;
}

.btn-major:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(20, 20);
}
@media only screen and (max-width: 600px) {
.btn-major {
    width: 100%;
    text-align: center;
}
}
.btn-blue {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    color: #496B83;
    border: 2px solid #496B83;
    border-radius: 4px;
    font-family: "Jost", sans-serif;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Эффекты при наведении - деликатные, но запоминающиеся */
.btn-blue:hover {
    color: white;
    background: #496B83;
    box-shadow: 0 4px 12px rgba(73, 107, 131, 0.25);
    transform: translateY(-2px);
}

/* Аккуратная анимация "пульсации" */
.btn-blue:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(73, 107, 131, 0.3);
}

/* Минималистичный эффект "волны" */
.btn-blue::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.5);
    opacity: 0;
    border-radius: 100%;
    transform: translate(-50%, -50%) scale(1, 1);
    transition: all 0.5s ease;
}

.btn-blue:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(20, 20);
}
@media only screen and (max-width: 600px) {
.btn-blue {
    width: 100%;
    text-align: center;
}
}
/*Прозрачная кнопка конец*/

/*Белая кнопка*/
.btn-white {
	display: inline-block;
	cursor: pointer;
	font-size: 21px;
	text-decoration: none;
	text-transform: uppercase;
	padding: 10px 20px;
	color: #ffffff;
	font-weight: 500;
	background: transparent;
	border-radius: 6px;
	border: 2px solid #ffffff;
}

.btn-white:hover{
	background: #ffffff;
	color: #333333;
	border: 2px solid #ffffff;
	transition: all 0.6s ease-in-out;
}
/*Белая кнопка конец*/

/* Параллакс */
.bg-ex-parallax {
	background-repeat: no-repeat;
	top: 0;
	width: 100%;
	padding: 70px 15%;
	min-height: 80%;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bg-ex-parallax .two-column p {
	margin: 0 0 25px 0;
	color: #FFFFFF;
	font-family: "Jost", sans-serif;
	font-optical-sizing: auto;
	font-weight: weight;
	font-style: 400;
	word-spacing: 2px;
	line-height: 1.8;
	font-size: 18pt;
	text-shadow: 1px 1px 2px #000000;
}

.bg-ex-parallax .two-column H1 {
    font-family: "Mulish", sans-serif;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 40pt;
    line-height: 1.3;
    text-shadow: 1px 1px 2px #000000;
}

.bg-ex-parallax .two-column .btn-white {
    text-shadow: none;
}

.bg-ex-parallax .two-column img {
	transition: 1s;
}

.bg-ex-parallax .two-column img:hover { transform: scale(1.2); }
@media only screen and (max-width: 1400px) {
.bg-ex-parallax {
	padding: 70px 8%;
}
}
@media only screen and (max-width: 1200px) {
.bg-ex-parallax {
	padding: 70px 2%;
}
}
@media only screen and (max-width: 800px) {
.bg-ex-parallax {
	padding: 70px 0;
}
}
/* Параллакс конец */

/* Две колонки */
.two-column {
	margin: 0;
	padding: 20px;
	flex: 0 1 50%;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	text-align: left;
}

.two-column img {
	width: 70%;
	height: auto;
	max-height: 70%;
	object-fit: contain;
	align-self: center;
	transition: 1s;
}

.two-column img:hover { transform: scale(1.2); }

/* Страница портфолио */
.two-column-portfolio {
	margin: 0;
	padding: 20px;
	flex: 0 1 50%;
	position: relative;
	display: flex;
	flex-direction: column;
	align-self: flex-start;
	text-align: left;
}

.two-column-portfolio img {
	width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
	align-self: center;
}
/* Страница портфолио конец */
/*Обертка картинки партфолио*/
.monitor {
  margin: 0 auto; 
  height: auto;
  width: 100%;
  position: relative;
  display: flex; /* Добавлено */
  justify-content: center;
  align-items: center;
}
.monitor img {
  margin: 0 auto; 
  height: auto;
  width: 100%;
}
@media only screen and (max-width: 800px) {
.monitor {
  width: 100%;
}
}
/*Обертка картинки партфолио конец*/
/* Две колонки услуги */
.two-column-same {
	margin: 0;
	padding: 20px;
	flex: 0 1 50%;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	text-align: left;
}

.two-column-same img {
	width: 100%;
	height: auto;
	object-fit: contain;
	align-self: center;
}
/* Две колонки услуги конец */
/* Две колонки конец */

/* Три колонки */
.three-column {
	margin: 2%;
	padding: 20px;
	flex: 0 1 29%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: linear-gradient(135deg,rgba(235, 240, 243, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(249, 251, 250, 1) 100%);
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.three-column H2 {
	margin: 0 0 20px 0;
	font-family: "Jost", sans-serif;
	font-optical-sizing: auto;
	color: #4A6380;
	font-weight: 400;
	font-style: normal;
	text-align: center;
	line-height: 1.3;
	font-size: 44pt;
}

.three-column H3 {
	margin: 0 0 10px 0;
	font-family: "Jost", sans-serif;
	font-optical-sizing: auto;
	color: #4A6380;
	font-weight: 400;
	font-style: normal;
	text-align: center;
	word-spacing: 1px;
	letter-spacing: 1px;
	line-height: 1.1;
	font-size: 18pt;
}

/* Для текста */
.three-column > * {
	margin: 8px 0;
	max-width: 90%;
	color: #000000;
	font-family: "Jost", sans-serif;
	font-size: 16pt;
	font-weight: 400;
}

.three-column > * { position: relative; z-index: 2; }

.three-column:hover {
	box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25),
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
	transform: translateY(-5px) scale(1.02);
}

.three-column::before { display: none; }
/* Три колонки конец */

/* Четыре колонки */
.four-column {
    margin: 0.5%;
    padding: 20px;
    flex: 0 1 24%;
    overflow: hidden;
    background: linear-gradient(135deg,rgba(235, 240, 243, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(249, 251, 250, 1) 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* ← Изменил на flex-start */
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: auto; /* Добавил */
    min-height: 100%; /* Добавил */
}

.four-column H2 {
	margin: 0 0 20px 0;
	font-family: "Jost", sans-serif;
	font-optical-sizing: auto;
	color: #4A6380;
	font-weight: 400;
	font-style: normal;
	text-align: center;
	line-height: 1.3;
	font-size: 40pt;
}

.four-column H3 {
	margin: 0 0 10px 0;
	font-family: "Jost", sans-serif;
	font-optical-sizing: auto;
	color: #4A6380;
	font-weight: 400;
	font-style: normal;
	text-align: center;
	word-spacing: 1px;
	letter-spacing: 1px;
	line-height: 1.1;
	font-size: 18pt;
}

.four-column > * {
    margin: 8px 0;
    max-width: 90%;
    color: #000000;
    font-family: "Jost", sans-serif;
    font-size: 16pt;
    font-weight: 400;
    flex-grow: 1; /* ← Растягиваем элементы */
}

.four-column p {
    flex-grow: 1; /* Особенно параграфы */
    display: flex;
    align-items: center; /* Центрируем текст по вертикали */
}

.four-column > * { position: relative; z-index: 2; }

.four-column:hover {
	box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25),
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
	transform: translateY(-5px) scale(1.02);
}

.four-column::before { display: none; }
/* Четыре колонки конец */

/* Сине-белый блок на первой странице */
.two-colors {
	background: #496B83;
	background: linear-gradient(180deg, rgba(73, 107, 131, 1) 50%, rgba(255, 255, 255, 1) 50%, rgba(245, 245, 245, 1) 100%);
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: stretch;
	align-content: center;
	margin: 0px;
	padding: 100px 15%;
	height: auto;
	width: 100%;
	position: relative;
}

.two-colors H1 {
	font-family: "Mulish", sans-serif;
	font-optical-sizing: auto;
	color: #FFFFFF;
	margin: 0 0 50px 0;
	font-weight: 500;
	font-size: 50pt;
	line-height: 1.2;
	font-style: normal;
	text-align: center;
	margin: 0 0 25px 0;
	width: 100%;
}
@media only screen and (max-width: 1400px) {
.two-colors {
	padding: 100px 8%;
}
}
@media only screen and (max-width: 1200px) {
.two-colors {
	padding: 100px 2%;
}
}
@media only screen and (max-width: 800px) {
.two-colors {
	background: #496B83;
	padding: 70px 0;
}
}
/* Сине-белый блок на первой странице */

/*Портфолио*/
.portfolio-small {
	flex: 0 1 29%;
	margin: 2%;
	padding: 1.5vw;
	aspect-ratio: 1 / 1;
	position: relative;
	overflow: hidden;
	border-radius: 5px;
	background-size: cover;
	background-position: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	border: 1px solid #5F9E9D;
}

.portfolio-small .content-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 20px;
	z-index: 2;
	color: #FFFFFF;
}

.portfolio-small .content-overlay h2 {
	color: #FFFFFF;
	font-weight: 300;
	font-size: clamp(1.2rem, 1.5vw, 1.8rem);
	text-align: center;
	margin: 0 0 1vw 0;
	line-height: 1.2;
}

.portfolio-small .content-overlay p {
	color: #FFFFFF;
	text-align: center;
	margin: 0.8vw 0;
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	transition: all 0.4s ease;
	font-size: clamp(0.9rem, 1vw, 1.2rem);
	line-height: 1.5;
	max-width: 90%;
}

.portfolio-small:hover  {
	box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25),
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
	transform: translateY(-5px) scale(1.02);
}

.portfolio-small:hover .content-overlay {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.portfolio-small:hover .content-overlay p { opacity: 1; max-height: 100px; }

.portfolio-small:hover::before { height: 100%; background: rgba(0,0,0,0.6); }

.portfolio-small::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 40%;
	background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
	z-index: 1;
	transition: all 0.4s ease;
}
/* Адаптация для планшетов */
@media (max-width: 992px) {
    .portfolio-small {
        flex: 0 0 calc(50% - 10px); /* 2 колонки */
    }
}

/* Адаптация для мобильных */
@media (max-width: 576px) {
    .portfolio-small {
        margin: 0 0 25px 0;
        flex: 0 0 100%; /* 1 колонка */
    }
}
/*Портфолио конец*/

/*Кнопка возврата*/
.btn-up {
  position: fixed;
  background-color: #FF9900;
  right: 10%;
  bottom: 0px; 
  border-top-left-radius: 8px; 
  border-top-right-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease-in-out;
  width: 60px;
  height: 50px;
  opacity: 1;
    z-index: 1000;
}

.btn-up::before {
  content: "";
  width: 40px;
  height: 40px;
  background: transparent no-repeat center center;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3E%3C/svg%3E");
}

.btn-up_hide {
  display: none;
}

.btn-up_hiding {
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .btn-up:hover {
    background-color: #FF8040; /* цвет заднего фона при наведении */
  }
}
/*Кнопка возврата конец*/

/* Стандартный пост */
.article-standard {
	background: white;
	width: 80%;
	padding: 50px;
	margin: 0 0 3rem 0;
	border-radius: 8px;
	box-shadow: 0 5px 25px rgba(0, 102, 153, 0.08);
	position: relative;
}
@media only screen and (max-width: 1200px) {
.article-standard {
	width: 98%;
	padding: 50px;
}
}
@media only screen and (max-width: 800px) {
.article-standard {
	padding: 10px;
}
}
/* Стандартный пост конец */

/* Калькулятор */
label {
	display: block;
	margin-bottom: 0px;
	font-weight: 400;
	font-size: 16pt;
	font-family: "Jost", sans-serif;
	color: #333333;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #007bff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

input[type="number"] {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 16px;
	margin-bottom: 10px;
	outline: none;
}

.form-group {
	margin-bottom: 5px;
	padding-bottom: 15px;
}

.result {
	background: #4A6380;
	color: white;
	padding: 20px;
	border-radius: 8px;
	text-align: center;
	margin-top: 20px;
	font-size: 24px;
	font-weight: bold;
	position: fixed;
	right: 1%;
	bottom: 15%;
	z-index: 100;
}
/* Калькулятор конец */

/* Выпадающий список */
*[dir="rtl"] .select-css, :root:lang(ar) .select-css, :root:lang(iw) .select-css {
	background-position: left .7em top 50%, 0 0;
	padding: .6em .8em .5em 1.4em;
}

.select-css {
	display: block;
	font-size: 14pt;
	font-family: "Jost", sans-serif;
	font-weight: 500;
	color: #444;
	line-height: 1.3;
	outline: none;
	padding: .6em 1.4em .5em .8em;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 15px 0 20px 0;
	border: 1px solid #aaa;
	box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
	border-radius: .5em;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'), linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
	background-size: .65em auto, 100%;
}

.select-css option { font-weight: normal; }

.select-css:hover { border-color: #CCCCCC; }

.select-css:focus {
	border-color: #aaa;
	box-shadow: 0 0 1px 3px rgba(204, 204, 204, .7);
	box-shadow: 0 0 0 3px -moz-mac-focusring;
	color: #222;
	outline: none;
}

.select-css::-ms-expand { display: none; }
/* Выпадающий список конец */

/* Стиль галереи */
.xfieldimagegallery {
    display: flex;
    flex-direction: row;
    width: 100%;
    list-style: none !important; /* Перебиваем circle */
    flex-wrap: wrap;
    margin: 25px 0 !important; /* Сохраняем отступы */
    padding: 0 !important; /* Убираем padding */
}

.xfieldimagegallery li {
    flex: 0 1 48%;
    margin: 1% !important; /* Перебиваем margin из .content */
    padding: 0 !important; /* Убираем наследуемый padding */
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
    transition: all 0.4s ease;
    border: 1px solid #006666;
    outline: none !important;
    box-shadow: none;
    /* Сбрасываем наследуемые свойства списка */
    list-style-type: none !important;
    list-style-position: inside !important;
    word-spacing: normal !important;
}

.xfieldimagegallery li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.xfieldimagegallery li:hover {
    box-shadow: 0px 12px 35px 8px rgba(34, 60, 80, 0.2);
    /* Фикс для белой линии */
    transform: translateZ(0); /* Аппаратное ускорение */
    backface-visibility: hidden;
}

/* Специальный фикс для сафари */
@supports (-webkit-touch-callout: none) {
    .xfieldimagegallery li {
        -webkit-mask-image: -webkit-radial-gradient(white, black);
    }
}
@media only screen and (max-width: 800px) {
.xfieldimagegallery li {
    flex: 0 1 48%;
}
}
@media only screen and (max-width: 600px) {
.xfieldimagegallery li {
    margin: 0 0 25px 0 !important;
    flex: 0 1 100%;
}
}
/* Стиль галереи конец */

/* Положение формы отправки */
.mail-block {
	background: white;
	display: flex;
	width: 80%;
	padding: 50px;
	margin: 0 auto;
	border-radius: 8px;
	box-shadow: 0 5px 25px rgba(0, 102, 153, 0.08);
	position: relative;
}
#sendmail {
	margin: 0px;
	height: auto;
	width: 100%;
	position: relative;
}

#sendmail iframe {
	margin: 0 0 50px 0;
	height: 450px;
	width: 100%;
	border: 0;
	position: relative;
}
.address {
	flex: 0 1 48%;
	margin: 1%;
	position: relative;
}
.wide {
	margin: 0 0 15px 0;
	color: #333333;
	font-size: 16pt;
	font-weight: 400;
	background: transparent;
	padding: 10px;
	height: auto;
	width: 98%;
	border: 1px solid #FF9900;
	border-radius: 5px;
	outline: none;
	resize: none;
	position: relative;
	transition: all 0.3s ease;
}
.wide:hover {
	-webkit-box-shadow: 0px 0px 16px -2px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0px 0px 16px -2px rgba(0, 0, 0, 0.2);
	box-shadow: 0px 0px 16px -2px rgba(0, 0, 0, 0.2);
}
.wide:active {
	-webkit-box-shadow: 0px 0px 16px -2px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0px 0px 16px -2px rgba(0, 0, 0, 0.2);
	box-shadow: 0px 0px 16px -2px rgba(0, 0, 0, 0.2);
}
.wide:focus {
	-webkit-box-shadow: 0px 0px 16px -2px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0px 0px 16px -2px rgba(0, 0, 0, 0.2);
	box-shadow: 0px 0px 16px -2px rgba(0, 0, 0, 0.2);
}
.c-captcha {
	margin: 0 0 50px 0;
	height: 50px;
	width: 100%;
	display: flex;
	position: relative;
}
#dle-captcha img {
	margin: 0;
	height: 80px;
	flex: 0 1 40%;
	position: relative;
}
.c-captcha input {
	margin-left: 15px;
	color: #CCCCCC;
	font-size: 30pt;
	font-weight: 400;
	background: transparent;
	padding: 40px 10px;
	height: auto;
	width: 50%;
	border: 1px solid #CCCCCC;
	text-align: center;
	outline: none;
	position: relative;
}
.form_submit .btn-major {
	width: 98%;
	font-size: 16pt;
}
@media only screen and (max-width: 1200px) {
.mail-block {
	width: 98%;
	padding: 50px;
}
}
@media only screen and (max-width: 800px) {
.mail-block {
	padding: 10px;
}
}
/* Положение формы отправки конец */