/* WordPress login screen */
body.login {
	--lgb-blue: #1e73b7;
	--lgb-background: #eff0e8;
	--lgb-language-button: #cbdee2;
	background: var(--lgb-background);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 17px;
}

body.login #login {
	width: 345px;
	max-width: calc(100% - 40px);
	padding: 30px 0 0;
}

body.login #login h1 {
	margin-bottom: 18px;
}

body.login #login h1 a {
	position: relative;
	width: 190px;
	height: 90px;
	margin: 0 auto;
	background-position: left center;
	background-size: 78px 78px;
}
body.login a {
	text-decoration: none;
}
body.login .language-switcher-locales {
	width: 100%;
}

body.login #login h1 a::after {
	position: absolute;
	top: 8px;
	right: 0;
	display: block;
	width: 95px;
	height: 74px;
	content: "";
	background-color: #1e73b7;
	-webkit-mask: url("https://legrandbanc.eu/wp-content/themes/lgb/assets/img/logo/logo.svg") center / contain no-repeat;
	mask: url("https://legrandbanc.eu/wp-content/themes/lgb/assets/img/logo/logo.svg") center / contain no-repeat;
}

body.login #loginform,
body.login #lostpasswordform,
body.login #registerform,
body.login #resetpassform {
	margin-top: 0;
	padding: 10px;
	border: 1px solid #b7b7b2;
	border-radius: 0;
	box-shadow: none;
	background: #fff;
}

body.login label,
body.login .forgetmenot label,
body.login .message,
body.login .success,
body.login #backtoblog,
body.login #nav,
body.login .language-switcher label {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 17px;
	color: #252525;
}

body.login input[type="text"],
body.login input[type="password"],
body.login input[type="email"],
body.login .input,
body.login .language-switcher select {
	min-height: 35px;
	border: 1px solid #b7b7b2;
	border-radius: 0;
	box-shadow: none;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 17px;
}

body.login input:focus,
body.login select:focus {
	border-color: var(--lgb-blue);
	box-shadow: 0 0 0 1px var(--lgb-blue);
}

body.login .wp-core-ui .button-primary,
body.login #wp-submit {
	min-height: 35px;
	padding: 0 22px;
	border: 1px solid var(--lgb-blue);
	border-radius: 0;
	box-shadow: none;
	background: var(--lgb-blue);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 16px;
	line-height: 33px;
	text-shadow: none;
}

body.login .wp-core-ui .button-primary:hover,
body.login .wp-core-ui .button-primary:focus {
	border-color: #165888;
	background: #165888;
	box-shadow: none;
}

body.login #nav,
body.login #backtoblog {
	padding-left: 2px;
}

body.login #nav a,
body.login #backtoblog a {
	color: #252525;
}

body.login #nav a:hover,
body.login #backtoblog a:hover {
	color: var(--lgb-blue);
}

body.login .language-switcher {
	width: 345px;
	max-width: calc(100% - 40px);
}

body.login .language-switcher form {
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 8px;
}

body.login .language-switcher label {
	grid-column: 1 / -1;
}

body.login .language-switcher select {
	display: block;
	width: 100%;
	margin: 0;
	background: #fff;
}

body.login .language-switcher .button {
	display: block;
	width: 100%;
	margin: 0;
	min-height: 35px;
	border: 1px solid #a8bdc2;
	border-radius: 0;
	box-shadow: none;
	background: var(--lgb-language-button);
	color: #252525;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 16px;
	text-shadow: none;
}

body.login .language-switcher .button:hover,
body.login .language-switcher .button:focus {
	border-color: #8facb3;
	background: #b9d3d9;
	color: #252525;
	box-shadow: none;
}

@media screen and (max-width: 400px) {
	body.login #login {
		padding-top: 20px;
	}

}
