/**
 * styles.css
 * Changes the styling of the /wp-admin page and subpages
 * 
 * First part is changes to login page and all subpages
 * 
 */


body { /* Background-image */
	background-repeat: no-repeat;
	background-size: cover;
	height: 95vh;
}

body.login div#login p#backtoblog, #regnav { /* Removes the return and register links */
	display: none;
}

#a-round-box {
    margin-left: 0;
    padding: 26px 24px 34px;
    font-weight: 400;
    overflow: hidden;
    background: #fff;
    border: 1px solid #c3c4c7;
    box-shadow: 0 1px 3px rgb(0 0 0 / 4%);
    width: 192px;
    box-sizing: border-box;
    background-color: #e8e8e8;
}

#a-round-box h4 {
	margin-top: 15px;
}

#around_tlf {
	margin-bottom: 10px;
}

#a-round-box a {
	text-decoration: none;
}

.login p.message {
	margin-bottom: 0;
}

#login_error, .login #login_error {
	width: 512px;
	margin: 0 auto;
	box-sizing: border-box;
}

#login, .loginform p {
	font-size: 13px;
}

/**
 *	/wp-admin login page 
 */

#loginform {
	width: 320px;
	box-sizing: border-box;
	margin-top: 0;
	border-radius: 2% 0 0 2%;
}

#login {
	box-sizing: border-box;
	display: flex;
    flex-wrap: wrap;
	flex-direction: column;
    width: 100%;
    height: auto;
    margin-top: 0;
    padding: 0;
}

#login h1 {
	height: auto;
	width: 100%;
	margin: 0 auto;
    margin-block: 0;
    justify-content: center;
	align-content: flex-end;
	line-height: 0px;
}

#loginform, #a-round-box {
	height: 300px;
}

#a-round-box img {
	max-width: 35px;
}

#loginform #wp-submit {
	background-color: green;
}

.login h1 img {
	width: auto;
	height: auto;
}

body.login div#login p#nav {
	font-size: 1.05em;
    margin-block-start: 3em;
    margin-block-end: 0;
    margin-inline-start: -1.75em;
    margin-inline-end: auto;
    font-weight: bold;
    display: block;
}

#around-login-div, #around-resetpass-div {
	display: flex;
	margin-left: auto;
	margin-right: auto;
}

.login #nav {
	text-align: unset;
}

#wp-submit {
    padding: 0 12px !important;
    height: unset !important;
    font-size: 13px;
}


/**
 * Lostpassword page
 */

#around-lostpassword-div, #messagediv{
	box-sizing: border-box;
	display: flex;
	margin: 0 auto;
	width: 512px;
	max-height: 300px;
}

.login p.message {
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	height: 60px;
	width: 512px;;
}

#around-lostpassword-div {
	flex-direction: row;
}

#messagediv {
	width: 100%;
	height: 60px;
}
#lostpasswordform {
	width: 320px;
	margin-top: 0;
	border-radius: 2% 0 0 2%;
}

#lostpasswordform #wp-submit {
	background-color: green;
}

/**
 * Resetpassform
 */

#around-resetpass-div {
	display: flex;
	width: 100%;
	margin-top: 0;
	justify-content: center;
}

#resetpassform {
	box-sizing: border-box;
	width: 512px;
	margin-top: 0;
}

#resetpassform #wp-submit {
	background-color: green;
}

#login .reset-pass {
	width: 704px;
}

/**
 * /Resetpassfrom
 */


/**
 * Media Queries
 */


@media screen and (max-width: 812px) {

	#login {
		flex-direction: row;
		margin-top: 0;
		padding: 20px 0;
	}
	#around-login-div, #around-lostpassword-div, #around-resetpass-div {
/*		flex-direction: row;*/
		width: 80vw;
		flex-wrap: nowrap;
	}
	#loginform, #a-round-box, #lostpasswordform, #around-resetpass-div, #resetpassform, #login p.message, #login #login_error, #messagediv p, #login #reset-pass-id{
		width: 80vw;
	}
	#a-round-box {
		max-width: 200px;
	}
	#lostpasswordform {
		max-height: 1000px;
	}
	#messagediv, #messagediv p{
		max-height: 120px;
		height: auto;
	}
}

@media screen and (max-width: 768px) {

	#around-login-div, #around-lostpassword-div, #around-resetpass-div {
		flex-wrap: wrap;
	}
	#a-round-box {
		max-width: none;
		height: auto;
		margin-top: -10px;
	}
	#lostpasswordform {
		max-height: 1000px;
	}
	#around-lostpassword-div {
		max-height: 600px;
	}
	#around-resetpass-div, #around-resetpass-div #resetpassform, #around-resetpass-div #a-round-box, #login #reset-pass-id{
		width: 100%;
	}
}

@media screen and (max-width: 414px) {
	#login {
		height: auto;
		flex-wrap: wrap;
	}
	#around-login-div, #around-lostpassword-div, #around-resetpass-div {
		flex-direction: column;
		width: 100%;
	}
	#loginform, #a-round-box, #lostpasswordform, #around-resetpass-div, #resetpassform, #messagediv p.message, #login #login_error {
		width: 100%;
	}
	#lostpasswordform {
		box-sizing: border-box;
	}
}

@media screen and (orientation: landscape) {
	#login h1 {
		padding-bottom: 0;
	}
}
