/*   
Theme Name: Champion Okna Sochi
Theme URI: https://championokna.ru/
Version: 3.0
Tags: 0.1
Description: Theme for https://championokna.ru/
Author: maxlabr
Author URI: https://t.me/maxlabr
*/


@media (min-width: 979px) { 
	ul.nav li.dropdown.show-on-hover:hover > ul.dropdown-menu {
		display: block;
	}
	.comment-list .children {
		padding: 0;
		margin-left: 74px;
		padding-bottom: 15px;
	}
	.comment-list .media {
		margin-top: 0;
	}
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}


body {
	font-size: 17px;
	line-height: 23px;
    -webkit-font-smoothing: antialiased;
}
.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6 {
    font-weight: 700;
    font-family: inherit;
    font-weight: 700;
    line-height: 1.1
}
@media (min-width: 320px) {
    .h1,h1 {
        font-size:1.6em
    }
}
@media (min-width: 992px) {
    .h1,h1 {
        font-size:2em
    }
}
.mainpage-h1 {
	margin-top: .8em !important;
}
.h2,h2 {
    font-size: 1.3em
}
@media (min-width: 768px) {
    .h2,h2 {
        font-size:1.4em
    }
}
.h3,h3 {
    font-size: 1.2em
}
@media (min-width: 992px) {
    .h2,h2 {
        font-size:1.5em
    }
}
@media (min-width: 992px) {
    .h3,h3 {
        font-size:1.3em
    }
}
h1 span {
	white-space: nowrap;
}
@media screen and (max-width: 1200px) {
	.container {
		width: 100%;
	}
}
img {
	display: block;
	border-radius: 4px;
	max-width: 100%;
	height: auto;
}
.container {
	position: relative;
	max-width: 1110px;
}
section {
	margin-top: 2em;
}
section#item-promo {
	margin-top: 0;
}
.cta-btn {
	text-align: center;
	font-size: 17px;
	font-weight: bold;
	padding: 15px;
	background: #eee;
	border-radius: 4px;
}
.cta-btn.orange {
	background: #f86d22;
	color: #fff;
}
.cta-btn.green {
	background: #389d29;
	color: #fff;
}
/*HEADER*/
header {
	position: sticky;
    top: 0;
    z-index: 100;
}
header,.navbar-default {
	background: #156091;
	border-radius: 0;
	border: none;
	display: flex;
	align-items: center;
}
#top-nav-ul {
	display: flex;
	align-items: center;
}
.navbar {
	margin-bottom: 0;
	min-height: 75px;
}
.navbar-default .navbar-nav>li>a {
	color: #fff;
}
.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
	color: #fff;
	text-decoration: none;
	background: transparent;
}
.navbar-toggle {
	margin-right: 0;
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #fff;
}
.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
	background: #fff;
	border-color: #fff;
}
.navbar-default .navbar-toggle:focus .icon-bar, .navbar-default .navbar-toggle:hover .icon-bar {
	background-color: #156091;
}
.phone a {
	font-weight: bold;
	background: rgba(255, 255, 255, .2);
	padding: 10px!important;
	border-radius: 4px;
}
.phone a:hover,
.phone a:focus,
.phone a:focus:hover {
	background: rgba(255, 255, 255, .3)!important;
}
.navbar-brand {
    padding: 5px 0;
    height: auto!important;
    display: flex;
}
.header-descriptor {
	display: flex;
	font-size: 14px;
	line-height: 16px;
	color: rgba(255,255,255,.9);
	align-items: center;
	margin-left: 20px;
}
.header-descriptor span, .header-descriptor img {
	width: 100px;
	display: block;
}
@media (max-width: 1005px) {
	#top-nav-ul {
		display: block;
	}
	.navbar-header {
	  float: none;
	}
	.navbar-left,.navbar-right {
	  float: none !important;
	}
	.navbar-toggle {
	  display: block;
	}
	.navbar-collapse {
	  border-top: none;
	  box-shadow: none;
	  padding-left: 0;
	  padding-right: 0;
	}
	.navbar-fixed-top {
	  top: 0;
	  border-width: 0 0 1px;
	}
	.navbar-collapse.collapse {
	  display: none!important;
	}
	.navbar-nav {
	  float: none!important;
	  margin: 0;
	}
	.navbar-nav>li {
	  float: none;
	  border-bottom: 1px solid rgba(255, 255, 255, .3);
	}
	.navbar-nav>li:last-child {
		border-bottom: none;
	}
	.navbar-nav>li>a {
	  padding-top: 10px;
	  padding-bottom: 10px;
	  padding-left: 0;
	  padding-right: 0;
	}
	.collapse.in{
	  display:block !important;
	}
	.navbar-default {
		flex-direction: column;
	}
	.navbar-header {
		width: 100%;
		position: relative;
	}
	.navbar-collapse {
		width: 100%;
	}
	.navbar-toggle {
		position: absolute;
	    right: 0;
	    top: 50%;
	    bottom: 50%;
	    margin: auto;
	    display: block;
	    width: 45px;
	    height: 40px;
	}
	.alutech-logo {
		width: 40px;
	    height: 40px;
	    overflow: hidden;
	    position: relative;
	}
	.alutech-logo img {
		max-width: 10000000px;
    	width: 148px!important;
    	position: absolute;
    	left: -108px;
	}
	.phone a {
		border-radius: 0;
		padding: 15px!important;
		font-size: 18px;
	}
}

