a {
    color: #007bff !important;
    text-decoration: underline;
}

body {
    font-family: "Lato", sans-serif;
}

.sidenav {
    height: 100%;
    background-color: #f4f6ff;
    border-right: 2px solid #eee;
    width: 40%;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
}

.main {
    position: absolute;
    top: 50vh;
    transform: translateY(-50%);
    margin-left: 42%;
    width: 30%;
}

.brand_logo {
    padding: 30px;
    width: 100%;
    border-radius: 0.3rem;
    background: white;

    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
    -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
    -moz-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
}

.login-main-text {
    padding: 60px;
    color: #fff;
}

.login-main-text h2 {
    font-weight: 300;
}

.login-title {
    margin-bottom: 0.6rem;
}

.input-group {
    margin-top: 1rem;
}

.btn-black {
    background-color: #343A40 !important;
    color: #fff;
}

.alert {
    margin-top: 1em;
    padding: .475rem .25rem !important;
    padding-left: 0.8em !important;
    font-size: 0.8em;
}

#spinner1 {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    height: 50px;
    width: 50px;
    margin: -25px 0 0 -25px;
    border: 5px solid transparent;
    border-top-color: #FF6803;
    border-bottom-color: #FF6803;
    border-radius: 50%;
    -webkit-animation: spinner1 1s linear infinite;
    animation: spinner1 1s linear infinite;
}

#spinner1:after {
    content: "";
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    left: 5px;
    border: 5px solid transparent;
    border-radius: 50%;
    background: #ffe8d6;
}

@keyframes spinner1 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    50% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spinner1 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    50% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.fade-out {
    opacity: 0.5;
    pointer-events: none;
    transition: none;
}

.go-back-link {
    color: #343A40;
}


/* Small devices */
@media (max-height: 450px) { /* landscape */
    a {
        font-size: 0.8rem;
    }

    .login-title {
        font-size: 1.2rem;
    }
    
    .input-group {
        height: 32px;
    }

    .input-group {
        margin-top: 0.6rem;
    }

    .btn {
        padding: 0.4rem;
    }
}

@media (max-width: 768px) {
    .sidenav {
        height: auto;
        width: 100%;
    }

    .main {
        margin-left: 0;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
    }

    .brand_logo_container {
        width: 120px;
    }

    .brand_logo_container .brand_logo {
        padding: 0.2rem;
    }

    .login-main-text {
        padding: 2rem;
    }

    .login-form {
        text-align: center;
    }

    .higia-login-button {
        margin-top: 1.6rem !important;
        margin-bottom: 2rem !important;
    }
}

/* Medium devices */
@media (min-width: 768px) {
    .main {
        width: 54%;
    }
}

/* Large devices */
@media (min-width: 992px) {
    .main {
        width: 30%;
    }
}
