/* Fix menu overflowing the bottom of the screen */
.sub-menu {
    max-height: 65vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Prevents the logo overflowing  */
.logo_container #logo {
	max-width: 250px;
    max-height: 60px;
}

/* Fix news item featured image height */
.et_pb_blog_grid .et_pb_image_container img {
    height: 215px;
    object-fit: cover;
}

.et-social-icon {
	margin-bottom:0!important;
	vertical-align: middle;
}

#footer-bottom .et-social-icons li:first-child {
  margin-left: 0!important;
}

/* Styling for the 'Learn more' block - used in body text */
.et-learn-more h3.heading-more {
	background: rgba(0,0,0,0) !important;
    font-size: 16px !important;
    padding: 0 !important;
    border: 0 !important;
}

.et-learn-more {
    border: 0 !important;
    background: rgba(0,0,0,0) !important;
    box-shadow: none !important;
}

.learn-more-content {
	border: 0 !important;
	padding: 15px 0 0 !important;
}

.learn-more-content p {
	color: #666 !important;
}

.et-learn-more h3.heading-more span.et_learnmore_arrow {
	display: none !important;
}

/* WP VR plugin styling tweaks */
div.custom-tooltip span {
	font-family: Arial, Helvetica, sans-serif;
    padding: 1rem;
}

.pnlm-panorama-info {
	left: 5px;
    bottom: 5px;
    border-radius: 3px;
    padding: 0.25rem 0.5rem;
	background-color: rgba(0, 0, 0, 0.5);
}

.pnlm-title-box {
	padding: 0;
    margin: 0;
}

.zoom-in-out-controls {
	background: rgba(0, 0, 0, 0.5);
	border-radius: 3px;
}

.pnlm-container .controls {
	background: rgba(0, 0, 0, 0.5);
}

.pnlm-hotspot-base.tour-hotspot-subject-link {
	width: 80px;
    height: 30px;
}

/*
.pnlm-hotspot-base.tour-hotspot-subject-link::after {
	content: '';
    display: block;
    width: 30px;
    height: 30px;
    margin: 0 auto;
    border-radius: 50px;
    background-color: #abb696;
    transform-origin: center;
    
	transform: scale(1);
    opacity: 0;
	animation: tour-hotspot-pulse 3s ease-in-out infinite;
}
*/

.pnlm-hotspot-base:hover {
	z-index: 10;
}

@keyframes tour-hotspot-pulse {
	0% {
		transform: scale(1);
    	opacity: 0;
	}
    
    25% {
    	opacity: 0.5;
	}

	50% {
		transform: scale(1.25);
    	opacity: 0;
	}
}

.tour-hotspot-menu-button::after {
	content: 'View subjects';
    font-size: 16px;
    padding: 10px;
    background-color: #abb696;
    color: #fff;
    border-radius: 10px;
    
	animation: tour-hotspot-menu-button-pulse 1.5s infinite cubic-bezier(.25, 0, 0, 1);
}

@keyframes tour-hotspot-menu-button-pulse {
	0% {
		box-shadow: 0 0 0 0px rgba(171, 182, 150, 1);
	}

	100% {
		box-shadow: 0 0 0 10px rgba(171, 182, 150, 0);
	}
}

.pnlm-container .custom-ifram-wrapper {
    transform: translate3d(-50%, 0, 99999px);
}

/* Hide reCAPTCHA badge. */
.grecaptcha-badge {
	visibility: hidden !important;
}