.login1.login {
    background: url(/assets/media/footer_100.png), url(/assets/media/background_85.png);
    background-size: 100%, cover;
    background-position: bottom center, top left;
    background-repeat: no-repeat, no-repeat;
    height: 100vh;
    width: 100vw;
}

.login-token-bg {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: 9;
    background: url(/assets/image/pen-usb.gif) center center;
    background-size: cover;
}

.login2.login {
    height: 100vh;
    width: 100vw;
    background: #a2baac;
    background: url(http://1.bp.blogspot.com/-g4O7UaMRXXk/T885O0BBckI/AAAAAAAAevY/2y59J48H6y4/s1600/Elefante-en-la-Selva-Fondos-de-Pantalla-de-Animales.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.login1.login > div:nth-child(1),
.login2.login > div:nth-child(1) {
    background: #fff;
    padding: 0 20px;
}

.login1.login > div:nth-child(2),
.login2.login > div:nth-child(2) {
    background: transparent;
    text-align: center;
    padding-top: 50px;
}

.login1.login > div:nth-child(3),
.login2.login > div:nth-child(3) {
    background: transparent;
    padding: 5px;
}

.login1.login .logo img,
.login2.login .logo img {
    max-height: 60px;
    margin-right: 2rem;
}

.login1.login .login-box {
    background-color: rgba(0, 0, 0, .4);
    border-radius: 3px;
    height: auto;
    margin: 0 auto;
    display: inline-block;
    vertical-align: middle;
    width: 513px;
    border: 1px solid #666;
    padding: 20px 85px;
}

.login2.login .login-box {
    background-color: rgba(0, 0, 0, .4);
    border-radius: 3px;
    height: auto;
    margin: 0 auto;
    display: inline-block;
    vertical-align: middle;
    width: 513px;
    border: 1px solid #666;
    padding: 50px 89px;
}

.login1 .login-box form,
.login2 .login-box form {
    max-width: 370px;
}

.login1 .login-box .form-group,
.login2 .login-box .form-group {
    margin: 0 auto 12px;
}

.login1 .login-box input,
.login2 .login-box input {
    height: 35px;
    border: 0 !important;
    color: #8b8b8b;
    float: left;
    font-size: 20px;
    text-align: left;
    padding-left: 5px;
}

.login1 .login-box input::placeholder,
.login2 .login-box input::placeholder {
    text-transform: initial;
}

.login1 .login-box .btn-login,
.login2 .login-box .btn-login {
    background-color: #008446;
    border-radius: 5px;
    margin-left: 0;
    height: 35px !important;
    width: 40%;
    border: none;
    line-height: 35px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 1px 3px #000;
    text-transform: uppercase;
    position: relative;
}

.login1 .login-box .btn-login::before,
.login2 .login-box .btn-login::before {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #005830;
    width: 0;
    border-radius: 5px;
    transition: width 200ms;
    z-index: 1;
}

.login1 .login-box .btn-login::after,
.login2 .login-box .btn-login::after {
    font-family: inherit;
    content: "\0110\0102NG NH\1EACP";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    color: #fff;
    z-index: 2;
}

.login1 .login-box .btn-login:hover:before,
.login2 .login-box .btn-login:hover:before {
    width: 100%;
}

.login1 .login-box img,
.login2 .login-box img {
    border-top-right-radius: 0.42rem;
    border-bottom-right-radius: 0.42rem;
    max-width: 150px;
}

.login1 .logo h3,
.login2 .logo h3 {
    font-size: 1.7em;
    color: #1a714c;
    font-weight: bold;
    line-height: 52px;
}

.login1.login .header-text,
.login2.login .header-text {
    line-height: 52px;
    color: #008446;
    font-size: 20px;
    font-weight: 400;
}

.login1.login .main-text,
.login2.login .main-text {
    letter-spacing: 5px;
    text-transform: uppercase;
    font-size: 2rem;
    color: #fff;
    text-shadow: 0 0 2px #3A3134;
    -webkit-text-stroke: 1px #3A3134;
}

.login1.login .main-text img,
.login2.login .main-text img {
    max-width: 64%;
}

@media (max-width: 700px) {
    .login1 .logo h3,
    .login2 .logo h3 {
        line-height: 2rem;
        padding: 5px;
    }

    .login1.login .header-text, .login2.login .header-text {
        font-size: 1rem;
    }

    .login1.login .btn-theme, .login2.login .btn-theme {
        position: absolute;
        top: 10px;
    }

    .login1.login .main-text img, .login2.login .main-text img {
        max-width: 98%;
    }

    .login1.login .login-box {
        max-width: 95%;
    }

    .login1 .login-box img, .login2 .login-box img {
        max-width: 100%;
    }

    .login1 .login-box .btn-login, .login2 .login-box .btn-login {
        width: 100%;
    }
}

.box {
    display: flex;
    height: 100%;
    width: 100%;
    position: fixed;
    /*margin:0 -4px -5px -2px;*/
    transition: all .2s ease;
    z-index: 999;
    background: url(/assets/media/footer_70_3.png), url(/assets/media/background.png);
    background-size: contain, cover;
    background-repeat: no-repeat, no-repeat;
    background-position: bottom, center;
    background-color: rgb(151, 196, 186);

    justify-content: center;
    align-items: center;
}

/* MEDIA QUERIES */
@media (max-width: 700px) {
    .box {
        width: 50%;
        background-color: rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 420px) {
    .box {
        width: 100%;
        background-color: rgba(0, 0, 0, 0.05);
    }

}

#preloader_1 {
    position: relative;
}

#preloader_1 span {
    display: block;
    bottom: 0px;
    width: 9px;
    height: 5px;
    background: #9b59b6;
    position: absolute;
    animation: preloader_1 1.5s infinite ease-in-out;
}

#preloader_1 span:nth-child(2) {
    left: 11px;
    animation-delay: .2s;

}

