/*!
Theme Name: kley
Theme URI: http://underscores.me/
Author: ashot08
Author URI: https://kwork.ru/user/ashot08
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: kley
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

kley is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

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

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
	box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
	border-bottom: none; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
	border-style: none;
	width: 100%;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
	box-sizing: border-box; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box; /* 1 */
	padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
	display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
	display: none;
}


/**********************************************************************/



body {
	font-size: 16px;
	font-family: 'Fira Sans', sans-serif;
}
a{
	text-decoration: none;
	color: #404040;
}
button{
	text-decoration: none;
	outline: none;
	display: inline-block;
	color: white;
	font-weight: bold;
	letter-spacing: 1px;
	font-family: 'Fira Sans', sans-serif;
	padding: 15px 30px;
	margin: 10px 20px;
	box-shadow: 0 0 40px 40px #E8833A inset, 0 0 0 0 #E8833A;
	transition: 150ms ease-in-out;
	border: none;
	cursor: pointer;
}
button:hover {
	box-shadow: 0 0 10px 0 #E8833A inset, 0 0 10px 4px #E8833A;
	color: #E8833A;
}
.k__container{
	max-width: 1240px;
	margin: 0 auto;
}
.k__header{
	background-color: rgba(255,255,255,0.5);
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 3;
}
.k__social{
	color: #5D5D5B;
}
.k__header_top{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
}
.k__social{
	margin-right: 3px;
}
.k__social:last-child{
	margin-right: 0;
}
.k__branding{
	display: flex;
	justify-content: center;
	align-items: center;
	text-transform: uppercase;
	text-align: center;
}
.k__branding_item{
	margin-right: 30px;
	max-width: 230px;
}
.k__branding_item:last-child{
	margin-right: 0;
	text-align: left;
}
.k__branding_item:first-child{
	text-align: right;
}
.k__branding_logo{
	font-size: 36px;
	font-weight: 700;
	color: #E8833A;
}
.k__hamburger{
	cursor: pointer;
}
.k__banner{
	height: 100vh;
	background-image: url(img/kley.jpg);
	background-position: center;
	background-size: cover;
	text-align: center;
}
.k__banner_content_wrapper{
	display: flex;
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	height: 100%;
	padding-top: 200px;
}
.k__banner_phone{
	text-align: center;
	font-size: 28px;
	font-weight: 600;
}
.k__banner_phone_link{
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: 3px;
	transition: 0.5s;
}
.k__banner_phone svg{
	bottom: 1px;
	position: relative;
}
.k__banner_phone_link:hover{
	opacity: 0.7;
}
.k__banner_title{
	font-size: 65px;
	font-weight: 600;
	padding: 20px 0;
}
.k__banner_subtitle{
	color: #E8833A;
	font-size: 25px;
	font-weight: 600;
	margin-bottom: 40px;
}
.k__banner_text{
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 20px;
}
.k__advantages{
	font-size: 20px;
	text-transform: uppercase;
	text-align: center;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 80px 0;
}
.k__advantage_img{
	color: #E8833A;
	height: 84px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.k__products_title{
	font-size: 45px;
	font-weight: 500;
	text-transform: uppercase;
	padding: 60px 0;
	display: flex;
	align-items: center;
}
.k__products_title svg{
	position: relative;
	bottom: 3px;
	margin-right: 7px;
}
.k__tabs{
	background-color: #F7F9FA;
	padding: 40px 0;
}
.k__tabs_nav{
	display: flex;
}
.k__tab{
	padding: 20px 10px;
	margin-right: 5px;
	background-color: #ccc;
	cursor: pointer;
	font-weight: 600;
	text-align: center;
}
.k__tab.active{
	background-color: #E8833A;
	color: #fff;
}
.k__tab:last-child{
	margin-right: 0;
}
.k__product_single{
	background-color: #fff;
	display: grid;
	grid-template-columns: 2fr 3fr;
	grid-gap: 20px;
	padding: 20px;
	box-shadow: 0 10px 30px 0 rgb(0 0 0 / 15%);
}
.k__tabs_gallery{
	max-width: 472px;
}
.k__certificates{
	padding: 40px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 120px;
}
.k__certificate{
	margin-right: 10px;
	padding: 10px;
	box-shadow: 0 10px 30px 0 rgb(0 0 0 / 5%);
	width: 17%;
	transition: 0.5s;
	cursor: pointer;
}
.k__certificate:hover{
	box-shadow: 0 10px 30px 0 rgb(0 0 0 / 20%);
}
.k__certificate:last-child{
	margin-right: 0;
}
.k__certificate:first-child{
	width: 43%;
}
#k__map{
	height: 600px;
	width: 100%;
}
.k__footer{
	position: relative;
}
.k__footer_contacts_wrapper{
	position: absolute;
	width: 50%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	top: 0;
	left: 0;
}
.k__footer_contacts{
	min-width: 380px;
	max-width: 600px;
	background-color: #fff;
	padding: 40px 20px;
}
.k__footer_contacts_title{
	text-align: center;
	font-size: 24px;
	color: #E8833A;
	font-weight: 600;
}
.k__footer_contacts_content{
	line-height: 1.3;
}
.k__contacts_bottom{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 10px;
}
.k__contacts_link_phone{
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 5px;
	font-weight: 600;
	font-size: 20px;
	color: #E8833A;
}
.k__contacts_link:hover {
	opacity: 0.8;
}
.k__contacts_link_phone svg{
	bottom: 1px;
	position: relative;
}
.k__contacts_link{
	text-align: center;
}
.k__copyright{
	display: flex;
	padding: 20px 40px;
	background-color: #ccc;
}
.k__modal_wrapper{
	position: fixed;
	top: 0;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 3;
}
.k__modal{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	position: absolute;
}
.k__modal_back{
	background-color: rgba(0,0,0,0.4);
	position: absolute;
	width: 100%;
	height: 100%;
}
.k__modal_content{
	position: relative;
	z-index: 2;
	height: 90%;
	display: flex;
	align-items: center;
}
.k__modal_content_img{
	height: 90%;
	max-width: 90%;
}
.k__modal_content_img img{
	width: auto;
	height: 100%;
}
.k__modal_close{
	color: #fff;
	position: absolute;
	right: 30px;
	top: 30px;
	cursor: pointer;
}
.k__products_grid{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-gap: 20px;
	padding: 20px 0;
}
.k__products_grid .k__product{
	padding: 20px;
	background-color: #fff;
}
.k__product_title{
	font-weight: 600;
	margin: 10px 0;
	height: 55px;
	overflow: hidden;
}
.k__product_image{
	text-align: center;
	height: 260px;
	overflow: hidden;
	display: flex;
	align-items: center;
}
.k__product_price{
	font-size: 24px;
	font-weight: 600;
	color: #E8833A;
}
.k__product_button button{
	margin-left: 0;
}
.k__tabs_content{
	min-height: 500px;
}
.k__tabs_text{
	padding: 20px;
}
.k__menu{
	background-color: #fff;
	padding: 60px;
	display: none;
	position: relative;
}
.k__menu ul{
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}
.k__menu li{
	font-size: 28px;
}
.k__menu li a{
	padding: 10px 0;
	display: block;
}
.k__menu li a:hover{
	color: #E8833A;
}
.k__modal_content .k__menu{
	display: block;
}
.k__menu_close{
	position: absolute;
	top: 20px;
	right: 20px;
	cursor: pointer;
}