/*BREADCRUMBS*/
.breadcrumbs {
	position: relative;
	z-index: 10;
	font-size: 14px;
	padding-top: 15px;
    padding-bottom: 20px;
}
.breadcrumbs a,
.breadcrumbs span {
	color: #bbb;
}
/*MAIN BLOCKS*/
#promo-category {
	margin-top: 0;
	position: relative;
	top: -60px;
	margin-bottom: -60px;
	padding-top: 60px;
	background: #eee;
	min-height: 400px;
	color: #fff;
}
#promo-category:after {
	display: block;
	content: "";
	background: rgba(0, 0, 0, .5);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#promo-category>* {
	position: relative;
	z-index: 10;
}
#promo-category h1 {
	margin: 0;
}
#promo-category .item-cta-benefits {
	margin-top: 20px;
	padding: 0;
	background: transparent;
}
#promo-category .cta-btn {
	display: inline-block;
	margin-top: 20px;
}
/*Catalog GRID*/
#catalog .child-pages-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: space-between;
}
#catalog .child-pages-list li {
	display: flex;
	gap: 15px;
	width: 49%;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 4px;
	padding: 10px;
}
.item-card-thumb {
	position: relative;
}
.item-card-info {
	display: flex;
    flex-direction: column;
    gap: 8px;
}
.item-card-info .h4 {
	margin-bottom: 0;
}
.item-temp {
	position: absolute;
	top: 0;
	display: inline-block;
	width: 100px;
	text-align: center;
	font-size: 14px;
	background: #eee;
	border-radius: 4px;
}
.item-temp.cold {
	background: #e9f5ff;
    color: #1f6191;
}
.item-temp.hot {
	background: #ffcc9a;
    color: #774b00;
}
.name-price>* {
	display: block;
	width: 100%;
}
.item-price {
	font-weight: bold;
    margin: 6px 0;
}
#catalog .child-pages-list li .cta-btn {
	width: 100%;
	padding: 10px;
}
@media screen and (max-width: 1029px) {
	#catalog .child-pages-list {
		gap: 10px;
	}
}
@media screen and (max-width: 900px) {
	#catalog .child-pages-list li a img {
		width: 125px;
		height: auto;
	}
}
@media screen and (max-width: 800px) {
	#catalog .child-pages-list li {
		width: 100%;
	}
	#catalog .child-pages-list li a img {
		max-width: 125px;
	}
	.item-card-info {
		flex-direction: row;
		align-items: center;
		width: 100%;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	#catalog .child-pages-list li .cta-btn {
		width: 200px;
	}
}
@media screen and (max-width: 500px) {
	#catalog .child-pages-list li .cta-btn {
		width: 100%;
	}
	.item-price {
		font-size: 14px;
	}
}

