/*
Theme Name: Ereco
Theme URI: https://wordpress.org/themes/twentynineteen/
Text Domain: ereco
*/

img {
  height: auto;
}
header#header .menuzord-brand {
  margin: 0;
}
header#header .menuzord-brand img {
  max-height: 84px;
}
header#header .scrolled  .menuzord-brand .logo-default {
  height: 50px;
}

#top-primary-nav #menu-menu-chi,
#top-primary-nav #menu-header-menu {
  float: right;
}
#top-primary-nav #menu-menu-chi li:nth-last-child(1),
#top-primary-nav #menu-header-menu li:nth-last-child(1),
#top-primary-nav #menu-menu-chi li:nth-last-child(2),
#top-primary-nav #menu-header-menu li:nth-last-child(2),
#top-primary-nav-clone #main-nav-clone li:nth-last-child(1),
#top-primary-nav-clone #main-nav-clone li:nth-last-child(2) {
  display: none !important;
}

.menuzord-responsive.menuzord-border-boxed ul li:nth-last-child(3) {
  display: none !important;
}

#side-panel-container .logo {
  max-width: 100px;
}
.wpcf7 .ajax-loader {
  display: none !important;
}

.wpcf7 .btn {
  margin-right: 4px;
}

.img-fullwidth-bg-image {
  background-position: center;
  background-size:cover;
  background-repeat: no-repeat;
  width: 100%;
}
.img-fullwidth-bg-image::before {
  content: '';
  display: block;
  padding-top: 67%;
  width: 100%;
}
.img-fullwidth-bg-image.elementor-extension-home {
  background-color:#EFEFEF;
}
.img-fullwidth-bg-image.elementor-extension-home::before {
  padding-top: 80%;
}
.img-fullwidth-bg-image.height-scale-model-project::before {
  padding-top: 145%;
}
.img-fullwidth-bg-image.height-default-client {
  background-size: contain;
}
.img-fullwidth-bg-image.home-testimonials {
  background-size: cover;
  border-radius: 100%;
  overflow: hidden;
}
.img-fullwidth-bg-image.home-testimonials::before {
  padding-top: 100%;
}

/* Scale Model */
.post-type-archive-scale-model .scale-model-category-list .row > div {
  padding: 5px;
  margin-bottom: 25px;
}
.post-type-archive-scale-model .scale-model-category-list .row > div > div {
  border-radius: 10px;
  overflow: hidden;
}
.post-type-archive-scale-model .scale-model-category-list .row > div > div .tm-details {
  padding-top: 40px;
}
.post-type-archive-scale-model .scale-model-category-list .row > div > div .tm-details .title {
  margin-top: 0;
  font-size: 1.2rem;
  text-overflow: ellipsis;
  overflow: hidden;
  height: 26px;
  white-space: nowrap;
}
.post-type-archive-scale-model .scale-model-category-list .row > div > div .tm-details {
  
}
.post-type-archive-scale-model .scale-model-category-list .tm-details .description {
  min-height: 96px !important;;
  overflow: hidden;
}

.tax-scale_model_categories .row > div {
  padding-left: 5px;
  padding-right: 5px;
}
.tax-scale_model_categories .row > div > div.img-icon-service-box {
  margin-bottom: 10px !important;
  padding-top: 160px;
  padding-bottom: 160px;
  padding-left: 0;
  padding-right: 0;
}
.tax-scale_model_categories .row > div > div.img-icon-service-box .overlay {
  opacity: 0;
  -moz-transition: opacity .1s ease-out;
  -webkit-transition: opacity .1s ease-out;
  transition: opacity .1s ease-out;
}
.tax-scale_model_categories .row > div > div.img-icon-service-box:hover .overlay {
  opacity: 1;
}
.tax-scale_model_categories .row > div > div.img-icon-service-box .overlay .title {
  color: #fff !important;
}

.page-title .heading1 {
  color: #fff;
  margin-bottom: 0;
}

.tax-scale_model_categories .img-icon-service-box::before {
  border-color: transparent transparent #fff transparent;
}

.tm-sc-blog article .post-thumb .post-thumb-inner .thumb {
  display: block;
}

.owl-item .blocks-gallery-item {
  width: 100% !important;
}

