/*
Theme Name: krait.spb.ru
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


:root {
  --black: #323232;
  --white: #FFFFFF;
  --red: #E53935;
  --red_hover: #FD5A56;
  --grey: #F3F3F3;
  --grey_light: #4A4A4A;
  --grey_dark: #3D3D3D;
  --green: #00A25D;
  --green_light: #58DA30;
  --accente: #9E3597;
  --accente_hover: #C440BB;
  --green_light: #EDF6F2;
  --yellow: #F2C92E;
  --purple: #9FA8EE;
  --blue: #243190;
}

html {
	margin: 0%;
	padding: 0%;
    background-color: var(--white);
}
body {
	position: relative;
    margin: 0%;
    padding: 0%;
    font-size: 20px;
    line-height: 135%;
    font-weight: 500;
    font-family: "Inter", "Tahoma", "Verdana", sans-serif;
    color: var(--black);
    overflow-x: hidden;
}
a {
	color: var(--text);
}
a:hover {
    color: var(--red);
    text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
    letter-spacing: 0px;
	position: relative;
	font-weight: 600;
    font-style: normal;
    line-height: normal;
    line-height: 130%;
	text-transform: uppercase;
}
h1 {
    font-size: 55px;
}
p.h2, h2 {
	font-size: 46px;
}
h3 {
	font-size: 35px;
}
h4 {
    font-size: 27px;
}
h5, h6 {
    font-size: 21px;
}
img {
	max-width: 100%;
	height: auto;
}
input, select, textarea {
	outline: none;
}


/* center */
.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.center.content_none:after,
.content_none:after {
	content: none;
}
.flex.content_none.top {
    align-items: normal;
}
.center {
    margin: 0 auto;
    width: 96%;
    max-width: 1350px;
    box-sizing: border-box;
    position: relative;
}
.center:after {
	content: '';
	clear: both;
	display: block;
}
.clear {
	position: relative;
	clear: both;
}


/* others */
s {
    color: #EE2222;
}
section {
    padding: 15px 0;
}
article {
    font-size: 20px;
    line-height: 135%;
    font-weight: 500;
}
article a {
	color: var(--red);
}
article a:hover {
	color: var(--accente_hover);
	text-decoration: none;
}
article li {
    margin: 10px 0;
}

/*
	elements
*/
a.button, input[type="button"], input[type="submit"] {
    background-color: var(--accente);
    color: var(--white);
    border: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    padding: 21px 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: 1s;
    box-shadow: 0px 5px 12px 2px rgb(33 33 33 / 1%);
}
a.button:hover, input[type="button"]:hover, input[type="submit"]:hover {
    background-color: var(--accente_hover);
    box-shadow: 0px 5px 12px 2px rgb(33 33 33 / 2%);
	color: var(--white);
}
input[type="button"].big {
    font-size: 17px;
    padding: 20px 60px 17px;
}


/*
	header
*/
header {
    position: relative;
    background-image: url('images/header_bg.webp');
    background-position: center center;
    background-size: cover;
    background-color: var(--black);
    color: var(--white);
}
body.home header {
    height: 100vh;
    max-height: 800px;
}
header:after {
    content: '';
    clear: both;
    display: block;
}
header a {
	text-decoration: none;
}
header a:hover {
	text-decoration: underline;
    color: var(--accente_hover);
}

/*
	top_contact
*/
.top_contact {
    display: flex;
    gap: 5%;
    align-items: center;
    justify-content: right;
}
.top_contact .phones {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 10px;
    min-width: fit-content;
}
a.tel {
    font-size: 23px;
}
a.max {
    content: url('images/max.svg');
}
a.telegram {
    content: url('images/telegram.svg');
}
a.max.color {
    content: url('images/max_color.svg');
}
a.telegram.color {
    content: url('images/telegram_color.svg');
}

/*
	title
*/
section.title {
    position: relative;
    min-height: 650px;
}
section.title a,
section.title .desc {
    font-size: 21px;
    line-height: 130%;
}
section.title {
    position: relative;
}
section.title > .center {
    position: relative;
    padding: 40px 0 0;
}
section.title > .center > h1,
section.title > .center > div {
    max-width: 500px;
}
a.download_pdf {
    position: relative;
    border: 2px solid rgb(255 255 255 / 23%);
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    margin: 30px 0 0;
    display: table;
    width: 500px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}
a.download_pdf:hover {
    border: 2px solid var(--accente_hover);
}
a.download_pdf:before {
	content: url('images/pdf.svg');
}
section.title img.bg {
    position: absolute;
    right: -6%;
    bottom: -15%;
}

