/*
Theme Name: tsm
Description: TSM
Author: hello-elementor
Template: hello-elementor
Version: 1.0
*/
@import url("../hello-elementor/style.css");
/**
 * These are the custom mixins used throughout the application.
 */
/**
 * Ionic mixins
 */
#wrapper, #main {
  background: transparent;
}

body {
  background: #fff;
}

p {
  margin-bottom: 10px;
}

h1, h2, h3, h4, h5, h6 {
  /*font-size: unset;
  font-weight: unset;
  margin-bottom: 0.5rem;*/
}

a {
  color: #BE1622;
}

b, strong {
  font-weight: 700;
}

.elementor-icon-list-items .elementor-icon-list-item {
  align-items: flex-start !important;
}

.text-left {
  text-align: left;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-center {
  text-align: center;
}

.elementor-location-header header:before {
  position: absolute;
  content: '';
  background: #fff;
  left: 0;
  top: 0;
  width: 40%;
  height: 100%;
}

header .elementor-container.elementor-column-gap-no {
  background: #fff;
  padding: 0;
  border-bottom-right-radius: 30px;
  overflow: hidden;
}

header.menu-fixed {
  -webkit-box-shadow: 3px 3px 18px rgba(0, 0, 0, 0.2);
  box-shadow: 3px 3px 18px rgba(0, 0, 0, 0.2);
}

header .elementor-nav-menu {
  width: 100%;
}

header .elementor-nav-menu li.current-menu-item a {
  font-weight: 600 !important;
}

header .elementor-nav-menu li .elementor-nav-menu--dropdown {
  min-width: 20em !important;
  padding-bottom: 0px;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.08);
  border-radius: 5px;
  background: #fff !important;
  overflow: hidden;
}

header .elementor-nav-menu li .elementor-nav-menu--dropdown li:hover a, header .elementor-nav-menu li .elementor-nav-menu--dropdown li.current-menu-item a {
  color: #fff !important;
  background: #BE1622 !important;
}

header .elementor-nav-menu li .elementor-nav-menu--dropdown li a {
  color: #444444 !important;
  padding: 10px 15px !important;
  border-left: 0;
}

header .elementor-nav-menu li a:after {
  bottom: 10px !important;
}

header .tel-header {
  background: #BE1622;
  padding: 40px 15px;
}

header .header-menu > .elementor-element-populated {
  padding-right: 0 !important;
}

header .header-right > .elementor-container {
  margin-right: -1px;
}

a.elementor-button {
  position: relative;
  padding: 15px 30px;
  border-radius: 0;
}

.title-top-home1 {
  margin-bottom: 10px !important;
}

.site-main {
  min-height: 500px;
  padding-top: 30px;
}

/*banner subpage*/
.banner-top1:before {
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  width: 35%;
  height: 200px;
  border-radius: 0px 100px 0px 0px;
  background: rgba(0, 0, 0, 0.8);
}

.banner-top1 .elementor-widget {
  margin-bottom: 6px !important;
}

.banner-top1 .breadcrumbs {
  color: #fff;
  font-size: 16px;
}

.banner-top1 .breadcrumbs span {
  color: #fff;
  font-family: "Oswald", Sans-serif;
}

#slideshow .swiper-slide-inner {
  max-width: 1440px;
  padding-left: 15px;
}

#slideshow .swiper-slide-inner .swiper-slide-contents {
  background: rgba(26, 26, 26, 0.8);
  border-radius: 100px 0px 0px 0px;
  padding: 70px;
}

#slideshow .swiper-slide-inner .elementor-slide-heading {
  margin-bottom: 25px;
}

#slideshow .elementor-swiper-button {
  border: 1px solid #fff;
  padding: 4px 8px;
  bottom: 17%;
  top: unset;
}

#slideshow .elementor-swiper-button:hover {
  background: #7B6A58;
}

#slideshow .elementor-swiper-button.elementor-swiper-button-prev {
  left: 16%;
}

#slideshow .elementor-swiper-button.elementor-swiper-button-prev .eicon-chevron-left:before {
  content: '\f177';
  font-family: "font awesome 5 pro";
  font-weight: 100;
}

#slideshow .elementor-swiper-button.elementor-swiper-button-next {
  right: unset;
  left: 18.5%;
}

