/* Setup for desktop size - send to js for nav desktop/ switcher. */
#sasstojsvalues {
	width: var(--desktop);
	height: var(--tablet);
}


.site-header {
	/* position: fixed; */
	position: relative;
	top: 0;
	padding: 0;
	/* padding: 10px 0; Just in case we need to add padding */
	width: 100%;
	background: var(--primary-color);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;

	&.int-header {
		padding: 0;

		.header-content {
			min-height: 40vw;

			/* Desktop Styles */
			@media (width >= 1024px) {
				min-height: 24vw;
			}
		}

		.site-logo {
			a {
				display: flex;

				svg {
					width: 200px;
					height: auto;
				}
			}
		}
	}

	&.front-header {
		background-image: url('/wp-content/themes/rm-basetheme/images/bg-footer.jpg');
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;
		display: flex;
		flex-direction: column;

		.bgvid {
			position: absolute;
			top: 50%;
			left: 50%;
			min-width: 100%;
			transform: translateX(-50%) translateY(-50%);
			display: block;
			margin: 0;
			padding: 0;
			-o-object-fit: cover;
			object-fit: cover;
			opacity: 1;

			/* Desktop Styles */
			@media (width >= 1024px) {
				height: 100%;
			}
		}

		.header-image {
			position: absolute;
			right: 0;
			bottom: 0;

			img {
				max-width: 100%;
				height: auto;
			}
		}

		.header-content {
			min-height: 100vh;

			/* Desktop Styles */
			@media (width >= 1024px) {
				height: 900px;
			}

			.header-content-wrapper {
				position: relative;
				display: flex;
				flex-direction: column;
				justify-content: center;
				align-items: center;
			}
		}

		.site-logo {
			svg {
				width: 280px;
				height: auto;

				/* Tablet Styles */
				@media (width >= 768px) {
					width: 300px;
				}

				/* Desktop Styles */
				@media (width >= 1024px) {
					width: 400px;
				}
			}
		}

		.skip-arrow {
			margin-top: 20px;

			svg {
				height: 40px;
				width: auto;
				transform: rotate(90deg);
			}
		}
	}

	.header-content {
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	/* MODELS TAG / LOCATION */
	@media (width < 768px) {
		&[data-location="model-left"] {
			background-position: left center;
		}

		&[data-location="model-one-quarter"] {
			background-position: left 20% center;
		}

		&[data-location="model-center"] {
			background-position: center;
		}

		&[data-location="model-three-quarter"] {
			background-position: right 20% center;
		}

		&[data-location="model-right"] {
			background-position: right center;
		}
	}
}

.banner {
	display: none;
	background-color: var(--dark-alt);
	/* border-bottom: 11px solid var(--primary-color); */
	color: var(--light-color);
	align-items: center;
	justify-content: center;
	padding: 10px 20px 12px;
	position: relative;
	z-index: 99;

	/* Tablet Styles */
	@media (width >= 768px) {
		font-size: 16px;
	}

	/* Full Screen Styles */
	@media (width >= 1280px) {
		padding: 10px 40px 12px;
	}

	&.show-banner {
		display: block;

		/* Tablet Styles */
		@media (width >= 768px) {
			display: flex;
		}
	}

	&.banner-sticky {
		border-color: var(--light-color);
		position: sticky;
		top: 0;
		left: 0;

		&.change-state-banner {
			border-color: var(--primary-color);
			position: relative;
		}
	}

	/* &.banner-fixed {
		position: fixed;
		width: 100%;
	} */
	.banner-container {
		font-family: var(--primary-font);
		font-size: 14px;
		line-height: 1.25em;
		font-weight: var(--fw-regular);
		display: block;
		position: relative;
		text-align: center;

		/* Tablet Styles */
		@media (width >= 768px) {
			display: flex;
			align-items: center;
			justify-content: center;
		}

		.icon {
			display: none;

			/* Tablet Styles */
			@media (width >= 768px) {
				display: flex;
			}

			svg {
				width: auto;
				height: 20px;
				margin: 0 15px 0 0;
			}
		}

		.banner-text {
			font-weight: var(--fw-bold);

			span {
				font-weight: var(--fw-regular);

				&:before {
					content: '- ';
				}
			}
		}

		.banner-link.button {
			font-size: 14px;
			line-height: 1em;
			font-weight: var(--fw-semi-bold);
			padding: 5px 10px;
			margin: 10px 0 0;
			text-decoration: none;

			/* Tablet Styles */
			@media (width >= 768px) {
				font-size: 16px;
				margin: 0 0 0 15px;
			}
		}

		.close-banner {
			background: var(--primary-accent);
			border: none;
			border-radius: 50%;
			color: var(--light-color);
			display: flex;
			justify-content: center;
			align-items: center;
			font-size: 13px;
			line-height: 1em;
			font-weight: var(--fw-thin);
			width: 25px;
			height: 25px;
			padding: 0;
			position: absolute;
			right: -10px;
			bottom: -10px;
			transform: translateY(50%);
			z-index: 10;

			/* Tablet Styles */
			@media (width >= 768px) {
				right: -50px;
			}

			.close-container {
				position: relative;
				width: 60%;
				height: 60%;

				&:before,
				&:after {
					background-color: var(--light-color);
					content: '';
					position: absolute;
					top: 0;
					left: 50%;
					bottom: 0;
					right: 0;
					width: 1px;
				}

				&:before {
					transform: translateX(-50%) rotate(45deg);
				}

				&:after {
					transform: translateX(-50%) rotate(-45deg);
				}
			}
		}
	}
}

/* Navigation bar */

.nav-bar {
	width: 100%;
	padding: 0 20px;
	top: 0;
	left: 0;
	z-index: 100;
	background-color: var(--primary-color);
	height: var(--nav-mobile);
	transition: height .3s, background-color .3s;

	/* Tablet Styles */
	@media (width >= 768px) {
		height: var(--nav-tablet);
		padding: 0 40px;
	}

	/* Desktop Styles */
	@media (width >= 1024px) {
		height: var(--nav-desktop);
	}

	&.change-state {
		background-color: var(--light-color);
		/* .logo-mark {
			opacity: 1;
			pointer-events: all;
		} */
	}

	&.nav-sticky {
		position: sticky;
		/* &.change-state {
			background-color: var(--light-color);
		} */
	}

	&.nav-relative {
		position: relative;

		&.transition-top {
			position: sticky;
			transition: background-color .3s, top .3s;
		}

		&.transition-top.change-state {
			top: 0 !important;
		}

		&.change-state {
			/* background-color: var(--light-color); */
			position: sticky;
		}
	}

	&.nav-absolute {
		position: absolute;

		&.transition-top {
			position: fixed;
			transition: background-color .3s, top .3s;
		}

		&.transition-top.change-state {
			top: 0 !important;
		}

		&.change-state {
			/* background-color: var(--light-color); */
			position: fixed;
		}
	}

	&.nav-fixed {
		position: fixed;
		/* &.change-state {
			background-color: var(--light-color);
		} */
	}
}

.nav-absolute,
.nav-fixed {
	&+.int-header .header-content {
		padding-top: var(--nav-mobile);

		/* Tablet Styles */
		@media (width >= 768px) {
			padding-top: var(--nav-tablet);
		}

		/* Desktop Styles */
		@media (width >= 1024px) {
			padding-top: var(--nav-desktop);
		}
	}
}

body {
	.banner.show-banner {
		display: block;

		/* Tablet Styles */
		@media (width >= 768px) {
			display: flex;
		}
	}
}

.menu-buttons {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;

	a {
		color: var(--light-color);
		text-decoration: none;
	}

	span:not(.location-suite):not(.show-icon) {
		font-size: 18px;
		line-height: 1em;
		font-weight: var(--fw-light);
		font-family: var(--secondary-font);
		display: block;
	}

	.menu-trigger {
		display: flex;
		align-items: center;
	}

	.logo-mark {
		display: flex;
		align-items: center;
		height: 75%;
		/* opacity: 0;
		pointer-events: none; */
		transition: opacity .3s;

		a,
		svg {
			height: 100%;
			width: auto;
		}
	}

	.menu-contact {
		display: flex;
		align-items: center;
		height: 100%;

		>* {
			margin-right: 10px;

			&:last-of-type {
				margin-right: 0;
			}
		}
	}

	.menu-locations,
	.menu-phone {

		/* Site Locations - Dropdown Toggle and Nav-bar styles */
		.locations-dropdown-toggle {
			color: var(--primary-alt);
			transition: color .3s;
			display: flex;
			align-items: center;

			.show-icon {
				display: flex;
				padding-right: 0;
			}

			&:hover,
			&:active,
			&:focus {
				color: var(--light-color);

				svg path {
					fill: var(--light-color);
				}
			}

			svg path {
				fill: var(--primary-alt);
				transition: .3s fill;
			}
		}

		.header-address-site-locations {
			margin-right: 5px;
		}
	}

	.menu-phone {
		a {
			display: flex;
			align-items: center;
		}
	}
}

/* Site Locations Content Styles */
.header-address-site-locations,
.header-phone-site-locations {
	color: var(--primary-alt);

	/* Dropdown Content Styles */
	&.dropdown-true {
		display: none;
		opacity: 0;
		transition: opacity .3s;
		z-index: 111;

		&.open {
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: flex-start;
			position: fixed;
			top: 0;
			bottom: 0;
			left: 0;
			right: 0;
			width: 100%;
			height: 100vh;
			background-color: var(--light-alt);
			opacity: 1;
			overflow-x: scroll;
			padding-top: 20vh;
			text-align: center;

			/* Close button for dropdown */
			.location-close {
				background-color: var(--light-color);
				position: absolute;
				top: 20px;
				font-size: 16px;
				line-height: 1em;
				right: 20px;
				border-radius: 50%;
				width: 30px;
				height: 30px;
				display: flex;
				justify-content: center;
				align-items: center;
				display: flex;

				/* Tablet Styles */
				@media (width >= 768px) {
					top: 40px;
					right: 40px;
				}

				.lc-container {
					position: relative;
					width: 60%;
					height: 60%;

					&:before,
					&:after {
						background-color: var(--dark-alt);
						content: '';
						position: absolute;
						top: 0;
						left: 50%;
						bottom: 0;
						right: 0;
						width: 1px;
					}

					&:before {
						transform: translateX(-50%) rotate(45deg);
					}

					&:after {
						transform: translateX(-50%) rotate(-45deg);
					}
				}
			}

			/* End Close button for dropdown */
			.location-each {
				margin-bottom: 37.5px;

				&:last-of-type {
					margin-bottom: 0;
				}

				a {
					color: var(--primary-alt);

					.show-icon {
						svg {
							path {
								fill: var(--primary-alt);
							}
						}
					}

					&:hover,
					&:active,
					&:focus {
						color: var(--primary-color);

						.show-icon {
							svg {
								path {
									fill: var(--primary-color);
								}
							}
						}
					}
				}

				.show-icon {
					svg {
						width: 30px;
					}
				}

				&>.phone-text,
				&>.sms-text,
				&>.fax-text,
				&>.address-text,
				&>.phone-sms-container {
					margin-bottom: 18.75px;
				}

				&>.phone-text,
				&>.sms-text,
				&>.fax-text,
				&>.phone-sms-container {
					.show-icon {
						padding-right: 20.5px;
					}
				}

				&>.address-text {
					flex-direction: column;

					.location-address-block {
						flex-direction: column;

						.address-street:after {
							content: none;
						}
					}
				}
			}
		}
	}

	/* End Dropdown Content Styles */
	/* Location Content Styles (with and without dropdown) */
	.location-each {
		display: flex;
		flex-direction: column;

		/* &:last-of-type {
			display: none;
		} */
		a {
			color: var(--primary-alt);
			text-decoration: none;

			.show-icon {
				svg {
					path {
						fill: var(--primary-alt);
						transition: fill .3s;
					}
				}
			}

			&:hover,
			&:active,
			&:focus {
				color: var(--light-color);

				.show-icon {
					svg {
						path {
							fill: var(--light-color);
						}
					}
				}
			}
		}

		.show-icon {
			display: flex;
			padding-right: 10px;

			svg {
				width: 25px;
				height: auto;
			}
		}

		.location-name {
			font-size: 30px;
			padding-top: 0.25em;
			padding-bottom: 0.5em;

			/* Tablet Styles */
			@media (width >= 768px) {
				font-size: 40px;
			}
		}

		&>.phone-text,
		&>.sms-text,
		&>.fax-text,
		&>.address-text,
		&>.phone-sms-container {
			display: flex;
			align-items: center;
			justify-content: center;
			transition: .3s color;
		}

		&>.phone-sms-container {
			.sms-option:after {
				content: '\00a0';
			}
		}

		&>.address-text {
			.location-address-block {
				display: flex;

				.show-icon {
					padding-right: 0;
				}

				.address-street:after {
					content: ',\00a0';
				}
			}
		}

		&>.hours-text {
			.location-hours-block {
				display: flex;
				justify-content: center;

				.hours-day:after {
					content: '\00a0';
				}
			}
		}
	}

	/* End Location Content Styles */
}

/* Ipad Pro */

/* .is--device {
	.menu-buttons {
		@media (width >= 1024px) {
			display: block;
		}
	}
} */


/*-------------- Logo Area -------------*/