/* Homepage header and hero restored from the approved reference. */
#topBar {
    background: #082d49;
    color: #fff;
    font-size: 14px;
    height: 38px;
}

#topBar .topbar-inner {
    align-items: center;
    display: flex;
    height: 38px;
    justify-content: space-between;
}

#topBar a {
    color: #fff;
    text-decoration: none;
}

.topbar-phone {
    font-weight: 700;
    margin-right: 16px;
}

.topbar-appointment {
    background: #f6a623;
    border-radius: 6px;
    color: #08243d !important;
    display: inline-block;
    font-weight: 800;
    padding: 6px 14px;
}

#headerNav {
    background: #fff;
    box-shadow: none;
    height: 60px;
}

#headerNav:after {
    content: none;
}

#headerNav .container,
#headerNav .row {
    height: 100%;
    position: relative;
}

.header-brand-col {
    align-items: center;
    display: flex;
    left: 0;
    max-width: none;
    padding-left: 15px;
    position: absolute;
    top: 19px;
    width: auto;
    z-index: 2;
}

a#logo {
    align-items: center;
    color: #333 !important;
    display: flex !important;
    gap: 0;
    margin: 0 !important;
    position: relative !important;
    text-decoration: none;
    top: auto !important;
    z-index: 2;
}

.header-brand-text {
    display: block !important;
    padding-bottom: 0;
    white-space: nowrap;
}

.header-brand-text small {
    color: #079fc5;
    display: block;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    margin: 3px 0 0;
}

.header-brand-text strong {
    color: #082d49;
    display: block;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.header-content-col {
    display: none;
    justify-content: flex-end;
    max-width: none;
    position: absolute;
    right: 15px;
    top: 0;
    width: auto;
    z-index: 1;
}

.header-ust-nav {
    align-items: center;
    display: flex;
    gap: 16px;
    margin-top: 13px;
}

.header-social {
    align-items: center;
    background: #0788bd;
    border-radius: 50%;
    color: #fff !important;
    display: inline-flex;
    height: 33px;
    justify-content: center;
    margin-right: 5px;
    text-decoration: none;
    width: 33px;
}

.header-social:last-child {
    background: #0ca2bf;
    margin-right: 0;
}

.header-menu-col {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    bottom: auto;
    max-width: none;
    position: absolute;
    right: 15px;
    width: auto;
    z-index: 1;
}

.header-menu-col .header-nav {
    width: auto;
}

.header-menu-col ul#mainUl {
    margin: 0;
}

.header-menu-col ul#mainUl > li > a {
    color: #082d49;
    font-size: 14px;
    font-weight: 400;
    line-height: 60px;
    padding: 0 10px;
}

.header-menu-col ul#mainUl > li > a:hover {
    color: #079fc5;
}

/* Keep desktop dropdowns attached to their trigger while the pointer moves down. */
@media (min-width: 1200px) {
    .header-menu-col ul#mainUl > li.subMenu {
        position: relative;
    }

    .header-menu-col ul#mainUl > li.subMenu > ul {
        top: 100% !important;
    }
}

/* Homepage copy of the global compact fixed mobile header override. */
@media (max-width: 991px) {
    body {
        padding-top: 50px !important;
    }

    #header {
        background: #fff;
        box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
        left: 0;
        position: fixed !important;
        right: 0;
        top: 0;
        width: 100%;
        z-index: 1100;
    }

    #headerNav,
    #headerNav .row,
    .logoM.col-3 {
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
    }

    #headerNav {
        overflow: visible;
    }

    #headerNav:after,
    .header-content-col,
    .header-menu-col {
        display: none;
    }

    #headerNav .row,
    .logoM.col-3 {
        align-items: center;
        display: flex;
    }

    .logoM.col-3 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        position: relative !important;
        top: 0 !important;
    }

    a#logo {
        display: block;
        font-size: 18px !important;
        line-height: 1 !important;
        margin: 0 !important;
        max-width: calc(100% - 58px);
        overflow: hidden;
        position: relative !important;
        text-overflow: ellipsis;
        top: auto !important;
        transform: none !important;
        white-space: nowrap;
    }

    .header-doctor-photo {
        display: none !important;
    }

    .header-brand-text,
    a#logo .header-brand-text {
        display: block !important;
        padding-bottom: 0;
    }

    .header-brand-text small {
        display: none;
    }

    .header-brand-text strong {
        color: #092844;
        font-size: 18px;
    }

    #hamburger {
        margin: 0 !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    #hamburger.open {
        position: fixed !important;
        top: 25px !important;
        z-index: 10001;
    }

    .mm-menu {
        margin-top: 50px !important;
    }

    .mm-menu #mm-mainUl > .mm-navbar {
        display: none !important;
    }
}

@media (max-width: 390px) {
    a#logo {
        font-size: 16px !important;
        max-width: calc(100% - 54px);
    }
}


/* Acik ust menu koyu zeminde okunur kalir. */
@media (min-width: 992px) {
    .header-menu-col ul#mainUl > li:hover > a,
    .header-menu-col ul#mainUl > li:focus-within > a,
    .header-menu-col ul#mainUl > li > a:focus-visible {
        background: #1c2847;
        color: #fff !important;
    }
}

/* Yan menuler gecikmeden tek parca acilip kapanir. */
@media (min-width: 992px) {
    .header-menu-col ul#mainUl li.subMenu > ul,
    .header-menu-col ul#mainUl ul > li,
    .header-menu-col ul#mainUl ul > li > a {
        transition: none !important;
        animation: none !important;
    }
}