.k__modal_content .k__form{
	display: block;
}
.k__form{
	background-color: #fff;
	padding: 40px;
	position: relative;
}
.k__form input{
	padding: 17px;
	border-radius: 8px;
	border: 1px solid rgba(0,0,0,0.1);
}
.k__form .wpcf7-submit{
	color: #fff;
	background-color: #E8833A;
	cursor: pointer;
}
.k__modal_cf7_content{
	display: none;
}
.k__form_open .k__modal_cf7_content{
	display: block;
}
.wpcf7-response-output{
	max-width: 300px;
}
.k__modal_content{
	display: none;
}
.k__product_single .k__product_title{
	height: auto;
}
.k__desctop_menu{
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    left: 0;
}
.k__desctop_menu_close{
    position: absolute;
    right: 30px;
    top: calc(50% - 12px);
    cursor: pointer;
}
.k__desctop_menu_content{
    height: 81px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.k__desctop_menu_content .k__menu{
    display: block;
    padding: 0;
}
.k__desctop_menu_content .k__menu ul{
    display: flex;
}
.k__desctop_menu_content .k__menu li{
    font-size: 22px;
    margin-right: 30px;
}

.k__advantage_title span{
    display: block;
}

.k__products_grid #prev, 
.k__products_grid #next,
.k__certificates #prev, 
.k__certificates #next{
    position: absolute;
    top: calc(50% - 18px);
    color: #e8833a;
    z-index: 1;
}
.k__products_grid #prev,
.k__certificates #prev{
    left: 0;
}
.k__products_grid #next,
.k__certificates #next{
    right: 0;
}
.k_politics_checkbox {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 400px;
    font-size: 12px;
}
.k_politics_checkbox input {
	margin-right: 10px;
}
.k_politics_checkbox a {
	text-decoration: underline;
}
@media(max-width: 1280px){
	.k__container{
		max-width: 100%;
		padding: 0 20px;
	}

}

