/* Hide Stupid WP Action Bar */
#actionbar {
	display: none !important;
}

.hidden {
	display: none !important;
}

.desktop, .tablet, .desktop-click {
	display: none !important;
}

.mobile-grid {
	display: grid !important;
}

.hide-on-desktop, .hide-on-desktop-grid, .desktop-nav, .desktop-map {
	display: none !important;
}

.hide-on-mobile {
	display: flex !important;
}

#speakers, #sponsors {
	scroll-margin-block-start: 9rem;
}

/* Desktop Media Queries */
@media (min-width: 1050px) {
	.desktop-click, .desktop-map {
		display: flex !important;
		justify-content: center !important;
	}
	
	.mobile-tap, .mobile {
		display: none !important;
	}
}

@media (min-width: 820px) {
	.desktop-nav {
		display: flex !important;
	}
	
	#sponsors-row img {
		width: 256px !important;
		height: 256px !important;
	}
}

/* Tablet Media Queries */
@media (min-width: 620px) {
	.desktop, .tablet, .desktop-nav {
		display: flex !important;
	}
	
	#mobile-menubar {
		display: none !important;
	}
	
	.mobile-grid {
		display: none !important;
	}
	
	#speakers, #sponsors {
		scroll-margin-block-start: 1rem;
	}
}

/* Figure out how to get rid of these max queries */
@media (max-width: 820px) {
	.hide-on-mobile {
		display: none !important;
	}
	
	.hide-on-desktop-grid {
		display: none !important;
	}
	
	.hide-on-desktop {
		display: flex !important;
	}
	
	#Speakers, #Sponsors {
		scroll-margin-block-start: 7rem !important;
	}
}

@media (max-width: 620px) {
	.hide-on-mobile {
		display: none !important;
	}
	
	.hide-on-desktop {
		display: flex !important;
	}
	
	.hide-on-desktop-grid {
		display: grid !important;
	}
	
	#Speakers, #Sponsors {
		scroll-margin-block-start: 6rem !important;
	}
}

/* Margin for First Block */
.first {
	margin-top: 0;
}

/* Make Mobile Menu Sticky */
#header-mobile, .header-mobile {
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 99998;
}

/* Size and Position Mobile Nav Button */
.mobile-nav {
	margin-top: 0;
	padding-left: .75rem;
	height: 5rem;
	justify-content: center;
}

/* Mobile Menu Items Vertical */
#modal-1-content > ul {
	flex-wrap: nowrap;
}

/* Reposition Mobile Menu Buttons and Items */
.wp-block-navigation__responsive-container-content {
	padding-left: 1.75rem;
}

.wp-block-navigation__responsive-container-close {
	left: 1.75rem;
	top: 1.75rem;
}

.wp-block-navigation__responsive-container-content {
	padding-top: 4.5rem !important;
}

#mobile-menubar {
	margin-block-start: 0;
}

#sponsors-row-parent {
	overflow: auto;
}

#sponsors-row img {
	max-width: unset !important;
}

.auto-slider, .slide-track, .slide {
	-webkit-backface-visibility: hidden !important;
}

/* Auto Scrolling Partners Slider */
@keyframes scroll {
	0% {
		transform: translateX(0);
	}
	
	100% {
		transform: translateX(calc(-184px * 12));
	}
}

.auto-slider {
	margin: auto;
	overflow: hidden;
	position: relative;
}

.auto-slider::before,
.auto-slider::after {
	background: linear-gradient(to right, rgba(233, 167, 132, 1), rgba(233, 167, 132, 0) 100%);
	content: "";
	height: 100%;
	position: absolute;
	width: 50px;
	z-index: 2;
}

@media (min-width: 820px) {
	.auto-slider::before,
									.auto-slider::after {
		width: 200px;
	}
}

.auto-slider::after {
	right: 0;
	top: 0;
	transform: rotateZ(180deg);
}

.auto-slider::before {
	left: 0;
	top: 0;
}

.auto-slider .slide-track {
	animation: scroll 24s linear infinite;
	width: calc((184px * 24) - 1.5rem);
}

/* Hover Speaker for Bio */
.container {
	position: relative;
}

.overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: var(--wp--preset--color--contrast);
	overflow: hidden;
	width: 100%;
	height: 100%;
	transform: scale(0);
	transition: .3s ease;
	display: flex;
	align-items: center;
	border-radius: 1rem;
}

.container:hover .overlay, .container:active .overlay {
	transform: scale(1);
}

.bio-text a {
	color: white;
}

.bio-text a:hover {
	color: var(--wp--preset--color--primary);
}

/* Bottom Padding for Countdown */
.wp-block-jetpack-event-countdown {
	padding-bottom: .5rem;
}

/* Hide "Until" in Countdown */
.event-countdown__counter > :last-child {
	display: none;
}