:root {
  --red-color: rgba(230, 48, 48, 1);
}


/* Common */


/* Header */

#page-header .l-subheader {
  padding: 0 8%!important;
}

#page-header .l-subheader-h {
  max-width: none;
}

#page-header .menu-item {
  font-weight: 400!important;
}

.l-subheader-cell.at_right {
  height: 100%;
}

@media screen and (min-height: 768px) {
  #main__slider {
    max-height: 100vh;
  }
}


/* Breadvrumbs */

.g-breadcrumbs {
  font-size: 16px;
}

.g-breadcrumbs .g-breadcrumbs-item:last-child a:hover {
  color: rgba(255, 255, 255, 0.60);
}


/* Lang switcher */

@media screen and (max-width: 1099px) {
  .language-switcher,
  .language-switcher div {
    height: 100%;
  }
  .language-switcher div {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .language-switcher ul {
    display: flex;
    flex-direction: column;
  }
  .language-switcher ul li:not(.active-language) {
    position: absolute;
    bottom: 0;
    width: 45px;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    box-sizing: content-box;
    background-color: #fff;
    color: #000;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1), 0 5px 10px rgba(0, 0, 0, 0.2);
  }
  .language-switcher ul li:not(.active-language) {
    transform: translateY(100%);
  }
  .language-switcher ul li:not(.active-language)~li:not(.active-language) {
    transform: translateY(200%);
  }
  .language-switcher ul li.active-language {
    order: -1;
    display: flex;
  }
  .language-switcher ul li.active-language::after {
    content: '';
    display: block;
    margin-left: 8px;
    width: 16px;
    height: 16px;
    box-sizing: border-box;
    border: 8px solid transparent;
    border-top-color: var(--red-color);
    transform: translateY(10px);
  }
  .language-switcher:not(.visible) ul li:not(.active-language) {
    display: none;
  }
}


/* Galleries */

.carousel__gallery {
  padding: 0 4% !important;
}


/* For galleries with title below */


/* .carousel__gallery .owl-carousel.navstyle_circle .owl-nav div {
  top: calc(50% - 2rem);
} */

@media screen and (min-width: 901px) {
  .carousel__gallery {
    padding: 0 80px !important;
  }
}

.owl-carousel.navpos_outside .owl-nav div {
  background-color: #f0f2f5;
}

.owl-carousel.navpos_inside .owl-nav div {
  background-color: #f0f2f550;
}

.owl-carousel.navpos_inside .owl-nav div:hover,
.owl-carousel.navpos_outside .owl-nav div:hover {
  background-color: var(--red-color) !important;
}


/* Remove unexpected right space */

.l-section.width_full {
  overflow: hidden;
}


/* Styles for disabled links */

a.disabled {
  pointer-events: none;
  touch-action: none;
  cursor: auto;
  color: #e62f2f !important;
}


/* Change close btn size in top menu */

.w-nav-close:before {
  font-size: 25px;
  vertical-align: middle !important;
}

.footer__title h5 {
  font-family: inherit;
}


/* Footer */

#copyright a {
  color: rgba(255, 255, 255, 0.60);
}

@media screen and (max-width: 991px) {
  .social.w-hwrapper.align_right {
    justify-content: flex-start;
  }
  .social .wpb_text_column {
    margin-right: var(--hwrapper-gap, 1.2rem);
  }
  #social .social__links {
    margin-left: 0;
  }
}

.footer__contacts p {
  margin: 0;
}

.footer__contacts-address {
  color: #fff;
}

@media screen and (max-width: 450px) {
  .footer__contacts p {
    margin-top: 10px;
    ;
  }
  .footer__contacts p span {
    display: block;
  }
}


/* Change switch slider btn position for mobile */

@media screen and (max-width: 1024px) {
  #main__slider .zeus.tparrows {
    top: auto !important;
    bottom: 85px !important;
    left: 50% !important;
  }
  .tp-rightarrow {
    transform: translate(50%, 0) !important;
  }
  .tp-leftarrow {
    transform: translate(-150%, 0) !important;
  }
}


