/* Rolagem suave entre sections */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }

    :target {
        scroll-margin-top: 1em;
    }
}

/*CSS - Toast Tela Contato - E-mail copiado c/ sucesso*/
/* The snackbar - position it at the bottom and in the middle of the screen */
#txtCopiarEmail {
    visibility: hidden;
    /* Hidden by default. Visible on click */
    min-width: 250px;
    /* Set a default minimum width */
    margin-left: -125px;
    /* Divide value of min-width by 2 */
    background-color: #0095ab;
    /* Black background color */
    color: #fff;
    /* White text color */
    text-align: center;
    /* Centered text */
    border-radius: 2px;
    /* Rounded borders */
    padding: 16px;
    /* Padding */
    position: fixed;
    /* Sit on top of the screen */
    z-index: 1;
    /* Add a z-index if needed */
    left: 50%;
    /* Center the snackbar */
    bottom: 30px;
    /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#txtCopiarEmail.show {
    visibility: visible;
    /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

/*CSS - Modal Demonstração - Tela Index*/
#fade {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 100;
}

#modal {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(5px);
    overflow-y: scroll;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    transition: opacity 0.4s ease-in-out;
    z-index: 100;
}

#fade {
    transition: 0.5s;
    opacity: 1;
    pointer-events: all;
}

.modal-body {
    width: 80vw;
    position: relative;
    padding-top: 45.25%;
    margin: 6em 0;
}

.modal-body iframe {
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    width: 100%;
    height: 100%;
}

#modal.hide,
#fade.hide {
    opacity: 0;
    pointer-events: none;
}

#modal.hide {
    display: none;
}

#close-modal {
    position: absolute;
    top: -5%;
    right: 1%;
    color: #fff;
}

@media screen and (max-width: 400px) {
    #close-modal {
        top: -15%;
    }
}

@media (min-width: 401px) and (max-width: 711px) {
    #close-modal {
        top: -9%;
    }
}

@media (min-width: 712px) and (max-width: 899px) {
    .modal-body {
        padding-top: 0;
        width: 686px;
        height: 387px;
    }

    #close-modal {
        top: -10%;
    }
}

/* Configuração box-cookie*/
.box-cookies {
    position: fixed;
    background: rgba(51, 51, 51, .7);
    width: 100%;
    z-index: 999999998;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.box-cookies .msg-cookies,
.box-cookies .btn-cookies {
    text-align: center;
    padding: 10px 25px;
    margin: 25px;
    color: #fff;
    font-size: 18px;
    border: 0;
    outline: none;
}

.msg-cookies a {
    color: #65abe8 !important;
    font-weight: 700;
}

.msg-cookies a:hover {
    color: #65abe8 !important;
}

.box-cookies .btn-cookies {
    background: #0095AB;
    cursor: pointer;
    align-self: normal;
    border-radius: 5px;
}

.box-cookies.hide {
    display: none !important;
}

@media screen and (max-width: 600px) {
    .box-cookies {
        flex-direction: column;
    }
}

/* Alteração de cor radio button - Tela Planos*/
input[type="radio"]:checked {
    accent-color: #00a0b7;
}

/* Ajuste layout ol - tela onboarding-candidato*/

.ol-layout {
    list-style: auto;
    margin-left: 1.75rem;
}

.mt-300 {
    margin-top: 18.75rem;
}

@media screen and (max-width: 1023px) {
    .mt-300 {
        margin-top: 0rem;
    }
}