/*
    Template: consulting
    Theme Name: Consulting Child Theme
    Theme URI: http://consulting.stylemixthemes.com/
    Author: StylemixThemes
    Author URI: http://stylemixthemes.com/
    Description: Consulting - Business and Finance WordPress theme. Using Consluting you can easily create a modern website with real content. Easily edit the real content and compose the page layout with drag & drop page builder Consulting is the best ever finance, consulting, brokerage WordPress theme. It’s fully Responsive and Easy to Customize using intuitive Drag & Drop Visual Composer and Theme Options panel in WordPress Customizer.
    Version: 4.0.2
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: blue, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, fluid-layout, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, sticky-post, translation-ready
    Text Domain: consulting-child-theme
*/

body {
    color: #080808 !important;
    line-height: 1.5 !important;
    font-size: 16px;
}

html, body {
    height: 100%;
    margin: 0;
}


#wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#page {
        flex: 1;
}


html body .consulting_menu_nav #menu_toggle, html body .consulting_menu_nav .menu_toggle {
    top: -14px !important;
    right: 0 !important;
}

.elementor-widget-image img {
    box-shadow: -6px 11px 0px #208695 !important;
}


.main-img .elementor-widget:not(:last-child) {
    margin-block-end: 0 !important;
}



.wpb_wrapper p, .elementor-element {
    font-size: 16px !important;
    line-height: 1.7 !important;
}

footer {
    .wpb_wrapper p, .elementor-element {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }

    .stm_contacts_widget ul li .icon {
        color: var(--e-global-color-accent) !important;
    }
}


.widget .widget_title {
    border-top: 3px solid var(--e-global-color-secondary) !important;
    margin-bottom: 25px;
}

.callto-text, .callto-text > * {
    font-size: 18px !important;
    line-height: 1.75 !important;
}

.consulting_elementor_wrapper .elementor-tabs .elementor-tabs-content-wrapper {
    background-color: var(--e-global-color-accent) !important;
    box-shadow: -6px 11px 0px var(--e-global-color-secondary) !important;
    border: 0;
}

.stm_contacts_widget ul li {
    margin: 0 0 20px 0 !important;
    line-height: 1.5 !important;

}

.stm_contacts_widget ul li .text {
    font-weight: 400 !important;
    letter-spacing: 0 !important;

}

.stm_contacts_widget ul li .icon i  {
   margin-top: 4px !important;

}

.elementor-widget-text-editor ul:not(.elementor-editor-element-settings) li {
    font-size: 16px !important;
}

.mbc-services-tabs .elementor-tabs .elementor-tab-title {
    background-color: transparent !important;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "DM Sans", Sans-serif !important;
    font-weight: 600 !important;
}

h1, .h1 {
    font-size: 32px !important;
    padding: 20px 10px !important;
}

h2, .h2 {
    font-size: 32px !important;
}

@media (min-width: 768px) {
    h1, .h1, h2, .h2 {
        font-size: 38px !important;
    }
}

@media (min-width: 1024px) {
    h1, .h1 {
        font-size: 46px !important;
        padding: 40px 0 20px 0 !important;
    }

    h2, .h2 {
        font-size: 46px !important;
    }
}


.hero-title {
    h1 {
        font-size: 46px !important;
        padding: 0 !important;
    }
}


.white-text {
    > * {
        color: #fff !important;
    }
}

/* MBC: Social icons in mobile menu */
.mbc-mobile-socials-item {
    display: none;
}

.elementor-tab-content h3 {
    margin-bottom: 40px !important;
}

.services-main {
    h6 {
        font-weight: 700 !important;
        margin: 20px 0 15px 0 !important;
        font-size: 20px !important;
        line-height: 1.5 !important;
    }

    p {
        font-size: 16px !important;
        line-height: 1.7 !important;
        max-width: 360px;
        margin: 0 auto !important;
    }


    .usluga .icon i {
        color: var(--e-global-color-accent) !important
    }

    .usluga .elementor-widget-wrap {
        box-shadow: -6px 11px 0px #208695 !important;
        background-color: var(--e-global-color-accent) !important;
    }

    .elementor-inner-section {
        .elementor-column {
            padding: 20px;
        }

    }

    .usluga {
        .icon {
            background-color: var(--e-global-color-secondary) !important;
            border-radius: 100% !important;
        }

        &.istaknuto {

            .icon {
                background-color: var(--e-global-color-accent) !important;

                i {
                    color: var(--e-global-color-secondary) !important
                }
            }

            h6, p {
                color: var(--e-global-color-accent) !important;
            }

            .elementor-widget-wrap {
                background-color: var(--e-global-color-secondary) !important;
                box-shadow: -6px 11px 0px #1a5159 !important;

            }
        }
    }
}

.mobile-hide {
    display: none;
}

@media (min-width: 768px) {
    .mobile-hide {
        display: block;
    }

    .services-main h6 {
        display: block !important;
        flex: 0 0 100%;
        font-size: 20px !important;
    }

    .consulting-testimonial__info {
        padding: 0 !important;
    }
}

