body {
    margin: 0;
    font-family: 'Open Sans';
}

.main>div:not(:first-child) {
    display: none;
}

#main_screen {
    background: linear-gradient(to bottom, rgba(235, 235, 235, 1), rgba(235, 235, 235, 1));
}

.main-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-box__greetings {
    color: #000000;
    font-size: 20px;
    font-family: 'Arial', Arial, sans-serif;
    line-height: 1.55;
    font-weight: 100;
    padding-top: 10vh;
}

.main-box__greetings p {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 44px;
    text-align: center;
    margin: 10px 0 0 0 !important;
    color: #161E34;
}

.main-box__greetings_hi {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    text-align: center;
    color: rgba(22, 30, 52, 0.8);
}

@media (max-width: 859.98px) {
    [class*="main-box__greetings"] {
        font-size: 18px;
    }

    [class*="main-box__greetings_hi"] {
        font-size: 26px;
    }
}

.main-box__deadline {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 166.5%;
    text-align: center;
    color: #474747;
}

@media (max-width: 859.98px) {

    [class*="main-box__deadline"] {
        font-size: 22px;
    }
}

.reg-box__button {
    padding-bottom: 25px;
}

.reg-box__button_greet {
    margin: 20px auto 80px;
    max-width: 350px;
}


.reg-box__button button,
.reg-box__button_greet button,
.upload-bottom_button button,
.tips-bottom_button button {
    color: #ffffff;
    font-size: 16px;
    font-family: 'Open Sans';
    line-height: 1.55;
    font-weight: 600;
    border-width: 1px;
    border-radius: 5px;
    background-color: #000000;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    height: 43px;
    box-sizing: border-box;
    min-width: 100%;
    flex-grow: 1;
    flex-basis: 0;
    box-shadow: 9px 9px 10px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    cursor: pointer;
}

.reg-box__terms {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    font-size: .9rem;
    line-height: 166.5%;
    text-align: center;
    color: #5B5B5B;
    padding: 0 0 30px 0;
}

.reg-box__terms a {
    color: #323232;

}

.inputTextBox,
form input:not([type="radio"]),
form textarea {
    border: 2px solid #d9d9d9;
    border-radius: 7px;
    width: 350px;
    padding: 20px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    background-color: white;
    font: 400 16px Arial;
}

form input:not([type="radio"]),
form textarea {
    width: 470px;
    max-width: 100%;
}

form input[type="radio"] {
    margin-top: 10px;
}

input[type="email"]:required:valid,
input[type="text"]:required:valid,
input[type="tel"]:required:valid,
.validBorder {
    border-color: #48D477 !important;
}

input[type="email"]:required:invalid,
input[type="text"]:required:invalid,
input[type="tel"]:required:invalid {
    border-color: #FC4949;
}

form input[type="text"].invalidBorder:required,
form input[type="email"].invalidBorder:required,
form input[type="tel"].invalidBorder:required,
form textarea.invalidBorder:required {
    border-color: #FC4949 !important;
}

input[type="email"]:required,
input[type="text"]:required {
    border-color: #d9d9d9;
}

input.inputTextBox:disabled {
    background-color: rgb(228, 227, 227);
    border-color: rgba(118, 118, 118, 0.3);
}

input[type="text"]:focus,
input[type='email']:focus {
    outline: none;
    border-color: #6b6b6b;
}

form textarea {
    resize: none;
}

div.wrapper-centered ul {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 0 !important;
}

.greyShape {
    background-color: #ebebeb;
    border-radius: 7px;
    max-width: 1324px;
    padding-top: 50px;
    padding-bottom: 50px;
    margin: 50px auto;
}

.wrapper-centered {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;
}

form {
    /* Center the form on the page */
    margin: 0 auto;
    /* Form outline */
    padding: 2vh 5%;
    border-radius: 30px;
    box-shadow: 0px 0px 10px rgba(105, 105, 105, 0.2);
    background-color: white;
    max-width: 90%;
}

form h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    font-family: 'Noto Sans';
    margin-top: 20px;
}

form p {
    margin-bottom: 5px;
}

div.wrapper-centered ul {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 0 !important;
}

form li+li {
    margin-top: 1em;
}

form li.buttonSubmit {
    text-align: center;
}

.buttonSubmitForm {
    /* Align buttons with the text fields */
    margin: 1em auto;
    /* same size as the label elements */
    background-color: black;
    /* Green */
    border: none;
    border-radius: 5px;
    color: white;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-size: 12px;
    width: 160px;
    height: 44px;
    font-family: Arial;
    font-weight: 600;
    box-shadow: 0px 0px 10px 0px rgba(99, 99, 99, 0.5);
}

