/* Font: Neutrif Studio */
@font-face {
    font-family: 'Neutrif Studio';
    src: url('../fonts/Neutrif Studio Regular.ttf');
    font-weight: normal;
}

@font-face {
    font-family: 'Neutrif Studio';
    src: url('../fonts/Neutrif Studio Regular.ttf');
    font-weight: 400;
}

@font-face {
    font-family: 'Neutrif Studio';
    src: url('../fonts/Neutrif Studio Semi Bold.ttf');
    font-weight: 600;
}

@font-face {
    font-family: 'Neutrif Studio';
    src: url('../fonts/Neutrif Studio Bold.ttf');
    font-weight: 700;
}

/* Font: Nunito Sans */
@font-face {
    font-family: 'Nunito Sans';
    src: url('../fonts/NunitoSans-Regular.ttf');
    font-weight: normal;
}

@font-face {
    font-family: 'Nunito Sans';
    src: url('../fonts/NunitoSans-ExtraLight.ttf');
    font-weight: 200;
}

@font-face {
    font-family: 'Nunito Sans';
    src: url('../fonts/NunitoSans-Regular.ttf');
    font-weight: 400;
}

/* Styling */
.login {
    background: white;
}

/* Arrows */
.login .arrow-dash {
    background-image: url('../img/arrow-dash-gold.svg');
    display: inline-block;
    height: 8px;
    margin-left: 8px;
    transition: all 0.3s ease-in-out;
    width: 8px;
}

.login .arrow-head {
    background-image: url('../img/arrow-head-gold.svg');
    display: inline-block;
    height: 8px;
    margin-left: -6px;
    width: 8px;
}

.login .container {
    background: rgb(13, 12, 12);
    background: -moz-linear-gradient(0deg, rgba(13, 12, 12, 1) 0%, rgba(26, 25, 25, 1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(13, 12, 12, 1) 0%, rgba(26, 25, 25, 1) 100%);
    background: linear-gradient(0deg, rgba(13, 12, 12, 1) 0%, rgba(26, 25, 25, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0d0c0c",endColorstr="#1a1919",GradientType=1);
    min-height: 58vh;
}

.login .container .column {
    display: inline-block;
}

.login .container .column.right {
    margin-right: 40px;
    position: absolute;
    right: 0;
}

.login .container .cta {
    float: right;
    height: 120px;
}

.login .header .logo img {
    height: 120px;
}

.login .header .btn {
    border: 1px solid #b5a786;
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 1.62px;
    margin: 0 0 0 30px;
    padding: 10px 20px 10px 16px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    top: calc(50% - 22px);
}

.login .header .btn.btn-slide {
    background: linear-gradient(to right, #b5a786 50%, rgba(0, 0, 0, 0) 50%) 100% 0;
    background-size: 200% 100%;
    transition: all 0.3s ease-in-out;
}
.login .header .btn.btn-slide:hover {
    background-position: 0 0;
}

.login .header .btn img {
    height: 16px;
    margin-right: 6px;
    position: relative;
    top: 3px;
    width: 16px;
}

@media screen and (max-width: 600px) {
    .login .header .btn {
        margin: 0 0 0 20px;
        padding: 10px 15px;
    }

    .login .header .btn img {
        margin-right: 0;
    }

    .login .header .btn span {
        display: none;
    }
}

@media screen and (max-width: 396px) {
    .login .header .btn.phone {
        display: none;
    }
}

@media screen and (max-width: 320px) {
    .login .header .btn.email {
        display: none;
    }
}

@media screen and (max-height: 680px) {
    .login .header {
        display: none;
    }
}

#login {
    padding: 0;
    position: absolute;
    left: calc(50% - 240px);
    top: 50vh;
    transform: translateY(-50%) translate3d(0, 0, 0);
    width: 480px;
    z-index: 10;
}

@media screen and (max-width: 640px) {
    #lostpasswordform,
    #login {
        left: 0;
        height: 100vh;
        width: 100%;
    }
}

#login > h1 {
    display: none;
}

#login p.message,
#login #login_error {
    background-color: #1a1919;
    border-width: 1px;
    color: #ffffff;
    font-family: 'Neutrif Studio', sans-serif;
    padding: 15px 20px;
}

#login p.message {
}

#login #login_error a {
    color: #b5a786;
}

#lostpasswordform,
#loginform {
    background: #1a1919;
    border: none;
    box-shadow: none;
    margin: 0;
    padding: 50px;
}

#lostpasswordform {
    box-sizing: border-box;
    padding-bottom: 120px;
}

