﻿

.LayoutMainButton {
    font-family: 'Montserrat', monospace;
    color: black !important;
    background-color: white;
    height: 100%;
    padding: 12px !important;
    min-width: 50px;
    font-size: 10pt !important;
    border-radius: 0px !important;
    text-transform: none !important;
    /*  transition: border-bottom 0.3s; */ /* Smooth transition for the border change */
}

    .LayoutMainButton:hover, .LayoutMainButton:focus, .LayoutMainButton:active, .LayoutMainButton.active {
        border-bottom: 2px solid #F69320; /* Adds a 2px solid white border to the bottom */
        padding-bottom: 10px !important;
        background-color: white !important;
        text-decoration: none;
    }

.LayoutListItem {
    background-color: #449a45 !important;
}

#HeaderSearchBar {
    width: 0; /* Start with a width of 0 */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: auto; /* Align to the right initially */
    transition: width 0.5s ease;
    overflow: hidden; /* Prevent content from showing when the width is 0 */
    animation: expandAnimation 0.5s forwards; /* Use forwards to keep the final state */
}

.colorOval {
    width: 35px;
    height: 10px;
    border-radius: 15px;
    background-color: #449a45;
}

/* Ensure the dropdowns are initially hidden */
.nav .dropdown-menu {
    display: none;
    position: absolute;
}

/* Display the dropdown on hover */
.nav-item:hover .dropdown-menu {
    display: block;
    top: 100%;
    left: 0;
}

.SelectRegionList {
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    justify-content: space-between
}

@keyframes expandAnimation {
    from {
        width: 38px;
        margin-left: auto;
    }

    to {
        width: 100%;
        margin-left: 0;
    }
}

#HeaderSearchBar.shrink {
    animation: closeAnimation 0.5s backwards;
}

@keyframes closeAnimation {
    from {
        width: 100%;
        margin-left: auto;
    }

    to {
        width: 106px;
        margin-left: 0;
    }
}


.HeaderSearchBtn:focus, .HeaderSearchBtn:active, .HeaderSearchBtn:focus-visible {
    box-shadow: none !important;
    border: none;
}

.LayoutLogoImage {
    width: 350px;
}

.mobileDropDown {
    display: none;
}

.LayoutDesktopView {
    display: flex;
}

.header-body-color {
    position: relative;
    background-color: white !important;
    border-bottom:2px solid black !important;
}

    .header-body-color::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 50%;
        height: 100%;
        background-color: white !important; /* Color of the square */
        z-index: 2;
        height: 103px;
    }

.LayoutImageAdjustment {
    margin-top: -2px;
    margin-left: -2px;
}

.SelectRegionList a.active {
    background-color: #449a45;
    color: #white;
}

@media (max-width: 992px) {
    .mobileDropDown {
        display: flex !important;
    }

    .LayoutDesktopView {
        display: none !important;
    }

    .LayoutLogoImage {
        width: 100% !important;
        min-width: 230px !important;
        max-width: 350px !important;
    }

    .LayoutMainButton {
    }

    .MobileNav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        width: 100%;
        display: none;
        flex: 1;
        padding: 8px 0px 8px 0px;
        background-color: white; /*f2f2f2*/
        z-index: 100;
        transform: translateX(150%);
        transition: transform 0.5s ease;
    }

        .MobileNav.Show {
            transform: translateX(0%);
        }

        .MobileNav.Shrink {
            transform: translateX(150%);
        }
}

@media(min-width: 991px) {
    .LayoutMainButton {
        background-color: white !important;
    }
}

@media (max-width: 991px) {
    .LayoutMainButton {
        color: black !important;
        background-color: transparent !important;
        border-radius: 4px !important;
        margin: 2px !important;
        padding: 8px !important;
        /*  transition: border-bottom 0.3s; */ /* Smooth transition for the border change */
    }

        .LayoutMainButton:hover, .LayoutMainButton:focus, .LayoutMainButton:active, .LayoutMainButton.active {
            color: black !important;
            background-color: white !important;
            border: none !important;
            margin: 2px !important;
        }

    .SelectRegionList {
        flex-flow: column nowrap;
    }

    .MobileNav {
        display: flex;
    }

    .MobilePostion {
        left: 0px !important;
        top: 100% !important;
    }
}

@media (max-width: 420px) {
    .LayoutMainButton {
        color: #449a45 !important;
        background-color: transparent !important;
        border-radius: 4px !important;
        margin: 2px !important;
        /*  transition: border-bottom 0.3s; */ /* Smooth transition for the border change */
    }

        .LayoutMainButton:hover, .LayoutMainButton:focus, .LayoutMainButton:active, .LayoutMainButton.active {
            color: white !important;
            background-color: #449a45 !important;
            border: none !important;
            margin: 2px !important;
        }

    .LayoutImageAdjustment {
        margin-left: -20px !important;
    }
}

.SelectCountryColor {
    color: white !important;
}
