/*
	Theme Name: Mario Theme
	Version: 1.0
	Author: Тарасов Андрей
*/




/*--------------------------------------------------------------
>>> СОДЕРЖАНИЕ:
----------------------------------------------------------------
	CSS RESET
	ОБЩИЕ СТИЛИ
		Текстовый контент

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



/* ==========================================================================
	CSS RESET
========================================================================== */

body { margin: 0; }
main { display: block; }
hr { height: 0; overflow: visible; }
pre { font-family: monospace, monospace; font-size: 1em; margin: 0; }
a { background-color: transparent; }
abbr[title] { border-bottom: none; text-decoration: underline; text-decoration: underline dotted; }
b, strong { font-weight: bolder; }
code, kbd, samp { font-family: monospace, monospace; font-size: 1em; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }
img { border-style: none; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; }
button, input { overflow: visible; }
button, select { text-transform: none; }
button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; }
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; }
button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; }
fieldset { padding: 0.35em 0.75em 0.625em; }
legend { color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; }
progress { vertical-align: baseline; }
textarea { overflow: auto; }
[type="checkbox"], [type="radio"] { padding: 0; }
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; }
[type="search"] { -webkit-appearance: textfield; outline-offset: -2px; }
[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
details { display: block; }
summary { display: list-item; }
template, [hidden] { display: none; }
figure { margin: 0; }



/* ==========================================================================
	ОБЩИЕ СТИЛИ
========================================================================== */
*:not(.ab-icon):not(.ab-item):not(.dashicons):not(.fa):not(ymaps),
*:after, *:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
body {
	font: 16px/1.3 "Manrope", sans-serif;
}
body.admin-bar { padding-top: 32px; }
h1, h2, h3, h4, h5, h6 {
	line-height: 1.3;
	margin: 0;
}
h1 { font-size: 30px; }
h2 { font-size: 33px; font-weight: 800; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

a { transition: 0.3s; text-decoration: none; }
a img { vertical-align: bottom; }
em { font-style: italic; }
blockquote {
	border: dotted #666 1px;
	border-left: solid #ff5a00 5px;
	margin: 10px 40px;
	padding: 15px;
	color: #333;
	font-style: italic;
	background: #fcfcfc;
}
blockquote p { margin: 0; }
p { margin: 0;}
ul { margin: 0; padding: 0; list-style: none; }
ol { list-style: decimal inside; }
ol li { margin: 1rem 0; }
li {
	padding: 0 0 0 20px;
	margin: 0 0 6px;
	background: url(img/check.svg) no-repeat 0 5px;
}
input[type='submit'] { cursor: pointer; }
*:focus {
	outline: none !important;
	border-color: inherit;
	-webkit-box-shadow: none;
	box-shadow: none;
}
img {max-width: 100%; max-height: 100%; height: auto; border-style: none; }
iframe { display: block; max-width: 100%; border: none; }
table { width: 100%; border-collapse: collapse; border-spacing: 0; }
input, textarea { max-width: 100%; }
textarea { display: block; }
input:focus::-webkit-input-placeholder,
textarea:focus::-webkit-input-placeholder {
   color: transparent !important;
}
input:focus:-moz-placeholder,
textarea:focus:-moz-placeholder {
    color: transparent !important;
}
input:focus::-moz-placeholder,
textarea:focus::-moz-placeholder {
    color: transparent !important;
}
input:focus:-ms-input-placeholder,
textarea:focus:-ms-input-placeholder {
    color: transparent !important;
}
div#wpadminbar ~ span.select2-container, body.admin-bar > span.select2-container {
	padding-top: 32px !important;
}
@media screen and ( max-width: 782px ) {
	div#wpadminbar ~ span.select2-container, body.admin-bar > span.select2-container {
		padding-top: 46px !important;
	}
}

/* 													   Кнопки
------------------------------------------------------------- */
.btn {
	display: inline-block;
	padding: 14px 24px;
	color: #fff;
	background: #009A66;
	box-shadow: 0px 12px 32px 0px #009A6633;
	border-radius: 8px;
	border: none;
	transition: 0.3s;
}
.btn:hover {
	background: #0a855b;
}
.btn:active {
	transform: translateY(2px);
}