/* Styled button */

.us-btn-style_5 {
  position: relative !important;
  padding-right: calc(55px + 0.5em) !important;
  z-index: 0;
}

.us-btn-style_5::after {
  content: '';
  position: absolute;
  height: 100%;
  width: 55px;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-radius: 4em;
  background-image: url('../img/arrow-01.png');
  background-repeat: no-repeat;
  background-color: var(--red-color);
  background-position: right 15px center;
  z-index: -1;
  transition: 0.1s;
}

.us-btn-style_5:hover::after {
  width: 100%;
}

.us-btn-style_5:hover span {
  color: #fff;
}


/* Equipment */

@media screen and (min-width: 992px) {
  #works .vc_column_container:last-child .vc_column-inner {
    position: relative;
  }
  #works .vc_column_container:last-child .vc_column-inner::after {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    top: 0;
    right: -1px;
    border-right: 1px solid #e3e4e4;
  }
}

#equipment {
  display: flex;
  padding-top: 64px;
  padding-bottom: 78px;
}

@media screen and (min-width: 600px) {
  #equipment {
    padding-top: 64px;
    padding-bottom: 78px;
  }
}

@media screen and (min-width: 1024px) {
  #equipment {
    padding-top: 74px;
    padding-bottom: 88px;
  }
}

#equipment .equipment__item {
  width: 100%;
  border-style: solid;
  border-color: #e3e4e4;
  border-width: 0 1px 1px 1px;
  background-color: #ffffff;
}

#equipment .equipment__item .vc_column-inner {
  padding: 8%;
}

#equipment .equipment__item .wpb_text_column p {
  font-size: 18px;
}

#equipment .equipment__item:first-child {
  border-top-width: 1px;
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  #equipment .equipment__item {
    width: 50%;
  }
  #equipment .equipment__item:nth-child(-n+2) {
    border-top-width: 1px;
  }
  #equipment .equipment__item:nth-child(even) {
    border-left-width: 0;
  }
}

@media screen and (min-width: 1200px) {
  #equipment .equipment__item {
    width: calc(100% / 3);
  }
  #equipment .equipment__item {
    border-left-width: 0;
  }
  #equipment .equipment__item:nth-child(-n+3) {
    border-top-width: 1px;
  }
  #equipment .equipment__item:nth-child(3n+1) {
    border-left-width: 1px;
  }
}


/* @media screen and (min-width: 768px) {
  #equipment .l-section-h .g-cols {
    justify-content: space-between;
  }

  #equipment .equipment__item {
    max-width: 47.5%;
    margin-bottom: 5%;
  }

  #equipment .equipment__item:nth-last-of-type(-n+2) {
    margin-bottom: 0;
  }
} */

.equipment__item .wpb_wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.equipment__item .w-btn-wrapper {
  margin-top: auto;
}


/* End common */


/* About */

#partners .w-grid-item .w-grid-item-h {
  display: flex;
  flex-direction: column;
}

#partners .w-grid-item .w-grid-item-h div:last-child {
  margin-top: auto;
}

#partners .w-grid-list .owl-item .w-grid-item .w-grid-item-h:hover {
  box-shadow: none;
}

.w-grid-list.owl-carousel.navstyle_circle.navpos_inside.owl-loaded.owl-drag {
  overflow: visible;
}

#partners .owl-item .w-post-elm.post_title {
  font-size: 20px;
}

@media screen and (max-width: 451px) {
  #about__history .about__history-text .vc_column-inner,
  #about__history .about__history-image .vc_column-inner {
    padding: 0;
  }
}

#about__history .about__history-text {
  margin: 0 0 30px;
  text-align: justify;
}

#about__history .about__history-text .w-image.about__history-text-image {
  float: none;
  margin: 0 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#about__history .about__history-text .w-image.about__history-text-image img {
  box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.2);
}

