/*
You can add your own CSS here.

Click the help icon above to learn more.
*/
/* Twenty Seventeen - overlay ONLY the first SiteOrigin row on Page/Panel post-1 */
/* Twenty Seventeen - overlay ONLY the first SiteOrigin row on post-1 */
@media (min-width: 768px) {
  body .post-1 {
    position: relative !important;
  }

  body .post-1 .panel-image {
    position: relative !important;
    z-index: 1 !important;
  }

 body .post-1 .panel-content {
  position: static !important;
  background: transparent !important;
}

  /* ONLY the first SiteOrigin row */
body .post-1 .panel-content .panel-grid:first-of-type {
  position: absolute !important;
  top: 32% !important;
  left: 68% !important;
  right: auto !important;
  transform: translate(-50%, -50%) !important;
  z-index: 10 !important;

  width: 30vw !important;
  max-width: 30vw !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
  body .post-1 .panel-content .panel-grid:first-of-type .panel-grid-cell,
  body .post-1 .panel-content .panel-grid:first-of-type .so-panel,
  body .post-1 .panel-content .panel-grid:first-of-type .panel-widget-style {
    width: 100% !important;
		min-width: 0 !important;
    max-width: 100% !important;
		box-sizing: border-box !important;
  }

  body .post-1 .panel-content .panel-grid:first-of-type .panel-widget-style {
    background: rgba(0, 0, 0, 0.03) !important;
    padding: 24px 30px !important;
    border-radius: 2px !important;
    box-sizing: border-box !important;
  }

  body .post-1 .panel-content .panel-grid:first-of-type .textwidget,
  body .post-1 .panel-content .panel-grid:first-of-type .siteorigin-widget-tinymce {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body .post-1 .panel-content .panel-grid:first-of-type p {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    line-height: 1.45 !important;
  }

  body .post-1 .panel-content .panel-grid:first-of-type p:last-child {
    margin-bottom: 0 !important;
  }
}
/* MOBILE - Twenty Seventeen featured image overlay for first row on post-1 */
@media (max-width: 767px) {
  body .post-1 {
    position: relative !important;
  }

  /* Featured image area */
  body .post-1 .panel-image {
    position: relative !important;
    z-index: 1 !important;
    min-height: 90vh !important;

    background-size: auto 115% !important;
    background-position: 16% -65px !important;
    background-repeat: no-repeat !important;
  }

  body .post-1 .panel-image img {
    width: 100% !important;
    min-height: 90vh !important;
    object-fit: cover !important;
    object-position: 70% top !important;
  }

  /* Keep page content above the featured image */
  body .post-1 .panel-content {
    position: relative !important;
    z-index: 2 !important;
    background: transparent !important;
  }

  /* Overlay only the first SiteOrigin row */
  body .post-1 .panel-content .panel-grid:first-of-type {
    position: absolute !important;
    top: -25% !important;
    left: 0 !important;
    right: 0 !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;

    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* Basic paragraph spacing inside the overlay row */
  body .post-1 .panel-content .panel-grid:first-of-type p {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    line-height: 1.25 !important;
    font-size: 14px !important;
  }

  body .post-1 .panel-content .panel-grid:first-of-type p:last-child {
    margin-bottom: 0 !important;
  }
	/* Paragraph spacing for ONLY the featured-image overlay text box */
body .post-1 .panel-content .panel-grid:first-of-type p {
  margin-bottom: 2px !important;
}

body .post-1 .panel-content .panel-grid:first-of-type p:last-child {
  margin-bottom: 0 !important;
}
}
	/* Old CSS */
.site-content {
    padding-top: 1em;
}

.page-header {
    padding-bottom: 0;
}

@media screen and (min-width: 48em) {
    .page.page-one-column .entry-header, 
    .twentyseventeen-front-page.page-one-column .entry-header, 
    .archive.page-one-column:not(.has-sidebar) .page-header {
        margin-bottom: 0;
    }
}
@media screen and (min-width: 30em) {
	.page-one-column .panel-content .wrap {
		max-width: 910px;
	}
}

@media screen and (min-width: 48em) {
	.wrap {
		max-width: 1000px;
		padding: 0;
	}

.wrap {
max-width: 1000px;
padding-left: 3em;
padding-right: 3em;
}
#primary {
width: 100% !important;
}
.has-sidebar #secondary {
width: 26% !important;
}
@media screen and (min-width: 30em) {
	.site-content > .wrap {
		max-width: 1000px !important;
	}
	.site-content > .wrap .content-area {
		max-width: none !important;
	}
}

#masthead .wrap {
    /* position: relative; */
	text-align: right;
	}}
