:root {
    --dark_green: #004A23;
    /*--light_green: #8bd400;*/
    --light_green: #39ab48;
    --light_green_hover: #6fa500;
    --dark_gray: #6F6F6F;
    --dark_gray-alpha50: rgba(111, 111, 111, 0.5);
    --sub_title: #A9B7B0;

    --disabled: #E5E5E5;
    --text_diabled: #B6B6B6;

    --bigger_size: 150px;

    /*--extra_big_size: 50px;
    --big_size: 45px;
    --medium_size: 40px;
    --small_size: 35px*/
    --biggest_icon: 80px;
    --big_icon: 60px;
    --extra_extra_big_size: 50px;
    --extra_big_size: 45px;
    --big_size: 40px;
    --medium_size: 35px;
    --small_size: 30px;
    --desktop-max-page-width: 1180px;


}

html, body {
    font-family: 'Lato', sans-serif;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.img_fly{
    width: 40px;
}

/*p {
    margin-block-start: 0;
    margin-block-end: 0;
}*/

body {
    display: flex;
    flex-flow: column;
}

button {
    cursor: pointer;
}



.safari_apple{
    width: 60%;
    margin: 5% 0;
}

.registered {
    width: 100%;
    text-align: center;
    border: 1px solid;
    border-radius: 10px;
    background: var(--dark_gray);
    padding: 40px 0;
    font-size: var(--small_size);
    color: white;
    margin-top: 5%;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
}

.mb-20{
    margin-bottom: 60px;
}

#fake_checkmark{
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 5px;
    border: 3px solid green;
}

.mt-30px{
    margin-top: 30px;
}

#aviso_page {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background: var(--dark_gray-alpha50);
    padding: 0 10%;
}

#aviso_container {
    background: white;
    width: 100%;
    height: 100%;
}

.logo_header {
    height: 60px;
}

.page_header {
    color: var(--dark_green);
    font-size: var(--extra_big_size);
    font-weight: 700;
}

.text_fly{
    font-size: 2em;
    margin-right: 10px;
}

.container_header {
    background: white;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    width: 100%;
}

.current_page {
    background: var(--dark_green);
    display: flex;
    flex-flow: row;
    justify-content: space-evenly;

}

.container_icon {
    width: 60px;
    height: 60px;
    padding: 30px;
}

.container_icon span {
    display: none;
}

.container_icon.selected {
    border-bottom: var(--light_green) solid 2px;
}

.container_icon img {
    opacity: 0.8;
}

.container_icon.selected img {
    opacity: 1;
}

.card-container{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.card-option{
    background: white;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    margin: 24px auto;
    padding: 5% 10%;
}

.card-option p{
    flex: 1;
    text-align: center;
}

.card-option img{
    flex: 0;
    width: 50%;
}

.content {
    height: 100%;
    display: flex;
    flex-flow: column;
    padding: 0 5%;
    align-items: center;
    width: 100vw;
}

.content.h_no_set {
    height: 50%;
}

.content_data {
    margin-top: 10%;
}

.content.content_center {
    justify-content: center;
}

.qr_content {
    margin-top: 3rem;
    height: 300px;
    width: 100%;
}

#qr_code {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container_back.full {
    width: 100%;
}

.text-popp {
    font-family: 'Poppins', sans-serif;
}

.title_container {
    width: 100%;
    display: flex;
    flex-flow: row;
    justify-items: center;
    align-items: center;
    margin-top: 3rem;
}

.title_container.al_center{
    justify-content: center;
}

.content.full_w{
    width: 100%;
}

.subtitle_container {
    width: 100%;
    margin-top: 1rem;
}


.title {
    color: var(--dark_green);
    font-size: var(--big_size);
    font-weight: bold;
    margin-block-start: 0;
    margin-block-end: 0;
}

.id_image {
    margin-top: 3rem;
    width: 100%;
}

