/* Cookie Consent */
.js-cookie-consent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
}

.js-cookie-consent .bg-yellow-100 {
    background-color: rgb(57 172 175);
}

.js-cookie-consent .shadow-lg {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.js-cookie-consent .rounded-b-lg {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.js-cookie-consent .cookie-consent__agree {
    display: inline-block;
    background-color: rgb(6 89 160);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-align: center;
    font-weight: 600;
    transition: background-color 0.2s;
}

.js-cookie-consent .cookie-consent__agree:hover {
    background-color: #b45309;
}

/* HEADER */
.header {
    background-color: rgb(10 49 82);
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    text-align: center;
}

.header-left {
    display: flex;
    color: white;
    font-size: 14px;
    height: 50px;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    height: 50px;
}

.header-right img {
    width: 20px;
    height: 20px;
    margin-left: 10px;
}

@media only screen and (max-width: 550px) {
    .header {
        padding: 0;
    }
    .header-left {
        margin-left: 10px;
        width: 50%;
    }
    .header-right {
        margin-right: 10px;
    }
    .header-right img {

    }
}

/* HEADER ENDS */



/* SUB-HEADER */
.sub-header-register {
    /* width: 100%; */
    height: 75px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.sub-header-register-left {
    display: flex;
    width: 30%;
    height: 100%;
    margin-left: 10px;
    margin-top: 25px;
}

.sub-header-register-left img {
    top: 0;
    left: 0;
    width: 240px;
    height: 50px;
}

.sub-header-register-left-logo-whatswhat {
    width: 240px !important;
    height: 50px !important;
}

.sub-header-register-left-logo-utender {
    width: 240px !important;
    height: 50px !important;
}

.sub-header-register-right {
    display: flex;
    width: 70%;
    height: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

.sub-header-register-right div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 10px;
    float: right;
    margin-left: 10px;
    font-family: "Montserrat", sans-serif;
}

.sub-header-register-right-home a {
    color: #0a0a0a !important;
}

.register-button-style {
    background-color: rgb(6 89 160);
    width: 120px;
    height: 40px;
    border-radius: 5px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.register-button-style:hover,
.register-button-style:active {
    font-size: 18px;
    transform: scale(1.05);
    text-decoration: none;
    color: white;
}

.login-button-style {
    width: 120px;
    height: 40px;
    border: 2px solid rgb(71 129 185);
    border-radius: 5px;
    color: rgb(71 129 185);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}
.login-button-style:hover,
.login-button-style:active {
    font-size: 18px;
    transform: scale(1.05);
    text-decoration: none;
    color: rgb(71 129 185);
}


.mobile-sub-header-register-right {
    display: none;
}

@media only screen and (max-width: 1000px) {
    .sub-header-register {
        flex-direction: row;
        height: 75px;
        justify-content: normal;
        align-items: normal;
    }
    .sub-header-register-left {
        width: 80%;
        height: 40px;
        margin-left: 0px;
        margin-top: 0px;
    }
    .sub-header-register-left img {
        top: 0;
        left: 0;
        width: 150px;
        height: 60px;
        padding: 10px;
    }

    .sub-header-register-left-logo-whatswhat {
        width: 150px !important;
        height: 50px !important;
    }

    .sub-header-register-left-logo-utender {
        width: 150px !important;
        height: 50px !important;
    }

    .sub-header-register-right {
        width: 100%;
        height: 35px;
        font-size: 14px;
        display: none;
    }
    .mobile-sub-header-register-right {
        display: flex;
        width: 50%;
        height: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }
    .mobile-sub-header-register-right-toggle {
        position: relative;
        display: flex;
        align-items: center;
        cursor: pointer;
        margin-left: 10px;
    }
    .mobile-toggle-icon {
        width: 30px;
        height: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .mobile-toggle-icon span {
        display: block;
        width: 100%;
        height: 4px;
        background-color: #45cc9c;
        border-radius: 10px;
    }
    .mobile-toggle-dropdown {
        position: absolute;
        top: 100%;
        left: -350px;
        background-color: #45cc9c;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        transition: opacity 0.3s ease-in-out;
        opacity: 0;
        z-index: 20;
        width: 100%;
        background-color: #45cc9c;
        width: 380px;
        height: 400px;
        margin-top: 2px;
        border-radius: 5px;
        display: none;
        justify-content: center;
        align-items: center;
    }
    .mobile-toggle-dropdown-links {
        flex-direction: column;
        padding: 10px;
        display: none;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    .mobile-toggle-dropdown-links a {
        margin-top: 14px;
        font-family: 'Roboto', sans-serif;
        font-size: 20px;
        color: white;
    }

    .mobile-toggle-dropdown-links hr {
        content: "";
        margin-top: 5px;
        margin-bottom: 5px;
        width: 50%;
        border-bottom: 2px solid white;
        color: white;
    }

    .mobile-sub-header-register-right-toggle:focus .mobile-toggle-dropdown {
        opacity: 1;
        display: flex;
    }

    /* Business Resources */
    .mobile-toggle-dropdown-business-resources {
        position: relative;
        display: inline-block;
    }

    .mobile-toggle-dropdown-events {
        position: relative;
        display: inline-block;
    }

    .mobile-business-resources-dropdown {
        display: block;
        padding: 10px;
        color: white;
        text-decoration: none;
        font-family: 'Roboto', sans-serif;
        font-size: 20px;
        cursor: pointer;
        background-color: #45cc9c;
        border:none;
    }

    .mobile-business-resources-dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1;
        display: none;
        min-width: 200px;
        padding: 10px;
        background-color: #45cc9c;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        border-radius: 5px;
    }

    .mobile-business-resources-dropdown-item {
        display: block;
        padding: 5px;
        color: black;
        text-decoration: none;
    }

    .mobile-business-resources-dropdown.active + .mobile-business-resources-dropdown-menu {
        display: block;
    }

    .mobile-business-resources-dropdown:hover,
    .mobile-business-resources-dropdown:focus {
        background-color: #e0e0e0;
    }

    .mobile-business-resources-dropdown-item:hover,
    .mobile-business-resources-dropdown-item:focus {
        background-color: #e0e0e0;
    }
}

@media only screen and (max-width: 1290px) {
    .sub-header-register {
        flex-direction: row;
        height: 75px;
        justify-content: normal;
        align-items: normal;
    }
    .sub-header-register-left {
        width: 80%;
        height: 40px;
        margin-left: 0px;
        margin-top: 0px;
    }
    .sub-header-register-left img {
        top: 0;
        left: 0;
        width: 150px;
        height: 60px;
        padding: 15px;
    }

    .sub-header-register-left-logo-whatswhat {
        width: 150px !important;
        height: 60px !important;
    }

    .sub-header-register-left-logo-utender {
        width: 150px !important;
        height: 60px !important;
    }


    .sub-header-register-right {
        width: 100%;
        height: 35px;
        font-size: 14px;
        display: none;
    }
    .mobile-sub-header-register-right {
        display: flex;
        width: 50%;
        height: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }
    .mobile-sub-header-register-right-toggle {
        position: relative;
        display: flex;
        align-items: center;
        cursor: pointer;
        margin-left: 10px;
    }
    .mobile-toggle-icon {
        width: 30px;
        height: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .mobile-toggle-icon span {
        display: block;
        width: 100%;
        height: 4px;
        background-color: #45cc9c;
        border-radius: 10px;
    }
    .mobile-toggle-dropdown {
        position: absolute;
        top: 100%;
        left: -350px;
        background-color: #45cc9c;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        transition: opacity 0.3s ease-in-out;
        opacity: 0;
        z-index: 20;
        width: 100%;
        background-color: #45cc9c;
        width: 380px;
        height: 400px;
        margin-top: 2px;
        border-radius: 5px;
        display: none;
        justify-content: center;
        align-items: center;
    }
    .mobile-toggle-dropdown-links {
        flex-direction: column;
        padding: 10px;
        display: none;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    .mobile-toggle-dropdown-links a {
        margin-top: 14px;
        font-family: 'Roboto', sans-serif;
        font-size: 20px;
        color: white;
    }

    .mobile-toggle-dropdown-links hr {
        content: "";
        margin-top: 5px;
        margin-bottom: 5px;
        width: 50%;
        border-bottom: 2px solid white;
        color: white;
    }

    .mobile-sub-header-register-right-toggle:focus .mobile-toggle-dropdown {
        opacity: 1;
        display: flex;
    }

    /* Business Resources */
    .mobile-toggle-dropdown-business-resources {
        position: relative;
        display: inline-block;
    }

    .mobile-toggle-dropdown-events {
        position: relative;
        display: inline-block;
    }

    .mobile-business-resources-dropdown {
        display: block;
        width: 100%; /* Ensure same width as other menu items */
        text-align: left; /* Align text with other items */
    }

    .mobile-business-resources-dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1;
        display: none;
        min-width: 200px;
        padding: 10px;
        background-color: #45cc9c;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        border-radius: 5px;
    }

    .mobile-business-resources-dropdown-item {
        display: block;
        padding: 5px;
        color: black;
        text-decoration: none;
    }

    .mobile-business-resources-dropdown.active + .mobile-business-resources-dropdown-menu {
        display: block;
    }

    .mobile-business-resources-dropdown-menu,
    .mobile-business-resources-dropdown-menu {
        position: absolute; /* Ensures it's positioned relative to the button */
        left: 0;
        top: 100%; /* Moves it below the button */
        width: 100%; /* Ensures it doesn't shrink */
        background-color: #45cc9c; /* Matches the button */
        z-index: 10; /* Ensures it appears above other content */
    }

    .mobile-business-resources-dropdown-menu,
    .mobile-business-resources-dropdown-menu {
        display: none; /* Hide initially */
    }

    .mobile-toggle-dropdown-events.active .mobile-business-resources-dropdown-menu {
        display: block; /* Show when active */
    }

    .mobile-business-resources-dropdown:hover,
    .mobile-business-resources-dropdown:focus {
        background-color: #45cc9c;
    }

    .mobile-business-resources-dropdown-item:hover,
    .mobile-business-resources-dropdown-item:focus {
        background-color: #45cc9c;
    }

}

.sub-header-register-right-businessresources {
    position: relative;
    display: inline-block;
}

.sub-header-register-right-events {
    position: relative;
    display: inline-block;
}

.sub-header-register-right-events .dropdown-toggle {
    width: 100%;
    text-align: left;
}


.dropdown-toggle {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    background-color: white;
    border:none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    display: none;
    min-width: 200px;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.dropdown-item {
    display: block;
    padding: 5px;
    color: #333;
    text-decoration: none;
}

.dropdown-toggle.active + .dropdown-menu {
    display: block;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
    background-color: #e0e0e0;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #e0e0e0;
}



/* SUB-HEADER ENDS */

/* FOOTER */
.footer {
    background-color: #052B70;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; /* Align items at the start */
    justify-content: space-between;
}

.footer-section, .footer-section-left {
    position: relative; /* Establish a positioning context */
    flex: 1; /* Flex each section evenly across the footer */
    padding-top: 30px; /* Reduce top padding */
    min-height: 200px; /* Minimum height to accommodate content */
}

.footer-section-left {
    margin-right: 20px;
}

.footer-title {
    position: absolute; /* Absolutely position the title */
    top: 0; /* Align to the top of the section */
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.footer-title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 45px;
    height: 2px;
    background-color: #3378F9;
    border: 0.1px solid teal;
}

.footer-content, .footer-content-a {
    color: white;
    text-align: left;
    font-size: 12px;
    padding-top: 5px;
    margin-top: 25px; /* Reduced margin to bring content closer to the title */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 750px) {
    .footer {
        flex-direction: column; /* Stack sections vertically on smaller screens */
    }

    .footer-section, .footer-section-left {
        width: 100%; /* Use full width for smaller screens */
    }

    .footer-content, .footer-content-a {
        margin-top: 15px; /* Slightly reduce margin on smaller screens */
    }
}


@media (max-width: 550px) {
    .footer {
        height: auto; /* Auto height to accommodate all content */
        justify-content: normal;
    }

    .footer-section-left,
    .footer-section {
        height: auto; /* Adjust height based on content */
        margin-top: 15px; /* Adjust spacing */
    }
}

/* FOOTER ENDS */

/* BUTTONS */
.register-for-free,
.register-for-free-en,
.register-for-free-ie,
.register-for-free-es,
.register-for-free-de,
.register-for-free-fr,
.register-for-free-ca,
.register-for-free-us,
.register-for-free-ro {
    background-color: #3378F9;
    height: 40px;
    border-radius: 20px;
    border: 1px solid rgb(69, 204, 156);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-for-free,
.register-for-free-en,
.register-for-free-ie,
.register-for-free-es,
.register-for-free-de,
.register-for-free-fr,
.register-for-free-ca,
.register-for-free-us {
    width: 120px;
}

/* Different width for Romanian version */
.register-for-free-ro {
    width: 180px;
}
/* BUTTONS END */

/* Dropdown container */
.dropdown-flags {
    position: relative;
    display: inline-block;
}
/* Dropdown toggle button */
.dropdown-flags-toggle {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 0; /* Remove extra padding */
    border-radius: 50%; /* Make it a perfect circle */
    cursor: pointer;
    display: flex;
    align-items: center; /* Center flag vertically */
    justify-content: center; /* Center flag horizontally */
    width: 37px; /* Adjust button size */
    height: 37px; /* Adjust button size */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add shadow */
    overflow: hidden; /* Ensure no content overflows the circle */
}

/* Flag icon inside dropdown toggle */
.flag-icon {
    width: 24px; /* Adjust flag size */
    height: 24px;
    display: block; /* Ensure proper alignment */
    object-fit: cover; /* Ensure the flag fits perfectly */
    border-radius: 50%; /* Ensure circular appearance for flags */
}

/* Dropdown menu */
.dropdown-flags-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px 0;
    z-index: 1000;
    list-style: none;
    margin: 0;
    min-width: 150px;
    top: 50px; /* Adjust for smaller toggle button */
    left: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Dropdown menu items */
.dropdown-flags-menu li {
    display: block;
    padding: 10px;
    cursor: pointer;
}

/* Remove default styling from forms */
.language-form {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Button styles */
.language-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    padding: 5px;
}

/* Hover effect */
.language-btn:hover {
    background-color: #f5f5f5;
}

/* Flag icon inside dropdown */
.language-btn .flag-icon {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    margin-right: 10px;
}

/* Ensure text is aligned properly */
.language-btn span {
    font-size: 14px;
    color: #333;
}