@media screen and (min-width: 48em) {
	.custom-logo-link img {
		max-width: 300px;
	}
}

.custom-logo-link img {
    /* display: inline-block; */
    max-height: 80px;
    /* width: auto; */
}
#site-logo {
 display: none;
}
.home #site-logo {
 display: block;
}
@media (max-width: 767px) {
  body {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  h1 {
    font-size: 32px !important;
    line-height: 1.15 !important;
  }

  h2 {
    font-size: 26px !important;
    line-height: 1.2 !important;
  }

  h3 {
    font-size: 22px !important;
    line-height: 1.25 !important;
  }

  h4 {
    font-size: 19px !important;
    line-height: 1.3 !important;
  }
	
  p,
  li,
  .textwidget,
  .siteorigin-widget-tinymce {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
}

@media (max-width: 767px) {
  .so-panel,
  .panel-widget-style,
  .so-widget-sow-editor,
  .siteorigin-widget-tinymce,
  .textwidget {
    max-width: 95% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media (max-width: 767px) {
  .siteorigin-widget-tinymce,
  .textwidget,
  .so-widget-sow-editor,
  .panel-widget-style p {
    text-align: justify !important;
    text-justify: inter-word;
  }
}
@media (max-width: 767px) {
  .siteorigin-widget-tinymce p,
  .siteorigin-widget-tinymce span,
  .siteorigin-widget-tinymce div,
  .textwidget p,
  .textwidget span,
  .textwidget div {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .siteorigin-widget-tinymce h1,
  .textwidget h1 {
    font-size: 32px !important;
  }

  .siteorigin-widget-tinymce h2,
  .textwidget h2 {
    font-size: 26px !important;
  }

  .siteorigin-widget-tinymce h3,
  .textwidget h3 {
    font-size: 22px !important;
  }
}
@media (max-width: 767px) {
  .panel-grid,
  .panel-row-style,
  .siteorigin-panels-stretch {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }

  .panel-grid-cell,
  .panel-widget-style {
    max-width: 100% !important;
  }

  .siteorigin-widget-tinymce,
  .textwidget {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
}
@media (max-width: 767px) {
  .siteorigin-widget-tinymce h1,
  .textwidget h1,
  .so-widget-sow-editor h1 {
    font-size: 32px !important;
    line-height: 1.15 !important;
  }

  .siteorigin-widget-tinymce h2,
  .textwidget h2,
  .so-widget-sow-editor h2 {
    font-size: 26px !important;
    line-height: 1.2 !important;
  }

  .siteorigin-widget-tinymce h3,
  .textwidget h3,
  .so-widget-sow-editor h3 {
    font-size: 22px !important;
    line-height: 1.25 !important;
  }

  .siteorigin-widget-tinymce h4,
  .textwidget h4,
  .so-widget-sow-editor h4 {
    font-size: 19px !important;
    line-height: 1.3 !important;
  }
}
@media (max-width: 767px) {
  body.page-id-821 .site-content,
  body.page-id-821 .entry-content,
  body.page-id-821 .content-area,
  body.page-id-827 .site-content,
  body.page-id-827 .entry-content,
  body.page-id-827 .content-area,
  body.page-id-1563 .site-content,
  body.page-id-1563 .entry-content,
  body.page-id-1563 .content-area {
    padding-top: 6px !important;
  }
}
@media (max-width: 767px) {
  .wp-block-video,
  .wp-block-embed,
  .siteorigin-widget-video,
  .sow-video-wrapper,
  .fluid-width-video-wrapper,
  .embed-responsive,
  iframe[src*="youtube"],
  iframe[src*="vimeo"],
  video {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    display: block !important;
  }
}
@media (max-width: 767px) {
  iframe[src*="youtube"],
  iframe[src*="vimeo"],
  iframe[src*="player"],
  video,
  .wp-block-video video,
  .sow-video-wrapper iframe,
  .siteorigin-widget-video iframe {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    max-height: none !important;
    display: block !important;
  }
}
@media (max-width: 767px) {
  .siteorigin-widget-tinymce div[style*="max-width: 60%"],
  .textwidget div[style*="max-width: 60%"],
  .so-widget-sow-editor div[style*="max-width: 60%"] {
    max-width: 100% !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .siteorigin-widget-tinymce div[style*="max-width: 60%"] iframe,
  .textwidget div[style*="max-width: 60%"] iframe,
  .so-widget-sow-editor div[style*="max-width: 60%"] iframe {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }
}
@media (max-width: 767px) {
  .siteorigin-widget-tinymce div[style*="max-width: 60%"],
  .textwidget div[style*="max-width: 60%"],
  .so-widget-sow-editor div[style*="max-width: 60%"] {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }

  .siteorigin-widget-tinymce div[style*="max-width: 60%"] iframe,
  .textwidget div[style*="max-width: 60%"] iframe,
  .so-widget-sow-editor div[style*="max-width: 60%"] iframe {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }
}
@media (max-width: 767px) {
  .video-container {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 56.25vw !important;
    height: 0 !important;
    overflow: hidden !important;
    line-height: 0 !important;
  }

  .video-container iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }
}
@media (max-width: 767px) {
  .video-container {
    width: 100vw !important;
    max-width: 100vw !important;
    aspect-ratio: 16 / 9 !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    height: auto !important;
    line-height: 0 !important;
  }

  .video-container iframe {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
@media (max-width: 767px) {
  .video-gap-fix,
  .video-gap-fix .panel-row-style,
  .video-gap-fix .panel-grid-cell,
  .video-gap-fix .so-panel,
  .video-gap-fix .panel-widget-style,
  .video-gap-fix .siteorigin-widget-tinymce,
  .video-gap-fix .textwidget,
  .video-gap-fix .video-container {
    min-height: 0 !important;
    height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .video-gap-fix .video-container {
    aspect-ratio: 16 / 9 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    overflow: hidden !important;
  }

  .video-gap-fix iframe {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  .video-gap-fix p:empty,
  .video-gap-fix p:has(iframe),
  .video-gap-fix br {
    margin: 0 !important;
    padding: 0 !important;
  }
}
@media (max-width: 767px) {
  .video-gap-fix {
    margin-bottom: 40px !important;
    padding-bottom: 20px !important;
  }
}
@media (max-width: 767px) {
  .mobile-bg-text-fix {
    background-size: 100% auto !important;
    background-repeat: no-repeat !important;
    background-position: top center !important;
    padding-top: 45vw !important;
    padding-bottom: 20px !important;
  }
	@media (max-width: 767px) {
  .siteorigin-widget-tinymce p,
  .siteorigin-widget-tinymce span,
  .siteorigin-widget-tinymce div,
  .siteorigin-widget-tinymce li,
  .so-widget-sow-editor p,
  .so-widget-sow-editor span,
  .so-widget-sow-editor div,
  .so-widget-sow-editor li,
  .textwidget p,
  .textwidget span,
  .textwidget div,
  .textwidget li {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .siteorigin-widget-tinymce h1,
  .so-widget-sow-editor h1,
  .textwidget h1 {
    font-size: 32px !important;
    line-height: 1.15 !important;
  }

  .siteorigin-widget-tinymce h2,
  .so-widget-sow-editor h2,
  .textwidget h2 {
    font-size: 26px !important;
    line-height: 1.2 !important;
  }

  .siteorigin-widget-tinymce h3,
  .so-widget-sow-editor h3,
  .textwidget h3 {
    font-size: 22px !important;
    line-height: 1.25 !important;
  }
}
/*
  .mobile-bg-text-fix .panel-grid-cell,
  .mobile-bg-text-fix .so-panel,
  .mobile-bg-text-fix .panel-widget-style,
  .mobile-bg-text-fix .siteorigin-widget-tinymce,
  .mobile-bg-text-fix .textwidget {
    background: transparent !important;
   /* color: #fff !important; */
  }
}/*
@media (max-width: 767px) {
  .mobile-full-bg-overlay-text {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 60vh !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 40px 20px !important;
  }

  .mobile-full-bg-overlay-text .panel-grid-cell,
  .mobile-full-bg-overlay-text .so-panel,
  .mobile-full-bg-overlay-text .panel-widget-style,
  .mobile-full-bg-overlay-text .siteorigin-widget-tinymce,
  .mobile-full-bg-overlay-text .textwidget {
    position: relative !important;
    z-index: 2 !important;
  }

  .mobile-full-bg-overlay-text .siteorigin-widget-tinymce,
  .mobile-full-bg-overlay-text .textwidget {
    background: rgba(0, 0, 0, 0.55) !important;
    padding: 20px !important;
    border-radius: 8px !important;
    color: #fff !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media (max-width: 767px) {
  .mobile-zoom-bg-overlay,
  .mobile-zoom-bg-overlay *,
  .mobile-zoom-bg-overlay .panel-row-style,
  .mobile-zoom-bg-overlay .panel-grid-cell {
    background-size: auto 180% !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
  }
}
@media (max-width: 767px) {
  .mobile-zoom-bg-overlay,
  .mobile-zoom-bg-overlay.panel-row-style,
  .mobile-zoom-bg-overlay .panel-row-style,
  .panel-row-style.mobile-zoom-bg-overlay {
    background-size: auto 180% !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    min-height: 60vh !important;
  }

  .mobile-zoom-bg-overlay,
  .mobile-zoom-bg-overlay.panel-row-style,
  .panel-row-style.mobile-zoom-bg-overlay {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .mobile-zoom-bg-overlay .panel-grid-cell {
    min-height: 60vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .mobile-zoom-bg-overlay .siteorigin-widget-tinymce,
  .mobile-zoom-bg-overlay .textwidget,
  .mobile-zoom-bg-overlay .so-widget-sow-editor {
    background: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    padding: 18px 20px !important;
    border-radius: 8px !important;
    max-width: 88% !important;
    margin: 0 auto !important;
  }
}
@media (max-width: 767px) {
  .mobile-bg-position-fix,
  .mobile-bg-position-fix .panel-row-style {
    background-position-x: 20% !important;
    background-position-y: 60% !important;
    background-size: auto 120% !important;
    background-repeat: no-repeat !important;
    min-height: 60vh !important;
  }

  .mobile-bg-position-fix,
  .mobile-bg-position-fix .panel-row-style,
  .mobile-bg-position-fix .panel-grid-cell {
    min-height: 60vh !important;
  }
@media (max-width: 767px) {
  .mobile-bg-position-fix,
  .mobile-bg-position-fix .panel-row-style {
    position: relative !important;
    overflow: hidden !important;
  }

  .mobile-bg-position-fix::before,
  .mobile-bg-position-fix .panel-row-style::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.55) !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  .mobile-bg-position-fix .panel-grid-cell,
  .mobile-bg-position-fix .so-panel,
  .mobile-bg-position-fix .panel-widget-style,
  .mobile-bg-position-fix .siteorigin-widget-tinymce,
  .mobile-bg-position-fix .textwidget {
    position: relative !important;
    z-index: 2 !important;
  }

/* @media (max-width: 767px) {
  .mobile-bg-position-fix .panel-widget-style {
    background: transparent !important;
    padding: 10px 12px !important;
    border-radius: 2px !important;

    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;

    margin-top: 400px !important;
    margin-right: auto !important;
    margin-bottom: 0 !important;
    margin-left: auto !important;

    box-sizing: border-box !important;
    transform: none !important;
    /*color: #ffffff !important;*/
  }
}/*
  .mobile-bg-position-fix .siteorigin-widget-tinymce,
  .mobile-bg-position-fix .textwidget,
  .mobile-bg-position-fix .so-widget-sow-editor,
  .mobile-bg-position-fix .so-panel {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  .mobile-bg-position-fix .panel-widget-style p,
  .mobile-bg-position-fix .textwidget p,
  .mobile-bg-position-fix .siteorigin-widget-tinymce p {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    max-width: 100% !important;
    width: 100% !important;
    /*color: #ffffff !important;*/
  }
/*
  .mobile-bg-position-fix .panel-widget-style p:last-child,
  .mobile-bg-position-fix .textwidget p:last-child,
  .mobile-bg-position-fix .siteorigin-widget-tinymce p:last-child {
    margin-bottom: 0 !important;
  }

  .mobile-bg-position-fix .panel-widget-style span,
  .mobile-bg-position-fix .panel-widget-style strong {
   /*color: #ffffff !important;*/
  }
}/*
	@media (max-width: 767px) {
  .mobile-bg-position-fix,
  .mobile-bg-position-fix .panel-row-style,
  .mobile-bg-position-fix .panel-grid-cell {
    min-height: 90vh !important;
    height: 90vh !important;
    max-height: 90vh !important;
  }
}*/
/* Featured image text overlay - desktop */
/*@media (min-width: 768px) {
  .home-feature-text-overlay {
    position: relative !important;
    z-index: 999 !important;
    margin-top: -430px !important;
    margin-bottom: 220px !important;
    width: 48% !important;
    margin-left: 50% !important;
    margin-right: 5% !important;
  }

  .home-feature-text-overlay .panel-widget-style,
  .home-feature-text-overlay .textwidget,
  .home-feature-text-overlay .siteorigin-widget-tinymce {
    background: rgba(0, 0, 0, 0.25) !important;
    padding: 24px 30px !important;
    border-radius: 2px !important;
    color: inherit !important;
    box-sizing: border-box !important;
  }

  .home-feature-text-overlay p {
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    line-height: 1.45 !important;
  }

  .home-feature-text-overlay p:last-child {
    margin-bottom: 0 !important;
  }
}
@media (min-width: 768px) {
  body.page-id-1 .home-feature-text-overlay {
    outline: 4px solid red !important;
  }
}
	@media (min-width: 768px) {
  .home-feature-text-overlay {
    outline: 4px solid red !important;
  }
}
@media (min-width: 768px) {
  .entry-content .panel-grid:first-of-type {
    outline: 4px solid red !important;
  }
}
	@media (min-width: 768px) {
  body {
    outline: 8px solid red !important;
  }
}
*/
/* MOBILE - Hero overlay text sizing: title + subtitle */
@media (max-width: 767px) {
  body .post-1 .hero-mobile-text h1,
  body .post-1 .hero-mobile-text h2,
  body .post-1 .hero-mobile-text h3 {
    font-size: 16px !important;
    line-height: 1.05 !important;
    margin-bottom: 10px !important;
  }

  body .post-1 .hero-mobile-text h4,
  body .post-1 .hero-mobile-text h5,
  body .post-1 .hero-mobile-text h6,
  body .post-1 .hero-mobile-text p {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }
}
/* MOBILE - Hero overlay title/subtitle sizing */
@media (max-width: 767px) {
  .hero-mobile-title {
    font-size: 16px !important;
    line-height: 1.05 !important;
    margin-bottom: 10px !important;
  }

  .hero-mobile-subtitle {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }
}
/* MOBILE - Force hero overlay title/subtitle sizing */
@media only screen and (max-width: 767px) {
  html body .post-1 .panel-content .panel-grid:first-of-type h1.hero-mobile-title {
    font-size: 20px !important;
    line-height: 1.05 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body .post-1 .panel-content .panel-grid:first-of-type h5.hero-mobile-subtitle {
    font-size: 14px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
/* DESKTOP - Custom logo position + size: front page only */
@media (min-width: 1025px) {
  body.twentyseventeen-front-page .custom-logo-link {
    position: relative !important;
    left: clamp(-880px, -45vw, -520px) !important;
    top: clamp(270px, 19vw, 380px) !important;
    z-index: 20 !important;
  }

  body.twentyseventeen-front-page .custom-logo {
    max-width: clamp(280px, 20vw, 390px) !important;
    height: auto !important;
  }
}

/* TABLET - Custom logo position + size: front page only */
@media (min-width: 768px) and (max-width: 1024px) {
  body.twentyseventeen-front-page .custom-logo-link {
    position: relative !important;
    left: clamp(-320px, -30vw, -180px) !important;
    top: clamp(120px, 14vw, 170px) !important;
    z-index: 20 !important;
  }

  body.twentyseventeen-front-page .custom-logo {
    max-width: clamp(200px, 25vw, 270px) !important;
    height: auto !important;
  }
}

/* MOBILE - Custom logo position + size: front page only */
@media (max-width: 767px) {
  body.twentyseventeen-front-page .custom-logo-link {
    position: relative !important;
    left: 50% !important;
    top: clamp(-430px, -45vh, -320px) !important;
    transform: translateX(-50%) !important;
    z-index: 20 !important;
  }

  body.twentyseventeen-front-page .custom-logo {
    max-width: clamp(240px, 74vw, 300px) !important;
    height: auto !important;
  }
}
/* MOBILE - Menu font size */
@media (max-width: 767px) {
  .main-navigation a,
  .menu-toggle,
  .main-navigation .menu-item a {
    font-size: 18px !important;
    line-height: 1.4 !important;
  }
}
/* MOBILE - Adjust h3 only in front page second text widget */
@media (max-width: 767px) {
  .front-second-text-widget h3,
  .front-second-text-widget h3 span {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }
}
/* Edge-to-edge Vimeo videos */
.edge-vimeo-video {
  position: relative !important;
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-bottom: 39.375% !important; /* matches 1920x756 */
  height: 0 !important;
  overflow: hidden !important;
  background: #000 !important;
}

.edge-vimeo-video iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100% !important;
  max-width: none !important;
  border: 0 !important;
  display: block !important;
}
/* Let the Vimeo widget break out of SiteOrigin containers */
.panel-grid .edge-vimeo-video,
.panel-grid-cell .edge-vimeo-video,
.so-panel .edge-vimeo-video,
.panel-widget-style .edge-vimeo-video,
.textwidget .edge-vimeo-video,
.siteorigin-widget-tinymce .edge-vimeo-video {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
/* Edge-to-edge Vimeo videos */
.edge-vimeo-video {
  width: 100vw !important;
  max-width: 100vw !important;
  height: /* Edge-to-edge Vimeo videos */
.edge-vimeo-video {
  width: 100vw !important;
  max-width: 100vw !important;
  height: 39.375vw !important; /* 1920x756 ratio */
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  position: relative !important;
  overflow: hidden !important;
  background: #000 !important;
}

.edge-vimeo-video iframe {
  width: 100vw !important;
  height: 39.375vw !important;
  display: block !important;
  border: 0 !important;
} !important; /* 1920x756 ratio */
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  position: relative !important;
  overflow: hidden !important;
  background: #000 !important;
}

.edge-vimeo-video iframe {
  width: 100vw !important;
  height: 39.375vw !important;
  display: block !important;
  border: 0 !important;
}