#slideshow .elementor-swiper-button.elementor-swiper-button-next .eicon-chevron-right:before {
  content: '\f178';
  font-family: "font awesome 5 pro";
  font-weight: 100;
}

#slideshow .elementor-slide-button {
  border-top-right-radius: 20px;
}

.title-line .elementor-image-box-title {
  position: relative;
  padding-left: 40px;
}

.title-line .elementor-image-box-title:before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 30px;
  height: 2px;
  background: #BE1622;
}

/*.solution-home {
  .achievement-item {
    padding: 30px;
    border-radius: 20px;
    &:hover {
      box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.08);
    }
    .name {
      font-weight: 600;
      font-size: 22px;
    }
    .subname {
      padding: 10px 0;
    }
    .readmore {
      a {
        text-transform: uppercase;
      }
    }
  }
}

.contact-home {
  .row-contact-page {
    margin-bottom: 0;
    label {
      color: #222;
      left: 20px;
      position: absolute;
      top: 20px;
      z-index: 9;
    }
    .elementor-column {
      flex-wrap: wrap;
    }
    .cb-services .wpcf7-list-item {
      &.first {
        margin-left: 0;
      }

      label {
        padding-left: 0;
      }
    }
    .wpcf7-form-control-wrap {
      width: 100%;
      padding: 4px 8px 10px;

      input,
      select {
        height: 50px;
        border: 0;
        padding-left: 36px;
        @include border-radius(0);
        color: #222222;
        font-weight: 400;
        @include placeholder(16px, #222);
      }
      textarea {
        border: 0;
        padding-left: 36px;
        @include border-radius(0);
        height: 120px;
        color: #222222;
        padding-top: 12px;
        font-weight: 400;
        @include placeholder(16px, #222);
      }
    }
    .form-button {
      padding-left: 10px;
      padding-top: 10px;
    }
    .elementor-button {
      background: transparent;
      color: #fff;
      padding: 15px 30px;
      border: 1px solid #fff;
      outline: none;
      @include border-radius(100px);
      text-transform: uppercase;
    }
  }

}*/
.elementor-location-footer .list-icon-footer svg {
  filter: brightness(0) invert(1);
}

.elementor-location-footer .elementor-nav-menu li {
  display: block;
  width: 100%;
  padding-left: 15px;
}

.elementor-location-footer .elementor-nav-menu li:before {
  position: absolute;
  content: '';
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 100px;
  left: 0;
  top: 47%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.elementor-location-footer .elementor-nav-menu li a {
  font-weight: 400 !important;
  padding: 8px 0 !important;
  line-height: 1;
  border: 0 !important;
}

.title-line-left .elementor-post__title {
  position: relative;
  padding-left: 40px;
}

.title-line-left .elementor-post__title:before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 30px;
  height: 2px;
  background: #BE1622;
}

.title-line-left .elementor-post__title a:hover {
  color: #BE1622 !important;
}

.form-contact-page .elementor-form input,
.form-contact-page .elementor-form textarea {
  background: #F5F5F5 !important;
  border: 1px solid #DADADA !important;
}

/*Gallery*/
.gallery-row {
  max-width: 1440px;
  margin: 0 auto;
  padding: 15px;
}

.gallery-row .gallery-top {
  max-width: 950px;
  margin: 0 auto;
  padding-bottom: 50px;
}

.gallery-row .gallery-top .slick-next {
  right: -50px;
}

.gallery-row .gallery-top .slick-prev {
  left: -50px;
}

.gallery-row .gallery-thumbnail-item .slick-next {
  right: -15px;
}

.gallery-row .gallery-thumbnail-item .slick-prev {
  left: -15px;
}

.gallery-row .gallery-thumbnail-item .slick-slide.slick-current img {
  border: 1px solid #BE1622;
  opacity: 0.8;
}

.gallery-row .gallery-thumbnail-item .item-gallery {
  position: relative;
  height: auto;
  overflow: hidden;
  padding-top: 70%;
  background-position: 50% 50%;
  background-size: cover;
  margin: 8px;
}

.gallery-row .gallery-thumbnail-item .item-gallery img {
  right: 0;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  top: 0;
  position: absolute;
  -o-object-position: 50% 50%;
  object-position: 50% 50%;
  -o-object-fit: cover;
  object-fit: cover;
  font-family: "object-fit: cover;";
  cursor: pointer;
}