/* 								   Обтекание картинки текстом
------------------------------------------------------------- */
.aligncenter, [align="center"] {
	display: block;
	margin: 5px auto;
}
.alignright, [align="right"] {
	float:right;
	margin: 5px 0 20px 20px;
}
.alignleft, [align="left"] {
	float:left;
	margin: 5px 20px 20px 0;
}
.wp-caption {
	max-width: 100%;
	text-align: center;
	padding: 5px 3px 0;
	margin: 0 0 15px;
	background: #fff;
	border: 1px solid #f0f0f0;
}
.wp-caption.alignright { margin: 5px 0 20px 20px; }
.wp-caption img {
	border: 0 none;
	height: auto;
	margin:0;
	padding:0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}

/* 													   Прочее
------------------------------------------------------------- */
.clearfix:after {
	clear: both;
    content: "";
    display: block;
    height: 0;
}
.justify { text-align: justify; line-height: 0;  font-size: 0; }
.justify:after { content: ''; display: inline-block; width: 100%; }
.justify > * { line-height: 1.2; display: inline-block; vertical-align: top; font-size: initial; }
.container {
	max-width: 1120px;
	margin: 0 auto;
}




/* ==========================================================================
	ШАПКА
========================================================================== */

#header {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 1;
	padding: 40px 0 40px;
	background: #E9F2F8;
}
#header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 51px;
	padding: 0 15px;
	background: #fff;
	box-shadow: 0px 8px 40px 0px #0000001F;
	border-radius: 99px;
}

#header .menu a {
	display: inline-block;
	padding: 12px 16px;
	margin-right: 5px;
	font-size: 14px;
	color: #000;
	border-radius: 99px;
}
#header .menu a.active {
	color: #fff;
	background: #009A66CC;
}
#header .menu a:hover:not(.active) {
	color: #009A66;
}

#header .contacts {
	display: flex;
	align-items: center;
}
#header .contacts a:not(:last-child) {
	margin-right: 5px;
}
#header .phone {
	color: #000;
	font-weight: 600;
	font-size: 20px;
	margin-right: 20px !important;
}
#header .phone:hover {
	text-decoration: underline;
}
#header .wa {
	transform: scale(1.2); /* Увеличивает на 10% */
}



/* ==========================================================================
	ФОРМА
========================================================================== */

[id^=modal] {
	display: none;
	width: 485px;
	border-radius: 12px;
}
[id^=modal] .title {
	font-size: 36px;
	font-weight: 800;
	margin: 0 0 45px;
}
[id^=modal] .wpcf7-form-control-wrap {
	display: block;
	margin: 0 0 24px;
}
.wpcf7-form-control-wrap input {
	height: 54px;
	padding: 0 15px;
	border: 1px solid #94D0E2;
	border-radius: 8px;
	background: #F3FCFF;
}
.submit_wrp {
	position: relative;
	text-align: center;
}
[id^=modal] .wpcf7-submit {
	width: 100%;
	max-width: 310px;
	margin: 0 0 30px;
}
[id^=modal] .agreement {
	text-align: center;
	font-size: 12px;
}
.wpcf7-spinner {
	position: absolute;
	right: 0;
	top: 12px;
	margin: 0;
}
.wpcf7-not-valid-tip,
.wpcf7-response-output {
	display: none !important;
}
.wpcf7-not-valid {
	border-color: red !important;
}

/* 										Окно с благодарностью
------------------------------------------------------------- */
#modal_thanx {
	display: none;
	padding: 40px !important;
}



/* ==========================================================================
	БЛОК 1
========================================================================== */

