/*
Theme Name:     Hermes Doors
Theme URI:      
Description:    Hermes Doors Catalog
Version:        1.0
License:        GNU General Public License v2 or later
License URI:    https://www.gnu.org/licenses/gpl-2.0.html
Tags:           catalog
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800&display=swap');

* {box-sizing: border-box}
html, body {
    min-height: 100%;
    height: 100%;
}
body {
    margin: 0;
    color: #1b1b1b;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 150%;
}
h1,h2,h3,h4 {
    line-height: 130%;
}
p {
	line-height: 170%;
}
.page-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 100%;
}
.container {
    margin: auto;
    padding: 0 10px;
    max-width: 1200px;
}
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.list {
    margin: 20px 0;
    padding: 0 0 0 20px;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
a {
    color: #000;
    text-decoration: none;
    transition: all ease 0.4s;
}
a:hover, a:focus,a:active {
    outline: none; 
    color: #000;
    text-decoration: none;
}
.input_wrap {
    margin: 0 0 20px;
}
textarea {
	height: 100px;
    font-family: 'Open Sans', sans-serif;
}
button,input,textarea {
    display: block;
    padding: 10px;
    width: 100%;
    background: #fff;
    border: 1px solid #1b1b1b;
    font-size: 14px;
    line-height: 150%;
}
button:focus,button:active,button:hover,
input:focus,input:active,input:hover,
textarea:focus,textarea:active,textarea:hover {
    outline: none;
    border: 1px solid #1b1b1b;
}

input.wpcf7-submit {
    background: #1b1b1b;
    color: #fff;
    font-size: 16px;
    transition: all ease 0.4s;
    cursor: pointer;
    text-transform: uppercase;
}
input.wpcf7-submit:hover {
    background: #fff;
    color: #1b1b1b;
}
.humburger-btn {
    display: none;    
}

.flex {
    display: flex;
	flex-wrap: wrap;
}
.grid-col-2 {
    width: 50%;
}

header {
	margin: 0 0 30px;
    padding: 20px 0;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
header .flex {
    align-items: center;
    justify-content: space-between;
}
header .menu {
    display: inline-block;
    margin: 0 0 0 50px;
    list-style-type: none;
}

header .menu li {
    display: inline-block;
}

header .menu li:not(:last-child) {
    margin-right: 15px;
}
header .menu li a {
	position: relative;
    display: block;
    padding: 5px 10px;
    font-size: 18px;
}

header .menu li a:after {
	position: absolute;
	left: 0;
    right: 0;
    bottom: -3px;
    display: block;
	margin: auto;
	width: 0;
	height: 1px;
	background: #000;
	content: '';
	transition: all ease 0.4s
}
header .menu li:hover a:after {
	width: 100%;
}
	
.logo {
    max-width: 180px;
}
.breadcrumbs {
    margin: 20px 0;
    font-size: 12px;
}
.breadcrumbs > span {
    position: relative;
    background: #000;
    color: #fff;
    padding: 10px 7px;
    line-height: 100%;
    font-size: 14px;
    margin: 0 16px 0 0;
    display: inline-block;
}
.breadcrumbs > span:after {
    content: '';
    display: inline-block;
    width: 0;
    position: absolute;
    right: -16px;
    top: 0;
    height: 0;
    border-style: solid;
    border-width: 16.5px 0 16.5px 16px;
    border-color: transparent transparent transparent #000;
}
.breadcrumbs span:last-of-type:after {
    /*display: none;*/
}

.breadcrumbs > span a {
    color: #fff;
}
.hero-banner {
    margin: 0 0 50px;
}
.products-archive {
    justify-content: start;
    align-items: start;
}
.single-prod {
    /*box-shadow: 0 0 12px rgba(173, 173, 173, 0.3);*/
    text-align: center;
    max-width: calc(50% - 200px);
    margin: auto;
    padding: 0 20px 30px;
    opacity: 0;
    transition: all ease 0.6s
}

