/*
Theme Name: IMS Basic
Description: IMS Basic WordPress Theme
Version: 4.8
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, .front-post img {
    width: 100%;
}

/*---Basic-Structure--------------------------------------------------------------------- */

body {
    font-family: 'Inter', sans-serif;
    color: #212529;
    font-size: 16px;
    line-height: 1.5;
    background: #f5f5f5;
}

main {
	max-width: 1920px;
	min-height: 100vh;
	overflow: hidden;
	padding-top: 180px;
	margin: 0 auto;
    background: #fff;
}

section, .section, .wp-block-group, .wrapper, .wp-block-group__inner-container, .awesome {
    position: relative;
}

.wrapper, .wp-block-group__inner-container {
    width: 100%;
    height: 100%;
    max-width: 1280px !important;
    margin: 0 auto;
    z-index: 2;
}

.overlay {
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
}

.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;
	right: 10px;
	color: #fff;
	font-size: 16px;
	z-index: 9;
	transition: background .3s;
	cursor: pointer;
	display: none;
	background: #000066;
	padding: 10px 11px;
    border-radius: 4px;
}

.scrolltop:hover {
    background: #232388;
}

.scrolltop.bottom {
    background: #fff;
    color: #212529;
}

/*---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, .item .number, .header-flex, .lang-nav ul, .layout, .breadcrumbs > span {
    display: flex;
    align-items: center;
}

.flex-around {
    justify-content: space-around;
}

.flex-between, .lang-nav ul, .layout {
    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, .main-nav > ul, .breadcrumbs > span {
    justify-content: flex-start;
}

.flex-end, .header-flex {
    justify-content: flex-end;
}

.wrap {
    flex-wrap: wrap;
}

.stretch, .layout {
	align-items: stretch;
}

.gap-10, .lang-nav ul {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

.gap-24 {
    gap: 24px;
}

.gap-30 {
    gap: 30px;
}

.item {
    position: relative;
}

.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-24 .x2 {
    width: calc(50% - 12px);
}

.gap-24 .x3 {
    width: calc((100% - 48px) / 3);
}

.gap-24 .x4 {
    width: calc((100% - 72px) / 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);
}

.item .icon, .item .number {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
}

/*---Kadence-Blocks---------------------------------------------------------------------- */

.wp-block-kadence-rowlayout :is(.kt-row-layout-inner, .kt-row-column-wrap, .wp-block-kadence-column, .kt-inside-inner-col) {
    height: 100% !important;
}

.wp-block-kadence-rowlayout .kt-row-column-wrap {
	max-width: 1280px;
	margin: 0 auto;
}

.wp-block-kadence-iconlist ul {
    margin: 0 !important;
}

.wp-block-kadence-accordion .kt-accordion-header-wrap .kt-blocks-accordion-header {
	cursor: pointer;
}

.kadence-blocks-gallery-item__caption {
    text-align: left !important;
}

.wp-block-kadence-advancedgallery.disabled {
    display: none;
}

/*---Basic-Typography-------------------------------------------------------------------- */

h1, h2, h3, h4, .popup-title {
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

h1 {
    font-size: 2.6em;
    margin: 0;
}

h2 {
	font-size: 1.5em;
    margin: 0;
}

h3, .popup-title {
	font-size: 1.2em;
    margin: 0;
}

h4 {
	font-size: 1.1em;
    margin: 0;
}

.page-title {
    margin: 40px 0 20px;
    text-transform: uppercase;
    font-size: 2em;
}

.popup-title {
    margin: 0 0 30px;
}

.sec-title {
	font-size: 2em;
	text-transform: uppercase;
    margin-bottom: 40px;
}

.center {
    text-align: center;
}

a {
    position: relative;
    transition: all .3s;
    color: #000066;
}

a:hover {
    color: #232388;
}

a:active {
    color: #2424AB;
}

p, label {
    margin: 0;
}

/*---Header------------------------------------------------------------------------------ */

header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 180px;
    background: #fff;
    transition: all .3s;
    z-index: 5;
    padding-bottom: 55px;
}

header.animate {
    top: -125px;
}

.logo {
    width: 196px; height: 100%;
}

.header-flex {
    width: calc(100% - 196px);
}

.header-title {
	margin: 0 auto 0 25px;
	font-size: 12px;
	max-width: 420px;
	line-height: normal;
}

header .c-block {
    gap: 52px;
    margin-right: 20px;
}

header .c-block a {
    color: #212529 !important
}

.lang-nav a {
    color: #979797;
}

.lang-nav a:hover, .lang-nav .current-lang a {
    color: #212529;
}

header .wp-block-kadence-icon .kb-svg-icon-wrap {
    cursor: pointer;
}

.search-popup {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 55px;
	background: #fff;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all .3s;
    pointer-events: none;
    opacity: 0;
}

