/* Sets max size for .company-logo images in nav and footer */
:where(#header-logo, #footer-logo) img {
	max-block-size: 40px;
}
/* END Sets max size for .company-logo images in nav and footer */


/* Fix Session Survey a11y background color issue */
.my-survey-list-card .card-survey-incomplete div {
	--rf-brand-color-text-body: var(--calcite-ui-text-inverse);
}
/* END Fix Session Survey a11y background color issue */


/* Copied Custom CSS from UC Speakers page, fixes styling of items inside card */
#rf-speakercatalog.rf-widget .catalog-result.speaker-card {
	align-content: space-between;
	gap: 0 var(--space-5) !important;
}


#rf-speakercatalog.rf-widget .catalog-result.speaker-card :is(.speaker-full-name, .speaker-company-name) {
	margin-inline: 0 !important;
}

#rf-speakercatalog.rf-widget .catalog-result.speaker-card .speaker-full-name {
	font-size: var(--font-0);
}

#rf-speakercatalog.rf-widget .catalog-result.speaker-card .speaker-company-name {
	margin-block-end: 0 !important;
	font-size: var(--font--2);
}

@media(min-width: 800px)and (max-width: 1299px) {
    #rf-speakercatalog.rf-widget .catalog-result.speaker-card {
        max-inline-size: 50%;
    }
}

@media(min-width: 1300px) {
    #rf-speakercatalog.rf-widget .catalog-result.speaker-card {
        max-inline-size: 33%;
    }
}
/* END Copied Custom CSS from UC Speakers page */


/* Makes location link styles match other text in embedded webinar */
#widget-page-session-details .webinar-player-info .webinar-info-content .webinar-info-session-details .session-location {
	--event-cta-color: var(--calcite-ui-text-1);
	--event-cta-color-hover: var(--calcite-ui-text-1);
}

#widget-page-session-details .webinar-player-info .webinar-info-content .webinar-info-session-details .session-location:hover {
	--event-third-alt: transparent;
}
/* END Makes location link styles match other text in embedded webinar */


/* Fixes Media Gallery Card sizing and wrapping */
.esri-media-gallery-card .flex-box-section {
	flex-wrap: wrap;
}

.esri-media-gallery-card .flex-box-child {
    margin: 0;
    padding: 0 !important;
}

@media all and (min-width: 1200px) {
    .esri-media-gallery-card .flex-box-section {
        gap: 0 var(--space-2);
        justify-content: space-between;
    }

	.esri-media-gallery-card .rf-grid-layout-25 {
		inline-size: 24%
	}
}
/* END Fixes Media Gallery Card sizing and wrapping */


/* Adds vertical pipe before location link in session times-component on summary and detailed views */
.times-component .session-location.mdBtnR-link {
	padding-inline-start: 2px;
}

/* Hiding this block, as it's causing duplicate vertical pipes during initial launch
.times-component .session-date-time:not(:last-child) {
	padding-inline-end: 8px;
	border-inline-end: 1px solid var(--calcite-ui-text-1);
} */
/* END Adds vertical pipe before location link in session times-component on summary and detailed views */


/* Styles for "Request sales follow up" button in detailed session view */
#widget-page-session-details .session-details-container .sd-section-sm .exhibitor-card {
	padding: 0;
	margin-block-start: var(--space-10);
	border: none;
}

#widget-page-session-details .session-details-container .sd-section-sm .exhibitor-card .exhibitor-details {
	margin: 0;
}

#widget-page-session-details .session-details-container .sd-section-sm .exhibitor-card :is(.favorite-catalog-result, .exhibitor-name) {
	display: none;
	visibility: hidden;
}
/* END Styles for "Request sales follow up" button in detailed session view */


/* Fixes large moible view for home page banner video section */
@media (min-width: 768px) and (max-width: 900px) {
	.esri-banner .flex-box-section {
		flex-direction: column !important;
	}

	.esri-banner .rf-grid-layout-50 {
		width: 100% !important;
	}
}
/* END Fixes large moible view for home page banner video section */


/* ----------- Session Catalog Branding ----------- */
#rf-catalog .search-content .section-title {
	display: none;
	visibility: hidden;
}
/* ----------- END Session Catalog Branding ----------- */


/* Changes My Schedule Sign out button hoverstate */
.esri-banner.dark-theme.sign-out {
	--event-cta-color-hover: var(--calcite-ui-danger-hover);
}
/* END Changes My Schedule Sign out button hoverstate */