/*
	system
*/
section.system {
    position: relative;
    padding: 10px 0 20px;
    overflow: hidden;
}
section.system article {
    width: 40%;
}
section.system img.bg {
    position: absolute;
    right: -20%;
    bottom: -40px;
    max-width: 1000px;
}
section.system article ul {
    margin-left: 0;
    padding-left: 0;
    list-style-type: none;
	
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: row dense;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}
section.system article ul li img {
    display: block;
    margin-bottom: 10px;
}

/*
	locator
*/
section.locator {
    position: relative;
    background-image: url('images/kamera_bg_top.png');
    background-repeat: no-repeat;
    background-position: top center;
    border-top: 2px solid var(--purple);
    padding: 30px 0 70px;
    overflow: hidden;
}
section.locator:before {
    content: url('images/kamera_bg_bottom.png');
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
section.locator > .center {
	position: relative;
	z-index: 1;
}
.preview_article {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
}
.preview_article article {
    width: 60%;
}
article.table h3 {
    font-size: 26px;
    margin: 25px 0 15px;
}
table {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    border-spacing: 0;
    font-size: 16px;
    line-height: 125%;
}
table td {
    padding: 6px 15px;
    box-sizing: border-box;
    border-bottom: 1px solid #d2d8ff;
    border-right: 1px solid #d2d8ff;
}
table th {
    padding: 0 5px 25px;
    box-sizing: border-box;
    border-bottom: 2px solid #253291;
}
table tr td:first-child {
    padding-left: 0;
    width: 40% !important;
    font-weight: 600;
    min-width: 500px;
}
table tr td:last-child {
	padding-right: 0;
    width: 60% !important;
    border-right: none;
}
table tr:last-child td {
	border-bottom: 0;
}
table tbody tr:hover td {
	background-color: #dee2ff;
}

/*
	modules
*/
/*
section.modules > .center {
    gap: 50px;
    align-items: normal;
    justify-content: space-between;
}
*/
section.modules {
    border-top: 2px solid var(--purple);
    padding: 20px 0 60px;
	background-image: url('images/bg_modules_bottom.png');
	background-position: bottom center;
	background-repeat: no-repeat;
}
section.modules > .center {
    gap: 50px;
    align-items: center;
    justify-content: space-between;
}
section.modules article {
    width: 40%;
}
section.modules .photos {
    width: 60%;
    text-align: right;
    margin-top: -130px;
}
section.modules ul {
    margin-left: 0;
    padding-left: 0;
    list-style-type: none;
}
section.modules ul li {
    display: flex;
    gap: 20px;
    margin: 0 0 20px 0;
    align-items: center;
    justify-content: flex-start;
}
.photos {
    position: relative;
}
section.modules .photos img {
    background-color: var(--black);
    border-radius: 8px;
    border: 3px solid var(--white);
}
.photos img:nth-child(1) {
    width: 90%;
    position: relative;
    top: 0;
    right: 0;
}
.photos img:nth-child(2) {
    position: absolute;
    width: 50%;
    left: 0;
    top: 260px;
}
.photos img:nth-child(3) {
    position: absolute;
    width: 50%;
    right: -20px;
    top: 350px;
}

/*
	about
*/
section.about {
    border-top: 2px solid var(--purple);
    border-bottom: 2px solid var(--purple);
    padding: 50px 0;
}
section.about .preview_article {
    justify-content: center;
    gap: 50px;
}
section.about img.logo {
    width: 100%;
    height: auto;
    max-width: 300px;
}

/*
	contact_bottom
*/
section.contact_bottom > .center {
    align-items: center;
    gap: 50px;
}
address {
    width: 40%;
    font-style: normal;
}
address a {
	text-decoration: none;
}
address a:hover {
	text-decoration: underline;
}
address > div {
    margin: 0 0 10px 0;
}
address span {
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}
address input[type="button"] {
    margin: 12px 0;
}
address > div.mess {
    display: flex;
    gap: 10px;
}
address .time {
    font-size: 16px;
    line-height: 120%;
}
address > div.mess .text {
    max-width: 200px;
    font-size: 16px;
    line-height: 120%;
}
section.contact_bottom .map {
    width: 60%;
    height: 520px;
    border-radius: 8px;
    margin: 30px 0 0;
    overflow: hidden;
}
.map iframe {
    height: 100%;
    width: 100%;
    border: none;
    background-color: var(--black);
}

/*
	footer
*/
footer {
    background-image: url('images/footer_bg.png');
    background-position: bottom center;
    background-repeat: no-repeat;
    font-size: 13px;
    color: #869EC5;
	height: 157px;
}
footer > .center {
    padding: 100px 0 0;
    box-sizing: border-box;
}

/*
	cookie pop_up
*/
section.cookie {
    display: none;
    position: fixed;
    bottom: 0;
    color: #323232;
    background-color: #fff;
    border-radius: 8px;
    z-index: 2;
    padding: 15px 25px;
    box-sizing: border-box;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 800px;
    left: 2%;
    bottom: 15px;
    transform: none;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 0 8px 6px rgb(89 89 89 / 20%);
    font-size: 15px;
    line-height: 123%;
    text-align: left;
}
section.cookie.warning--active {
    display: flex;
}
section.cookie a {
	color: var(--accente);
	text-decoration: none;
}
section.cookie a:hover {
	color: var(--red);
	text-decoration: none;
}

/*
	callback_block
*/
section.callback_block {
	display: none;
	
    align-items: center;
    justify-content: center;
    background-color: var(--blue);
    background-image: url('images/callback_bg.webp');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--white);
    position: fixed;
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    z-index: 3;
    padding: 10%;
    box-sizing: border-box;
}
section.callback_block.active {
    display: block;
}
form p.h3 {
    font-size: 50px;
    line-height: 135%;
    font-weight: 600;
}
form .visibility {
	display: none;
}
form .third {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: row dense;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
}
form .one {
    margin: 22px 0;
    position: relative;
}
form .one .error {
    position: absolute;
    top: -16px;
    font-size: 13px;
    color: #f549be;
}
.error_information {
    position: absolute;
    top: -16px;
    font-size: 13px;
    color: #f549be;
	display: none;
}
.error_information.active {
	display: block;
}
form .one button {
	display: none;
}
form .one > textarea,
form .one > input[type="number"],
form .one > input[type="text"],
form .one > input[type="email"],
form .one > input[type="tel"] {
	width: 100%;
}
textarea, form input[type="tel"], form input[type="email"], form input[type="text"], form input[type="number"] {
    font-size: 20px;
    line-height: 135%;
    font-weight: 500;
    font-family: "Inter", "Tahoma", "Verdana", sans-serif;
    padding: 10px 10px 10px 0;
    box-sizing: border-box;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid rgb(255 255 255 / 59%);
	transition: 1s;
	color: var(--white);
}
textarea:hover, form input[type="tel"]:hover, form input[type="email"]:hover, form input[type="text"]:hover, form input[type="number"]:hover {
    border-bottom: 2px solid rgb(255 255 255 / 100%);
}
form.callback_form p.h3 {
    margin-top: 0;
}
::placeholder {
	color: rgb(255 255 255 / 59%);
}
form input[required]:user-invalid {
    border-bottom: 2px solid red;
}
form input[type="checkbox"] {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 2px;
    margin: 0;
    float: left;
    margin: -2px 20px 0 0;
}
form .one.politic {
    font-size: 16px;
}
form input:-webkit-autofill {
  background-color: transparent !important;
  color: var(--white) !important;
}
section.callback_block span.close {
    position: absolute;
    right: -20px;
    top: -20px;
    background-color: var(--accente);
    border-radius: 100%;
    content: url('images/close.svg');
    padding: 30px;
    cursor: pointer;
	transition: .2s;
}
section.callback_block span.close:hover {
    background-color: var(--accente_hover);
}
.notification {
    background-color: rgb(142 223 135);
    color: var(--black);
    padding: 25px 30px;
    box-sizing: border-box;
    border-radius: 8px;
    text-align: center;
}
form input[type="submit"].deactive {
    pointer-events: none;
    opacity: .9;
    filter: grayscale(100%);
}
form input[name="company_form"] {
    pointer-events: none;
    opacity: 0.8;
}
form.callback_form.ready {
    opacity: 0.8;
    pointer-events: none;
}


