/*!
Theme Name: DOJO Client Theme
Description: Theme for DOJO Client
Author: DOJO Creative
Author URI: https://letsgodojo.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: dctheme
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/
table {
  font-size: 1em;
}

main#content {
  --padding-top: 100px;
  --padding-bottom: 100px;
  --padding-left: 20px;
  --padding-right: 20px;
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
}
@media (max-width: 1366px) {
  main#content {
    --padding-top: 50px;
    --padding-bottom: 50px;
    --padding-left: 20px;
    --padding-right: 20px;
  }
}

.elementor-page main#content {
  padding-top: 0;
  padding-bottom: 0;
}

.e-con.p-con-def {
  --padding-top: 100px;
  --padding-bottom: 100px;
  --padding-left: 20px;
  --padding-right: 20px;
}
@media (max-width: 1366px) {
  .e-con.p-con-def {
    --padding-top: 50px;
    --padding-bottom: 50px;
    --padding-left: 20px;
    --padding-right: 20px;
  }
}
.e-con.p-con-def + .e-con.p-con-def {
  --padding-top:0;
}
.e-con.p-con-light {
  --padding-top: 100px;
  --padding-bottom: 100px;
  --padding-left: 20px;
  --padding-right: 20px;
  background-color: #EDEEF0;
}
@media (max-width: 1366px) {
  .e-con.p-con-light {
    --padding-top: 50px;
    --padding-bottom: 50px;
    --padding-left: 20px;
    --padding-right: 20px;
  }
}
.e-con.p-con-light + .e-con.p-con-light {
  --padding-top:0;
}
.e-con.p-con-gradient {
  --padding-top: 100px;
  --padding-bottom: 100px;
  --padding-left: 20px;
  --padding-right: 20px;
  background: linear-gradient(0deg, #00B846 0%, #01853A 100%);
  color: #fff;
}
@media (max-width: 1366px) {
  .e-con.p-con-gradient {
    --padding-top: 50px;
    --padding-bottom: 50px;
    --padding-left: 20px;
    --padding-right: 20px;
  }
}
.e-con.p-con-gradient + .e-con.p-con-gradient {
  --padding-top:0;
}

/* -------- Elementor Custom Container Styles ---------- */
/* Boxed width container */
@media (min-width: 1367px) {
  .boxed_container {
    padding-left: calc(50vw - var(--container-max-width) / 2);
    padding-right: calc(50vw - var(--container-max-width) / 2);
  }
}
/* Boxed Left */
@media (min-width: 1367px) {
  .left_container {
    padding-left: calc(50vw - var(--container-max-width) / 2);
  }
}
/* Boxed Right */
@media (min-width: 1367px) {
  .right_container {
    padding-right: calc(50vw - var(--container-max-width) / 2);
  }
}
/* -------- End Elementor Custom Container Styles ---------- */
.page-content > .elementor > .p-con-def:first-child {
  --padding-top: 25px;
}

/*** Header Styles ***/
@media (width >= 1025px) {
  .dojo_menu .last_menu_item a {
    margin-left: 0px !important;
    color: var(--e-global-color-60a1185) !important;
  }
  .dojo_menu .last_menu_item {
    background-color: var(--e-global-color-accent);
    padding: 5px 30px;
    border-radius: 100px;
    margin-left: 20px;
  }
  .dojo_menu .last_menu_item:hover {
    background-color: var(--e-global-color-832eba0);
    transition: 0.3s;
  }
  .dojo_menu .last_menu_item .elementor-item:after {
    display: none;
  }
}
/*** Global Styles ***/
.elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}

.elementor-widget-text-editor p strong, .dj_iconbox p strong {
  font-weight: 700 !important;
}

.dj_iconbox h2, .dj_iconbox h3, .dj_iconbox h4, .dj_iconbox h5, .dj_iconbox h6 {
  margin-top: 0;
}

@media (width >= 1025px) {
  .img_scale {
    transform: scale(1.5);
  }
}
@media (width <= 1024px) {
  .img_scale.elementor-absolute, .img_abs.elementor-absolute {
    position: static !important;
  }
}
.team_member_popup {
  background: rgba(0, 0, 0, 0.5) !important;
  -webkit-backdrop-filter: blur(25px) !important;
          backdrop-filter: blur(25px) !important;
}

.dj_box_shadow {
  box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.03) !important;
}

.dj_con_overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%);
}

