﻿html, body {
    height: 100vh;
}

#fondoPrincipal {
    background: linear-gradient(to right top, #ffffff, #f8f7f8, #f1eff0, #eae8e8, #e3e0e0);
    height: 100%;
    position: fixed;
    width: 100%;
    top: 0px;
    left: 0px;
}



.checkbox-container {
    display: flex;
    position: relative;
    cursor: pointer;
    font-size: 22px;
    user-select: none;
    align-items: center;
}


    .checkbox-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.checkbox {
    position: absolute;
    left: calc((100% - 21px) / 2);
    height: 21px;
    width: 21px;
    background-color: #eee;
}


.checkbox-container:hover input ~ .checkbox {
    background-color: rgba(255,255,255,0.85);
}

.checkbox-container input:checked ~ .checkbox {
    background-color: var(--MAIN-COLOR);
}

.checkbox:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkbox:after {
    display: block;
}

.checkbox-container .checkbox:after {
    left: 7px;
    top: 1px;
    width: 7.5px;
    height: 15.5px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}




.login h1{
    text-transform:capitalize;
    font-size:24pt;
    letter-spacing:3px;
    white-space:nowrap;
    font-weight:900;
    color:white;
    padding:7.5px;
    text-shadow:0px 0px 7.5px black,5px 5px 15px gray;
    background: var(--MAIN-BACKGROUND);
}


label{
    color:black;
}

.logo {
    display: block !important;
    text-decoration: none !important;
    margin-bottom:55px;
}
.logo *{
    user-select:none;
}
    .logo img {
        display: block;
        width: 275px;
        margin: 7.5px auto 15px auto;
    }

input:not([type="submit"]), input:not([type="button"]) {
    border: 1px solid rgb(197,198,200);
}
    input:not([type="submit"]):focus, input:not([type="button"]):focus {
        outline: none !important;
        box-shadow: 0px 0px 7.5px silver !important;
        border: none !important;
    }

.input-group-text{
    width:45px;
    display:flex;
    justify-content:center;
}

    input[type="checkbox"] {
        width: 24px !important;
        height: 24px !important;
        margin: auto !important;
    }

input[type="submit"], input[type="button"] {
    display: block;
    width: 100%;
}

.btn-login {
    text-transform: uppercase;
    font: 700 14pt "Montserrat-Light";
    border-radius: 35px;
    color:white!important;
    border:none!important;
    background:var(--MAIN-BACKGROUND);
    transition: all 0.75s ease-in-out;
}

.btn-login:hover{
    background:var(--SECONDARY-BACKGROUND)!important;
}



.login {
    width: 500px;
    position: absolute;
    left: calc((100% - 435px) / 2);
    top: calc((100% - 550px) / 2);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 550px;
}

    .login form {
        background: rgba(0,0,0,0.15);
        backdrop-filter: blur(3px);
        border-radius: 9.75px;
        height:255px;
    }

    .login form > div{
        padding:0px 11.75px;
    }


.login > div{
    width:100%;
    padding:0px 15px;
}






    @media screen and (min-width:240px) and (max-width: 1023px) and (orientation:portrait) {
        .login {
            width: 75% !important;
            left: calc((100% - 75%) / 2) !important;
        }

        .logo img {
            width: 210px !important;
        }
    }

    @media screen and (min-width:240px) and (max-width: 1023px) and (orientation:landscape) {
        .login {
            width: 75% !important;
            left: calc((100% - 75%) / 2) !important;
        }

        .logo img {
            width: 210px !important;
        }
    }

.alert-message {
    position: absolute;
    width: 100%;
    z-index:1010;
}