/* RoPhim reference header: one-line desktop navigation with responsive spacing. */
.phim-hybrid-site #header .header-wrapper.stuck{
  background: #0d0e17 !important;
}

.phim-hybrid-site #header .hide-for-medium.flex-left {
  min-width: 0;
}

.phim-hybrid-site #header .header-nav-main {
  align-items: center;
  flex-wrap: nowrap !important;
}

.phim-hybrid-site #header .header-nav-main > li {
  flex: 0 0 auto;
}

.phim-hybrid-site #header .header-nav-main > li > a {
  padding: 0 7px;
  color: #e6e6eb !important;
  font-size: 14px !important;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.phim-hybrid-site #header .header-nav-main > li > a > .icon-angle-down {
  flex:0 0 14px;
  width:14px;
  height:14px;
  margin-left:4px;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z'/%3E%3C/svg%3E") center/contain no-repeat;
  font-size:0!important;
}
.phim-hybrid-site #header .header-nav-main > li > a > .icon-angle-down:before { display:none!important; content:none!important; }

.phim-hybrid-site #header .header-nav-main > li > a:hover {
  color: #ffd45b !important;
}

.phim-hybrid-site #header .header-search-form {
  flex: 0 0 368px;
  width: 368px;
  margin-right: 14px;
}

.phim-hybrid-site #header .header-search-form-wrapper {
  width: 100%;
}

.phim-hybrid-site #header .searchform .flex-row {
  height: 45px;
  flex-direction: row-reverse;
  overflow: hidden;
  border: 0;
  border-radius: 7px;
  background: rgba(255,255,255,.08);
}

.phim-hybrid-site #header .searchform .search-field {
  height: 43px !important;
  padding: 0 42px 0 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #f3f3f6 !important;
  font-size: 15px !important;
}

.phim-hybrid-site #header .searchform .search-field::placeholder {
  color: #d8d9e1;
  opacity: 1;
}

.phim-hybrid-site #header .searchform .ux-search-submit {
  width: 48px;
  height: 43px;
  min-height: 43px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
}

.phim-hybrid-site #header .searchform .ux-search-submit i {
  font-size: 21px;
}

.phim-hybrid-site #header .flex-right {
  margin-left: 14px;
}

.phim-hybrid-site #header .header-button-1 .header-button {
  margin: 0;
}

.phim-hybrid-site #header .header-button-1 .button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #f2f2f4 !important;
  box-shadow: none !important;
  color: #181922 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 46px !important;
  text-transform: none;
}

.phim-hybrid-site #header .header-button-1 .button::before {
  content: "\e901";
  font-family: fl-icons !important;
  font-size: 17px;
  font-weight: 400;
}

.phim-hybrid-site #header .phim-header-gift {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  filter: drop-shadow(0 0 9px rgba(225, 89, 255, 0.42));
}

.phim-hybrid-site #header .phim-header-gift img {
  min-width: 52px;
  height: 52px;
}

/* Supplied Hay.Win artwork replaces the text menu label. */
.phim-hybrid-site #header #menu-item-193 > a {
  width: 88px;
  padding: 0 !important;
  overflow: hidden;
  background: url("../../images/hay-win.png") center / 86px auto no-repeat;
  color: transparent !important;
  filter: drop-shadow(0 0 8px rgba(239, 87, 255, 0.28));
  font-size: 0 !important;
  text-shadow: none;
}

@media screen and (min-width: 769px) {
  .phim-hybrid-site #header .header-inner {
    padding-inline: 2rem;
  }

  .phim-hybrid-site #header .header-search-form {
    margin-right: 7px;
  }

  .phim-hybrid-site #header #menu-item-193 > a {
    width: 72px !important;
    background-size: 70px auto;
  }

  .phim-hybrid-site #header .header-button-1 .button {
    padding-inline: 13px !important;
    font-size: 13px !important;
  }

  .phim-hybrid-site #header .flex-right {
    margin-left: 7px;
  }

  .phim-hybrid-site #header .phim-header-gift,
  .phim-hybrid-site #header .phim-header-gift img {
    width: 46px;
    height: 46px;
  }
}