.search-popup.animate {
    pointer-events: auto;
    opacity: 1;
}

header .wp-block-search {
	width: 100%;
	max-width: 640px;
}

header .wp-block-search__button {
	color: #fff !important;
	background: #000066 !important;
	border: 0 !important;
    border-radius: 4px;
    transition: all .3s;
}

header .wp-block-search__button:hover {
    background: #232388 !important;
}

:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
	border: 1px solid #E5E5E5 !important;
	border-radius: 4px;
}

/*---Main-Nav---------------------------------------------------------------------------- */

.main-nav {
    background: #000066;
    color: #fff;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

.main-nav ul, .main-nav > ul li ul.sub-menu, .lang-nav ul, footer .item ul, .sidebar ul, .sec-menu ul {
	
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav ul:not(.sub-menu) {
    max-width: 1280px;
    margin: 0 auto;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav ul a {
    color: currentColor;
    height: 55px;
    padding: 0 35px;
}

.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 {
    background: #232388;
}

.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, .mobile-menu {
    display: none !important;
}

/*---Home-Page--------------------------------------------------------------------------- */

.sec-01 {
    padding: 30px 0 80px;
}

.sec-01 .slick .content {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translatex(-50%);
	color: #fff;
	width: 100%;
	text-align: center;
	padding: 60px 100px 80px;
	background: linear-gradient(180deg,transparent,#000);
}

.sec-01 .slick .slick-dots {
	list-style: none;
	display: flex;
	gap: 10px;
	position: absolute;
	font-size: 0;
	bottom: 34px;
	left: 50%;
	transform: translatex(-50%);
    padding: 0 !important;
}

.sec-01 .slick .slick-dots button {
	border: 0;
	width: 30px;
	background: #fff;
	height: 5px;
    opacity: .5;
    transition: all .3s;
    cursor: pointer;
}

.sec-01 .slick .slick-dots .slick-active button {
    opacity: 1;
}

.sec-01 .slick .content h3 {
    margin-bottom: 16px;
}

.sec-02 {
    padding: 0 0 80px;
}

.sec-02 .blog-wrapper {
    margin-bottom: 50px;
}

.sec-02 .front-post {
    color: #212529 !important;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    overflow: hidden;
}

.sec-02 .blog-img {
    min-height: 225px;
}

.sec-02 .front-post .content {
    padding: 20px;
}

.sec-02 .front-post h3 {
    font-size: 1em;
    display: block;
    min-height: 63px;
}

.sec-02 .more-link {
    color: #0D6EFD !important;
}

.sec-02 .front-post:hover .more-link {
    color: #232388 !important;
}

.sec-03, .sec-05 {
    padding: 80px 0;
    background: #F5F5F5;
}

.sec-03 .sec-03-content .item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    color: #fff;
}

.sec-03 .sec-03-content .item .item-inner {
    padding-bottom: 75%;
}

.sec-03 .sec-03-content .item .item-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 30px;
    z-index: 2;
}

.sec-03 .sec-03-content img {
    width: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%,-50%,0);
    filter: brightness(50%);
}

.sec-03 .sec-03-content .big img {
	height: 100%;
	width: auto;
	object-fit: cover;
}

.sec-03 .sec-03-content .gallery {
    width: calc(100% - (100% / 3));
}

.sec-03 .sec-03-content h3 {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.sec-03 .sec-03-content p {
    font-weight: 300;
}

.sec-03 .sec-03-content .more-link {
	margin-top: 0;
	color: #0D6EFD !important;
	position: absolute;
    bottom: 30px;
    right: 30px;
}

.sec-03 .sec-03-content .more-link:hover {
	color: #fff !important;
}

.sec-04 {
    padding: 80px 0;
}

.sec-04 img {
    width: 100%;
}

.sec-04 .item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.sec-04 .caption {
    position: absolute;
    padding: 120px 20px 15px;
    background: linear-gradient(180deg,transparent,#000);
    color: #fff;
    z-index: 2;
    width: 100%;
    bottom: 0;
}

.sec-05 .btn {
    transform: translatey(20px);
    opacity: 0;
    pointer-events: none;
}

.sec-05 .map-wrapper:hover .btn {
    transform: translatey(0);
    opacity: 1;
    pointer-events: auto;
}

.sec-05 .wp-block-kadence-advancedgallery .kb-gallery-ul {
    justify-content: center;	
}

.wp-block-kadence-advancedgallery {
	margin-bottom: 40px !important;
}

.sec-05 .map-wrapper img {
    width: 100%;
}

.sec-05 .kadence-blocks-gallery-item__caption {
	border: 1px solid #c4c4c4;
	border-radius: 4px;
	background: #fff !important;
	padding: 6px 12px !important;
	width: fit-content !important;
	left: 50% !important;
	transform: translate3d(-50%,-50%,0);
	top: 35%;
	bottom: unset !important;
    box-shadow: 0px 3px 3px 1px rgba(0,0,0,0.15);
    overflow: unset !important;
    text-align: center !important;
}

.sec-05 .kadence-blocks-gallery-item__caption:after {
	content: '';
	position: absolute;
	left: 50% !important;
	transform: translate3d(-50%,50%,0) rotatez(45deg);
	bottom: -2px;
	width: 8px;
	height: 8px;
	background: #fff;
	border-bottom: 1px solid #c4c4c4;
	border-right: 1px solid #c4c4c4;
	z-index: 2;
}

/*---Footer------------------------------------------------------------------------------ */

footer {
    position: relative;
	width: 100%;
	margin: 0 auto;
 	overflow: hidden;
	color: #fff;
    background: #212529;
    padding: 60px 0 35px;
}

footer .item a {
    color: #fff !important;
}

footer h3 {
    text-transform: uppercase;
    font-size: 1em;
    margin-bottom: 14px;
}

footer .short-desc {
    font-size: 14px;
}

footer .item:nth-of-type(1) .wp-block-image {
    margin-bottom: 20px !important;
}

footer .item:nth-of-type(2) ul li:not(:last-of-type) {
    margin-bottom: 14px;
}

footer .item:nth-of-type(2) ul li a {
    text-transform: uppercase;
    font-weight: 600;
}

footer .item ul li a:hover {
    text-decoration: underline !important;
}

footer .bottom {
	margin: 40px auto 0;
	max-width: 1280px;
    font-size: 14px;
}

footer .bottom a {
    color: #4591CA !important;
}

footer .bottom a:hover {
    text-decoration: underline !important;
}

.footer .item.en {
	padding-left: 30px;
}

/*---Pages------------------------------------------------------------------------------- */

.breadcrumbs {
    margin: 0 auto;
    color: #777;
}

.breadcrumbs > span {
	gap: 12px;
}

.breadcrumbs a {
    color: currentColor;
    text-decoration: none !important;
}

.breadcrumbs a:hover {
    color: #373A3C;
    text-decoration: underline !important;
}

.sec-page, .sec-post {
    padding: 80px 0;
}

.sec-page article, .sec-post article {
    width: 100%;
}

.sec-404 {
    min-height: calc(100vh - 70px);
    text-align: center;
}

.sec-page .layout > .content {
    width: 100%;
    padding-left: 344px;
}

.sec-page .blog-post .content {
    padding-left: 30px;
}

.sec-page .sidebar:not(.mobile-menu) {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    transition: padding-top .3s;
}

.sec-page .sidebar:not(.mobile-menu).sticky {
    position: fixed;
    left: calc((100% - 1280px) / 2);
    top: 55px;
    padding-top: 20px;
}

.sec-page .sidebar:not(.mobile-menu).sticky.bottom {
	position: absolute;
	left: 0;
	bottom: 0;
	top: unset;
	height: 100vh;
}

.sec-post .content {
    width: calc(100% - 320px);
    padding-left: 24px;
}

.sec-page section .wp-block-group {
    padding: 50px 0 80px;
}

.sec-page section:last-of-type .wp-block-group {
    padding: 50px 0 0;
}

.sec-page section.sec-menu .wp-block-group {
    padding: 0 0 80px;
}

.sec-menu ul li:not(:last-of-type) {
    margin-bottom: 15px !important;
}

.sec-page .c-block {
    width: 400px;
}

.sec-page .c-block ul {
    list-style: none;
    padding-left: 0;
}

.sec-page .c-block ul a {
    color: #212529 !important;
    text-decoration: none !important;
}

.sec-page .map-wrapper {
    width: calc(100% - 424px);
}

.sec-page .map-wrapper iframe {
	width: 100%;
	height: 100%;
}

.contacts-wrapper-02 .wp-block-image {
    margin-bottom: 20px !important;
    height: 60px;
}

.contacts-wrapper-02 .wp-block-image img {
    height: 60px;
    width: auto;
}

/*---Sidebar----------------------------------------------------------------------------- */

.sidebar {
    width: 320px;
    padding-right: 24px;
	padding-left: 15px;
    border-right: 1px solid #D9D9D9;
}

.sidebar h2 {
	font-size: 18px;
	text-transform: uppercase;
	padding: 3px 0 10px;
}

.sidebar ul li:not(:last-of-type), .sec-menu ul li:not(:last-of-type) {
    margin-bottom: 25px;
}

.sidebar ul ul {
	margin-top: 25px;
	padding-left: 30px;
}

.sidebar ul ul li:not(:last-of-type) {
    margin-bottom: 15px;
}

.sidebar ul li a, .sec-menu ul li a {
	text-decoration: underline !important;
	text-decoration-style: dashed !important;
	text-decoration-color: #979797 !important;
    text-underline-offset: 6px !important;
    color: #777 !important;
    font-size: 18px;
}

.sidebar ul li a:hover, .sidebar ul > li.current-menu-item > a, .sec-menu ul li a:hover, .sidebar ul ul li a:hover {
    color: #373A3C !important;
}

.sidebar ul ul li a {
    font-weight: 300;
    font-size: 14px;
    text-underline-offset: 3px !important;
}

.sidebar ul ul li strong a {
	font-weight: 600;
}

.sidebar .blog-item {
    padding: 40px 0;
}

.sidebar .blog-item:not(:last-of-type) {
    border-bottom: 1px solid #D9D9D9;
}

.sidebar .blog-item time {
    font-weight: 500;
    margin-bottom: 25px;
}

.sidebar .blog-item h3 {
    font-size: 18px;
    margin-bottom: 25px;
}

.sidebar .blog-item h3 a, .sidebar a {
    color: #212529 !important;
}

.sidebar .blog-item h3 a:hover {
    text-decoration: underline !important;
}

.menu-slide {
    display: none;
}

/*---Pagination--------------------------------------------------------------------------- */

.wp-pagenavi {
    width: 100%;
    margin-top: 30px;
}

.wp-pagenavi span, .wp-pagenavi a {
	height: 42px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	border: 1px solid #d9d9d9;
	min-width: 42px;
	padding: 0 6px;
	margin: 0 3px 0 0;
    border-radius: 4px;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
	background: #000066;
	border: 1px solid #000066;
    color: #fff !important;
}

.wp-pagenavi span.pages {
    display: none;
}

/*---Loop-Blog--------------------------------------------------------------------------- */

.blog-wrapper {
    padding-top: 10px;
}

.blog-post:not(:last-of-type) {
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #D9D9D9;
}

.blog-post .blog-img {
	border: 1px solid #979797;
	max-width: 320px;
	overflow: hidden;
	width: 100%;
    min-height: 240px;
    position: relative;
}

.blog-post .blog-img img {
	height: auto;
	width: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
}

.blog-post .meta {
	font-weight: 500;
	color: #979797;
	gap: 20px;
	margin-bottom: 25px;
}

.blog-post .cat-title {
    font-size: inherit;
}

.blog-post h3 {
    margin-bottom: 10px;
}

.blog-post h3 a {
    color: #373A3C !important;
}

.blog-post h3 a:hover {
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
}

.blog-post .content p {
    font-weight: 300;
}

.more-link {
    margin-top: 20px;
    color: #979797 !important;
    gap: 7px;
    transition: all .3s;
}

.more-link:hover {
    color: #373A3C !important;
}

.more-link i {
    font-size: 12px;
    padding-top: 3px;
}

/*---Loop-Products----------------------------------------------------------------------- */

.loop-wrapper-open-hole {
	background-color: rgba(0,48,111,.05);
	padding: 20px;
}

.loop-wrapper-closed-hole {
	background-color: rgba(0,114,187,.05);
	padding: 20px;
}

.loop-wrapper-borehole {
	background-color: rgba(73,165,78,.05);
	padding: 20px;
}

.loop-wrapper-electrical {
	background-color: rgba(209,34,41,.05);
	padding: 20px;
}

.loop-wrapper-drill-stem {
	background-color: rgba(206,145,18,.05);
	padding: 20px;
}

.loop-wrapper-corring {
	background-color: rgba(87,87,87,.05);
	padding: 20px;
}

.loop-wrapper-fluid {
	background-color: rgba(123,0,65,.05);
	padding: 20px;
}


.cat-title {
    font-size: 22px;
    text-transform: uppercase;
}

.cat-title p {
    font-weight: 600;
}

.cat-title:before, .cat-title:after {
    content: '';
    flex-grow: 1;
    border-top: 2px dashed;
}

.subcategory {
	margin-top: 10px;
}

.subcat-title {
	font-size: 20px;
	margin: 20px 0;
	background: #006;
	border-radius: 6px 6px 0 0;
	color: #fff;
	padding: 8px 12px;
}

.subcat-open-hole,
.subcat-closed-hole,
.subcat-borehole,
.subcat-electrical,
.subcat-drill-stem,
.subcat-coring,
.subcat-fluid {
	margin-bottom: 0;
}

.subcat-closed-hole {
	background-color: #0078bd;
}

.subcat-borehole {
	background-color: #3bb13f;
}

.subcat-electrical {
	background-color: #d12229;
}

.subcat-drill-stem {
	background-color: #cc940d;
}

.subcat-coring {
	background-color: #57585a;
}

.subcat-fluid {
	background-color: #720143;
}

.products-post {
	background-color: #ffffff;
    overflow: hidden;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    text-decoration: none !important;
}

.products-post img {
    width: 100%;
}

.products-post .content {
    width: 100%;
    padding: 20px !important;
}

.products-post h3 {
    font-size: 1em !important;
    color: #212529 !important;
    display: block;
    min-height: 83px;
}

.products-post .more-link {
	color: #0D6EFD !important;
}

.new-pin {
	background: #000066;
	color: #fff;
	position: absolute;
	width: fit-content;
	padding: 0 5px;
	border-radius: 3px;
	top: 7px;
	right: 7px;
    display: none;
}

:is(.products-type-novinka, .products-type-new) .new-pin {
    display: block;
}

/*---Posts-Blog-------------------------------------------------------------------------- */

.sec-post time {
	display: block;
	line-height: 1;
	margin-bottom: 20px;
	font-weight: 500;
	color: #979797;
}

/*---Posts-Products---------------------------------------------------------------------- */

.doc-download {
	margin-top: 40px !important;
}

.single-products .kb-gallery-ul .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner {
    border: 1px solid #d9d9d9 !important;
}

/*---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 #d9d9d9;
    margin: 40px 0 !important;
    clear: both;
}

article > :is(p, h2, h3, h4, .wp-block-image, .wp-block-table, .wp-block-kadence-iconlist, .wp-block-kadence-tabs, .wp-block-kadence-accordion, .wp-block-gallery, .countup-wrapper) {
    margin: 0 0 20px !important;
}

article > :is(h2, h3, h4) {
    text-transform: uppercase;
}

.kt-accordion-panel-inner :is(p, h2, h3, h4, ul, ol):not(:last-child) {
    margin: 0 0 20px !important;
}

.kt-accordion-panel-inner :is(p, h2, h3, h4, ul, ol):last-child {
    margin: 0 !important;
}

.kt-accordion-panel-inner :is(ul, ol) {
    padding-left: 20px;
    font-weight: 300;
}

article > ul, article > ol {
    margin: 0 0 20px !important;
    padding-left: 20px;
}

article > ul > li:not(:last-of-type), article > ol > li:not(:last-of-type) {
    margin-bottom: 7px;
}

article :is(p, ul, ol, figcapture, cite) {
    font-weight: 300;
}

.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 .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-embed__wrapper {
	padding-bottom: 56.25% !important;
}

.wp-block-embed__wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

article .wp-block-kadence-countup {
	border-left: 1px solid #D9D9D9;
	padding-left: 20px;
}

article .kb-count-up-title {
    font-weight: 300;
}

.kb-count-up-number {
    font-weight: 600 !important;
    font-size: 24px !important;
}

/*---Popup------------------------------------------------------------------------------- */

.btn {
    width: 100%;
    max-width: 250px;
    height: 48px;
    cursor: pointer;
    transition: all .3s;
    margin: 0 auto;
    border-radius: 4px;
    color: #fff !important;
    background: #000066;
}

.btn i {
	margin-left: 12px;
	font-size: 12px;
	padding-top: 2px;
}

.btn:hover {
    background: #232388;
}

.btn.align-left {
    margin-left: 0;
}

.btn.align-right {
    margin-right: 0;
}

.btn.wide {
    max-width: 100%;
}

.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: 768px;
	background: rgba(255,255,255,.95);
	z-index: 11;
	padding: 50px 10px;
    opacity: 0;
    transition: all .3s;
    flex-direction: column;
    border-radius: 2px;
}

.ims-popup.map-popup {
 	max-width: 1440px;
	padding: 0;
}

.ims-popup.map-popup iframe {
 	width: 100% !important;
}

.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;
	right: 0; top: 0;
	height: 30px; width: 30px;
 	cursor: pointer;
    z-index: 20;
}

.popup-close:before {
	display: flex;
	justify-content: center;
 	align-items: center;
	position: absolute;
	left: 0; top: 0;
	width: 100%;
	height: 100%;
	color: #212529;
    font-family: 'Font Awesome 5 Free';
	font-weight: 900;
    font-size: 20px;
    content: '\f00d';
    transition: all .3s ease;
}

.map-popup .popup-close {
    right: -30px;
}

.map-popup .popup-close:before {
	color: #fff;
}

.popup-close:hover:before {
	color: #777;
}

/*---Contact-Form-7---------------------------------------------------------------------- */

.ims-popup .wpcf7 {
    margin: 0 auto;
    max-width: 520px;
}

.wpcf7-form {
    position: relative;
    padding-bottom: 32px;
}

.wpcf7-form-control-wrap, .submit-wrapper {
    position: relative;
	margin: 0 0 30px;
}

.wpcf7-form-control-wrap {
	background: #fff;
    color: #03081c;
    display: block;
}

.wpcf7-form-control-wrap {
	border: 1px solid #c1c1c1;
}

.wp-block-kadence-rowlayout .wpcf7-form-control-wrap {
    border: 0;
}

.wpcf7-form-control-wrap.focus {
	box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
}

.wpcf7-form-control-wrap .wpcf7-text {
	border: 0;
	background: transparent;
 	height: 50px; width: 100%;
    font-size: 1em;
}

.wpcf7-form-control-wrap .wpcf7-text, .wpcf7-form-control-wrap .wpcf7-textarea {
	padding: 25px 15px 0;
}

.wpcf7-form-control-wrap.your-textarea textarea {
	width: 100%;
	border: 0;
}

.wpcf7-form-control-wrap.your-textarea .placeholder {
	height: 28px;
	bottom: auto;
}

.wpcf7-form-control-wrap.your-acceptance {
	background: transparent;
	border: 0;
	height: auto;
	margin: 5px 0 25px;
}

.wpcf7-form-control-wrap.your-acceptance .wpcf7-list-item label {
 	display: flex;
	justify-content: space-around;
	width: 100%;
}

.wpcf7-form-control-wrap.your-acceptance .wpcf7-list-item-label {
	margin-left: 8px;
	font-size: 12px;
}

.wpcf7-form-control-wrap.your-acceptance .wpcf7-list-item-label a {
    text-decoration: underline !important;
}

.submit-wrapper {
    position: relative;
    transition: all .3s ease;
    background: #0f6936;
}

.submit-wrapper .wpcf7-submit {
	background: transparent;
	border: 0;
	width: 100%;
	height: 50px;
 	cursor: pointer;
    font-size: 1em;
    color: #fff;
    font-weight: 600;
    letter-spacing: .02em;
}

.submit-wrapper:hover {
	background: #3f875e;
}

.wpcf7-form-control-wrap span.wpcf7-not-valid-tip, div.wpcf7 .submit-wrapper .ajax-loader {
 	display: none;
    pointer-events: none;
}

.wpcf7-form-control-wrap .wpcf7-not-valid {
    background: rgba(255,40,0,.15);
}

.wpcf7-form-control-wrap .placeholder {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    text-align: left;
    padding-left: 20px;
    color: #b3b3b3;
    font-size: 14px;
    transition: all .3s ease;
    pointer-events: none !important;
    white-space: nowrap;
}

.wpcf7-form-control-wrap .placeholder.scaled {
	transform: translatey(-12px);
    font-size: 12px;
    color: #0f6936;
}

.wpcf7-form-control-wrap.your-textarea .placeholder.scaled {
	transform: translatey(-5px);
}

.wpcf7 form div.wpcf7-response-output {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    margin: 0;
    padding: 3px 0;
    border: 1px solid #323232;
    text-align: center;
    font-size: 14px;
    color: #2b2b2b !important;
}

.wpcf7 form div.wpcf7-display-none {
    display: none;
    pointer-events: none;
}

.wpcf7 form div.wpcf7-validation-errors, .wpcf7-form div.wpcf7-acceptance-missing {
    border: 1px solid #ff2800;    
}

.wpcf7 form div.wpcf7-mail-sent-ok {
    border: 1px solid #4067FF;
}

.wp-block-kadence-rowlayout .wpcf7-response-output {
    color: #2b2b2b !important;
}

.wpcf7-form-control-wrap.your-file {
    cursor: pointer;
    background: #fff;
    overflow: hidden;
}

.wpcf7-form-control-wrap .wpcf7-file {
	height: 50px;
	opacity: 0;
}

.wpcf7-form-control-wrap.your-file:before {
	content: 'Прикрепить файл';
	position: absolute;
	top: 0;
	left: 0;
	background: linear-gradient(90deg, #896737 2%, #F4F1A2 47.18%, #896737 98%);
	height: 50px;
	width: 150px;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: 1px 1px 1px rgba(0,0,0,.05);
	transition: all .3s;
	pointer-events: none;
	font-size: 14px;
    cursor: pointer;
}

.wpcf7-form-control-wrap.your-file:hover:before {
	box-shadow: 0 0 15px rgba(144,141,62,.75);
}

.wpcf7-form-control-wrap.your-file label {
	position: absolute;
	left: 160px;
	top: 50%;
	transform: translatey(-50%);
	margin: 0;
    padding-left: 0 !important;
	color: #0c0c0c;
	font-size: 13px;
	pointer-events: none;
    width: calc(100% - 160px);
    justify-content: flex-start;
}

.wpcf7-spinner {
    display: none !important;
}

.file-wrapper > * {
	width: calc(25% - 10px);
}

/*---Slick-Slider------------------------------------------------------------------------ */
.slick-track {
    display: flex !important;
}

.slick-slide {
    height: inherit !important;
}

.slick-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    cursor: pointer;
    font-size: 0;
    transition: all .3s;
    background: transparent;
    width: 36px;
    height: 100%;
    border: 0;
}

.slick-prev {
    left: 0;
}

.slick-next {
    right: 0;
}

.slick-prev:before, .slick-next:before {
    font-family: Font Awesome\ 5 Free;
    font-size: 32px;
    font-weight: 900;
    color: #d1d1d1;
    transition: all .3s;
    top: 50%;
    transform: translatey(-50%);
}

.slick-prev:hover, .slick-next:hover {
    background: rgba(255,255,255,.1)
}

.slick-prev:hover:before, .slick-next:hover:before {
    color: #fff;
}

.slick-prev:before {
    content: '\f053';
}

.slick-next:before {
    content: '\f054';
}

.splide__arrow.slick-prev:before, .splide__arrow.slick-next:before {
	content: '' !important;
}

/*---Adaptive-Design--------------------------------------------------------------------- */

@media only screen and (min-width : 1980px) {
main {
	border-left: 1px solid #ececec;
	border-right: 1px solid #ececec;
}
}

@media only screen and (max-width: 1280px) {
.wrapper, .wp-block-group__inner-container, footer .bottom {
    padding: 0 2%;    
}

.sec-01 .slick, .sec-01 .products-slide, .sec-01 .products-slide .blog-img {
	height: 520px !important;
}

.sec-01 .products-slide .blog-img img {
    width: 100%;
    object-fit: cover;
}

header .kt-svg-icon-list-text {
	display: none;
}

header .c-block {
	gap: 20px;
}
}

@media only screen and (max-width: 1080px) {
.header-title {
	max-width: 320px;
}

.main-nav ul a {
	padding: 0 20px;
}

.sec-01 .slick, .sec-01 .products-slide, .sec-01 .products-slide .blog-img {
	height: 400px !important;
}

h2 br {
    display: none;
}

.sec-03-content {
    flex-direction: column;
}

.sec-03-content .item.big {
	width: 100%;
	height: 320px;
}

.sec-03 .sec-03-content .big img {
	width: 100%;
}

.sec-03 .sec-03-content .gallery {
	width: 100%;
}

.breadcrumbs > span {
    display: inline;
    gap: unset;
}

.blog-post {
    flex-direction: column;
    gap: 20px;
}

.blog-post .blog-img {
    display: none;
}

.blog-post .content {
    padding-left: 0;
    width: 100%;
}

.blog-post .meta {
	font-weight: 500;
	color: #979797;
	gap: 10px;
	margin-bottom: 15px;
	font-size: 13px;
}

.blog-post .meta .cat-title {
    font-size: inherit;
}

.products-post {
    width: calc(50% - 12px) !important;
}

.contacts-wrapper-01 {
    flex-direction: column;
}

.contacts-wrapper-01 .c-block {
    width: 100%;
}

.contacts-wrapper-01 .map-wrapper {
	width: 100%;
	height: 480px;
}
}

@media only screen and (max-width: 810px) {


.ims-popup {
	left: 2%; right: 2%;
	transform: translatex(0) translatey(-50%) scale3d(1.1, 1.1, 1);
	width: auto;
}

.ims-popup.animate {
	transform: translatex(0) translatey(-50%) scale3d(1, 1, 1);
}

.sec-02 .front-post.x4 {
    width: calc(50% - 12px);
}

.sec-01 .products-slide .content p, .header-title {
    display: none;
}

.sec-01 .slick, .sec-01 .products-slide, .sec-01 .products-slide .blog-img {
	height: 300px !important;
}

.main-nav ul a {
	padding: 0 14px;
}

.sec-04-content .item {
    width: calc(50% - 12px);
}

.sec-03 .sec-03-content .item .item-inner {
	padding-bottom: 95%;
}

.sec-03 .sec-03-content img {
	width: 120%;
}

footer .wrapper {
    flex-direction: column;
    gap: 24px;
}

footer .wrapper .item {
    width: 100%;
    text-align: center;
}

footer .wrapper .item .wp-block-image {
    margin: 0 auto 20px !important;
    width: fit-content;
}

footer .wrapper .wp-block-kadence-iconlist {
	width: fit-content;
	margin: 0 auto;
}

footer .item:nth-of-type(2) ul li:not(:last-of-type) {
	margin-bottom: 7px;
}

footer .bottom {
    text-align: center;
}

.sec-01 {
	padding: 20px 0 60px;
}

.sec-02 {
	padding: 0 0 60px;
}

.sec-03, .sec-04, .sec-05 {
	padding: 60px 0;
}

.sec-page, .sec-post {
	padding: 60px 0;
}

.layout {
	flex-direction: column;
}

.sidebar {
	width: 100%;
	padding-right: 0;
	border-right: 0;
	padding-bottom: 30px;
	margin-bottom: 30px;
	border-bottom: 1px solid #D9D9D9;
}

.sidebar ul li:not(:last-of-type), .sec-menu ul li:not(:last-of-type) {
	margin-bottom: 10px;
}

.sec-page .layout > .content, .sec-post .content {
	width: 100%;
	padding-left: 0;
}

.sec-post .sidebar, .sidebar.hide-on-mobile, .tax-products-type .sidebar {
    display: none;
}

.sidebar .wp-block-image {
    max-width: 295px;
    margin: 0 auto 20px !important;
}

.contacts-wrapper-02 .item {
    width: calc(50% - 12px);
}

.menu-slide {
	display: flex;
	justify-content: flex-start;
	color: #979797;
	gap: 2px;
    cursor: pointer;
    margin-bottom: 10px;
}

.animate .menu-slide .kb-svg-icon-wrap {
	transform: rotatez(180deg);
}

.menu-wrapper .wp-block-list {
	background-color: #f7f7f7;
	padding: 10px;
    z-index: 1000;
    position: relative;
}

.sidebar .menu-wrapper {	
    overflow: hidden;
    height: 50px;
	padding-left: 1px;
	padding-top: 25px;
}

.sidebar .menu-wrapper.animate {
    height: auto;
}
}

@media only screen and (max-width: 640px) {
body {
    font-size: 14px;
}

.wrapper, .wp-block-group__inner-container, footer .bottom {
    padding: 0 3%;    
}

.sec-01 .slick, .sec-01 .products-slide, .sec-01 .products-slide .blog-img {
	height: 220px !important;
}

.sec-02 .front-post.x4 {
    width: 100%;
}

.sec-03 .sec-03-content .gallery .item {
    width: 100%;
}

.sec-03 .sec-03-content .item .item-inner {
	padding-bottom: 60%;
}

.main-nav {
    display: none;
}

.logo {
    width: 120px;
}

.header-flex {
    width: calc(100% - 120px);
}

header {
	height: 60px;
	padding-bottom: 0;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.1);
}

header.animate {
    top: 0;
}

main {
	padding-top: 60px;
}

header .c-block {
	gap: 16px;
    margin-right: 16px;
}

header .wp-block-kadence-iconlist .kt-svg-icon-list-item-wrap .kt-svg-icon-list-single {
    margin-right: 0 !important
}

.sec-03 .sec-03-content .item .item-content {
	padding: 20px;
}

.sec-04-content .item {
	width: 100%;
}

article .wp-block-kadence-countup {
    width: calc(50% - 12px) !important;
}

.wp-block-image .alignleft {
	float: none !important;
}

.blog-post .blog-img {
	display: block;
}

.products-post {
    width: 100% !important;
}

.products-post h3 {
    min-height: 0;
}

.kt-blocks-accordion-header {
	text-transform: unset !important;
	line-height: normal !important;
}

.contacts-wrapper-02 .item {
    width: 100%;
}

.menu-toggle, .menu-close, .mobile-menu {
    display: block !important;
}

.sidebar.mobile-menu {
	margin: 0;
	border: 0;
	position: fixed;
	background: #fff;
	z-index: 10;
	padding: 20px 0 20px 20px;
	top: 60px;
	left: -100%;
	border-top: 1px solid #d6d6d6;
	transition: all .3s ease-in-out;
	overflow-y: auto;
	bottom: 0;
}

.sidebar.mobile-menu.animate {
	left: 0;
}

.menu-toggle {
	position: relative;
	margin-left: 10px;
	margin-top: 2px;
	font-size: 18px;
	color: #979797;
	overflow: hidden;
	width: 18px;
	height: 18px;
    cursor: pointer;
}

.menu-toggle .toggle-inner {
	position: absolute;
    top: 0;
    left: 0;
    gap: 2px;
}

.menu-toggle.animate .toggle-inner {
    left: -18px;
}

.search-popup {
    bottom: 0;
    padding: 0 40px 0 20px;
}
}