.subtitle {
    color: var(--dark_gray);
    font-weight: normal;
    font-size: var(--medium_size);
    margin-block-start: 0;
    margin-block-end: 0;
}

.subtitle.al_center{
    text-align: center;
}

.crop {
    overflow: hidden;
}

.link_type {
    cursor: pointer;
}

.link_type:hover {
    color: var(--light_green);
    text-decoration: underline;
}



.data {
    width: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 1fr 1fr 1fr;
    margin-top: 2rem;
}

.data_title {
    color: var(--sub_title);
    font-size: var(--small_size);
    font-weight: bold;
}

.preview_file {
    overflow: hidden;
}

.size_value {
    color: var(--dark_gray);
    font-size: var(--small_size);
    font-weight: normal;
    padding: 0 5px;
    margin-block-start: 0;
    margin-block-end: 0;

}

.data_field {
    color: var(--dark_gray);
    font-size: var(--small_size);
    font-weight: normal;
    padding: 0 5px;
    line-break: anywhere;
}

.btn-big {
    cursor: pointer;
    font-size: var(--small_size);
    width: 100%;
    padding: 40px 0;
    border-radius: 10px;
    font-weight: bold;
}

.btn-big:hover {
    background: var(--light_green_hover);
}

.btn.correct {
    background: var(--light_green);
    color: white;
    border: none;
}

.btn.incorrect {
    background: rgb(213,43,30);
    color: white;
    border: none;
}

.btn:disabled {
    background: var(--disabled);
    color: var(--text_diabled);
}

.image_preview {
    margin: 0 auto;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    /*width: 40%;*/
    width: 400px;
    height: 350px;
    /*padding: 10% 0;*/
    border: 1px solid var(--sub_title);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.image_preview.image_loaded {
    width: calc(100% - 60px);
    height: unset;
    flex-flow: row;
    padding: 50px 30px;
    justify-content: flex-start;
    align-items: center;
}

.image_icon {
    width: var(--extra_big_size);
}

.image_icon.big {
    width: var(--big_icon);
}

.image_icon.biggest {
    margin-top: 40px;
    width: var(--biggest_icon);
}

.image_icon_margin {
    margin: 0 5%;
}

.image_icon_preview {
    width: var(--bigger_size);
}

.image_title {
    color: var(--dark_green);
    font-size: var(--small_size);
    margin-block-start: 0;
    margin-block-end: 0;
}

.instructions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
}

.instructions_title {
    font-size: var(--big_size);
    color: var(--dark_green);
    font-family: 'Poppins', sans-serif;
    margin-block-end: 0;
}

.instructions_tip {
    font-size: var(--medium_size);
    color: var(--dark_gray);
    font-weight: bold;
    margin-block-start: 0;

}

.input-no-visible {
    display: none;
}

.form_checkbox {
    width: var(--extra_big_size);;
    height: var(--extra_big_size);
    outline: 5px solid var(--dark_green);
    margin-right: 36px;
}


.form_container_check {
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
}

.form_label {
    font-size: var(--medium_size);
    color: var(--dark_green);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    flex: 1;
    text-align: left;
    margin-left: 20px;
}

.container_aviso {
    align-items: flex-end;
    display: flex;
    justify-content: center;
    margin: 5rem 0 1rem 0;
}

.my-4 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.my-3 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.my-2 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.my-1 {
    margin-top: .5rem;
    margin-bottom: .5rem;
}

.container_back {
    align-items: center;
    display: flex;
    justify-content: center;
    flex-flow: column;
}

.back {
    font-family: 'Poppins', sans-serif;
    background: white;
    color: var(--dark_green);
    font-weight: 700;
    font-size: var(--small_size);
    border: none;
    border-bottom: 5px solid var(--dark_green);
}


.aviso {
    cursor: pointer;
    color: var(--dark_green);
    font-weight: 900;
    font-size: var(--small_size);
    text-decoration: none;
}

.aviso:hover {
    text-decoration: underline;
}

.section-nav {
    flex: 0;
}

