/*
Theme Name: Porto Child
Theme URI: http://newsmartwave.net/wordpress/porto
Author: SW-THEMES
Author URI: http://newsmartwave.net/
Description: Porto Responsive Wordpress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
Text Domain: porto-child

*/
@import url("../porto/style.css");

/*************** ADD YOUR CUSTOM CSS HERE  ***************/
@import url("fonts/Gilroy/stylesheet.css");

.akzii-home ul li {
    color: #fff;
}

.akzii-home ul li::marker {
    color: #fff;
}

.akzii-home h3 {
    text-decoration: none;
    border-bottom: none;
}

.akzii-home a,
.akzii-home a:hover {
    color: #fff;
    text-decoration: none;
}

.blog-posts.posts-grid {
    background-color: black;
}

body, h1, h2, h3, h4, h5, h6 {
    font-family: Gilroy, "Open Sans", sans-serif;
}

h1, h2, h3 {
    font-weight: 700;
}

h1 {
    font-size: 30px;
}

/* Hero H1 styles */
h1 {
    text-align: center;
    font-family: Gilroy, sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 64px;
    line-height: 77px;
}

h1 span {
    color: #ffffff;
}

@media (max-width: 767px) {
    h1 {
        font-size: 36px;
        line-height: 48px;
    }
}

body.home .header-wrapper {
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
}

.old-h2 {
    font-weight: 700;
    font-size: 30px;
    line-height: 40px;
    letter-spacing: 0;
    color: #1d2127;
    margin: 0 0 32px 0;
    display: block;
}

.legacy-entry-title {
    font-weight: 700;
    font-size: 1.5em;
margin-bottom: 15px;
line-height: 40px;
letter-spacing: 0px;
}


body.home #header .header-main {
    background: transparent;
}

#nav-panel .accordion-menu .arrow {
    color: #888;
}

/* Мобильное меню: стрелки раскрытия подменю на всех уровнях — аккуратный кружок с тонкой рамкой */
#header #nav-panel .accordion-menu li.menu-item > .arrow {
    width: 26px;
    height: 26px;
    line-height: 24px;
    top: 5px;
    right: 8px;
    font-size: 13px;
    color: #fff;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    box-sizing: border-box;
}

/* ▼ когда подменю закрыто, ▲ когда открыто (в теме для обоих состояний был один и тот же ▼) */
#header #nav-panel .accordion-menu li.menu-item > .arrow:before {
    content: "\f0d7";
}

#header #nav-panel .accordion-menu li.menu-item.open > .arrow:before {
    content: "\f0d8";
}

#header #nav-panel .accordion-menu li.menu-item.active > .arrow {
    color: #333;
    background: transparent !important;
    border-color: rgba(0, 0, 0, 0.35);
}

#nav-panel .mobile-menu>li>a,
#nav-panel .mobile-menu>li>h5
{
    text-transform: none;
    font-weight: 400;
}

#nav-panel .accordion-menu > li.menu-item > a,
#nav-panel .accordion-menu > li.menu-item > h5,
#nav-panel .accordion-menu > li.menu-item > .arrow
{
    color: white;
}

#nav-panel .mobile-menu li {
    border-bottom-color: #282828;
}

#header {
    position: relative;
    z-index: 10;
    border: 0;
}
#header .header-main,
#header.sticky-header .header-main,
.fixed-header #header.sticky-header .header-main,
body.home #header.sticky-header .header-main,
body.home .fixed-header #header.sticky-header .header-main {
    background: #171717;
}

#header .header-main,
#header .header-main a,
#header.sticky-header .header-main, .fixed-header #header.sticky-header .header-main,
#header.sticky-header .header-main, .fixed-header #header.sticky-header .header-main a {
    color: white;
}
#header.logo-center .header-main .container {
    display: flex;
    align-items: center;
}
#header.logo-center .header-main .header-center {
    width: 150px;
}
#header.logo-center .header-main .header-left,
#header.logo-center .header-main .header-right {
    flex: 1;
}
#header .header-main .container #main-menu .mega-menu {
    margin-left: -15px;
    margin-right: -15px;
}
#header .header-main .container #main-menu .mega-menu>li.menu-item {
    margin: 0 0 15px;
    padding: 0 15px;
}

.header-right > div {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#header .mobile-toggle {
    order: 10;
    background: white;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 10px;
    float: right;
}

#header .header-main .header-contact * {
color: #ffffff;
}

#header .mobile-toggle .fa {
    color: #171717;
}

#header #nav-panel .accordion-menu > li.menu-item > a {
    color: white;
}

#main-menu .mega-menu > li.menu-item > a {
    padding: 0;
    background: transparent;

    font-family: inherit;
    font-weight: normal;
    font-size: 16px;
    line-height: 16px;
    color: white;
}
#main-menu .mega-menu > li.menu-item.active:hover > a,
#main-menu .mega-menu > li.menu-item:hover > a {
    background: transparent;
}

