* {
    cursor: default;
}

a,
button,
[role="button"],
[role="link"],
a *,
button *,
[role="button"] *,
[role="link"] * {
    cursor: pointer !important;
}

input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]),
textarea,
[contenteditable],
[role="textbox"] {
    cursor: text;
}

button[disabled],
[aria-disabled="true"] {
    cursor: not-allowed;
}

svg text,
svg tspan {
    cursor: default;
}

html,
body {
	height: 100%;
	overflow: hidden;
	overscroll-behavior: none;
	-webkit-overflow-scrolling: auto;
	text-rendering: optimizeLegibility;
}

html {
	scrollbar-width: none;
	/* FIX JANKY SHITTY FACEBOOK MESSENGER BROWSER */
	-webkit-text-size-adjust:100% !important;
	text-size-adjust:100% !important;
}

/* FIX JANKY SHITTY FACEBOOK MESSENGER BROWSER MORE */
html.messenger {
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

html::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

html.overlay-locked,
body.overlay-locked {
	overflow: hidden !important;
	height: 100%;
}

body.overlay-locked {
	position: fixed !important;
	inset: 0;
	width: 100%;
}

#pageScene {
	position: fixed;
	inset: 0;
	width: 100vw !important;
	height: 100vh !important;
	z-index: 0;
	pointer-events: none;
	overflow: visible;
}

#mitd-panel-host {
	position: fixed;
	inset: 0;
	z-index: 0;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
	overflow: hidden;
}

#mitd-panel-host .mitd-panel {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	margin: 0;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 250ms ease, transform 250ms ease;
	pointer-events: none;
	overflow: hidden;
	overscroll-behavior: contain;
	padding-left: 35px;
	padding-bottom: 10px;
}

#mitd-panel-host .mitd-panel p {
	text-shadow: 1px 1px 1px #000;
}

#mitd-panel-host .mitd-panel.mitd-active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.mitd-hword{display:inline-block;white-space:nowrap}
.mitd-hspace{display:inline}
.mitd-hchar{display:inline-block;transform:translateY(1em);opacity:0;will-change:transform,opacity;backface-visibility:hidden;contain:layout paint}

.vc_row.mitd-panel,
.wpb_row.mitd-panel {
	position: fixed !important;
}

#mitd-awards .keep-scrolling, #mitd-skyline .keep-scrolling, #mitd-expertise .keep-scrolling {
	position: fixed;
	bottom: 10px;
	left: 30px;
}

#footer {
	position: fixed;
	z-index: 1;
    bottom: 0px;
    transition: opacity 500ms ease;
	width: 100%;
}

h1 {
    margin-bottom: 0px;
    line-height: 1.1em
}

#footer {
    display: none;
}



/* SCROLL DOWN */
.scroll-down {
    transform-origin: bottom right;
    transform: rotate(90deg);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    margin-right: 15px;
    font-size: 16px;
}

.scroll-down-line{
    position: relative;
    height: 2px;
    width: 50px;
    background: rgba(255,255,255,0.1);
    overflow: hidden;
}

.scroll-down-line::after{
    content: "";
    position: absolute;
    top: 50%;
    left: -12px;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background: #ffffff;
    box-shadow: 0 0 8px #ffffff;
    animation: sweep 1.2s linear infinite;
}

@keyframes sweep{
  0%   { left: -12px; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce){
  .scroll-down-line::after{ animation: none; }
}



/* ANIMATIONS */
.fades-in {
	opacity: 1;
	transition: opacity .5s ease;
}

.fades-out {
	opacity: 0;
	transition: opacity .5s ease;
}



/* MOBILE QUERIES */
@media only screen and (max-width: 768px) {
	
	.mitd-cursor-ring, .mitd-cursor-core {
		display: none;
	}
	
    #mitd-panel-host .mitd-panel {
    	padding-left: 0px;
    	padding-bottom: 75px;
    }
	
	.mitd-panel p, .mitd-panel h1 {
		text-align: center;
	}
	
    .mitd-list li {
        padding: 5px 0px 5px 0px;
    }
    
    .btn-align-left {
        text-align: center;
    }
    
    .wf-container-bottom {
        padding: 0px 0 20px 0;
    }
    
	.scroll-down {
	    font-size: 14px;
		gap: 4px;
		margin-right: 0px;
		transform: rotate(0deg);
	}

	.scroll-down-line {
		width: 10px;
		height: 2px;
		transform: rotate(270deg);
		transform-origin: center;
	}

	.scroll-down-line::after {
		width: 12px;
		height: 2px;
		left: -12px;
	}

	@keyframes sweep{
		0%   { left: 100%; opacity: 0; }
		10%  { opacity: 1; }
		90%  { opacity: 1; }
		100% { left: -12px; opacity: 0; }
	}
	
}