/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Akzidenz Grotesk';
    src:url('../fonts/Akzidenz-Grotesk-BQ-Light_2831.ttf') format('truetype');
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Header and Branding */
header {
    background-color: #FFFFFF;
    color: #43B34B;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.branding {
    display: flex;
    align-items: center;
}

.branding img {
    width: 100px;
    margin-right: 15px;
}

.branding h1 {
    font-size: 24px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
}

.main-navigation li {
    margin-left: 20px;
}

.main-navigation a {
    color: #43B34B;
    text-decoration: none;
    font-weight: bold;
}

.main-navigation a:hover {
    text-decoration: underline;
}

/* Container for Sidebar and Main Content */
.container {
    display: flex;
    min-height: calc(100vh - 160px); /* Adjust based on header and footer height */
    max-width: 1200px; /* Set your desired max width */
    margin: 0 auto; /* Centers the container */
    padding: 20px; /* Adds padding inside the container */
    gap: 20px; /* Adds space between sidebar and main content */
}

/* Sidebar Styling */
.sidebar {
    flex: 0 0 25%; /* 20% width */
    background-color: #e6e6e6;
    padding: 20px;
    overflow-y: auto;
}

.sidebar section {
    margin-bottom: 30px;
}

.sidebar h2 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #004080;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 10px;
}

.sidebar a {
    color: #004080;
    text-decoration: none;
    font-size: 16px;
}

.sidebar a:hover {
    text-decoration: underline;
}

/* Main Content Styling */
.main-content {
    flex: 1; /* Takes up remaining space (80%) */
    padding: 20px;
    background-color: #fff;
    overflow-y: auto;
}

.main-content h2 {
    margin-bottom: 15px;
    color: #003057;
}

.main-content p {
    font-size: 16px;
}

/* Footer Styling */
footer {
    background-color: #001424;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    position: relative;
    width: 100%;
    font-size: 0.8rem;
}

.title {
    font-size: 1.3rem;
    text-align: center;

}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        max-width: 100%; /* Allows the container to use full width on smaller screens */
        padding: 10px; /* Adjust padding if necessary */
    }

    .sidebar, .main-content {
        width: 100%;
    }

    .main-navigation ul {
        flex-direction: column;
    }

    .main-navigation li {
        margin-left: 0;
        margin-top: 10px;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .branding {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .branding img {
        width: 80px;
    }

    .branding h1 {
        font-size: 20px;
    }

    .sidebar h2, .main-navigation a {
        font-size: 14px;
    }

    .main-content p {
        font-size: 14px;
    }
}

.accordion-header {
    font-size: 1.125rem;
    line-height: 1.5;
    font-family: "Akzidenz-Grotesk BQ", akzidenz-grotesk, HelveticaNeue, Helvetica, Arial, sans-serif;
    font-weight: 500;
    color: rgb(255, 255, 255) !important;
    padding: 12px 24px 12px 36px;
    background: rgb(20, 72, 127);
    transition: background 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
}

.accordion-header::before {
    position: absolute;
    content: "+ ";
    left: 12px;
    color: white;
}

.acc-opened::before {
    content: "- ";
}

.accordion-content {
    padding: 0 16px;
    display: none;
    transition: max-height 0.3s ease;
    padding-left: 2rem;
}

.accordion-header a {
    color: white !important;
    text-decoration: none;
}


.language-toggle {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 5px;
}

.icon-globe::before {
    content: "";
    display: inline-block;
    background-image: url(../images/globe.png);
    background-repeat: no-repeat;
    height:1.8em;
    width: 2.8em;
    background-size: contain;
    vertical-align: middle;
    margin-right: 2px;
}

#language-select {
    background-color: white;
    border: 1px solid rgb(20, 72, 127);
    border-radius: 5px;
    padding: 8px 12px; 
    font-size: 1rem;
    color: rgb(20, 72, 127);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.heading-height{
    padding-top: 2rem;
}

.hero-center {
    display: flex;
    max-width: 1200px; 
    margin: 0 auto;
    padding: 20px; 
    gap: 20px;
}

.vote-here-section .accordion-header::before {
    content: "";
}

.acc-opened::before {
    content: "- ";
}

.yellow-text{
    background-color: yellow;
}

  
@counter-style paren-lower-alpha {
    system: extends lower-alpha;
    suffix: ") ";
}
  
[type="a"] {
    list-style: paren-lower-alpha;
    padding-left: 2rem;
}

table.privacyPolicyTable {
    text-align: left;
    border-collapse: collapse;
    margin-inline-start: 3rem;
  }
  table.privacyPolicyTable td, table.privacyPolicyTable th {
    padding: 3px 2px;
  }
