/* 
 Theme Name:   Wooinside Child
 Theme URI:    
 Description:  
 Author:       webinside
 Author URI:   http://vintagecat.local
 Template:     wooinside
 Version:      1.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/

/*
    Fix for: Element loads without animation if already in viewport
*/
.delay-aos,
[data-aos][data-aos-delay]:not(.aos-init) {
  transition: none !important;
  visibility: hidden;
}
/*
    Header
*/
header.sticky {
  padding: 5px 0;
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3);
}
.brand img {
  max-height: 68px;
  width: auto;
}
svg[data-url] {
  width: 0;
  height: 0;
}

/*
    Footer
*/
.footer-logo img {
  max-height: 59px;
  width: auto;
}
/*
    Homepage
*/
@media (min-width: 768px) {
  .home .activities {
    padding: 0 15px;
  }
}

/*
    Simple page
*/
.page-inner a {
  color: #fff;
}
/*
    Experitse
*/
.expertise-value .value-item .value-right p {
  opacity: 0.8;
}
/*
    Brands
*/
.brands {
  overflow: visible;
}
.brands .item svg,
.brand_main svg {
  direction: ltr;
}
.brands .item svg * {
  /* fill: #848f8e; */
  fill: #ffffff;
  transition: 0.5s all ease;
}

.brands .owl-item .item {
  display: grid;
  grid-row-gap: 20px;
}
.brand_main svg {
  width: 100%;
  height: auto;
  padding: 0 23px;
  max-height: 123px;
}
.brands figure {
  margin-top: 30px;
}
.brands figure figcaption {
  margin-top: 10px;
}
.brand-banner img {
  width: 100%;
}
body .activity-list .activity-item img {
  opacity: 0.4;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom a:hover {
  color: #fff;
}
.tax-activity .brands {
  padding-top: 5px;
}
@media (min-width: 768px) {
  .safety-inner .banner-title + p {
    min-height: 198px;
  }
  .mobile-item {
    display: none;
  }

  .safety-inner .safety-caption {
    min-height: 641px;
  }
  .safety-inner .safety-img img {
    /* max-height: calc(var(--activity-desc-height) * 2); */
    width: auto;
  }
}

/*
    brands gutenberg
*/
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
}
.value.expertise-value.small-padding-top {
  padding-top: 30px;
}
.banner-caption .ajax-loader {
  bottom: 35px;
  left: calc(50% - 40px);
  z-index: 9;
}

.tour-list .owl-carousel.brands.owl-loaded .owl-dots {
  padding-top: 20px;
}
.tour-list .owl-carousel.brands:not(.owl-loaded) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