#preloader_1 span:nth-child(3) {
    left: 22px;
    animation-delay: .4s;
}

#preloader_1 span:nth-child(4) {
    left: 33px;
    animation-delay: .6s;
}

#preloader_1 span:nth-child(5) {
    left: 44px;
    animation-delay: .8s;
}

@keyframes preloader_1 {
    0% {
        height: 5px;
        transform: translateY(0px);
        background: #9b59b6;
    }
    25% {
        height: 30px;
        transform: translateY(15px);
        background: #3498db;
    }
    50% {
        height: 5px;
        transform: translateY(0px);
        background: #9b59b6;
    }
    100% {
        height: 5px;
        transform: translateY(0px);
        background: #9b59b6;
    }
}

body {
    background: #f7edd5;
}

section#formHolder {
    padding: 50px 0;
}

.hero-flower {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-flower img {
    max-width: 100%;
}

.jump-reverse-img, .jump-img, .jump-reverse, .jump {
    animation: jumpping 6s infinite linear;
}

@keyframes jumpping {
    0%, 100% {
        transform: translate3d(0, 0, 0)
    }

    40% {
        transform: translate3d(0, var(--jump-y, 20px), var(--jump-x, 0))
    }
}

.brand {
    padding: 20px;
    background-size: cover;
    background-position: center center;
    color: #fff;
    min-height: 540px;
    position: relative;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(1, -0.375, 0.285, 0.995);
    z-index: 9999;
    text-align: center;
}

.brand.active {
    width: 100%;
}

.brand::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #fde5d8;
    background-image: url("/images/pages/testi-bg-1-1.png");
    z-index: -1;
}

.brand a.logo {
    color: #f95959;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1em;
}

@media(max-width: 767px) {

    .brand a.logo {
        font-size: 16px;
    }
}

.brand a.logo span {
    font-size: 30px;
    color: #fff;
    transform: translateX(-5px);
    display: inline-block;
}

.brand .heading {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    transition: all 0.6s;
    width: 100%;
    text-shadow: 3px 2px 0 #fff;
}

.brand .heading.active {
    top: 100px;
    left: 100px;
    transform: translate(0);
}

.brand .heading h2 {
    font-size: 50px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
}

.brand .heading p {
    font-size: 20px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: normal;
    font-family: "Raleway", sans-serif;
}

.brand .success-msg {
    width: 100%;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 60px;
}

.brand .success-msg p {
    font-size: 25px;
    font-weight: 400;
    font-family: "Raleway", sans-serif;
}

.brand .success-msg a {
    font-size: 20px;
    text-transform: uppercase;
    padding: 8px 30px;
    background: #f95959;
    text-decoration: none;
    color: #fff;
    border-radius: 30px;
}

.brand .success-msg p, .brand .success-msg a {
    transition: all 0.9s;
    transform: translateY(20px);
    opacity: 0;
}

