﻿/* ==========================================
   APPOINTMENT HEADER
========================================== */

.appointment-header {
    width: 100%;
    min-height: 105px;
    padding: 18px 60px;

    display: flex;
    align-items: center;

    background: #ffffff;
    border-bottom: 1px solid #e5eeee;

    box-sizing: border-box;
}


/* ==========================================
   LOGO
========================================== */

.header-logo {
    flex-shrink: 0;
}

.hospital-logo {
    width: 295px;
    height: auto;
    display: block;
}


/* ==========================================
   NAVIGATION
========================================== */

.header-nav {
    flex: 1;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-left: 25px;
}


.header-menu {
    list-style: none !important;

    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    gap: 4px;
}


.header-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


.header-menu li a {
    display: block;

    padding: 9px 11px;

    color: #34495e;
    background: transparent;

    text-decoration: none !important;

    font-size: 14px;
    font-weight: 600;

    border-radius: 6px;

    white-space: nowrap;

    transition: all 0.25s ease;
}


.header-menu li a:hover {
    color: #008f8c;
    background: #eef9f8;
}


/* Patient Portal */

.header-menu li:last-child a {
    color: #008f8c;
    font-weight: 700;
}

.header-menu li:last-child a:hover {
    color: #ffffff;
    background: #008f8c;
}


/* ==========================================
   EMERGENCY
========================================== */

.emergency-box {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 13px 20px;

    border: 2px solid #ff7070;
    border-radius: 30px;

    color: #d83232;
    background: #ffffff;

    font-size: 15px;
    font-weight: 700;

    white-space: nowrap;
}

.emergency-box i {
    font-size: 18px;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1250px) {

    .appointment-header {
        padding: 15px 30px;
    }

    .hospital-logo {
        width: 250px;
    }

    .header-nav {
        margin-left: 15px;
    }

    .header-menu {
        gap: 0;
    }

    .header-menu li a {
        padding: 8px 7px;
        font-size: 13px;
    }

    .emergency-box {
        padding: 11px 15px;
        font-size: 13px;
    }
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 900px) {

    .appointment-header {
        min-height: auto;
        padding: 15px 20px;

        flex-wrap: wrap;
        justify-content: center;
    }

    .header-logo {
        width: 100%;

        display: flex;
        justify-content: center;
    }

    .hospital-logo {
        width: 270px;
    }

    .header-nav {
        width: 100%;
        margin: 12px 0 0 0;
    }

    .header-menu {
        flex-wrap: wrap;
    }

    .header-menu li a {
        font-size: 13px;
        padding: 7px 9px;
    }

    .emergency-box {
        margin-top: 12px;
        font-size: 14px;
    }
}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 500px) {

    .appointment-header {
        padding: 12px 10px;
    }

    .hospital-logo {
        width: 235px;
    }

    .header-menu {
        width: 100%;
    }

    .header-menu li {
        width: 50%;
        text-align: center;
    }

    .header-menu li a {
        width: 100%;
        font-size: 12px;
    }

    .emergency-box {
        width: 100%;
        font-size: 13px;
    }
}