@media (width >= 1140px) {
  .dj_env_text h6 {
    position: relative;
    display: inline-block;
  }
  .dj_env_text h6::after {
    content: "";
    position: absolute;
    background-size: contain;
    pointer-events: none;
    background: url("img/long_line_icon.svg") no-repeat right;
    top: 5px;
  }
  .dj_env_text.long_line.line_right h6::after {
    width: 180px;
    height: 15px;
    right: -150px;
    top: 5px;
  }
  .dj_env_text.short_line h6::after {
    width: 50px;
    height: 15px;
  }
  .dj_env_text.line_right h6::after {
    right: 0px;
  }
  .dj_env_text.short_line.line_left h6::after {
    width: 30px;
    left: -50px;
    transform: rotate(180deg);
  }
}
/*** Blog Styles ***/
.blog_menu .elementor-menu-toggle {
  margin-right: 0 !important;
  margin-bottom: -15px !important;
}

.blog_menu .elementor-nav-menu {
  margin-top: 20px;
}

.dj_blog_content h2, .dj_blog_content h3, .dj_blog_content h4, .dj_blog_content h5, .dj_blog_content h6 {
  margin-top: 40px;
}

@media screen and (max-width: 768px) {
  .team-member .elementor-position-top .elementor-image-box-wrapper {
    display: flex;
    gap: 20px;
  }
  .team-member .elementor-position-top .elementor-image-box-wrapper .elementor-image-box-img a {
    width: 72px;
    display: block;
  }
}
.dc-dialog {
  padding: 0;
  border: 0;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.5);
}
.dc-dialog .inner {
  max-width: 980px;
  padding: 20px;
  gap: 40px;
}
@media screen and (min-width: 620px) {
  .dc-dialog .inner {
    display: grid;
    grid-template-columns: 2fr 3fr;
  }
}
.dc-dialog .button {
  text-align: right;
}
.dc-dialog .button button {
  padding: 10px;
  background: none;
  border: 0;
}
.dc-dialog .button button:hover {
  background: var(--e-global-color-832eba0);
}
.dc-dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

#team-dialog-role {
  font-weight: bold;
  color: #01853A;
}

#team-dialog-contacts {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media screen and (min-width: 768px) {
  #team-dialog-contacts {
    flex-direction: row;
    gap: 10px;
  }
}

#team-dialog-email, #team-dialog-phone {
  font-weight: bold;
  font-size: 0.8em;
}
#team-dialog-email:before, #team-dialog-phone:before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: #01853a;
  vertical-align: middle;
  margin-right: 5px;
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}

#team-dialog-email:before {
  -webkit-mask-image: url(img/mail.svg);
          mask-image: url(img/mail.svg);
}

#team-dialog-phone:before {
  -webkit-mask-image: url(img/phone.svg);
          mask-image: url(img/phone.svg);
}

#product-selector-dialog .button {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}
@media screen and (min-width: 650px) {
  #product-selector-dialog .inner {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
  }
}
@media screen and (min-width: 768px) {
  #product-selector-dialog .content {
    min-width: 500px;
  }
}
#product-selector-dialog .selections--box {
  background: #EDEEF0;
  border-radius: 4px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#product-selector-dialog .selections--item .desc {
  font-weight: 800;
  font-size: 12px;
  color: var(--e-global-color-accent);
}
#product-selector-dialog .selections--item .val {
  font-weight: 800;
  font-size: 20px;
}
@media screen and (max-width: 767px) {
  #product-selector-dialog .products-list table thead {
    display: none;
  }
  #product-selector-dialog .products-list table tr, #product-selector-dialog .products-list table th {
    display: flex;
    flex-direction: column;
  }
  #product-selector-dialog .products-list table td {
    border: 0;
    padding: 10px;
  }
  #product-selector-dialog .products-list table td:last-child {
    border-bottom: 1px solid #ccc;
  }
}

.product-browser .filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.product-browser .dt-search {
  display: none;
}
.product-browser .links {
  font-size: 0.9em;
  font-weight: bold;
  display: flex;
  gap: 1rem;
  line-height: 1;
}
.product-browser .links a:before {
  content: " ";
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 2px;
  background: var(--e-global-color-accent);
  -webkit-mask-image: url(img/pdf.svg);
          mask-image: url(img/pdf.svg);
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}
.product-browser .links a:hover:before {
  background: var(--e-global-color-832eba0);
}

#product-selector-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media screen and (min-width: 768px) {
  #product-selector-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
