﻿@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

html {
    background-color: #FFFFFF;
    Font-size: 62.5%
}

body {
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-size: 1.40rem;
    line-height: 1;
    color: #333333;
    font-weight: 400;
}

.greenbackground {
    background-color: lightgreen;
}

.yellowbackground {
    background-color: yellow;
}

.salmonbackground {
    background-color: lightsalmon;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap; /* prevent line breaks */
    border: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 100px 450px; /* first col fixed, second col fixed */
    gap: 10px 8px;
    align-items: center;
    max-width: 550px; /* total width of both columns + gap */
}

    /* Right-align labels in first column */
    .form-grid label {
        text-align: right;
        /*font-weight: bold;*/
        padding-right: 8px;
    }

    /* Limit textbox width to the column size */
    .form-grid input[type="text"] {
        width: 100%; /* fill the 400px column */
        max-width: 400px; /* prevent wider than the column */
        padding: 4px 6px;
        box-sizing: border-box;
    }

    /* Fieldset spanning both columns, but limited width */
    .form-grid fieldset {
        grid-column: 1 / span 2;
        max-width: 550px; /* match container width */
        border: 1px solid #ccc;
        padding: 10px;
        border-radius: 4px;
    }

    /* Make checkboxes span both columns but align with the form width */
    .form-grid .full-span {
        grid-column: 1 / span 2;
        max-width: 550px;
    }

a:link, a:visited {
    text-decoration: underline;
    color: #063796;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
    color: #000000;
    font-weight: 500;
}

p, dl, hr, h1, h2, ol, ul, pre, table, address, fieldset {
}

h1 {
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-size: 3.20rem;
    line-height: 2.90rem;
    color: #333333;
    font-weight: 700;
}

h2 {
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-size: 2.60rem;
    /*line-height: 2.90rem;*/
    color: #333333;
    font-weight: 500;
}

img {
    border: none;
}

.radiobuttonclass input {
    accent-color: #FEc022;
}

.panel_with_padding {
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    border-style: Solid;
    Border-Color: White;
    Border-Width: 8px;
    margin-top: 0pt;
    margin-bottom: 0pt;
}

.responsive_width {
    width: 400px;
    max-width: 100%;
}

.responsive_width_table {
    width: 60%;
    max-width: 100%;
    table-layout: fixed;
}

    .responsive_width_table td {
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

.custom-dropdown-wrapper {
    position: relative;
    display: inline-block;
    width: 200px;
}

.custom-dropdown {
    padding: 3px;
    border: 1px solid #000;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
}

    .custom-dropdown img {
        width: 20px;
        height: 20px;
    }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    z-index: 1000;
}

    .dropdown-menu.active {
        display: block;
    }

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 3px;
    cursor: pointer;
}

    .dropdown-item:hover {
        background-color: #f0f0f0;
    }

    .dropdown-item.selected {
        background-color: #007bff;
        color: white;
    }

.flag-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

#LanguagePanel {
    display: flex;
    align-items: center;
    gap: 5px;
}

#ApplyLanguageButton {
    height: 30px;
}

.custom-dropdown::after {
    content: "";
    width: 5px;
    height: 5px;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%) rotate(-45deg);
    pointer-events: none;
}