.block_1 {
	padding: 40px 0 40px;
	background: #E9F2F8;
}
.block_1 .container {
	display: flex;
	justify-content: space-between;
}
.block_1 .left {
	width: 53%;
	margin-right: 30px;
}
.block_1 .right {
	width: 47%;
}
.block_1 h1 {
	font-size: 35px;
	font-weight: 800;
	text-transform: uppercase;
	margin: 0 0 15px;
}
.block_1 .text_1 {
	font-weight: 500;
	text-transform: uppercase;
	margin: 0 0 30px;
}
.block_1 .text_2 {
	font-weight: 500;
	margin: 0 0 0;
}
.block_1 .contacts {
	display: flex;
	align-items: center;
	margin: 0 0 12px;
}
.block_1 .contacts a:not(:last-child) {
	margin-right: 16px;
}
.block_1 .phone {
	font-size: 32px;
	font-weight: 700;
	color: #000;
	white-space: nowrap;
}
.block_1 .contacts img {
	width: 32px;
}
.block_1 .email {
	margin: 0 0 0;
}
.block_1 .email a,
.block_1 .request a {
	display: inline-block;
	padding: 4px 0 4px 32px;
	font-weight: 300;
	color: #4C4C4C;
}
.block_1 .email a {
	background: url(img/at.svg) no-repeat 0 50%;
}
.block_1 .request a {
	background: url(img/menu.svg) no-repeat 0 50%;
}
.block_1 .email a:hover span,
.block_1 .request a:hover span {
	text-decoration: underline;
}



/* ==========================================================================
	БЛОК 2
========================================================================== */

.block_2 {
	display: flex;
	padding: 55px 0;
}
.block_2 .left {
	width: 620px;
	margin-right: 40px;
}
.block_2 h2 {
	margin: 0 0 15px;
}
.block_2 .text_1 {
	display: inline-block;
	padding: 12px 16px 12px 50px;
	font-size: 16px;
	font-weight: 600;
	color: #2C78FA;
	margin: 0 0 16px;
	border: 1px solid #2C78FA;
	border-radius: 8px;
	background: #2C78FA14 url(img/briefcase.svg) no-repeat 16px 50%;
}
.block_2 .text_2 {
	margin: 0 0 16px;
}
.block_2 .text_3 {
	margin: 0 0 16px;
	font-weight: 700;
}
.block_2 .btn {
	margin: 10px 0 0;
}

.block_2 .right {
	width: 416px;
}



/* ==========================================================================
	БЛОК 3
========================================================================== */

.block_3 {
	padding: 54px 0;
	background: #E9F2F8;
}
.block_3 h2 {
	text-align: center;
	margin: 0 0 32px;
}
.block_3 .wrp {
	/*overflow: hidden;*/
}
.block_3 .flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 auto;
}
.block_3 .item {
	width: 350px;
	display: flex;
	align-items: center;
	height: 130px;
	margin: 10px;
	padding: 20px 20px 20px 10px;
	background: #fff;
	box-shadow: 0px 16px 48px 0px #0047551F;
	border-radius: 12px;
}
.block_3 .item .left {
	width: 85px;
	flex-shrink: 0;
	margin-right: 7px;
}
.block_3 .item .left img {
	
}
.block_3 .item .title {
	font-weight: 700;
	font-size: 15px;
	margin: 0 0 7px;
}
.block_3 .item p {
	font-size: 14px;
	color: #444;
}



/* ==========================================================================
	БЛОК 4
========================================================================== */

.block_4 .btn {
	margin: 0 0 16px;
}
.block_4 .text_1 {
	background-image: url(img/cart.svg);
}



/* ==========================================================================
	БЛОК 5
========================================================================== */

.block_5 {
	padding: 54px 0;
	background: #E9F2F8;
}
.block_5 h2 {
	margin: 0 0 15px;
}
.block_5 .text_1 {
	display: inline-block;
	padding: 12px 16px 12px 50px;
	font-size: 16px;
	font-weight: 600;
	color: #2C78FA;
	margin: 0 0 16px;
	border: 1px solid #2C78FA;
	border-radius: 8px;
	background: #2C78FA14 url(img/coins.svg) no-repeat 16px 50%;
}
.block_5 p {
	margin: 0 0 16px;
}



/* ==========================================================================
	БЛОК 6
========================================================================== */

