﻿html,
body {
    height: 100%;
}

html {
    background-color: #1c2631 !important;
}

body {
    background: none !important;
}

.card {
    background-color: #283544 !important;
}

/* Remove autofill background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    /* -webkit-box-shadow: 0px 0px 0px 100px #283544 inset !important;
    box-shadow: 0px 0px 0px 100px #283544 inset !important;*/
    background-color: white !important;
    border: none !important;
}

input:-webkit-autofill {
    /*: lightgray !important;
    color: lightgray !important;*/
}

.md-form input {
    color: lightgray;
}

    .md-form input:focus {
        color: white;
    }

.login-panel .card,
.registration-panel .card {
    border-radius: 10px !important;
    font-family: "Poppins" !important;
    /*opacity: 0.96 !important;*/
}

.md-form.input-group .form-control {
    padding: 0.6rem 0 0.4rem 0 !important;
}

/*   Site css   */
input[type="text"].form-control,
input[type="text"].hasDatepicker,
input[type="number"].form-control {
    height: auto !important;
    font-size: 0.875rem !important;
}

i.prefix {
    line-height: 32px !important;
}

.md-form label {
    left: 0 !important;    
}

.position-relative label {
    color: #4F4F4F;
}

.md-form > input[type]:-webkit-autofill:not(.browser-default):not([type="search"]) + label,
.md-form > input[type="time"]:not(.browser-default) + label {
    font-size: 0.95rem !important;
    -webkit-transform: translateY(-14px) scale(0.8) !important;
    transform: translateY(-14px) scale(0.8) !important;
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins" !important;
    font-weight: 900;
}

#toast-container {
    z-index: 9999;
}

#loading {
    background: url("/backend/images/sports.gif") rgba(0, 0, 0, 0.815) no-repeat center center;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1999;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.invalid-feedback {
    font-size: 100% !important;
    margin-left: 2rem !important;
    position: absolute;
    top: 2.5rem;
}

.color-2 {
    background-color: #214a80 !important;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.7);
}

::-webkit-scrollbar {
    width: 10px;
}

    ::-webkit-scrollbar:vertical {
        width: 5px;
    }

::-webkit-scrollbar-button:increment,
.contenedor::-webkit-scrollbar-button {
    display: none;
}

/** login new look **/
.newlook-login-card {
    background: #eff0f6 !important;
}

.newlook-login-input {
    border: 2px solid white;
    background-color: #ffffff !important;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    padding: 0.8rem 0.5rem 0.8rem 3rem;
}

    .newlook-login-input:focus {
        border: 2px solid #3263AA;
        box-sizing: border-box;
    }

    .newlook-login-input:focus-visible {
        outline: none;
    }

    .newlook-login-input:not(focus) {
        outline: none;
    }

.icon-svg-container {
    width: 1.8rem;
    height: 1.8rem;
    position: absolute;
    top: 0.5rem;
    left: 0.3rem;
}

.icon-svg-info-container {
    width: 1.8rem;
    height: 1.8rem;
    position: absolute;
    top: -20%;
    left: 39%;
}

.icon-svg-container-end {
    width: 1.8rem;
    height: 1.8rem;
    position: absolute;
    top: 0.5rem;
    right: 0.3rem;
}

.btn-login {
    background-color: #3263AA !important;
    border-radius: 10px !important;
    -moz-border-radius: 10px !important;
    -webkit-border-radius: 10px !important;
    color: #fff !important;
    font-size: 1rem !important;
}

.copyright {
    color: #666667;
}

.text-register,
.text-register:hover {
    color: #3263AA;
    font-weight: bold;
}

.login-title {
    font-weight: 400;
    color: #14142B;
}

.login-title-color {
    color: #3263AA;
}

.bg-svg-eye {
    content: url("svg/eye.svg");
}

.bg-svg-crossed-eye {
    content: url("svg/crossed-out-eye.svg");
}

.form-check-input[type="checkbox"] + label:before {
    border: 2px solid #3263AA !important;
    transition: 0.2s !important;
}

.form-check-input[type="checkbox"]:checked + label:before {
    border-top: 2px solid transparent !important;
    border-left: 2px solid transparent !important;
}

.reg-svg-info {
    margin-top: -2px;
    margin-left: 6px;
}

.invalid-feedback {
    position: absolute !important;
    top: 95%;
    left: -4%;
}

#subcaptcha {
    height: fit-content !important;
    padding-top: 2rem;
}

#subcaptcha,
#visualcaptcha-frame {
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    background: white !important;
}

.feedback-show {
    position: absolute !important;
    display: block !important;
    top: 95% !important;
}

.position-relative .is-invalid + div + input + .invalid-feedback {
    display: block !important;
    min-height: 20px !important;
    max-width: 100% !important;
    overflow: auto !important;
    white-space: normal !important;
}

#visualcaptcha-frame {
    height: 13rem !important;
    padding: 10px !important;
}

::-ms-reveal {
    display: none;
}

.color-grey-newlook-label {
    color: #4f4f4f !important;
}

/*Media Queries*/
@media all and (min-height: 400px) {
    .login-panel {
        margin-top: calc(25vh - 100px);
    }
}

@media all and (max-height: 400px) {
    .login-panel {
        margin-top: calc(25vh - 70px);
    }

        .login-panel .card-title {
            margin-bottom: 0 !important;
        }

            .login-panel .card-title > h3 {
                margin-top: 0.5rem !important;
                margin-bottom: 0 !important;
            }

        .login-panel .md-form {
            margin-top: 1rem !important;
            margin-bottom: 1rem !important;
        }

    #btn_login {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
}

@media all and (min-height: 700px) {
    .registration-panel {
        margin-top: calc(20vh - 100px);
    }
}

@media (max-width: 768px) {
    .invalid-feedback {
        font-size: 14px !important;
    }

    .invalid-feedback {
        left: -8%;
    }

    #visualcaptcha-frame {
        display: block;
    }

    .registration-panel {
        margin-top: calc(15vh - 100px) !important;
    }
}

@media screen and (max-width: 480px) {
    .invalid-feedback {
        font-size: 85% !important;
    }
}
