/*--------------------------------------------------------------
  Media Queries
--------------------------------------------------------------*/
/* @media (max-width:1700px) {
    .banner-content { padding-left: 200px; }
} */

@media screen and (min-width: 992px) {

  .dropdown,
  .dropdown-toggle {
    position: static;
  }

  .navbar-nav .nav-item {
    width: 250px;
  }

  .navbar-nav .nav-item.dropdown .dropdown-menu li.dropdown-submenu {
    margin: 0;
  }

  .navbar-nav .nav-item.dropdown .dropdown-submenu .dropdown-menu:not(.show) {
    padding: 0;
  }

  .navbar-nav .nav-item.dropdown>.dropdown-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 250px);
    height: 100%;
    border-top: 0;
    border-bottom: 0;
    padding-top: 20px !important;
  }

  .navbar-nav .nav-item.dropdown .dropdown-menu:not(.show) {
    display: block;
    height: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity .5s ease-out;
  }

  .navbar-nav .nav-item.dropdown .dropdown-menu.show {
    visibility: visible;
    opacity: 1;
    transition: opacity .5s ease-out;
  }
}

@media (max-width:1440px) {
  .step-item {
    padding: 30px;
  }
}

@media (max-width:1399px) {
  .intro-section .rounded-btn {
    right: -26px;
    top: 43%;
  }

  .about-content .rounded-btn {
    top: auto;
  }

  .intro-section .rounded-button {
    width: 150px;
    height: 150px;
  }

  .scroll-top {
    right: 30px;
  }

  .float-sns {
    right: 30px;
  }

  .cookies-btn {
    padding: 24px;
  }

  .media-icon li a,
  .media-icon li p {
    font-size: 18px;
  }

  .footer-menu li a {
    font-size: 18px;
  }
}

@media (min-width:1200px) {
  /*.themeht-sidebar {
    padding-left: 80px;
  }*/

  .elementor-section.elementor-section-boxed>.elementor-container {
    max-width: 1320px !important;
  }
}

@media (max-width: 1199px) {
  h2 {
    font-size: 36px;
  }

  .about-content {
    padding: 36px;
  }

  .nav-tabs {
    margin-bottom: 24px;
  }

  .news-section .nav-tabs {
    margin-bottom: 38px;
  }

  .nav-tabs .nav-link {
    font-size: 20px;
  }

  .tab-pane-content,
  .award-title p,
  .award-title ul,
  .automotive p,
  .precision p {
    font-size: 18px;
  }

  .intro-section .rounded-btn {
    position: static;
  }

  .intro-section .rounded-button {
    width: 200px;
    height: 200px;
  }

  .counter-section {
    background-size: 130%;
  }

  .banner-content h3 {
    font-size: 64px;
  }

  .banner-slider:not(.mobile-swiper) p {
    max-width: 70%;
  }

  .cookies-btn {
    padding: 0;
  }
}

@media (max-width: 1023px) {
  /*.post-card {
    padding-right: 56px;
  }*/
}

/*--hamburger menu styles (all screens)--*/
.header,
.sticky-header,
.home.page .header {
  padding-right: 0;
}

.right-nav {
  margin-left: 8px;
}

.navbar-nav .nav-item {
  margin: 0;
}

.navbar-toggler {
  display: flex;
  background: none;
  border: 1px solid var(--dy-green);
  height: 40px;
  width: 40px;
  padding: 0;
  border-radius: 0;
  margin-left: auto;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.ht-toggler svg {
  width: 40px;
  height: 40px;
  display: inline-block;
}

.ht-toggler .line {
  fill: none;
  stroke: var(--dy-green);
  stroke-width: 6;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ht-toggler .line1 {
  stroke-dasharray: 60 207;
  stroke-width: 3;
}

.ht-toggler .line2 {
  stroke-dasharray: 60 60;
  stroke-width: 3;
}

.ht-toggler .line3 {
  stroke-dasharray: 60 207;
  stroke-width: 3;
}

.ht-toggler[aria-expanded="true"] .line1 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 3;
}

.ht-toggler[aria-expanded="true"] .line2 {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
  stroke-width: 3;
}

.ht-toggler[aria-expanded="true"] .line3 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 3;
}