.single-gallery-post {
  padding: 70px 0;
}

.single-gallery-post .title-gallery {
  text-align: center;
}

.single-gallery-post .item-gallery {
  position: relative;
  height: auto;
  overflow: hidden;
  padding-top: 70%;
  background-position: 50% 50%;
  background-size: cover;
  display: block;
}

.single-gallery-post .item-gallery img {
  right: 0;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  top: 0;
  position: absolute;
  -o-object-position: 50% 50%;
  object-position: 50% 50%;
  -o-object-fit: cover;
  object-fit: cover;
  font-family: "object-fit: cover;";
}

/*

!*Service*!
.service-post {
  .posttype-item {
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.08);
    padding-bottom: 30px;
    border-radius: 20px;
  }
  .box-image {
    position: relative;
    img {
      width: 100%;
    }
    .icon-img {
      position: absolute;
      bottom: -40px;
      left: 25px;
    }
  }
  .box-text {
    .post-title {
      font-weight: 500;
      font-size: 22px;
      color: #222;
      margin-bottom: 10px;
      display: block;
    }
    padding: 50px 25px 20px;
  }
  .custom-btn {
    padding: 0px 25px;
    a {
      text-transform: uppercase;
    }
  }
}

.title-menu-sv {
  h2 {
    padding-bottom: 10px;
    border-bottom: 1px solid #C4C4C4;
    position: relative;
    &:before {
      position: absolute;
      content: '';
      left: 0;
      bottom: -2px;
      width: 60px;
      height: 3px;
      background: $primary;
    }
  }
}

.menu-service-left {
  .elementor-nav-menu {
    li {
      border-bottom: 1px solid #C4C4C4;
      &:hover,
      &.current-menu-item {
        a {
        }
      }
      a {
        position: relative;
        &:before {
          position: absolute;
          content: '\f105';
          font-family: "font awesome 5 pro";
          font-size: 18px;
          font-weight: 400;
          right: 5px;
          opacity: 1 !important;
          background: transparent !important;
        }
      }
    }
  }
}

!*.project-content {
  .elementor-widget-container {
    ol {
      display: grid;
      grid-auto-flow: column;
      grid-column-gap: 20px;
      grid-template-rows: repeat(70, 1fr);
      padding-left: 20px;
      li {
        padding: 5px 0;
      }
    }
  }
}*!

!*news*!
.post-top1 {
  .elementor-post__card {
    .elementor-post__thumbnail__link {
      order: 1;
    }
    .elementor-post__text {
      order: 3;
      .elementor-post__title {
        margin-bottom: 15px;
      }
      .elementor-post__excerpt {
        border-bottom: 1px solid #EFEFEF;
        padding-bottom: 20px;
        margin-bottom: 20px;
      }
    }
    .elementor-post__meta-data {
      order: 2;
      border: 0 !important;
      padding: 0 30px !important;
      .elementor-post-date {
        position: relative;
        padding-left: 25px;
        &:before {
          position: absolute;
          content: '\f271';
          font-family: "font awesome 5 pro";
          font-size: 18px;
          font-weight: 100;
          left: 0;
        }
      }
    }
    .elementor-post__read-more {
      i {
        @include rotate(315deg);
      }
    }
  }
}

.post-popular {
  article {
    &:not(:first-child) {
      border-top: 1px solid #ECECEC;
      padding-top: 20px !important;
    }
  }
  .elementor-post__meta-data {
    padding-top: 10px;
    margin-bottom: 0 !important;
  }
}

.single-tag {
  .elementor-widget-container {
    h5 {
      display: none;
    }
    .tagcloud {
      a {
        pointer-events: none;
        display: inline-block;
        margin: 15px 15px 0 0;
        color: #333333;
        font-size: 14px !important;
        font-weight: 600;
        border: 1px solid #AFAFAF;
        padding: 15px;
      }
    }
  }
}

!*Career*!
.banner-right-career {
  .premium-banner-ib-desc {
    bottom: 50px !important;
  }
}

.career-post {
  article {
    .elementor-post__title {
      margin-bottom: 10px;
    }
    &:not(:first-child) {
      border-top: 1px solid #B3B3B3;
      padding-top: 30px;
    }
  }
}

.location-career {
  .elementor-widget-heading {
    margin-bottom: 10px !important;
  }
}

.contact-home.contact-career {
  .elementor-column {
    flex-wrap: inherit;
  }
  .row-contact-page label {
    position: unset;
    white-space: nowrap;
    padding-left: 10px;
    color: #fff;
    font-weight: 400;
    padding-top: 12px;
  }
  input[name="file-upload"] {
    color: #fff !important;
  }
  .row-contact-page .form-button {
    justify-content: center;
  }

}

.banner-right-career {

}
*/
/*Slick*/
.slick-arrow {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 43px;
  color: #fff !important;
  font-size: 24px;
  z-index: 9;
  cursor: pointer;
  background: #BE1622;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;
  -webkit-box-shadow: 1px 1px 18px rgba(0, 0, 0, 0.1) !important;
  box-shadow: 1px 1px 18px rgba(0, 0, 0, 0.1) !important;
}