@media screen and (max-width: 640px) {
    #loginform {
        height: calc(100vh - 130px);
        padding: 30px 30px 50px 30px;
    }

    #loginform:before {
        background-image: url('../img/pn-logo.png');
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        content: '';
        display: block;
        height: auto;
        margin: 0 auto 30px auto;
        padding-top: 50%;
        width: 80%;
    }
}

@media screen and (max-height: 690px) {
    #loginform:before {
        display: none;
    }
}

#loginform > h1 {
    color: white;
    display: inline-block;
    font-family: 'Neutrif Studio', sans-serif;
    font-weight: normal;
    font-size: 24px;
    margin-bottom: 0;
}

#loginform > p {
    margin: 30px 0;
}

#loginform > .user-pass-wrap {
    margin: 30px 0;
}

#lostpasswordform label,
#loginform label {
    color: white;
    font-family: 'Neutrif Studio', sans-serif;
    font-weight: 400;
    font-size: 16px;
}

#lostpasswordform input,
#loginform input {
    border-radius: 0;
    color: #ffffff;
    font-size: 16px;
    margin: 0;
    padding: 12px 0;
}

#lostpasswordform input:focus,
#loginform input:focus {
    background: none;
    box-shadow: none;
    outline: none;
}

#lostpasswordform input:-webkit-autofill::first-line,
#lostpasswordform input:-webkit-autofill,
#lostpasswordform input:-webkit-autofill:hover,
#lostpasswordform input:-webkit-autofill:focus,
#lostpasswordform input:-webkit-autofill:active,
#loginform input:-webkit-autofill::first-line,
#loginform input:-webkit-autofill,
#loginform input:-webkit-autofill:hover,
#loginform input:-webkit-autofill:focus,
#loginform input:-webkit-autofill:active {
    font-family: 'Neutrif Studio', sans-serif;
    font-size: 16px !important;
}

#lostpasswordform input:-webkit-autofill,
#lostpasswordform input:-webkit-autofill:hover,
#lostpasswordform input:-webkit-autofill:focus,
#lostpasswordform input:-webkit-autofill:active,
#loginform input:-webkit-autofill,
#loginform input:-webkit-autofill:hover,
#loginform input:-webkit-autofill:focus,
#loginform input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #1a1919 inset !important;
    -webkit-text-fill-color: white !important;
    -webkit-animation: autofill 0s forwards;
    animation: autofill 0s forwards;
}

@keyframes autofill {
    100% {
        background: transparent;
        color: inherit;
        font-size: inherit;
    }
}

@-webkit-keyframes autofill {
    100% {
        background: transparent;
        color: inherit;
        font-size: inherit;
    }
}

#lostpasswordform #user_login,
#loginform #user_login,
#loginform #user_pass {
    background: #1a1919;
    border: none;
    border-bottom: 1px solid white;
    caret-color: white;
}

#loginform .forgetmenot {
    margin: 20px 0 0 0;
    padding: 11px 0;
}

#loginform .forgetmenot label {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 1.62px;
    line-height: 28px;
    text-transform: uppercase;
}

#loginform .forgetmenot input[type='checkbox'] {
    background: none;
    border: 1px solid #b5a786;
    height: 26px;
    margin-right: 15px;
    padding: 2px !important;
    position: relative;
    top: -1px;
    width: 26px;
}

#loginform .forgetmenot input[type='checkbox']::before {
    color: #b5a786;
    margin: 0 0 0 1px;
}

#loginform .forgetmenot input[type='checkbox']:checked::before {
    content: url('../img/check.svg');
    font: normal 18px/1 dashicons;
    vertical-align: top;
    width: 18px;
}

@media screen and (max-width: 782px) {
    #loginform .forgetmenot input[type='checkbox']:before {
        font: normal 21px/1 dashicons;
    }
}

.login .button.wp-hide-pw {
    min-width: 0;
    padding: 5px 0;
    width: auto;
}

.login .button.wp-hide-pw .dashicons {
    color: #ffffff;
}

#lostpasswordform .submit,
#loginform .submit {
    margin: 0;
    position: relative;
}

@media screen and (max-width: 460px) {
    #login form#loginform p.submit {
        margin-top: 70px;
    }
}

#lostpasswordform .submit .arrow,
#loginform .submit .arrow {
    position: absolute;
    right: -4px;
    top: 34px;
    transition: all 0.3s ease-in-out;
    z-index: 5;
}

#lostpasswordform .submit:hover .arrow,
#loginform .submit:hover .arrow {
    position: absolute;
    right: -14px;
    top: 34px;
}

#lostpasswordform .submit .arrow .arrow-dash,
#loginform .submit .arrow .arrow-dash {
    background-image: url('../img/arrow-dash-white.svg');
    width: 50px;
}