@media only screen and (max-width: 480px) {
.sec-01 .products-slide .content h3 {
    display: none;
}

.sec-01 {
	padding: 20px 0 40px;
}

.sec-02 {
	padding: 0 0 40px;
}

.sec-03, .sec-04, .sec-05, .sec-page, .sec-post {
	padding: 40px 0;
}

.sec-01 .slick, .sec-01 .products-slide, .sec-01 .products-slide .blog-img {
	height: 180px !important;
}

.sec-title {
	font-size: 1.5em;
    margin-bottom: 20px;
}

.page-title {
	font-size: 1.5em;
}

.sec-01 .slick .slick-dots {
	bottom: 24px;
}

.lang-nav ul {
	gap: 6px;
}

.sec-03 .sec-03-content .item .item-inner {
	padding-bottom: 75%;
}

article .wp-block-kadence-countup {
    width: 100% !important;
    padding-left: 0;
    border-left: 0;
}

.kb-gallery-ul .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner .kadence-blocks-gallery-item__caption {
	font-size: 11px !important;
}

.map-popup .popup-close {
	right: 0;
    top: -30px
}
}

@media only screen and (max-width: 360px) {
.sec-01 .slick, .sec-01 .products-slide, .sec-01 .products-slide .blog-img {
	height: 167px !important;
}
}
