* {
    margin: 0;
    padding: 0;

    
}

body {    
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 5% 90% 5%;
    grid-template-rows: 10% 90%;
    font-family: 'Arial';
    margin: auto;
    font-size: 12px;
    overflow-y: auto;
    scrollbar-width: none;
}

body::-webkit-scrollbar{
    display: none;
}



form label, li{
    font-family: 'Arial';
}

label {
    font-size: 12px;
}

ul {
    list-style-type: none;
}

.question__label {
    text-align: justify;
    width: 100%;
    height: 100%;
    grid-row: 1;
    grid-column: 1/13;
    align-content: end;
}

.header {
    grid-column: 2/3;
    /*grid-row: 1/2;*/
    width: 100%;
    height: 100%; 
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* display: flex;
    align-items: center; */
}

.niqLogo{
    grid-column: 1/3;
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: start;
}

#shortNIQ {
    width: 120px;
    height: auto;
    display: block;
}

.headerContext {
    grid-column: 4/7;
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: end;

}

.contextTittle{
    text-align: right;
    width: 100%;
    font-size: 13px;
}

.form{
    grid-column: 2/3;
    grid-row: 2/3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /*overflow-y: auto;
    scrollbar-width: none;*/
}

.form::-webkit-scrollbar{
    display: none;
}


.surveyIntro{
    width: 100%;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.surveyIntro__text{
    width: 100%;
    height: 100%;
    background-color: #060A45;
    color: white;
    font-weight:600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;

}

.surveyIntro__text_line {
    width: 95%;
    text-align:justify;
}

.sectionBreaker {
    width: 100%;
    height: 120px;
    background-color: #060A45;
    color: white;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.sectionBreaker p {
    text-align: center;
    width: 80%;
}

.form__survey {
    width: 100%;
    height: 100%;
}

.textInput__container{
    width: 100%;
    grid-row: 2/4;
    grid-column: 1/13;
}

input[type="text"] {
    width: 100%; /* Occupy 100% of the container's width */
    height: 100%;
    min-height: 50px; /* Ensure a minimum height of 15px */
    box-sizing: border-box; /* Include padding and border in width/height */
    border-radius: 7px;
}

input[type="email"] {
    width: 100%; /* Occupy 100% of the container's width */
    height: 35px; /* Ensure a minimum height of 15px */
    box-sizing: border-box; /* Include padding and border in width/height */
    border-radius: 5px;
}


.questionContainer{
    /* box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; */
    /* border-radius: 10px;*/
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(3, 1fr);
}

.scaleDescriptions{
    margin-top: 1px;
    width: 99%;
    height: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
    color:darkgray;
    /*margin-right: 3%;*/
    grid-row: 2/3;
    grid-column: 1/12;
}

#firstMandatoryQuestions {
    grid-column: 1/13;
}

.leftDescription{
    width: 100%;
    height: 100%;
    display: grid;
    align-items: center;
    justify-content: left;
}

.rightDescription {
    width: 100%;
    height: 100%;
    display: grid;
    align-items: center;
    justify-content: right;
}

.scaleContainer{
    grid-row: 3/4;
    grid-column: 1/13;
    display: grid;
    /*grid-template-columns: repeat(12, 1fr);*/

    grid-auto-flow: column;
    

}

#contactYesNo{
    grid-template-columns: repeat(12, 1fr);
}

#firstScaleContainer {
    grid-template-columns: repeat(11, 1fr);
}

input[type="radio"]{
    /*display: none;*/

    opacity: 0;
    position: absolute; /* Optional to remove it from the visual flow */
    z-index: -10;
}


.scaleButtons{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.scaleLabel {
    display: inline-block;
    padding: 10% 20%;
    border: 1px solid #343434;
    background-color: #e2e2e2;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 8px;
    transition: all 0.3s ease;
}

#na__parent {

    font-size: 8px;
    
}

#na {
    background-color: white;
    /*font-size: 8px;*/

    
}


/* Change the background color and border for the selected radio button */
input[type="radio"]:checked + #na {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}


/* Change the background color and border for the selected radio button */
input[type="radio"]:checked + .scaleLabel {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

select {
    width: 100%; /* Make the dropdown occupy 100% of the container's width */
    padding: 10px; /* Add padding inside the dropdown */
    font-size: 16px; /* Increase font size for better readability */
    border: 1px solid #ccc; /* Add a border */
    border-radius: 4px; /* Round the corners */
    box-sizing: border-box; /* Include padding in width calculation */
    cursor: pointer; /* Change the cursor to pointer */
    margin-bottom: 20px;
}

option {
    font-size: 16px; /* Increase font size for options */
    padding: 8px; /* Add spacing inside each option */
}

.submitButton{
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

input[type="submit"] {

    width: 75%;
    height: 100%;
    border-radius: 5px;
    border: none;
    background-color: #2D6DF6;
    color: white;
    font-weight: bold;
}

input[type="submit"]:hover {
    background-color: #060A45;

}

#contactYesNo{
    grid-row: 2/3;
    margin-top: 10px;
}

.emailfield {
    grid-row: 2/3;
    grid-column: 3/13;
}

#conditionalFields{

    grid-template-rows: 30% 70%;

}

#firstContactMandatory {
    grid-template-rows: repeat(2, 1fr);
}

#emailInputContainer{
    grid-row: 2/3;
    max-height: 20px;
}

#emailQuestionLabel{
    font-size: 13px;
}

.dropdowns {
    margin-top: 20px;
}

@media (min-width: 845px) {

    body{
        width: 100%;
        max-width: 900px;
        height: 100vh;
        display: grid;
        height: 100vh;
        grid-template-columns: 5% 90% 5%;
        grid-template-rows: 10% 90%;


    }

    .contextTittle{
        font-size: 15PX;
    }

    .surveyIntro{
        font-size: 15px;
    }

    label {
        font-size: 15px;
    }

    .scaleLabel {
        display: inline-block;
        padding: 15% 30%;
    }

    .scaleDescriptions {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .scaleLabel {
        font-size: 11px;
    }
    
    #emailQuestionLabel label{
        font-size: 13px;
    }

    .textInput__container p {
        font-size: 15px;
    }

    #shortNIQ {
        width: 110px;
        height: auto;
        display: block;
    }
}

