#login>h1 {
    display: none!important
}

html, body {
    height: auto;
    position: relative;
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

input[type="checkbox"], input[type="radio"], input[type="text"]:focus, input[type="password"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="email"]:focus, input[type="month"]:focus, input[type="number"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="time"]:focus, input[type="url"]:focus, input[type="week"]:focus, input[type="checkbox"]:focus, input[type="radio"]:focus, select:focus, textarea:focus {
    box-shadow: none;
    outline: none;
}

.clp-login label {
    width: 100%
}

/* .clp-half {

} */

.clp-content {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}
.clp-content-half .clp-content::after {
    position: absolute;
    content: '';
    background: inherit;
    z-index: -1;
    bottom: 0px;
    left: -100%;
    width: 200%;
    height: 100%;
    transform-origin: center right;
}
/* .clp-skew-top-right .clp-content::after {
    transform-origin: top right;
} */


.login .clp-form-container input[type="text"], .login .clp-form-container input[type="password"] {
    padding: 0;
}

.clp-hide-rememberme .forgetmenot,
.clp-hide-privacy .privacy-policy-page-link  {
    display: none;
}

.clp-login .button.wp-hide-pw {
    padding: 0;
    height: initial;
    
}

.clp-hide-show-pw .wp-hide-pw {
    display: none!important;
}

.clp-hide-backtoblog #login #backtoblog {
    display: none!important;
}

.clp-hide-forgetpassword.can-register-0 #login #nav {
    display: none!important;
}

.clp-hide-forgetpassword.can-register-1 #login #nav a:not(:first-of-type) {
    display: none!important;
}

.clp-hide-register.can-register-1 #login #nav a:first-of-type {
    display: none!important;
}

.clp-hide-backtoblog #login #nav {
    margin-bottom: 1em;
}
.clp-hide-labels label:not(label[for=rememberme]) {
    display:none
}

.clp-form-container {
    padding: 0 20px;
    box-sizing: border-box;
    max-width: 100vw;
}

#login {
    max-width: 100vw;
    padding: unset;
    margin: auto;
    background: #fff;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: auto;
    align-items: center;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    font-size: inherit;
}


.login form {
    padding: 0;
    margin: 0;
    font-weight: 400;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
    margin: auto;
    width: 340px;
    max-width: 100%;
}

.clp-form-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
}


/* #login .login form {
    padding: 1em 0;
} */

.clp-login .message,
.clp-login #login_error {
    max-width: 100%;
    box-sizing: border-box;
}


.login-background, .login-overlay, .clp-background-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.login .button-primary {
    transition-property: border, color, background-color;
    transition-duration: 200ms;
    transition-timing-function: ease-in-out;
}

.login.wp-core-ui .button-primary:focus {
    box-shadow: none;
}


.input::placeholder {
    opacity: .7
}

#login form p.submit {
    margin: 10px 0 0 0;
}

.login .input.password-input {
    margin-bottom: 10px;
}

.login .clp-login-form-container form .input {
    text-indent: 5px;
}

#login a:focus {
    box-shadow: none;
    color: unset
}

.clp-background-wrapper {
    overflow: hidden;
}

.clp-background-blur:not(.clp-backgrouund-video) .login-background {
    transform: scale(1.1);
}

.clp-background-pattern .login-background {
    background-repeat: repeat;
}

.clp-background-image .login-background {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.clp-login-logo {
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 35px;
    position: relative;
}

.clp-login-logo a {
    text-decoration: none;
}

.clp-login-logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    margin: 0 auto;
}
.clp-default-logo img {
    width: 100%;

}

.clp-login.login #nav, .clp-login.login #backtoblog {
    padding: 0;
}

/* custom checkbox */
.login .button-primary, .login form .forgetmenot {
    float: none;
    margin: 10px 0 20px 0;
}
.forgetmenot {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 17px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.forgetmenot input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.forgetmenot input:checked ~ .checkmark:after {
    display: block;
}

.forgetmenot .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0!important;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* form footer alignment */

.form-footer-left #nav, .form-footer-left #backtoblog {
    text-align: left;
}

.form-footer-center #nav, .form-footer-center #backtoblog {
    text-align: center;
}

.form-footer-right #nav, .form-footer-right #backtoblog {
    text-align: right;
}

.login .privacy-policy-page-link {
    margin: 1em 0;
}

.privacy-policy-link {
    text-decoration: none;
}

.clp-page-footer {
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    align-items: center;
    box-sizing: border-box;
    min-width: 400px;
}

.clp-form-footer {
    max-width: 100%;
}

.clp-page-footer p {
    margin: 10px 0;
}

.clp-footer-content {
    flex: 10;
}
.clp-footer-content:empty {
    flex: 1;
}
.clp-footer-content.left {
    text-align: left;
}
.clp-footer-content.center {
    text-align: center;
}
.clp-footer-content.right {
    text-align: right;
}

/* customizer CSS */
.clp-customizer-actions-wrap {
    position: absolute;
    top: 10px;
    left: 50px;
}

.clp-customizer-form-footer {
    position: absolute;
    bottom: 0;
    right: -20px;
}

.clp-customize-icon {
    width: 35px;
    height: 50px;
    display: none;
}

.clp-login .customize-partial-edit-shortcut-button {
    display: none;
    width: 30px!important; 
    height: 30px!important; 
}

.clp-login #ast-mobile-popup-wrapper,
.clp-login #astra-mobile-cart-drawer {
    display: none;
}


body.clp-login:hover .clp-customize-icon, body.clp-login:hover .customize-partial-edit-shortcut-button {
    display: inline-block;
}

.login .message, .login .success, .login #login_error {
    box-shadow: none;
    background: initial;
}

.clp-page-footer-customizer {
    position: absolute;
    bottom: 40px;
    left: 40px;
}

.clp-footer-disabled .clp-page-footer {
    display: none;
}

/* 3rd party plugins */

#cookie-notice {
    display: none;
}

/* wpml */
body > .wpml-ls {
    display: none;
}

/* responsivness */

@media screen and (max-width:1024px) {
    .login #login {
        min-height: auto!important;
    }
    .login .clp-login-logo {
        margin: 1em auto!important;
    }

    .clp-content {
        min-width: 400px;
    }

    body.clp-content-half:not(.clp-content-skew):not(.clp-content-opaque) .clp-background-wrapper {
        left: 400px;
    }

    html {
        overflow: hidden;
    }


}

@media screen and (max-width:680px) {
    html {
        overflow: auto;
    }

    .clp-login-logo img {
        max-width: 85%!important;
    }
    .clp-content {
        min-width: 100%;
    }
    .clp-page-footer {
        min-width: 100%;
    }

    .clp-content-half .clp-background-wrapper {
        left: 0!important;
    }

    .clp-footer-content.left,
    .clp-footer-content.right {
        text-align: center;
    }

    .clp-form-container {
        margin: 0!important;
        padding: 0 10px;
        width: 100%;
    }

    .clp-page-footer {
        /* min-width: 400px; */
        display: block;
        position: relative;
    }

    /* disable skew on mobile devices */ 
    .clp-content-half .clp-content::after {
        display: none;
    }
}
@media screen and (max-width:460px) {
    .login #login {
        padding-left: 15px!important;
        padding-right: 15px!important;
    }
}