.block_6 {
	padding: 54px 0;
}
.block_6 h2 {
	margin: 0 0 32px;
	text-align: center;
}
.block_6 .wrp {
	overflow: hidden;
}
.block_6 .flex {
	display: flex;
	flex-wrap: wrap;
	margin: -16px;
	padding: 0 0 20px;
}
.block_6 .item {
	flex-basis: calc(33.33% - 32px);
	margin: 16px;
	box-shadow: 0px 4px 40px 0px #00000014;
	border-radius: 12px;
}
.block_6 .img {
	padding-top: 64%;
	border-radius: 12px 12px 0 0;
	overflow: hidden;
}
.block_6 .text_wrp {
	padding: 0 24px 30px;
}
.block_6 .title {
	margin: 24px 0 5px;
	font-size: 18px;
	font-weight: 700;
}
.block_6 p {
	line-height: 1.5;
}
.block_6 .text {
	text-align: center;
	margin: 32px 0 0;
	font-weight: bold;
	color: #2C78FA;
}



/* ==========================================================================
	БЛОК 7
========================================================================== */

.block_7 {
	padding: 70px 0;
	background: #E9F2F8;
}
.block_7 .container {
	display: flex;
}
.block_7 .left {
	width: 430px;
	margin-right: 40px;
}
.block_7 .right {
	width: 650px;
}
.block_7 h2 {
	margin: 0 0 16px;
}
.block_7 .text_1 {
	display: inline-block;
	padding: 12px 16px 12px 50px;
	font-size: 16px;
	font-weight: 600;
	color: #2C78FA;
	margin: 0 0 16px;
	border: 1px solid #2C78FA;
	border-radius: 8px;
	background: #2C78FA14 url(img/coins.svg) no-repeat 16px 50%;
}
.block_7 .text_2 {
	margin: 0 0 16px;
}
.block_7 .row_2 {
	flex-direction: row-reverse;
	margin-top: 80px;
}
.block_7 .row_2 .left {
	margin: 0 0 0 40px;
}



/* ==========================================================================
	БЛОК 8
========================================================================== */

.block_8 {
	max-width: 682px;
	padding: 54px 0;
}
.block_8 h2 {
	margin: 0 0 5px;
}
.block_8 .text_1 {
	color: #2C78FA;
	font-weight: 600;
	margin: 0 0 30px;
}
.block_8 .flex {
	display: flex;
	align-items: center;
}
.block_8 .flex_1 {
	margin: 0 0 48px;
}
.block_8 label {
	display: inline-block;
	font-weight: 700;
	margin: 0 0 8px;
}
.block_8 .flex_1 div {
	width: 335px;
}
.block_8 .flex_1 div:first-child {
	margin-right: 6px;
}
.block_8 .flex_1 div:last-child {
	margin-left: 6px;
}
.block_8 .submit_wrp {
	width: 310px;
	margin-right: 12px;
}
.block_8 .wpcf7-submit {
	width: 100%;
}
.block_8 .agreement {
	width: 360px;
	font-size: 12px;
}
.block_8 .wpcf7-spinner {
	right: 10px;
}



/* ==========================================================================
	ПОДВАЛ
========================================================================== */

#footer {
	color: #fff;
	padding: 54px 0;
	background: linear-gradient(360deg, #080A15 2.68%, #0C121E 100.07%);
}
#footer a {
	color: #fff;
}
#footer .container {
	display: flex;
	max-width: 938px;
}
#footer .left {
	width: 543px;
}
#footer .logo_wrp {
	display: flex;
	align-items: center;
	padding: 0 0 24px;
	margin: 0 0 24px;
	border-bottom: 1px solid #3C3C3C;
}
#footer .logo_wrp span {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	margin-left: 24px;
}