@media (max-width: 1024px) {
    .mbc-mobile-socials-item {
        display: list-item;
        list-style: none;
    }

    .mbc-mobile-socials {
        display: flex;
        justify-content: center;
        gap: 16px;
        padding: 24px 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .mbc-mobile-socials a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.05);
        color: #333;
        font-size: 16px;
        text-decoration: none;
        transition: background 0.2s, color 0.2s;
    }

    .mbc-mobile-socials a:hover {
        background: var(--consulting-primary-color, #6c59a4);
        color: #fff;
    }

    .header-social {
        display: none;
    }
}

.mb-0 {
    margin-bottom: 0 !important;
}

.hero-title span {
    color: var(--e-global-color-secondary);
}

.ybg, .consulting-testimonial-inner {
    background-image: url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='40' height='69.282' patternTransform='scale(2) rotate(0)'><rect x='0' y='0' width='100%' height='100%' fill='%230b344eff'/><path d='M13.333-3.849v23.094M6.667-15.396l20 11.547M13.333-19.245l20 11.547M20 0v23.094m20-34.641l-6.667 3.849-6.666 3.849L20 0M0-11.547l6.667 3.849 6.666 3.849L20 0m0-23.094l20 11.547v23.094L20 23.094l-6.667-3.849-6.666-3.849L0 11.547v-23.094l6.667-3.849 6.666-3.849zM40-3.769L20 7.698m20-3.849l-16.253 9.384L20 15.396M6.667-7.698v23.094m6.666 50.037v23.094M6.667 53.886l20 11.547M13.333 50.037l20 11.547M20 69.282v23.094m20-34.641l-6.667 3.849-6.666 3.849L20 69.282M0 57.735l6.667 3.849 6.666 3.849L20 69.282m0-23.094l20 11.547v23.094L20 92.376l-6.667-3.849-6.666-3.849L0 80.829V57.735l6.667-3.849 6.666-3.849zm20 19.325L20 76.98m20-3.849L20 84.678M6.667 61.584v23.094m26.666-53.886v23.094m-6.666-34.641l20 11.547M33.333 15.396l20 11.547M40 34.641v23.094m20-34.641l-6.667 3.849-6.666 3.849L40 34.641M20 23.094l6.667 3.849 6.666 3.849L40 34.641m0-23.094l20 11.547v23.094L40 57.735l-6.667-3.849-6.666-3.849L20 46.188V23.094l6.667-3.849 6.666-3.849zm20 19.325L40 42.339m20-3.849L40 50.037M26.667 26.943v23.094M-6.667 30.792v23.094m-6.666-34.641l20 11.547M-6.667 15.396l20 11.547M0 34.641v23.094m20-34.641l-6.667 3.849-6.666 3.849L0 34.641m-20-11.547l6.667 3.849 6.666 3.849L0 34.641m0-23.094l20 11.547v23.094L0 57.735l-6.667-3.849-6.666-3.849L-20 46.188V23.094l6.667-3.849 6.666-3.849zm20 19.325L0 42.339m20-3.849L0 50.037m-13.333-23.094v23.094'  stroke-width='1' stroke='%2308273aff' fill='none'/></pattern></defs><rect width='800%' height='800%' transform='translate(0,0)' fill='url(%23a)'/></svg>") !important;
    background-size: 200px;
    background-position: bottom right;
}


.header-callto {
    .elementor-icon-box-wrapper {
        display: flex;
        flex-direction: row !important;
        align-items: center;
        align-content: center;
    }

    .elementor-icon-box-content {
        display: flex;
        align-items: center;
        padding-left: 15px;

        span, a {
            font-weight: 700 !important;
        }
    }
}

.consulting-testimonial__info {
    max-width: unset !important;
}

.consulting-testimonial__container {
    padding: 0 !important;
}

.consulting-testimonials-carousel.full_image .consulting-testimonial-inner {
    padding: 0 !important;
    margin: 0 !important;
}

.consulting-testimonials-carousel.full_image .consulting-testimonial__info {
  background-color: var(--e-global-color-accent); !important}

.review-column {
    padding: 0 40px 40px 40px !important;

    @media (min-width: 768px) {
        padding: 40px !important;
        background-color: var(--e-global-color-accent); !important}
        margin-right: 10px;
    }

}

.reviews .elementor-container {
        @media (min-width: 768px) {
            flex-wrap: nowrap !important;
        }

}


@media (max-width: 420px) {
    html body .consulting_menu_nav__breakpoint-tablet .consulting_menu_nav > li.mbc-mobile-socials-item a {
        padding: 0 !important;
    }
}