.single-prod:first-of-type {
    transform: translateX(-9999px);
}
.single-prod:last-of-type {
    transform: translateX(9999px);
}
.entrance-door {
	margin: 0 0 30px;
}
.entrance-door.single-prod:first-of-type {
    transform: translateX(0);
}
.entrance-door.single-prod:last-of-type {
    transform: translateX(0);
}
.entrance-door .descr {
	text-align: left;
	white-space: pre-wrap;
    line-height: 165%;
}
.entrance-door h2 {
	position: relative;
	cursor: pointer;
	text-align: left
}
.entrance-door h2 a:after {
	position: absolute;
	right: 30px;
    top: 3px;
	display: block;
	width: 30px;
	height: 20px;
	background: url(images/arrow-right.svg) no-repeat 50% 50% / 100%;
	opacity: 0.6;
	transition: all ease 0.3s;
	content: ''
}
.entrance-door h2:hover a:after {
}
.entrance-door:hover a:after {
	right: 20px;
	opacity: 1
}
.single-prod img {
    margin: auto;
    max-width: 220px;
}
.products_list {
    margin: 30px 0 0;
	padding: 0;
    flex-wrap: wrap;
}

.products_list .product {
    display: flex;
    flex-direction: column;
    padding: 0 10px;
    /*box-shadow: 0 0 12px rgba(173, 173, 173, 0.3);*/
    margin: 0 15px 30px;
    justify-content: center;
    align-content: center;
    align-self: center;
    align-items: center;
    min-width: 200px;
    width: calc(100% / 3 - 30px);
    text-align: center;
}
.product img {
    max-width: 200px;
	width: 100%;
}
.products_list .product a:last-of-type {
    font-size: 24px;
    margin: 10px 0;
}
.products_list .product a:last-of-type h3 {
	margin: 0
}
figure.product-image {
    margin: 0 100px 0 0;
    line-height: 1;
    width: 400px;
}

.product-image img {
	margin: auto;
    max-width: 200px;
    box-shadow: 0 0 15px rgba(234, 234, 234, 0.3);
}

.product-info {
    width: calc(100% - 500px);
}
.prod-descr {
	white-space: break-spaces;
    line-height: 165%;
}
.view-price {
	display: block;
	font-size: 18px
}
.pagination-wrapp {
    margin: 10px 0 40px;
}
.back-to-top {
    position: fixed;
    right: 15px;
    bottom: 15px;
    width: 40px;
    height: 40px;
    border: 1px solid #000;
    border-radius: 50%;
    background: #000;
}
.back-to-top svg {
    width: 40px;
    height: 40px;
    position: relative;
    top: -3px;
    left: -1px;
}
.back-to-top polygon {
    fill: #fff;
}
iframe {
    width: 100%;
}
.contact-content {
    padding: 0 0 0 20px;
}
.nav-links {
    display: flex;
}
ul.page-numbers {
	width: 100%;
    display: flex;
}
.page-numbers a,
.page-numbers span {
    background: #fff;
    margin-right: 10px;
    color: #000;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #000;
    transition: all ease 0.4s;
}
.page-numbers a:hover,
.page-numbers span:hover,
.page-numbers span.current {
    background: #000;
    color: #fff;
}
h2.screen-reader-text {
    display: none;
}
.review {
    width: calc(33.33% - 30px);
    margin: 0 15px 20px 15px;
}
footer {
    margin: 30px 0 0;
    padding: 30px 0 10px;
	box-shadow: 0 3px 7px #ccc;
}
hr {
	display: block;
    margin: 0;
    border: none;
    height: 1px;
    background: #000;
}
.footer-menu_wrapper {
	padding: 0 0 10px;
    justify-content: space-between;
    align-items: start;
}
footer {
	position: relative;
}
footer .logo {
    width: 120px;
}
footer a {
    font-size: 16px;
    line-height: 160%;
}
.call-order {
    position: fixed;
    bottom: 50px;
    right: 50px;
	z-index:10;
    width: 70px;
    height: 70px;
    background: #fff;
    border: 1px solid #000;
    padding: 15px;
    border-radius: 50%;
	cursor: pointer;
}
.call-order img {
	transition: all ease 0.4s
}
.call-order:hover img  {
	transform: scale(1.1)
}
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
    border: none;
    margin: 0;
    padding: 0;
}
.wpcf7 form.sent .wpcf7-response-output {
	text-align: center;
    color: #2d9236;
    font-size: 18px;
}

