body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.center {
    margin: 0;
    position: absolute;
    font-size: min(24px, 2.5vw, 2.5vh);
    top: 50%;
    left: 50%;
    /* text-wrap: nowrap; */
    max-width: fit-content;
    text-align: justify;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}



.center-end-top {
    margin: 0;
    position: absolute;
    font-size: min(16px, 2vw, 2vh);
    top: 20%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.center-end-bottom {
    margin: 0;
    position: absolute;
    font-size: min(16px, 2vw, 2vh);
    top: 73%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.center-end-bottom-lower {
    margin: 0;
    position: absolute;
    font-size: min(16px, 2vw, 2vh);
    top: 78%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.center-end-bottom-href {
    margin: 0;
    position: absolute;
    font-size: min(16px, 2vw, 2vh);
    top: 88%;
    left: 50%;
    text-wrap: nowrap;
    text-align: justify;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.centerImage {
    margin: 0;
    position: absolute;
    
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border: 2px solid rgb(12, 12, 12);

}


.button_start{
    width: fit-content;
    border: none;
    background-color: #04AA6D;
    padding: 14px 28px;
    font-size: 16px;
    
    cursor: pointer;
    text-align: center;
    top: 80%;
    margin-top: 5%;
}
.button_next{
    width: fit-content;
    border: 1px outset buttonborder;
    border-radius: 5px;
    background-color: #dee8e9;
    padding: 14px 28px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}
.higher-center {
    margin: 0;
    position: absolute;
    top: 12%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: min(20px, 2vw, 2vh);
    font-weight: bold;
}
.high-center {
    margin: 0;
    position: absolute;
    top: 40%;
    left: 50%;
    font-size: min(20px, 2vw, 2vh);
    
    text-wrap: nowrap;
    text-align: justify;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.float-container {
    /* border: 3px solid #1b0404; */
    padding-top: 10px;
    height: 95%;
    margin: 0px 0px 0px 0px;
    flex-direction: column;
}

.float-container-top {
    /* border: 3px solid #f60808; */
    /* border-bottom: 0.5px solid; */
    padding-top: 0px;
    height: 7%;
    display: flex;
    flex-direction: row;
    align-items: justify;
}

.float-container-top-left {
    /* border: 3px solid #f60808; */
    margin-left: 20px;
    padding-top: 0px;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: justify;
}

.float-container-top-right {
    /* border: 3px solid #1b0404; */
    padding-top: 0px;
    margin-right: 20px;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: row-reverse;
    align-items: justify;
}

.whole-float-container {
    /* border: 3px solid #1b0404; */
    background-color: yellow;
    padding-top: 5px;
    height: 95%;
    margin: 0px 0px 0px 0px
}

.microphone {
    width: 100px;
    height: 50px;
    background-color: #333;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    
}

.volume-meter {
    width: 0;
    height: 80%;
    background-color: #4CAF50;
    border-radius: 5px;
    margin-bottom: 1px;
    margin-right: 5px;
    
}

.volume-meter-kobar {
    width: 0;
    height: 80%;
    background-color: #4CAF50;
    border-radius: 5px;
    margin-bottom: 1px;
    margin-right: 5px;
    
}

.float-child {
    font-size: 18px;
    width: 80%;
    float: left;
    padding: 20px;
    margin-left: 5%
}  
.dropdown-content {
    display: flex;
    flex-direction: row;
    position: absolute;
    margin-left: 20px;
    margin-top: 10px;
    background-color: #eaebee;
    min-width: 100px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100;
}

.custom-swal-modal {
    width: 450px; /* Adjust the width as needed */
    top: 50px;    /* Adjust the top position as needed */
}

br-instructions {
    display: block; /* makes it have a width */
    content: ""; /* clears default height */
    margin-top: 14; /* change this to whatever height you want it */
}

br-lake {
    display: block; /* makes it have a width */
    content: ""; /* clears default height */
    margin-top: 14; /* change this to whatever height you want it */
}

br-animals-lake {
    display: block; /* makes it have a width */
    content: ""; /* clears default height */
    margin-top: 10; /* change this to whatever height you want it */
}

input[type="radio"]:disabled {
    pointer-events: none;
    opacity: 1;
}
.form-container {
    display: grid;
    grid-template-columns: 1fr 3fr 3fr;
    gap: 5px;
    width: 100%;
    max-width: 800px; /* Adjust as needed */
    min-width: 750px;
    margin: 0 auto;
}

.form-group {
    display: contents;
}

/* .label-dementia {
    grid-column: 1 / 2;
    text-align: left;
    padding-right: 10px;
    white-space: nowrap;
} */

.label-dementia{
    margin-right: 5px;
    min-width: 120px;
    max-width: fit-content;
    white-space: nowrap; /* Prevent label from breaking */
}

.label-FNKV{
    margin-right: 5px;
    min-width: 120px;
    max-width: fit-content;
    white-space: nowrap; /* Prevent label from breaking */
}

/* .input-dementia,
.select-dementia {
    width: 70%;
    font-size: x-small;
    width: 85%;
    padding: 5px;
    box-sizing: border-box;
}


.input-dementia:nth-of-type(1),
.select-dementia:nth-of-type(1) {
    grid-column: 2 / 3;
}

.input-dementia:nth-of-type(2),
.select-dementia:nth-of-type(2) {
    grid-column: 3 / 4;
} */

.input-dementia {
    width: 100%; /* Fill the rest of the cell */
    padding: 5px;
    box-sizing: border-box;
    font-size: small;
    flex: 0.5; /* Allow input to grow and fill available space */
    margin-left: auto;
}

.select-dementia {
    padding: 5px;
    box-sizing: border-box;
    font-size: small;
    /* Ensure the select sizes according to its content */
    /* white-space: nowrap; */
    flex: 0.5;
    margin-left: auto;
}

.input-dementia-textarea {
    height: 60px; /* Adjust this value as needed */
    width: 100%; /* Makes the input take up the full width of the cell */
    box-sizing: border-box; /* Ensures padding and border are included in width */
    resize: none; /* Prevents the textarea from being resizable, optional */
    padding: 5px; /* Adds some padding to prevent text from touching the edge */
    vertical-align: top; /* Ensures the cursor starts at the top */
}



.float-child-dementia1 {
    width: 40%;
    float: left;
    padding: 10px;
    margin-left: 5%
}  

.float-child-dementia2 {
    width: 50%;
    float: left;
    padding: 0px;
    margin-left: 0%
}  

.large-checkbox {
    width: 15px; /* Optional: define a specific width */
    height: 15px; /* Optional: define a specific height */
    transform: scale(1.5); /* Scale the checkbox */
    transform-origin: top left; /* Ensure it scales from the top left */
    margin-top: 10px;
}

.horizontal-line {
    grid-column: 1 / -1; /* Span across all columns */
    height: 1px; /* Line height */
    background-color: #000; /* Line color */
    margin: 10px 0; /* Optional: adjust the vertical spacing around the line */
    width: 65%;
}


.table-container td:first-child {
    max-width: 140px;
    word-wrap: break-word;
}

.table-container td {
    height: 60px;
    padding: 7px;
}

.th-kdy{
    max-width: 100px;
    word-wrap: break-word;
}

.table-container table, .table-container th, .table-container td {
    border: 1px solid black;
}

.table-container {
    display: flex;
}

.table-container table {
    border-collapse: collapse;
    width: 50%; /* Each table takes 50% of the container */
    margin-right: 0; /* No margin between the tables */
}

.table-container table:last-child {
    margin-right: 0; /* Ensure no extra margin on the last table */
    border-left: 5px solid black;
}

/* .table-rbans {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.table-rbans th, .table-rbans td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}
.table-rbans th {
    background-color: #f2f2f2;
} */

/* -------------------------------------------- */
/* .table-rbans {
    width: 80%;
    border-collapse: collapse;
}

.table-rbans tr {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.table-rbans th,
.table-rbans td {
    border: 1px solid #ddd;
    padding: 10px;
}

.label-kobar {
    font-weight: bold;
}

.input-kobar,
.select-kobar {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
} */

/* -------------------------------------------------- */
.table-page {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally */
    justify-content: center; /* Center vertically if needed */
}

.table-rbans {
    width: 90%; /* Adjust as needed */
    max-width: 1200px; /* Adjust as needed */
    border-collapse: collapse;
    margin: 20px 0; /* Optional: Adds space between tables */
    font-size: small;
}

.table-rbans tr {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 5px;
}
 .table-rbans th,
.table-rbans td {
    border: 1px solid #ddd;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}



.label-kobar {
    margin-right: 5px;
    min-width: 120px;
    max-width: fit-content;
    white-space: nowrap; /* Prevent label from breaking */
}

.input-kobar {
    width: 100%; /* Fill the rest of the cell */
    padding: 5px;
    box-sizing: border-box;
    font-size: small;
    flex: 1; /* Allow input to grow and fill available space */
}

.select-kobar {
    padding: 5px;
    box-sizing: border-box;
    font-size: small;
    /* Ensure the select sizes according to its content */
    white-space: nowrap;
}

.radio-group-FNKV {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.radio-item-FNKV {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px; /* space between radio and label */
}

.radio-group {
    display: flex;
    justify-content: space-around;
}

.radio-group label {
    margin-left: 5px;
    margin-right: 7px; 
}

.rbans-detail-tables{
    font-size: small;
    width: 95%;
    min-width: 650px;
    border-collapse: collapse; /* Remove space between cells */
    page-break-inside: avoid;
}

.rbans-detail-tables th, .rbans-detail-tables td{
    border: 1px solid #000; /* Add borders to cells */
    padding: 7px; /* Add padding for better spacing */
    text-align: center; /* Center align text */
    width: 10%;
    /* width: 12.5% */
    page-break-inside: avoid;
}

.rbans-detail-tables th {
    background-color: #f2f2f2; /* Light grey background for headers */ 
}

.table-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.table-wrapper .hidden {
    display: none;
    pointer-events: none;
}

#RBANS_table td, #MAST-CZ_table td {
    justify-content: space-between;
}

#RBANS_table .input-kobar, #MAST-CZ_table .input-kobar {
    flex: 0.5;
}

#RBANS_table .label-kobar {
    width: 50%; 
    max-width: 200px; 
    min-width: 120px;
}

#MAST-CZ_table .label-kobar {
    width: 55%; 
    max-width: 300px; 
    min-width: 200px;
}

/* 
#kobar1_nemoci_tables{
    page-break-inside: avoid;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    display: block;
} */


/* Remove spinner arrows for Chrome, Safari, Edge */
#kobar_kobar2::-webkit-outer-spin-button,
#kobar_kobar2::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.category {
    font-weight: bold;
    margin-top: 10px;
}
.subcategory {
    margin-left: 20px;
    text-decoration: underline;
}
.option {
    margin-left: 20px;
}
.option_indented {
    margin-left: 40px;
}

/* Remove spinner arrows for Firefox */
/* #kobar_kobar2 {
    -moz-appearance: textfield;
} */

 /* Container for buttons */
.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.button-container button {
    font-size: 15px;
    margin: 10px;
    height: 25px;
    min-width: fit-content;
}

/* Hide dropdown by default */
#menuSelect_hrefs {
    /* display: none; */
    font-size: 15px;
    margin-top: 10px;
    margin-left: 10px;
    padding: 4px;
    min-height: fit-content;
    max-height: fit-content;
}

/* On small screens, hide buttons and show dropdown */
/* @media (max-width: 600px) {
    .button-container {
        display: none;
    }
    #menuSelect {
        display: block;
    }
} */
