body {
	line-height: 1.5;
	font-size: 1rem;
	font-weight: normal;
	background-size: cover;
}

#lateral {
	padding: 0 25px;
	position: absolute;
	left: 0;
	width: 400px;
	height: calc(100% - 60px);
	background-color: rgba(34, 34, 34, 0.7);
	display: flex;
	margin: 30px 0 30px 30px;
	border-radius: 9px;
}

#logo_sso {
	text-align: center;
}

#logo_sso img {
	max-height: 150px;
}

#loginForm {
	color: #fff;
	display: flex;
	align-items: center;
	padding: 0;
}

#loginForm span {
	font-size: 1rem;
	font-weight: normal;
}

#login,
#impersonate {
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

#gauth {
	max-width: 750px;
	margin-left: auto;
	margin-right: auto;
}

#impersonate label {
	display: inline-block;
	margin-bottom: 0.5rem;
}

#surrogateTarget {
	width: 100%;
}

#token,
#accountName,
#credentialNickname,
#username,
#currentPassword,
#password,
#confirmedPassword {
	line-height: 1.5;
	outline: none;
	padding: 0.375rem 0.75rem;
	border: 0;
	border-radius: 0.25rem;
	font-size: 1rem;
	color: #000;
	background-color: #fff;
}

#submit,
#registerButton,
#reset button {
	width: auto;
}
#passwordManagementForm .btn,
#reset .btn {
	width: 50%;
}

label[for="username"],
label[for="currentPassword"],
label[for="password"],
label[for="confirmedPassword"] {
	padding: 5px 0;
}

button.mdc-button.mdc-button--raised {
	background-color: #2c701e;
	border-color: rgba(0, 0, 0, 0.2);
	font-weight: bold;
	padding: 10px 20px;
	width: 100%;
	font-size: 1rem;
	line-height: 1.5;
	box-shadow: none;
}

button.mdc-button.mdc-button--raised:hover {
	background-color: #1461ad !important;
	border-color: rgba(0, 0, 0, 0.2);
	transform: none;
	transition: none;
	box-shadow: 3px 5px 5px rgba(0, 0, 0, 0.15);
}

.mdc-button--raised:not(:disabled, .reveal-password) {
	filter: none;
}

.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-heading {
  color: inherit;
}

.alert-link {
  font-weight: 700;
}

.alert-dismissible {
  padding-right: 4rem;
}

.alert-dismissible .close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.75rem 1.25rem;
  color: inherit;
}

.alert-primary {
  color: #004085;
  background-color: #cce5ff;
  border-color: #b8daff;
}

.alert-primary hr {
  border-top-color: #9fcdff;
}

.alert-primary .alert-link {
  color: #002752;
}

.alert-secondary {
  color: #383d41;
  background-color: #e2e3e5;
  border-color: #d6d8db;
}

.alert-secondary hr {
  border-top-color: #c8cbcf;
}

.alert-secondary .alert-link {
  color: #202326;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-success hr {
  border-top-color: #b1dfbb;
}

.alert-success .alert-link {
  color: #0b2e13;
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.alert-info hr {
  border-top-color: #abdde5;
}

.alert-info .alert-link {
  color: #062c33;
}

#switchToOTP {
	margin-top: 1rem;
}
#switchToOTP:hover {
	color: #fff;
}

#switchToOTP,
.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

.alert-warning hr {
  border-top-color: #ffe8a1;
}

.alert-warning .alert-link {
  color: #533f03;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-danger hr {
  border-top-color: #f1b0b7;
}

.alert-danger .alert-link {
  color: #491217;
}

.alert-light {
  color: #818182;
  background-color: #fefefe;
  border-color: #fdfdfe;
}

.alert-light hr {
  border-top-color: #ececf6;
}

.alert-light .alert-link {
  color: #686868;
}

.alert-dark {
  color: #1b1e21;
  background-color: #d6d8d9;
  border-color: #c6c8ca;
}

.alert-dark hr {
  border-top-color: #b9bbbe;
}

.alert-dark .alert-link {
  color: #040505;
}

.alert-cas-primary {
  color: #0b202a;
  background-color: #d0d8dc;
  border-color: #bdc9ce;
}

.alert-cas-primary hr {
  border-top-color: #aebdc3;
}

