/*!
Theme Name: POLYFORM
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: polyform
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

POLYFORM is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body:not(.home) > section {
  flex: 1;
  overflow: hidden;
}

header {
  margin-bottom: 30px;
}

.header-top-content .lang {
  flex: 0;
}

.scroll-to-top {
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 2px 5px #21252962;
  color: #f29314;
  text-align: center;
  line-height: 50px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 30;
}

.scroll-to-top:hover {
  color: #f29314;
}

.catalogs-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 30px 0;
}

ul.catalogs-container {
  justify-content: center;
}

.catalog-link-item {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex: 0 0 calc(25% - 30px);
  height: 141px;
  background: #fafafa;
  margin: 0 15px 30px;
  position: relative;
  margin-bottom: 30px;
  font-weight: 500;
  font-size: 22px;
  line-height: 28px;
  color: #000000;
  text-decoration: none;
  padding: 0 10px;
  box-shadow: 8px 8px 0px #f29314;
  transition: 0.3s ease;
}

.product-img img {
  box-shadow: 10px 10px 0px #f29314;
}

.catalog-link-item a {
  position: absolute;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 18px;
  line-height: 21px;
  background: #fafafa;
  color: #000000;
  display: none;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 80%;
  height: 52px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  padding-top: 15px;
}

.catalog-link-item:hover a {
  display: block;
}

.catalog-link-item:hover {
  opacity: 0.9;
  background: #f29314;
  color: #f29314;
}

.catalog-link-item:hover::after {
  display: flex;
}

.catalog-link-item:hover {
  opacity: 0.9;
  background: #f29314;
  color: #f29314;
}

@media screen and (min-width: 1800px) {
  .container {
    max-width: 1600px;
  }
}

@media screen and (min-width: 1800px) {
  .catalogs-container {
    margin: 0 auto;
  }

  .catalogs-container.row {
    margin: 0 -15px;
  }
}

.products-container {
  padding: 30px 0 100px;
}

.products-product-wrapper {
  margin: 0 15px 50px;
}

.products-product-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  position: relative;
}

.image-product-wrapper {
  position: relative;
  flex: 0 0 350px;
  height: 252px;
  overflow: hidden;
  box-shadow: 10px 10px 0px #f29314;
}

.image-product {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

.info-product-wrapper {
  margin-left: 40px;
}

.info-product-title {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.25;
  color: #000000;
  margin-bottom: 25px;
}

.info-product-description {
  font-size: 24px;
  line-height: 28px;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.25;
  color: #212529;
  margin-bottom: 25px;
}

.info-product-button-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.info-product-button-map {
  background: #f29314;
}

.info-product-button-map,
.info-product-button-download {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 221px;
  height: 52px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  line-height: 21px;
  text-transform: uppercase;
  color: #fffcfc;
  position: relative;
  margin: 0 15px 15px;
}

.info-product-button-download {
  padding-left: 30px;
  background: #c4c4c4;
}

.info-product-button-download::before {
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  background: url(img/downl.svg) center no-repeat;
  top: 16px;
  left: 28px;
}

.info-product-button-map:hover,
.info-product-button-download:hover {
  color: #fffcfc;
}

/**
product-page
 */
.product-page {
  margin-bottom: 30px;
}

.product-page h1 {
  margin-bottom: 30px;
  font-style: normal;
  font-weight: bold;
  font-size: 30px;
  text-align: center;
}

.product-page-description .img-area {
  float: right;
  margin: 0 0 20px 20px;
  position: relative;
}

.product-page-description p {
  font-size: 24px;
  line-height: 30px;
}

.product-page-description h4 {
  margin-top: 30px;
}

.product-page-description .spec {
  margin-bottom: 0px;
}

.product-page .download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 220px;
  height: 50px;
  margin-top: 50px;
  background-color: #c4c4c4;
  font-style: normal;
  font-weight: bold;
  font-size: 18px;
  text-transform: uppercase;
  color: #fffcfc;
}