#footer .sep {
	width: 1px;
	margin: 0 40px;
	background: #3C3C3C;
}
#footer .right {
	width: 315px;
}
#footer .right p {
	font-weight: 500;
	margin: 0 0 24px;
}
#footer .phone {
	display: inline-block;
	font-size: 36px;
	font-weight: 700;
	margin: 0 0 10px;
	white-space: nowrap;
}
#footer .phone:hover {
	text-decoration: underline;
}
#footer .email a,
#footer .request a {
	display: inline-block;
	padding: 4px 0 4px 32px;
	font-weight: 300;
}
#footer .email {
	margin: 0 0 8px;
}
#footer .email a {
	background: url(img/at-2.svg) no-repeat 0 50%;
}
#footer .request a {
	background: url(img/menu-2.svg) no-repeat 0 50%;
}
#footer .email a:hover span,
#footer .request a:hover span {
	text-decoration: underline;
}
#footer .soc {
	margin: 24px 0 0;
}
#footer .soc a {
	margin-right: 20px;
}
#footer .soc img {
	width: 32px;
}



/* ==========================================================================
	МЕДИА-ЗАПРОСЫ
========================================================================== */

@media screen and (max-width: 1150px) {
	.container { padding-left: 15px !important; padding-right: 15px !important; }
}

@media screen and (max-width: 1100px) {
	#header .menu { display: none; }
	#footer .container { max-width: 1100px; }
}

@media screen and (max-width: 1000px) {
	.block_1 h1 { font-size: 35px; }
	.block_6 .item { flex-basis: calc(50% - 32px); }
	#footer .phone { font-size: 30px; }
}

@media screen and (max-width: 800px) {
	.block_1 { padding: 0 0 40px; }
	.block_1 .container { flex-wrap: wrap; flex-direction: column-reverse; }
	.block_1 .left { width: 100%; margin: 30px 0 0; }
	.block_1 .right { width: 100%; }
	.block_2 { flex-wrap: wrap; flex-direction: column-reverse; padding: 40px 0; }
	.block_2 .left { width: 100%; margin: 30px 0 0; }
	.block_2 .right { width: 100%; }
	.block_3, .block_5, .block_6, .block_7, .block_8, #footer { padding: 40px 0; }
	.block_6 .text { margin: 25px 0 0; }
	.block_7 .container { flex-wrap: wrap; flex-direction: column-reverse; }
	.block_7 .left { width: 100%; margin: 30px 0 0; padding-top: 50%; }
	.block_7 .right { width: 100%; }
	.block_7 .row_2 .left { margin: 10px 0 0 0; }
	.block_8 .flex_1 div { width: 50%; }
	#footer .logo_wrp img { width: 42%; }
}

@media screen and (max-width: 782px) {
	body.admin-bar { padding-top: 46px; }
}

@media screen and (max-width: 700px) {
	#header { padding: 20px 0; }
	.block_1 h1 { font-size: 32px; }
	#footer .container { display: block; }
	#footer .sep { display: none; }
	#footer .left { width: 100%; }
	#footer .right { width: 100%; margin: 30px 0 0; }
	#footer .right p { margin: 0 0 3px; }
}

@media screen and (max-width: 600px) {
	.block_6 .item { flex-basis: calc(100% - 32px); }
}

@media screen and (max-width: 500px) {
	#header .phone { font-size: 14px; }
	#header .logo { width: 31%; }
	.block_1 h1 { font-size: 28px; }
	.block_1 .phone { font-size: 25px; }
	h2 { font-size: 25px; }
	.block_8 .flex { display: block; }
	.block_8 .flex_1 div:first-child { width: 100%; margin: 0 0 15px; }
	.block_8 .flex_1 div:last-child { width: 100%; margin: 0; }
	.block_8 .submit_wrp { width: 100%; margin: 0 0 15px; }
	.block_8 .agreement { width: 100%; }
	.block_8 .flex_1 { margin: 0 0 24px; }
	[id^=modal] { padding: 30px; }
	[id^=modal] .title { font-size: 25px; margin: 0 0 15px; text-align: center; }
	[id^=modal] .wpcf7-form-control-wrap { margin: 0 0 15px; }
	[id^=modal] .wpcf7-submit { max-width: none; margin: 0 0 20px; }
	.wpcf7-spinner { right: 10px; }
	
}

/* == IN CODE WE TRUST == */

