.logo-b64 {
    margin-bottom: 30px;
}
.logo-b64 a {
    display: block;
    text-indent: -9999px;
    -webkit-transform: scale(.7);
    -ms-transform: scale(.7);
    transform: scale(.7);
    height: 120px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 120px;
}
body {
    /*background: url(../img/parallax/back.png);*/
    background-color: #e8ecef;
    background: url(../../img/parallax/pinlayer2.png), url(../../img/parallax/pinlayer1.png), #e8ecef;
}

.vertical-offset-100 {
    padding-top: 100px;
}
    @media (min-width: 0px) and (max-width: 900px) {
        .vertical-offset-100 {
            padding-top: 0;
        }
    }

.input {
    display: inline-block;
    width: 100%;
    height: 60px;
    border: 1px solid #d7dee5;
    outline: 0;
    border-radius: 1px;
    font-size: 16px;
    font-weight: 400;
    font-family: "Open Sans", sans-serif;
    color: #4a494a;
    padding: 0 20px;
    box-sizing: border-box;
    -webkit-transition: .1s all linear;
    transition: .1s all linear;
}
.input.focused {
    box-shadow: 0 0 9px 0 rgba(131,146,147,.35);
}
.input.err {
    box-shadow: 0 0 5px 0 rgba(255,0,0,.68);
    color: rgba(196,3,3,.76);
}
.form-modal .for-row label.top-label {
    position: absolute;
    top: 20px;
    left: 21px;
    -webkit-transition: .1s all linear;
    transition: .1s all linear;
    cursor: text;
    font-size: 14px;
    font-weight: 300;
    font-family: "Open Sans",sans-serif;
    color: #b0afb0;
    opacity: 1;
}
.form-modal .for-row.active label.top-label{
    top: 6px;
    opacity: .7;
    font-size: 12px;
    font-weight: 400;
    color: #545454;
}
input.input:-webkit-autofill + .top-label{
    top: 6px;
    opacity: .7;
    font-size: 12px;
    font-weight: 400;
    color: #545454;
}
.input.err+.top-label {
    color: rgba(196,3,3,.76);
}
.form-modal .for-row {
    position: relative;
    margin: 0 auto 15px;
    text-align: center;
}
.form-modal .for-row {
    margin-bottom: 25px;
}

.form-modal .for-row__promo {
    margin-bottom: 0;
}

.for-row__promo .top-label {
    display: none;    
}

.for-row__promo .input__promo {
    display: none;
}

.form-modal .for-links {    
    margin-bottom: 4px;
    text-align: right;
    position: relative;
    top: -15px;
}

@media(max-width: 470px) {
    .form-modal .for-links {
        margin-top: 10px;
        margin-bottom: 0;
        text-align: left;
    }
}

.form-modal .for-links a {
    font-size: 12px;
    color: #666766;
    text-decoration: underline;
    font-weight: 400;
    line-height: 19px;
}
.form-modal .for-links a:hover{
    text-decoration: none;
}

.form-modal__accept {
    color: #666766;
    font-size: 12px;
    margin-bottom: 25px;
}

.form-modal__accept a {
    cursor: pointer;
}

.form-modal .for-submit__button {
    margin-bottom: 15px;
}

.for-remember {
    margin-top: -7px;
    position: relative;
    z-index: 2;
    display: inline-block;
}
.for-remember label {
    font-size: 12px;
    color: #666766;
    font-weight: 400;
}
.button-green.square {
    border-radius: 1px;
    width: 100%;
    height: 59px;
    line-height: 56px;
    font-size: 16px;
}
.button-green {
    display: inline-block;
    height: 32px;
    line-height: 29px;
    margin: 0;
    padding: 0 15px;
    outline: 0;
    border-width: 2px;
    border-style: solid;
    border-radius: 28px;
    font-family: "Open Sans",sans-serif;
    font-size: .75rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-transition: all .3s;
    transition: all .3s;
    box-sizing: border-box;
    cursor: pointer;
    white-space: nowrap;
    border-color: #75c593;
    background-color: #75c593;
}
.button-green:hover {
    border-color: #40A264;
    background-color: #40A264;
    color: #fff;
}

.form-modal .form-title {
    color: #1c2b36;
    font-size: 36px;
    font-weight: 400;
    font-family: 'Ubuntu Condensed', sans-serif;
    text-align: center;
    margin-bottom: 30px;
}

.form-modal {
    padding: 8px 30px 5px;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0px 10px 40px 0px rgba(0,0,0,0.05);
}

.form-modal .logo-b64{
    margin-bottom: 0px;
}

.form-modal .alert {
    margin-top: 20px;
}

.animation{
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
}

@-webkit-keyframes flipInX {
    0% {
        -webkit-transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }
    40% {
        -webkit-transform: perspective(400px) rotateX(-10deg);
    }
    70% {
        -webkit-transform: perspective(400px) rotateX(10deg);
    }
    100% {
        -webkit-transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
}
@keyframes flipInX {
    0% {
        transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }
    40% {
        transform: perspective(400px) rotateX(-10deg);
    }
    70% {
        transform: perspective(400px) rotateX(10deg);
    }
    100% {
        transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
}
.flipInX {
    -webkit-backface-visibility: visible !important;
    -webkit-animation-name: flipInX;
    backface-visibility: visible !important;
    animation-name: flipInX;
}

.popup-auth {
    display: none;
    min-width: 100%;
    min-height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
    z-index: 500;
}

.popup-auth__blur {
    background: rgba(0,0,0,.7);
    position: fixed;
    min-width: 100%;
    min-height: 100%;
    cursor: pointer;
}

.popup-auth__inner {
    position: relative;
    background: white;
    padding: 50px;
    padding-bottom: 100px;
    width: 80%;
    margin: 0 auto;
    margin-top: 5%;
    color: #4D4D4D;
    box-sizing: border-box;
}

@media(max-width: 768px) {
    .popup-auth__inner {
        margin-top: 0;
        width: 100%;
        padding: 20px;
        padding-bottom: 100px;
    }
}

.popup-auth__inner h2 {
    font-size: 36px;
    line-height: 42px;
    margin-bottom: 20px;
    color: #4D4D4D; 
}

@media(max-width: 768px) {
    .popup-auth__inner h2 {
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 10px;
    }
}

.popup-auth__inner h3 {
    font-size: 24px;
    line-height: 30px;
    margin: 30px 0;
}

@media(max-width: 768px) {
    .popup-auth__inner h3 {
        font-size: 20px;
        line-height: 24px;
        margin: 20px 0;
    }
}

.popup-auth__inner div p {
    margin-bottom: 20px;
}

@media(max-width: 768px) {
    .popup-auth__inner p {
        font-size: 14px
    }
}

.popup-auth__close {
    position: absolute;
    width: 25px;
    height: 25px;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.popup-auth__close::before,
.popup-auth__close::after {
    position: absolute;
    top: 50%;
    content: '';
    width: 100%;
    height: 2px;
    background: grey;
}

.popup-auth__close::before {
    transform: rotate(45deg);
}

.popup-auth__close::after {
    transform: rotate(-45deg); 
}