.no-breadcrumbs .main-content, body.woocommerce .main-content {
    padding-top: 0;
}

#header .header-main .header-contact {
    margin: 0;
}

#header .header-main .header-contact .nav {
    margin-left: -15px;
    margin-right: -15px;
    justify-content: flex-end;
}

#header .header-main .header-contact .nav li {
    position: relative;
    font-size: 14px;
    line-height: 17px;
    text-align: right;
    color: #FFFFFF;
    padding: 0 13px;
    margin-bottom: 5px;
}

#header .header-main .header-contact .nav li a {
    font-size: 16px;
    line-height: 16px;
    color: #FFFFFF;
}

#header .header-main .header-contact .phone {
    color: white;
}

#header .header-main .header-contact .address {
    text-align: center;
    font-size: 12px;
    line-height: 14px;
    color: white;
}

@keyframes akzia-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.6);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.main-menu .akzia > a {
    position: relative;
    padding-left: 12px !important;
}

.main-menu .akzia > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: #ee0405;
    box-shadow: 0 0 6px rgba(255, 77, 79, 0.8);
    animation: akzia-pulse 1s ease-in-out infinite;
}

.mobile-menu .akzia > a {
    position: relative;
    padding-left: 20px !important;
}

.mobile-menu .akzia > a::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: #ee0405;
    box-shadow: 0 0 6px rgba(255, 77, 79, 0.8);
    animation: akzia-pulse 1s ease-in-out infinite;
}

#main-menu > .mega-menu > .narrow > .popup {
    padding-top: 80px;
    padding-bottom: 40px;
}

#main-menu .mega-menu .narrow .popup ul.sub-menu {
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#main-menu .mega-menu .popup li.menu-item a {
    font-size: 14px;
    line-height: 17px;
}

#main-menu .mega-menu .narrow .popup li.menu-item > a {
    border: 0;
    color: white;
    padding: 0;
}

#main-menu .mega-menu .narrow .popup li.menu-item:hover > a,
#main-menu .mega-menu > li.menu-item.active > a
{
    color: white;
    background: transparent;
}

#main-menu a:hover,
#main-menu .mega-menu > li.menu-item.active > a
{
    text-decoration: underline;
}

#main-menu .mega-menu .narrow .popup li.menu-item > a:before {
    display: none;
}

#main-menu .mega-menu .popup li.menu-item {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 10px;
}

#main-menu .mega-menu .narrow ul.sub-menu {
    min-width: unset;
}

#main-menu .mega-menu .narrow ul.sub-menu ul.sub-menu {
    position: static;
    display: block;
    opacity: 1;
    margin-top: 16px;
}

#main-menu .mega-menu .narrow ul.sub-menu ul.sub-menu li.menu-item {
    display: block;
}

#main-menu > .mega-menu > .narrow > .popup > .inner > ul.sub-menu > li.menu-item > a {
    font-weight: bold;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

#header .header-main > .overlay {
    display: none;
    background: #000000;
    opacity: 0.75;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

#header.menu-opened {
    background: rgba(0,0,0,0.6);
}
#header #nav-panel .accordion-menu li.menu-item > a,
#header #nav-panel .accordion-menu li.menu-item > h5 {
    color: white;
}

#header #nav-panel .accordion-menu li.menu-item .sub-menu li:hover > *:not(.sub-menu) {
    color: #333333;
}

#header #nav-panel .accordion-menu li.menu-item.active > a,
#header #nav-panel .accordion-menu li.menu-item.active > h5
{
    background: #f5f5f5;
    color: #333333;
}
#header #nav-panel .accordion-menu > li.menu-item.active > .arrow {
    color: #333333;
}


#footer,
#footer .footer-bottom {
    background: transparent;
}
#footer,
#footer h1,
#footer h2,
#footer h3,
#footer h4,
#footer h5,
#footer h6,
#footer .widgettitle,
#footer .widget-title,
#footer a,
#footer a:hover {
    color: black;
}



.hero-slider {
    padding: 0;
    position: relative;
    color: white;
}

.hero-slider::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    z-index: 10;
}

.hero-slider .wpb_images_carousel {
    margin: 0;
}

