body {
    -webkit-touch-callout: none !important;
}

a {
    -webkit-user-select: none !important;
}

.flex-link {
    display: flex;
    justify-content: center;
    text-align: center;
    justify-content: space-between;
}

.flex-link p {
    margin-bottom: -2rem !important;
    margin-top: 0 !important;
}

.welcome-screen {
    min-height: auto !important;
    height: auto;
}

.wrap-login {
    background-color: #fdbd50;
}
.login-welcome-text {
    font-weight: 600;
    font-size: 1.4rem;
    color: #161106;
    margin-bottom: 0;
}
.txt-sub-welcome-text {
    color: #333;
    font-size: 1rem;
}
.login-page-header {
    position: relative;
    /* padding: 1rem 2.5rem 3.5rem 2.5rem; */
    padding: 1rem 2.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.btn-login {
    background-color: #14538a !important;
    border-color: #14538a !important;
    color: #fffffe !important;
    font-size: 20px !important;
}
.text-reset a {
    /* color: #0c0b03!important; */
    color: #57431b !important;
}
.register-step .small a {
    /* font-size: 11px !important; */
    color: #57431b !important;
    font-size: 0.8rem;
}
.register-step .text-footer a {
    font-size: 0.6rem !important;
}
.txt-form {
    border-radius: 55px !important;
    box-shadow: 0 3px 6px -1px #000 !important;
}

.register-form .form-group .form-control {
    padding: 1.2rem 1.5rem !important;
    font-size: 1.2rem !important;
}

.register-form .form-group label {
    font-size: 1rem !important;
}

.wrap-login .register-form {
    padding: 0 30px;
}

#frmLogin .wrap-btn-login {
    margin-top: 35px;
}

.wrap-btn-login .btn-login {
    margin-bottom: 30px;
}

.text-reset a.text-muted {
    color: #14538a !important;
}

.login-container {
    display: flex;
    flex-direction: column;
    height: 95%;
    justify-content: space-between;
}

.login-container .container-btn {
    padding: 0 30px;
}

.alert-page {
    min-height: 20px;
}
.logo {
    position: relative;
    width: 100%;
    height: 14rem;
}
.logo .logo-container{
    position: absolute;
    left: -5%;
    top: -2.4rem;
    width: 110%;
    height: 14rem;
    text-align: center;
}
.logo img {
    max-width: 100%;
    object-fit: cover;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1240px) {
    /* your css rules for ipad portrait */
    .logo {
        height: 9rem;
    }
    .logo .logo-container{
        height: 9rem;
        top: -2.8rem;
    }
    .logo img {
        width: 70%;
    }
    .register-form {
        width: 70%;
        margin: 0 auto;
        font-size: 1rem;
    }
    .login-welcome-text {
        font-size: 1.2rem;
    }
    .txt-sub-welcome-text {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }
    .alert.alert-danger {
        font-size: 0.6rem;
        font-weight: 500;
        padding: 0 0 0 0.8rem;
        margin-bottom: 0.6rem;
    }
    .alert.alert-danger:before {
        width: 0.6rem;
        height: 0.6rem;
    }
    .register-form .form-group label {
        font-size: 0.8rem !important;
    }
    .register-form .form-group .form-control {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.8rem !important;
    }
    .txt-form {
        border-radius: 2rem !important;
        box-shadow: 0 3px 6px -1px #000 !important;
    }
    .form-group {
        margin-bottom: 0.6rem;
    }
    .btn.btn-primary {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.8rem;
    }
    .btn.btn-primary.btn-login {
        font-size: 0.8rem !important;
        margin-top: 1.8rem;
    }
    .text-reset {
        font-size: 0.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    .flex-link {
        font-size: 0.6rem;
    }
    .container-btn {
        width: 70%;
        margin: 0 auto;
        padding: 0 30px;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1240px) and (orientation:landscape) {
    /* your css rules for ipad landscape */
    .logo {
        width: 60%;
        height: 4.4rem;
    }
     .logo .logo-container{
        height: 3rem;
        top: -2rem;
    }
    .register-form {
        width: 50%;
        margin: 0 auto;
        font-size: 0.8rem;
    }
    .login-welcome-text {
        font-size: 0.8rem;
    }
    .txt-sub-welcome-text {
        font-size: 0.5rem;
        margin-bottom: 0.2rem;
    }
    .alert.alert-danger {
        font-size: 0.4rem;
        font-weight: 500;
        padding: 0 0 0 0.6rem;
        margin-bottom: 0.3rem;
    }
    .alert.alert-danger:before {
        width: 0.35rem;
        height: 0.35rem;
    }
    .register-form .form-group label {
        font-size: 0.6rem !important;
        font-weight: 500;
    }
    .register-form .form-group .form-control {
        padding: 0.2rem 0.7rem !important;
        font-size: 0.6rem !important;
    }
    .txt-form {
        color: #444;
        box-shadow: 0 3px 6px -1px #000 !important;
    }
    /*.form-group {
        margin-bottom: 0.3rem;
    }*/
    .btn.btn-primary {
        padding: 0.2rem 0.8rem !important;
        font-size: 0.8rem;
    }
    .btn.btn-primary.btn-login {
        font-size: 0.6rem !important;
        margin-top: 1.2rem;
        margin-bottom: 0.2rem;
    }
    .btn.btn-primary span {
        font-size: 0.6rem;
    }
    .text-reset {
        font-size: 0.4rem !important;
        margin-bottom: 0.2rem !important;
    }
    .flex-link {
        font-size: 0.4rem;
        margin-top: 0.4rem;
    }
    .register-step .text-footer a {
        font-size: 0.4rem !important;
    }
    .container-btn {
        width: 50%;
        margin: 0 auto;
        padding: 0 30px;
    }
}