#lostpasswordform .submit:hover .arrow .arrow-dash,
#loginform .submit:hover .arrow .arrow-dash {
    background-image: url('../img/arrow-dash-white.svg');
    width: 60px;
}

#lostpasswordform .submit .arrow .arrow-head,
#loginform .submit .arrow .arrow-head {
    background-image: url('../img/arrow-head-white.svg');
}

#lostpasswordform .submit #wp-submit,
#loginform .submit #wp-submit {
    background: none;
    border: 1px solid #b5a786;
    border-radius: 0;
    box-shadow: none;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 12px;
    height: auto;
    letter-spacing: 1.62px;
    line-height: 28px;
    margin: 20px 0 0 0;
    padding: 10px 45px 10px 25px;
    position: absolute;
    right: 25px;
    text-shadow: none;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    white-space: normal;
    z-index: 2;
}

#lostpasswordform .submit:hover #wp-submit,
#loginform .submit:hover #wp-submit {
    background-color: #b5a786;
}

@media screen and (max-width: 460px) {
    #loginform #wp-submit {
        width: calc(100% - 25px);
    }
}

@media screen and (max-width: 480px) {
    #lostpasswordform #wp-submit {
        width: calc(100% - 25px);
    }
}

.login #login p#nav {
    background-color: #1a1919;
    height: 20px;
    margin: 0;
    padding: 0 50px 50px 50px;
    transform: translateY(-1px);
}

@media screen and (max-width: 640px) {
    .login #login p#nav {
        padding: 0 30px 30px 30px;
    }

    .login #loginform ~ p#nav {
        z-index: 1;
    }
}

.login p#nav a {
    color: #97855c;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 1.62px;
    text-transform: uppercase;
}

.login p#nav a:hover {
    color: #97855c;
}

.login p#nav a:hover .arrow-dash {
    width: 12px;
}

/* Branding */
.login .branding .vertical {
    color: #ffffff;
    display: inline-block;
    font-family: 'Nunito Sans', sans-serif;
    left: 25px;
    letter-spacing: 1.62px;
    margin-bottom: 0;
    padding: 0;
    position: absolute;
    text-transform: uppercase;
    top: 58vh;
    transform: rotate(180deg) translateY(calc(100% + 70px));
    writing-mode: vertical-lr;
}

.login .branding .vertical::before {
    background-image: url('../img/arrow-dash-gold.svg');
    background-repeat: repeat-x;
    content: '';
    display: inline-block;
    height: 10px;
    margin-bottom: 35px;
    transform: rotate(90deg);
    width: 50px;
}

.login .branding .vertical span {
    margin-top: 10px;
}

.login .branding .vertical > .light {
    font-weight: 200;
}

@media screen and (max-width: 678px) {
    .login .branding .vertical {
        display: none;
    }
}

@media screen and (max-height: 740px) {
    .login .branding .vertical > .light {
        display: none;
    }
}

@media screen and (max-height: 526px) {
    .login .branding .vertical {
        display: none;
    }
}

.login .branding .tagline {
    color: white;
    font-family: 'Neutrif Studio', sans-serif;
    font-size: 60px;
    font-weight: 600;
    left: 98px;
    line-height: 68px;
    padding: 0;
    position: absolute;
    top: 58vh;
    transform: translateY(calc(-100% - 112px));
    vertical-align: top;
}

@media screen and (max-width: 1310px) {
    .login .branding .tagline {
        font-size: 42px;
        line-height: 48px;
        transform: translateY(calc(-100% - 163px));
    }
}

@media screen and (max-width: 1140px) {
    .login .branding .tagline {
        display: none;
    }
}

@media screen and (max-height: 740px) {
    .login .branding .tagline {
        display: none;
    }
}

.login .branding .lines {
    background-image: url('../img/lines.svg');
    display: inline-block;
    height: 360px;
    left: calc(50% - 100px);
    position: absolute;
    top: 58vh;
    transform: translateY(-160px);
    width: 420px;
    z-index: 0;
}

@media screen and (max-width: 640px) {
    .login .branding .lines {
        display: none;
    }
}

@media screen and (max-height: 480px) {
    .login .branding .lines {
        display: none;
    }
}

/* Hide elements */
.login .privacy-policy-page-link {
    display: none;
}

.login #backtoblog {
    display: none;
}

.login.interim-login .container {
    display: none;
}

.login.interim-login .forgetmenot {
    margin-bottom: 15px;
}

.login.interim-login #loginform {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.login.interim-login #login form#loginform p.submit {
    margin-top: 0;
}

.login.interim-login #login {
    background-color: #1a1919;
}

.login.interim-login #login #login-message {
    margin: 15px;
}