@media screen and (max-width: 768px) {
  html,
  body.phim-hybrid-site,
  body.phim-hybrid-site.boxed,
  body.phim-hybrid-site.framed,
  body.phim-hybrid-site #wrapper,
  body.phim-hybrid-site #main {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    width: 100% !important;
  }

  .phim-hybrid-site #header .hide-for-medium {
    display: none !important;
  }

  .phim-hybrid-site #header .show-for-medium {
    display: flex !important;
  }

  .phim-hybrid-site #header .header-main,
  .phim-hybrid-site #header .header-inner {
    height: 64px;
  }

  .phim-hybrid-site #header .header-inner {
    padding-inline: 14px;
    max-width: none !important;
    width: 100% !important;
  }

  .phim-hybrid-site #header .header-inner > .show-for-medium.flex-left {
    flex: 1 1 0;
    justify-content: flex-start;
    margin: 0 !important;
    order: 1;
  }

  .phim-hybrid-site #header .header-inner > .show-for-medium.flex-right {
    flex: 1 1 0;
    justify-content: flex-end;
    margin: 0 !important;
    order: 3;
  }

  .phim-hybrid-site #header .mobile-nav {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
  }

  .phim-hybrid-site #header .mobile-nav .header-button-1 {
    display: none;
  }

  .phim-hybrid-site #header .phim-header-gift,
  .phim-hybrid-site #header .phim-header-gift img {
    width: 42px;
    height: 42px;
  }

  /* Mobile navigation drawer. */
  body.phim-hybrid-site .off-canvas-left .mfp-content,
  body.phim-hybrid-site .off-canvas-right .mfp-content {
    width: min(88vw, 380px);
    background: #151720;
    box-shadow: 18px 0 45px rgba(0, 0, 0, .38);
  }

  body.phim-hybrid-site .mfp-bg.off-canvas-ready {
    background: #070810;
    opacity: .76;
  }

  body.phim-hybrid-site #main-menu,
  body.phim-hybrid-site #main-menu .sidebar-menu {
    min-height: 100%;
    background: #151720;
  }

  body.phim-hybrid-site #main-menu .sidebar-menu {
    padding: 18px 14px 28px;
  }

  body.phim-hybrid-site #main-menu .nav-sidebar {
    width: 100%;
  }

  body.phim-hybrid-site #main-menu .header-search-form {
    margin: 0 0 16px;
    padding: 0;
    border: 0;
  }

  body.phim-hybrid-site #main-menu .searchform .flex-row {
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 6px;
    background: #222531;
  }

  body.phim-hybrid-site #main-menu .searchform .search-field {
    height: 44px !important;
    padding: 0 14px 0 6px !important;
    color: #f6f6f8 !important;
    font-size: 14px !important;
  }

  body.phim-hybrid-site #main-menu .searchform .search-field::placeholder {
    color: #a9abb5;
  }

  body.phim-hybrid-site #main-menu .searchform .ux-search-submit {
    width: 44px;
    height: 44px;
    min-height: 44px;
    color: #ffd45b !important;
  }

  body.phim-hybrid-site #main-menu .nav-sidebar > li:not(.header-search-form) {
    margin: 0 0 5px;
    border: 0;
  }

  body.phim-hybrid-site #main-menu .nav-sidebar > li > a {
    min-height: 40px;
    padding: 0 14px 0 0 !important;
    border: 0;
    border-radius: 10px;
    color: #f0f0f3 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 40px;
    text-transform: none;
  }

  body.phim-hybrid-site #main-menu .nav-sidebar > li > a:hover,
  body.phim-hybrid-site #main-menu .nav-sidebar > li.active > a,
  body.phim-hybrid-site #main-menu .nav-sidebar > li.current-menu-item > a,
  body.phim-hybrid-site #main-menu .nav-sidebar > li.current-menu-ancestor > a {
    color: #ffd45b !important;
  }

  body.phim-hybrid-site #main-menu .nav-sidebar .toggle {
    width: 40px;
    height: 40px;
    min-height: 40px;
    margin: 0;
    color: #a9abb5;
    opacity: 1;
  }

  body.phim-hybrid-site #main-menu .nav-sidebar .toggle i {
    font-size: 14px;
  }

  body.phim-hybrid-site #main-menu .nav-sidebar .sub-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 6px;
    margin: 0px 0 10px;
    padding: 10px 0;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 4px;
    background: #000;
  }

  body.phim-hybrid-site #main-menu .nav-sidebar .active > .sub-menu,
  body.phim-hybrid-site #main-menu .nav-sidebar .sub-menu[style*="display: block"] {
    display: grid !important;
  }

  body.phim-hybrid-site #main-menu .nav-sidebar .sub-menu li {
    border: 0;
  }

  body.phim-hybrid-site #main-menu .nav-sidebar .sub-menu a {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 9px !important;
    border-radius: 4px;
    color: #bfc1ca !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.3;
    text-transform: none;
  }

  body.phim-hybrid-site #main-menu .nav-sidebar .sub-menu a:hover,
  body.phim-hybrid-site #main-menu .nav-sidebar .sub-menu .current-menu-item > a {
    background: #252833;
    color: #ffd45b !important;
  }

  body.phim-hybrid-site .mfp-close {
    color: #fff;
    opacity: .8;
  }
}

@media screen and (max-width: 768px) {
  .phim-json-footer .phim-footer-main,
  .phim-json-footer .phim-footer-apps {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }

  .phim-json-footer .phim-footer-apps {
    margin-top: 8px;
  }

  .phim-json-footer .phim-footer-apps h3 {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 430px;
    text-align: center !important;
  }

  .phim-json-footer .phim-footer-app-grid {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 360px;
  }

  body #footer .phim-footer-sovereignty,
  body #footer .phim-footer-brand-row .col-inner,
  body #footer .phim-footer-about,
  body #footer .phim-footer-apps {
    text-align: center !important;
  }

  body #footer .phim-footer-brand-row .img,
  body #footer .phim-footer-logo {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body #footer .phim-footer-logo img {
    width: 100%;
    height: auto;
  }

  body #footer .phim-footer-sovereignty p {
    justify-content: center;
    margin-left: auto !important;
    margin-right: auto !important;
    width: fit-content;
  }

  body #footer .phim-footer-socials {
    justify-content: center !important;
    margin: 12px auto 0 !important;
    max-width: 300px;
  }

  /* Keep the five most useful networks on small screens. */
  body #footer .phim-footer-socials > :nth-child(3),
  body #footer .phim-footer-socials > :nth-child(7),
  body #footer .phim-footer-socials > :nth-child(8) {
    display: none !important;
  }

  body #footer .phim-footer-social {
    margin-top: 0 !important;
  }

  body #footer .phim-footer-social.social-icons a.icon {
    height: 42px !important;
    line-height: 42px !important;
    width: 42px !important;
  }

  body #footer .phim-footer-nav.ux-menu {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 560px;
  }

  body #footer .phim-footer-about {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 680px;
  }

  body #footer .phim-footer-apps h3 {
    text-align: center !important;
  }

  body #footer .phim-footer-main {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  body #footer .phim-footer-apps {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body #footer .phim-footer-apps h3 {
    margin-top: 12px !important;
  }
}

