/*LOGIN*/
section {
    font-family: ;
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

section .container {
    position: relative;
    width: 800px;
    height: 500px;
    background: #fff;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

section .container .user {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
}

section .container .user .imgBx {
    position: relative;
    width: 50%;
    height: 100%;
    background: white;
    transition: 0.5s;
}

section .container .user .imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section .container .user .formBx {
    position: relative;
    width: 50%;
    height: 100%;
    background-color:#fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    transition: 0.5s;
}

section .container .user .formBx form .signup {
    position: relative;
    margin-top: 20px;
    font-size: 14px;
    letter-spacing: 1px;
    color: #444;
}

section .container .user .formBx form .signup a {
    font-weight: 600;
    text-decoration: none;
    color: #c7007c;
}

section .container .signupBx {
    pointer-events: none;
}

section .container.active .signupBx {
    pointer-events: initial;
}

section .container .signupBx .formBx {
    left: 100%;
}

section .container.active .signupBx .formBx {
    left: 0;
}

section .container .signupBx .imgBx {
    left: -100%;
}

section .container.active .signupBx .imgBx {
    left: 0%;
}

section .container .signinBx .formBx {
    left: 0%;
}

section .container.active .signinBx .formBx {
    left: 100%;
}

section .container .signinBx .imgBx {
    left: 0%;
}

section .container.active .signinBx .imgBx {
    left: -100%;
}

@media (max-width: 991px) {
    section .container {
        max-width: 400px;
    }

    section .container .imgBx {
        display: none;
    }

    section .container .user .formBx {
        width: 100%;
    }
}

.form-group-login{
    margin-bottom: 2rem !important;
}

.title-logins h1 {
    display: inline-flex;
    align-items: center;
    font-size: 24px !important;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0 !important;
    /*    line-height: 1;*/
    position: relative;
    /*    top: -10px;*/
}

.title-logins h1::after {
    content: '';
    width: 33px;
    height: 3px;
    background-color: blue;
    border-radius: 4px;
    margin-left: 10px;
}

.title-logins h1::before {
    content: '';
    width: 33px;
    height: 3px;
    background-color: blue;
    border-radius: 4px;
    margin-right: 10px;
}

/* MATERIAL DESIGNS FORMS*/
.form-radio,
.form-checkbox,
.form-group {
    position: relative;
    margin: 1rem;
}

.form-inline > .form-group,
.form-inline > .btn {
    display: inline-block;
    margin-bottom: 0;
}

.form-help {
    margin-top: 0.125rem;
    margin-left: 0.125rem;
    color: #b3b3b3;
    font-size: 0.8rem;
}
.checkbox .form-help, 
.form-radio .form-help, 
.form-group .form-help {
    position: absolute;
    width: 100%;
}
.checkbox .form-help {
    position: relative;
    margin-bottom: 1rem;
}
.form-radio .form-help {
    padding-top: 0.25rem;
    margin-top: -1rem;
}

.form-group input {
    height: 1.9rem;
}
.form-group textarea {
    resize: none;
}
.form-group select {
    width: 100%;
    font-size: 1rem;
    height: 1.6rem;
    padding: 0.125rem 0.125rem 0.0625rem;
    background: none;
    border: none;
    line-height: 1.6;
    box-shadow: none;
}

.form-group .control-label{
    position: absolute;
    top: -0.5rem;
    pointer-events: none;
    padding-left: 0.125rem;
    z-index: 1;
    font-size: 15px;
    color: brown;
    font-weight: normal;
    transition: all 0.28s ease;
}
.form-group .bar {
    position: relative;
    border-bottom: 0.0625rem solid #999;
    display: block;
}
.form-group .bar::before {
    content: "";
    height: 0.125rem;
    width: 0;
    left: 50%;
    bottom: -0.0625rem;
    position: absolute;
    background: yellow;
    transition: left 0.28s ease, width 0.28s ease;
    z-index: 2;
}
.form-group input,
.form-group textarea {
    display: block;
    background: none;
    padding: 0.125rem 0.125rem 0.0625rem;
    font-size: 15px;
    color: rgba(0,0,0, 0.75);
    border-width: 0;
    border-color: transparent;
    line-height: 1.9;
    width: 100%;
    transition: all 0.28s ease;
    box-shadow: none;
}
.form-group input::-webkit-input-placeholder,
.form-group textarea::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    visibility: hidden;
}
.form-group input::-moz-placeholder,
.form-group textarea::-moz-placeholder {
    /* Firefox 19+ */
    visibility: hidden;
}
.form-group input:-ms-input-placeholder,
.form-group textarea:-ms-input-placeholder {
    /* IE 10+ */
    visibility: hidden;
}
.form-group input:-moz-placeholder,
.form-group textarea:-moz-placeholder {
    /* Firefox 18- */
    visibility: hidden;
}
.form-group input:focus::-webkit-input-placeholder,
.form-group textarea:focus::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    visibility: visible;
}
.form-group input:focus::-moz-placeholder,
.form-group textarea:focus::-moz-placeholder {
    /* Firefox 19+ */
    visibility: visible;
}
.form-group input:focus:-ms-input-placeholder,
.form-group textarea:focus:-ms-input-placeholder {
    /* IE 10+ */
    visibility: visible;
}
.form-group input:focus:-moz-placeholder,
.form-group textarea:focus:-moz-placeholder {
    /* Firefox 18- */
    visibility: visible;
}
.form-group input[type=file] {
    line-height: 1;
}
.form-group input[type=file] ~ .bar {
    display: none;
}
.form-group input:invalid ~ .input-error {
    display: block;
}
.form-group select,
.form-group input:focus,
.form-group input:valid,
.form-group input.form-file,
.form-group input.has-value,
.form-group textarea:focus,
.form-group textarea:valid,
.form-group textarea.form-file,
.form-group textarea.has-value {
    color: rgba(0,0,0, 0.5);
}
.form-group select ~ .control-label,
.form-group input:focus ~ .control-label,
.form-group input:valid ~ .control-label,
.form-group input.form-file ~ .control-label,
.form-group input.has-value ~ .control-label,
.form-group textarea:focus ~ .control-label,
.form-group textarea:valid ~ .control-label,
.form-group textarea.form-file ~ .control-label,
.form-group textarea.has-value ~ .control-label {
    font-size: 15px;
    color: brown;
    top: -1.5rem;
    left: 0;
}
.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
}
.form-group select:focus ~ .control-label,
.form-group input:focus ~ .control-label,
.form-group textarea:focus ~ .control-label {
    color: brown;
}
.form-group select:focus ~ .bar::before,
.form-group input:focus ~ .bar::before,
.form-group textarea:focus ~ .bar::before {
    width: 100%;
    left: 0;
}