#item-promo .container {
	padding-left: 450px;
	min-height: 400px;
}
.item-image {
	position: absolute;
	top: 0;
	left: 15px;
}
.item-headline h1 {
	margin-top: 0;
}
.price {
	margin: 15px 0;
	display: flex;
	gap: 10px;
	font-size: 24px;
	line-height: 30px;
	font-weight: bold;
}
.price .credit-rassrochka {
	display: flex;
	gap: 10px;
	font-size: 15px;
	font-weight: normal;
}
.price .credit-rassrochka>* {
	background: #eee;
	border-radius: 4px;
	padding: 0 15px;
}
@media screen and (max-width: 992px) {
	.price {
		flex-direction: column;
	}
}
.item-cta {
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.item-cta-btns {
	display: flex;
	gap: 10px;
}
.item-cta-btns .cta-btn {
	width: 50%;
}
@media screen and (max-width: 992px) {
	.item-cta-btns {
		flex-direction: column;
	}
	.item-cta-btns .cta-btn {
		width: 100%;
	}
}
.item-cta-benefits {
	margin: 10px 0;
	background: #e9f5ff;
    padding: 15px;
}
.item-cta-benefits ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.item-cta-benefits ul li {
	position: relative;
	padding-left: 25px;
	background: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNDgwIDEyOGMwIDguMTg4LTMuMTI1IDE2LjM4LTkuMzc1IDIyLjYybC0yNTYgMjU2QzIwOC40IDQxMi45IDIwMC4yIDQxNiAxOTIgNDE2cy0xNi4zOC0zLjEyNS0yMi42Mi05LjM3NWwtMTI4LTEyOEMzNS4xMyAyNzIuNCAzMiAyNjQuMiAzMiAyNTZjMC0xOC4yOCAxNC45NS0zMiAzMi0zMiA4LjE4OCAwIDE2LjM4IDMuMTI1IDIyLjYyIDkuMzc1TDE5MiAzMzguOGwyMzMuNC0yMzMuNGM2LjItNi4yNyAxNC40LTkuNCAyMi42LTkuNCAxNy4xIDAgMzIgMTMuNyAzMiAzMnoiIGZpbGw9IiMzODlkMjkiIGNsYXNzPSJmaWxsLTAwMDAwMCI+PC9wYXRoPjwvc3ZnPg==") left center no-repeat;
	background-size: 20px;
	margin-bottom: 8px;
}
.item-cta-benefits ul li:last-child {
	margin-bottom: 0;
}

/*Promo Block Mainpage*/
#mainpage-content .container {
	display: flex;
    justify-content: space-between;
    padding: 0;
}
#mainpage-content .container main {
	width: calc(100% - 360px);
}
#mainpage-content .container main h2:first-child {
	margin-top: 0;
}
#mainpage-content .container aside {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#mainpage-content .container aside .cert-img {
	display: inline-block;
}
#mainpage-content .container aside .cert-img img {
    box-shadow: 0px 13px 44px rgba(0, 0, 0, 0.13);
}
.presentation {
	background: #ddd;
	width: 100%;
	height: 100%;
	position: relative;
	border-radius: 4px;
}
.presentation button {
	position: absolute;
	display: block;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	top: -50%;
	bottom: -50%;
	left: -50%;
	right: -50%;
	margin:  auto;
	text-align: center;
	background: #f86d22;
    border: none;
}
.presentation button svg {
	width: 25px;
	height: 25px;
	margin: 0 auto;
    display: block;
    fill: #fff;
}
@media screen and (max-width: 1000px) {
	#mainpage-content .container {
		display: block;
		padding: 0 15px;
	}
	#mainpage-content .container main,#mainpage-content .container aside {
		width: 100%;
	}
	#mainpage-content .container aside {
		margin-top: 2em;
	    flex-direction: row;
	    align-items: center;
	}
	.presentation {
		width: calc(100% - 250px);
    	min-height: 345px;
	}
}

/*Slider*/
.portfolio-list {
	padding: 0;
}
.swiper-pagination {
	position: relative;
	margin-top: 20px;
}
.swiper-button-next, .swiper-button-prev {
	width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #000;
    background: #fff;
}
.swiper-button-next:after, .swiper-button-prev:after {
	font-size: 20px;
	font-weight: bold;
}
.swiper-pagination-bullet-active {
	background: #f86d22;
}

/*Presentation Modal*/
.modal {
    display: none;
    position: fixed;
    z-index: 1500;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    animation: slideIn 0.3s ease;
}

#modalVideo {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    background: #000;
}

.close {
    position: absolute;
    top: -40px;
    right: -40px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ccc;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    #modalVideo {
        height: 300px;
    }
    
    .close {
        top: -30px;
        right: -30px;
        font-size: 30px;
    }
}

/*Карточка - описание и характеристики*/
.item-description-tabs {
	display: flex;
	gap: 15px;
}
#item-description h2 {
	font-weight: normal;
	cursor: pointer;
	margin: 0;
	border: 1px solid #ddd;
	padding: 8px 15px;
	border-radius: 4px;
}
#item-description h2.active {
	border-color: #f86d22;
	color: #f86d22;
}
.tab-content {
	margin-top: 25px;
	display: none;
}
.tab-content.active {
	display: block;
}

/*Specs Table*/
#specs-table {
	width: 100%;
}
#specs-table tr td {
	border: 1px solid #ddd;
	padding: 8px;
}

