.custom-login-page{
    width: 100%;
    height: 100%;
}

.custom-login-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

.custom-login-bg{
    /*min-height: 100vh;*/
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.under-left {
    top: 95%!important;
    left: 51%!important;    
}

.padding-under-left {
    padding-right: 15%;
}

.custom-login-bg > .title-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.title-login{
    font-size: 88px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
}

.title-login > span{
    color: #E63131;
}

.sub-title-login{
    font-weight: 400;
    font-size: 40px;
    color: #fff;
    line-height: 1.5;
}

.text-login{
    color: #ffffff;
}

.fade-in{
    animation: fadeIn ease 1s;
    -webkit-animation: fadeIn ease 1s;
}

@keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
    }

.custom-login-bg::before{
    content: "";
    width: 100%;
    min-height: 90vh;
    z-index: 1;
    background-color: rgba(0, 0, 0, .5);
}

.custom-login-navPills{
    position: absolute;
    z-index: 2;
    width: 150px;
    right: 470px;
    top: 100px;
}

.custom-login-navPills .nav-link{
    padding: 16px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.custom-login-navPills .nav-link.active{
    background-color: #ffffff;
    color: #007bff;
}

.custom-login-box{
    position: relative;
    max-width: 583px; /*530*/
    background-color: #ffffff;
    min-height: 100vh;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;    
    flex-direction: column;
    justify-content: center;
}

.custom-login-box > .active{
    min-height: 100vh;
    width: 100%;
    position: relative;
}

.login-logo{
    margin-top: 50px;
    max-height: 20vh; 
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;

}
.imgStretch {
    width: 45%;
    height: auto;
}

.card-login-custom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.login-card-body-custom{
    padding-left: 50px;
    padding-right: 50px;
}

.slide-right:not(.show) {
    transform: translateX(50px);
    opacity: 0;
}

.slide-right{
    transition: all .2s ease-in-out;
}

.dropdown-login-custom{
    margin-top: 5px;
    position: absolute;
    top: 90%;
    left: 0;
    bottom: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

.btn-language{
    position: absolute;
    top: 10%;
    left: 0;
    right: 0;
    bottom: 100px;
    margin-left: auto;
    margin-right: auto;
}

.btn-language:hover,
.btn-language:active,
.btn-language:focus{
    background-color: transparent;
    border-color: #007bff;
}

.upperDivZone {
    padding: 4% 0;
}

.googleBtn {
    max-height: 80px;
}

.appleBtn {
    height: 80px;
    padding: 13px;
}
.appleImg {
    height: 54px;
}
.pad {
    padding: 15% 0;
}
    
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1400px) {
    /*.padding-under-left {
        padding-left: 45%;
    }*/
}

@media (min-width: 1200px) {
   
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .under-left {
        top: 102% !important;
        left: 51% !important;
        font-size: small;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 800px) and (max-width: 850px) and (max-width: 900px) and (max-width: 991.98px) {
    .custom-login-navPills {
        right: 320px;
    }

    .title-login {
        font-size: 80px;
    }

    .sub-title-login {
        font-size: 36px;
    }

    .login-logo {
        margin-top: 47px;
        /* margin-top: 20px;*/
    }

    .googleBtn {
        max-height: 60px;
    }

    .appleBtn {
        height: 60px;
        padding: 9.75px;
    }

    .appleImg {
        height: 40.5px;
    }

    .under-left {
        top: 105% !important;
        left: 51% !important;
        font-size: small;
    }
    .pad {
        padding: 15% 0;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .custom-login-wrapper{
        background-image: url("../../img/login-bg.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .custom-login-navPills{
        display: none;
    }
    .custom-login-bg{
        display: none;
    }
    .custom-login-box{
        width: 100%;
        display: block;
        max-width: 100%;
        background-color: rgba(255, 255, 255, .9);
    }
    .login-card-body-custom{
        background-color: transparent;
    }
    .sign-in-custom{
        max-width: 200px;
        margin: 0px auto 0px auto;
    }
    .password-forgot{
        text-align: center;
    }
    .login-logo {
        margin-top: 47px;
    }

    .btn-under-left{

    }
    .text-under-left {
    
    }
    .custom-login-page {
        width: 100%;
        height: 105%;
    }
    .under-left {
        top: 105% !important;
        left: 51% !important;
        font-size:smaller;
    }
    .padding-under-left {
        padding-left: 25%;
    }
    .pad {
        padding: 15% 0;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .custom-login-wrapper {
        background-image: url("../../img/login-bg.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .custom-login-navPills {
        display: none;
    }

    .custom-login-bg {
        display: none;
    }

    .custom-login-box {
        width: 100%;
        display: block;
        max-width: 100%;
        background-color: rgba(255, 255, 255, .9);
    }

    .login-card-body-custom {
        background-color: transparent;
    }

    .sign-in-custom {
        max-width: 200px;
        margin: 0px auto 0px auto;
    }

    .password-forgot {
        text-align: center;
    }

    .login-logo {
        /*margin-top: -4px;*/
        margin-top: 22px;
    }

    .upperDivZone {
        padding: 1% 0;
    }

    .mb-1, my-1 {
        margin-bottom: 0px !important;
    }

    .googleBtn {
        max-height: 60px;
    }

    .appleBtn {
        height: 60px;
        padding: 0px;
    }

    .appleImg {
        height: 40px;
        margin-top: 11px;
    }

    .btn-language {
        top: -18px;
    }
    .under-left {
        top: 102% !important;
        left: 51% !important;
        font-size:smaller;
    }
    .btn-under-left {
        font-size: small;
    }
    .text-under-left {
        font-size: smaller;
    }
    .padding-under-left {
        padding-left: 2%;
    }
    .pad {
        padding:12% 0;
    }

    @media (max-width: 374.98px) {
        .login-logo {
            margin-top: 22px;
        }

        .appleImg {
            height: 40px;
            margin-top: 11px;
        }

        .appleBtn {
            height: 60px;
            padding: 0px;
        }

        .btn-language {
            top: -18px;
        }
        .btn-under-left {
            font-size: small;
        }

        .text-under-left {
            font-size: smaller;
        }
        .under-left {
            top: 102% !important;
            left: 51% !important;
            font-size:smaller;
        }
        .padding-under-left {
            padding-left: 15%;
        }
        .pad {
            padding: 12% 0;
        }
    }

    @media (max-width: 375px) {
        .login-logo {
            margin-top: 22px;
        }

        .appleImg {
            height: 40px;
            margin-top: 11px;
        }

        .appleBtn {
            height: 60px;
            padding: 0px;
        }

        .btn-language {
            top: -18px;
        }
        .btn-under-left {
            font-size: small;
        }

        .text-under-left {
            font-size: smaller;
        }
        .under-left {
            top: 102% !important;
            left: 51% !important;
            font-size:smaller;
        }
        .padding-under-left{
            padding-left:1%;
        }
        .pad {
            padding: 12% 0;
        }
    }

    @media (max-width: 360px) {
        .login-logo {
            margin-top: 22px;
        }

        .appleImg {
            height: 40px;
            margin-top: 11px;
        }

        .appleBtn {
            height: 60px;
            padding: 0px;
        }

        .btn-language {
            top: -18px;
        }

        .btn-under-left {
            font-size: smaller;
        }

        .text-under-left {
            font-size: smaller;
        }

        .under-left {
            top: 96% !important;
            left: 51% !important;
            font-size: smaller;
        }

        .padding-under-left {
            padding-left: 0%;
        }

        .pad {
            padding: 12% 0;
        }
    }
    }

        @media (max-width: 320px) {
            .login-logo {
                margin-top: -4px;
            }

            .btn-language {
                top: -20px;
            }

            .under-left {
                top: 110% !important;
                left: 51% !important;
                font-size: smaller;
            }
        }
    }