/* 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-repeat: no-repeat;
	background-size: cover;
	background-position: center;

	&.int-header {
		padding: 0;
		background-color: var(--light-color);

		.header-content {
			min-height: 100px;
			position: relative;
			padding: 0 20px;

			@media (width >= 768px) {
				padding: 0 40px;
			}
			/* Desktop Styles */
			@media (width >= 1024px) {
			}

			&::after {
				content: '';
				width: 60px;
				height: 1px;
				background-color: var(--primary-alt);
				position: absolute;
				left: 50%;
				bottom: 0;
				transform: translateX(-50%);
			}
		}
	}

	&.front-header {
		background-image: url('/wp-content/themes/rm-basetheme/images/bg-home-header-mobile.jpg');
		background-color: var(--dark-color);
		background-repeat: no-repeat;
		background-size: 100%;
		background-position: center top;
		display: flex;
		flex-direction: column;
		@media (width >= 768px) {
			background-image: url('/wp-content/themes/rm-basetheme/images/bg-home-header-tablet.jpg');
		}
		@media (width >= 1024px) {
			background-image: url('/wp-content/themes/rm-basetheme/images/bg-home-header.jpg');
			background-size: cover;
		}
		@media (width >= 1600px) {
			background-position: center;
		}
		.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;
			/* background: linear-gradient(to bottom, rgb(from var(--dark-color) r g b / 0.0) 33%, rgb(from var(--dark-color) r g b / 0.5) 65%, rgb(from var(--dark-color) r g b / 1) 93%); */
			background: linear-gradient(to bottom, rgb(from var(--light-color) r g b / 0.8) 0, rgb(from var(--light-color) r g b / 0.0) 273px, rgb(from var(--dark-color) r g b / 0) 45%, rgb(from var(--dark-color) r g b / 1) 65%);
			justify-content: flex-end;
			padding-bottom: 74px;
			@media (width >= 768px) {
				padding-bottom: 120px;
			}
			/* Desktop Styles */
			@media (width >= 1024px) {
				height: 952px;
				align-items: flex-start;
				padding-right: calc(100vw - 720px);
				background: linear-gradient(to bottom, rgb(from var(--light-color) r g b / 0.8) 0, rgb(from var(--light-color) r g b / 0.0) 273px, rgb(from var(--dark-color) r g b / 0) 33%, rgb(from var(--dark-color) r g b / 0.5) 65%, rgb(from var(--dark-color) r g b / 1) 93%);
			}
			@media (width >= 1600px) {
				background-position: center;
				height: 60vw;
				padding-right: 50vw;
			}

			h2 {
				color: var(--light-color);
				text-align: center;
				font-size: 34px;
				@media (width >= 768px) {
					text-align: left;
				}
				@media (width >= 768px) {
					font-size: 57px;
				}
			}
			.module-preheading {
				color: var(--light-color);
				line-height: 1em;
			}
			.button {
				color: var(--light-color);
				@media (width >= 768px) {
					margin-right: 50px;
				}
			}
			.header-content-wrapper {
				position: static;
				display: flex;
				flex-direction: column;
				justify-content: center;
				align-items: center;
				@media (width >= 768px) {
					position: relative;
					display: block;
				}
			}
		}

		.site-logo {
			@media (width < 768px) {
				position: absolute!important;
				top: 60px;
				left: 50%;
				transform: translateX(-50%);
			}
		}
		.skip-arrow {
			margin-top: 20px;
			display: none;
			svg {
				height: 40px;
				width: auto;
				transform: rotate(90deg);
			}
		}
	}

	.header-content {
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		.site-logo {
			display: flex;
			align-items: center;
			transition: all .3s;
			position: relative;
			width: 344px;
			max-width: 100%;
			height: auto;
			position: relative;
			margin: 0;
			justify-content: center;
			@media (width >= 768px) {
				left: 50%;
				top: 20px;
				transform: translateX(-50%);
				position: fixed;
				z-index: 100;
				width: 311px;
				.menu-is-open & {
					left: 75%;
				}
			}
			@media (width >= 1024px) {
				width: 355px;
			}
			@media (width >= 1480px) {
				.menu-is-open & {
					left: 50%;
				}
			}
			a,
			svg {
				/* height: 100%;
				width: auto; */
				width: 100%;
				height: auto;
				transition: all .3s;
			}
		}
	}
	&.change-state {
		@media (width >= 768px) {
			.site-logo {
				top: 4px;
				width: 170px;
			}
		}
	}

	/* 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 >= 1560px) {
		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(--light-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 {
			top: 4px;
			width: 170px;
		}
	} */

	&.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;
		font-size: 16px;
		font-weight: var(--fw-semi-bold);
		text-transform: uppercase;
	}

	.logo-mark {
		/* display: flex;
		align-items: center;
		transition: all .3s;
		position: absolute;
		left: 50%;
		top: 20px;
		transform: translateX(-50%);
		width: 355px;
		height: auto;
		a,
		svg {
			width: 100%;
			height: auto;
			transition: all .3s;
		} */
		 display: none;
	}

	.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;
			padding-right: 10px;
			border-right: 1px solid var(--primary-alt);
		}
	}
	.menu-locations {
		font-size: 15px;
		line-height: 1.2em;
		font-weight: var(--fw-semi-bold);
		letter-spacing: .06em;
	}
	.menu-phone {
		font-size: 18px;
		font-weight: var(--fw-semi-bold);
		letter-spacing: .06em;
		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(--text-color);
							}
						}
					}

					&: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(--text-color);
			text-decoration: none;

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

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

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

		.show-icon {
			display: flex;
			@media (width >= 1024px) {
				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; */
				display: none;

				@media (width >= 1430px) {
					display: block;
				}
				.show-icon {
					padding-right: 0;
				}
			}
		}
		.location-phone-block {
			display: none;

			@media (width >= 1430px) {
				display: block;
			}
		}
		&>.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 -------------*/