.navbar-collapse {
  background: var(--themeht-white-color);
  max-height: 400px;
  left: 0;
  padding: 20px;
  position: absolute;
  z-index: 99;
  top: 100%;
  width: 100%;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-nav .dropdown-toggle::after {
  display: none;
}

.navbar-nav .nav-link {
  padding: 10px 0 !important;
  color: var(--themeht-text-color);
}

.navbar-nav .nav-item .nav-link.active,
.navbar-nav .nav-link.show {
  color: var(--themeht-text-color);
}

.navbar-nav .nav-link.active.dropdown-toggle::after {
  display: none;
}

.navbar-nav .dropdown-menu .dropdown-item.active {
  background: none;
}

.navbar-nav .nav-item.dropdown .dropdown-menu {
  background: var(--themeht-white-color);
  padding: 10px 20px;
}

.navbar-nav .dropdown-menu .dropdown-item {
  color: var(--themeht-text-color);
  display: block;
}

.dropdown-submenu a.dropdown-toggle::after {
  border: solid var(--themeht-text-color);
  border-width: 0 2px 2px 0;
  width: 0.425rem;
  position: absolute;
  top: 14px;
  right: 0;
}

@media (min-width:992px) {
  #contactModal .modal-dialog {
    max-width: 900px;
  }
}

@media (max-width: 991px) {
  #contactModal .modal-dialog {
    max-width: 700px;
  }

  h1 {
    font-size: 60px;
    line-height: 75px;
  }

  /*Banner*/
  .navbar-brand.logo {
    padding: 20px;
  }

  .logo img {
    max-height: var(--logo-tablet-height);
  }

  .banner-large-text h1 {
    font-size: 100px;
  }

  .banner-slider-two h1 {
    font-size: 120px;
  }

  .themeht-sidebar {
    margin-top: 80px;
  }

  .step-item {
    margin-right: 40px;
  }

  .step-item .step-number {
    right: -40px;
  }

  .post-card .post-bottom li {
    font-size: 14px;
  }

  /* .banner-content { padding: 200px 0; } */
  .banner-lg-text {
    top: inherit;
    left: 0;
    transform: inherit;
    margin-left: 0;
    bottom: 0;
    text-align: left;
  }

  .banner-content h3 {
    font-size: 52px;
    -webkit-line-clamp: 2;
  }
  
  .banner-content p {
    -webkit-line-clamp: 3;
  }

  .banner-slider:not(.mobile-swiper) p {
    max-width: inherit;
    margin-bottom: 24px;
    /* display: none; */
  }

  .banner-lg-text span {
    font-size: 120px;
  }

  .banner-slider .slider-img {
    width: 100%;
  }

  .rounded-button {
    width: 150px;
    height: 150px;
  }

  .rounded-button i {
    font-size: 80px;
    margin-bottom: -15px;
  }

  .rounded-button span {
    line-height: 26px;
    font-size: 18px;
  }

  .service-item.style-2 {
    display: block;
    margin-bottom: 50px;
  }

  .service-item.style-2:last-child {
    margin-bottom: 0;
  }

  .service-item.style-2 .service-image {
    width: 100%;
  }

  .service-item.style-2 .service-desc {
    width: 100%;
    padding: 40px 20px 0;
  }

  .step-item.style-2::before {
    display: none;
  }

  .service-item.style-3 .service-image img {
    width: 100% !important;
  }

  .banner-img1,
  .banner-img3 {
    margin: 0;
  }

  section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .intro-section .item-title {
    font-size: 28px;
  }

  .section-special {
    padding: 60px 0;
  }

  .counter.style-1 h6 {
    font-size: 18px;
  }

  .counter.style-1 span {
    font-size: 82px;
  }

  .counter.style-1 .count-number+span {
    font-size: 52px;
  }

  .counter-section {
    background-size: 160%;
  }

  .contact-btn-wrap {
    padding: 0;
  }

  .footer .widget-title {
    margin-bottom: 28px;
  }

  .cookies-txt,
  .cookies-btn {
    padding: 40px 24px;
  }

  .cookies-btn {
    padding-top: 0;
  }

  .loader span,
  .loader img {
    max-width: 380px;
  }

  .news-section .nav-tabs .nav-link {
    width: 100%;
  }


  .flex-reverse {
    flex-direction: column-reverse;
  }

  .prod-widget {
    margin-top: 40px;
  }

  .service-cont .service-wrap {
    padding: 60px 50px;
  }

  .secondary-footer .logo-imgs .logo-img img {
    width: 52px;
    height: 52px;
  }
}