/* Client */
.home-clients {
  display: flex;
  flex-wrap: wrap;
}
.home-clients > div {
  flex-basis: 20%;
  align-self: center;
}

.wpml-ls-legacy-list-horizontal ul li {
  border-right: 1px #000 solid;
  padding-top: 0; 
  padding-bottom: 0;
}
.wpml-ls-legacy-list-horizontal ul li a {
  padding-top: 0;
  padding-bottom: 0;
  font-size: 14px;
}
.wpml-ls-legacy-list-horizontal ul li:last-child {
  border-right: 0 none;
}

@media screen and (max-width: 768px) {
  .home-clients > div {
    flex-basis: 50%;
  }
  .tm-sc-clients.clients-animation-grayscale .item img {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
    opacity: 1;
  }
  .tm-sc-gallery.gallery-style1-basic .tm-gallery .tm-gallery-content-wrapper .tm-gallery-content:after {
    opacity: 1;
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    transform: scaleY(1);
    -webkit-transition: transform 0.5s cubic-bezier(0.57, 0.04, 0.06, 0.84), opacity 0s;
    transition: transform 0.5s cubic-bezier(0.57, 0.04, 0.06, 0.84), opacity 0s;
  }
  .tm-sc-gallery.gallery-style1-basic .tm-gallery .tm-gallery-content-wrapper .tm-gallery-content .tm-gallery-content-inner .title {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition: -webkit-transform 0.6s cubic-bezier(0.57, 0.04, 0.06, 0.84) 0.1s, opacity 0.2s 0.1s;
    transition: transform 0.6s cubic-bezier(0.57, 0.04, 0.06, 0.84) 0.1s, opacity 0.2s 0.1s;
  }
}

header#header .nav-side-icon-list > li {
  padding: 0;
}

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

  .scrolled .menuzord-menu > li {
    padding: 3px 0;
  }
  
}
@media screen and (min-width: 1199.99px) {

  .mobile-only {display: none;}
}
@media screen and (max-width: 1199.98px) {
  header#header.header-layout-type-header-2rows .menuzord-brand {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {display: inline-block;}
  .mobile-align-right {
    text-align: right;
  }
  .mobile-align-right > * {
    vertical-align: middle;
  }
  .mobile-align-right #top-primary-nav {
    width: auto; 
    float: none;
    display: inline-block;
  }
}

@media (max-width: 575.98px) {
  .header-nav .header-nav-col-row > div:nth-child(1) {
    width: 84px;
    max-width: none;
  }
  .header-nav .header-nav-col-row > div:nth-child(2) {
    width: calc(100% - 84px);
  }

  .menuzord .showhide em {
    left: 0;
  }
}

body.archive .main-content-area {
  padding-bottom: 0 !important;
}

.testimonials-style-current-theme,
.testimonials-style-current-theme .tm-testimonial {
  min-height: 100%;
  height: 100%;
}

.img-icon-service-box {
  padding: 50px 20px;
}

.list-group-item.active {
  background-color: #98C619 ;
  border: 0 none;
}


.custom-scrolled .tm-sticky-sidebar {
  top: 130px !important;
}

.tm-sticky-sidebar {
  top: 160px !important;
}

