:root {
    --tools_accessories_color: yellowgreen;
    --frp_color: navy;
    --wallboard_products_color: maroon;
    --joint_treatment_interior_finishes_color: teal;
    --ceiling_acoustical_color: Goldenrod;       
    --steel_framing_color: SaddleBrown;
    --insulation_color: RebeccaPurple;
    --sheathing_color: OrangeRed;
    --barriers_color: SeaGreen;
    --claddings_color: SteelBlue;
}

html {
    overflow-y: hidden;
    overflow-x: hidden;
    /*overflow-y:auto;*/
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 18px;
    position: relative;
    color: #212529;
}

#menu {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    height: 100%;
}

#logo {
    /*background-color: rgba(195, 0, 47, 1);
    background-color: rgba(0, 0, 0, 1);*/
    color: #fff;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#logo img {
    width:72px;
    height: auto;
}

#hamburger {
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    font-size: 48px;
    color: white;
    transition: transform 0.3s ease;
}

#hamburger.menu-open {
    transform: translateX(240px);
}

#scene-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    flex: 1 1 auto;
    overflow-y: auto;
}

#scene-menu.visible {
    transform: translateX(0);
}

#scene-menu ul {
    list-style-type: none; /* Remove dots */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
}

#scene-menu ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Add border to list items */
}

#scene-menu ul li a {
    display: block;
    padding: 15px;
    color: white;
    text-decoration: none;
}

#scene-menu ul li a.active {
    background: rgba(0, 81, 138, 1)
}

#scene-menu ul li a:hover {
    background: rgba(195, 0, 47, 1);
}

#content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(195, 0, 47, 1);
}

.hidden {
    display: none;
}

.scene {
    position: absolute;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.scene.visible {
    opacity: 1;
    pointer-events: all;
}

.scene-content {
    position: relative;
    width: 100%;
    /*height: 100%;*/ /* DO NOT SET HEIGHT */
    display: flex;
    justify-content: center;
    align-items: center;
}

.scene-content img.scene-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: relative;
    top: 0;
    left: 0;
}

.scene-name {
    position: absolute;
    top: 30px;
    /* Adjust as needed */
    right: 30px;
    /* Adjust as needed */
    z-index: 1;
    /* Ensure it's above other elements */
    background-color: rgba(0, 0, 0, 0.75);
    /* Optional: background color */
    color: white;
    padding: 10px;
    /* Optional: padding */
    border-radius: 5px;
    /* Optional: rounded corners */
}

.scene-name h1 {
    margin: 0;
    font-weight: 400;
    font-size: 2rem;
}

@media (max-width: 992px) {
    .scene-name {
        position: relative;
        top: auto;
        right: auto;
        background-color: transparent;
        padding: 0;
        text-align: center;
        margin-top: 10px;
    }

    .scene-content {
        flex-direction: column;
        /* Stack elements vertically on mobile */
    }
}

.hotspots, .hotspots-ext  {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hotspot-wrapper {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: auto;
}

.hotspot, .hotspot-ext  {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    border: 3px solid white;
}

.hotspot {
    background: rgb(195, 0, 47);
}

.hotspot-ext {
    background: #0071BC;
}

.hotspot::after, .hotspot-ext::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px; /* Size of the pulsing ring */
    height: 40px;
    background: rgba(255, 255, 255, 0.75); /* Lighter color for the ring */
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1); /* Center the ring */
    z-index: -1; /* Ensure the ring is behind the dot */
    animation: pulse 2s infinite; /* Pulse animation */
}

.hotspot-wrapper:hover .hotspot, .hotspot-wrapper:hover .hotspot-ext {
    background: rgba(0, 0, 0, 0.75);
    width: 28px;
    height: 28px;
}

.hotspot-wrapper:hover .hotspot::after, .hotspot-wrapper:hover .hotspot-ext::after {
    transform: translate(-50%, -50%) scale(1.3); /* Scale the ring on hover */
}

.hotspot-ext::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent transparent transparent transparent;
    transform: translate(-50%, -50%);
    z-index: 1; /* Ensure the triangle is above the pulsing ring */
}

.hotspot-ext.up::before {
	margin-top: -1px;
	border-width: 0 6px 7px 6px;
	border-color: transparent transparent white transparent;
}

.hotspot-ext.right::before {
	margin-left: 1px;
		border-width: 6px 0 6px 7px;
	border-color: transparent transparent transparent white;
}

.hotspot-ext.down::before {
	margin-top: 1px;
	border-width: 7px 6px 0 6px;
	border-color: white transparent transparent transparent;
}

.hotspot-ext.left::before {
	margin-left: -1px;
	border-width: 6px 7px 6px 0;
	border-color: transparent white transparent transparent;
}


@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 16px;
    pointer-events: none;
    transform: translate(-50%, -100%);
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.2s ease;
    /*display: none;*/
}

.tooltip.visible {
    /*display: block;*/
    opacity: 1;
}

