﻿.login-container {
    width: 45%;
    display: flex;
    margin: 50px auto;
    box-shadow: 0 12px 15px rgba(0, 0, 0, .24);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #0f2b66;
    animation: fadeUpDown2 3s 1;
}

.login-form-wrap h2 {
    margin-bottom: 30px;
    color: rgb(40, 57, 101);
    font-size: 25px;
    animation: faderf 3s 0.5;
}

@keyframes faderf {
    0%, 100% {
        transform: translateY(40%);
    }

    50% {
        transform: translateY(0%)
    }
}
.btn-info-element .fa-sign-in-alt {
    animation: faderf 2s 0.5;
}

.form-element-with-icon {
    animation: faderf 2s 0.5;
}

/* بخش تصویر */
.login-image {
    flex: 1;
    background: #2D364C;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .login-image img {
        max-width: 100%;
        height: auto;
        padding:0 12px
    }

/* بخش فرم */
.login-form-wrap {
    flex: 2!important;
    padding: 50px;
    background: #f8f8f8;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .login-form-wrap h2 {
        margin-bottom: 30px;
        color: #283965;
    }

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        width:80%!important
    }
    .login-image {
        flex: 1.5;
        background: #283965;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .login-image img{
        max-width: 200px;
    }

    .login-image, .login-form-wrap {
        flex: unset;
        width: 100%;
    }

    .login-form-wrap {
        flex: 2!important;
        padding: 50px;
        background: #f8f8f8;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
        .login-form-wrap h2 {
            margin-bottom: 30px;
            color: #283965;
            font-size: 19px!important;
        }
}


/*************login background*/
.login-page-first {
    background: #e6e6e6;
    background: linear-gradient(54deg, rgba(230, 230, 230, 0.93) 0%, rgba(140, 140, 140, 0.89) 100%);
    width: 100%;
    background-image: url('../images/background4.png');
    background-size: cover;
    /*    background-image: url('../images/bg2.png');*/
}
footer.mini-footer .mini-footer-menu li a {
    color: #858585;
    font-weight:500
}

.login-image{
    overflow:hidden;
    position:relative
}

    .login-image img {
        width: 100%;
        animation: fadeUpDown 3s 1;
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1),rgba(0,0,0,1),rgba(0,0,0,1));
        -webkit-mask-repeat: no-repeat;
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1),rgba(0,0,0,1),rgba(0,0,0,1));
        mask-repeat: no-repeat;
        mask-size: cover;
    }

@keyframes fadeUpDown {
    0%, 100% {
        width:0%;
    }
    100% {
        width: 100%;
    }
}

.btn-info-element {
    overflow: hidden;
    position: relative
}



/*login btn styles*/
.login-form-wrap .form-element-row .btn-element.btn-info-element {
    background: #3d4766;
    background: linear-gradient(90deg, rgba(61, 71, 102, 0.83) 0%, rgba(49, 60, 92, 0.91) 30%, rgba(45, 54, 76, 1) 100%);
    color: #fff;
/*    border: 1px solid #3a3f47;*/
    padding: 5px 13px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: all 0.25s ease;
    margin-top: 15px !important
}

    .login-form-wrap .form-element-row .btn-element.btn-info-element:hover {
        background: #3d4766;
        background: linear-gradient(90deg, rgba(61, 71, 102, 0.83) 0%, rgba(49, 60, 92, 0.91) 30%, rgba(45, 54, 76, 1) 100%);
        box-shadow: 0 6px 6px rgba(0,0,0,0.35);
        transform: translateY(-2px)
    }

    .login-form-wrap  .form-element-row .btn-element.btn-info-element:active {
        transform: translateY(0);
        box-shadow: 0 3px 8px rgba(0,0,0,0.25);
    }