section.single_page {
    padding: 0 0 20px;
}
/*
	breadcrumbs
*/
.breadcrumbs {
    font-size: 14px;
}
section.breadcrumbs {
    padding: 10px 0;
    background-color: var(--grey);
}
.breadcrumbs a {
    position: relative;
    margin: 0 10px;
}
section.breadcrumbs > .center > span > span:first-child > a {
	margin-left: 0;
}
.breadcrumbs > span > span:first-child > a {
    margin-left: 0;
}
/*
.breadcrumbs a:after {
    content: url('images/breadcrumbs.svg');
    right: -22px;
    position: absolute;
}
*/
.breadcrumbs strong {
    margin-left: 10px;
}


@media(max-width: 1500px) {
	section.title img.bg {
		right: -5%;
	}
	article,
	body {
		font-size: 18px;
	}
	section.title a, section.title .desc {
		font-size: 18px;
	}
	section.system img.bg {
		right: -16%;
	}	

}
@media(max-width: 1400px) {
	section.title img.bg {
		right: -10%;
	}
	article,
	body {
		font-size: 17px;
	}
	section.title > .center > h1,
	section.title > .center > div {
		max-width: 400px;
	}
	section.system img.bg {
		right: -22%;
	}

}
@media(max-width: 1300px) {
	article,
	body {
		font-size: 16px;
	}	
	a.button, input[type="button"], input[type="submit"] {
		padding: 21px 20px;
	}
	section.title a, section.title .desc {
		font-size: 17px;
	}
	section.title img.bg {
		right: -20%;
		width: 850px;
	}	
	section.system img.bg {
		right: -22%;
		width: 900px;
	}

	
}

