/* Right from customizer  */

.opentable {
	
	margin-bottom: 1em;
	
	h1 {

		font-size: 20px;
		line-height: 24px;

		margin-bottom: 0.5em
		
	}
	
	@media (min-width:1024px) {
		
		float: left;
		margin-right: 1em;		
	
		& ~ h3 {

			clear: both;

		}
		
	}
		
}
.entry-content .is-style-video-width-center-370 iframe {
	position: static ! important;
}

.wp-embed-responsive .wp-embed-aspect-16-9.is-style-video-width-center-370 .wp-block-embed__wrapper:before {
	padding-top: 0;
}

.wp-embed-responsive .wp-embed-aspect-16-9.is-style-video-width-center-370 .wp-block-embed__wrapper:before {
	padding-top: 0;
}

.is-style-video-width-center-370 .embed-youtube {
	padding-bottom: 0;
	display: table ! important;
}

.site-header .site-branding .site-title a {
	min-width: 142px
}


/* end of customizer styles, move back if anything breaks. */


.is-style-video-width-370 iframe,
.is-style-video-width-left-370 iframe,
.is-style-video-width-right-370 iframe,
.is-style-video-width-center-370 iframe {
    width: 370px !important;
    height: 208px !important;
}

.is-style-video-width-left-370 .embed-youtube {
    margin-right: auto;
    max-width: 370px;
}


.is-style-video-width-right-370 .embed-youtube {
    margin-left: auto;
    max-width: 370px;
}

.is-style-video-width-center-370 .embed-youtube {
    margin-right: auto !important;
    margin-left: auto !important;
    max-width: 370px;
}

.wp-embed-responsive .wp-embed-aspect-16-9.is-style-video-width-center-370 .wp-block-embed__wrapper:before {
    padding-top: 0;
}

.wp-embed-responsive .wp-embed-aspect-16-9.is-style-video-width-center-370 .wp-block-embed__wrapper:before {
    padding-top: 0;
}

.is-style-video-width-center-370 .embed-youtube {
    padding-bottom: 0;
    display: table ! important;
}

/* Color Options
--------------------------------------------- */
.has-blue-color {
    color: #59BACC !important;
}

.has-blue-background-color {
    background-color: #59BACC !important;
}

.has-green-color {
    color: #58AD69 !important;
}

.has-green-background-color {
    background-color: #58AD69 !important;
}

.has-orange-color {
    color: #FFBC49 !important;
}

.has-orange-background-color {
    background-color: #FFBC49 !important;
}

.has-red-color {
    color: #E2574C !important;
}

.has-red-background-color {
    background-color: #E2574C !important;
}

.visitor-info.footer-visitor .container .button.narrow {
    align-self: end;
}

.visitor-info .widget-title {
    font-size: 24px !important;
    line-height: 30px !important;
}


.promo.middle.second {
    border-left: none !important;
}

.promo.middle.third {
    border-left: none !important;
    border-right: none !important;
}

.visitor-info.footer-visitor .middle {
    border-bottom: none !important;
}

.promo-wrapper .vert {
    display: grid !important;
    grid-template-rows: repeat(4, minmax(5px, auto)) !important;
    grid-auto-rows: 1fr !important;
}

.visitor-info .subtitle {
    font-size: 16px !important;
    text-transform: lowercase;
}

.widget-hours-admission a.button {
    margin-top: 30px;
}