@media screen and (min-width: 1200px) {
  #about__history .about__history-text .w-image.about__history-text-image {
    float: left;
    max-width: 60%;
    margin-right: 60px;
  }
}


/* End About */


/* Gallery */

.main__text {
  text-align: justify;
}

.videogallery__main .main__gallery,
.photogallery__main .main__gallery {
  width: 100%;
}

.videogallery__main .main__gallery {
  margin-bottom: 30px;
}

.videogallery__main .main__text,
.photogallery__main .main__text {
  width: 100%;
}

.videogallery__video.g-cols.type_default {
	margin: 0;	
}

@media screen and (min-width: 992px) {
  .videogallery__main.g-cols.type_default {
	margin: 0;	
  }
	
  .videogallery__main .main__text .vc_column-inner,
  .photogallery__main .main__text .vc_column-inner {
    padding: 0!important;
  }
}

@media screen and (min-width: 1400px) {
  .videogallery__main .main__gallery,
  .photogallery__main .main__gallery {
    width: 50%;
  }
  .photogallery__main .main__gallery {
    padding-left: 70px;
  }
  /* Gallery text on large screens */
  /* .videogallery__main .main__text,
  .photogallery__main .main__text {
    width: 45%;
    margin-left: calc(5% - 40px);
  } */
  /* .photogallery__main .main__text {
    margin-left: calc(5% - 40px);
  } */
  .videogallery__main .main__gallery {
    margin-bottom: 0;
  }
}


/* @media screen and (min-width: 1500px) {
  .videogallery__main .main__text,
  .photogallery__main .main__text {
    width: 40%;
  }
} */


/* @media screen and (min-width: 1750px) {
  .videogallery__main .main__gallery,
  .photogallery__main .main__gallery {
    width: 60%;
  }

  .videogallery__main .main__text,
  .photogallery__main .main__text {
    width: 30%;
  }
} */

#gallery .gallery__banner:hover {
  background: #2b2b2b80;
  color: #fff;
}


/*
#gallery .gallery__items > div > .vc_column-inner {
  padding: 0;
}

#gallery .gallery__items > div {
  padding: 15px;
  border: 1px solid #e3e4e4;
}

@media screen and (max-width: 1023px) {
  #gallery .gallery__items > div {
    width: 100%;
  }
}

@media screen and (min-width: 1024px) {
  #gallery .gallery__items > div {
    width: calc(50% - 10px);
  }

  #gallery .gallery__items > div:nth-child(n+2) {
   margin-left: 20px;
 }
} */


/* End Gallery */


/* Videogallery */

.videogallery__main .main__gallery .w-video {
  height: auto;
  width: 100%;
}

.main__gallery-description {
  align-self: center;
}

.videogallery__carousel .wdo-carosuel-container .owl-item .w-video {
  width: 40vw;
}

.videogallery__carousel .wdo-carosuel-container .owl-item .w-vwrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* End videogallery */


/* Photogallery */

.photogallery__main {
  padding: 0 8%;
}

@media screen and (min-width: 600px) {
  #photogallery__main .main__gallery .w-post-elm.post_image {
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.2);
    margin: 0 30px;
  }
}

@media screen and (min-width: 1400px) {
  .photogallery__main {
    padding: 0 100px;
  }
}

#photogallery__main .main__gallery .owl-nav div {
  top: calc(50% - 2.5rem);
  transform: translateY(-50%);
}

#photogallery__main .main__gallery .owl-nav div:hover {
  background-color: var(--red-color);
}


/* End Photogallery */


/* News */

#news__items .w-grid-item .post_image a,
#news__items .w-grid-item .post_title a {
  pointer-events: none;
  cursor: auto;
}

#news__items .w-grid-item-h:hover .usg_post_title_1 {
  color: #333333!important;
}

#news__items .pagination .nav-links {
  justify-content: center;
}

#news__items .pagination .page-numbers {
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  color: #595959;
  box-shadow: none;
}