/*Other Items*/
.other-items-list {
    display: flex;
    padding: 0;
    list-style: none;
    width: 100%;
    gap: 20px;
    justify-content: space-between;
}
.other-items-list li {
    width: 33.3%;
}
.other-items-list li a {
    display: flex;
    position: relative;
    padding: 20px;
    height: 200px;
    color: #fff;
    border-radius: 4px;
    overflow: hidden;
}
.other-items-list li a:after {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	content: "";
	background: rgba(0, 0, 0, .4);
	width: 100%;
	height: 100%;
}
.other-items-list li a:hover:after {
	background: transparent;
}
.other-items-list li a>* {
	position: relative;
	z-index: 10;
}
@media screen and (max-width: 749px) {
	.other-items-list {
		flex-wrap: wrap;
	}
	.other-items-list li {
		width: 48%;
	}
	.other-items-list li a {
		height: 140px;
	}
}
@media screen and (max-width: 540px) {
	.other-items-list {
		flex-wrap: wrap;
		gap: 10px;
	}
	.other-items-list li {
		width: 100%;
	}
	.other-items-list li a {
		height: 100px;
	}
}
.other-cards {
    display: flex;
    padding: 0;
    list-style: none;
    width: 100%;
    gap: 15px;
}
.other-cards li a {
	display: block;
	position: relative;
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
}
.other-cards li a span {
	position: absolute;
    display: block;
    top: 10px;
    background: #156091;
    color: #fff;
    font-size: 15px;
    padding: 2px 15px;
}
@media screen and (max-width: 540px) {
	.other-cards {
		flex-wrap: wrap;
	}
	.other-cards li a {
		width: 160px;
	}
}

/*FOOTER*/
footer {
	margin-top: 2em;
	background: #156091;
	padding: 20px 0;
}
.footer-cta-form {
	padding: 25px 15px 25px 60%;
	border-radius: 4px;
    margin-bottom: 0;
    background: url(/img/form-bg.jpg) no-repeat;
    background-size: contain;
	box-shadow: 0px 13px 44px rgba(0, 0, 0, 0.13);
}
.footer-cta-form .h3 {
	margin-top: 0;
}
.footer-cta-form .form-control {
	margin-bottom: 10px;
}
.footer-cta-form .cta-btn {
	width: 100%;
	padding: 12px;
	border: none;
}
@media screen and (max-width: 900px) {
	.footer-cta-form {
		background: #fff;
		padding: 25px 15px 25px 15px;
	}
}
.footer-objects {
	list-style: none;
	padding: 0;
}
.footer-objects li {
	margin-bottom: 20px;
}
.footer-object {
	border:  1px solid #eee;
	border-radius: 4px;
	padding: 10px;
	text-align: center;
}
.footer-object img {
	display: block;
	margin: 0 auto;
}
.footer-object span {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	line-height: 17px;
}
.bottom-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}
.bottom-menu li {
	margin-bottom: 5px;
}
.bottom-menu li:last-child {
	margin-bottom: 0;
}
.bottom-menu li a {
	color: #fff;
	text-decoration: underline;
}
.bottom-menu li a:hover,.bottom-menu li a:focus,.bottom-menu li a:focus:hover {
	text-decoration: none;
}

.showroom-block {
	display: flex;
	gap: 30px;
}
.showroom-block-info {
	width: 80%;
}
.showroom-block-info h2 {
	margin-top: 0;
}
.showroom-block-info ul {
	padding: 0;
	list-style: none;
}
.showroom-block-info ul li {
	margin-bottom: 8px;
}
.showroom-block-info ul li:last-child {
	margin-bottom: 0;
}
.showroom-block-info .cta-btn {
	display: block;
	width: 100%;
	margin-top: 20px;
}
.showroom-block-photos {
		width: 100%;
}
.showroom-slider {
	padding: 0;
}
.swiper-slide {
	width: 300px;
}
@media screen and (max-width: 1000px) {
	.showroom-block {
		flex-direction: column;
	}
	.showroom-block-info,.showroom-block-photos {
		width: 100%;
	}
	.swiper-slide {
		width: auto;
	}
}
footer span {
	color: rgba(255, 255, 255, .5);
}
footer span a {
	color: #fff;
	text-decoration: underline;	
}
footer span a:hover,footer span a:focus,footer span a:focus:hover {
	text-decoration: none;
}
.footer-adress,.footer-contacts {
	margin-bottom: 8px;
	color: #fff;
}
.footer-contacts a {
	display: inline-block;
	font-weight: bold;
	color: #fff;
	text-decoration: underline;
}
.footer-copy {
	font-size: 14px;
	display: block;
	line-height: 17px;
}

.modal-body {
	padding: 15px 25px;
}
.modal-body .form-control {
	margin-bottom: 10px;
	height: 40px;
}
.modal-body .cta-btn {
	width: 100%;
	border: none;
}

@media screen and (max-width: 767px) {
	#item-promo .container {
		padding-left: 15px;
	}
	.item-image {
		position: relative;
		top: auto;
		left: auto;
	}
}