/* iPad portrait corrections for the Nong Saeng home page header. */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  html body.home #masthead,
  html body.home #masthead > .navbar-light,
  html body.home #masthead .container,
  html body.home #masthead .row {
    background: #fff !important;
  }

  html body.home #masthead {
    overflow: visible !important;
  }

  html body.home #masthead .container {
    max-width: 100%;
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  html body.home #masthead .row {
    flex-wrap: nowrap;
    margin-right: 0;
    margin-left: 0;
  }

  html body.home #masthead .col-10,
  html body.home #masthead .col-lg-6:first-child {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    max-width: calc(100% - 124px) !important;
    padding-right: 0;
    padding-left: 0;
  }

  html body.home #masthead .col-2,
  html body.home #masthead .col-lg-6:last-child {
    flex: 0 0 124px !important;
    width: 124px !important;
    max-width: 124px !important;
    padding-right: 0;
    padding-left: 6px;
  }

  html body.home #masthead .utility {
    display: none !important;
  }

  html body.home #masthead #logo {
    width: 100%;
    min-width: 0;
    margin-right: 0;
    white-space: normal;
  }

  html body.home #masthead #logo img {
    flex: 0 0 66px;
    width: 66px !important;
    max-height: 66px;
    object-fit: contain;
  }

  html body.home #masthead #logo .display-header {
    min-width: 0;
    gap: 3px;
    overflow: visible;
    padding-left: 10px !important;
  }

  html body.home #masthead #logo .site-name {
    max-width: 100%;
    font-size: 21px !important;
    line-height: 1.22 !important;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  html body.home #masthead #logo .description {
    max-width: 100%;
    padding-left: 17px;
    font-size: 10px !important;
    line-height: 1.25 !important;
    letter-spacing: .015em;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  html body.home #masthead #logo .description::before {
    width: 12px;
  }

  html body.home #masthead .menu-top,
  html body.home #masthead .nav-wpdt-header {
    width: 100%;
    justify-content: flex-end !important;
  }

  html body.home #masthead .nav-wpdt-header,
  html body.home #masthead .wpdt-nav-toggler {
    display: inline-flex !important;
  }

  html body.home #masthead .wpdt-nav-toggler {
    position: relative;
    z-index: 10070;
    width: 44px;
    height: 44px;
    margin-right: 68px !important;
  }

  html body.home #masthead .navbar-menus {
    display: block !important;
    position: static !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
  }

  html body.home #masthead .navbar-menus > .container {
    width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
  }

  html body.home #navbarTogglerMain.navbar-collapse {
    position: fixed !important;
    top: 142px !important;
    right: 12px !important;
    left: auto !important;
  }

  html body.home nav#pojo-a11y-toolbar.pojo-a11y-toolbar-right {
    top: 96px !important;
    z-index: 10030 !important;
  }

  html body.home .elementor-element-3678d476,
  html body.home .elementor-element-3678d476 > .elementor-container,
  html body.home .elementor-element-3678d476 .elementor-column,
  html body.home .elementor-element-3678d476 .elementor-widget-wrap,
  html body.home .elementor-element-3678d476 .elementor-widget,
  html body.home .elementor-element-3678d476 .elementor-widget-container {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  html body.home .elementor-element-3678d476 img,
  html body.home .elementor-element-3678d476 .carousel-item-image {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
  }

  html body.home .elementor-element-28b36d0,
  html body.home .elementor-element-c64f496,
  html body.home .elementor-element-06dbd99,
  html body.home .elementor-element-9426b38,
  html body.home .elementor-element-916a406 {
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.home .elementor-element-28b36d0 > .elementor-container,
  html body.home .elementor-element-c64f496 > .elementor-container,
  html body.home .elementor-element-06dbd99 > .elementor-container,
  html body.home .elementor-element-9426b38 > .elementor-container,
  html body.home .elementor-element-916a406 > .elementor-container {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px 22px !important;
    width: min(94vw, 920px) !important;
    max-width: min(94vw, 920px) !important;
    min-height: 0 !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  html body.home .elementor-element-28b36d0 > .elementor-container > .elementor-column,
  html body.home .elementor-element-c64f496 > .elementor-container > .elementor-column,
  html body.home .elementor-element-06dbd99 > .elementor-container > .elementor-column,
  html body.home .elementor-element-9426b38 > .elementor-container > .elementor-column,
  html body.home .elementor-element-916a406 > .elementor-container > .elementor-column {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
  }

  html body.home .elementor-element-28b36d0 .elementor-widget-wrap,
  html body.home .elementor-element-c64f496 .elementor-widget-wrap,
  html body.home .elementor-element-06dbd99 .elementor-widget-wrap,
  html body.home .elementor-element-9426b38 .elementor-widget-wrap,
  html body.home .elementor-element-916a406 .elementor-widget-wrap {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  html body.home .elementor-element-28b36d0 .elementor-widget-button,
  html body.home .elementor-element-c64f496 .elementor-widget-button,
  html body.home .elementor-element-06dbd99 .elementor-widget-button,
  html body.home .elementor-element-9426b38 .elementor-widget-button,
  html body.home .elementor-element-916a406 .elementor-widget-button,
  html body.home .elementor-element-28b36d0 .elementor-button-wrapper,
  html body.home .elementor-element-c64f496 .elementor-button-wrapper,
  html body.home .elementor-element-06dbd99 .elementor-button-wrapper,
  html body.home .elementor-element-9426b38 .elementor-button-wrapper,
  html body.home .elementor-element-916a406 .elementor-button-wrapper {
    width: 100% !important;
  }

  html body.home .elementor-element-28b36d0 .elementor-button,
  html body.home .elementor-element-c64f496 .elementor-button,
  html body.home .elementor-element-06dbd99 .elementor-button,
  html body.home .elementor-element-9426b38 .elementor-button,
  html body.home .elementor-element-916a406 .elementor-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 70px !important;
    padding: 14px 20px !important;
    border-radius: 14px !important;
    text-align: center !important;
    box-shadow: 0 14px 28px rgba(104, 16, 25, .18) !important;
  }

  html body.home .elementor-element-28b36d0 .elementor-button-text,
  html body.home .elementor-element-c64f496 .elementor-button-text,
  html body.home .elementor-element-06dbd99 .elementor-button-text,
  html body.home .elementor-element-9426b38 .elementor-button-text,
  html body.home .elementor-element-916a406 .elementor-button-text {
    line-height: 1.35 !important;
  }

  html body.home :is(
    .elementor-element-28b36d0,
    .elementor-element-c64f496,
    .elementor-element-06dbd99,
    .elementor-element-9426b38,
    .elementor-element-916a406,
    .elementor-element-20b25fd,
    .elementor-element-892047f,
    .elementor-element-6032a52,
    .elementor-element-b80ffae
  ) {
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
  }

  html body.home :is(
    .elementor-element-28b36d0,
    .elementor-element-c64f496,
    .elementor-element-06dbd99,
    .elementor-element-9426b38,
    .elementor-element-916a406,
    .elementor-element-20b25fd,
    .elementor-element-892047f,
    .elementor-element-6032a52,
    .elementor-element-b80ffae
  ) > .elementor-container {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 28px !important;
    align-items: stretch !important;
    width: min(94vw, 930px) !important;
    max-width: min(94vw, 930px) !important;
    min-height: 0 !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  html body.home :is(
    .elementor-element-28b36d0,
    .elementor-element-c64f496,
    .elementor-element-06dbd99,
    .elementor-element-9426b38,
    .elementor-element-916a406,
    .elementor-element-20b25fd,
    .elementor-element-892047f,
    .elementor-element-6032a52,
    .elementor-element-b80ffae
  ) > .elementor-container > .elementor-column,
  html body.home :is(
    .elementor-element-28b36d0,
    .elementor-element-c64f496,
    .elementor-element-06dbd99,
    .elementor-element-9426b38,
    .elementor-element-916a406,
    .elementor-element-20b25fd,
    .elementor-element-892047f,
    .elementor-element-6032a52,
    .elementor-element-b80ffae
  ) .elementor-widget-wrap,
  html body.home :is(
    .elementor-element-28b36d0,
    .elementor-element-c64f496,
    .elementor-element-06dbd99,
    .elementor-element-9426b38,
    .elementor-element-916a406,
    .elementor-element-20b25fd,
    .elementor-element-892047f,
    .elementor-element-6032a52,
    .elementor-element-b80ffae
  ) .elementor-widget-container,
  html body.home :is(
    .elementor-element-28b36d0,
    .elementor-element-c64f496,
    .elementor-element-06dbd99,
    .elementor-element-9426b38,
    .elementor-element-916a406,
    .elementor-element-20b25fd,
    .elementor-element-892047f,
    .elementor-element-6032a52,
    .elementor-element-b80ffae
  ) .elementor-button-wrapper {
    display: contents !important;
  }

  html body.home :is(
    .elementor-element-28b36d0,
    .elementor-element-c64f496,
    .elementor-element-06dbd99,
    .elementor-element-9426b38,
    .elementor-element-916a406,
    .elementor-element-20b25fd,
    .elementor-element-892047f,
    .elementor-element-6032a52,
    .elementor-element-b80ffae
  ) .elementor-widget-button {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  html body.home :is(
    .elementor-element-28b36d0,
    .elementor-element-c64f496,
    .elementor-element-06dbd99,
    .elementor-element-9426b38,
    .elementor-element-916a406,
    .elementor-element-20b25fd,
    .elementor-element-892047f,
    .elementor-element-6032a52,
    .elementor-element-b80ffae
  ) .elementor-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 72px !important;
    height: 100% !important;
    padding: 13px 18px !important;
    border-radius: 13px !important;
    text-align: center !important;
    box-shadow: 0 14px 28px rgba(104, 16, 25, .18) !important;
  }

  html body.home :is(
    .elementor-element-28b36d0,
    .elementor-element-c64f496,
    .elementor-element-06dbd99,
    .elementor-element-9426b38,
    .elementor-element-916a406,
    .elementor-element-20b25fd,
    .elementor-element-892047f,
    .elementor-element-6032a52,
    .elementor-element-b80ffae
  ) .elementor-button-text {
    line-height: 1.32 !important;
    overflow-wrap: anywhere;
  }
}