@media(max-width: 900px) {
	html.main {
		margin: 0 !important;
	}	
	html #wpadminbar {
		height: 46px;
		min-width: 240px;
		display: none !important;
	}	
		
	.center {
		width: 90%;
		min-width: 90%;
		max-width: 90%;
	}
	h1, h2, h3, h4, h5, h6 {
		font-weight: 700;
		line-height: 130%;
	}	
	h1 {
		font-size: 37px;
	}
	section.single_page h1 {
		font-size: 25px;
	}
	h2 {
		font-size: 35px;
		line-height: 120%;
		position: relative;
		letter-spacing: 0;
		overflow-wrap: anywhere;
	}
	h3 {
		font-size: 30px;
		line-height: 130%;
	}
	h4, h5, h6 {
		font-size: 22px;
		line-height: 130%;
	}


	html {
		background: #fff;
	}

	#popup__toggle {
		bottom: 8%;
		right: 3px;
		position: fixed;
		z-index: 15;
	}
	.circlephone {
		max-width: 70px;
		max-height: 70px;
	}
	.circle-fill {
		max-width: 45px;
		max-height: 45px;
		bottom: -12px;
		right: 23px;
	}
	.img-circle {
		width: 25px;
		height: 25px;
		right: 33px;
		top: -27px;
	}
	.img-circleblock {
		width: 20px;
		height: 20px;
		right: 3px;
		top: 2px;
		position: absolute;
		background-size: 65%;
	}
	
	/* 
		default
	*/
	.center.flex.mobile_block {
		display: block;
	}
	
	/* 
		header
	*/
	body.home header {
		height: 100vh;
		max-height: 620px;
		padding-bottom: 20px;
		padding-top: 70px;
		overflow: hidden;
	}
	section.title {
		position: relative;
		min-height: auto;
	}	
	section.title > .center {
		position: relative;
		padding: 0;
	}
	section.title > .center > * {
		max-width: 100%;
	}
	section.title > .center > h1 {
		margin: 0;
	}
	section.title a, section.title .desc {
		font-size: 15px;
	}
	a.download_pdf {
		width: 100%;
		padding: 10px;
		margin: 10px 0 0;
	}
	section.title img.bg {
		right: 0;
		width: 100%;
		position: relative;
		margin: 25px 0;
	}

	/* 
		breadcrumbs
	*/	
	section.breadcrumbs {
		padding: 10px 0;
		background-color: var(--grey);
		font-size: 12px;
	}

	/* 
		top
	*/	
	body.home section.top {
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		z-index: 3;
		background-color: #253291;
	}	
	section.top .logo {
		max-width: 30%;
	}	
	section.top input[type="button"] {
		display: none;
	}
	header a.email {
		display: none;
	}
	header a.tel {
		font-size: 14px;
	}
	header .phones a.mess {
		height: 25px;
	}
	.top_contact .phones {
		min-width: max-content;
	}		
	/* 
		system
	*/		
	section.system {
		position: relative;
		padding: 10px 0 0;
		overflow: hidden;
	}	
	section.system article {
		width: 100%;
	}		
	section.system img.bg {
		right: 0;
		width: 140%;
		position: relative;
		bottom: -10px;
	}
	section.system article ul {
		grid-column-gap: 15px;
		grid-row-gap: 15px;
	}	
	
	/* 
		locator
	*/		
	section.locator {
		padding: 30px 0;
	}		
	
	/* 
		article
	*/	
	article.table h3 {
		font-size: 20px;
		margin: 20px 0;
	}
	table tr td:first-child {
		padding-left: 0;
		width: 50%;
		font-weight: 600;
		min-width: auto;
	}	
	table tr td:last-child {
		padding-right: 0;
		width: 50%;
		border-right: none;
	}	
	
	/* 
		modules
	*/	
	section.modules {
		padding: 20px 0;
	}	
	section.modules > .center {
		display: block;
	}	
	section.modules article {
		width: 100%;
	}
	section.modules .photos {
		width: 100%;
		text-align: center;
		margin-top: 0;
	}
	.photos img:nth-child(1) {
		width: 100%;
		position: relative;
		top: 0;
		right: 0;
	}
	.photos img:nth-child(2) {
		width: 100%;
		position: relative;
		top: 0;
		right: 0;
	}
	.photos img:nth-child(3) {
		width: 100%;
		position: relative;
		top: 0;
		right: 0;
	}	

	/* 
		preview_article
	*/
	.preview_article {
		display: block;
	}
	.preview_article article {
		width: 100%;
		margin: 20px 0 0;
	}
	
	/* 
		about
	*/	
	section.about {
		padding: 35px 0 15px;
	}	
	
	/* 
		contact_bottom
	*/
	section.contact_bottom {
		padding-bottom: 0;
	}	
	section.contact_bottom > .center {
		align-items: center;
		display: block;
	}
	address {
		width: 100%;
		font-style: normal;
	}
	section.contact_bottom .map {
		width: 100%;
		height: 300px;
		width: 100vw;
		margin-left: calc(-50vw + 50%);
		min-width: 100vw;
		max-width: 100vw;
		border-radius: 0;
		margin-top: 20px;
	}	
	address > div {
		margin: 0 0 15px 0;
	}
	address span {
		font-size: 15px;
	}	
	
	/* 
		footer
	*/
	footer {
		background-image: url('images/footer_bg.png');
		background-position: bottom center;
		background-repeat: no-repeat;
		background-size: 1000%;
		font-size: 13px;
		color: #869EC5;
		height: auto;
	}	
	footer > .center {
		padding: 30px 0;
		box-sizing: border-box;
		display: block;
	}	
	footer > .center > * {
		display: block;
		margin: 3px 0;
	}
	footer a.autor {
		display: none;
	}

	/* 
		cookie
	*/
	section.cookie {
		font-size: 13px;
		line-height: 125%;
		border-radius: 8px;
		padding: 15px 15px;
		max-width: 92%;
		left: 2%;
		bottom: 10px;
		transform: none;
		width: 75%;
		background: #fff;
		color: #323232;
		text-align: left;
	}
	section.cookie input[type="button"] {
		width: auto;
		margin: 7px 0 0;
		padding: 14px 20px;
	}	
	section.cookie.warning--active {
		display: block;
	}

	/*
		callback form
	*/
	section.callback_block {
		padding: 5% 10% 25%;
		box-sizing: border-box;
		overflow-x: auto;
	}	
	form p.h3 {
		font-size: 25px;
		line-height: 135%;
		font-weight: 600;
		margin: 0 0 12px 0;
		max-width: 80%;
	}
	form .third {
		display: block;
		grid-template-columns: repeat(1, 1fr);
		grid-auto-flow: row dense;
		grid-column-gap: 0;
		grid-row-gap: 0;
	}
	form .one.politic {
		font-size: 13px;
		line-height: 130%;
	}
	form input[type="checkbox"] {
		width: 24px;
		height: 24px;
		border: none;
		border-radius: 2px;
		margin: 0;
		float: left;
		margin: 2px 12px 0 0;
	}
	textarea, form input[type="tel"], form input[type="email"], form input[type="text"], form input[type="number"] {
		font-size: 18px;
	}
	.notification {
		background-color: rgb(142 223 135);
		color: var(--black);
		padding: 25px 30px;
		box-sizing: border-box;
		border-radius: 8px;
		text-align: center;
		margin-bottom: 10px;
		position: fixed;
		z-index: 4;
		top: auto;
		bottom: auto;
		right: 0;
		left: 0;
		width: 90%;
		margin: 0 auto;
	}	
	form.callback_form p.h3 {
		margin-top: 20px;
	}
	
}
