/* Keep captured carousel tracks from widening the browser canvas off-screen. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.premier-sizing-chart-open {
  overflow: hidden;
}

.premier-sizing-chart-modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 100000;
}

.premier-sizing-chart-modal[hidden] {
  display: none;
}

.premier-sizing-chart-dialog {
  background: #fefeff;
  border: 1px solid #dbdbdb;
  box-shadow: 0 0 12px 1px rgba(0, 0, 0, 0.6);
  max-height: calc(100vh - 48px);
  max-width: 700px;
  overflow: auto;
  padding: 8px;
  position: relative;
  width: 80%;
}

.premier-sizing-chart-image {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.premier-sizing-chart-close {
  align-items: center;
  background: #0b208d;
  border: 2px solid #fefeff;
  border-radius: 50%;
  color: #fefeff;
  cursor: pointer;
  display: flex;
  font: 700 24px/1 Arial, sans-serif;
  height: 36px;
  justify-content: center;
  padding: 0 0 2px;
  position: absolute;
  right: 5px;
  top: 5px;
  width: 36px;
  z-index: 1;
}

.premier-sizing-chart-close:focus-visible {
  outline: 3px solid #e5bb2e;
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .premier-sizing-chart-modal {
    padding: 12px;
  }

  .premier-sizing-chart-dialog {
    max-height: calc(100vh - 24px);
    width: 100%;
  }
}

/* Divi positions this at left: 15px but gives it the full viewport width. */
@media (max-width: 980px) {
  .logo_container {
    width: calc(100% - 15px) !important;
  }
}

.premier-404-fallback {
  margin: 0;
  color: #333;
  font: 14px/1.7 Arial, sans-serif;
}

.premier-404-shell,
.premier-404-fallback #main-content > .container {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.premier-404-header {
  border-bottom: 1px solid #e6e6e6;
  background: #fff;
}

.premier-404-header .premier-404-shell,
.premier-404-footer .premier-404-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.premier-404-header img {
  width: 200px;
  height: auto;
}

.premier-404-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.premier-404-fallback a {
  color: #0b208d;
}

.premier-404-fallback #content-area {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 48px;
  padding: 72px 0;
}

.premier-404-fallback .not-found-title {
  color: #0b208d;
  font-size: 36px;
}

.premier-404-fallback .et_pb_widget {
  margin-bottom: 28px;
}

.premier-404-fallback .widgettitle {
  color: #0b208d;
}

.premier-404-footer {
  color: #fff;
  background: #0b208d;
}

@media (max-width: 760px) {
  .premier-404-header .premier-404-shell,
  .premier-404-footer .premier-404-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .premier-404-fallback #content-area {
    grid-template-columns: 1fr;
    padding: 40px 0;
  }
}
