/* General */
::-webkit-input-placeholder {
	/* WebKit browsers */
	color: #fff;
}
:-moz-placeholder {
	/* Mozilla Firefox 4 to 18 */
	color: #fff;
	opacity: 1;
}
::-moz-placeholder {
	/* Mozilla Firefox 19+ */
	color: #fff;
	opacity: 1;
}
:-ms-input-placeholder {
	/* Internet Explorer 10+ */
	color: #fff;
}
#logoPage {
	width: 300px;
	margin-right: 2rem;
}
#logoPageCBM {
	width: 14rem;
}
ul {
	padding-left: 0px;
	list-style-type: none;
}
#sectionLogin {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-grow: 1;
}
#left {
	width: 50%;
	margin-left: 10rem;
}

.error.pageLevel p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	color: red;
}

.error.itemLevel p,
.error.pageLevel {
	font-size: 1.2rem;
	color: red;
}
.error.itemLevel:last-child {
	margin-bottom: 3rem;
}

/* Left side */
#subtitle {
	font-style: normal;
	font-weight: 400;
	line-height: 20px;
	display: flex;
	align-items: center;
	margin-bottom: 2rem;
}
h1 {
	font-size: 5rem;
	text-align: left;
	color: rgb(234, 87, 41);
	font-weight: 500;
	line-height: 1.2;
}
h2 {
	font-size: 5rem;
	text-align: left;
	color: #000;
	font-weight: 500;
	line-height: 1.2;
}

.divForm {
	position: relative;
}

#visiblePasswordIcon {
	position: absolute;
	color: rgba(0, 0, 0, 0.23);
	top: 7px;
	right: 118px;
}
#visiblePasswordIcon:hover {
	cursor: pointer;
}
label:not([for="rememberMe"]),
input:not(#rememberMe) {
	display: block;
	width: 100%;
}

/* Specific MS */
#localAccountForm .entry-item,
#FormulaireConnexionDispatchWeb .entry-item {
	position: relative;
}
#localAccountForm .entry-item label[for="email"],
#FormulaireConnexionDispatchWeb .entry-item label[for="id"] {
	position: absolute;
	top: -9px;
}

#localAccountForm .entry-item label[for="password"],
#FormulaireConnexionDispatchWeb .entry-item label[for="password"] {
	position: absolute;
}

label:not([for="rememberMe"]) {
	width: fit-content;
	height: fit-content;
	/* position: absolute; */
	/* bottom: 0px;
	top: -10px; */
	background: white;
	padding: 0px;
	left: 15px;
	font-style: normal;
	font-weight: 400;
	font-size: 12px;
	line-height: 16px;
}
input:focus {
	outline: none;
}
input:not(#rememberMe) {
	margin-bottom: 20px;
	padding: 10px;
	border: 1px solid rgba(0, 0, 0, 0.23);
	border-radius: 4px;
	width: 80%;
	height: 1.5rem;
}

button {
	outline: none;
	cursor: pointer;
	line-height: 13px;
	border-radius: 5px;
	padding: 1.25rem 1.5rem;
	text-align: center;
	text-transform: uppercase;
	font-weight: 900;
	text-decoration: none;
	color: white;
	border: none;
	background: linear-gradient(74.24deg, #000000 0%, #000000 96.86%);
	margin-bottom: 1rem;
}
#not-client {
	margin-top: 1.5rem;
	margin-bottom: 1.2rem;
}
#ask-devis {
	margin-right: 1rem;
}
#ask-devis,
#ask-client {
	outline: none;
	cursor: pointer;
	border-radius: 5px;
	padding: 1.25rem 1.5rem;
	text-align: center;
	text-transform: uppercase;
	font-weight: 900;
	text-decoration: none;
	color: white;
	font-size: 1.2rem;
	border: none;
	background: linear-gradient(74.24deg, #9c9b9f 0%, #9c9b9f 96.86%);
}
#block-buttons {
	display: flex;
	flex-direction: row;
	margin-bottom: 2.5rem;
}
#forgottenPassword,
#notClient {
	font-style: normal;
	font-weight: 500;
	font-size: 16px;
	line-height: 20px;
	display: flex;
	align-items: center;
	text-decoration-line: underline;
}