#info-section {
    position: fixed;
    z-index: 10;
    top: 0;
    right: 0;
    width: 75%;
    height: 100%;
    background-color: rgb(234, 233, 235);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-sizing: border-box;
    padding: 20px;
    box-shadow: 0px 0px 30px 15px rgba(0, 0, 0, 0.75);
      
}

#info-section.visible {
    transform: translateX(0);
}

#info-content {
display: flex;
    flex-direction: column;
    height: 100%;
}

#info-header {
    flex: 0 0 auto;
    /* Header height will be its content height */
    margin-bottom: 16px;
}

#info-header h2 {
color: rgb(0, 81, 138);
text-transform:initial;
padding: 0;
margin: 0;
font-size: 2.3rem;
font-weight: 600;
}

#info-header p {
    padding: 0;
    margin: 0;
    font-size: 1.2rem;
}

#info-body {
flex: 1 1 auto;
    /* Takes the remaining height of #info-content */
    display: flex;
    overflow: hidden;
    gap: 20px;
}

.info-header {
    width: 100%;
}

.info-left {
    position: relative;
    width: 60%;
}

.info-right {
    width: 40%;
            overflow-y: auto;
}

.image-container {
    position: relative;
    width: 100%;
}

#base-image {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

#overlay-image {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.info-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3; /* Ensure markers are above the base image */
}

.marker {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: transform 0.3s ease;
    cursor: help;
}

.marker:hover {
    transform: /*translate(-50%, -50%)*/ scale(1.3); /* Grow the marker on hover */
}

marker:hover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px; /* Size of the pulsing ring */
    height: 40px;
    background: rgba(255, 255, 255, 0.75); /* Lighter color for the ring */
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1); /* Center the ring */
    z-index: -1; /* Ensure the ring is behind the dot */
    animation: pulse 2s infinite; /* Pulse animation */
}

.category {
    margin-bottom: 20px;
}

.category h3 {
    margin: 0;
    font-size: 1.3em;
    font-weight: 500;
    padding-bottom: 0.2em;
}

.category h3 a {
    color: rgb(0, 81, 138);
    text-decoration: none;
    position: relative;
}

.category h3 a i {
    position: relative;
    bottom: 2px

}

.category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category ul li {
    cursor: help;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
    line-height: 1;
    padding: 7px 7px 7px 18px;
    background-color: #eee;
    border: #eee solid 4px;
    transition: background-color 0.3s ease;
}

.category ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 100%;
}

.marker_tools_accessories,
.category_tools_accessories ul li::before,
/*.category_tools_accessories ul li:hover,*/
.category_tools_accessories ul li.highlight {
    background-color: var(--tools_accessories_color);
}

.marker_frp,
.category_frp ul li::before,
/*.category_frp ul li:hover,*/
.category_frp ul li.highlight {
    background-color: var(--frp_color);
}

.marker_wallboard_products,
.category_wallboard_products ul li::before,
/*.category_wallboard_products ul li:hover,*/
.category_wallboard_products ul li.highlight {
    background-color: var(--wallboard_products_color);
}
.marker_joint_treatment_interior_finishes,
.category_joint_treatment_interior_finishes ul li::before,
/*.category_joint_treatment_interior_finishes ul li:hover,*/
.category_joint_treatment_interior_finishes ul li.highlight {
    background-color: var(--joint_treatment_interior_finishes_color);
}
.marker_ceiling_acoustical,
.category_ceiling_acoustical ul li::before,
/*.category_ceiling_acoustical ul li:hover,*/
.category_ceiling_acoustical ul li.highlight {
    background-color: var(--ceiling_acoustical_color);
}
.marker_steel_framing,
.category_steel_framing ul li::before,
/*.category_steel_framing ul li:hover,*/
.category_steel_framing ul li.highlight {
    background-color: var(--steel_framing_color);
}
.marker_insulation,
.category_insulation ul li::before,
/*.category_insulation ul li:hover,*/
.category_insulation ul li.highlight {
    background-color: var(--insulation_color);
}
.marker_sheathing,
.category_sheathing ul li::before,
/*.category_sheathing ul li:hover,*/
.category_sheathing ul li.highlight {
    background-color: var(--sheathing_color);
}
.marker_barriers,
.category_barriers ul li::before,
/*.category_barriers ul li:hover,*/
.category_barriers ul li.highlight {
    background-color: var(--barriers_color);
}
.marker_claddings,
.category_claddings ul li::before,
/*.category_claddings ul li:hover,*/
.category_claddings ul li.highlight {
    background-color: var(--claddings_color);
}

.category ul li:hover,
.category ul li.highlight {
    background-color: rgb(0, 81, 138) !important;
    color: white !important;
}

category ul li:hover {
    color: #000;
}

category ul li.highlight {
    color: white;
    background-color: black;
}

.branch-button {
margin-top: 4em;
}

.branch-button a {
    background-color: rgb(0, 81, 138);
    color: white;
    text-decoration: none;
    position: relative;
    padding: 0.5em;
    line-height: 1;
    font-size: 1.6rem;
    transition: background-color 0.3s ease;
}

