@font-face {
    font-family: "Montserrat";
    src: url("/font/Montserrat/Montserrat-Light.ttf");
}
* {
    font-family: "Montserrat";
}
html {
    height: -webkit-fill-available; /* Para navegadores WebKit */
    height: fill-available; /* Para navegadores que no son WebKit */
    width: 100vw;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    min-height: -webkit-fill-available; /* Para navegadores WebKit */
    min-height: -moz-available; /* WebKit-based browsers will ignore this. */
    min-height: fill-available; /* Para navegadores que no son WebKit */
    width: 100vw;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100vh;
    background: var(--bg-color-main);
}
a {
    color: var(--text-color);
}
a:hover {
    color: var(--color-main)
}
/* fieldset */
fieldset {
    border: 2px solid #868381;
    border-radius: 0.375rem;
    padding: 0 10px 10px 10px;
    width: 100%;
}
legend {
    width: auto;
    float: none !important;
    margin-bottom: 2px;
    text-align: left;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}
.kea-powered {
    margin-left: 3px;
}
.img-outline {
    filter:drop-shadow(1px 1px 1px #222); /* Add contour to logo */
}
.header {
    height: 12vh;
    background-color: var(--bg-color-secondary);
}
.btn-kea {
    font-weight: bold;
    color: var(--btn-text-color);
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    padding: 0.4em 1em;
    border: 0.15rem solid transparent;
    border-radius: .5rem;
    background: var(--color-main);
    font-weight: bold;
}
.btn-kea:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: var(--color-main);
}
.card {
    background-color: var(--bg-color-secondary);
    border-radius: 28px;
    border: 0.1px solid rgba(71, 71, 71, 0.5);;
    min-height: 36vh;
}
.card-login{
    padding-top: 6rem;
}
.sign-in {
    color: var(--color-main);
}
.circle {
    background-color: var(--bg-color-secondary);
    overflow: hidden;
    width: 4.8125rem;
    height: 4.8125rem;
    border: 2px solid rgba(255, 252, 252, 0.233);
    box-shadow: 0 5px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}
.icon-sun {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-right: .3rem;
}
.small-text {
    color: var(--text-color);
}
.powered {
    margin-top: 11px;
    color: var(--text-color);
}
.select {
    background-color: var(--bg-color-secondary);
    border: none;
    box-sizing: border-box;
    color: var(--text-color);
    font-weight: bold;
}
select:focus {
    border: none;
    outline: none;
}
.input-group {
    display: flex;
    position: relative;
    height: 2.7rem;
    padding: 0 4px;
    background-color: white;
    border: 2px solid var(--bg-color-third);
    border-radius: .5rem;
    transition: border-color 0.3s ease;
    transition: margin-top 0.3s ease;
}
.input-group:focus-within {
    border: 2px solid var(--color-main);
}
.form-control-login {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    box-shadow: none;
    padding: 1rem;
    padding-left: .5rem;
    background: none;
    z-index: 1;
    color: var(--bg-color-third);
    font-weight: bold;
}
.form-label-login {
    position: absolute;
    left: .5rem;
    top: .5rem;
    padding: 0 .3rem;
    color: var(--bg-color-third);
    font-size: 1.1rem;
    transition: .3s;
}
.btn-eye {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 5px .5rem;
    border: none;
    color: var(--bg-color-third);
    background-color: white;
    font-size: 1rem;
    border-radius: .5rem;
    cursor: pointer;
    transition: .3s;
}
.icon-label {
    margin-right: .4rem;
}
/* Este es el comportamiento que va a tener el label cuando esté enfocado */
.form-control:focus + .form-label {
    top: -.9rem;
    left: .8rem;
    font-size: .8rem;
    background-color: var(--color-main);
    color: white;
    font-weight: bold;
    z-index: 10;
}
/* Este es el comportamiento que va a tener el label cuando no esté enfocado */
.form-control:not(:placeholder-shown).form-control:not(:focus)+ .form-label {
    top: -.9rem;
    left: .8rem;
    font-weight: bold;
    font-size: .8rem;
    z-index: 10;
    color: white;
    background-color: var(--bg-color-third);
}
.form-control:focus {
    box-shadow: none;
    color: var(--bg-color-third);
}

.modal-header {
    background-color: var(--bg-color-secondary);
    color: var(--text-color);
    border-bottom: 2px solid var(--bg-color-third);
}
.modal-content {
    background-color: var(--bg-color-main);
    color: var(--text-color);
    font-weight: bold;
}
.modal-footer {
    background-color: var(--bg-color-secondary);
    border-top: 2px solid var(--bg-color-third);
}
/* .btn-custom-close {
    background-color: transparent;
    border: none;
    padding: 0;
}
.btn-custom-close i {
    color: var(--bg-color-third);
} */

/* Estos atributos son para el input, para que cuando haya información que guarda el navegador, no interfieran en el color que ya tiene el input*/
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white  inset !important;
    -webkit-text-fill-color: var(--bg-color-third) !important;
}

.welcome {
    color: var(--color-main);
    font-weight: bold;
}
.login-logo{
    object-fit: contain;
}
.logo {
    height: auto;
    width: auto;
    max-width: 10vw;
    max-height: 10.5vh;
    object-fit: contain;
}
.img-login-container{
    min-height: 12vh;
    justify-content: center;
}
.card-kea{
    display: flex;
    flex-direction: column;
    color: var(--text-color);
}
.card-2FA {
    background-color: var(--bg-color-secondary);
    border-radius: 10px;
    padding: 20px;
}
.text-password{
    color: var(--text-color);
}
.input-2FA {
    border: 2px solid var(--bg-color-third);
    transition: border-color 0.3s ease-in-out;
    outline: none;
    background-color: white;
    text-align: center;
}
.input-2FA:focus {
    border-color: var(--bg-color-main);
    outline: none;
}
.text-2FA {
    color: var(--text-color);
}
.QR-2FA>svg{
    border: solid white;
}
.success{
    color: green;
}
.table-background{
    background-color: #ededed;
    border-radius: 0.2rem;
    justify-content: space-between;
    max-height: 100%;
    padding: 0.7rem;
    overflow: auto;
}
.title-main{
    color: var(--color-main);
}
.sessions-table {
    width: 98%;
    border-collapse: collapse;
}
.sessions-table th,
.sessions-table td {
    padding: 8px;
    border: 1px solid #ccc;
}

.sessions-table th {
    text-align: left;
}

.sessions-table td {
    text-align: center;
    vertical-align: middle;
}

.close-session-button {
    background-color: #F6A324;
    padding: 6px 12px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    color: white;
}

.formIntermediate {
    margin-block-end: 0;
}
.goBack-button{
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
}
/* Estas medias query son para que en esas resoluciones el min-height de la card se ajuste de forma automática*/
@media only screen and (min-device-width: 1366px) and (max-device-height: 1024px)
    and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape)  {
    .card{
        min-height: auto;
    }
}
@media only screen and (min-device-width: 1024px) and (max-device-height: 1366px)
    and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait)  {
    .card {
        min-height: auto;
    }
}

/* Esta media query  se está aplicando a la card del login para que a partir de la resolución 1680 la card tome un col 6*/
@media only screen and (min-width: 1680px){
    .container-card {
        flex: 0 0 auto !important;
        width: 50% !important;
    }
}