@media (min-width: 768px) {
  .mt-md-6 {
    margin-top: 5rem !important;
  }

  .mobile-swiper {
    display: none;
  }
}

@media (max-width: 767px) {
  #contactModal .modal-dialog {
    max-width: calc(100vw - 24px);
  }

  h1 {
    font-size: 60px !important;
    line-height: 75px !important;
  }


  .post-single-bg-img h1 {
    font-size: 42px !important;
    line-height: 1.3 !important;
  }

  .theme-title h2 {
    font-size: 32px !important;
  }

  .sub-title h2 {
    font-size: 28px !important;
  }

  .theme-title p {
    font-size: 16px;
  }

  .page-title h1 {
    font-size: 50px;
    line-height: 60px;
  }

  .navbar-toggler.ht-toggler {
    margin-right: 30px;
  }

  .themeht-tab.elementor-widget-tabs .elementor-tab-content {
    padding: 30px 0;
  }

  .elementor-widget-banner-slider p {
    max-width: 100%;
    font-size: 16px;
  }

  .comment-navigation .nav-links,
  .posts-navigation .nav-links,
  .post-navigation .nav-links {
    display: block;
  }

  .comment-navigation .nav-previous,
  .posts-navigation .nav-previous,
  .post-navigation .nav-previous {
    padding-right: 0;
  }

  .comment-navigation .nav-next,
  .posts-navigation .nav-next,
  .post-navigation .nav-next {
    padding-left: 0;
    margin-top: 30px;
  }

  .counter span {
    font-size: 120px;
  }

  .banner-swiper {
    display: none;
  }

  .banner-content h3 {
    -webkit-line-clamp: 3;
  }
  
  .banner-content p {
    -webkit-line-clamp: 4;
  }

  .banner-lg-text span {
    font-size: 60px;
  }

  /* .banner-content { padding: 170px 0; } */
  .rounded-button {
    width: 150px;
    height: 150px;
  }

  .rounded-button i {
    font-size: 80px;
    margin-bottom: -15px;
  }

  .rounded-button span {
    line-height: 26px;
    font-size: 18px;
  }

  .step-item .step-number {
    margin: 0;
    right: -40px;
    top: 0;
  }

  .elementor-widget-portfolio-grid .row [class*='col-'] {
    margin-top: 50px !important;
  }

  .loader span {
    font-size: 4em !important;
  }

  .award-items {
    display: block;
    margin-bottom: 1.5rem;
  }

  .award-title {
    width: 100%;
  }

  .award-project {
    width: 100%;
    margin: 20px 0;
  }

  .service-top {
    display: block;
  }

  .service-icon {
    margin-left: 0;
    margin-top: 30px;
  }

  .tab .nav-tabs {
    display: block;
  }

  .nav-tabs .nav-link,
  .product-cont .nav-tabs .nav-link {
    width: 100%;
  }

  .countdown>li {
    margin-bottom: 30px
  }

  .countdown>li span {
    font-size: 40px;
  }

  .theme-title h1,
  .award-items h4 {
    font-size: 32px !important;
  }

  .intro-section .rounded-button {
    width: 150px;
    height: 150px;
  }

  /*.post-card {
    padding-right: 90px;
  }*/

  .counter-section {
    background-size: cover;
    background-position: center 100%;
  }

  .contact-btn-wrap .rounded-button {
    width: 150px;
    height: 150px;
  }

  .contact-btn-wrap .rounded-button .img-wrap img {
    width: 210px;
  }

  .primary-footer {
    padding: 100px 0 80px;
  }

  .banner-content h3 {
    font-size: 36px;
  }

  .cookies-txt,
  .cookies-btn {
    padding: 36px 0;
  }

  /*.cookies-btn {
    padding: 0 0 36px 24px;
  }*/

  .cookies-btn a {
    font-size: 20px;
  }

  .loader span,
  .loader img {
    max-width: 300px;
  }

  .award-years,
  .featured-title h4 {
    margin-bottom: 16px;
  }

  .themeht-post-image {
    width: 65px;
    height: 65px;
  }

  /* 手機版響應式表格 - Hiring Categories */
  .service-wrap .featured-item.style-2 table.service-table {
    border: 0;
  }

  .service-wrap table.service-table thead {
    display: none;
  }

  .service-wrap table.service-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 16px;
    padding: 12px 16px;
    border-bottom: 0;
    border-left: 1px solid var(--themeht-border-light-color);
    border-right: 1px solid var(--themeht-border-light-color);
    text-align: right;
  }

  .service-wrap table.service-table tbody td::before {
    content: attr(data-title);
    font-weight: 600;
    color: var(--themeht-text-color);
    text-align: left;
    flex-shrink: 0;
  }

  .service-wrap table.service-table tbody tr td:first-child {
    padding-top: 20px;
    border-top: 1px solid var(--themeht-border-light-color);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background: var(--themeht-white-color);
  }

  .service-wrap table.service-table tbody tr td:last-child {
    padding-bottom: 20px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--themeht-border-light-color);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    background: var(--themeht-white-color);
  }

  .service-wrap table.service-table tbody tr:last-child td:last-child {
    margin-bottom: 0;
  }

  .service-wrap table.service-table tbody td:not(:first-child):not(:last-child) {
    background: var(--themeht-white-color);
  }

  .service-wrap .hire-cate .featured-item.style-2 {
    background: transparent;
    border: 0;
  }

  .service-wrap .hire-cate .featured-item.style-2.px-5 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .media-icon li a,
  .media-icon li p {
    font-size: 16px;
  }

  .footer-menu li a {
    font-size: 16px;
  }
}

