/* Overlay */
.modal-login__overlay {
	background-color: rgba(0, 0, 0, 0.5);
	bottom: 0;
	left: 0;
	opacity: 0;
	position: fixed;
	right: 0;
	top: 0;
	transition: visibility 0s linear 0.25s, opacity 0.25s 0s;
	visibility: hidden;
	z-index: 1;
}
.modal-login__overlay.show-modal {
	opacity: 1;
	visibility: visible;
	transition: visibility 0s linear 0s, opacity 0.25s 0s;
}

/* Container */
.modal-login {
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	transform: scale(1.1);
	transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
	z-index: 2;
}
@media screen and (min-width: 901px) {
	.modal-login {
	}
}
@media screen and (min-width: 1025px) {
	.modal-login {
	}
}

/* Added to/ removed from container to show/ hide modal */
.modal-login.show-modal {
	display: block;
	opacity: 1;
	visibility: visible;
	transform: scale(1.0);
	transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

/* Content */
.modal-login__content {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	left: 50%;
	margin: 0;
	position: absolute;
	top: 60px;
	transform: translateX(-50%);
	width: calc(100% - 36px);
	max-width: 1200px;
}
@media screen and (min-width: 901px) {
	.modal-login__content {
		background-color: white;
		border-radius: 9px;
		flex-direction: row;
		margin: 0;
		padding: 72px 42px 42px;
		top: 72px;
		width: calc(100% - 96px);
	}
}
@media screen and (min-width: 1025px) {
	.modal-login__content {
		margin: 0;
		padding: 72px 120px 72px;
		top: 120px;
		width: calc(100% - 240px);
	}
}

/* Left */
.modal-login__left {
	background-color: white;
	border-radius: 6px;
	flex-basis: 100%;
	padding: 52px 18px 30px;
}
@media screen and (min-width: 901px) {
	.modal-login__left {
		border-radius: 0;
		flex-basis: calc(50% - 30px);
		padding: 0;
	}
}
@media screen and (min-width: 1025px) {
	.modal-login__left {
		flex-basis: calc(60% - 60px);
	}
}

/* Close button */
.modal-login__close {
	border-radius: 0.25rem;
	color: #414042;
	cursor: pointer;
	font-size: 28px;
	height: 24px;
	line-height: 1.5rem;
	position: absolute;
	right: 20px;
	text-align: center;
	top: 20px;
	width: 24px;
}
.close-button:hover {
	background-color: darkgray;
}

/* Heading */
.modal-login__heading {
	font-weight: 400;
	font-size: 30px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	letter-spacing: 0;
	line-height: 42px;
	margin-bottom: 9px;
}

/* Subheading */
.modal-login__subheading {
	color: #767577;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	letter-spacing: 0;
	line-height: 24px;
	margin-bottom: 30px;
}

/* User */
.modal-login__field-userid {
	margin-bottom: 18px;
}
.modal-login__field-userid label {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Password */
.modal-login__field-password {
	margin-bottom: 18px;
}
.modal-login__field-password label {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.modal-login__password-wrap {
	position: relative;
}
.modal-login__show-pass {
	top: 50% !important;
	transform: translateY(-50%);
}

/* Forgot password */
.modal-login__forgot {
	margin-top: 4px;
}

/* Submit button */
.modal-login__field-submit {
	margin-bottom: 30px;
}
.modal-login__field-submit input {
	min-width: 150px;
	height: 48px;
	background-color: #F15C22;
	text-decoration: none;
	display: inline-block;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-family: canada-type-gibson, sans-serif;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 24px;
	font-weight: 500;
	letter-spacing: 0;
	text-align: center;
	flex-shrink: 0;
	padding: 12px 30px;
	cursor: pointer;
	outline-color: #A9380D;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	width: 100%;
}

/* Error */
.modal-login__error {
	display: none;
	margin-bottom: 8px;
	overflow: hidden;
}
.modal-login__error .alert {
	min-width: auto !important;
}

/* Messages */
.modal-login__messages {
	margin-bottom: 8px;
	overflow: hidden;
}
.modal-login__messages .alert {
	min-width: auto !important;
}

/* Footer */
.modal-login__footer {
	align-items: center;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.modal-login__footer a {
	color: #0A9193;
	font-size: 16px;
	letter-spacing: 0;
	line-height: 24px;
	text-decoration: underline;
}

/* Right */
.modal-login__right {
	background-color: white;
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-top: 12px;
	padding: 30px 18px;
}
@media screen and (min-width: 901px) {
	.modal-login__right {
		border: 1px solid #EAE8ED;
		flex-basis: 50%;
		margin-left: 30px;
		margin-top: 0;
		padding: 30px 48px;
	}
}
@media screen and (min-width: 1025px) {
	.modal-login__right {
		flex-basis: 40%;
		margin-left: 60px;
		padding: 30px 60px;
	}
}

/* Right - Heading */
.modal-login__heading-right {
	font-size: 27px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	letter-spacing: 0;
	line-height: 36px;
	margin-bottom: 9px;
	text-align: center;
}
@media screen and (min-width: 901px) {
	.modal-login__subheading-right {
		font-size: 30px;
		line-height: 39px;
	}
}
@media screen and (min-width: 1025px) {
	.modal-login__subheading-right {
	}
}

/* Right - Subheading */
.modal-login__subheading-right {
	color: #767577;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	letter-spacing: 0;
	line-height: 24px;
	margin-bottom: 18px;
	text-align: center;
}
@media screen and (min-width: 901px) {
	.modal-login__subheading-right {
		font-size: 18px;
		line-height: 30px;
	}
}
@media screen and (min-width: 1025px) {
	.modal-login__subheading-right {
	}
}

/* Create a new Account button */
.modal-login__field-create {
	white-space: nowrap;
	width: 100%;
}
.modal-login__field-create a {
	margin: 0;
	width: 100%;
}

/* Find my Account button */
.modal-login__field-find {
	white-space: nowrap;
	width: 100%;
}
.modal-login__field-find a {
	margin: 18px 0 0;
	width: 100%;
}