section.brands .owl-carousel.brands:not(.owl-loaded) {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 991px) {
  .modal-popup .modal-body,
  .search-popup .modal-body,
  .contact-modal-popup .modal-body {
    height: calc(100vh - 50px);
  }
}
@media (max-width: 767px) {
  .brands figure {
    padding: 0;
  }
  html.contact-modal body {
    overflow: hidden;
  }
  .contact-modal-popup .section-title p {
    padding-top: 0;
  }
  .contact-modal-popup .section-title {
    padding-bottom: 0;
  }
  .nav-open .header-left .menu-toggle span:not(.menu-icon) {
    font-size: 12px;
    visibility: hidden;
    pointer-events: none;
  }
  .contact-modal-popup form input {
    font-size: 16px !important;
  }
  .contact-modal-popup .modal-body > p {
    margin-top: 20px;
  }
  ol.breadcrumb {
    display: block;
    overflow: scroll;
    white-space: nowrap;
  }
  ol.breadcrumb li {
    display: inline-block;
  }

  .tour-list .owl-carousel.brands:not(.owl-loaded) {
    grid-template-columns: repeat(1, 1fr);
  }
  .footer-bottom .col-5 p[dir='ltr'] {
    display: grid;
  }
  .footer-bottom .col-5 p[dir='ltr'] a {
    width: max-content;
    margin: auto;
  }
  section.brands .owl-carousel.brands:not(.owl-loaded) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .container.brand-video p {
    padding-left: 15px;
    padding-right: 15px;
  }
  .desktop-item {
    display: none;
  }
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .banner-wrap {
    height: 100vh; /* Fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100);
  }
  .banner-wrap .tabs {
    opacity: 1 !important;
    transform: none !important;
  }
  .banner-box video[poster] {
    height: 100vh; /* Fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100);
  }
  .banner-wrap .banner-caption {
    margin-top: calc(var(--vh, 1vh) * -10);
  }
  body.page-id-54 .banner-section {
    background-position: left;
  }
}
@media (max-width: 450px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ********* NAST CATEGORY ********** */
.diff-color .type-experience[data-elementor-type='loop-item'] .color-change a.elementor-button {
  background-color: inherit;
}
.diff-color .type-experience[data-elementor-type='loop-item']:nth-of-type(1) .color-change,
.diff-color .type-experience[data-elementor-type='loop-item']:nth-of-type(7) .color-change {
  --diffcol: #a7c93e;
}
.diff-color .type-experience[data-elementor-type='loop-item']:nth-of-type(2) .color-change,
.diff-color .type-experience[data-elementor-type='loop-item']:nth-of-type(8) .color-change {
  --diffcol: #fdca19;
}
.diff-color .type-experience[data-elementor-type='loop-item']:nth-of-type(3) .color-change,
.diff-color .type-experience[data-elementor-type='loop-item']:nth-of-type(6) .color-change {
  --diffcol: #e61e29;
}
.diff-color .type-experience[data-elementor-type='loop-item']:nth-of-type(4) .color-change,
.diff-color .type-experience[data-elementor-type='loop-item']:nth-of-type(5) .color-change {
  --diffcol: #4fc2ee;
}
.diff-color .type-experience[data-elementor-type='loop-item'] .color-change {
  background: var(--diffcol) !important;
}

/* testi */
:root {
  --nas-col-1: #4fc2ee;
  --nas-col-2: #e61e28;
  --nas-col-3: #a7c93e;
  --nas-col-4: #fdca19;
  --nas-col-5: #ff5900;
  --nas-col-5: #034568;
}
.testim .elementor-widget-testimonial, .elementor-testimonial-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.testim .elementor-testimonial-wrapper .elementor-testimonial-content {
	flex:1;
}
.testim .elementor-testimonial-content {
  padding: 5rem 3rem 3rem 3rem;
  background-color: #ffffff;
  border-style: solid;
  border-width: 3px;
  border-radius: 30px 30px 30px 30px;
  border-color: var(--nas-col-1);
  position: relative;
}

.testim .elementor-testimonial-content:after {
  background-color: #ffffff;
  box-sizing: content-box;
  content: '';
  display: block;
  height: 35px;
  width: 35px;
  position: absolute;
  transform: scaleX(0.8) rotate(45deg);
  top: calc(100% - 19px);
  left: calc(0px + 50px / 2);
  border-style: solid;
  border-width: 3px;
  border-color: var(--nas-col-1);
  border-top-color: #ffffff !important;
  border-left-color: #ffffff !important;
  margin-top: -1px;
  border-radius: 0 0 10px 0;
}

/* Раскраска по порядку слайдов */
.testim .swiper-slide:nth-child(1) .elementor-testimonial-content,
.testim .swiper-slide:nth-child(1) .elementor-testimonial-content:after,
.testim .swiper-slide:nth-child(6) .elementor-testimonial-content,
.testim .swiper-slide:nth-child(6) .elementor-testimonial-content:after {
  border-color: var(--nas-col-1);
}
.testim .swiper-slide:nth-child(2) .elementor-testimonial-content,
.testim .swiper-slide:nth-child(2) .elementor-testimonial-content:after,
.testim .swiper-slide:nth-child(7) .elementor-testimonial-content,
.testim .swiper-slide:nth-child(7) .elementor-testimonial-content:after {
  border-color: var(--nas-col-2);
}
.testim .swiper-slide:nth-child(3) .elementor-testimonial-content,
.testim .swiper-slide:nth-child(3) .elementor-testimonial-content:after,
.testim .swiper-slide:nth-child(8) .elementor-testimonial-content,
.testim .swiper-slide:nth-child(8) .elementor-testimonial-content:after {
  border-color: var(--nas-col-3);
}
.testim .swiper-slide:nth-child(4) .elementor-testimonial-content,
.testim .swiper-slide:nth-child(4) .elementor-testimonial-content:after,
.testim .swiper-slide:nth-child(9) .elementor-testimonial-content,
.testim .swiper-slide:nth-child(9) .elementor-testimonial-content:after {
  border-color: var(--nas-col-4);
}
.testim .swiper-slide:nth-child(5) .elementor-testimonial-content,
.testim .swiper-slide:nth-child(5) .elementor-testimonial-content:after,
.testim .swiper-slide:nth-child(10) .elementor-testimonial-content,
.testim .swiper-slide:nth-child(10) .elementor-testimonial-content:after {
  border-color: var(--nas-col-5);
}

/**********************/

.testim .elementor-testimonial-content:before {
  content: ' ,, ';
  display: inline-block;
  font-size: 100px;
  line-height: 10px;
  font-family: Heebo, sans-serif;
  position: absolute;
  left: 3rem;
  top: 0;
  color: #034568;
  transform: scale(-1, 1);
}

/***********************/

.testim .elementor-testimonial-meta {
  padding-top: 1%;
  padding-left: 3rem;
}

@media (max-width: 767px) {
  .testim .elementor-testimonial-content {
    padding: 5rem 2rem 2rem 2rem;
  }
  .testim .elementor-testimonial-meta {
    padding-top: 1rem;
    padding-left: 2rem;
  }
  .testim .elementor-testimonial-content:before {
    left: 2rem;
  }
}
/* end testi */

/* ********* end NAST CATEGORY ********** */
