/* AB.hr header: two linked logo parts, one compact menu row. */

html.ab-split-logo-ready .td-header-wrap .ab-duplicate-marketplace-menu-item {
    display: none !important;
}

.td-main-menu-logo .ab-header-home-link,
.td-main-menu-logo .ab-header-marketplace-link {
    align-items: center;
    box-sizing: border-box;
    justify-content: center;
    text-decoration: none;
}

.td-main-menu-logo .ab-split-logo-image {
    box-sizing: border-box;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    width: auto !important;
}

@media (min-width: 768px) {
    .td-header-style-12 .td-header-menu-wrap,
    .td-header-style-12 .td-header-main-menu {
        height: 80px;
        min-height: 80px;
    }

    .td-header-style-12 .td-header-main-menu {
        align-items: center;
        display: flex;
        flex-wrap: nowrap;
    }

    .td-header-style-12 #td-header-menu {
        align-items: center;
        display: flex !important;
        flex: 1 1 auto;
        float: none;
        min-width: 0;
        white-space: nowrap;
    }

    .td-header-style-12 #td-header-menu > .menu-izbornik-container {
        flex: 1 1 auto;
        min-width: 0;
    }

    .td-header-style-12 .td-main-menu-logo {
        align-items: center;
        display: flex;
        flex: 0 0 178px;
        float: none;
        height: 80px;
        margin: 0 10px 0 0;
        max-width: 178px;
    }

    .td-header-style-12 .td-main-menu-logo > .td-mobile-logo,
    .td-header-style-12 .td-main-menu-logo > .ab-header-marketplace-link-mobile {
        display: none !important;
    }

    .td-header-style-12 .td-main-menu-logo > .td-logo {
        align-items: center;
        display: flex !important;
        height: 80px;
        line-height: normal;
        margin: 0;
        padding: 0;
        width: 178px;
    }

    .td-header-style-12 .ab-header-home-link-desktop {
        display: flex !important;
        flex: 0 0 39px;
        height: 80px;
        line-height: normal !important;
        margin-right: 8px;
        width: 39px;
    }

    .td-header-style-12 .ab-header-home-link-desktop img {
        max-height: 34px !important;
        max-width: 39px !important;
    }

    .td-header-style-12 .ab-header-marketplace-link-desktop {
        display: flex !important;
        flex: 0 0 127px;
        height: 80px;
        line-height: normal !important;
        transform: translateY(-5px);
        width: 127px;
    }

    .td-header-style-12 .ab-header-marketplace-link-desktop img {
        max-height: 31px !important;
        max-width: 127px !important;
    }

    .td-header-style-12 .td-header-menu-social,
    .td-header-style-12 .td-search-wrapper {
        flex: 0 0 auto;
        float: none;
        height: 80px;
        white-space: nowrap;
    }

    .td-header-style-12 .td-header-menu-social {
        line-height: 80px;
    }

    .td-header-style-12 .td-header-menu-wrap.td-affix,
    .td-header-style-12 .td-affix .td-header-main-menu {
        height: 48px;
        min-height: 48px;
    }

    .td-header-style-12 .td-affix .td-main-menu-logo,
    .td-header-style-12 .td-affix .td-main-menu-logo > .td-logo,
    .td-header-style-12 .td-affix .ab-header-home-link-desktop,
    .td-header-style-12 .td-affix .ab-header-marketplace-link-desktop,
    .td-header-style-12 .td-affix .td-header-menu-social,
    .td-header-style-12 .td-affix .td-search-wrapper {
        height: 48px !important;
    }

    .td-header-style-12 .td-affix .ab-header-home-link-desktop img {
        max-height: 28px !important;
        max-width: 32px !important;
    }

    .td-header-style-12 .td-affix .ab-header-marketplace-link-desktop img {
        max-height: 25px !important;
        max-width: 105px !important;
    }

    .td-header-style-12 .td-affix .ab-header-marketplace-link-desktop {
        transform: translateY(0px);
    }

    .td-header-style-12 .td-affix .td-header-menu-social {
        line-height: 48px;
    }
}

@media (max-width: 767px) {
    .td-header-style-12 .ab-header-home-link-desktop,
    .td-header-style-12 .ab-header-marketplace-link-desktop {
        display: none !important;
    }

    .td-header-style-12 .td-main-menu-logo {
        align-items: center;
        display: flex !important;
        height: 48px !important;
        justify-content: center;
        left: 50%;
        margin: 0 !important;
        max-width: 170px;
        position: absolute;
        top: 0;
        transform: translateX(-50%);
        width: 170px !important;
        z-index: 2;
    }

    

    .td-header-style-12 .ab-header-home-link-mobile {
        display: flex !important;
        flex: 0 0 35px;
        height: 48px;
        line-height: normal !important;
        margin-right: 7px;
        position: static !important;
        width: 35px;
    }

    .td-header-style-12 .ab-header-home-link-mobile img {
        max-height: 31px !important;
        max-width: 35px !important;
    }

    .td-header-style-12 .ab-header-marketplace-link-mobile {
        display: flex !important;
        flex: 0 0 118px;
        height: 48px;
        line-height: normal !important;
        position: static !important;
        width: 118px;
    }

    .td-header-style-12 .ab-header-marketplace-link-mobile img {
        max-height: 29px !important;
        max-width: 118px !important;
    }
}