.tm-sidebar-nav-menu-style2 .list-item {
  position: relative;
  padding: 0;
  transition: all 100ms ease-in-out 0s; }
  @media (prefers-reduced-motion: reduce) {
    .tm-sidebar-nav-menu-style2 .list-item {
      transition: none; } }
  .tm-sidebar-nav-menu-style2 .list-item::before {
    content: "\f054";
    font-weight: 600;
    left: 0;
    position: absolute;
    font-family: "Font Awesome 5 Free";
    color: #98C619;
    left: auto;
    right: 18px;
    top: 15px;
    font-size: 18px;
    z-index:999 }
  .tm-sidebar-nav-menu-style2 .list-item a {
    background: #eef0f3;
    color: #333;
    font-weight: 700;
    display: block;
    padding: 16px; 
    border: 0 none;
    border-bottom: 1px solid #fff;}
    .tm-sidebar-nav-menu-style2 .list-item a:hover {
      background: #fff;
      border-left: 5px solid #eee; }
  .tm-sidebar-nav-menu-style2 .list-item.active a {
    background: #fff;
    border-left: 5px solid #eee; }
  .tm-sidebar-nav-menu-style2 .list-item:first-child a {
    border-top: 1px solid #f5f5f5; }

    .tm-sidebar-nav-menu-style2 .list-item  {
      border-left-color: #98C619; }
    
    .tm-sidebar-nav-menu-style2 .list-item {
      border-left-color: #98C619; }

      .tm-sidebar-nav-menu-style2 .list-item a:hover {
        border-left-color: #98C619; }
      
      .tm-sidebar-nav-menu-style2 .list-item.active > a {
        border-left-color: #98C619; }
.elementor-widget-ereco_home_corporate_value_section .img-icon-service-box .title  {
  min-height: 60px !important;
}


@media screen and (max-width: 767px) {
  .tm-sc-gallery.gallery-style1-current-theme .tm-gallery .thumb {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    transform: scale(1.1);
  }
  
  .tm-sc-gallery.gallery-style1-current-theme .tm-gallery .tm-gallery-content-wrapper .tm-gallery-content:after {
    opacity: 1;
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    transform: scaleY(1);
    -webkit-transition: transform 0.5s cubic-bezier(0.57, 0.04, 0.06, 0.84), opacity 0s;
    transition: transform 0.5s cubic-bezier(0.57, 0.04, 0.06, 0.84), opacity 0s;
  }

  .tm-sc-gallery.gallery-style1-current-theme .tm-gallery .tm-gallery-content-wrapper .tm-gallery-content .tm-gallery-content-inner .title {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition: -webkit-transform 0.6s cubic-bezier(0.57, 0.04, 0.06, 0.84) 0.1s, opacity 0.2s 0.1s;
    transition: transform 0.6s cubic-bezier(0.57, 0.04, 0.06, 0.84) 0.1s, opacity 0.2s 0.1s;
  }
}

@media screen and (max-width: 768px) {
  .home-clients > div {
      flex-basis: 33.333%;
  }

}

.image-before-content img {
  width: 100%;
}

.elementor-widget-ereco_home_client_logo .item  {
  flex-basis: 12.5%;
}

@media screen and (max-width: 767px) {
  .elementor-widget-ereco_home_client_logo .item  {
    flex-basis: 25%;
  }
  .elementor-widget-ereco_home_client_logo .item:nth-child(n+9) {
    display: none !important;
  }
}

@media screen and (max-width: 576px) {
  .elementor-widget-ereco_home_client_logo .item  {
    flex-basis: 33.3%;
  } 
  .elementor-widget-ereco_home_client_logo .item:nth-child(n+7) {
    display: none !important;
  }
}

.isotope-layout.grid-8 .isotope-item {
  width: calc(100% / 8);
}
.tm-sc-gallery.gallery-style1-basic .tm-gallery .tm-gallery-content-wrapper {
  display: none !important;
}

.billing-details-wrapper,
.payment-information-wrapper {
  position: relative;
}

.billing-details-wrapper::before,
.payment-information-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255,255,255,0.7);
  z-index: 99999;
}
.billing-details-wrapper.current::before,
.payment-information-wrapper.current::before {
  content: unset;
}

.page-id-1772 .has-error input {
  border-color: red;
}
.page-id-1772 .has-error .error-message {
  color: red;
  font-size: 14px;
}

.elementor-widget-office_contact_section .office-contact-field .icon-text .icon-box-title {
  float: left;
  display: inline-block;
  width: 80px;
}
.elementor-widget-office_contact_section .office-contact-field .icon-text .content {
  float: left;
  display: inline-block;
  width: calc(100% - 100px);
}

footer#footer .widget_nav_menu .menu li:nth-child(1),
footer#footer .widget_nav_menu .menu li:nth-last-child(1),
footer#footer .widget_nav_menu .menu li:nth-last-child(2) {
  display: none !important;
}
footer#footer .legal-link-only ul li > a:not(.social-link):not(.icon) {
  color: #939ca5;
  margin-right: 5px;
}
footer#footer .legal-link-only ul li > a:not(.social-link):not(.icon):hover {
  color: #fff;
}

.legal-link-only ul li {
  list-style: none;
  display: none !important;
  
}
.legal-link-only ul li:nth-last-child(1)::before {
  content: '|';
  display: inline-block;
  margin-right: 5px;
}

.legal-link-only ul li:nth-last-child(1),
.legal-link-only ul li:nth-last-child(2) {
  display: inline-block !important;
}


.main-content-area .section-title .text-uppercase,
.main-content-area .title.text-uppercase,
.main-content-area .text-theme-colored1.font-weight-400.text-uppercase{text-transform: none!important;}

.main-content-area #section-b3cfa23{opacity:0}
.main-content-area #section-b3cfa23.mt-80{margin-top:0 !important}
.main-content-area #section-b3cfa23.mb-80{margin-bottom:0 !important}
.main-content-area #section-b3cfa23 h3{font-size:0.1rem}
.main-content-area #section-b3cfa23 .mt-10{margin-top:0 !important}
.main-content-area #section-b3cfa23. mb-10{margin-bottom:0 !important}
.main-content-area #section-6c89a28.mt-80{margin-top:0 !important}
.main-content-area #section-6c89a28.mb-80{margin-bottom:0 !important}
.main-content-area #section-6c89a28 .mt-10{margin-top:0 !important}
.main-content-area #section-6c89a28 .mb-10{margin-bottom:0 !important}
.main-content-area #section-49f18d8.mb-80{margin-bottom:0 !important}
.main-content-area #section-1ed23c5.mt-80{margin-top:30px !important}
.main-content-area #section-82f51b3 .mb-30{margin-bottom:0 !important}
.main-content-area .row.tm-blog-sidebar-row .col-lg-9 .mt-80:first-child{margin-top:0 !important}
.elementor-element-775e978 .container{padding-bottom:0}
.main-content-area .elementor-element-f71d682{font-family:os}
.main-content-area .elementor-element-ac29e38{display:none}
.main-content-area a[href="#section-800efa2"]{display:none}
.main-content-area a[href="#section-5580486"]{display:none}
.main-content-area a[href="#section-7c258d0"]{display:none}
.main-content-area a[href="#section-eb5d728"]{display:none}
.main-content-area a[href="#section-53d9165"]{display:none}
.main-content-area a[href="#section-6c89a28"]{display:none}
.main-content-area a[href="#section-1ed23c5"]{display:none}
.main-content-area a[href="#section-1866687"]{display:none}
.main-content-area #section-82f51b3 p:not(:first-child) {margin-bottom:0}
.layer-overlay.overlay-dark-9::before{background:#ccc}
.tm-page-title .title{color:black}
.tm-page-title .breadcrumbs .active{color:black}
.tm-page-title .breadcrumbs span a{color:black}
.tm-page-title .breadcrumbs span{color:black}
.f-font{font-family: "Oswald";}


@media only screen and (max-width: 576px) {
	section > .container, section > .container-fluid{
		padding-top:30px;
	}
	.tm-about-box-home1.title-style{text-align:center}
	.tm-about-box-home1.title-style h3{text-align:center !important;}
	.about-us-title mt-lg-100{margin-top:0px;}
	.container.pb-90{padding-bottom:30px !important;}
	.container.pb-70{padding-bottom:20px !important}
	.about-us-title.mt-lg-100{margin-top:0 !important;}
	.elementor-widget-container .pb-90{padding-bottom:0px !important;}
	#section-ba474f2.mb-80{margin-bottom:0px !important}
	#section-69179ca.mb-80{margin-bottom:0px !important}
	#section-69179ca.mt-80{margin-top:0px !important}
	.elementor-widget.elementor-widget-ka_prework .elementor-widget-container .container{padding-bottom:0 !important}
	.main-content-area #section-82f51b3 .mb-30{margin-bottom:30px !important}
	.scale-model-category-list.container.pb-lg-70{padding-bottom:0 !important}
	.scale-model-category-list .mb-lg-30{margin-bottom:0 !important}
	.footer-widget-area .container.pb-60{padding-bottom:0 !important}
	.footer#footer .footer-widget-area .widget { margin-bottom: 0px; padding-bottom: 20px;}
	.elementor-element-af495d4 .divider .col-md-12 {text-align:center}
	.elementor-element-b35c26e .divider .col-md-12 {text-align:center}
	.elementor-element-a52cdc8 .divider .col-md-12 {text-align:center}
	.elementor-element-5ecc1d8 .divider .col-md-12 {text-align:center}
}