/* Style the buttons inside the tab */
.tab {
  overflow: hidden;
  /*border: 1px solid #ccc;*/
  /*background-color: #f1f1f1;*/
}

#entrance-doors,
.entrance-doors,
#interior-doors,
.interior-doors {
	display: none
}

.tab a {
    background-color: #f1f1f1;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 10px;
    transition: 0.3s;
    font-size: 14px;
    margin: 0 10px 10px 0;
}

/* Change background color of buttons on hover */
.tab a:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab a.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  /*border: 1px solid #ccc;*/
}

.tabcontent:first-child {
    display: block
}

blockquote.wp-block-quote {
    margin: 40px 0 40px 20px;
}

.wp-block-quote + .wp-block-separator {
    
}

@media screen and (max-width: 992px) {
    header .menu li a {
        padding: 5px    
    }
	header .menu {
		margin: 0 0 0 10px;
	}
	.logo {
		max-width: 160px;
	}
	.single-prod img {
		max-width: 190px;
	}
}
@media screen and (max-width: 767px) {
    .humburger-btn {
        display: block;
		position: absolute;
		z-index: 50;
		right: 15px;
		width: 40px;
		height: 40px;
		background: url(images/menu.svg) no-repeat 0 0 / contain;
		border: none;
		padding: 0
    }
	.humburger-btn:hover,
	.humburger-btn:active,
	.humburger-btn:focus {
		border: none;
	}
	header .contact-info {
		margin-right: 100px;
	}
	header .menu {
		position: fixed;
		z-index: 10;
		left: 0;
		top: 0;
		margin: 0;
		display: flex;
		flex-direction: column;
		justify-content: center;
		background: #fff;
		width: 100%;
		height: 100vh;
		transform: translateX(9999px);
		transition: all ease 0.4s
	}
	header .menu li {
		display: block;
		margin: 5px 0;
		width: 100%;
		text-align: center
	}
	header .menu.open {
		transform: translateX(0);
	}
	figure.product-image {
		margin: 0 50px 0 0;
		line-height: 1;
		width: 240px;
	}
	.products_list .product {
		min-width: initial
	}
	.product-info {
		width: calc(100% - 290px);
	}
	.single-prod {
		max-width: initial
	}
	.single-prod img {
		max-width: 160px;
	}
	h2 {
		font-size: 16px;
	}
}
@media screen and (max-width: 660px) {
	.products_list .product {
		min-width: initial
	}
	.page-numbers a, .page-numbers span {
		width: 30px;
		height: 30px;
	}
}
@media screen and (max-width: 550px) {
	.product-body > .flex {
		flex-direction: column;
	}
	figure.product-image,.product-info {
		margin: 0 0 40px;
		width: 100%
	}
	.footer-menu_wrapper {
		flex-direction: column;
		align-items: center;
	}
	.footer-menu_wrapper > * {
		margin: 0 0 20px
	}
	footer .logo {
		width: 150px;
	}
	.single-prod img {
		max-width: 140px;
	}
	.products_list .product {
		margin-bottom: 30px;
		padding: 0;
		width: calc(50% - 30px);
	}
	.products_list .product a:last-of-type {
		font-size: 18px;
	}
	.products_list .product a:last-of-type h3 {
		margin: 0
	}
}

@media screen and (max-width: 480px) {
	.logo {
		max-width: 140px;
	}
	header .contact-info {
		margin-right: 60px;
	}
}
@media screen and (max-width: 375px) {
	.logo {
		max-width: 120px;
	}
	header .contact-info {
		margin-right: 50px;
	}
}

