/*
 Theme Name:   Sinkel Child
 Theme URI:    https://wdtthemes.kinsta.cloud/sinkel
 Description:  Sinkel Child Theme
 Author:       the WeDesignTech team
 Author URI:   https://wedesignthemes.com/
 Template:     sinkel
 Version:      1.0.0
 Text Domain:  sinkel-child
*/

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
label,
legend,
input,
textarea,
select,
button,
.wdt-heading-content-wrapper {
  letter-spacing: normal !important;
}


@media (max-width: 1540px) {
    body .container, body .wdt-elementor-container-fluid .elementor-section.elementor-section-boxed:not(.wdt-no-full-section)>.elementor-container {
        padding: 0 30px !important;
        width: 100%;
        max-width: 1230px !important;
    }
}

@media only screen and (max-width: 767px) {
  .no-reverse.elementor-reverse-tablet>.elementor-container>:first-child {
        order: 1;
    }
.entry-button.wdt-core-button {
    text-align: center;
}
body .wdt-custom-aboutus-tab .wdt-tabs-container ul.wdt-tabs-list.wdt-expanded {
    padding: 0 !important;
    background: #fff !important; 
    }
        .wdt-tabs-container[class*='-tabs-toggle-mode'] .wdt-tabs-list-wrapper {
        width: 100% !important; 
    } 
#header-wrapper .wdt-button-icon {
    display: none !important; 
    }
  #header-wrapper .wdt-button {
      font-size: 14px !important;
      padding: 10px 12px !important;
  }
  .wdt-cus-home-1-slider-iconlist ul.elementor-icon-list-items {
    place-content: normal;
  }
  .wdt-simple-style.wdt-post-entry .blog-entry .entry-button a.wdt-button span {
    height: 55px !important;
    width: 55px !important;
    margin-right: 12px;
  }
  .btn-custom .elementor-image-box-wrapper {
    gap: 12px !important;
  }
}

@media only screen and (max-width: 1024px) {
 .gallery-item{
        max-width: 33% !important;
    }
  .banner-page img.attachment-full.size-full, .float-right {
    position: relative !important;
  }
  body .banner-page > .elementor-container.elementor-column-gap-no {
    padding-right: 20px !important;
  }
}

#header-wrapper {
  margin-bottom: 0px;
}
.wdt-header-menu .wdt-primary-nav > li > a {
  padding: 0 10px !important;
}

li.current_page_ancestor > a {
  font-weight: bold !important;
}

.wdt-custom-process-iconbx
  .wdt-icon-box-holder
  .wdt-column-wrapper
  .wdt-content-item
  .wdt-content-media-group
  .wdt-content-icon-wrapper
  .wdt-content-icon:after {
  display: none;
}

.wdt-custom-aboutus-tab .wdt-tabs-container .wdt-tabs-list {
  background: #fdd836 !important;
  border-radius: 50px;
}

.ui-tabs-active a {
  font-weight: bold !important;
}

.wdt-custom-intact
  .wdt-interactive-showcase-container
  .wdt-interactive-showcase-list-wrapper
  ul.wdt-interactive-showcase-list
  li:hover,
.wdt-custom-intact
  .wdt-interactive-showcase-container
  .wdt-interactive-showcase-list-wrapper
  ul.wdt-interactive-showcase-list
  li.wdt-interactive-showcase-active {
  background: #fdd835;
}

.wdt-custom-intact
  .wdt-interactive-showcase-container
  .wdt-interactive-showcase-list-wrapper
  ul.wdt-interactive-showcase-list
  li {
  padding: 20px;
  border-radius: 15px;
  background: #fff;
}
.wdt-content-media-group {
  height: auto;
  align-items: center;
}
.wdt-content-media-group img {
  height: 95% !important;
}
#review .wdt-content-detail-group {
  background: #e9eaed !important;
  border-radius: 15px;
}
.wdt-content-item {
  align-items: center !important;
}

.wdt-cus-team-members
  .wdt-team-holder
  .wdt-content-item
  .wdt-content-detail-group {
  padding: 20px;
}

#feature .wdt-content-item {
  height: 100%;
}

#feature
  .wdt-custom-process-iconbx
  .wdt-icon-box-holder
  .wdt-column-wrapper
  .wdt-column:not(:last-child)
  .wdt-content-item:after {
  display: none !important;
}

.wdt-simple-style.wdt-post-entry.entry-grid-layout .blog-entry {
  overflow: hidden;
}
.wdt-simple-style.wdt-post-entry .blog-entry > div.entry-thumb {
  border-radius: 15px;
}
.wdt-simple-style.wdt-post-entry
  .has-post-thumbnail.blog-entry
  > div.entry-thumb
  + div.entry-date {
  background: #fdd835;
  padding: 15px;
}
.wdt-post-entry .blog-entry .entry-title h4 a,
.wdt-post-entry .blog-entry a:not(.wdt-button) {
  font-size: var(--wdtFontSize_H5);
}

.wdt-post-entry .entry-body p {
  font-size: var(--e-global-typography-8214ed1-font-size);
}

a.wdt-button {
  font-family: var(--e-global-typography-cc7212b-font-family), Sans-serif;
  font-size: var(--e-global-typography-cc7212b-font-size) !important;
  font-weight: var(--e-global-typography-cc7212b-font-weight) !important;
  letter-spacing: var(--e-global-typography-cc7212b-letter-spacing) !important;
  color: var(--e-global-color-f7da548) !important;
}

