/*!
Theme Name: vidhuk
Theme URI: pprintdim.com
Author: pprintdim.com
Author URI: pprintdim.com
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: best-garage-door
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
 
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */


/* Fonts
	 ========================================================================== */
@font-face {
    font-family: 'Roboto';
    src: url('assets/fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Medium */
@font-face {
    font-family: 'Roboto';
    src: url('assets/fonts/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* SemiBold */
@font-face {
    font-family: 'Roboto';
    src: url('assets/fonts/Roboto-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Bold */
@font-face {
    font-family: 'Roboto';
    src: url('assets/fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ExtraBold */
@font-face {
    font-family: 'Roboto';
    src: url('assets/fonts/Roboto-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Elements
	 ========================================================================== */
html {
	margin: 0;
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #222;
    position: relative;
    background: #f0f0f0;
    max-width: 1920px;
    margin:0;
}

main {
	margin-top: 60px;
	padding-bottom: 20px;
}

main:not(.home-page) {
	padding-top: 10px;
}

h1,h2,h2,h3,h4,h5 {
	display: block;
	font-weight: 600;
	padding: 0;
	margin: 0;
}

ul, ol {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	margin:0;
}

a {
	text-decoration: unset;
	display: inline-block;
	color: #084e82;
}

li,p {
	display: inline-block;
}

* {
	box-sizing: border-box;
	font-size: inherit;
}

svg,
img {
	display: block;
	width: auto;
	height: auto;
}
input[type="sumbit"],
button {
	outline: unset;
	border: unset;
	padding: 0;
	background: transparent;
	cursor: pointer;
}

input[type="text"],
input[type="numer"] {
	height: 40px;
	display: flex;
	align-items: center;
	padding: 0 16px;
}

[contenteditable],
input[type="text"],
input[type="numer"],
textarea {
	width: 100%;
	color: #444;
	font-size: 1em;
	line-height: 1.1;
	border: 1px solid #999;
}


textarea:placeholder,
input:placeholder {
	color: #999;
	font-weight: inline-block;
	font-size: inherit;
	line-height: inherit;
}
[contenteditable],
textarea {
	padding: 12px;
}

/* Components
	 ========================================================================== */

.container {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 20px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 0 16px;
}

.logo-img {
	height: 36px;
}

.main-btn {
	height: 45px;
	padding: 0 35px;
	width: fit-content;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 1.1em;
	line-height: 1.1;
	font-weight: 500;
}

.main-btn.blue {
	border: 1px solid #0462a4;
	background: #0462a4;
	color: #FFFFFF;
}
@media (max-width: 430px) {
	.container {
		padding: 0 12px;
	}
}
/* Navs Group
	 ========================================================================== */
.catalog-nav {
	padding-top: 10px;
	display: block;
	overflow: hidden;
	margin-top: 10px;
}

.catalog-nav .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5px 12px;
	text-align: center;
	border: 1px solid #DFE1E5;
    background-color: #FFFFFF;
    font-size: .9em;
    font-weight: 500;
    color: #3C4043;
    width: fit-content;
    line-height: 1.1;
    border-radius: 30px;
}

.catalog-nav .swiper-slide:hover {
	background-color: #f6f5f5;
}

/* Select2
	 ========================================================================== */
.modal-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding-left: 12px;
	line-height: 36px;
}

.select2-container--default .select2-results>.select2-results__options {
	flex-direction: column;
	flex-wrap: unset;
}


.modal-wrapper .select2-container--default .select2-selection--single .select2-selection__clear,
.modal-wrapper .select2-container .select2-selection--single {
	height: 40px;
}

.modal-wrapper .select2-container--default .select2-selection--single .select2-selection__clear {
	border-color: #444;
}


.modal-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 40px;
}

.select2-dropdown {
	z-index: 11111111!important;
}

.select2-search--dropdown {
	padding: 0!important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
	height: 35px;
	display: flex;
	align-items: center;
	padding: 0 12px;
}

/* Modals
	 ========================================================================== */
.modal-close-wrapper {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 111;
	background: rgba(0,0,0,.7);
	cursor: pointer;
}
.modal-close-wrapper[data-type="search"] {
	z-index: 1111;
}
.modal-wrapper .form__text-group.has-icon {
	position: relative;
}


.modal-wrapper .form__text-group.has-icon input {
	padding-left: 36px;
}

.modal-wrapper .form__text-group.has-icon i {
	position: absolute;
	top: 50%;
	left: 10px;
	transform: translateY(-50%);
	z-index: 1;
}

.modal-wrapper {
	position: fixed;
	z-index: 1111;
	display: none;
}

.modal-wrapper:not(.search-wrapper) {
	width: 100%;
	max-width: 560px;
	background: #FFFFFF;
	min-height: 50vh;
	overflow-y: auto;
	border-radius: 14px;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
}

.search-wrapper {
	width: max-content;
	top: 3px;
	z-index: 11111;
}

.search-wrapper .main-block {
	display: flex;
	align-items: center;
	background: #FFFFFF;
	padding-right: 12px;
}

.search-wrapper__icon {
	width: 32px;
	height: 32px;
	margin-right: 12px;
}



.search-wrapper__input {
	width: 300px;
	border: unset;
	padding: 0 12px;
	height: 45px;
	outline: unset;
}

.modal-wrapper.active {
	display: block;
}

.modal-wrapper__submit-btn {
	cursor: pointer;
	max-width: 300px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.modal-wrapper__main-block {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px 0;
}
.modal-wrapper__title-group {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.modal-wrapper .title-group__title {
	font-size: 24px;
	font-weight: 500;
	line-height: 1.2;
}
.modal-wrapper__close-btn {
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.search-wrapper__close-btn {
	width: 32px;
	height: 32px;
}


.modal-wrapper__close-btn:after,
.modal-wrapper__close-btn:before {
	content: '';
	position: absolute;
	width: 32px;
	height: 1px;
	background: #222;
	opacity: .6;
}

.modal-wrapper__close-btn:after {
	transform: rotate(45deg);
}

.modal-wrapper__close-btn:before {
	transform: rotate(-45deg);
}

.modal-wrapper__close-btn:hover:after,
.modal-wrapper__close-btn:hover:before {
	opacity: 1;
}

.modal-wrapper__form {
	display: flex;
	gap: 20px 0;
	flex-direction: column;
}

.modal-wrapper .form__rating-group {
	display: flex;
	align-items: center;
	gap: 0 12px;
}

.modal-wrapper .rating-group__rating-list {
	gap: 0 7px;
	align-items: center;
}

.modal-wrapper .rating-group__text {
	display: block;
	font-weight: 500;
	font-size: 1em;
	color: #f99b00;
}

.modal-wrapper .rating-group .rating-list__item {
	cursor: pointer;
}

.modal-wrapper .rating-list .item.active polygon {
	fill: #ff8c00;
}

.modal-wrapper .dropdown-group {
	position: relative;
}

.modal-wrapper .content-group__buttons-group {
	display: flex;
	align-items: center;
	gap: 0 10px;
	background:  #c2cad8;
	border: 1px solid  #c2cad8;
	padding: 12px 20px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.modal-wrapper .content-group__smiles_box {
	padding: 10px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.modal-wrapper .content-group__smiles_box img {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.modal-wrapper .text-group__textar img {
	display: inline-block;
	width: auto!important;
	height: 16px!important;
	object-fit: contain;
}

.modal-wrapper .text-group__textar {
	color: #444;
	line-height: 1.4;
}


.modal-wrapper .content-group .buttons-group__btn svg {
	height: 20px;
}

.modal-wrapper .dropdown-group__dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	z-index: 111;
	max-height: 500px;
	background: #FFFFFF;
	padding: 16px;
}

.modal-wrapper .dropdown__dropdown-list {
	flex-direction: column;
	gap: 12px 0;
}

.modal-wrapper .dropdown-list__item {
	display: grid;
	align-items: center;
	grid-gap: 0 15px;
	grid-template-columns: max-content 1fr;
	cursor: default;
}

.modal-wrapper .dropdown-list .item__img {
	width: 40px;
	height: 40px;
	display: block;
	object-fit: cover;
	aspect-ratio: 1/1;
}
.modal-wrapper .dropdown-list .item__about-group {
	display: flex;
	flex-direction: column;
	gap: 5px 0;
}

.modal-wrapper .dropdown-list .item_name {
	display: block;
	color: #084e82;
	font-size: 1.1em;
	line-height: 1.1;
	font-weight: 500;
}

.modal-wrapper .dropdown-list .item__cat {
	display: block;
	color: #777;
	font-size: .9em;
}

.modal-wrapper .dropdown-list .item__ratings {
	max-width: 70px;
}

.modal-wrapper .form__gallery-group {
	padding: 20px 0;
}

.modal-wrapper .gallery-list {
	flex-wrap: wrap;
	gap: 5px 10px;
}

.modal-wrapper .gallery-list__item {
	display: block;
	position: relative;
	gap: 0 10px;
}

.modal-wrapper .gallery-list__item img {
	width: 60px;
	height: 60px;
	object-fit: cover;
}

.modal-wrapper .gallery-list__item button {
	position: absolute;
	right: 0;
	top: 0;
}

.modal-wrapper .gallery-list__item button svg {
	height: 12px;
}

.modal-wrapper .plusminus-group {
	display: flex;
	flex-direction: column;
	gap: 10px 0;
}
.modal-wrapper .plusminus-group__textareas {
	display: grid;
	grid-gap: 16px;
	grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 767px) {
	.search-wrapper {
		top: 80px;
		left: 50%;
		transform: translateX(-50%);
		width: calc(100% - 40px);
	}

	.search-wrapper__input {
		width: 100%;
	}
}

@media (max-width: 520px) {
	.modal-wrapper {
		border-radius: 12px;
		min-height: auto;
	}

	.modal-wrapper__close-btn {
		width: 30px;
		height: 30px;
	}
}

/* Top nav
	 ========================================================================== */

.top-nav {
	background: #0077cb;
	position: fixed;
	z-index: 1111;
	width: 100%;
	top: 0;
	left: 0;
}

.top-nav__main-block {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 60px;
}

.top-nav__site-title  {
	font-size: 1.3em;
	color: #FFFFFF;
	font-weight: 600;
}

.top-nav__right-column,
.top-nav__buttons-group {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 0 16px;
}

.top-nav .search-btn svg {
	height: 30px;
	width: auto;
}

.top-nav .burger-btn svg {
	height: 26px;
	width: auto;
}

.top-nav .add-comment-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0 12px;
	min-height: 36px;
    padding: 0 20px;
    white-space: nowrap;
    background-color: #e31d2d;
    font-weight: bold;
    border-radius: 4px;
    color: #FFFFFF;
    width: fit-content;
    border: 2px solid white;
}

.top-nav ._add-comment-btn svg {
	height: 18px;
}

.top-nav .add-comment-btn span {
	display: block;
	font-size: .9em;
	color: #FFFFFF;
	line-height: 1.2;
	padding-bottom: 2px;

}

.top-nav .burger-group {
	position: relative;
}

.top-nav .burger-menu {
	position: absolute;
    top: calc(100% - 15px);
    right: 0;
    z-index: 1000;
    display: none;
    min-width: 220px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.top-nav .burger-menu:after {
	right: 9px;
	position: absolute;
    top: -8px;
    display: inline-block !important;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #e0e0e0;
    border-left: 8px solid transparent;
    content: '';
}

.top-nav .burger-menu.open {
	display: block;
}

.top-nav .burger-menu__menu {
	width: 100%;
}

.top-nav .burger-menu .menu__item {
	width: 100%;
}

.top-nav .burger-menu .menu__item:hover {
	background: #ececec;
}

.top-nav .burger-menu .menu__item a {
	display: flex;
	align-items: center;
	gap: 0 8px;
	padding: 0 12px;
	font-weight: 500;
	font-size: .9em;
	min-height: 42px;
	color: #4a4a4a;
}

.top-nav .burger-menu .menu__item path {
	fill: #000000;
}

.top-nav .burger-menu .menu__item svg {
	height: 20px;
}
.top-nav .burger-group,
.top-nav .burger-btn {
	width: fit-content;
	height: fit-content;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 1080px) {
	.top-nav__site-title {
		font-size: 1.1em;
	}
}

@media (max-width: 767px) {
	.top-nav__site-title {
		display: none;
	}

	.top-nav .burger-menu {
		right: auto;
		left: 0;
	}

	.top-nav .burger-menu:after {
		right: auto;
		left: 8px;
	}

	.top-nav__main-block {
		gap:0 10px;
	}
}

@media (max-width: 430px) {
	.top-nav .buttons-group__search-btn svg {
		height: 28px;
	}
	.top-nav .burger-group__burger-btn svg {
		height: 22px;
	} 

	.top-nav__right-column, .top-nav__buttons-group {
		gap: 0 12px;
	}
}
/* Footer
	 ========================================================================== */
.footer {
	background: #12151e;
    padding-top: 32px;
    padding-bottom: 20px;
    min-height: 40vh;
}

.footer * {
	color: #FFFFFF;
}

.footer__columns {
	display: grid;
	grid-template-columns: 160px 1fr;
	grid-gap: 0 50px;
	padding-bottom: 20px;
}

.footer .contacts-menu {
	flex-direction: column;
	gap: 10px 0;
}

.footer .footer-menu {
	display: grid;
	grid-gap: 30px;
	grid-template-columns: repeat(auto-fill,minmax(160px,1fr));
}

.footer .footer-menu > .menu-item {
	font-size: 1.1em;
	font-weight: 600;
}

.footer .menu-item > *:not(.sab-menu) {
	font-size: inherit;
	color: inherit;
	line-height: inherit;
	font-weight: inherit;
}

.footer .sub-menu {
	flex-direction: column;
	margin-top: 20px;
	gap: 6px 0;
}

.footer .contacts-menu .menu-item {
	display: flex;
	align-items: center;
	gap: 0 4px;
}

.footer .sub-menu .menu-item {
	font-size: .8em!important;
	font-weight: 400;
	color: #838282!important;
}

.footer .sub-menu .menu-item span {
 color: #FFFFFF;
}

.footer__main-column {
	width: 100%;
	display: grid;
	grid-gap: 0 50px;
	grid-template-columns: 1fr 200px;
}

.footer__sub-footer {
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 20px;
	border-top: 1px solid #FFFFFF;
}
.footer__powered-text {
	font-size: 1em;
	color: #666;
	text-align: center;
}

.footer__powered-text a {
	font-weight: 500;
	color: #FFFFFF;
}

@media (max-width: 1080px) {
	.footer__main-column,
	.footer__columns {
		grid-gap: 0 30px;
	}
}


@media (max-width: 767px) {
	.footer .contacts-menu {
		flex-direction: row;
		gap: 12px;
		justify-content: center;
		flex-wrap: wrap;
	}

	.footer .footer-menu {
		grid-gap: 24px;
		grid-template-columns: repeat(2, 1fr);
	}

	.footer__main-column, 
	.footer__columns {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 24px 0;
	}

	.footer__contacts-title {
		display: none;
	}
}

/* Page content
	 ========================================================================== */
.page-content h1,
.page-content h2,
.page-content h3 {
	margin-bottom: 10px;
}
.page-content h1 {
	font-size: 2em;
}

.page-content h2 {
	font-size: 1.7em;
}

.page-content h3 {
	font-size: 1.3em;
}

.page-content__main-block {
	padding: 24px;
	background: #FFFFFF;
}

/* Featured news
	 ========================================================================== */


.featured-news {
	margin-top: 24px;
	margin-block: 24px;
}


/* News Cards
	 ========================================================================== */
.news-cards {
	display: grid;
	grid-gap: 15px;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	padding-bottom: 20px;
}

.news-card {
	display: block;
	align-items: center;
	
	width: 100%;
	overflow: hidden;
}
.news-card__thumb {
	display: flex;
	flex-direction: column;
	gap: 10px 0;
	
}
.news-card__img {
	border-radius: 8px;
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: cover;
	display: block;
}
.news-card__text {
	display: block;
	text-align: center;
}

/* Cards
	 ========================================================================== */
.cards {
	margin-top: 10px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px,1fr));
	grid-gap: 16px 24px;
}

.card {
	width: 100%;
    height: 100%;
    background: #fff;
    border: 1px solid #cfcfcf;
    padding: 20px;
    position: relative;
    cursor: default !important;
    border-radius: 20px;
    border-top-left-radius: 0;
    display: flex;
    flex-direction: column;
}

.card__top-group {
	display: grid;
	grid-template-columns: max-content 1fr;
	grid-gap: 0 16px;
	align-items: center;
}
.card__review-name {
	margin-bottom: 7px;
}
.card__review-content {
    line-height: 1.2em;
    height: calc(1.2em * 6);
    font-size: .9em;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card__review-content a {
	display: inline-block;
}
.card__thumb {
	display: border-box;
}

.card__img {
	width: 100px;
}

.card__name {
	display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.2em;
    font-weight: 600;
}

.card__about-group {
	display: flex;
	gap: 4px 0;
	flex-direction: column;
}
.card__content-group {
	margin-block: 10px;
}
.card__bottom-group {
	display: flex;
	justify-content: space-between;
	width: 100%;
	margin-top: auto;
	
}
.card__author,
.card__date {
	display: block;
	color: #b5b5b5;
    font-size: .8em;
    font-weight: 500;
}

.card__rating-group {
	display: flex;
	align-items: center;
	gap: 0 6px;
}

.card__rating-count {
	font-weight: 500;
	color: #ff8c00;
	font-size: 1em;
}

.card__views-total {
	color: #969696;
	letter-spacing: 1.1;
	font-size: .9em;
}

.card__rating-total {
	font-size: .8em;
}