@media (max-width: 600px) {}

@media (max-width: 575px) {

  h1,
  .h1 {
    font-size: 40px !important;
    line-height: 55px !important;
  }

  .theme-title h2 {
    font-size: 28px !important;
  }

  .sub-title h2 {
    font-size: 24px !important;
  }

  /*Banner*/
  /*.breadcrumb-item {
    line-height: 30px;
  }

  .page-title {
    padding: 160px 0 110px;
  }*/

  /*Other*/
  .social-icons.footer-social li a {
    height: 45px;
    width: 45px;
    line-height: 45px;
    font-size: 22px;
  }

  .rounded-button {
    width: 140px;
    height: 140px;
    padding: 12px;
  }

  section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .navbar-brand.logo {
    padding: 16px 8px;
  }

  .theme-title {
    margin-bottom: 28px;
  }

  .theme-title h1,
  .award-items h4 {
    font-size: 28px !important;
  }

  .about-content {
    padding: 24px;
  }

  .verticle-img-box {
    padding: 24px;
  }

  .nav-tabs {
    margin-bottom: 16px;
  }

  .section-special {
    padding: 40px 0;
  }

  .intro-section .rounded-button {
    width: 140px;
    height: 140px;
    padding: 12px;
  }

  .intro-video-wrap {
    margin-top: 56px;
  }

  /*.post-card {
    padding-right: 42px;
  }*/

  .counter.style-1 span {
    font-size: 76px;
  }

  .counter.style-1 .count-number+span {
    font-size: 46px;
  }

  .primary-footer {
    padding: 80px 0 60px;
  }

  .footer-menu {
    gap: 0;
  }

  .footer-menu>div:last-child {
    padding-left: 12px;
  }

  .banner-content h3 {
    font-size: 24px;
    -webkit-line-clamp: 2;
  }

  .banner-slider .rounded-button {
    width: 100px;
    height: 100px;
  }

  .banner-slider .rounded-button i {
    font-size: 60px;
    margin-top: -12px;
  }

  .banner-slider .rounded-button span {
    font-size: 14px;
  }

  .loader span,
  .loader img {
    max-width: 250px;
  }

  .scroll-top,
  .float-sns {
    right: 20px;
  }

  .footer-logo img {
    max-width: 225px;
  }

  .exhibit .threesixty {
    max-width: 80%;
  }

  .service-cont .service-wrap {
    padding: 32px 24px;
  }

  .job-portal-wrap .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .job-portal-title {
    margin-bottom: 15px;
  }

  .secondary-footer .logo-imgs .logo-img img {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 480px) {

  .exhibit .threesixty {
    max-width: 100%;
  }

  .post-single-bg-img h1 {
    font-size: 34px !important;
  }

  .contact-form {
    padding: 20px 24px;
  }
}

@media (max-width: 375px) {}