.buttonSubmitForm:focus {
    outline: 0;
}

.buttonSubmitForm:hover {
    background-color: white;
    color: black;
}

.formFieldTitle {
    font-family: 'Noto Sans';
    font-weight: bolder;
}

.formError {
    color: red;
    font: 12px;
    max-width: 470px;
}


.info {
    color: black;
    font-family: 'Noto Sans';
    font-size: 16px;
    opacity: 0.8;
    cursor: help;
}

.info span {
    position: absolute;
    z-index: 1;
    top: calc(2vh + 60px);
    left: calc(50% - 125px);
    background-color: transparent;
    border-radius: 6px;
    visibility: hidden;
    font-size: 12px;
    padding: 2px 5px;
    box-shadow: 0px 0px 10px 0px rgba(99, 99, 99, 0.5);
    width: 250px;
}

@media only screen and (min-width: 768px) {
    .info:hover span {
        visibility: visible;
    }
}

.access_desc {
    display:none;
    color: grey;
    font-size: small;
}

@media only screen and (max-width: 768px) {

    input:checked ~ .access_desc {
        display:block;
    }

    .info {
        display:none; 
    }
}

.main_container {
    /* border-radius: 60px 60px 0px 0px; */
    background-color: #ebebeb;
    padding: 5vh 2vw 5vh 2vw;
    /* margin: 0px 20px 20px 20px; */
}

.tips-box,
.checknsend-box,
.checknsend-box_bottom,
.checknsend_loading-box,
.checknsend_success-box {
    background: #FFFFFF;
    border-radius: 60px;
    padding: 5vh 2% 5vh 2%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    margin-bottom: 80px;
}

.tips-box {
    margin-top: 20px;
    margin-bottom: 30px;
    padding: 5vh 10px 5vh 10px;
}

.tips-top,
.checknsend-top,
.checknsend_loading-top {
    padding: 22px 0 20px 0;
}

.tips-top__title,
.checknsend-top__title,
.checknsend_loading__title {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 44px;
    padding-bottom: 10px;
    color: #161E34;
}

.tips-top__subtitle,
.checknsend-top__subtitle,
.checknsend_loading__subtitle {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    line-height: 27px;
    padding-bottom: 2vh;
    color: #747474;
}

.tips-bottom_button {
    text-align: center;
    max-width: 400px;
    margin: 20px auto;
}

.tips-box_items {
    display: flex;

    gap: 20px;
    margin: 0 auto;
}


.tips-box_item {
    max-width: 290px;
    flex-direction: column;
    justify-content: flex-start;
    display: flex;
    align-items: center;
}

.tips-box_item_top img {
    max-width: 250px;
    max-height: 250px;
    padding-bottom: 33px;
    width: 100%;
}

.tips-box_item_text {
    max-width: 300px;
}

.tips-box_item_title {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
    line-height: 27px;
    text-align: center;
    padding-bottom: 20px;
    color: #000000;

}

.tips-box_item_subtitle {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: .9rem;
    text-align: center;
    color: #575757;
    max-width: 250px;

}



.checknsend_loading-box {
    border-radius: 60px !important;
}

.checknsend-box,
.checknsend-box_bottom,
.checknsend_loading-box {
    justify-content: center;
    background: #FFFFFF;
    border-radius: 20px;
}

.checknsend_loading-box,
.checknsend_success-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.checknsend-box_bottom,
.checknsend_loading_bottom {
    display: inline-block;
}

.checknsend_success-box img {
    max-width: 100%;
    width:423px;
}


.checknsend__title {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 27px;
    align-self: start;
    color: #000000;
    padding-bottom: 9px;
}

.checknsend__subtitle {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: .9rem;
    line-height: 22px;
    padding-bottom: 28px;
    color: #747474;
}

.checknsend-box_bottom {
    display: flex;
    flex-direction: column;
}

.checknsend-box_bottom_title {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 1rem;
    line-height: 22px;
    color: #000000;
    padding-bottom: 15px;
}

.checknsend_success-box_bottom_title {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 26px;
    line-height: 35px;
    text-align: center;
    padding: 25px 0;
    color: #000000;

}

.checknsend-box_bottom_choise {
    display: flex;
    flex-direction: column;
}

.checknsend-box_bottom_choise label {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: .9rem;
    line-height: 22px;
    color: #000000;
    padding-left: 10px;

}

.checknsend-box_bottom_choise div {
    padding: 5px 0 7px 0px;

}