@media (max-width: 1024px) {
    html body .consulting_menu_nav__breakpoint-tablet .consulting_menu_nav {
        background-color: transparent !important;
    }

    html body .consulting_menu_nav nav {
        background-color: var(--e-global-color-primary);
        background-repeat: repeat;
        background-size: auto;
        box-shadow: -6px 11px 0px #208695;
    }

    html body .consulting_menu_nav li {
        padding: 0 !important;
    }

    html body .consulting_menu_nav > li > a {
        padding: 10px 20px !important;
    }

}

.mbc-mobile-socials a {
    display: flex !important;
    padding: 0 !important;
}

/* MBC: Services tabs - desktop sidebar + mobile accordion */
.mbc-services-tabs .elementor-tabs {
    border: none;
}

/* Desktop: sidebar left + content right */
@media (min-width: 768px) {
    .mbc-services-tabs .elementor-tabs {
        display: flex;
    }

    .mbc-services-tabs .elementor-tabs-wrapper {
        flex: 0 0 280px;
        display: flex;
        flex-direction: column;

    }

    .mbc-services-tabs .elementor-tab-title {
        display: block;
        padding: 5px 0 !important;
        border: none;
        border-left: 3px solid transparent;
        background: none;
        cursor: pointer;
        text-align: left;
        font-weight: 400 !important;
        font-size: 15px !important;
        transition: none !important;
        background: #fff !important;
        letter-spacing: 0 !important;
    }

    .elementor-tabs-wrapper {
        background: #fff !important;
    }

    .consulting_elementor_wrapper .elementor-tabs .elementor-tabs-wrapper .elementor-tab-title:hover, .consulting_elementor_wrapper .elementor-tabs .elementor-tabs-wrapper .elementor-tab-title.elementor-active {
        text-decoration: underline;
        font-weight: 600 !important;
    }


    .mbc-services-tabs .elementor-tabs-content-wrapper {
        flex: 1;
    }

    .mbc-services-tabs .elementor-tab-content {
        padding: 14px 0;
        font-size: 16px;
        line-height: 1.7 !important;

        p, b {
            margin-bottom: 25px !important;
        }

        li {
            font-size: 16px !important;
        }
    }


    /* Hide mobile titles on desktop */
    .mbc-services-tabs .elementor-tab-mobile-title {
        display: none !important;
    }
}

/* Mobile: accordion */
@media (max-width: 767px) {
    .mbc-services-tabs .elementor-tabs-wrapper {
        display: none;
    }

    .mbc-services-tabs .elementor-tab-mobile-title {
        padding: 20px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        cursor: pointer;
        font-size: 15px;
        font-weight: 600;
        color: #222;
        position: relative;

        &.elementor-active {
            background: #fff !important;
        }
    }

    .mbc-services-tabs .elementor-tab-mobile-title::after {
        content: '+';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        font-weight: 300;
        color: #999;
        transition: transform 0.2s;
    }


    .mbc-services-tabs .elementor-tab-mobile-title.elementor-active::after {
        content: '−';
        color: var(--e-global-color-secondary, var(--consulting-primary-color, #6c59a4));
    }

    .mbc-services-tabs .elementor-tab-content {
        font-size: 15px;
        line-height: 1.7;
        padding: 0 20px 20px 20px !important;

        &.elementor-active {
            background: #fff;
        }


        p {
            margin-bottom: 15px !important;
        }

        li {
            font-size: 15px !important;
        }
    }

    .elementor-tab-title {
        background-color: #eeeeee !important;
        letter-spacing: 0 !important;
        font-size: 17px !important;
        color: var(--e-global-color-primary) !important;
    }

    h3 {
        display: none !important;
    }
}


@media (min-width: 1024px) {
    .mbc-services-tabs .elementor-tabs-wrapper {
        flex: 0 0 320px;
    }

    .content-area {
        min-height: 50vh;
    }

    .mbc-services-tabs .elementor-tabs {
    }

    html body .consulting_menu_nav > li > a {
        line-height: 1 !important;
        display: block !important;
    }

    .main-menu-wrap .elementor-widget-wrap {
        align-content: flex-end !important;
    }

    .header-social .elementor-icon.elementor-social-icon {
        height: auto !important;
        padding-top: 30px !important;
    }
    .single-post {
        .content-area {
padding-top: 40px;
        }
    }
}


.stm_post_info .post_thumbnail img {
    width: 100%
}

.stm_post_details, .stm_post_comments, .post_bottom.media {display: none}

.post_details_wr .stm_post_info {
    border-top: 0 !important;
}


.consulting_posts_box.grid .post_item .news_info {
    padding-bottom: 20px;
}

.consulting_posts_box.grid .post_item .news_item_button {
    font-weight: 500;
}

.consulting_posts_box .consulting_posts li .news_item_title.line_under_title:after, .consulting_posts_box.grid .post_item .news_item_button .button_icon {
    background-color: var(--e-global-color-secondary) !important;
}

.consulting_posts_box .consulting_posts li .date.icon_before:before {
    color: var(--e-global-color-secondary) !important;
}

 

.stm_post_info .post_thumbnail img {
	box-shadow: -6px 11px 0px #208695 !important;
}