.section-data {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mt-5p {
    margin-top: 5%;
}

.mr-5p {
    margin-right: 5%;
}

.mr-20 {
    margin-right: 20px;
}

#form_container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#form {
    width: 100%;
}

.data_row {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    padding: 20px 10%;
}

.data_list {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    padding: 0 40px;
}

.data_image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.data_image img {
    margin: 0 auto;
    width: 40%;
}

.data_image img.big {
    width: 80%;
}

.viva_redirect:hover {
    text-decoration: underline;
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;

    /*transform: scale(0.75);*/
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--light_green) transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.error_title{
    text-align: center;
    color: black;
    font-weight: 600;
    margin: 20px;
}

.btn-error{
    margin: 40px;
    width: 50%;
    text-decoration: none;
    font-size: 36px;
    text-align: center;
    background-color: #8cd400;
    padding: 30px 0;
    color: white;
    border: none;
}

.btn-error:hover{
    background-color: #8cf400;
}



header{
    display: flex;
    justify-content: center;
    height: 150px;
}

@media screen and (min-width: 1000px) {
    header {
        display: flex;
        justify-content: center;
        height: 76px;
    }

    .container_header {
        max-width: var(--desktop-max-page-width);
        flex: 1;
        padding: 0;
    }

    .logo_header {
        height: var(--small_size);
    }

    .page_header {
        font-size: 1.25rem;
    }

    .section-nav {
        background: var(--dark_green);
        display: flex;
        justify-content: center;
    }

    .current_page {
        height: 60px;
        flex: 1;
        max-width: var(--desktop-max-page-width);
    }

    .container_icon {
        display: flex;
        height: 58px;
        color: white;
        align-items: center;
        font-weight: bold;
        font-size: 1.5rem;
        width: auto;
        padding: 0 .5rem;
    }

    .container_icon img {
        width: 30px;
        height: 30px;
    }

    .container_icon span {
        display: block;
        margin-left: .5rem;
    }

    .content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: var(--desktop-max-page-width);
        padding: 0;
    }

    .title_container {
        max-width: 500px;
    }

    .subtitle_container {
        max-width: 500px;
    }

    .title {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1.125rem;
    }

    .data {
        max-width: 500px;
    }

    .data_item {
        margin: 1rem 0;
    }

    .data_title {
        font-size: 1rem;
        margin: 0;
    }

    .data_field {
        font-size: 1.125rem;
        padding: 0;
        margin: 0;
    }

    .btn-big {
        font-size: 1.5rem;
        max-width: 300px;
        padding: 1rem 0;
    }

    .registered {
        max-width: 400px;
        font-size: 1.5rem;
        padding: 1rem 0;
    }

    .aviso {
        font-size: 1rem;
    }

    .text_fly{
        font-size: 1.25em;
        margin-right: 10px;
    }

    .img_fly{
        width: 30px;
    }

    .btn-error{
        margin: 40px;
        width: 50%;
        text-decoration: none;
        font-size: 24px;
        text-align: center;
        background-color: #8cd400;
        color: white;
        border: none;

        /*padding: 30px 0;*/
    }
}

#fake_checkmark.shake_checkbox:not(:checked) {
    /* Start the shake animation and make the animation last for 0.5 seconds */
    animation: shake 1s;
    /* When the animation is finished, start again */
    animation-iteration-count: 1;
    border: 3px solid red;
}

@keyframes shake {
  0% { transform: translate(3px, 0px); }
  10% { transform: translate(-3px, 0px); }
  20% { transform: translate(3px, 0px); }
  30% { transform: translate(-3px, 0px); }
  40% { transform: translate(3px, 0px); }
  50% { transform: translate(-3px, 0px); }
  60% { transform: translate(3px, 0px); }
  70% { transform: translate(-3px, 0px); }
  80% { transform: translate(3px, 0px); }
  90% { transform: translate(-3px, 0px); }
  100% { transform: translate(3px, 0px); }
}