#news__items .pagination .page-numbers.current {
  color: #595959!important;
}

#news__items .pagination .page-numbers:hover {
  color: #595959;
}

#news__items .pagination .page-numbers:not(.current) {
  background-color: #f0f2f5;
}

#news__items .pagination .page-numbers.prev:after,
#news__items .pagination .page-numbers.next:after {
  font-size: 1.2rem;
}


/* News test */

#news__items .wrap {
  align-items: flex-start;
}


/* End News */


/* Contacts */

#contacts {
  font-size: 18px;
}

#contacts h3 {
  font-size: 1.8em;
}

#contacts p {
  margin: 0 0 1.5em;
}

#contacts .contacts__info p {
  margin: 0 0 1.2em;
}

#contacts .contacts__info .contacts__info-icon p {
  margin: 0;
}

#contacts textarea {
  height: 5.5rem;
}

#contacts__info {
  flex-direction: column;
}

#contacts__info .contacts__info-item {
  margin: 0 0 20px;
  color: #333;
}

#contacts__info .contacts__info-item:last-child {
  margin-bottom: 30px;
}

#contacts__form input:not([type="submit"]):focus,
#contacts__form textarea:focus {
  border-color: var(--red-color)!important;
}

@media screen and (max-width: 1199px) and (min-width: 768px) {
  #contacts__info {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #contacts__info .contacts__info-item {
    width: 30%;
  }
}

#contacts__feedback input:not([type="submit"]),
#contacts__feedback textarea {
  font-size: 1em;
}

#contacts__feedback input:not([type="submit"]):focus,
#contacts__feedback textarea:focus {
  border-color: var(--red-color)!important;
}


/* End contacts */


/* Flip box */

.w-flipbox-h .w-flipbox-back .w-flipbox-back-desc {
  height: 180px;
  /* white-space: nowrap; */
  overflow: hidden;
  /* text-overflow: ellipsis; */
}


/* Fix */

#about__history {
  padding: 0 8%;
}

#about__history .vc_column-inner {
  padding: 0;
}

#about__history .g-cols.type_default {
  margin: 0;
}

.main__intro .intro__text {
  text-align: justify;
}


/* SLider Fix */

#main__slider rs-mask-wrap {
  overflow: visible!important;
}

#main__slider .slider__title,
#main__slider .slider__desc,
#main__slider .slider__deco-line {
  transform: translateY(60px)!important;
}

@media screen and (max-width: 599px) {
	#main__slider .slider__title,
	#main__slider .slider__desc,
	#main__slider .slider__deco-line {
	  transform: translateY(-60px)!important;
	}
}

@media screen and (min-width: 1100px) {
  #main__slider>.l-section-h {
    padding: 0;
  }
  #main__slider rs-arrow {
    top: calc(50% + 60px)!important;
  }
  #main__slider .tp-leftarrow {
    transform: translate(75px, -50%)!important;
  }
  #main__slider .tp-rightarrow {
    transform: translate(-135px, -50%)!important;
  }
}

@media screen and (max-width: 1099px) and (min-width: 600px) {
  #main__slider>.l-section-h {
    padding: 0;
  }
}


/* Product Fix */

#product .product__details .w-tabs-section-content {
  padding: 4rem 0 0!important;
}

#product .product__details .w-tabs-section-content {
  padding: 4rem 0 0!important;
}

#product .product__details .product__feature>.vc_column_container:first-child {
  font-weight: 700;
}

#product .product__feature {
	margin: 0;
	padding: 0!important;
}

#product .product__feature > .vc_column_container:first-child > .vc_column-inner {
	padding: 0;
}

.product__description {
    text-align: justify;
}

.carousel__gallery .w-grid-item-h {
	display: flex;
	align-items: center;
}

@media screen and (max-width: 991px) {
	#product .product__feature > .vc_column_container > .vc_column-inner {
		padding: 0;
	}
}