/* ============================================
   SMSA EXPRESS - HEADER EXACT OFFICIEL
   ============================================ */

* {
    margin: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
}

body {
    background: #fff;
    font-family: 'URW Geometric Arabic', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #373737;
    font-size: 16px;
    font-weight: 500;
}

.page-wrap {
    min-height: 100%;
    padding-bottom: 3rem;
    overflow: hidden;
}

.flex_me {
    display: flex;
    flex-wrap: wrap;
}

.col {
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    min-width: 0;
    max-width: 100%;
}

.container {
    max-width: 1300px;
    margin: auto;
    padding: 0 15px;
}

.justify_end {
    justify-content: flex-end;
    align-items: center;
}

/* ============================================
   TOP BAR
   ============================================ */

.top_bar {
    background: #153c3f;
    border-bottom: 6px solid #136e82;
}

.top_bar .container {
    align-items: center;
}

.top_bar ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.top_bar ul li a:link,
.top_bar ul li a:visited {
    color: rgb(255 255 255 / 51%);
    text-decoration: none;
    height: 43px;
    display: block;
    line-height: 43px;
    padding: 0 2rem;
    font-weight: 700;
    transition: all .2s ease;
}

.top_bar ul li a:hover {
    color: #fff;
}

.top_bar ul li.active a:link,
.top_bar ul li.active a:visited {
    background: #146e82;
    color: #fff;
}

.top_bar .container .col:nth-child(2) {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: -1.5rem;
}

.top_bar .container .col:nth-child(2) a:link,
.top_bar .container .col:nth-child(2) a:visited {
    padding: 0 1.5rem;
    color: #fff;
    text-decoration: none;
    display: block;
}

.btn-srch {
    background: 0 0;
    border: 0;
    margin: 0 1rem;
    cursor: pointer;
}

.btn-srch img,
.top_bar .container .col:nth-child(2) a img {
    display: block;
    filter: brightness(0) invert(1);
    height: 24px;
}

.search_btn {
    padding: 0;
    margin: 0;
}

.help_dropdown {
    position: relative;
}

.help_dropdown > a {
    color: #fff !important;
}

.help_dropdown > div {
    display: none;
    position: absolute;
    background: white;
    top: 43px;
    left: 0;
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
}

.help_dropdown:hover > div {
    display: block;
}

.help_dropdown div span {
    display: block;
    padding: 1rem;
    font-weight: 700;
    color: #373737;
    border-bottom: 1px solid #e0e0e0;
}

.help_dropdown div ul {
    flex-direction: column;
    padding: 0;
}

.help_dropdown div ul li {
    list-style: none;
}

.help_dropdown div ul li a {
    display: block;
    padding: 0.8rem 1rem !important;
    color: #373737 !important;
    height: auto !important;
    line-height: normal !important;
    font-weight: 500 !important;
}

.help_dropdown div ul li a:hover {
    background: #f5f5f5;
}

.search_box {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
}

.search_box.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search_field {
    background: white;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    border-radius: 4px;
}

.search_field input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

/* ============================================
   HEADER PRINCIPAL
   ============================================ */

header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

header .container {
    align-items: center;
    padding: 0 15px;
}

header .container .col {
    align-items: center;
}

header .container .col:nth-child(1) {
    flex: 0 0 75%;
}

header .container .col:nth-child(1) {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 2rem;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

header .container .col:nth-child(1) ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

header .container .col:nth-child(1) ul li {
    margin: 0;
    padding: 0;
}

header .container .col:nth-child(1) ul li a:link,
header .container .col:nth-child(1) ul li a:visited {
    color: #146e82;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 0 0.8rem;
    transition: all .2s ease;
    display: flex;
    align-items: center;
    height: 70px;
}

header .container .col:nth-child(1) ul li a:hover {
    color: #00c8e1;
}

header .container .col:nth-child(2) {
    flex: 0 0 25%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

header .container .col:nth-child(2) a:link,
header .container .col:nth-child(2) a:visited {
    color: #146e82;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 0.6rem 1.5rem;
    transition: all .2s ease;
    display: inline-block;
    white-space: nowrap;
}

header .container .col:nth-child(2) a:first-child:hover {
    color: #00c8e1;
}

.sign_up_link {
    box-shadow: 0 0 0 2px #146e82;
    color: #146e82 !important;
}

.sign_up_link:hover {
    background: #146e82;
    color: #fff !important;
}

.append_menu {
    flex: 1;
    align-items: center;
}

.menuIndividual {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.menuIndividual li {
    margin: 0;
    padding: 0;
}

.menuIndividual li a {
    color: #146e82;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 0 0.8rem;
    display: flex;
    align-items: center;
    height: 70px;
    transition: all .2s ease;
}

.menuIndividual li a:hover {
    color: #00c8e1;
}

.menuMobile {
    display: none;
}

/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a {
    color: #00c8e1;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.breadcrumb a:hover {
    color: #146e82;
}

.breadcrumb-home svg {
    width: 20px;
    height: 20px;
}

.breadcrumb-separator {
    color: #ddd;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    header .container .col:nth-child(1) {
        flex: 0 0 100%;
    }

    header .container .col:nth-child(2) {
        flex: 0 0 100%;
        margin-top: 1rem;
        border-top: 1px solid #e0e0e0;
        padding-top: 1rem;
    }

    header .container .col:nth-child(1) ul {
        flex-wrap: wrap;
    }

    header .container .col:nth-child(1) ul li a:link,
    header .container .col:nth-child(1) ul li a:visited {
        font-size: 12px;
        padding: 0 0.5rem;
    }

    .menuIndividual li {
        flex: 0 0 50%;
    }

    .top_bar ul li a:link,
    .top_bar ul li a:visited {
        padding: 0 1rem;
        font-size: 12px;
    }

    .desktop_view {
        display: none !important;
    }

    .onMobile_view {
        display: block !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    header .container .col:nth-child(1) ul li a:link,
    header .container .col:nth-child(1) ul li a:visited {
        font-size: 11px;
        padding: 0 0.3rem;
        height: 60px;
    }

    header .container .col:nth-child(2) a:link,
    header .container .col:nth-child(2) a:visited {
        font-size: 12px;
        padding: 0.5rem 1rem;
    }

    .top_bar ul li a:link,
    .top_bar ul li a:visited {
        padding: 0 0.8rem;
        font-size: 11px;
    }

    .logo img {
        height: 40px;
    }
}
