:root {
  --rayou-header-accent: #efa400;
  --rayou-header-text: #171b20;
}

.em40_header_area_main {
  position: relative;
  z-index: 50;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.em40_header_area_main .solarsun-header-top {
  height: 45px;
  padding: 0 !important;
  background: #f7f7f7;
}

.em40_header_area_main .solarsun-header-top > .container {
  width: calc(100% - 80px);
  max-width: 1680px !important;
  height: 100%;
}

.em40_header_area_main .solarsun-header-top .row {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.em40_header_area_main .solarsun-header-top .row > [class*="col-"]:first-child {
  width: auto;
  max-width: none;
  flex: 1;
}

.em40_header_area_main .solarsun-header-top .row > [class*="col-"]:last-child {
  width: auto;
  max-width: none;
  flex: none;
}

.em40_header_area_main .top-address p {
  display: flex;
  align-items: center;
  gap: 68px;
  margin: 0;
}

.em40_header_area_main .top-address p a,
.em40_header_area_main .top-address p a i {
  color: #24313b;
  font-size: 18px;
  font-weight: 400;
}

.em40_header_area_main .top-address p a {
  margin: 0;
  white-space: nowrap;
}

.em40_header_area_main .top-address p a i {
  margin-right: 9px;
  font-size: 16px;
}

.em40_header_area_main .top-address p a:hover {
  color: var(--rayou-header-accent);
}

.em40_header_area_main .top-right-menu ul.social-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}

.rayou-top-tools {
  display: flex;
  align-items: center;
  height: 36px;
  min-width: 190px;
  padding: 0 10px;
  border: 1px solid #e6e8ea;
  border-radius: 22px;
  background: #fff;
  color: #263440;
}

.rayou-top-search {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 17px;
}

.rayou-top-search:hover,
.rayou-language summary:hover {
  color: var(--rayou-header-accent);
}

.rayou-tool-divider {
  width: 1px;
  height: 20px;
  background: #cdd2d6;
}

.rayou-language {
  position: relative;
  flex: 1;
}

.rayou-language summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding-left: 10px;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  font-size: 16px;
}

.rayou-language summary::-webkit-details-marker {
  display: none;
}

.rayou-language summary img,
.rayou-language-menu img {
  display: inline-block;
  width: 24px;
  height: 16px;
  object-fit: cover;
}

.rayou-language summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin: -4px 2px 0 1px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.rayou-language[open] summary::after {
  margin-top: 3px;
  transform: rotate(225deg);
}

.rayou-language-menu {
  position: absolute;
  top: calc(100% + 5px);
  right: -11px;
  z-index: 80;
  min-width: 155px;
  padding: 6px;
  border: 1px solid #e5e8ea;
  background: #fff;
  box-shadow: 0 8px 20px rgb(0 0 0 / 10%);
}

.rayou-language-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  color: #263440;
  font-size: 14px;
  text-decoration: none;
}

.rayou-language-menu a:hover {
  background: #f7f7f7;
  color: var(--rayou-header-accent);
}

.em40_header_area_main .solarsun_nav_area,
.em40_header_area_main .solarsun_nav_area.prefix {
  height: 95px;
  padding: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

.em40_header_area_main .solarsun_nav_area > .container {
  width: calc(100% - 96px);
  max-width: 1760px !important;
  height: 100%;
}

.em40_header_area_main .solarsun_nav_area .row.logo-left {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  height: 100%;
  margin: 0;
}

.em40_header_area_main .solarsun_nav_area .row.logo-left > [class*="col-"]:first-child {
  width: 230px;
  max-width: 230px;
  flex: 0 0 230px;
  padding: 0;
}

.em40_header_area_main .solarsun_nav_area .row.logo-left > [class*="col-"]:last-child {
  width: auto;
  max-width: none;
  flex: 1;
  padding: 0;
}

.em40_header_area_main .logo {
  display: flex;
  align-items: center;
  height: 95px;
}

.em40_header_area_main .logo img {
  display: block;
  width: min(210px, 100%);
  height: 76px;
  object-fit: contain;
  object-position: left center;
}

.em40_header_area_main .prefix .logo a.main_sticky_main_l {
  display: block;
}

.em40_header_area_main .prefix .logo a.main_sticky_l {
  display: none;
}

.em40_header_area_main .tx_mmenu_together {
  display: flex;
  justify-content: flex-end;
  gap: clamp(20px, 2vw, 42px);
  height: 95px;
}

.em40_header_area_main .solarsun_menu > ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(22px, 3.1vw, 60px);
  margin: 0;
  padding: 0;
  text-align: left;
}