@media(max-width: 1200px){
	.k__products_grid {
		grid-template-columns: 1fr 1fr 1fr;
	}

}
@media(max-width: 1100px){
	.k__branding_item {
		display: none;
	}
	.k__branding_logo{
		display: block;
	}
	.k__products_title{
		flex-wrap: wrap;
	}
	.k__certificates {
		display: block;
	}
	.k__certificate{
		width: 100%;
		margin-right: 0;
		text-align: center;
		box-shadow: none;
		margin-bottom: 10px;
	}
	.k__certificate:first-child {
		width: 100%;
	}
	.k__certificate img{
		max-width: 300px;
	}
}
@media(max-width: 767px){
	.k__certificates{
		margin-bottom: 0;
	}
	.k__footer{
		display: flex;
		flex-wrap: wrap;
	}
	.k__footer_contacts_wrapper {
		position: relative;
		width: 100%;
		order: 1;
	}
	.k__map{
		order: 2;
	}
	.k__copyright {
		display: block;
	}
	.k__products_grid {
		grid-template-columns: 1fr 1fr;
	}
	.k__product_single {
		grid-template-columns: 1fr;
	}
	.k__advantages {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	
	.k_politics_checkbox {
    	flex-wrap: wrap;
	}
	.k_politics_checkbox input {
		width: auto !important;
		margin-bottom: 10px;
	}

}

@media(max-width: 767px){
	.k__tabs_gallery {
		max-width: 100%;
	}
	.k__products_grid {
		grid-template-columns: 1fr;
	}
}

@media(max-width: 500px){
	*{
		 box-sizing: border-box;
	}
	.k__form input {
		width: 100%;
	}
	.k__tabs_gallery {
		width: 280px;
	}
	.k__product_single {
		justify-content: center;
		display: flex;
		flex-wrap: wrap;
	}
	.k__products_grid {
		grid-template-columns: 1fr;
	}
	.k__banner_title {
		font-size: 48px;
	}
	.k__header_left{
		display: none;
	}
	.k__footer_contacts {
		min-width: 0;
	}
	.k__contacts_bottom {
		grid-template-columns: 1fr;
	}
	.k__contacts_link {
		text-align: left;
	}
	.k__contacts_link_phone {
		justify-content: flex-start;
	}
	.k__modal_content_img img {
		width: 100%;
		height: auto;
	}
	.k__modal_content {
		height: auto;
		width: 100%;
    	justify-content: center;
	}
	.k__banner_content_wrapper {
        padding-top: 120px;
    }
    .k__tab span{
        display: none;
    }
    .k__certificate img {
        max-width: 320px;
    }
}
@media(max-width: 400px){
	.k__tabs_nav {
		overflow: auto;
	}
	.k__products_title {
		font-size: 40px;
	}
	.k__banner_title {
		font-size: 45px;
	}
}