.brand .success-msg p.active, .brand .success-msg a.active {
    transform: translateY(0);
    opacity: 1;
}

.login-form {
    z-index: 9;
}

.form {
    position: relative;
}

.form .form-peice {
    background: #fff;
    min-height: 480px;
    margin-top: 30px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    color: #bbbbbb;
    padding: 30px 0 60px;
    transition: all 0.9s cubic-bezier(1, -0.375, 0.285, 0.995);
    position: absolute;
    top: 0;
    left: -30%;
    width: 130%;
    overflow: hidden;
}

.form .form-peice.switched {
    transform: translateX(-100%);
    width: 100%;
    left: 0;
}

.form form {
    padding: 0 40px;
    margin: 0;
    width: 70%;
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
}

.form form .form-group {
    margin-bottom: 35px;
    position: relative;
}

.form form .form-group.hasError input {
    border-color: #f95959 !important;
}

.form form .form-group.hasError label {
    color: #f95959 !important;
}

.form form label {
    font-size: 20px;
    font-weight: 400;
    font-family: Inter,Helvetica,sans-serif;
    transform: translateY(40px);
    transition: all 0.4s;
    cursor: text;
    z-index: -1;
}

.form form label.active {
    transform: translateY(10px);
    font-size: 20px;
}

.form form label.fontSwitch {
    font-family: "Raleway", sans-serif !important;
    font-weight: 600;
}

.form form input:not([type=submit]) {
    background: none;
    outline: none;
    border: none;
    display: block;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid #eee;
    color: #444;
    font-size: 20px;
    font-family: Inter,Helvetica,sans-serif;
    z-index: 1;
}

.form form input:not([type=submit]).hasError {
    border-color: #f95959;
}

.form form span.error {
    color: #f95959;
    font-family: Inter,Helvetica,sans-serif;
    font-size: 20px;
    position: absolute;
    bottom: -35px;
    right: 0;
    display: none;
}

.form form input[type=password] {
    color: #f95959;
}

.form form .CTA {
    margin-top: 30px;
}

.form form .CTA input {
    font-size: 20px; 
    padding: 15px 30px;
    background: #f95959;
    color: #fff;
    border-radius: 30px;
    margin-right: 20px;
    border: none;
    font-family: Inter,Helvetica,sans-serif;
}

.form form .CTA a.switch {
    font-size: 20px;
    font-weight: 400;
    font-family: Inter,Helvetica,sans-serif;
    color: #bbbbbb;
    text-decoration: underline;
    transition: all 0.3s;
}

.form form .CTA a.switch:hover {
    color: #f95959;
}

.deco-holder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
}

.deco {
    position: absolute;
}

.deco.image-1 {
    top: 20px !important;
    left: -50px !important;
    right: auto !important;
    bottom: auto !important;
}

.deco.image-2 {
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    left: auto !important;
}

.deco.image-3 {
    bottom: 50px !important;
    left: -40px !important;
    top: auto !important;
    right: auto !important;
}

.deco.image-4 {
    bottom: 40px !important;
    right: -30px !important;
    top: auto !important;
    left: auto !important;
}

.deco img {
    z-index: auto;
    width: 137px;
    height: 170px;
}

@media (max-width: 768px) {
    .container {
        overflow: hidden;
    }

    section#formHolder {
        padding: 0;
    }

    section#formHolder div.brand {
        min-height: 200px !important;
    }

    section#formHolder div.brand.active {
        min-height: 100vh !important;
    }

    section#formHolder div.brand .heading.active {
        top: 200px;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    section#formHolder div.brand .success-msg p {
        font-size: 20px;
    }

    section#formHolder div.brand .success-msg a {
        padding: 5px 30px;
        font-size: 20px;
    }

    section#formHolder .form {
        width: 80vw;
        min-height: 500px;
        margin-left: 10vw;
    }

    section#formHolder .form .form-peice {
        margin: 0;
        top: 0;
        left: 0;
        width: 100% !important;
        transition: all 0.5s ease-in-out;
    }

    section#formHolder .form .form-peice.switched {
        transform: translateY(-100%);
        width: 100%;
        left: 0;
    }

    section#formHolder .form .form-peice > form {
        width: 100% !important;
        padding: 60px;
        left: 50%;
    }
}

@media (max-width: 480px) {
    section#formHolder .form {
        width: 100vw;
        margin-left: 0;
    }

    h2 {
        font-size: 50px !important;
    }
}