#product-selector-form .main-label {
  font-weight: 800;
}
#product-selector-form .product-selector__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#product-selector-form .product-selector__item label {
  font-size: 14px;
}
#product-selector-form .product-selector__item.button {
  padding-top: 1em;
}

#video-container {
  transition: none !important;
}

#browser_wrapper table {
  background: #FFF;
}
@media screen and (max-width: 767px) {
  #browser_wrapper .dt-type-numeric {
    text-align: left !important;
  }
  #browser_wrapper table {
    overflow-x: hidden;
  }
  #browser_wrapper table th {
    display: none;
  }
  #browser_wrapper table tr {
    border-bottom: 1px solid #ccc;
  }
  #browser_wrapper table td {
    border: 0;
    width: 100%;
    padding: 5px 10px;
    display: block;
  }
  #browser_wrapper .size {
    padding-top: 20px;
  }
  #browser_wrapper .size:before {
    content: "Size:";
    display: inline-block;
    font-weight: 800;
    margin-right: 5px;
  }
  #browser_wrapper .product:before {
    content: "Product:";
    display: inline-block;
    font-weight: 800;
    margin-right: 5px;
  }
  #browser_wrapper .workingtime:before {
    content: "Working Time:";
    display: inline-block;
    font-weight: 800;
    margin-right: 5px;
  }
  #browser_wrapper .color:before {
    content: "Color:";
    display: inline-block;
    font-weight: 800;
    margin-right: 5px;
  }
  #browser_wrapper .mix-ratio:before {
    content: "Mix Ratio:";
    display: inline-block;
    font-weight: 800;
    margin-right: 5px;
  }
  #browser_wrapper .links {
    display: flex;
    flex-direction: column;
    width: calc(100vw - 60px);
    padding-bottom: 20px;
  }
}

.timeline-carousel .dj_timeline_slide_content:before {
  content: " ";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  left: 0;
  top: calc(50% - 4px);
  position: absolute;
  background: var(--e-global-color-secondary);
  left: -74px;
}

.timeline-carousel .dj_timeline_slide_content:after {
  content: " ";
  width: 70px;
  height: 2px;
  display: block;
  left: 0;
  top: 50%;
  position: absolute;
  background: var(--e-global-color-secondary);
  left: -70px;
}

/* ================== VERTICAL CAROUSEL (Nesting Carousel only) ================== */
/* Widget fills whatever height the parent gives */
.elementor-widget-n-carousel.vertical-carousel,
.elementor-widget-n-carousel.vertical-carousel .elementor-widget-container {
  height: 100%;
}

/* Swiper viewport */
.elementor-widget-n-carousel.vertical-carousel .e-n-carousel__swiper,
.elementor-widget-n-carousel.vertical-carousel .e-n-carousel.swiper {
  height: 100%;
  overflow: hidden;
}

/* Slides must fill the full viewport height (no bleed/peek) */
.elementor-widget-n-carousel.vertical-carousel .swiper-wrapper {
  height: 100%;
  align-items: stretch;
}

.elementor-widget-n-carousel.vertical-carousel .swiper-slide {
  height: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  overflow: hidden;
  position: relative;
  isolation: isolate; /* prevents background/overlay bleed from other slides */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* Inner Elementor containers should also stretch */
.elementor-widget-n-carousel.vertical-carousel .swiper-slide > .e-con,
.elementor-widget-n-carousel.vertical-carousel .swiper-slide > .e-con > .e-con-inner,
.elementor-widget-n-carousel.vertical-carousel .swiper-slide > .elementor,
.elementor-widget-n-carousel.vertical-carousel .swiper-slide > * {
  height: 100% !important;
  min-height: 100%;
  width: 100% !important;
  min-width: 0;
}

/* Kill default top margins that can create ghost gaps */
.elementor-widget-n-carousel.vertical-carousel .swiper-slide h1,
.elementor-widget-n-carousel.vertical-carousel .swiper-slide h2,
.elementor-widget-n-carousel.vertical-carousel .swiper-slide h3,
.elementor-widget-n-carousel.vertical-carousel .swiper-slide p {
  margin-top: 0;
}

/* Optional: images behave nicely */
.elementor-widget-n-carousel.vertical-carousel .swiper-slide img {
  max-width: 100%;
  height: auto;
  display: block;
}

.timeline-container {
  height: 550px;
}

.timeline-pagination {
  font-weight: 900;
}