.wdt-simple-style.wdt-post-entry .blog-entry .entry-button a.wdt-button:hover {
  color: #7e6701 !important;
}
.wdt-simple-style.wdt-post-entry
  .blog-entry
  .entry-button
  a.wdt-button:hover
  span {
  background-image: url(/wp-content/uploads/2025/07/Frame-227-1.svg);
  background-size: cover;
}
.wdt-simple-style.wdt-post-entry
  .blog-entry
  .entry-button
  a.wdt-button
  span
  svg {
  font-size: 0;
}
.wdt-simple-style.wdt-post-entry .blog-entry .entry-button a.wdt-button span {
  background-image: url(/wp-content/uploads/2025/07/Frame-227.svg);
  background-size: cover;
  height: 70px;
  width: 70px;
}

.wdt-simple-style.wdt-post-entry
  .blog-entry
  .entry-button
  a.wdt-button
  span:after,
.wdt-simple-style.wdt-post-entry
  .blog-entry
  .entry-button
  a.wdt-button
  span:before {
  display: none;
}

#footer .elementor-widget-heading .elementor-heading-title {
  font-family: var(--e-global-typography-f3efb02-font-family), Sans-serif !important;
  font-size: var(--e-global-typography-f3efb02-font-size) !important;
  font-weight: var(--e-global-typography-f3efb02-font-weight) !important;
  letter-spacing: var(--e-global-typography-f3efb02-letter-spacing) !important;
  color: #0a0a0a !important;
}

ul.wdt-tabs-list.wdt-expanded {
  padding: 20px !important;
}

ul.wdt-tabs-list.wdt-expanded li {
  margin-bottom: 10px !important;
}
.btn-custom .elementor-image-box-wrapper h3 {
  margin: 0 !important;
}
.btn-custom .elementor-image-box-wrapper {
  display: flex;
  gap: 0px;
  align-items: center;
}

.banner-page .elementor-container.elementor-column-gap-no {
  padding-right: 0 !important;
}

.banner-page h2.wdt-heading-title-wrapper {
  margin-bottom: 0 !important;
}
.e-n-tab-title {
  justify-content: space-between !important;
}

/* .elementor-4001 .elementor-element.elementor-element-9e4d4c5 {
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.07);
} */

@media only screen and (min-width: 1025px) and (max-width: 1280px) {
  header .order-3 {
    width: auto !important;
  }
  header .order-2 {
    padding-right: 15px;
  }
  header .order-1 {
    width: 70% !important;
  }
}

.wdt-content-item {
    height: 100%;
}



@media only screen and (min-width: 768px) and (max-width: 1540px) {
  .wdt-custom-process-iconbx
    .wdt-icon-box-holder
    .wdt-column-wrapper
    .wdt-column:not(:last-child)
    .wdt-content-item:after {
    width: 100px;
    right: -114px;
    top: 100px;
  }
}

.wdt-cus-contact-us-form .wdt-cus-contact-infos p {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
textarea {
  border-radius: 15px;
  background: #e9eaed !important;
  font-family: var(--e-global-typography-f3efb02-font-family), Sans-serif !important;
}

.wdt-cus-contact-us-form .wdt-cus-submit p input:hover {
  color: #d32f2f;
  background: #ffff;
}
.wdt-cus-contact-us-form .wdt-cus-submit p input {
  border-radius: 25px;
  background: #d32f2f;
  width: 160px;
  border: 1px solid #d32f2f;
  font-family: var(--e-global-typography-69b1ee1-font-family), Sans-serif;
}

#sticky {
  position: relative; /* ปกติอยู่ใน flow */
  top: 0;
  left: 0;
  right: 0;
  transition: top 0.5s ease;
  z-index: 1000;
}

#sticky.show {
  position: fixed;
  top: -50px; /* เริ่มจากสูงกว่าหน่อยเพื่อ slide ลงมา */
  animation: slideDown 0.5s forwards;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@keyframes slideDown {
  from {
    top: -50px;
  }
  to {
    top: 0;
  }
}

.mb-0 .elementor-heading-title {
    margin-bottom: 0 !important;
}

.m-0 a {
 margin: 0 !important;
}



.mobile-nav-container .menu-trigger>i:before, .mobile-nav-container .menu-trigger>i:after, .mobile-nav-container .menu-trigger>i {
    height: 2px;
}


/* --- Preloader Styles --- */
#preloader {
  position: fixed;
  z-index: 9999;
  background: #ffffffd6;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s;
}
#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}
.building {
  background: #FFD700;
  width: 100px;
  padding: 20px 15px;
  border-radius: 6px;
  text-align: center;
}
.logo-area {
  margin-bottom: 10px;
}
.logo-area .logo {
  width: 75px;
  height: auto;
}
.windows {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 16px;
  justify-items: center;
}
.window {
  width: 20px;
  height: 20px;
  background: #333;
  border-radius: 3px;
  opacity: 0.2;
  animation: blink 1.5s infinite;
}
.window:nth-child(1) { animation-delay: 0s; }
.window:nth-child(2) { animation-delay: 0.3s; }
.window:nth-child(3) { animation-delay: 0.6s; }
.window:nth-child(4) { animation-delay: 0.9s; }
.window:nth-child(5) { animation-delay: 1.2s; }
.window:nth-child(6) { animation-delay: 1.5s; }
@keyframes blink {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}



.banner-page > .elementor-container {
    position: revert;
}
.float-right {
    position: absolute;
    right: 0;
}