.em40_header_area_main .solarsun_menu > ul > li > a,
.em40_header_area_main .solarsun_nav_area.prefix .solarsun_menu > ul > li > a {
  display: flex;
  align-items: center;
  height: 95px;
  margin: 0 !important;
  padding: 0;
  color: var(--rayou-header-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.em40_header_area_main .solarsun_menu > ul > li.current > a,
.em40_header_area_main .solarsun_menu > ul > li:hover > a,
.em40_header_area_main .solarsun_nav_area.prefix .solarsun_menu > ul > li.current > a,
.em40_header_area_main .solarsun_nav_area.prefix .solarsun_menu > ul > li:hover > a {
  color: var(--rayou-header-accent);
}

.em40_header_area_main .solarsun_menu ul .sub-menu {
  top: 110%;
  padding: 12px;
  border: 1px solid #ededed;
  box-shadow: 0 8px 20px rgb(0 0 0 / 10%);
}

.em40_header_area_main .solarsun_menu ul li:hover > .sub-menu {
  top: 100%;
}

.em40_header_area_main .solarsun_menu ul .sub-menu li a {
  color: #28323a;
  font-size: 15px;
}

.em40_header_area_main .donate-btn-header .dtbtn {
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--rayou-header-text);
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
}

.em40_header_area_main .donate-btn-header .dtbtn:hover {
  color: var(--rayou-header-accent);
}

.rayou-header-ready .solarsun_menu > ul > li[onclick*="dkcf"] {
  display: none;
}

.home-banner,
#indexbanner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#indexbanner {
  height: min(42vw, calc(100svh - 180px), 760px);
  min-height: 440px;
}

#indexbanner .swiper-wrapper,
#indexbanner .swiper-slide,
#indexbanner .pcimg,
#indexbanner .mobimg {
  height: 100%;
}

#indexbanner .swiper-slide img,
#indexbanner .swiper-slide.swiper-slide-active img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: center;
  animation: none !important;
}

.home-banner .banner-button-next,
.home-banner .banner-button-prev {
  width: 52px;
  height: 70px;
  border-radius: 0;
  background: transparent;
  color: rgb(255 255 255 / 70%);
  font-size: 48px;
  font-weight: 400;
  text-shadow: 0 1px 4px rgb(0 0 0 / 22%);
}

.home-banner .banner-button-prev {
  left: 10px;
}

.home-banner .banner-button-next {
  right: 10px;
  left: auto;
}

.home-banner .banner-button-next:hover,
.home-banner .banner-button-prev:hover {
  color: #fff;
}

.home-banner .banner-button-next em,
.home-banner .banner-button-prev em {
  font-size: 48px;
}

.home-banner .banner-pagination {
  bottom: 22px;
}

.home-banner .swiper-pagination-bullet {
  width: 72px;
  height: 3px;
  margin: 0 6px !important;
  border-radius: 0;
  background: rgb(255 255 255 / 60%);
  opacity: 1;
}

.home-banner .swiper-pagination-bullet-active {
  background: #fff;
}

.home-banner .swiper-pagination-bullet::after {
  display: none;
}

@media (max-width: 1250px) and (min-width: 992px) {
  .em40_header_area_main .solarsun_menu > ul {
    gap: 20px;
  }

  .em40_header_area_main .solarsun_menu > ul > li > a,
  .em40_header_area_main .solarsun_nav_area.prefix .solarsun_menu > ul > li > a {
    font-size: 17px;
  }

  .em40_header_area_main .donate-btn-header .dtbtn {
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  .em40_header_area_main .solarsun-header-top {
    height: 38px;
  }

  .em40_header_area_main .solarsun-header-top > .container {
    width: calc(100% - 32px);
    box-sizing: border-box;
    padding: 0 !important;
  }

  .em40_header_area_main .top-address p {
    gap: 15px;
  }

  .em40_header_area_main .top-address p a,
  .em40_header_area_main .top-address p a i {
    font-size: 13px;
  }

  .em40_header_area_main .solarsun-main-menu {
    display: none !important;
  }

  .mobile_logo_area {
    display: block !important;
    height: 70px;
    background: #fff;
  }

  .mobile_logo_area .container {
    width: calc(100% - 32px);
    max-width: none;
    height: 100%;
    box-sizing: border-box;
    padding: 0 !important;
  }

  .mobile_logo_area .row,
  .mobile_logo_area .col-12,
  .mobilemenu_con {
    height: 100%;
  }

  .mobile_logo_area .row {
    margin: 0;
  }

  .mobile_logo_area .col-12 {
    padding: 0;
  }

  .mobilemenu_con > .mobile_menu_logo {
    padding: 0;
  }

  .mobilemenu_con > .mobile_menu_logo img {
    width: 155px;
    max-height: 50px;
    object-fit: contain;
  }

  .mobile_menu_o i {
    color: #252f37;
  }

  #indexbanner {
    height: min(54vw, calc(100svh - 170px));
    min-height: 240px;
  }

  #indexbanner .swiper-slide img {
    object-position: 28% center;
  }

  #indexbanner .swiper-slide:nth-child(2) img {
    object-position: 32% center;
  }

  .home-banner .banner-button-next,
  .home-banner .banner-button-prev {
    display: none;
  }

  .home-banner .swiper-pagination-bullet {
    width: 24px;
  }
}

@media (max-width: 600px) {
  .em40_header_area_main .top-address p a:nth-child(2) {
    display: none;
  }

  .em40_header_area_main .top-address p a,
  .em40_header_area_main .top-address p a i {
    font-size: 12px;
  }

  .rayou-top-tools {
    min-width: 132px;
    height: 32px;
    padding: 0 5px;
  }

  .rayou-top-search {
    flex-basis: 34px;
  }

  .rayou-language summary {
    height: 30px;
    padding-left: 6px;
    font-size: 13px;
  }

  .rayou-language summary img {
    width: 20px;
    height: 14px;
  }

  .mobilemenu_con > .mobile_menu_logo img {
    width: 138px;
  }

  #indexbanner {
    height: 58vw;
    min-height: 220px;
  }
}