.checkbox label,
.form-radio label {
    font-size: 15px;
    position: relative;
    cursor: pointer;
    padding-left: 2rem;
    text-align: left;
    color: rgba(0,0,0, 0.5);
    display: block;
    line-height: 1.2;
}
.checkbox input,
.form-radio input {
    width: auto;
    opacity: 1e-8;
    position: absolute;
    left: 0;
}

.radio {
    margin-bottom: 1rem;
}
.form-radio h5{
    color: brown;
    font-size: 15px;
    font-weight: 400;
    padding-bottom: 15px;
    margin: 0;
}
.radio .helper {
    position: absolute;
    top: -0.25rem;
    left: -0.25rem;
    cursor: pointer;
    display: block;
    font-size: 1rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #999;
}
.radio .helper::before, .radio .helper::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    margin: 0.25rem;
    width: 1rem;
    height: 1rem;
    transition: transform 0.28s ease;
    border-radius: 50%;
    border: 0.125rem solid currentColor;
}
.radio .helper::after {
    transform: scale(0);
    background-color: brown;
    border-color: brown;
}
.radio label:hover .helper {
    color: brown;
}
.radio input:checked ~ .helper::after {
    transform: scale(0.5);
}
.radio input:checked ~ .helper::before {
    color: brown;
}

.checkbox {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.checkbox .helper {
    color: #999;
    position: absolute;
    top: 0;
    left: 0;
    width: 1rem;
    height: 1rem;
    z-index: 0;
    border: 0.125rem solid currentColor;
    border-radius: 0.0625rem;
    transition: border-color 0.28s ease;
}
.checkbox .helper::before, 
.checkbox .helper::after {
    position: absolute;
    height: 0;
    width: 0.2rem;
    background-color: brown;
    display: block;
    transform-origin: left top;
    border-radius: 0.25rem;
    content: "";
    transition: opacity 0.28s ease, height 0s linear 0.28s;
    opacity: 0;
}
.checkbox .helper::before {
    top: 0.65rem;
    left: 0.38rem;
    transform: rotate(-135deg);
    box-shadow: 0 0 0 0.0625rem #fff;
}
.checkbox .helper::after {
    top: 0.3rem;
    left: 0;
    transform: rotate(-45deg);
}
.checkbox label:hover .helper {
    color: brown;
}
.checkbox input:checked ~ .helper {
    color: brown;
}
.checkbox input:checked ~ .helper::after, 
.checkbox input:checked ~ .helper::before {
    opacity: 1;
    transition: height 0.28s ease;
}
.checkbox input:checked ~ .helper::after {
    height: 0.5rem;
}
.checkbox input:checked ~ .helper::before {
    height: 1.2rem;
    transition-delay: 0.28s;
}
.radio + .radio,
.checkbox + .checkbox {
    margin-top: 1rem;
}