/* NOTE: This file is intended for programmers. Aspro technical support is not advised to work with it. */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

.footer__developer {
  background: url(/images/ferrum_logo.png) no-repeat;
  width: 160px;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.5s, opacity 0.5s;
}

.footer__developer:hover {
  opacity: 1;
  filter: grayscale(0);
}

.footer__developer a[href] {
  font-size: 10px;
  color: #999;
  text-decoration: none;
  padding: 15px 0 0 28px;
  display: inline-block;
  line-height: 1;
}

.grayscale {
  filter: grayscale(1);
  opacity: 0.4;
}

/* Table styles */
table.contacts tr td, th {
  border: none;
  padding: 5px;
}

table thead.gradient_header {
  background-image: linear-gradient(to right, #0064ab, #052c48, #00c2cb, #007cc1, #00a8ea);
}

table.table thead.gradient_header th {
  background: none;
  font-size: 18px;
  color: #fff !important ;
}

/* Headings */
h2 {
  color: #052c48;
  border-left: 6px solid #016FB5;
  margin-left: 0;
  padding-left: 15px;
  margin-bottom: 30px;
  margin-top: 50px;
}

h2 p {
  margin-top: 36px;
}

h3.custom {
  margin-top: 46px;
  margin-bottom: 46px;
  padding: 0 0 6px 10px;
  border-left: 6px solid #0CA6E2;
  border-bottom: 2px solid #0CA6E2;
  display: inline-block;
}


blockquote {
  font-style: italic;
  background: rgba(255, 255, 255, 0.2);
  padding: 15px;
  border-left: 5px solid #0099cc;
}

/* Unified List Styles for both Ordered and Unordered lists */
ul, ol {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  font-family: 'Montserrat', sans-serif;
}

ul li, ol li {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  font-size: 16px;
  white-space: normal;
  flex-wrap: nowrap;
  position: relative;
}

ul li::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url('../images/custom_icons/403474.png') no-repeat center center;
  background-size: contain;
  margin-right: 10px;
  flex-shrink: 0;
  top: -2px;
}

li.indented::before {
      margin-left: 10px;
      background: none;
}

ol {
  list-style-type: none;
  counter-reset: num;
  margin: 0 0 0 45px;
  padding: 15px 0 5px 0;
  font-size: 16px;
}

ol li {
  position: relative;
  margin: 0 0 0 0;
  padding: 0 0 10px 0;
  line-height: 1.4;
}

ol li::before {
  content: counter(num);
  counter-increment: num;
  display: inline-block;
  position: absolute;
  top: 5px;
  left: -38px;
  width: 28px;
  height: 28px;
  background: #D5AD54;
  color: #fff;
  text-align: center;
  line-height: 28px;
  font-size: 18px;
}

/* Image styles */
.rounded-thead td img {
  max-width: 100%;
  border-radius: 15px;
  border: 1px solid #eee;
}

/* Rounded Table */
.rounded-thead {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ccc;
  margin-bottom: 80px;
}

.rounded-thead table {
  table-layout: fixed;
}

.rounded-thead td, th {
  text-align: center;
}

.rounded-thead td {
  color: #333;
  padding: 0px 40px 50px 40px;
}

.lineclamp-5 p {
	font-size: 20px !important;
	font-weight: normal;
}

.index-block__preview {
  max-width: 100% !important;
}

.video_frame {width: 50%;}

.fancybox-button {
  padding: 0;
}
/* Responsive Design Fixes */

@media (max-width: 991px) {
/* h2:first-child {margin-top: -80px; margin-bottom: 30px;}*/
 h2 {margin-bottom: 30px; margin-top: 30px;}
 h2.custom:first-child {margin-top: -80px;}
.img-responsive {display: block !important;}
.video_frame  {width: 100%;}
}

@media (max-width: 768px) {
  .video_frame  {width: 100%;}

  .img-responsive {display: block !important;}
  ul, ol {
    font-size: 13px;
    color: #222;
  }
  ul li::before {top: -1px;}

  ul li::before, ol li::before {
    width: 16px;
    height: 16px;
    margin-right: 6px;
  }
  ol li::before {
    left: -30px;
    width: 22px;
    height: 22px;
    font-size: 14px;
    line-height: 22px;
  }
  h1 {
    margin-bottom: 20px; /* Reduced spacing after h1 for mobile */
  }

  h3.custom {margin-top: 10px;}

  ul li {
	    margin-left: 10px;
}

}





@media (max-width: 480px) {
  .video_frame  {width: 100%;}

  .img-responsive {display: block !important;}
  ul, ol {
    font-size: 12px;
    color: #111;
  }
  ul li::before {top: -1px;}
  ul li::before, ol li::before {
    width: 14px;
    height: 14px;
    margin-right: 15px;
  }
  ol li::before {
    left: -28px;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
  }
  h1 {
    margin-bottom: 15px; /* Further reduced spacing for very small screens */
  }

  h3.custom {margin-top: 10px;}
}




/* Responsive Table Styles */
@media (max-width: 768px) {
  .video_frame  {width: 100%;}

  .rounded-thead table {
    display: block !important;
  }
  .rounded-thead thead {
    display: none !important;
  }
  .rounded-thead tbody {
    display: flex !important;
    flex-direction: column !important;
  }
  .rounded-thead tr {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    margin-bottom: 10px !important;
  }
  .rounded-thead td {
    display: block !important;
    width: 50% !important;
    text-align: center !important;
    padding: 10px !important;
    font-size: 11px !important;
    font-weight: bold !important;
    position: relative !important;
  }
  .rounded-thead tr:nth-child(odd) td:first-child,
  .rounded-thead tr:nth-child(even) td:last-child {
    background-color: #c5cdd0 !important;
  }
  .rounded-thead tr:nth-child(odd) td:last-child,
  .rounded-thead tr:nth-child(even) td:first-child {
    background-color: #ffffff !important;
  }
  .rounded-thead td img {
    width: 100% !important;
    max-width: 250px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }
  .rounded-thead td:not(:has(img)):not(:empty)::after {
    content: '\25BC'; /* Стрелка вниз */
    display: block !important;
    text-align: center !important;
    font-size: 14px !important;
    color: #333 !important;
    margin-top: 5px !important;
  }
/* Background for the last table cell */
  .rounded-thead tr:last-child td:last-child {
    background-color: #c5cdd0 !important;
  }
}
@media (max-width: 601px) {
  .footer__part-item.pi--48 {
    padding-inline: 0;
  }
  .footer__main-part-contact {
    max-width: 100%;
  }
}