@charset "UTF-8";

#account_login {
    max-width:400px;
}
#account_login_wrapper {
    position:relative;
    z-index:1;
}
#login_data {
    float:left;
}
#loans_logout {
    float:right;
}
.clear {
    display:block;
    clear:both;
}
#account_login_wrapper.loading:before {
    content:'';
    display:block;
    z-index:2;
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(255, 255, 255, 0.9) url('/lk/loader.gif') center no-repeat;
}
#account_login_wrapper.loading::after {
    content: 'Подождите, выполняется запрос';
    z-index: 3;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    box-sizing: border-box;
    margin-top: 10px;
    text-align: center;
    font: 700 16px PFDinDisplyaPro;
    padding: 10px 0;
    vertical-align: middle;
    color: #3f4447;
}
.input.error {
    border-color:#d11;
}
#account_login_wrapper .info {
    display:none
}
#account_login_wrapper .error + .info {
    display:block;
    color:#d11;
}
.alert-danger {
    background:#d11;
    color:#fff;
    padding:10px 20px;
    margin:10px 0;
}
.alert-success {
    background:#1d1;
    color:#fff;
    padding:10px 20px;
    margin:10px 0;
}
#empty_loans {
    font: 700 16px PFDinDisplyaPro;
    padding: 10px 0;
    vertical-align: middle;
    color: #3f4447;
}
#loans_list {
	clear: both;
    padding:0;
    margin:20px 0;
}
.amount {
    width: 100%;
    max-width:120px;
    height: 32px;
    padding: 0px 10px;
    border:1px solid #999;
    font-size:16px;
}
.amount:focus {
    border:1px solid #3f4447;
}
#loans_list li{
    padding:0;
}
#loans_list li.header > div {
    font: 700 16px PFDinDisplyaPro!important;
    padding: 0 10px 0 10px!important;
    vertical-align: middle!important;
    color: #3f4447!important;
    background: #fff!important;
    height:32px!important;
}
#loans_list li:before {
    display:none;
}
#loans_list li > div:not(.alert) {
    float:left;
    padding:10px;
    height:54px;
    font: 14px PFDinDisplyaPro;
    text-align: left;
    color: #3f4447;
    background: #ebecec;
}
#loans_list li > div span {
    line-height:32px;
    display:inline-block;
    vertical-align: middle;
}
#loans_list li:after {
    content:'';
    display:block;
    clear:both;
}
#loans_list .loan_number {
    width:30%;
    text-align:left;
}
#loans_list .loan_date {
    width:20%;
    text-align:left;
}
#loans_list .loan_amount {
    width:20%;
    text-align:left;
}
#loans_list .loan_action {
    width:30%;
    text-align:right;
}
#loans_list .alert {
    width:100%;
    display:none;
}
.paylink {
    font: 18px/32px PFDinDisplyaPro;
    display: inline-block;
    height: 32px;
    padding: 0 28px;
    transition: background .2s linear;
    text-align: center;
    text-decoration: none;
    color: #3f4447;
    background: #fd0;
}

#payment_response {
    min-width:300px;
    box-sizing:border-box;
    padding:30px;
    text-align:center;
}
#close_payment_response {
    font: 18px/32px PFDinDisplyaPro;
    display: inline-block;
    padding: 10px 28px;
    transition: background .2s linear;
    text-align: center;
    text-decoration: none;
    color: #3f4447;
    background: #fd0;
    margin: 20px auto;
}
#payment_response .alert {
    font: 20px/24px PFDinDisplyaPro;
    margin-bottom:20px;
}
#payment_response .alert.success {
    color: #18d718;
}
#payment_response .alert.error {
    color: #d11;
}

.payment-cards {
}

.payment-cards img {
	margin-right: 10px;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 10px;
    overflow: hidden;
	float: left;
	margin-bottom: 7px;
}

.payment-cards img:hover, .payment-cards img.active {
	border-color: orange;
}

@media (max-width:600px)
{
    #loans_logout {
        float:none;
    }
    #loans_list .loan_number {
        width:50%;
        text-align:center;
        padding:0px 10px;
        height: 40px;
    }
    #loans_list .loan_date {
        width:50%;
        text-align:center;
        padding:0px 10px;
        height: 40px;
    }
    #loans_list .loan_amount {
        width:50%;
        text-align:center;
        padding:0px 10px;
        height: 40px;
    }
    #loans_list .loan_action {
        width:50%;
        text-align:center;
        padding:0px 10px;
        height: 40px;
    }
    #loans_list li.header .loan_amount,
    #loans_list li.header .loan_action {
        display:none;
    }
}