.hero-slider .wpb_images_carousel img {
    height: 720px;
    width: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-slider-title {
    position: absolute;
    left: 50%;
    top: 36.80%;
    z-index: 10;
    transform: translateX(-50%);
    width: 100%;
}

.hero-slider-title p {
    font-family: Gilroy, sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 64px;
    line-height: 77px;
}

.hero-slider-badge {
    position: absolute;
    z-index: 10;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-image: url(/wp-content/uploads/2020/11/hero-badge-left.png), url(/wp-content/uploads/2020/11/hero-badge-right.png);
    background-repeat: no-repeat;
    padding: 0 25px;
    background-position: left center, right center;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    
}

.hero-slider-badge p {
    font-family: Gilroy, sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
    line-height: 15px;
    text-align: center;
    letter-spacing: 0.1em;
}

.frontpage-form,
.form-service-request {
    background: black;

    font-family: Gilroy, sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 30px;
    color: white;
    padding: 40px 0;
    width:2000px;
    max-width:none;
}

.frontpage-form .vc_column-inner,
.form-service-request .vc_column-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.frontpage-form .wpcf7,
.form-service-request .wpcf7 {
    margin-left: 20px;
    text-align: center;
}

.frontpage-form .wpcf7 br,
.form-service-request .wpcf7 br {
    display: none;
}

.frontpage-form .wpcf7-form-control,
.form-service-request .wpcf7-form-control {
    width: 200px;
    font-family: Gilroy, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FFFFFF;
    border: 0;
    border-radius: 0;
    height: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    background:transparent;
    margin: 20px;
}

.frontpage-form .wpcf7-submit,
.form-service-request .wpcf7-submit {
    height: 48px;
    width: 180px;
    border: 1px solid white;
    font-weight: bold;
}

.frontpage-form .wpcf7-submit:hover,
.frontpage-form .wpcf7-submit:active,
.form-service-request .wpcf7-submit:hover,
.form-service-request .wpcf7-submit:active
{
    background: white;
    color: black;
    border-color: white;
}

.frontpage-grid-wrap {
    padding: 0;
}

.frontpage-grid-item .vc-gitem-zone-height-mode-auto:before {
    padding-top: 50%;
    background: black;
    opacity: 0.5;
    min-height: 240px
}

.frontpage-grid-item .vc_gitem-post-data {
    font-family: Gilroy, sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 30px;
    color: #FFFFFF;
}

.frontpage-grid-item .vc_is-hover .vc_gitem-post-data{
    text-decoration: underline;
}

.frontpage-map {
    position: relative;
    padding: 40px 60px;
    height: 560px;
    color: white;
}

.frontpage-map .vc_column-inner * {
    position: relative;
}

.frontpage-map .porto-map-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.frontpage-map [id*="yamap"] {
    width: 100%;
    position: absolute!important;
    top: -40px;
    bottom: -40px;
    left: -60px;
    right: -60px;
    height: 100%;
    width: auto;
}

.frontpage-map [id*="yamap"] > ymaps {
    width: 100%!important;
}

.frontpage-map [class*="-inner-pane"]::before {
    content: '';
    display: block;
    position: absolute;
    z-index: 511;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    pointer-events: none;
}

.frontpage-models {
    padding: 110px 0 45px;
}

.frontpage-models .widgettitle {
    font-size: 30px;
    text-align: center;
    text-transform: none;
    margin-bottom: 90px;
}

.frontpage-models .widget>div>ul,
.frontpage-models .widget>ul,
.frontpage-models .widget>div>ul li,
.frontpage-models .widget>ul li
{
    border: 0;
}

.frontpage-models ul#menu-modeli {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
}

.frontpage-models ul#menu-modeli li::before {
    display: none;
}

.frontpage-models ul#menu-modeli > li {
    text-align: center;
    background: transparent url(//imgagency.ru/bmw/wp-content/themes/porto-child/images/cars/bmw_1.png) top center no-repeat;
    padding-top: 70px;
    padding: 70px 15px 0;
    margin-bottom: 75px;
    width: 170px;
}
.frontpage-models ul#menu-modeli > li:nth-child(1) { background-image: url(/wp-content/themes/porto-child/images/cars/bmw_1.png); }
.frontpage-models ul#menu-modeli > li:nth-child(2) { background-image: url(/wp-content/themes/porto-child/images/cars/bmw_3.png); }
.frontpage-models ul#menu-modeli > li:nth-child(3) { background-image: url(/wp-content/themes/porto-child/images/cars/bmw_5.png); }
.frontpage-models ul#menu-modeli > li:nth-child(4) { background-image: url(/wp-content/themes/porto-child/images/cars/bmw_7.png); }
.frontpage-models ul#menu-modeli > li:nth-child(5) { background-image: url(/wp-content/themes/porto-child/images/cars/bmw_x1.png); }
.frontpage-models ul#menu-modeli > li:nth-child(6) { background-image: url(/wp-content/themes/porto-child/images/cars/bmw_x2.png); }
.frontpage-models ul#menu-modeli > li:nth-child(7) { background-image: url(/wp-content/themes/porto-child/images/cars/bmw_x3.png); }
.frontpage-models ul#menu-modeli > li:nth-child(8) { background-image: url(/wp-content/themes/porto-child/images/cars/bmw_x4.png); }
.frontpage-models ul#menu-modeli > li:nth-child(9) { background-image: url(/wp-content/themes/porto-child/images/cars/bmw_x5.png); }
.frontpage-models ul#menu-modeli > li:nth-child(10) { background-image: url(/wp-content/themes/porto-child/images/cars/bmw_x6.png); }
.frontpage-models ul#menu-modeli > li:nth-child(11) { background-image: url(/wp-content/themes/porto-child/images/cars/bmw_x7.png); }