#forgotPassword,
#forgotPasswordDispatch {
	color: #9c9b9f;
	font-size: 1.5rem;
}

#forgottenPassword {
	color: #000000;
	margin-bottom: 1rem;
}
#notClient {
	color: #ff671d;
}
.entry-item:nth-child(2) {
	margin-top: 4rem;
}
label[for="password"] {
	top: -10px;
}

#errorEmail {
	font-weight: 400;
	font-size: 12px;
	line-height: 16px;
	color: #d12a00;
	margin: 1rem 0rem 2rem 0rem;
}
#errorIcon {
	position: absolute;
	color: #d12a00;
	top: 5px;
	right: 119px;
	display: none;
}
#errorToast {
	font-weight: 400;
	font-size: 15px;
	line-height: 19px;
	display: flex;
	align-items: center;
	color: #898c8e;
}
#verticalBarToast {
	position: absolute;
	width: 0.2rem;
	height: 2.5rem;
	background-color: #d12a00;
	top: -12px;
	bottom: 0px;
	left: -20px;
}
.error.itemLevel.show {
	font-size: 1.2rem;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
	color: #d12a00;
}
/* Forgotten page*/
#continue {
	margin-right: 1.5rem;
}
#emailVerificationControl_but_send_new_code {
	margin-left: 1.5rem;
}
#emailVerificationControl_but_change_claims {
	display: none !important;
}
#emailVerificationControl_success_message {
	font-size: 1.5rem;
	margin-top: 1rem;
	margin-bottom: 1rem;
}
/* Right side */
#right {
	background-size: cover;
	height: 100%;
	width: 50%;
	filter: grayscale(100%);
	background-position: center;
}

.rememberMe {
	margin: 2rem 0rem;
	display: flex;
	align-items: center;
	font-size: 1.5rem;
}

/* Bottom brands */
#sectionBrands {
	background-color: #000;
	position: relative;
	padding: 1rem 0;
}
.triangle {
	border-style: solid;
	content: "";
	position: absolute;
	z-index: 10;
}
.bottom-left.transparent {
	border-color: white rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
	border-width: 34px 43px 0 0;
	top: 0;
	left: 0;
}
#sectionBrands .sectionLogos {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem 2rem 0rem 2rem;
	width: 80%;
	margin: 0 auto;
}
#sectionBrands img {
	width: 17rem;
	filter: grayscale(100%);
	transition: all 0.25s ease;
}
#logoCBM {
	width: 10rem !important;
}
#sectionBrands img:hover {
	filter: grayscale(0%);
}
/* For Allo Express logo */
#sectionBrands img:last-child {
	width: 17rem !important;
}

/* Responsive */
@media (max-width: 900px) {
	h1,
	h2 {
		font-size: 7rem;
	}
	button {
		height: 7rem;
	}
	#logoPageHeader {
		display: flex;
		flex-direction: column;
		margin: 2rem 0;
		align-items: center;
	}
	#logoPageCBM {
		width: 25rem;
	}
	#sectionLogin {
		display: block;
	}
	#left {
		width: 90%;
		margin: 0 auto 4rem auto;
	}
	#right {
		display: none;
	}
	#sectionBrands {
		height: fit-content;
	}
	#sectionBrands .sectionLogos {
		width: 80%;
		flex-direction: row;
		flex-wrap: wrap;
		margin: 2rem auto;
	}
	.card:first-child {
		flex-direction: column-reverse;
	}
	.card:nth-child(2) {
		flex-direction: column;
	}
	.card .card-photo {
		align-self: auto;
		margin-top: 5rem;
	}
	.card img {
		height: 44rem;
	}
	.card button {
		width: 100%;
		justify-content: center;
	}
	button[type="submit"][id="next"] {
		font-size: 2rem;
	}
}

#submitButtonDispatch:disabled {
	opacity: 0.5;
	pointer-events: none;
}
