.modal-opened {
    overflow: hidden !important;
}

div.b-container{
    margin: 0 auto;
    padding:10px;
    font-size:30px;
    color: #fff;
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
}
div.b-popup{
    /*max-height: 90vh;*/
    /*min-height: 20vh;*/
    /*max-width: 75vw;*/
    /*min-width: 40vw;*/

    /*width: 1145px;*/
    /*height: 962px;*/

    width: 65vw;
    height: 90vh;

    overflow: auto;
    overflow-x: hidden;
    border-radius: 42px;
    margin: 45px auto 0 auto;
    display: flex;
}

div.main-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    /*flex-grow: 1;*/
    margin: 20px auto;
}

section.main-content {
    z-index: 1;
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    height: 100%;
}

form.form-container {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}


div.b-popup-content{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin: 0 auto 0 auto;
    padding: 40px 80px 25px 80px;
    background-color: #FFF;
    font: 36px 'Gilroy', sans-serif;
    position: relative;
    overflow: auto;
    overflow-x: hidden;
}

div.b-popup-content::-webkit-scrollbar, div.b-popup::-webkit-scrollbar {
    display: none;
}

div.logo-container {
    /*position: absolute;*/
    width: 600px;
    height: 600px;
    /*right: 0;*/
    /*bottom: 0;*/
    overflow: hidden;
}

/*div.logo-container::before*/
div.b-popup-content {
    /*content: '';*/
    /*display: block;*/
    /*position: absolute;*/

    /*bottom: -10%;*/
    /*right: -15%;*/

    /*width: 600px;*/
    /*height: 600px;*/

    /*opacity: 0.05;*/
    background-image: url("background-logo.png");
    background-repeat: no-repeat;
    /*background-size: 650px 700px;*/
    background-size: 728px 928px;
    /*background-attachment: fixed;*/
    background-position: bottom -250px right -240px;
    /*filter: grayscale(1);*/
    z-index: 1;
    height: 100%;
}

input.input-area::placeholder {
    opacity: 0.2;
}


label.label-container {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    width: 100%;
}


span.label-info {
    margin-bottom: 5px;
}

div.main-label {
    text-align: center;
    color: #065cab;
    font-size: 100%;
    font-weight: 700;
}

nav.nav-container {
    display: flex;
    flex-direction: column;
    z-index: 3;
}

div.nav-panel {
    margin: 50px 0 55px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

div.circle-carousel {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

div.circle {
    /*background: #d1d1d1;*/
    border-radius: 50%;
    width: 24px;
    height: 24px;
    position: relative;
    margin: 0 10px 0 10px;
}

div.middle-label {
    margin: 5px 0 10px 0;
    font-size: 100%;
    font-weight: 600;
    color: #065cab;
}

div.middle-label {
    margin: 5px 0 10px 0;
    font-size: 100%;
    font-weight: 600;
    color: #065cab;
}

#result-value {
    margin-bottom: 5px;
}

p.content {
    font-size: 65%;
    font-weight: 400;
    color: #000000;
    margin: 15px 0 15px 0;
}

span.star, span.label-text {
    font-size: 70%;
    font-weight: 600;
}

span.star {
    color: #ab0606;
}

span.label-text {
    color: #065cab;
}

span.confirm-text {
    font-weight: 400;
    font-size: 50%;
    color: #ff0000
    /*#c4c4c4;*/
}
input.input-area {
    background: #fafafa;
    border: 1px solid #f4f4f4;
    border-radius: 20px !important;
    box-shadow: inset 0 0 2px #eeeeee;
    outline: none;
    height: 40px;
    font: 100% 'Gilroy', sans-serif;
    padding: 5px 0 5px 15px;
}

label.checkbox-container:hover {
    cursor:pointer;
}

input[type="checkbox"].politic-checkbox:hover {
    background: #f4f4f4;
}

input[type="checkbox"].politic-checkbox {
    /*#fafafa*/
    background: #f16a6a;
    width: 1em;
    height: 1em;
    border-radius: 15%;
    /*vertical-align: middle;*/
    /*border: 1px solid #f4f4f4;*/
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    box-shadow: inset 0 0 2px #eeeeee;
    margin: 0 20px 0 0;
    flex-shrink: 0;
    display: grid;
    align-content: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.3);

    transition: all 0.2s;
}

input[type="checkbox"].politic-checkbox__checked {
    background: #f4f4f4;
}

input[type="checkbox"].politic-checkbox::before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em #065BAA;
    /* Windows High Contrast Mode */
    background-color: CanvasText;
}

input[type="checkbox"].politic-checkbox:checked::before {
    transform: scale(1);
}

label.checkbox-container {
    display: flex;
    flex-direction: row;
    margin: 10px 0 10px 0;
    justify-content: space-between;
    align-items: center;
}

