/*New style*/
#form-language .change-lang {
  font-family: Inter,serif;
  font-weight: 400;
  outline: none;
  border: none;
  font-size: inherit;
  color: #fff;
  position: relative;
}

#form-language .change-lang:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  border-bottom: 1px solid #000;
  -webkit-transform-origin: left;
  -ms-transform-origin: left;
  transform-origin: left;
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

#form-language .change-lang:hover:after {
  -webkit-transform-origin: right;
  -ms-transform-origin: right;
  transform-origin: right;
  -webkit-transform: scaleX(1);
  -ms-transform: scaleX(1);
  transform: scaleX(1);
}

#form-language .change-lang:hover:before {
  transform: rotate(-45deg);
}

#form-language .change-lang:before {
  content: "";
  position: absolute;
  right: 8px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  top: 9px;
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

@media screen and (min-width: 1200px) {
  #form-language .change-lang:before {
    width: 6px;
    height: 6px;
    top: 6px;
    right: -16px;
    border-color: #fff;
  }

  .nav-list {
    position: relative;
    left: 18%;
  }
}
/*#form-language .change-lang img {*/
/*  height: 16px;*/
/*  transform: rotate(0deg);*/
/*  transition: all .3s;*/
/*}*/

#form-language {
  position: relative;
}

/*#form-language:hover .change-lang img {*/
/*  transform: rotate(180deg);*/
/*  transition: all .3s;*/
/*}*/

#form-language:hover .all-lang {
  /*visibility: visible;*/
  /*opacity: 1;*/
  transition: all 1s;
  max-height: 100px;
}

#form-language:hover .all-lang button {
  position: relative;
}

#form-language:hover .all-lang button:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  border-bottom: 1px solid #000;
  -webkit-transform-origin: left;
  -ms-transform-origin: left;
  transform-origin: left;
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

#form-language:hover .all-lang button:hover:after {
  -webkit-transform-origin: right;
  -ms-transform-origin: right;
  transform-origin: right;
  -webkit-transform: scaleX(1);
  -ms-transform: scaleX(1);
  transform: scaleX(1);
}

#form-language .all-lang {
  padding: 0 5px;
  /*visibility: hidden;*/
  /*opacity: 0;*/
  transition: all 1s;
  max-height: 0;
  /*position: absolute;*/
  /*top: 100%;*/
  /*left: 0;*/
  z-index: 1;
  overflow: hidden;
  margin-bottom: 20px;
}

#form-language .all-lang button {
  margin: 10px 15px 5px -5px;
}

.textures-popup .swiper-lazy {
  height: auto!important;
  max-height: 100vh;
  object-fit: contain;
}

.gallery.swiper-container .swiper-slide {
  opacity: 0 !important;
}

.gallery.swiper-container .swiper-slide.swiper-slide-active {
  opacity: 1 !important;
}

.gallery.swiper-container .swiper-slide {
  padding-bottom: 70px;
}

.light-header #form-language .change-lang {
  color: #000;
}

.light-header #form-language .change-lang:before {
  border-color: #000;
}

@media (max-width: 1200px) {
  #header #nav + form {
    display: none;
  }

  #nav .nav-item,
  #nav .nav-list {
    overflow: visible;
  }

  #form-language .change-lang:before {
    right: -28px;
    top: 5px;
  }
}

.textures-popup .descripton, .textures-popup .desc {
  display: none;
}

.gallery.swiper-container .swiper-slide {
/* padding-bottom: 70px;*/
  padding-bottom: 0;
}

.textures-popup .gallery-holder {
  max-width: 95%;
}

.textures-popup .navigation {
  z-index: 9999;
}

@media screen and (min-width: 1200px) {
  .textures-popup .navigation {
    width: 90%;
  }
}

.portfolio-main .img-holder,
.portfolio-main .img-holder .swiper-lazy {
  height: 100%
}

.teracco .text-holder .bottom {
  margin-bottom: 40px;
}

.teracco .text-holder .partner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 40px;
  max-width: 417px;
}

.teracco .text-holder .partner .lazy-holder {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 72px;
  flex: 0 0 144px;
  height: 75px;
  margin-right: 16px;
}

@media screen and (min-width: 768px) {
  .teracco .top {
    margin-bottom: 0;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 300px;
    flex: 0 0 400px;
  }
}