/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Desktop */
body {
    background: url(../../images/background.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /*overflow: hidden;*/
    font-family: 'Open Sans',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;

}

#login {
    width: 25%;
    max-width: 300px;
    right: 0px;
    float: right;
    height: 100%;
    background: white;
    padding: 0% 2%;
    box-shadow: 0px 0px 40px 0px rgb(0 0 0 / 20%);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.login h1 a {
    position: absolute;
    top: 43%;
    left: 32%;
    width: 250px;
}

.login form {
	position: relative;
    display: block;
    width: calc(100% - 40px);
    padding: 20px;
    border: none;
    box-shadow: none;
    margin: 0;
}

.login form label {
    font-family: 'Open Sans';
    font-weight: 700;
    font-size: 11px;
    color: #363c43;
}

.login form input {
    background: #f6f6f6 !important;
    border: 2px solid #f6f6f6 !important;
    font-size: 16px !important;
    padding: 0px 12px !important;
    height: 40px;
    -moz-appearance: none;
    -webkit-appearance: none;
}

input#user_pass {
    width: 80%;
    border-radius: 4px 0px 0px 4px;
}

button.button.button-secondary.wp-hide-pw.hide-if-no-js {
    width: 20%;
    background: #f6f6f6;
    border-radius: 0px 4px 4px 0px;
    height: 40px;
    color: #e83f37;
}

.login form input:focus {
    border: 2px solid #e83f37;
    box-shadow: none;
}

p.forgetmenot {
    display: none;
}

input#wp-submit {
    width: 100%;
    padding: 5px !important;
    margin-top: 5px;
    background: #e83f37 !important;
    border: 2px solid #e83f37 !important;
    font-weight: 700;
    font-family: 'Open Sans';
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 10px !important;
    margin-top: 10px;
}

input#wp-submit:hover {
    background: #b5312b !important;
    border: 2px solid #b5312b !important;
}

p#nav {
    text-align: center;
    margin: 0 !important;
}

p#backtoblog {
    display: none;
}

a {
	color: #cccccc !important;
}

a:hover, a:focus {
	color: #e83f37 !important;
}

.login input.password-input {
    font-family: 'Spartan';
}

/* Messages */

.login #login_error, .login .message, .login .success {
    background: #deffdf;
    border-radius: 4px;
    border: none;
    box-shadow: none;
    margin: 10px;
}

.login #login_error {
	background: #fddcda;
}

.login #login_error a{
	color: #e83f37 !important;
}

@supports (-webkit-touch-callout: none) {

  /* CSS specific to iOS devices */ 

input[type="password"] {
    font-family: Helvetica;
}

#login {
    height: calc(100% - 30em);
    padding: 15em 50px;
}

}

/* Macbook */
@media (max-width: 1440px){

.login h1 a {
    top: 44%;
    left: 26%;
}

}

/* Ipad Pro */
@supports (-webkit-touch-callout: none) {
@media (max-width: 1440px){

.login h1 a {
    top: 40%;
    left: 18%;
}

}
}

/* Mobile */
@media (max-width: 1024px){

#login {
    position: relative;
    width: calc(100% - 80px);
    max-width: 300px;
    top: 150px;
    left: 0px;
    float: none;
    height: auto;
    padding: 20px;
    border-radius: 4px;
}

.login h1 a {
    position: absolute;
    display: block;
    margin: 0;
    width: 100%;
    top: -120px;
    left: 0;
    padding: 0;
    transform: scale(0.6);
}

.login .button.wp-hide-pw {
	right: 0;
}

}