/*
Theme Name: IMS Basic
Description: IMS Basic WordPress Theme
Version: 4.10
Author: IMS DESIGN
Author URI: //ims-design.ru/
*/

/*---Normalize--------------------------------------------------------------------------- */

body, html {
    height: 100%;
}

body {
    margin: 0;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

article, footer, header, main, nav, section, div, input, textarea {
    display: block;
}

a, a:active, a:focus, button, button:focus, button:active, .btn, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn.focus:active, .btn.active.focus {
    outline: none !important;
    outline: 0 !important;
}

input::-moz-focus-inner {
    border: 0 !important;
}

*, *:after, *:before {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

a {
    text-decoration: none !important;
}

a:hover, a:active, button:focus, button:hover, button:active, input:focus, input:hover, input:active {
    outline: 0 !important;
}

a:focus {
    outline: 0 !important;
}

b, strong {
    font-weight: bold;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
}

button, input {
    line-height: normal;
}

button, select {
    text-transform: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
	height: auto;
	border: 0;
    display: block;
}

.logo img, .loop-post img {
    width: 100%;
}

/*---Basic-Structure--------------------------------------------------------------------- */

body {
    font-family: 'Montserrat', sans-serif;
    color: #171717;
    font-size: 16px;
    line-height: 1.5;
    background: #fff;
}

main {
	max-width: 1920px;
	min-height: 100vh;
	overflow: hidden;
	padding-top: 96px;
	margin: 0 auto;
}

section, .section, .wrapper, .awesome {
    position: relative;
}

.wrapper {
    width: 100%;
    height: 100%;
    max-width: 1280px !important;
    padding: 0 20px;
    margin: 0 auto;
    z-index: 2;
}

.awesome:before, .main-nav ul:not(.sub-menu) > li.menu-item-has-children > a span:before {
	content: '';
	font-family: 'Font Awesome 5 Free';
	position: absolute;
	top: 0;
	height: 100%;
	font-weight: 900;
    color: currentColor;
}

.awesome:before {
    left: 0;
}

.main-nav ul:not(.sub-menu) > li.menu-item-has-children > a span:before {
	right: 0;
}

.scrolltop {
    position: fixed;
    bottom: 10px;
    left: 10px;
    color: #ff8200;
    font-size: 32px;
    z-index: 9;
    transition: color .5s;
    cursor: pointer;
    display: none;
}

/*---Flexbox----------------------------------------------------------------------------- */

.flex-around, .flex-between, .main-nav > ul, .flex-center, .btn, .fab, .main-nav ul a, .awesome:before, .main-nav ul:not(.sub-menu) > li.menu-item-has-children > a span:before, .main-nav > ul li ul.sub-menu, .flex-start, .flex-end, .header-flex {
    display: flex;
    align-items: center;
}

.flex-around {
    justify-content: space-around;
}

.flex-between, .main-nav > ul {
    justify-content: space-between;
}

.flex-center, .btn, .fab, .main-nav ul a, .awesome:before, .main-nav ul:not(.sub-menu) > li.menu-item-has-children > a span:before, .main-nav > ul li ul.sub-menu, .item .number {
    justify-content: center;
}

.flex-start, .main-nav > ul li ul.sub-menu {
    justify-content: flex-start;
}

.flex-end, .header-flex {
    justify-content: flex-end;
}

.wrap {
    flex-wrap: wrap;
}

.stretch {
	align-items: stretch;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

.gap-30 {
    gap: 30px;
}

.x2 {
    width: 50%;
}

.x3 {
    width: calc(100% / 3);
}

.x4 {
    width: 25%;
}

.gap-10 .x2 {
    width: calc(50% - 5px);
}

.gap-10 .x3 {
    width: calc((100% - 20px) / 3);
}

.gap-10 .x4 {
    width: calc((100% - 30px) / 4);
}

.gap-20 .x2 {
    width: calc(50% - 10px);
}

.gap-20 .x3 {
    width: calc((100% - 40px) / 3);
}

.gap-20 .x4 {
    width: calc((100% - 60px) / 4);
}

.gap-30 .x2 {
    width: calc(50% - 15px);
}

.gap-30 .x3 {
    width: calc((100% - 60px) / 3);
}

.gap-30 .x4 {
    width: calc((100% - 90px) / 4);
}

/*---Kadence-Blocks---------------------------------------------------------------------- */

.wp-block-kadence-accordion .kt-accordion-header-wrap .kt-blocks-accordion-header {
	cursor: pointer;
}

/*---Basic-Typography-------------------------------------------------------------------- */

h1, h2, h3, h4, .popup-title {
    margin: 0;
    line-height: 1.3;
}

.page-title {
    margin: 60px 0;
}

.popup-title {
    margin: 0 0 20px;
    padding: 0 0 20px;
    position: relative;
    border-bottom: 1px solid #E6E6E6;
    font-size: 36px;
    display: block;
    width: 100%;
    text-align: left;
    font-weight: 600;
}

.popup-title span {
    color: #FF8200;
}

.popup-subtitle {
	margin-bottom: 30px;
}

a {
    position: relative;
    transition: all .3s;
}

p, label {
    margin: 0;
}

/*---Header------------------------------------------------------------------------------ */

header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 96px;
    background: #171717;
    color: #fff;
    transition: all .3s;
    z-index: 5;
}

header.animate {
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
}

body.admin-bar .header {
    top: 32px;
}

header .wrapper {
    max-width: 100% !important;
    padding: 0 50px 0 0;
}

header .wrapper:after {
    content: '';
    width: 50px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    background: #FF8200;
}

.logo {
    width: 340px; height: 100%;
    background: #fff;
}

.logo img {
    max-width: 244px
}

.header-flex {
    width: calc(100% - 340px);
    position: relative;
    z-index: 2;
    gap: 40px;
}

.header-flex a {
    color: #fff;
}

/*---Main-Nav---------------------------------------------------------------------------- */

.main-nav {
	margin: 0 auto;
    max-width: 1280px;
}

.main-nav ul, .main-nav > ul li ul.sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav > ul > li {
    flex-grow: 1;
    position: relative;
}

.main-nav ul a {
    color: currentColor;
    padding: 0 25px;
}

.main-nav ul:not(.sub-menu) > li > a:hover, .main-nav ul li.current-menu-item > a, .main-nav ul li.current-post-parent > a, .main-nav ul li.current_page_parent > a {
    color: #FF8200;
}

.main-nav ul:not(.sub-menu) > li.menu-item-has-children > a span {
    position: relative;
    padding-right: 15px;
}

.main-nav ul:not(.sub-menu) > li.menu-item-has-children > a span:before {
 	content: '\f078';
    font-size: 12px;
    padding-top: 2px;
}

.main-nav > ul li ul.sub-menu {
	position: absolute;
	left: 0;
	top: 100%;
	width: auto;
	flex-direction: column;
	transition: all .3s;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    background: #fff;
    border: 1px solid #ececec;
}

.main-nav > ul li:hover ul.sub-menu {
    opacity: 1;
    pointer-events: auto;
}

.main-nav > ul li ul.sub-menu li {
    width: 100%;
    border-bottom: 1px solid #ececec;
}

.main-nav > ul li ul.sub-menu li:last-of-type {
    border-bottom: 0;
}

.main-nav > ul li ul.sub-menu li a {
	width: 100%;
	justify-content: flex-start;
	text-align: left;
	padding: 10px 20px;
    color: #404756;
    border-left: 3px solid transparent;
}

.main-nav > ul li ul.sub-menu li a:hover {
    background: #fafafa;
}

.menu-toggle, .menu-close {
    display: none !important;
}

/*---Custom-CSS-------------------------------------------------------------------------- */

.nds {
	font-size: 16px;
	font-weight: 400;
}

.fit-content {
	width: fit-content !important;
}

.overflow-image {
	position: absolute;
	top: 50%;
	transform: translatey(-50%);
	left: 500px;
	width: 1240px;
}

.flex-grow {
    flex-grow: 1;
}

/*---Footer------------------------------------------------------------------------------ */

footer {
    position: relative;
}

/*---Pages------------------------------------------------------------------------------- */

.breadcrumbs, .yoast-breadcrumbs {
    margin: 0 auto;
    color: #FF8200;
    text-align: center;
}

.breadcrumbs a, .yoast-breadcrumbs a {
    color: #8E8E8E;
}

.sec-page {
    height: 100%;
    padding-top: 0;
    padding-bottom: 60px;
}

.sec-404 {
    min-height: calc(100vh - 70px);
    text-align: center;
}

/*---Loop-------------------------------------------------------------------------------- */

.cat-wrapper {
    max-width: 1480px;
    margin: 0 auto;
    display: flex;
    overflow: hidden;
    padding: 90px 10px 40px; 
}

.cat-wrapper.slick-initialized {
    display: block;
    overflow: visible;
}

.cat-item {
    padding: 10px;
    box-sizing: border-box;
    transition: all .3s;
}

.cat-wrapper:not(.slick-initialized) .cat-item {
    flex: 0 0 20%; 
}

.cat-item a {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 154px;
    padding: 30px 20px;
    background: #EEEEEE;
    border-radius: 15px;
    color: #171717;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background .3s;
}

.cat-item:hover a {
    background: #FF8200;
}

.cat-item img {
    margin: 0 auto 10px;
    width: 100%;
    max-width: 84px;
}

.cat-item a span {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 42px;
    line-height: 1.2;
}

.catalog-section {
	max-width: 1480px;
    width: 100%;
	margin: 0 auto;
	padding: 0 20px 50px;
}

.filter-status {
	width: fit-content;
	margin: 0 0 40px auto;
    flex-wrap: nowrap;
}

.btn-filter {
	border: 0;
	padding: 5px 15px;
	border-radius: 15px;
	transition: all .3s;
	cursor: pointer;
}

.btn-filter.active {
	color: #fff;
    background: #ff8200;
}

.btn-filter:hover {
    color: #fff;
    background: #737980;
}

.loop-post {
	border: 1px solid #DBDBDB;
	border-radius: 20px;
	padding: 10px;
	color: #171717;
	display: flex;
	justify-content: space-between;
	flex-direction: column;
}

.loop-post > img {
	border-radius: 15px;
	margin-bottom: 20px;
    aspect-ratio: 4 / 3;
}

.post-meta {
	margin-bottom: 12px;
}

.cat-tag {
	font-size: 12px;
	line-height: 20px;
	background: #FF8200;
	color: #fff;
	padding: 0 12px;
	border-radius: 10px;
}

.status-tag {
	font-size: 12px;
	line-height: 20px;
	background: #4D4D4D;
	color: #fff;
	padding: 0 12px;
	border-radius: 10px;
}

.post-title {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 20px;
    min-height: 52px;
    display: flex;
    align-items: flex-start;
}

.post-info {
    flex-grow: 1;
}

.post-bottom img {
    max-width: 65px;
}

.price-header {
	font-size: 14px;
	line-height: 1.3;
	color: #737980;
}

.price {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
}

.load-more-container {
	margin-top: 40px;
}

.btn-more {
	background: #ff8200;
	color: #fff;
	border: 0;
	padding: 16px 34px;
	line-height: 20px;
	border-radius: 26px;
	cursor: pointer;
    transition: all .3s;
}

.btn-more:hover {
	background: #737980;
}

.info-item.navesnoe {
	border-top: 1px solid #DEDEDE;
	padding: 10px 0;
	border-bottom: 1px solid #dedede;
    margin-bottom: 20px;
}

.info-item .title {
    color: #737980;
}

.info-item.navesnoe .title {
    font-size: 14px;
}

.info-item .spec-icon {
	color: #dedede;
	width: 16px;
	transform: translatey(2px);
	margin-right: 5px;
}

.info-item.params {
	padding: 10px 0;
	border-top: 1px solid #DEDEDE;
}

.info-item.params:last-of-type {
	margin-bottom: 20px;
	border-bottom: 1px solid #DEDEDE;
}

.info-item.params strong {
    margin-left: auto;
}

/*---Posts------------------------------------------------------------------------------- */

.related-section {
	max-width: 1480px;
	margin: 0 auto;
	padding: 0 20px 90px;
}

.section-title {
	margin-bottom: 40px;
	font-size: 38px;
	line-height: 1.3;
}

/*---Editor-Styles----------------------------------------------------------------------- */

article a {
    text-decoration: underline !important;
}

article :is(a.btn, a.kb-gallery-item-link, .kt-tabs-title-list li a) {
    text-decoration: none !important;
}

article .kt-tabs-title-list li a {
    text-decoration: none !important;
}

article .wp-block-separator {
	border: 0;
	border-top: 1px solid #ececec;
}

article :is(p, h2, h3, h4, .wp-block-image, .wp-block-table, .wp-block-kadence-iconlist, .wp-block-kadence-tabs, .wp-block-kadence-accordion) {
    margin: 0 0 20px !important;
}

article > ul, article > ol {
    margin: 0 0 20px !important;
}

.wp-block-table tr {
    transition: all .3s;
}

.wp-block-table tr th, .wp-block-table tr td {
    border: 1px solid #ececec;
    padding: 10px;
}

article > *:last-child, .wp-block-image, article .wp-block-separator, article .btn p {
    margin: 0 !important;
}

h1.has-background, h2.has-background, h3.has-background, h4.has-background, h5.has-background, h6.has-background {
	padding: 10px 20px !important;
}

.wp-block-embed {
    width: 100%;
}

.wp-block-video {
	max-width: 768px;
	margin-bottom: 0 !important;
}

/*---Popup------------------------------------------------------------------------------- */

.btn, .btn .kt-inside-inner-col {
    width: fit-content;
    cursor: pointer;
    transition: all .3s;
}

.btn p {
    white-space: nowrap;
}

.btn.align-left {
    margin-left: 0;
}

.btn.align-right {
    margin-right: 0;
}

.btn.wide {
    max-width: 100%;
}

.contacts-toggle, .contacts-close {
    cursor: pointer;
}

.contacts-popup {
	height: 100vh;
	width: 360px;
	position: fixed;
	right: 0;
	top: 0;
	background: #fff;
	z-index: 11;
	padding: 20px;
    pointer-events: none;
    opacity: 0;
    transition: all .3s ease;
    transform: translatex(20px);
}

.contacts-popup.animate {
    transform: translatex(0);
    pointer-events: auto;
    opacity: 1;
}

.contacts-popup a {
    color: #171717;
}

.backdrop {
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: rgba(0,0,0,.75);
    opacity: 0;
    z-index: 10;
    pointer-events: none;
    transition: opacity .3s;
}

.backdrop.animate {
    opacity: 1;
    pointer-events: auto;
}

.ims-popup {
	position: fixed;
	left: 50%; top: 50%;
	transform: translatex(-50%) translatey(-50%) scale3d(1.1, 1.1, 1);
	width: 100%;
 	max-width: 480px;
	background: #fff;
	z-index: 11;
	padding: 40px 30px;
    opacity: 0;
    transition: all .3s;
    flex-direction: column;
    border-radius: 15px;
}

.ims-popup.animate {
	opacity: 1;
    pointer-events: auto;
 	transform: translatex(-50%) translatey(-50%) scale3d(1, 1, 1);
}

.ims-popup, .ims-popup * {
    pointer-events: none !important;
}

.ims-popup.animate, .ims-popup.animate * {
    pointer-events: auto !important;
}

.popup-close {
	position: absolute;
	cursor: pointer;
	z-index: 20;
	width: fit-content;
	background: #FF8200;
	color: #fff;
	text-transform: uppercase;
	font-size: 11px;
	padding: 0 10px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	top: 120px;
	right: -23px;
	transform-origin: top right;
	transform: rotate(90deg);
	height: 23px;
	width: 94px;
}

/*---Forminator-------------------------------------------------------------------------- */

.forminator-custom-form {
    margin: 0 auto !important;
}

.forminator-button.forminator-button-submit {
	padding: 0 !important;
	display: flex !important;
	justify-content: center;
	align-items: center;
	height: 60px !important;
	width: 100% !important;
    border-radius: 30px !important;
	box-shadow: none !important;
    font-size: 1rem !important;
    transition: all .3s !important;
}

.forminator-input {
	padding-top: 20px !important;
	padding-bottom: 20px !important;
	line-height: 20px !important;
	border-radius: 30px !important;
}

.forminator-response-message {
	border-radius: 0 !important;
	padding: 10px 16px !important;
}

.forminator-response-message .screen-reader-only, .forminator-edit-module {
    display: none !important;
}

.forminator-checkbox__wrapper {
	align-items: center !important;
}

.forminator-iti-input.iti .iti__selected-country-primary {
	border-top-left-radius: 30px !important;
	border-bottom-left-radius: 30px !important;
}

.forminator-checkbox-box {
	border-radius: 5px !important;
	transition: all .3s;
}

.forminator-consent__label p {
	line-height: 1.3;
	font-size: 12px !important;
}

/*---Slick-Slider------------------------------------------------------------------------ */

.slick-track {
    display: flex !important;
}

.slick-slide {
    height: inherit !important;
}

.cat-wrapper .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    background-color: #FF8200;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    outline: none;
}

.cat-wrapper .slick-arrow:hover {
    background-color: #171717;
}

.cat-wrapper .slick-prev {
    left: 3px;
}

.cat-wrapper .slick-next {
    right: 3px;
}

.cat-wrapper .slick-arrow i {
    font-size: 18px;
}

/*---Adaptive-Design--------------------------------------------------------------------- */
@media only screen and (max-width: 1720px) {
.main-nav ul a {
	padding: 0 20px;
	font-size: 15px;
}

.logo {
    width: 300px;
}

.header-flex {
    width: calc(100% - 300px);
}
}

@media only screen and (max-width: 1640px) {
.logo {
    width: 280px;
}

.header-flex {
    width: calc(100% - 280px);
    gap: 30px;
}
}

@media only screen and (max-width: 1570px) {
.logo {
    width: 260px;
}

.logo img {
	max-width: 200px;
}

.header-flex {
    width: calc(100% - 260px);
}

.main-nav ul a {
	padding: 0 15px;
	font-size: 14px;
}
}

@media only screen and (max-width: 1440px) {
.hide-1440 {
    display: none !important;
}

.logo {
    width: 240px;
}

.header-flex {
    width: calc(100% - 240px);
    gap: 25px;
}
}

@media only screen and (max-width: 1360px) {
.hide-1360 {
    display: none !important;
}

.loop-post.x4 {
    width: calc((100% - 40px) / 3);
}
}

@media only screen and (max-width: 1280px) {
.overflow-image {
	left: 360px;
}
}

@media only screen and (max-width: 1170px) {
.hide-1170 {
    display: none !important;
}
}

@media only screen and (max-width: 1024px) {
.main-nav {
	margin: 0 auto 0 40px;
}

.menu-toggle, .menu-close {
	display: flex !important;
    justify-content: center;
    align-items: center;
	cursor: pointer;
}

.menu-toggle {
	font-size: 24px;
	width: 62px;
	height: 62px;
	transition: all .3s;
	background: #fff;
	border-radius: 100%;
	color: #222;
}

.menu-close {
	position: absolute;
	right: 0;
	top: 0;
	width: 36px;
	height: 36px;
	z-index: 10;
}

.main-nav ul {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	flex-direction: column;
    justify-content: center;
	align-items: center;
	padding: 0;
	background: #171717;
    color: #fff;
	z-index: 2;
    transition: all .3s;
    opacity: 0;
    pointer-events: none;
}

.main-nav ul.animate {
    opacity: 1;
    pointer-events: auto;
}

.main-nav ul li {
    flex-grow: 0;
}

.main-nav ul a {
	padding: 3px 0;
	font-size: 24px;
}

.overflow-image {
	display: none !important;
}

.cat-wrapper {
	padding: 60px 10px 40px;
}

.loop-post.x4 {
	width: calc(50% - 10px);
}

.catalog-section {
	padding: 0 20px 20px;
}

.btn, .btn .kt-inside-inner-col {
    width: 100%;
}

.related-section {
	padding: 0 20px 60px;
}

.section-title {
	font-size: 32px;
}
}

@media only screen and (max-width: 768px) {
.ims-popup {
	left: 2%;
	right: 28px;
	transform: translatex(0) translatey(-50%) scale3d(1.1, 1.1, 1);
	width: auto;
	padding: 30px 20px;
}

.ims-popup.animate {
	transform: translatex(0) translatey(-50%) scale3d(1, 1, 1);
}

body.admin-bar .header {
	top: 46px;
}

.logo {
    width: 200px;
}

.logo img {
	max-width: 160px;
}

.header-flex {
    width: calc(100% - 200px);
    gap: 20px;
}

.menu-toggle {
	font-size: 18px;
	width: 42px;
	height: 42px;
}

.popup-title {
	font-size: 28px;
	line-height: 1.2;
}

.cat-tag {
	font-size: 11px;
}

.breadcrumbs, .yoast-breadcrumbs {
    font-size: 14px;
}

.section-title {
	font-size: 28px;
}
}

@media only screen and (max-width: 640px) {
.logo {
    width: 180px;
}

.logo img {
	max-width: 140px;
}

.header-flex {
    width: calc(100% - 180px);
}

.main-nav {
	margin: 0 auto 0 20px;
}

.loop-post.x4 {
	width: 100%;
}
}

@media only screen and (max-width: 480px) {
.logo {
    width: 160px;
}

.logo img {
	max-width: 120px;
}

.header-flex {
    width: calc(100% - 160px);
}
}

/* Адаптив для стабильности сетки слайдера */
@media (max-width: 1280px) { .cat-wrapper:not(.slick-initialized) .cat-item { flex: 0 0 25%; } }
@media (max-width: 1024px) { .cat-wrapper:not(.slick-initialized) .cat-item { flex: 0 0 33.333%; } }
@media (max-width: 768px)  { .cat-wrapper:not(.slick-initialized) .cat-item { flex: 0 0 50%; } }
@media (max-width: 480px)  { .cat-wrapper:not(.slick-initialized) .cat-item { flex: 0 0 100%; } }