/*contact*/
.contact-home.contact-page .row-contact-page .wpcf7-form-control-wrap input, .contact-home.contact-page .row-contact-page .wpcf7-form-control-wrap select,
.contact-home.contact-page .row-contact-page .wpcf7-form-control-wrap textarea {
  border: 1px solid #BABABA;
  background: transparent;
}

.contact-home.contact-page .row-contact-page .elementor-button {
  background: transparent;
  border: 1px solid #BE1622;
  color: #BE1622;
  font-weight: 400 !important;
}

.contact-home.contact-page .row-contact-page .form-button {
  justify-content: start;
}

.social-fixed {
  position: fixed;
  bottom: 75px;
  right: 15px;
  z-index: 99;
}

.social-fixed ul li {
  display: block;
  width: 49px !important;
  height: 48px;
  background-size: 100% !important;
  margin: 5px 0;
}

.social-fixed ul li:before {
  display: none !important;
}

.social-fixed ul li.whatsapp-menu {
  background: url("assets/images/icon-whatsapp.png") no-repeat;
}

.social-fixed ul li.email-menu {
  background: url("assets/images/icon-email.png") no-repeat;
}

.social-fixed ul li a {
  text-indent: -9999px;
  display: block;
  height: 50px;
}
.box-service-home .elementor-widget-text-editor{
  min-height: 110px;
  margin-bottom: 0 !important;
}
.menu-gallery-cate ul li.current-menu-item a{
  font-weight:500 !important;
}
/*i.fal.fa-arrow-right {
  @include rotate(315deg);
}*/
.gallery-archive1 .elementor-posts {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
}
.gallery-archive1 .elementor-posts article{
  /*max-width: 25%;
  -ms-flex-preferred-size: 25%;
  flex-basis: 25%;*/
  width: calc(25% - 30px);
}

@media (min-width: 1200px) {
  header .elementor-nav-menu li.menu-contact {
    background: #BE1622;
    padding: 12px 25px;
    border-radius: 100px;
    margin-left: 15px;
  }
  header .elementor-nav-menu li.menu-contact a {
    color: #fff !important;
    font-weight: 400 !important;
    margin-left: 0 !important;
  }
  header .elementor-nav-menu li.menu-contact a:after {
    display: none;
  }
}

@media only screen and (max-width: 1480px) {
  .gallery-row .gallery-thumbnail-item .slick-prev {
    left: 0;
  }
  .gallery-row .gallery-thumbnail-item .slick-next {
    right: 0px;
  }
  .box-service-home .elementor-widget-text-editor {
    min-height: 140px;
}
}