.checknsend-box_bottom_choise input {
    width: 18px;
    height: 18px;
    align-items: center;
    vertical-align: top;

}

.checknsend_loading-box progress {
    width: 60%;
}

.checknsend_loading-box_counter-area {
    padding: 30px 0 0 20px;
    text-align: start;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #828282;

}

footer {
    padding: 10px;
    text-align: center;
}

input[type="file"] {
    display: none;
}

.custom-file-upload {
    border: 1px solid #ccc;
    display: block;
    padding: 10px 20px;
    cursor: pointer;
    margin: 0px auto 20px auto;
    background-color: #2CD848;
    color: white;
    border-radius: 5px;
    text-align: center;
}

video {
    max-height: 400px;
    width: 100%;
}

.infoVideo {
    line-height: 20px;
    margin: 20px auto;
    border-radius: 5px;
    display: none;
    text-align: center;
    padding: 5px;
}

.infoVideo .success {
    color: #00a700;
}

.wrongFormatError {
    color: tomato;
}

#videoName,
.fileName {
    padding: 10px 0;
    font-weight: 600;
    font-family: Arial;
}

.section-wrapper {
    background: #FFFFFF;
    border-radius: 35px;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 40px 5%;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    width: 90%;
    text-align: center;
}

.video-upload,
.pdf-upload {
    width: 100%;
}

.videoContainer {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 40px 5%;
    margin: 20px auto 40px auto;
    background: rgba(223, 223, 223, 0.7);
    border-radius: 35px;
    max-width: 700px;
    width: 90%;
}

.videoContainer>p {
    margin: 10px;
}

.uploadWrapper {
    margin: 10px;
}

.buttonNext {
    color: white;
    background-color: black;
    padding: 10px 0;
    border-radius: 5px;
    margin: 20px;
    cursor: pointer;
    box-shadow: 0px 0px 10px 0px rgb(99 99 99 / 50%);
    width: 150px;
    text-align: center;
}

.buttonNext:hover {
    color: black;
    background-color: white;
}

.disabled {
    background: #999;
    color: #555;
    pointer-events: none;
    cursor: auto;
}

.loader {
    display: flex;
    border-radius: 35px;
    max-width: 640px;
    width: 95%;
    height: 360px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    margin: auto;
}

.loader img {
    margin: auto;
}

.fileName {
    word-break: break-word;
}

#pdf-main-container {
    margin: 10px auto;
    width: 100%;
}

#pdf-buttons {
    float: left;
}

#page-count-container {
    text-align: center;
    padding: 5px;
    margin: 10px auto;
    font-size: 18px;
    width: 150px;
    background-color: #f7f7f7;
    border-radius: 20px;
}

#pdf-current-page {
    display: inline;
    margin: 0px 5px 0px 15px;
}

#pdf-total-pages {
    display: inline;
    margin: 0px 15px 0px 5px;
}

.arrow-left,
.arrow-right {
    cursor: pointer;
    padding: 0 5px;
}

#pdf-canvas {
    display: none;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    width: 100%;
}

#page-loader {
    height: 100px;
    line-height: 100px;
    text-align: center;
    display: none;
    color: #ffffff;
    font-size: 16px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px 30px;
    border: 1px solid #888;
    max-width: 500px;
    border-radius: 10px;
    text-align: center;
}

.modal-content img {
    max-height: 130px;
}

.errorMsg {
    text-align: center;
    font-size: 1rem;
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal .content-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.modal h2 {
    margin: 20px auto;
}

.content-wrapper div {
    margin: 10px;
    display: flex;
    align-items: center;
    column-gap: 10px;
    word-break: keep-all;
}

.content-wrapper div.action {
    margin-top: 20px;
}

.content-wrapper p {
    margin-bottom: 20px;
}

.modal-content button {
    width: 200px;
}

.upload-display {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    margin: 0 auto;
    max-width: 100vw;
    padding: 0 5px;
}

progress[value] {
    width: 38em;
    max-width: 80%;
    height: 5em;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

#upload-information .uploadSpeed {
    font-size: 12px;
}

#upload-information {
    text-align: center;
    font-size: 16px;
}

.upload-display ul li {
    margin-top: 5px;
}


@media only screen and (min-width: 480px) {
    label[for="file-record"] {
        display: none;
    }
}

@media only screen and (max-width: 480px) {
    .videoContainer {
        padding: 40px 0;
        width: 95%;
    }

    .section-wrapper {
        padding: 40px 0;
        width: 99%;
    }
}