.frontpage-models ul#menu-modeli > li > a {
    font-weight: bold;
    font-size: 12px;
    color: black;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.frontpage-models ul#menu-modeli .sub-menu li {
    padding: 0;
}

.frontpage-models ul#menu-modeli  a {
    font-size: 14px;
    display: inline-block;
    padding: 6px 11px;
    line-height: 1;
}

.frontpage-models ul#menu-modeli a:hover {
    color: white;
    background: black;
}

.fronpage-services {}

.fronpage-services ul.menu {
    display: flex;
    flex-wrap: wrap;
}

.fronpage-services ul.menu li {
    padding: 15px;
    position: relative;
    width: 33.33%;
    border: 0;
    overflow: hidden;
}

.fronpage-services ul.menu li::before {
    content: '';
    display: block;
    padding-top: 50%;
}

.fronpage-services ul.menu li img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 1s;
}

.fronpage-services ul.menu li:hover img {
    transform: scale(1.1);
}

.fronpage-services ul.menu li a {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);

    font-weight: bold;
    font-size: 24px;
    line-height: 30px;
    color: white;
    text-align: center;
}

.frontpage-offers .slick-dots li {
    width: auto;
    height: auto;
    padding: 0;
    margin: 0 8px;
}

.frontpage-offers .slick-dots li button {
    width: 8px;
    height: 8px;
    padding: 0;
    background: black;
    border-radius: 100%;
    opacity: 0.15;
}

.frontpage-offers .slick-dots li.slick-active button {
    opacity: 1;
}

/*
.frontpage-instagram-title {
    margin: 0;
    background: linear-gradient(90deg, #FFD86D 0%, #FF5D2C 19.79%, #FF284C 38.54%, #DB0087 59.9%, #7D06DA 81.25%, #1E37FF 100%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.frontpage-instagram-title::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: transparent url(//imgagency.ru/bmw/wp-content/uploads/2020/11/instagram.png) center center no-repeat;
    margin-right: 8px;
}

.footer-top .wpmi {
    position: relative;
    padding-top: 48px;
}


.footer-top .wpmi-me {
    position: absolute;
    top: 0;
    left:0;
    width: 100%;
    margin: 0;
    background: linear-gradient(90deg, #FFD86D 0%, #FF5D2C 19.79%, #FF284C 38.54%, #DB0087 59.9%, #7D06DA 81.25%, #1E37FF 100%);
    padding: 16px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-top .wpmi-me a {
    color: white;
    background: transparent;
    font-weight: bold;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-top .wpmi-me a::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    background: transparent url(//imgagency.ru/bmw/wp-content/themes/porto-child/images/icons/instagram.svg) center center no-repeat;
    background-size: contain;
    margin-right: 8px;
}
*/

.footer-wrapper #sb_instagram .sb_instagram_header {
    margin: 0!important;
}

.footer-wrapper #sb_instagram .sb_instagram_header a {
    background: linear-gradient(90deg, #FFD86D 0%, #FF5D2C 19.79%, #FF284C 38.54%, #DB0087 59.9%, #7D06DA 81.25%, #1E37FF 100%);
    padding: 16px;
    width: 100%;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-wrapper #sb_instagram .sb_instagram_header .sbi_header_img {
    display: none;
}

.footer-wrapper #sb_instagram .sb_instagram_header .sbi_header_text {
    float: none;
    padding: 0;
    width: auto;
}

.footer-wrapper #sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio h3 {
    padding: 0 !important;
    margin: 0 !important;
    color: white;
    font-weight: bold;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-wrapper #sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio h3::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    background: transparent url(/wp-content/themes/porto-child/images/icons/instagram.svg) center center no-repeat;
    background-size: contain;
    margin-right: 8px;
}


#footer .widget.follow-us .share-links a {
    box-shadow: none;
    color: black;
    font-size: 18px;
}

#footer .logo {
    margin: 0;
}

#footer .logo img {
    width: 100%;
    max-width: 150px;
}

#footer .copyright {
    color: #888;
}

#footer .widgettitle, #footer .widget-title {
    font-weight: bold;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ccc;
    margin-bottom: 16px;
}

#footer .widget > div > ul, #footer .widget > ul {
    border: 0;
    margin: 0;
}

#footer .widget > div > ul li, #footer .widget > ul li {
    border: 0;
    padding: 0;
    line-height: 17px;
    margin-bottom: 16px;
}

#footer .widget ul li::before {
    display: none;
}

#footer .widget > div > ul li a, #footer .widget > ul li a {
    font-size: 14px;
    line-height: 17px;
}

#footer .contacts {
    text-align: right;
}

#footer .contacts .email {
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
}

