@font-face {
    font-family: 'monako';
    src: url('../fonts/monako-webfont.woff2') format('woff2'),
    url('../fonts/monako-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body {
    margin: 0;
    color: #6a6f8c;
    background: #c8c8c8;
    font: 600 16px/18px 'Open Sans', sans-serif;
    height: 100%;
}

*, :after, :before {
    box-sizing: border-box
}

.clearfix:after, .clearfix:before {
    content: '';
    display: table
}

.clearfix:after {
    clear: both;
    display: block
}

a {
    color: inherit;
    text-decoration: none
}

#body {
    background-image: url("../images/blue-wallpaper.jpg");
    width: 100%;
    min-height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    position: relative;
    z-index: 1;
}

#dom {
    font-family: 'monako', 'Trebuchet MS', 'sans-serif';
    font-size: 55px;
    font-weight: normal;
    color: #ffffff;
    margin: 35px 0 60px -5px;

}

#body::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #4477ea;
    background: -webkit-linear-gradient(to bottom, #4477ea, #ffffff);
    background: -o-linear-gradient(to bottom, #4477ea, #ffffff);
    background: -moz-linear-gradient(to bottom, #4477ea, #ffffff);
    background: linear-gradient(to bottom, #4477ea, #ffffff);
    opacity: 0.9;

}

.login-wrap {
    width: 100%;
    margin: auto auto auto auto;
    max-width: 525px;
    min-height: 670px;
    position: relative;
    background: url(../images/trees.jpg) no-repeat center;
    box-shadow: 0 12px 15px 0 rgba(0, 0, 0, .24), 0 17px 50px 0 rgba(0, 0, 0, .19);
}

.error-wrap {
    width: 100%;
    margin: auto auto auto auto;
    max-width: 650px;
    min-height: 450px;
    position: relative;
    box-shadow: 0 12px 15px 0 rgba(0, 0, 0, .24), 0 17px 50px 0 rgba(0, 0, 0, .19);
}

.error-txt-dom {
    position: absolute;
    font-family: 'monako', 'Trebuchet MS', 'sans-serif';
    font-size: 160px;
    font-weight: normal;
    color: #ffffff;
    margin: 85px 0 60px -5px;
}

.error-txt {
    position: absolute;
    font-weight: normal;
    color: #ffffff;
}

.error-txt-dom {
    font-size: 120px;
    margin: 85px 0 60px 10px;
}

.error-txt-msg {
    font-size: 25px;
    margin: 185px 0 60px 15px;
    letter-spacing: 10px;
}

.error-txt-back {
    font-family: 'Space Mono', monospace;
    font-size: 25px;
    line-height: 35px;
    padding-top: 35px;
    color: #5a6082;
}

.login-html {
    width: 100%;
    height: 100%;
    position: absolute;
    padding: 50px 70px 50px 70px;
    background: rgba(40, 57, 101, .9);
}

.login-html .sign-in-htm,
.login-html .otp-htm {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: all .4s linear;
}

#otp-tab {
    margin-left: 0;
}


.login-html .sign-in,
.login-html .otp,
.login-form .group .check {
    display: none;
}

.login-html .tab,
.login-form .group .label,
.login-form .group .button {
    text-transform: uppercase;
}

.login-html .tab {
    font-size: 21px;
    padding-bottom: 5px;
    margin: 0 0 10px 0;
    display: inline-block;
    border-bottom: 2px solid transparent;
}

#sign-in-tab {
    margin-right: 30px;
}

.login-html .sign-in:checked + .tab,
.login-html .otp:checked + .tab {
    color: #fff;
    border-color: #1161ee;
}

.login-form {
    min-height: 285px;
    position: relative;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    margin-top: 10px;
}

.login-form .group {
    margin-bottom: 15px;
}

.login-form .group .label,
.login-form .group .input,
.login-form .group .button {
    width: 100%;
    color: #fff;
    display: block;
}

.login-form .group .input,
.login-form .group .button {
    border: none;
    padding: 15px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, .1);
}

.login-form .group input[data-type="password"] {
    /*text-security: circle;*/
    -webkit-text-security: circle;
}

.login-form .group .label {
    color: #aaa;
    font-size: 12px;
}

.login-form .group .button {
    background: #1161ee;
    -webkit-appearance: none;
}

input[type='text'],
input[type='password'] {
    font-size: 16px;
}

.login-form .group label .icon {
    width: 15px;
    height: 15px;
    border-radius: 2px;
    position: relative;
    display: inline-block;
    background: rgba(255, 255, 255, .1);
}

.login-form .group label .icon:before,
.login-form .group label .icon:after {
    content: '';
    width: 10px;
    height: 2px;
    background: #fff;
    position: absolute;
    transition: all .2s ease-in-out 0s;
}

.login-form .group label .icon:before {
    left: 3px;
    width: 5px;
    bottom: 6px;
    -webkit-transform: scale(0) rotate(0);
    transform: scale(0) rotate(0);
}

.login-form .group label .icon:after {
    top: 6px;
    right: 0;
    -webkit-transform: scale(0) rotate(0);
    transform: scale(0) rotate(0);
}

.login-form .group .check:checked + label {
    color: #fff;
}

.login-form .group .check:checked + label .icon {
    background: #1161ee;
}

.login-form .group .check:checked + label .icon:before {
    -webkit-transform: scale(1) rotate(45deg);
    transform: scale(1) rotate(45deg);
}

.login-form .group .check:checked + label .icon:after {
    -webkit-transform: scale(1) rotate(-45deg);
    transform: scale(1) rotate(-45deg);
}

.login-html .sign-in:checked + .tab + .otp + .tab + .login-form .sign-in-htm {
    -webkit-transform: rotate(0);
    transform: rotate(0);

}

.login-html .otp:checked + .tab + .login-form .otp-htm {
    -webkit-transform: rotate(0);
    transform: rotate(0);
}

.hr {
    height: 2px;
    margin: 60px 0 50px 0;
    background: rgba(255, 255, 255, .2);
}

.foot-lnk {
    text-align: center;
}

#otp-tab {
    display: none;
}

#lgerror {
    color: #ff2e2e;
}

input:focus {
    outline: none;
}

@media (max-width: 480px) {
    form#lg {
        margin-top: 30px;
    }
}
