*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

a,
a:visited,
a:hover,
.button-group a.button.active,
.button-group button.active {
    text-decoration: none;
    color: #2d72d9;
}

body {
    font-family: "Montserrat", sans-serif;
    overflow: hidden;
    font-size: 14px;
    color: rgb(51, 65, 82);
}
h2 {
    font-size: 25px;
    font-weight: 100;
}

.t-secondary {
    color: #757783;
}
.t-grey {
    color: rgba(0, 0, 0, 0.54) !important;
}
.t-red {
    color: red;
}
.text-right {
    text-align: right;
}
.is-12 {
    font-size: 12px;
}

/* Form Field */
.form-control {
    position: relative;
    border-bottom: 1px solid #eee;
    height: 43px;
    margin: 16px 0;
}
.form-control .material-icons {
    position: absolute;
    right: 8px;
    top: 14px;
    font-size: 20px;
    color: rgba(0, 0, 0, 0.1);
    background-color: #fff;
}
.form-control label {
    position: absolute;
    font-size: 13px;
    font-weight: 300;
    top: 14px;
    left: 0px;
    pointer-events: none;
    cursor: text;
    background-color: #fff;
    color: #757783;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}
.form-control input {
    height: 100%;
    padding: 10px 0px;
    width: 100%;
    border: none;
    font-size: 16px;
    color: #2d72d9;
    outline: none;
}
.form-control input:invalid {
    outline: none;
    box-shadow: none;
}
.form-control input:valid ~ label,
.form-control input:focus ~ label {
    top: -8px;
    font-size: 11px;
}
.form-control input:focus {
    outline: none;
    color: #2d72d9;
    padding-bottom: 8px;
}
.form-control input:focus ~ label {
    color: #757783;
}
.form-control.invalid {
    color: #d50000;
}
.form-control.invalid input:focus ~ label {
    color: #d50000;
}

/*
 * Keyframes
 */
@keyframes fadeInLeft {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.container {
    width: 90%;
    margin: 0 auto;
}

.content {
    width: 35%;
    height: 100vh;
    overflow: hidden;
    padding: 50px 20px;
    animation-name: fadeInLeft;
    animation-duration: 0.8s;
}
.content .logo {
    padding: 0 0 30px 0;
}
.content .heading {
    padding: 20px 0;
}

.image {
    width: 65%;
    height: 100vh;
    background-color: #333;
    animation-name: fadeInRight;
    animation-duration: 1.8s;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.image .overlay {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}
button,
a.button {
    background-color: #2d72d9;
    color: #fff;
    padding: 8px 0;
    margin: 8px 0;
    width: 200px;
    font-size: 15px;
    text-align: center;
    vertical-align: middle;
    line-height: 1.5;
    border-radius: 2px;
    outline: 0;
    font-weight: 300;
    letter-spacing: 0.4px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.2);
}
button.google,
a.button.google {
    background-color: #fff;
    color: rgb(51, 65, 82);
}
input {
    display: block;
    width: 100%;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgb(73, 80, 87);
    background-color: rgb(255, 255, 255);
    background-clip: padding-box;
    padding: 0.375rem 0.75rem;
    border-width: 2px;
    border-style: solid;
    border-color: rgb(221, 226, 236);
    border-image: initial;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out 0s,
        box-shadow 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s;
}
input.error {
    border-color: red;
}
input::placeholder {
    color: rgb(153, 153, 153) !important;
    font-size: 300;
}
input:focus {
    color: rgb(73, 80, 87);
    background-color: rgb(255, 255, 255);
    box-shadow: none;
    border-color: #2d72d9;
    outline: 0px;
}

.form-control {
    padding: 10px 0px;
}
.form-control .label {
    padding-bottom: 5px;
}
.form-control .label label {
    font-size: 14px;
    font-weight: 600;
}
.form-control .label .error {
    color: red;
}

.full-width {
    width: 100% !important;
}

.flex {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
}
.flex.isColumn {
    flex-direction: column !important;
    width: 100%;
}

.flex .alignHEnd {
    justify-content: flex-end !important;
}

.google-button {
    height: 40px;
    border-width: 0;
    background: #fff;
    color: rgba(0, 0, 0, 0.54);
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(58, 57, 71, 0.1);
    transition-property: background-color, box-shadow;
    transition-duration: 150ms;
    transition-timing-function: ease-in-out;
    padding: 0;
    cursor: pointer;
    width: 100%;
    border: 1px solid #eee;
}
.google-button__icon {
    display: inline-block;
    vertical-align: middle;
    margin: 8px 0 8px 8px;
    width: 18px;
    height: 18px;
    box-sizing: border-box;
}

.google-button__icon--plus {
    width: 27px;
}

.google-button__text {
    display: inline-block;
    vertical-align: middle;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 500;
}
.message {
    padding: 30px 20px;
    display: block;
    border-radius: 2px;
    background: #eee;
}

@media only screen and (max-width: 400px) {
    body {
        overflow: hidden;
        overflow-y: scroll;
    }
    .col-on-sm {
        flex-direction: column;
    }
    .content {
        width: 100%;
        overflow: visible;
        height: 100%;
    }
    .image {
        display: none;
    }
}
@media only screen and (max-width: 800px) {
    .content {
        width: 100%;
        overflow: visible;
        height: 100%;
    }
    .image {
        display: none;
    }
}