.branch-button a i {
    position: relative;
    padding-right: 10px;
}

.branch-button a:hover {
background-color: rgba(195, 0, 47, 1);
}

#hamburger:focus,
.hotspot:focus,
#scene-menu a:focus {
    /*outline: 2px solid #00f;*/ /* Adjust color for better visibility */
}

#close-info {
    background: none;
    border: none;
    font-size: 48px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

#close-info:focus {
    outline: 2px solid #00f; /* Adjust color for better visibility */
}


/* Splash Modal - Key */

.home-screen--wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
	transform: translate(-50%, -50%);
    z-index: 9999;
    width: calc(100% - 100px);
    height: calc(100vh - 150px);
    display: flex;
    background-color: rgba(0, 0, 0, 0.90);
    padding: 0;
    margin: 0;
    color: white;
    justify-content: center;
    align-items: flex-start;
	overflow-x: auto;
    box-sizing: border-box;
}

.home-screen--wrapper.hidden {
    display: none;
}

#close-icon {
    background: none;
    border: none;
    position: absolute;
    top: 5px;
    right: 25px;
    cursor: pointer;
    font-size: clamp(2rem, -2.923rem + 7.692vw, 4rem);
    color: white;
    line-height: 1;
	display: none;
}

.home-screen--container {
    display: flex;
    justify-content: center;
	padding: 0;
    gap: 40px;
    width: 80%;
    flex-wrap: nowrap;
	position: relative;
	box-sizing: border-box;
	height: auto;
}

.home-screen--container h1 {
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    font-size: 6rem;
    /*font-size: clamp(2rem, -0.857rem + 7.619vw, 6rem);*/
    font-size: clamp(3rem, -4.385rem + 11.538vw, 6rem);
    line-height: 1;
}

.home-screen--container p.lead {
    margin: 0;
    padding: 0.8em 0 0.4em 0;
    font-size: 1.6rem;
    /*font-size: clamp(1.125rem, 0.629rem + 1.524vw, 2rem);*/
    font-size: clamp(1.125rem, -1.029rem + 3.365vw, 2rem);
    line-height: 1.2;
}
.home-screen--container p {
	font-size: 1.45rem;
	line-height: 1.2;
	margin: 0;
}

.home-screen--logo {
    width: 168px;
    width: clamp(5rem, -8.538rem + 21.154vw, 10.5rem);
    height: auto;
    padding-top: 10px
}

.home-screen--columns {
    padding: 50px 20px 30px 20px;
	box-sizing: border-box;
}

.home-screen--column-1 {
    flex-grow: 0;
    padding-right: 0;
	height: 100%;
	box-sizing: border-box;
}

.home-screen--column-2 {
    flex-grow: 1;
    padding-left: 0;
	height: 100%;
	box-sizing: border-box;
}

ul.key--container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: stretch;
    list-style-type: none;
    padding: 16px 0;
    margin: 24px 0;
    border-top: white solid 2px;
    border-bottom: white solid 2px
}

ul.key--container li {
    flex: 1;
    display: flex;
    align-items: stretch;
}

ul.key--container li .key--item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-grow: 1;
    padding: 10px 5px;
    box-sizing: border-box;
    text-align: center;
}

.key--item-icon {
    width: 25%;
}

.key--item-icon svg {
    fill: white;
}

.key--item-icon svg .blue-dot-color {
    fill: #0071BC;
}

.key--item-icon svg .red-dot-color {
    fill: rgb(195, 0, 47);
}

.key--item-title {
    font-size: 1.125rem;
    text-transform: uppercase;
    margin: 0.5em 0 0.25em 0;
}

.key--item-desc {
    font-size: 0.85rem;
    width: 75%;
}

@media (max-width: 1586px) {
	.home-screen--wrapper {
    	width: calc(100% - 80px);
    	height: calc(100vh - 80px);
	}
	
    .home-screen--container {
        width: 90%;
    }
}

@media (max-width: 1440px) {
	.home-screen--wrapper {
    	width: calc(100% - 60px);
    	height: calc(100vh - 60px);
	}
    .home-screen--container {
        width: 95%;
    }
}

@media (max-width: 1024px) {	
    .home-screen--container {
        width: 100%;
        gap: 30px;
        /*flex-wrap: wrap;*/
    }

    #close-icon {
        top: 10px;
        right: 20px;
    }

    ul.key--container {
        gap: 0px;
    }

}

@media (max-width: 768px) {
	.home-screen--logo {
    	padding-top: 0px
	}
	
	.home-screen--wrapper {
    	width: calc(100% - 40px);
    	height: calc(100vh - 40px);
	}
	
.home-screen--columns {
    padding: 20px;
}
	
	.home-screen--container {
    display: flex;
    justify-content: flex-start;
	padding: 0;
    gap: 0px;
    width: 100%;
    flex-wrap: wrap;
}


}