.alert-cas-primary .alert-link {
  color: #000102;
}

.alert-cas-secondary {
  color: #3c6433;
  background-color: #e3f3e0;
  border-color: #d8eed3;
}

.alert-cas-secondary hr {
  border-top-color: #c8e7c1;
}

.alert-cas-secondary .alert-link {
  color: #284222;
}

.alert-btn-submit {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-btn-submit hr {
  border-top-color: #b1dfbb;
}

.alert-btn-submit .alert-link {
  color: #0b2e13;
}

div#content {
	box-shadow: none;
}

#content .btn-danger,
#reset .btn-danger {
	color: #fff;
	background-color: #dc3545;
	border-color: #dc3545;
}

#content .btn-danger:hover,
#reset .btn-danger:hover {
	color: #fff;
	background-color: #c82333;
	border-color: #bd2130;
}

#forgotPasswordLink a {
	color: #fff;
	text-decoration-line: none;
}

#reset input {
	width: 100%;
}

@media only screen and (max-width: 799px) { 
	#lateral { margin: 30px 0; }
	#impersonate {
		width: 100%;
	}
	#content {
		display: flex;
		align-items: center;
	}
	#content #lateral {
		position: initial;
		height: calc(100vh - 60px);
	}
}

@media only screen and (max-width: 449px) {
	.container.mt-3.mb-3 {
		padding: 0;
	}
}

@media only screen and (max-height: 599px) { 
	#content #lateral {
		top: 0 !important;
	}
	#logo_sso img { max-height: 100px }
}

@media only screen and (max-height: 549px) { 
	#welcome { display: none; }
	#logo_sso img { display: none; }
}

@media only screen and (max-height: 509px) { 
	#welcome { display: none; }
}

@media only screen and (max-height: 369px) { 
	#help { display: none; }
}

#casPdfViewer {
	background-color: #fff;
	height: 100%;
	width: 100%;
	border-radius: 0 0 5px 5px;
}
#charteInformatique {
	height: 100vh;
	padding: 1rem 0;
	width: 100%;
}
#charteInformatique > div {
	height: calc(100% - 110px);
	border-radius: 5px;
}
#charteInformatique .status {
	padding: 0.5rem 0;
	text-align: center;
}
#charteInformatique #fm1 {
	display: flex;
	padding-top: 1rem;
	gap: 1rem;
	flex-direction: column;
}
#emptySpace {
	height: 10vh !important;
}
#secondaryToolbarToggle {
	display: none;
}
#editorModeButtons {
	display: none;
}
#validateTermsButton {
	border-radius: 5px;
}
#validateTermsButton:disabled {
	opacity: 0.9;
}
#validationLu {
	color-scheme: initial;
	margin: auto;
	vertical-align: initial;
	width: 2rem;
}
.validationLu {
	display: flex;
	width: 100%;
	padding: 0.5rem;
	vertical-align: middle;
	border-radius: 5px;
}
.validationLu > label:nth-child(2) {
	width: calc(100% - 2rem);
}
.reveal-password:hover,
.reveal-password:active {
    box-shadow: none;
}

#password {
  width: auto;
  flex: 1;
}

#passwordManagementForm button.mdc-button.mdc-button--raised.reveal-password {
  width: auto;
  height: auto;
  line-height: 1;
  padding: 8px;
  border-radius: var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));
}

#passwordManagementForm div.caps-check:nth-child(2) {
  display: flex;
  gap: 1rem;
}
@media (orientation: landscape) {
	body {
		background-image: var(--url-fond-desktop);
	}
}
@media (orientation: portrait) and (min-aspect-ratio: 1/2) {
	body {
		background-image: var(--url-fond-mobile);
	}
}
@media (orientation: portrait) and (min-aspect-ratio: 5/8) {
	body {
		background-image: var(--url-fond-tablette);
	}
}
@media (orientation: portrait) and (max-aspect-ratio: 1/2) {
	body {
		background-image: var(--url-fond-mobile);
	}
}
#main-content {
	margin-top: 0px;
}
a.mdc-button.mdc-button--outline:focus,
.mdc-text-field:focus {
	outline: 2px solid #0066cc !important;
	box-shadow: 0 0 0 1px rgba(0, 102, 204, 0.5);
}