.wp-block-embed-youtube.is-style-default iframe {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.row-bottom {
    border-top: 1px solid color(navy);
    padding-top: 36px;
}

.row-bottom .pjg-bottom-logos-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.row-bottom .pjg-bottom-logos-wrapper .pjg-bottom-logos__image {
    display: block;
    margin: 0 0 18px;
}

.row-bottom .pjg-bottom-logos-wrapper .pjg-bottom-logos__image:last-child {
    margin-right: 0;
}

@media only screen and (min-width: 767px) {
    .visitor-info.footer-visitor .container .columns.middle {
        margin-right: 0 !important;
    }

    .type-event.event-sidebar-share:not(.item-search) .entry-content,
    .type-event.event-sidebar-share:not(.item-search) .entry-summary,
    .type-event.event-sidebar-share:not(.item-search) .page-content,
    .type-post.event-sidebar:not(.item-search) .entry-content,
    .type-post.event-sidebar:not(.item-search) .entry-summary,
    .type-post.event-sidebar:not(.item-search) .page-content {
        width: 100%;
    }
}


@media only screen and (max-width: 460px) {
   .entry-header .featured-image .title-wrapper h1 {
    font-size: 36px;
    line-height: 36px;
   }

   .entry-header .featured-image .title-wrapper .entry-content {
    margin-top: 0px;
   }

   .entry-header .featured-image .title-wrapper .entry-content p {
    margin-bottom: 15px;
   }

   .home .entry-header .entry-content .arrow {
        width: 40px;
    }
}

/* Menu overlay layout shift fix */

body.overlay-nav {
    overflow: auto ;
}

/* Alert Styles */
.global-alert .wrapper {
    padding: 15px !important;
}

.global-alert.color-green.open {
    height: auto !important;
}

.global-alert .global-alert-row .global-alert-copy .global-alert-content {
    height: auto !important;
}

.global-alert a:hover {
    color: #fff !important;
    text-decoration: none !important;
}

.global-alert .global-alert-row .global-alert-copy .global-alert-content p {
    line-height: 1.3 !important;
    margin-top: -5px !important;
}

.global-alert.color-green .global-alert-title .title {
    font-size: 24px;
    white-space: nowrap !important; /* Prevent text from wrapping */
}

.global-alert-title {
    color: #253746 !important;
    display: flex;
    align-items: center !important; /* Vertically align items */
    /* Optionally, you can use justify-content: center; to center the content horizontally */
}
.global-alert-title a:visited, .global-alert-title a {
    color: #253746;
    text-decoration: none;
}

.title {
    font-size: 16px; /* Adjust the font size as needed */
}

.global-alert {
    position: relative !important;
    padding-right: 40px;
}

.global-alert-close {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
}

.global-alert-close svg {
    width: 20px !important; /* Adjust the size of the icon */
    height: 20px !important; /* Adjust the size of the icon */
}

.wrapper {
    padding-top: 40px !important; /* Adjust to ensure content does not overlap with the close button */
}

.global-alert .global-alert-row .global-alert-title {
    width: auto !important;
}

.global-alert .global-alert-row .global-alert-copy {
    width: auto !important;
    margin-left: 25px;
}

.global-alert .global-alert-row {justify-content: center;}

.global-alert .global-alert-row .global-alert-title {
    padding-right: 25px;
    margin-right: 0;
    border-right: 2px solid #25374650;
}


.global-alert-button a {
    padding: 7px 15px 8px;
    border: 1px solid #253746;
    cursor: pointer;
    font-family: AddingtonCF-DemiBold, serif;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1.2;
    text-decoration: none;
    background-color: transparent;
    border-radius: 0;
    color: #253746;
    margin: 10px 0;
	z-index: 10000;
	white-space: nowrap;
	touch-action: manipulation;
}

.global-alert-copy {
    display: flex;
    
}
.global-alert-content {
    display: flex;
    align-items: center; /* Vertically center */
    justify-content: center; /* Horizontally center */
    height: 100%; /* Ensure it takes up the full height of its container */
}
.global-alert-content p {
    margin-right: 25px;
}

.global-alert-button a:hover {
    background: #253746;
    color: #fff;
}
.global-alert-button {
    display: flex;
    align-items: center;
    justify-content: center;
}
.global-alert-content a {
    touch-action: manipulation; 
}

@media (max-width: 767px) {
    .global-alert .global-alert-row .global-alert-copy {
        margin-left: 0px;
    }
    .global-alert .global-alert-row .global-alert-title {
    border-right: none;
}
.global-alert {
    padding-right: 0;
}
.global-alert .global-alert-row .global-alert-copy .global-alert-content p {
    font-size: 15px;
}
}

@media screen and (max-width: 767px) {
    .global-alert .global-alert-row .global-alert-title {
        display: block;
        border-right: none;
    }
    .global-alert .global-alert-row .global-alert-copy 
    {
        display: block;
    }
    .global-alert-row {
        text-align: center;
    }
   
    .global-alert .global-alert-row .global-alert-title
    {
        padding-right: 0;
    }
    .global-alert-content p
    {
        margin-right: 0;
    }
    .global-alert-button a {
    margin: 7px 0 0 0;
        padding: 5px 13px 5px;
        font-size: 14px;
        line-height: 1.1;
		width: 100%;
}

    .global-alert .global-alert-row .global-alert-title 
    {
        margin-bottom: 5px
        
    }
    .global-alert .global-alert-row .global-alert-copy .global-alert-content p {
        font-size: 14px
    }
    .global-alert.color-green .global-alert-title .title
    {
       font-size: 22px;
    }
	.archive.alert .site-content, .blog.alert .site-content, .page.alert .site-content {
    padding-top: 240px;
}
}
@media screen and (min-width: 1024px) {
    .alert.media-top:not(.archive) .site-content, .single.alert .site-content {
        padding-top: 240px;
    }
}
@media screen and (min-width: 768px) {
    .archive.alert .site-content, .blog.alert .site-content, .page.alert .site-content {
        padding-top: 240px;
    }
}