@media only screen and (max-width: 1199px) {
  header .elementor-container.elementor-column-gap-no{
    overflow: unset;
  }
  .box-service-home .elementor-widget-text-editor {
    min-height: unset;
}
  .news-home .posttype-grid .posttype-item .post-title {
    font-size: 20px;
  }
  /*.function-family1 > .elementor-widget-container {
    margin: 0;
  }
  .benifit-family .imagelist-slider .imagelist-item {
    padding: 20px 15px;
  }
  header .elementor-nav-menu li.mn-hide-pc {
    display: block;
  }*/
  .project-content .elementor-widget-container ol {
    display: block;
  }
  header .elementor-nav-menu li .elementor-nav-menu--dropdown li a {
    border-left: 0;
    padding: 0 !important;
  }
  .title-line .elementor-image-box-title {
    padding-left: 0;
  }
  .title-line .elementor-image-box-title:before,
  .elementor-location-header header:before {
    display: none;
  }
  header {
    padding: 0 !important;
  }
  header .elementor-container.elementor-column-gap-no {
    padding: 10px;
    border-bottom-right-radius: 0px;
  }
  #slideshow .elementor-swiper-button.elementor-swiper-button-prev {
    left: 30px;
  }
  #slideshow .elementor-swiper-button.elementor-swiper-button-next {
    left: 80px;
  }
  .banner-top1:before {
    width: 40%;
  }
  .gallery-row .gallery-top .slick-prev {
    left: 0px;
  }
  .gallery-row .gallery-top .slick-next {
    right: 0;
  }
  
}

@media only screen and (max-width: 991px) {
  .eicon-menu-bar {
    font-size: 20px;
  }
}

@media only screen and (max-width: 848px) {
  .gallery-archive1 .elementor-posts article{
  max-width: 47%;
  -ms-flex-preferred-size: 47%;
  flex-basis: 47%;
}
  .txt-768-break br {
    display: none;
  }
  #slideshow .swiper-slide-inner .swiper-slide-contents {
    padding: 50px;
    margin-top: 50px;
  }
  #slideshow .elementor-swiper-button {
    display: none;
  }
  .banner-top1:before {
    width: 50%;
    height: 160px;
  }
}

@media only screen and (max-width: 767px) {
  .gallery-archive1 .elementor-posts article{
    max-width: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }
  .menu-gallery-cate ul li{
    width: 100%;
  }
  .menu-gallery-cate ul li a {
      justify-content: center;
  }
  .menu-gallery-cate ul li a:after,
  .menu-gallery-cate ul li:after{
    display: none;
  }
  .col-first {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
  }
  .elementor-menu-toggle__icon--close.eicon-close {
    font-size: 20px;
  }
  .is-menu-wrapper {
    right: 50px;
    /*top: 14px !important;*/
  }
  .is-menu-wrapper .astm-search-menu {
    padding-top: 8px;
  }
  .title-home1 h2 br {
    display: none;
  }
  a.elementor-button {
    padding: 15px 30px !important;
    font-size: 14px;
  }
  .elementor-slides .swiper-slide-inner {
    padding: 15px;
  }
  #slideshow .swiper-slide-inner .elementor-slide-heading {
    margin-bottom: 8px;
  }
  #slideshow .swiper-slide-inner .elementor-slide-description {
    margin-bottom: 15px;
  }
  #slideshow .swiper-slide-inner .elementor-slide-description br {
    display: none;
  }
  #slideshow .swiper-slide-inner .swiper-slide-contents {
    padding: 30px 35px 35px;
    border-top-left-radius: 50px;
  }
  .elementor-location-footer .elementor-widget-heading {
    margin-bottom: 10px !important;
  }
  .elementor-location-footer .copy-right .elementor-widget-container {
    font-size: 12px;
  }
  .icon-home-contact ul li {
    margin-bottom: 12px !important;
  }
  .title-line .elementor-image-box-wrapper {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    display: flex;
    align-items: center;
  }
  .title-line1 .elementor-image-box-wrapper {
    /*display: flex;
    align-items: center;*/
  }
  .title-line1 .elementor-image-box-title{
    margin-bottom: 0 !important;
  } 
  .title-line1 .elementor-image-box-wrapper .elementor-image-box-img {
    /*margin-right: 20px !important;*/
  }
  .title-line .elementor-image-box-wrapper .elementor-image-box-title {
    margin-bottom: 0;
  }
  .gallery-home .gallery-item {
    width: 50% !important;
  }
  .banner-top1:before {
    width: 100%;
    height: 100px;
    border-radius: 0;
  }
  .single-gallery-post {
    padding: 40px 0;
  }
  .single-gallery-post .title-gallery {
    padding-bottom: 0;
  }
  .gallery-row .gallery-top {
    padding-bottom: 10px;
  }
  .single-gallery-post .title-gallery h2 {
    font-size: 26px;
    margin-bottom: 0;
  }
}