button.register-button {
    color: white;
    background: #f1be29 ;
    border-radius: 40px !important;
    border: 0;
    /*width: 50%;*/
    margin: auto 0 auto 0;
    /*min-height: 60px;*/
    font: 75% 'Gilroy', sans-serif;
    font-weight: 700;
    padding: 15px 25px 15px 25px;
}

button.nav-button {
    color: white;
    border-radius: 40px;
    border: 0;
    /*min-height: 60px;*/
    /*min-width: 180px;*/
    padding: 15px 55px 15px 55px;
    font: 75% 'Gilroy', sans-serif;
    font-weight: 700;
    opacity: 1;
}

button.register-button, button.nav-button {
    transition: filter 0.3s linear;
}

button.nav-button.error {
    background: red;
}

button.nav-button:focus {
    border-radius: 40px;
}

button.register-button:hover, button.nav-button:hover {
    cursor: pointer;
    border-radius: 40px;
    filter: brightness(95%);
}

.grey {
    background: #d1d1d1;
}

.yellow {
    background: #f1be29;
}

.invisible {
    visibility: hidden;
}

.dark-blue {
    background: #065cab;
}

.blue {
    background: #7ac6df;
}

ul.ul-element {
    margin: 10px 0 10px 0;
}

li.li-element {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    margin: 5px 0 5px 0;
    align-items: center;
    padding: 2px 0 2px 0;
}


input[type="radio"].popup-radio {
    margin: auto 10px auto 0;
    -webkit-appearance: none;
    appearance: none;
    border: #065CAB 1px solid;
    color: white;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    place-content: center;
    display: grid;
    box-shadow: inset 2px 2px 2px 2px #eeeeee;
    align-content: center;
    justify-content: center;
}

input[type="radio"].popup-radio::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em #065BAA;
    /* Windows High Contrast Mode */
    background-color: CanvasText;
}

input[type="radio"].popup-radio:checked::before {
    transform: scale(1);
}

input[type="radio"].popup-radio:hover {
    cursor: pointer;
}

section.question-content, section.result-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 1;
    flex-grow: 1;
    margin: 30px 0 30px 0;
}

label.popup-question {
    margin: auto 0 auto 0;
    color: black;
    font-size: 65%;
    display: flex;
    flex-direction: row;
}

label.popup-question:hover {
    cursor: pointer;
}

a.politic-link {
    /*#c4c4c4*/
    color: #ff0000;
    text-decoration: underline;
}

div.close-button-container {
    display: grid;
    justify-content: end;
    align-items: center;
    height: 20px;
    /*position: absolute;*/
    right: 35px;
    top: 35px;
    transition: filter 0.3s linear;
    z-index: 1000;
    width: 100%;
}

div.close-button-container:hover {
    cursor: pointer;
    filter: brightness(55%);
}

br.line-break-1 {
    display: none;
}

br.line-break-2 {
    display: none;
}

div.show-results-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
}

div.results-container {
    margin-top: 50px;
}

@media screen and (max-width: 1500px) {
    p.content {
        margin: 5px 0 5px 0;
    }
}

@media screen and (max-width: 500px) {
    br.line-break-1 {
        display: none;
    }
    br.line-break-2 {
        display: block;
    }
}

@media screen and (max-width: 950px) and (min-width: 500px) {
    br.line-break-1 {
        display: none;
    }
}

@media screen and (max-width: 1250px) and (min-width: 950px) {
    br.line-break-1 {
        display: block;
    }
}


/*height*/

@media screen and (min-height: 1100px) {
    div.b-popup {
        height: 85vh;
    }
}

@media screen and (min-height: 1300px) {
    div.b-popup {
        height: 970px;
    }
}

@media screen and (min-height: 1400px) {
    div.b-popup {
        height: 920px;
    }
}

@media screen and (min-height: 1800px) {
    div.b-popup {
        height: 1000px;
    }
}


/*mobile*/
@media screen and (max-width: 980px) {
    div.b-popup-content {
        font: 18px 'Gilroy', sans-serif;
        padding: 25px 30px 25px 30px;
    }
    div.b-popup {
        width: 90vw;
        height: auto;
        max-height: 90vh;

        margin: 50px auto 0 auto;
    }

    div.b-popup-content {
        background-size: 384px 491px;
        background-position: bottom -130px right -130px;
    }
    button.register-button {
        width: 100%;
    }
    button.nav-button {
        padding: 12px 23px 12px 23px;
    }
    p.content {
        margin: 8px 0 8px 0;
    }
    label.label-container {
        margin-top: 5px;
    }
    div.circle {
        width: 12px;
        height: 12px;
        position: relative;
        margin: 0 5px 0 5px;
    }
    div.nav-panel {
        margin: 50px 0 25px 0;
    }
    section.question-content, section.result-content {
        margin-top: 30px;
    }
}