﻿body {
    /*background: #f7fafc;*/
    margin: 0 !important;
    background-image: url("../images/bg4.jpg");
    background-repeat: no-repeat, no-repeat;
    background-position: center center, center center;
    background-size: cover, cover;
    padding: 0 !important;
}

.outer {
    display: table;
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.middle {
    display: table-cell;
    vertical-align: middle;
}

.inner {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    max-width: 400px;
    width: calc(100% - 40px);
    padding: 44px;
    margin-bottom: 28px;
    background-color: #fff;
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    min-width: 320px;
    min-height: 338px;
    overflow: hidden;
    border-radius: 3px;
}

.logo {
    height: 24px;
    vertical-align: middle;
}

.title {
    color: #404040;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
}

.weui-cells{
    overflow: inherit;
}

.weui-cells:before {
    border-top: 0;
}

.weui-cells:after {
    border-bottom: 0;
}

.weui-cell {
    padding: 0;
}

.weui-cell:before {
    border-top: 0;
}

.weui-cell__hd {
    font-size: 14px;
}

.weui-cell__bd:before {
    left: 29px;
    right: 0;
    bottom: 0;
    content: "\00a0";
    position: absolute;
    transition: border-bottom-color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    border-bottom: 1px solid #e5e5e5;
    pointer-events: none;
}

.weui-cell__bd:after {
    left: 29px;
    right: 0;
    bottom: 0;
    content: "";
    position: absolute;
    transform: scaleX(0);
    transition: transform 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms;
    border-bottom: 2px solid #2194E0;
    pointer-events: none;
}

.weui-cell__bd.active:after {
    transform: scaleX(1);
}

.weui-input {
    color: #353535 !important;
    font-size: 14px;
    margin-left: 15px;
    padding: 15px 0;
    height: auto;
    line-height: unset;
    -webkit-appearance: none;
}

#imgVerify {
    position: absolute;
    right: 0;
}

.parsley-errors-list {
    margin-left: 15px;
}

#tip {
    margin-left: 29px;
    font-size: 13px;
    height: 21px;
}

.checkbox {
    margin-top: 15px;
    margin-left: 29px;
}

.radio label, .checkbox label {
    font-size: 12px;
}

.c-checkbox span, .c-radio span {
    width: 14px;
    height: 14px;
    margin-top: 3px;
}

.c-checkbox span:before, .c-radio span:before {
    line-height: 14px;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    overflow: visible;
    z-index: 99;
    clear: both;
    background-color: rgba(0, 0, 0, 0.6);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#99000000', endColorstr='#99000000');
}

.footer span, .footer a {
    color: #fff;
    font-size: 12px;
    line-height: 28px;
    white-space: nowrap;
    display: inline-block;
    margin-left: 8px;
    margin-right: 8px;
}

a:not(:hover) {
    text-decoration: none;
}

.ime {
    -ms-ime-mode: disabled;
    ime-mode: disabled;
}

.btn-login {
    min-width: 100px;
    padding: 6px 20px;
    text-align: center;
    text-decoration: none;
    color: #2194E0;
    border: 2px solid #2194E0;
    font-size: 14px;
    display: inline-block;
    border-radius: 3px;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
    float: right;
    letter-spacing: 3px;
    user-select: none;
}

.btn-login:before {
    content: "";
    background-color: rgba(255, 255, 255, 0.5);
    height: 100%;
    width: 3em;
    display: block;
    position: absolute;
    top: 0;
    left: -4.5em;
    transform: skewX(-45deg) translateX(0);
    transition: none;
}

.btn-login:hover {
    background-color: #2194E0;
    color: #fff;
    border-bottom: 4px solid darken(#2194E0, 10%);
    cursor: pointer;
}

.btn-login:hover:before {
    transform: skewX(-45deg) translateX(13.5em);
    transition: all 0.5s ease-in-out;
}

@keyframes sheen {
    0% {
        transform: skewY(-45deg) translateX(0);
    }
    100% {
        transform: skewY(-45deg) translateX(12.5em);
    }
}