#footer .contacts .item {
    margin-top: 24px;
}

#footer .contacts .phone {
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
}

#footer .contacts .address {
    font-size: 14px;
    line-height: 17px;
    margin-top: 8px;
}

#footer .contacts .hours {
    font-size: 14px;
    line-height: 17px;
    margin-top: 8px;
    color: #888;
}

.vc_grid.vc_row .vc_grid-item.slick-slide {
    float: left;
}

@media (max-width: 991px) {
    .hero-slider-title p {
        font-size: 48px;
        line-height: 56px;
    }

    .frontpage-grid-item .vc_gitem-post-data {
        font-size: 16px;
        line-height: 20px;
    }

    #footer, #footer .contacts {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .hero-slider .wpb_images_carousel img {
        height: 560px;
    }

    .hero-slider-title p {
        font-size: 36px;
        line-height: 48px;
    }

    .fronpage-services ul.menu li {
        width: 50%;
    }
}

@media (max-width: 575px) {
    .hero-slider .wpb_images_carousel img {
        height: 480px;
    }

    .hero-slider-title p {
        font-size: 24px;
        line-height: 36px;
    }

    .fronpage-services ul.menu li {
        width: 100%;
    }
}

a.sbi_header_link, .painting-telegram, .painting-vk {
height: 30px!important;
}

@media (max-width: 700px) {
    .footer-top .painting-youtube,
    .footer-top .painting-telegram,
    .footer-top .painting-vk {
        height: 50px!important;
    }

    .footer-top .painting-youtube a,
    .footer-top .painting-telegram a,
    .footer-top .painting-vk a {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
}

.img.size-full.wp-image-1292 {
width: 14px!important;
height: 13px!important;
}

.footer-wrapper #sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio h3:before {
width: 12px!important;
height: 12px!important;
}

.painting-telegram, .painting-vk, .sbi_header_text.sbi_no_bio h3 {
	display: flex!important;
    justify-content: center!important;
    align-items: center!important;
}

.painting-telegram a, .painting-vk a {
	display: flex!important;
    justify-content: center!important;
    align-items: center!important;
}

.painting-youtube {
    background: #FF0000;
    color: white;
    text-align: center;
    padding: 2px 15px;
    margin-bottom: -30px;
}

.painting-youtube a {
    color: white;
    font-weight: bold;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.painting-youtube a img {
    margin-right: 8px;
}

.painting-youtube .wpb_text_column.wpb_content_element {
    margin: 0;
}


.painting-telegram:hover {
    background-color: rgb(16,105,147)!important;
}

.painting-vk:hover {
    background-color: rgb(13,82,159)!important;
}

.painting-youtube:hover {
    background-color: #cd0000 !important;
}


a.sbi_header_link:hover {
    background: linear-gradient(90deg,#a77f13 0%,#af4120 19.79%,#93182d 38.54%,#920f60 59.9%,#4f0f82 81.25%,#142183 100%)!important;
}

.icon-item:hover .icon-item_link {
text-decoration: underline;
text-decoration-color: #000;
}

.icons-container {
	align-items: baseline!important;
}

.icon-item_link {
color: #000;
text-transform: uppercase;
font-weight: 500;
}

.icon-item {
    margin: 0 18px!important;

}

.icon-item a {
    display: flex;
    flex-direction: column;
}

.icon-item img {
	width: 59px!important;;
    height: 53px!important;;
}

.icon-item_link {
    text-align: left;
    font-size: 10px;
    letter-spacing: 1px;
    line-height: normal;
    margin-top: 15px;
}


h2.painting-steps-title {
text-align: center;
margin-top: 100px;
margin-bottom: 100px;
}

.painting-works-slider .wpb_heading.wpb_singleimage_heading {
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
background: white;
margin: 0;
z-index: 1;
padding: 10px 20px;
font-weight: bold;
font-size: 14px;
line-height: 17px;
text-align: center;
letter-spacing: 0.1em;
text-transform: uppercase;
color: black;
}

/* =============================================================
   MAIN PAGE (template-main.php)
   Node 838:153 — Home new 2026 5 — 1920px canvas
   ============================================================= */

/* ── Break template-main out of Porto's .container stakan ── */
body.page-template-template-main #main,
body.page-template-template-main #main > .container,
body.page-template-template-main #main > .container-fluid,
body.page-template-template-main .row.main-content-wrap,
body.page-template-template-main .main-content.col-lg-12 {
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
}
body.page-template-template-main .header-wrapper {
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
}
body.page-template-template-main #header .header-main {
    background: transparent;
}
body.page-template-template-main #header.sticky-header .header-main,
body.page-template-template-main .fixed-header #header.sticky-header .header-main {
    background: #171717;
}

/* ── Shared ── */
.mp-container {
    width: 100%;
    max-width: 1720px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 100px;
    padding-right: 100px;
}

