body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #373f4a;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  outline: none;
  text-decoration: none;
}

a:active {
  outline: none;
}

input {
  outline: none;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
}

img,
img a {
  border: none;
}

a:hover {
  text-decoration: none;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.wrapper {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 25px;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
.section-title {
  font-size: 50px;
  text-align: center;
  margin: 60px auto;
}

p {
  font-size: 25px;
  line-height: 1.5;
  margin: 0;
}
.section-title {
  font-size: 50px;
}

header {
  background-color: #373f4a;
  border-bottom: 5px solid #2abbe5;
  width: 100%;
  height: 100px;
  text-align: center;
}
.logo {
  display: inline-block;
  vertical-align: middle;
  margin-right: 165px;
  margin-top: 27px;
}
.main-navigation {
  display: inline-block;
  vertical-align: middle;
  margin-top: 25px;
}
.main-navigation ul li {
  display: inline-block;
  vertical-align: middle;
  margin-right: 60px;
}
.main-navigation ul li:last-child {
  margin-right: 0;
}
.main-navigation ul li a {
  color: #fff;
}
.main-navigation ul li a:hover {
  color: #2abbe5;
}

.slider-container .bx-wrapper .bx-pager {
  bottom: -30px;
}
.bx-controls-direction {
  display: none;
}
.bx-wrapper img {
  width: 100%;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  margin-left: -40px;
}
.flex-item {
  flex-direction: column;
  padding-left: 40px;
  margin-bottom: 50px;
}

.slider-container iframe {
  width: 100%;
  border: none;
}

.flex-container.two-column .flex-item {
  width: 50%;
}
.flex-container.three-column .flex-item {
  width: 33.3%;
}
.flex-container.four-column .flex-item {
  width: 25%;
}

/* About */
.about-logos {
  margin-bottom: 60px;
  text-align: center;
}
.about-logos .image {
  display: inline-block;
  vertical-align: middle;
  padding: 0 50px;
  max-width: 280px;
}

/* products */
.products {
  background-color: #ececec;
  padding-top: 10px;
  padding-bottom: 70px;
  text-align: center;
}
.products img {
  display: block;
}
.products .content-container {
  background-color: #fff;
  padding: 10px 40px 40px;
}
.products h4 {
  font-size: 30px;
}
.description {
  font-style: italic;
  max-width: 890px;
  margin: 0 auto;
}

/* Catalogs */
.catalogs {
  background: url('../images/catalogs_bg.jpg') center center no-repeat;
  background-size: cover;
  height: 605px;
  padding: 0 25px;
}

.catalogs ul {
  text-align: center;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
.catalogs ul li {
  display: inline-block;
  width: 580px;
}
.catalogs ul li:first-child {
  margin-right: 260px;
}
.catalogs ul li a {
  display: block;
  background-color: transparent;
  border: 2px solid #2abbe5;
  color: #fff;
  padding: 60px 25px;
}
.catalogs ul li a:hover {
  background-color: #008aa5;
}
.catalogs ul li a span {
  display: block;
  text-align: left;
}
.catalogs ul li a span:first-child {
  font-size: 35px;
  font-style: italic;
  font-weight: bold;
  margin-bottom: 30px;
}
.catalogs ul li a span:last-child {
  font-size: 25px;
  font-style: italic;
}
.catalogs i {
  display: inline-block;
  vertical-align: middle;
  margin-left: 30px;
}

/* Project */
.project img {
  margin-top: 60px;
}

/* Safe Click */
.safe-click {
  background-color: #4c4c4e;
  color: #fff;
  padding-top: 15px;
  padding-bottom: 100px;
}
.safe-click .video {
  position: relative;
  margin-bottom: 100px; 
  padding-bottom: 56.25%; 
  height: 0; 
  overflow: hidden; 
  width: 100%;
}
.safe-click .video iframe {
  border: none;
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
}

/* Advantages */
.advantages img, .advantages span {
  display: inline-block;
  vertical-align: middle;
}
.advantages img {
  width: 143px;
}
.advantages span {
  color: #4671ab;
  font-size: 20px;
  font-weight: bold;
  margin-left: 20px;
}

/* Gallery */
.gallery .flex-container.three-column {
  margin-left: 0;
}
.gallery .flex-container.three-column .flex-item {
  margin-bottom: 0;
  padding-left: 0;
}
.gallery img {
  display: block;
  width: 100%;
}

/* Contacts */
input, textarea {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  border: 2px solid #3bb9e3;
  display: block;
  width: 100%;
  padding: 15px;
}
input {
  height: 60px;
  line-height: 60px;
  margin-bottom: 25px;
}
textarea {
  resize: none;
}
.checkbox {
  display: table;
  width: 100%;
  margin-top: 15px;
}
input[type=checkbox] {
  display: table-cell;
  vertical-align: top;
  width: 25px;
  height: 25px;
  margin-bottom: 0;
}
.checkbox span {
  color: #373f4a;
  font-size: 14px;
  display: table-cell;
  vertical-align: top;
  padding-left: 10px;
}
.submit {
  position: relative;
}
.submit img {
  position: absolute;
  top: 40px;
  right: 15px;
  width: 40px;
}
.submit input {
  float: right;
  background-color: #3bb9e3;
  border-bottom: 8px solid #4180b6;
  color: #fff;
  cursor: pointer;
  text-align: left;
  line-height: 0;
  width: 200px;
  margin-top: 20px;
  margin-bottom: 0;
}
.submit input:hover {
  background-color: #4180b6;
}
.output_message {
  margin-bottom: 10px;
}
.icon-title {
  font-size: 50px;
}
.icon-title i, .icon-title span {
  display: table-cell;
  vertical-align: middle;
}
.icon-title i {
  height: 120px;
}
.icon-title span {
  padding-left: 20px;
}
footer {
  background-color: #373f4a;
  border-top: 12px solid #3bb9e3;
  color: #fff;
}
footer .footer-image {
  display: block;
}
footer .flex-item {
  margin-top: 90px;
  margin-bottom: 90px;
}
footer .footer-logo {
  margin-bottom: 50px;
}
.footer-nav li {
  display: block;
  margin-bottom: 50px;
}
.footer-nav li:last-child {
  margin-bottom: 0;
}
.footer-nav li a {
  color: #fff;
  font-size: 20px;
}
.footer-nav li a:hover {
  color: #2abbe5;
}
.phone-text {
  color: #3bb9e3;
  font-size: 20px;
  margin-bottom: 30px;
}
.footer-phone {
  font-size: 44px;
}
.footer-description {
  color: #949494;
  font-size: 16px;
}
.socials li {
  display: inline-block;
  margin-top: 100px;
  vertical-align: middle;
}
.socials li span, .socials li a {
  display: inline-block;
  vertical-align: middle;
}
/* .socials li:first-child {
  margin-right: 35px;
} */
.copyright {
  background-color: #252c36;
  color: #fff;
  font-size: 20px;
  text-align: center;
  padding: 25px;
}
.scroll-top {
  cursor: pointer;
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  text-indent: -999px;
  display: none;
  background: url(../images/scroll_top_icon.png) no-repeat;
  z-index: 9;
}

/* Responsive */
@media screen and (max-width: 1680px) {
  .advantages .flex-item {
    text-align: center;
  }
  .advantages span {
    display: block;
    margin-top: 20px;
    margin-left: 0;
  } 
}
@media screen and (max-width: 1450px) {
  .catalogs ul li {
    display: block;
    margin: 0 auto;
  }
  .catalogs ul li:first-child {
    margin-right: auto;
    margin-bottom: 50px;
  }
}
@media screen and (max-width: 1200px) {
  .products .content-container {
    padding: 10px 20px 40px;
  }
}
@media screen and (max-width: 1199px) {
  .logo {
    margin: 27px auto 0;
  }
  .main-navigation {
    display: none;
    background-color: #373f4a;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    z-index: 99;
  }
  .main-navigation ul li {
    display: block;
    margin: 20px 0;
    text-align: center;
  }
  .mobile-menu-button {
    position: absolute;
    text-indent: -9999px;
    background: url(../images/mobile_menu_icon.png) 0 0 no-repeat;
    background-size: 23px 19px;
    width: 23px;
    height: 19px;
    top: 35px;
    right: 25px;
  }
}
@media screen and (min-width: 768px) {
  .bx-wrapper img {
    height: 50vh;
    object-fit: cover;
  }
  .slider-container iframe {
    height: 50vh;
    object-fit: cover;
  }
  /* .carousel-video {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 50vh;
    background-color: black;
  }
  .carousel-video iframe,
  .carousel-video object,
  .carousel-video embed {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 50%;
    transform: translate(-50%, -50%);
  } */
}
@media screen and (max-width: 900px) {
  .products .flex-container.four-column .flex-item {
    width: 50%;
  }
  footer .flex-item {
    margin-top: 50px;
    margin-bottom: 50px;
  }
  footer .flex-container.three-column .flex-item,
  .contacts .flex-container.three-column .flex-item {
    width: 100%;
    text-align: center;
  }
}
@media screen and (max-width: 767px) {
  h1, .section-title {
    font-size: 40px;
  }
  .flex-container.two-column .flex-item,
  .flex-container.three-column .flex-item,
  .flex-container.three-column .four-item,
  .products .flex-container.four-column .flex-item {
    width: 100%;
  }
  .about-logos .image {
    margin-bottom: 40px;
  }
  .about-logos .image:last-child {
    margin-bottom: 0;
  }
  .products img,
  .safe-click img {
    width: 100%;
  }
  .safe-click .video {
    margin-bottom: 50px;
  }
  .submit input {
    width: 100%;
  }
  .footer-phone {
    font-size: 36px;
  }
}
@media screen and (max-width: 680px) {
  .logo {
    margin: 29px auto 0;
  }
  .logo img {
    max-width: 80%;
  }
  .catalogs ul li {
    width: 100%;
  }
  .catalogs ul li a span:first-child {
    font-size: 25px;
  }
  .catalogs ul li a span:last-child {
    font-size: 16px;
  }
  .footer-phone {
    font-size: 32px;
  }
}
@media screen and (max-width: 320px) {
  .catalogs ul li a span:first-child {
    font-size: 20px;
  }
  .catalogs ul li a span:last-child {
    font-size: 13px;
  }
}