.info-product-button-download:before,
.download-btn:before {
  content: "";
  position: absolute;
  position: absolute;
  background-image: url(img/downl.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 20px;
  width: 15px;
  left: 20px;
}

.vis-sm {
  display: none;
}

.product-page-description {
  word-break: break-word;
}
.catalog-p-w {
  justify-content: flex-start;
}

.catalog-p-w .catalog-link-item {
  margin-right: 30px;
}
@media screen and (max-width: 1000px) {
  .image-product {
    max-width: 100%;
    height: auto;
  }

  .catalog-link-item {
    flex: 0 0 calc(100% / 3 - 30px);
  }

  .products-product-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    position: relative;
    max-width: 100%;
  }

  .image-product-wrapper {
    width: 100%;
    height: auto;
    flex: 0 0 30%;
    max-width: 30%;
    margin-right: 30px;
  }

  .info-product-title {
    font-size: 20px;
    /* margin-bottom: 30%; */
    padding: 0;
  }

  .info-product-description {
    font-size: 16px;
    line-height: 19px;
  }

  .info-product-description {
    clear: both;
  }

  .products-container {
    padding: 50px 15px 10px;
  }

  .info-product-wrapper {
    margin-left: 0px;
  }

  .product-page .product-img {
    display: inline-block;
  }
}

@media screen and (max-width: 700px) {
  .catalog-p-w .catalog-link-item {
    margin-right: 0px;
  }
  .info-product-description {
    /* margin-top: 0px; */
    clear: both;
  }

  .info-product-title {
    /* margin-bottom: 25px; */
    padding: 0;
  }

  .catalog-link-item {
    margin-right: 2%;
    margin-left: 2%;
  }

  .catalogs-container {
    justify-content: space-around;
  }

  .product-page .container {
    padding: 10px;
  }

  .catalogs-container .catalog-link-item {
    width: 46%;
    word-break: break-word;
    font-size: 18px;
    /* height: 100px;*/
  }

  .info-product-title.hidden-sm {
    display: none !important;
  }

  .info-product-wrapper {
    margin-left: 0;
    width: 100%;
    display: block;
  }

  .vis-sm {
    display: inline-block;
    float: left;
  }

  /* .container-fluid {

        overflow-x: hidden !important;
    }*/

  .catalog-container .catalog-mobile-headline {
    text-align: center;
    font-size: 1.5rem;
  }

  .product-container-text {
    display: block;
  }

  .product-img img {
    width: 100%;
    margin-right: 10px;
  }

  .products-container,
  .catalogs-container {
    padding: 50px 15px 10px;
    /* overflow: hidden; */
  }

  /*.info-product-button-map {
        font-size: 14px;
        width: 150px;
        height: 42px;
    }*/
  .product-page-description p {
    font-size: 16px;
    line-height: 18px;
  }
  .product-page-description h4 {
    font-size: 18px;
  }
}

@media screen and (max-width: 390px) {
  .catalogs-container .catalog-link-item {
    width: 100%;
  }
}

@media screen and (max-width: 479px) {
  .product-page .product-title-mobile h1 {
    font-size: 20px;
  }

  .products-product-wrapper {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .image-product-wrapper {
    width: 100%;
    flex: 1 0 100%;
    margin: 0 0 30px;
    max-width: 50%;
  }

  .info-product-title {
    margin-bottom: 5px;
  }
}

@media screen and (max-width: 767px) {
  .scroll-to-top {
    display: block;
  }

  .product-page-description > div img {
    width: 100%;
  }

  .catalog-link-item {
    flex: 0 0 calc(50% - 30px);
  }
}

@media screen and (max-width: 486px) {
  .catalogs-container .catalog-link-item {
    width: 100% !important;
  }
  .info-product-button-map,
  .info-product-button-download {
    font-size: 14px;
  }

  .catalog-link-item {
    flex: 1 0 calc(100% - 30px);
  }
}

@media screen and (max-width: 767px) {
  .product-title-mobile {
    float: right;
    font-size: 20px;
  }

  .product-title-mobile h1 {
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    line-height: 23px;
    color: #000000;
  }

  .product-page-description .img-area {
    float: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* width: 50%; */
  }

  .product-page .image-product {
    max-width: 100%;
  }

  .product-page .img-area .product-img {
    margin-bottom: 30px;
  }
}

.product-page .info-product-button-download {
  margin-left: 0px;
}
@media screen and (max-width: 767px) {
  .product-page-description {
    padding: 0 15px;
    height: 72vh;
    overflow: hidden;
  }
  .read-more button {
    width: 210px;
    height: 40px;
    margin-top: 30px;
    background: #f29314;
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    text-transform: uppercase;
    color: #fff;
  }
}
.read-more {
  text-align: center;
}