.mp-section-title {
    font-family: Gilroy, sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.1;
    text-align: center;
    color: #000;
    margin: 0 0 60px;
}

/* ── Hero image wrapper ── */
.mp-hero {
    position: relative;
    overflow: hidden;
}
.mp-hero .hero-slider::before {
    z-index: 10;
    background: rgba(0,0,0,0.72);
}
.mp-hero .hero-slider__track {
    position: relative;
    height: clamp(680px, 100vh, 900px);
    overflow: hidden;
    background: #000;
}
.mp-hero .hero-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .7s ease;
    pointer-events: none;
}
.mp-hero .hero-slider__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.mp-hero .wpb_images_carousel,
.mp-hero .vc_images_carousel {
    width: 100% !important;
    margin: 0;
}
.mp-hero .hero-slider__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.mp-hero .hero-slider__content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: min(920px, 100%);
    padding: 0 20px;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.mp-hero .hero-slider__content-slide {
    display: none;
    flex-direction: column;
    align-items: center;
}
.mp-hero .hero-slider__content-slide.is-active {
    display: flex;
}
.mp-hero .hero-slider__nav {
    position: absolute;
    top: 50%;
    z-index: 30;
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background:0 0 ;
    color: #fff;
    transform: translateY(-50%);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.mp-hero .hero-slider__nav:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.82);
}
.mp-hero .hero-slider__nav:focus,
.mp-hero .hero-slider__nav:active {
    outline: none;
    box-shadow: none;
}
.mp-hero .hero-slider__nav span {
    display: block;
    font-size: 106px;
    line-height: .7;
    font-weight: 200;
    margin-top: -8px;
}
.mp-hero .hero-slider__nav--prev {
    left: 32px;
}
.mp-hero .hero-slider__nav--next {
    right: 32px;
}
.mp-hero .hero-slider__content h1 {
    font-family: Gilroy, sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 64px;
    line-height: 1.18;
    letter-spacing: 0;
    text-align: center;
    color: #fff;
    margin: 0;
}
.mp-hero .hero-slider__subtitle {
    margin: 36px 0 32px;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 400;
    letter-spacing: .025em;
    text-transform: uppercase;
    color: #BDBDBD;
}
/* Overlay hero (z-index 10) otherwise paints over the header's mega-menu popup. */
.chip-tuning-template .header-wrapper {
    position: relative;
    z-index: 100;
}
.chip-tuning-template .mp-hero .hero-slider__subtitle--badge {
    width: 220px;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 104px;
    margin-bottom: 0;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: none;
    color: #fff;
    background-image: url(/wp-content/uploads/2020/11/hero-badge-left.png), url(/wp-content/uploads/2020/11/hero-badge-right.png);
    background-repeat: no-repeat;
    background-position: left center, right center;
    background-size: auto 104px;
}
.mp-hero .hero-slider__location-pin {
    margin-right: .25em;
}
.mp-hero .hero-slider__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 50px;
    padding: 0 36px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.mp-hero .hero-slider__button:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
    text-decoration: none;
}
.mp-hero .hero-slider__features {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    background: transparent;
    border-top: 0;
}
.mp-hero .hero-slider__features-slide {
    display: none;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
.mp-hero .hero-slider__features-slide.is-active {
    display: grid;
}
.mp-hero .hero-slider__feature {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 18px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 300;
    text-align: center;
    color: rgba(255,255,255,.72);
    text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
@keyframes mpHeroFade {
    0%,
    100% {
        opacity: 0;
    }
    5%,
    25% {
        opacity: 1;
    }
    30% {
        opacity: 0;
    }
}
@keyframes mpHeroFadeFirst {
    0%,
    25% {
        opacity: 1;
    }
    30%,
    95% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* ── About (838:197) bg:#000 ── */
.mp-about {
    background: #000;
    padding: 130px 0 100px;
    color: #fff;
}
.mp-about__title {
    font-family: Gilroy, sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
    text-align: center;
    color: #fff;
    margin: 0 0 60px;
}
.mp-about__text {
    max-width: 1024px;
    margin: 0 auto 40px;
    font-size: 16px;
    line-height: 1.75;
    color: #fff;
    text-align: left !important;
}
.mp-about__text p { margin: 0 0 16px; text-align: left !important; }
.mp-about__stars {
    display: flex;
    justify-content: center;
    gap: 12px;
}
.mp-about__star { flex-shrink: 0; }

/* ── Services (903:75) — fallback grid if menu missing ── */
.mp-services {
    background: #fff;
    padding: 100px 0;
}
.mp-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.mp-service-card {
    border: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}
.mp-service-card:hover {
    box-shadow: 0 12px 48px rgba(0,0,0,0.15);
    transform: translateY(-4px);
    text-decoration: none;
    color: inherit;
    border-color: #ccc;
}
.mp-service-card__image {
    height: 240px;
    overflow: hidden;
}
.mp-service-card__image img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.mp-service-card:hover .mp-service-card__image img { transform: scale(1.05); }
.mp-service-card__body {
    padding: 23px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.mp-service-card__title {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    color: #000;
    margin: 0 0 10px;
}
.mp-service-card__desc {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin: 0 0 auto;
    padding-bottom: 20px;
}
.mp-service-card__more {
    font-size: 11px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: auto;
}
.mp-service-card__more:hover { text-decoration: underline; color: #000; }

/* ── Our Work (838:225) bg:photo ── */
.mp-ourwork {
    position: relative;
    min-height: 563px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.mp-ourwork__bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.mp-ourwork__overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.72);
    z-index: 1;
}
.mp-ourwork__inner {
    position: relative; z-index: 2;
    padding-top: 80px; padding-bottom: 80px;
}
.mp-ourwork__title {
    font-weight: 700; font-size: 36px; line-height: 1.2;
    color: #fff; margin: 0 0 48px; text-align: center;
}
.mp-ourwork__text { max-width: 1024px; font-size: 16px; line-height: 1.75; color: #fff; text-align: left !important; margin-left: auto; margin-right: auto; }
.mp-ourwork__text p { margin: 0 0 16px; text-align: left !important; }

/* ── Advantages (838:299) bg:photo ── */
.mp-advantages {
    position: relative;
    min-height: 659px;
    display: flex; align-items: center;
    color: #fff; overflow: hidden;
    background-size: cover;
    background-position: center;
}
.mp-advantages__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.mp-advantages__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.72); z-index: 1; }
.mp-advantages__inner { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
.mp-advantages__title { font-weight: 700; font-size: 36px; color: #fff; margin: 0 0 48px; text-align: center; }
.mp-advantages__text { max-width: 1024px; font-size: 16px; line-height: 1.75; color: #fff; text-align: left !important; margin-left: auto; margin-right: auto; }
.mp-advantages__text p { margin: 0 0 12px; text-align: left !important; }
.mp-advantages__text ul { margin: 0 0 16px; padding-left: 20px; }
.mp-advantages__text ul li { border: none; padding: 0; margin-bottom: 4px; list-style: disc; }
.mp-advantages__text ul li::before { display: none; }

/* ── FAQ (838:302) ── */
.mp-faq { background: #fff; padding: 120px 0; }
.mp-faq__list { max-width: 1024px; margin: 0 auto; }
.mp-faq__item { border-bottom: 1px solid #e8e8e8; }
.mp-faq__item:first-child { border-top: 1px solid #e8e8e8; }
.mp-faq__question {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 0;
    background: none; border: none; cursor: pointer;
    font-weight: 400; font-size: 18px; line-height: 1.3;
    color: #000; text-align: left; gap: 16px;
}
.mp-faq__question:focus,
.mp-faq__question:active {
    outline: none;
    box-shadow: none;
}
.mp-faq__icon { flex-shrink: 0; transition: transform .25s ease; color: #000; }
.mp-faq__item--open .mp-faq__icon { transform: rotate(180deg); }
.mp-faq__answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    padding: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    transition: max-height .32s ease, opacity .22s ease, padding .32s ease, visibility 0s linear .32s;
}
.mp-faq__item--open .mp-faq__answer,
.mp-faq__answer[aria-hidden="false"] {
    max-height: 420px;
    opacity: 1;
    visibility: visible;
    padding: 0 0 24px;
    transition-delay: 0s;
}
.mp-faq__answer[aria-hidden="true"] {
    max-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden;
    padding: 0 !important;
}
.mp-faq__answer p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
    .mp-faq__answer,
    .mp-faq__icon {
        transition: none;
    }
}

/* Location service pages */
.live-photo-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 34px 0;
}

.live-photo-row .wp-block-column,
.live-photo-row__item {
    width: auto !important;
    max-width: none !important;
    flex-basis: auto !important;
    margin: 0 !important;
}

.live-photo-row figure,
.live-photo-row .wp-block-image,
.live-photo-row__item {
    margin: 0 !important;
    height: 100%;
}

.live-photo-row img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.post-3696 .page-content > figure,
.post-3705 .page-content > figure {
    width: calc(50% - 12px);
    margin: 34px 0;
}

.post-3696 .page-content > figure img,
.post-3705 .page-content > figure img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
    .mp-container { max-width: 100%; padding-left: 40px; padding-right: 40px; }
    .mp-hero .hero-slider__content h1 {
        font-size: 54px;
    }
    .mp-hero .hero-slider__subtitle {
        margin: 32px 0 28px;
        font-size: 15px;
    }
    .mp-hero .hero-slider__feature {
        font-size: 15px;
        padding-left: 12px;
        padding-right: 12px;
    }
    .frontpage-models { padding: 90px 0 35px; }
    .mp-about { padding: 80px 0 60px; }
    .mp-services { padding: 80px 0; }
    .mp-faq { padding: 80px 0; }
}
@media (max-width: 900px) {
    .mp-hero .hero-slider__track {
        height: clamp(640px, 100svh, 760px);
    }
    .mp-hero .hero-slider__content h1 {
        font-size: 44px;
    }
    .mp-hero .hero-slider__subtitle {
        margin: 28px 0 24px;
        font-size: 14px;
        line-height: 1.35;
    }
    .mp-hero .hero-slider__features-slide {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .mp-hero .hero-slider__feature {
        min-height: 56px;
        font-size: 14px;
    }
    .mp-hero .hero-slider__nav {
        width: 58px;
        height: 58px;
    }
    .mp-hero .hero-slider__nav span {
        font-size: 58px;
    }
    .mp-section-title, .mp-about__title, .mp-ourwork__title, .mp-advantages__title { font-size: 30px; }
    .mp-services__grid { grid-template-columns: repeat(2, 1fr); }
    .mp-about__text, .mp-ourwork__text, .mp-advantages__text { max-width: 100%; text-align: left !important; }
    .mp-about__text p, .mp-ourwork__text p, .mp-advantages__text p { text-align: left !important; }
}
@media (max-width: 600px) {
    .mp-container { padding-left: 20px; padding-right: 20px; }
    .mp-about { padding: 60px 0 40px; }
    .mp-about__title, .mp-section-title { font-size: 26px; }
    .mp-about__text { font-size: 15px; text-align: left !important; }
    .mp-about__text p, .mp-ourwork__text p, .mp-advantages__text p { text-align: left !important; }
    .mp-services { padding: 60px 0; }
    .frontpage-models { padding: 70px 0 20px; }
    .mp-services__grid { grid-template-columns: 1fr; }
    .mp-service-card__image { height: 200px; }
    .mp-ourwork { min-height: unset; }
    .mp-ourwork__inner { padding-top: 60px; padding-bottom: 60px; }
    .mp-ourwork__title { font-size: 26px; text-align: left; }
    .mp-advantages { min-height: unset; }
    .mp-advantages__inner { padding-top: 60px; padding-bottom: 60px; }
    .mp-advantages__title { font-size: 26px; }
    .mp-faq { padding: 60px 0; }
    .mp-faq__question { font-size: 16px; padding: 18px 0; }
    .mp-hero .hero-slider__track {
        height: clamp(620px, 100svh, 720px);
    }
    .mp-hero .hero-slider__content h1 {
        font-size: 34px;
        line-height: 1.22;
    }
    .mp-hero .hero-slider__subtitle {
        margin: 20px 0;
        font-size: 12px;
        line-height: 1.45;
        letter-spacing: .02em;
    }
    .chip-tuning-template .mp-hero .hero-slider__subtitle--badge {
        width: 190px;
        min-height: 80px;
        margin-bottom: 0;
        padding: 0 32px;
        font-size: 14px;
        line-height: 1.2;
        background-size: auto 80px;
    }
    .mp-hero .hero-slider__button {
        min-width: 160px;
        min-height: 46px;
    }
    .mp-hero .hero-slider__nav {
        display: inline-flex;
        top: 72%;
        width: 44px;
        height: 64px;
    }
    .mp-hero .hero-slider__nav--prev {
        left: 4px;
    }
    .mp-hero .hero-slider__nav--next {
        right: 4px;
    }
    .mp-hero .hero-slider__nav span {
        font-size: 72px;
    }
    .mp-hero .hero-slider__features-slide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mp-hero .hero-slider__feature {
        min-height: 44px;
        padding: 10px 8px;
        font-size: 12px;
    }
    .live-photo-row {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 24px 0;
    }
    .post-3696 .page-content > figure,
    .post-3705 .page-content > figure {
        width: 100%;
        margin: 24px 0;
    }
    .fronpage-services ul.menu li { width: 100%; }
}

#rfprk-widget {
    margin-top: 14px !important;
}

#rfprk-widget img {
    display: block;
    margin: 0 auto;
}

/* Вертикальное видео справа с обтеканием текстом */
.video-float-360 {
    float: right;
    width: 360px;
    max-width: 100%;
    margin: 0 0 30px 50px;
}

.video-float-360 .wp-video,
.video-float-360 video {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
}

@media (max-width: 767px) {
    .video-float-360 {
        float: none;
        width: 100%;
        max-width: 360px;
        margin: 0 auto 24px;
    }
}

/* Скрываем пункты меню с классом only-mobile-menu на десктопе */
@media (min-width: 992px) {
    .only-mobile-menu {
        display: none !important;
    }
}

/* Страницы с большой шапкой: отступ между баннером и текстом */
.has-page-hero #content {
    padding-top: 56px;
    padding-bottom: 40px;
}

@media (max-width: 767px) {
    .has-page-hero #content {
        padding-top: 32px;
        padding-bottom: 24px;
    }
}
