:root {
  --line-color: #77acdc;
  --border-btn: rgb(40, 79, 87);
}

@font-face {
  font-family: Bicubik;
  src: url('../fonts/bicubik-regular.woff2'),
    url('../fonts/bicubik-regular.woff');
}

@font-face {
  font-family: Ultra911;
  src: url('../fonts/Ultra911.woff2'), url('../fonts/Ultra911.woff');
}

:focus {
  outline-style: none;
  outline-width: 0px !important;
  outline-color: none !important;
}

html {
  scroll-behavior: smooth;
}

#footer {
  padding-top: 0;
}

footer .copyright {
  padding-top: 30px;
  padding-bottom: 30px;
}

.s-menu__mobile-icon i {
  color: #222;
}

.contact-block {
  border: 1px solid #444444;
  padding: 10px 5px;
  padding-bottom: 13px;
  background-color: rgba(255, 255, 255, 0.8);
}

.navbar--short .contact-block {
  background-color: transparent;
}

.btn-link {
  border: 1px solid #444444;
  font-family: Bicubik, sans-serif;
  color: #000;
  padding-top: 5px;
  padding-bottom: 5px;
  display: block;
  text-align: center;
  margin-bottom: 30px;
  font-size: 16px;
}

.hero,
.practice,
.result,
.characteristics,
.characteristics-desc,
.feedback {
  padding: 0 20px;
}

.bg-effects .navbar-expand-lg .navbar-nav .nav-link {
  color: var(--border-btn);
}

.hero .container-fluid {
  border-left: 2px solid var(--line-color);
  padding-top: 60px;
  height: 100vh;
}

main.agr-page {
  padding-top: 0;
}

.agr-page h1 {
  margin-top: 155px;
  color: #444444;
  text-align: left;
  text-transform: inherit;
  line-height: 1;
  font-size: 50px;
  font-weight: 600;
  margin-bottom: 210px;
  margin-left: 0;
  font-family: Bicubik, sans-serif;
  padding-left: 55px;
}

.hero-bg {
  background: url(../img/engn-acc-1000-hero.webp) no-repeat,
    url(../img/engn.acc-1000.2600х300.png) no-repeat;
  background-position: 50% 0%, 0 100%;
  background-size: auto, contain;
  position: relative;
  z-index: 100;
}

.hero-text {
  margin-top: 360px;
  margin-left: 465px;
}

.header-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-line .btn-link::after {
  content: '';
  height: 2px;
  width: 174px;
  background-color: #77acdc;
  position: absolute;
  left: 0;
  /*  top: 3.3rem;
      top: 20px;
      bottom: 139px;*/
  margin-top: 11px;
  z-index: -1;
}

/*Харабара*/
/*.btn-line .btn-link::before {
  content: '';
  height: 2px;
  width: 174px;
  background-color: #77acdc;
  position: absolute;
  left: 100px;
  z-index: -1;
}*/

.number-mkm {
  font-size: 80px;
  font-style: italic;
  transform: skew(-5deg);
  color: rgb(40, 79, 87);
  -webkit-text-stroke: 0.5px rgb(91, 155, 213);
  text-stroke: 0.5px rgb(91, 155, 213);
  padding-bottom: 155px;
  text-align: center;
}

.tel {
  font-family: Bicubik, sans-serif;
  color: #000;
}

.number-mkm span {
  font-size: 25px;
  color: #444444;
  -webkit-text-stroke: unset;
  text-stroke: unset;
}

.hero-title {
  font-size: 74px;
  font-weight: 900;
  margin-left: 0;
  font-style: normal;
  margin-bottom: 0;
  color: #919191;
  color: #cacaca;
  font-family: Ultra911, serif;
  opacity: 0.2;
  position: absolute;
  bottom: -40px;
  left: 15%;
  z-index: 1;
}

.next .container-fluid {
  height: 500px;
  border-right: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
}

.desc-image {
  width: 100%;
  display: block;
}

.description .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.practice .container-fluid {
  border-top: 2px solid var(--line-color);
  border-top: 2px solid var(--line-color); /*харабара*/
  background-color: rgba(255, 255, 255, 0.8);
  border-right: 2px solid var(--line-color);
  border-right: 2px solid var(--line-color); /*харабара*/
  padding-bottom: 100px;
  position: relative;
  padding-top: 100px;
}

.practice h2,
.result h2 {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 40px;
  font-size: 24px;
}

.result h2 {
  position: absolute;
  border: 2px solid var(--line-color);
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  top: -76px;
  padding: 10px 30px;
}

.practice h2 {
  position: absolute;
  top: -78px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background-color: #fff;
  border: 2px solid var(--line-color); /*харабара*/
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 30px;
  font-size: 24px;
}

.characteristics h2,
.feedback h2 {
  text-align: center;
  padding-top: 50px;
  padding-bottom: 40px;
  font-size: 32px;
}

.characteristics h2 {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background-color: #fff;
  font-size: 24px;
  border: 2px solid var(--line-color);
  padding: 10px 30px;
}

.feedback h2 {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background-color: #fff;
  font-size: 24px;
  border: 2px solid var(--line-color);
  padding: 10px 30px;
}

.card-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  text-align: justify;
}

.card-body {
  padding: 0;
  min-height: 300px;
}

.card {
  border: none;
  background-color: rgba(255, 255, 255, 0.8);
}

.card-image {
  overflow: hidden;
  position: relative;
}

.card-image img {
  object-fit: cover;
  max-width: unset;
  width: 100%;
  height: 100%;
  height: 330px; /*харабара*/
}

.image-title {
  position: absolute;
  margin: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.image-title p {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin: 0;
  font-size: 24px;
  font-weight: bold;
}

.card-body {
  height: 420px;
  height: 100%; /*харабара*/
}

.result .container-fluid {
  border-left: 2px solid var(--line-color);
  background-color: rgba(255, 255, 255, 0.8);
  border-top: 2px solid var(--line-color);
  padding-bottom: 100px;
  border-bottom: 2px solid var(--line-color);
}

.figure-list {
  display: flex;
  flex-wrap: wrap;
  padding-top: 90px;
  justify-content: space-around;
}

.figure-list figure {
  width: 20%;
}

.figure-list figcaption {
  font-style: normal;
  text-align: center;
  font-weight: bold;
}

.characteristics .container-fluid {
  border-right: 2px solid var(--line-color);
  background-color: rgba(255, 255, 255, 0.8);
  padding-bottom: 100px;
}

.table-landing {
  text-shadow: none;
  width: 1100px;
  margin-top: 0;
}

.table-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
}

.table-striped.table-landing tbody tr:nth-of-type(odd) {
  background-color: #fff;
}

.table-striped.table-landing tbody tr:nth-of-type(even) {
  background-color: #fff;
}

.table td {
  border-left: 1px solid #dee2e6;
}

.table-striped.table-landing tbody th {
  background-color: #fff;
}

.table.table-striped.table-landing td {
  text-align: center;
}

.characteristics-desc .container-fluid {
  border-top: 2px solid var(--line-color);
  border-left: 2px solid var(--line-color);
  border-bottom: 2px solid var(--line-color);
  padding-right: 0;
  padding-left: 0;
  background-color: rgba(255, 255, 255, 0.8);
  padding-bottom: 100px;
}

.characteristics-desc .container-fluid > p {
  font-family: Bicubik, sans-serif;
  color: #fff;
  background: #5b9bd5;
  padding: 20px;
  margin-bottom: 50px;
  text-align: justify;
  font-size: 26px;
}

.characteristics-body {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  grid-template-rows: repeat(3, 1fr);
  /*background: url(../img/video-4.gif) no-repeat;*/
  background: url(../img/klassificator-102.gif) no-repeat;
  background-position: 50% 50%;
  background-size: 60%;
  height: 665px;
}

.photo-desc {
  grid-column-start: 2;
  grid-row-start: 1;
  grid-row-end: -1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.char-desc-1,
.char-desc-3 {
  padding-left: 5vw;
}

.char-desc-2,
.char-desc-4 {
  padding-left: 5vw;
}

.char-desc-1 .char-desc-2 {
  padding-right: 30px;
}

.char-desc-3,
.char-desc-4 {
  grid-row-start: 3;
  grid-row-end: -1;
}

.characteristics-body h3 {
  text-align: center;
  text-transform: inherit;
  font-size: 26px;
  line-height: 28px;
  margin-bottom: 20px;
  font-weight: bold;
}

.feedback .container-fluid {
  border-right: 2px solid var(--line-color);
  background-color: rgba(255, 255, 255, 0.8);
  margin-bottom: 100px;
  position: relative;
}

.feedback .btn-order,
.btn-link {
  border: 1px solid var(--border-btn);
  background-color: #fff;
  color: #000;
  font-family: Bicubik, sans-serif;
  font-size: 18px;
  padding-left: 60px;
  padding-right: 60px;
}

.btn-send {
  float: right;
}

.feedback .container-fluid::after {
  content: '';
  height: 2px;
  width: 200px;
  background-color: #77acdc;
  position: absolute;
  right: -2px;
  z-index: -1;
}

.btn-link:hover {
  background-color: var(--line-color);
  border-color: var(--line-color);
  text-decoration: none;
}

.feedback .btn-order:hover {
  background-color: var(--line-color);
  border-color: var(--border-btn);
}

.feedback-form {
  width: 90%;
  margin: 0 auto;
  padding-bottom: 18px;
  padding-top: 70px;
}

.feedback-form .form-control {
  border-color: var(--line-color);
}

.feedback-form textarea::placeholder {
  text-align: center;
  font-size: 26px;
}

.description .container-fluid {
  padding-left: 20px;
}

.count-section {
  position: fixed;
  right: 25px;
  top: 35%;
  transform: translateY(-50%);
  z-index: 1000;
}

.count-section .pagination {
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.7);
  /*background-color: rgba(224,224,224,.4);*/
}

.page-item.active:after {
  position: relative;
  content: '';
  height: 50px;
  width: 2px;
  background: #000;
  display: block;
  margin: 0 auto;
}

.page-link {
  color: #000;
  border: none;
  background: none;
  cursor: inherit;
}

.pagination-lg .page-link {
  cursor: inherit;
}

.page-item.active .page-link {
  color: #000;
  background-color: transparent;
  border-color: none;
}

.page-link:hover {
  color: #000;
  text-decoration: none;
  background-color: transparent;
  border-color: transparent;
}

.s-logo {
  margin-right: 20vw;
}

.navbar-nav > li:not(:last-child) {
  margin-right: 5vw;
}

.characteristics-body p {
  text-align: justify;
}

.char-desc-4,
.char-desc-2 {
  width: 75%;
}

.char-desc-1,
.char-desc-3 {
  padding-right: 0;
  width: 75%;
}

.file-button span {
  margin-right: 10px;
}

.file-button img {
  min-width: unset;
  width: 20px;
}

.custom-file {
  width: 140px;
  height: calc(1.5em + 0.75rem + 4px);
}

.card-result {
  width: 24%;
}

.card-result:not(:last-child) {
  margin-right: 10px;
}

.card-result .card-body {
  height: auto;
  min-height: auto;
}

.btn-light.btn-result {
  background-color: transparent;
  border: none;
}

.btn-light.btn-result:hover {
  background-color: var(--line-color);
}

.file-item {
  position: relative;
  display: flex;
  align-items: center;
}

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  font-size: 0;
  cursor: pointer;
}

.file-input:hover + .file-button {
  background-color: var(--line-color);
  transition: all 0.7s;
}

.file-button {
  display: inline-flex;
  min-height: 40px;
  border-radius: 0.25rem;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  padding: 0 10px;
  border: 1px solid var(--line-color);
  color: #000;
  font-size: 16px;
  margin-right: 15px;
}

@media (min-width: 1800px) {
  .description .container-fluid {
    padding-left: 0;
  }
}

@media (min-width: 1420px) {
  .container-fluid-sect {
    max-width: 1800px;
  }
}

@media (max-width: 1440px) {
  .hero-bg {
    background-size: 300px, contain;
  }

  .agr-page h1 {
    font-size: clamp(20px, 2.5vw, 38px);
    margin-bottom: 145px;
  }

  .s-logo {
    margin-right: 11vw;
  }

  .hero-text {
    margin-top: 300px;
    margin-left: 362px;
  }

  .number-mkm img {
    width: 300px;
  }

  .btn-link {
    padding-left: 30px;
    padding-right: 30px;
  }

  .btn-line {
    margin-left: 20px;
    margin-bottom: 63px;
  }

  .card-image {
    max-height: 300px;
  }

  .table-landing {
    width: 954px;
  }
}

.sub-title {
  padding-right: 60px;
}

@media (max-width: 1100px) {
  .s-logo {
    margin-right: 6vw;
  }

  .hero-text {
    margin-left: 300px;
  }
}

@media (max-width: 1024px) {
  .s-logo {
    margin-right: 35px;
  }
}

@media (max-width: 991px) {
  .sub-title {
    padding-right: 10px;
  }

  .figure-list {
    padding-top: 120px;
  }

  .sub-title {
    margin-bottom: 0;
    font-size: 16px;
  }

  .number-mkm img {
    width: 250px;
  }

  .agr-page h1 {
    margin-bottom: 50px;
    margin-top: 100px;
  }

  .hero .container-fluid {
    height: auto;
  }

  .number-mkm {
    padding-bottom: 0;
  }

  .hero-bg {
    background-position: 50% 0%, 0 100%;
  }

  .navbar-nav > li {
    font-size: 16px !important;
  }

  .navbar-nav > li:not(:last-child) {
    margin-right: 1vw;
  }

  .s-logo img {
    max-width: 150px;
  }

  .s-list-with-icon__content a {
    font-size: 12px;
  }

  .contact-block {
    padding-top: 2px;
    padding-bottom: 7px;
  }

  .navbar-collapse {
    background-color: transparent;
  }

  .characteristics-body {
    height: auto;
  }

  .figure-list figure {
    width: 33%;
  }

  .description .container-fluid {
    padding-left: 20px;
  }

  .table-landing {
    width: 750px;
  }

  .card-body {
    height: 100%;
  }

  .characteristics-body {
    grid-template-rows: 1fr 0.1fr 1fr;
    padding-top: 30px;
  }

  .hero-text {
    margin-top: 216px;
    margin-left: 255px;
    margin-bottom: 0;
  }

  .number-mkm {
    font-size: 52px;
    margin-bottom: 145px;
  }

  .hero-bg {
    background-size: 230px, contain;
  }

  .count-section {
    display: none;
  }
}

@media (max-width: 800px) {
  .s-logo {
    margin-right: 20px;
  }

  .table-landing {
    width: 685px;
  }
}

@media (max-width: 767px) {
  .characteristics-desc .container-fluid > p {
    font-size: 15px;
  }
  .header-flex {
    align-items: flex-end;
  }

  .card-result {
    width: 48%;
  }

  .navbar-expand-sm > .container-fluid {
    flex-wrap: wrap;
  }

  .navbar-expand-sm .navbar-collapse {
    justify-content: flex-end;
  }

  .navbar-nav {
    padding-bottom: 5px;
    padding-top: 5px;
    margin-left: 0;
  }

  .s-logo {
    margin-right: 0;
  }

  .practice h2 {
    font-size: 18px;
  }

  .feedback .container-fluid::after {
    width: 200px;
  }

  .char-desc-4,
  .char-desc-2 {
    padding-left: 10px;
  }

  .char-desc-1,
  .char-desc-3 {
    padding-right: 10px;
  }

  .figure-list figure {
    width: 50%;
  }

  .characteristics-desc .container-fluid > p {
    margin-bottom: 0;
  }

  .table-landing {
    width: 100%;
  }

  .table tr {
    border: none;
  }

  .table td,
  .table th {
    border: none;
  }

  .navbar--sticky {
    padding-left: 40px;
  }

  .photo-desc img {
    display: none;
  }

  .characteristics-body {
    position: relative;
    /* background: none; */
  }

  .characteristics-body:before {
    content: '';
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: url(../img/engh-acc-characteristics.webp) no-repeat;*/
    background-size: 50%;
    background-position: 50% 50%;
    opacity: 0.2;
  }

  /* .bg-gif {
        background: url(../img/engh-acc-characteristics-3.gif) no-repeat;
        background-position: 50% 50%;
        background-size: 100%;
        height: 570px;
    } */

  .hero-bg {
    background-position: 35px 155px, 0 77%;
  }

  .btn-line .btn-link::after {
    content: '';
    width: 90%;
  }

  .agr-page h1 {
    margin-bottom: 80px;
    margin-top: 40px;
    font-size: 30px;
  }

  .btn-link:last-child {
    margin-bottom: 0;
  }

  .hero-text {
    margin-top: 165px;
    margin-left: 290px;
    margin-bottom: 0;
  }

  .btn-link {
    margin-left: 30px;
  }

  .hero-title {
    margin-left: 30px;
    font-size: 40px;
    padding-bottom: 30px;
  }

  .btn-link {
    width: 100%;
  }

  .btn-link {
    padding-left: 60px;
    padding-right: 60px;
  }

  .characteristics-body h3 {
    font-size: 24px;
    line-height: 26px;
  }

  .characteristics-body p {
    font-size: 16px;
    line-height: 18px;
  }

  .number-mkm {
    margin-bottom: 220px;
  }

  .char-desc-1,
  .char-desc-2,
  .char-desc-3,
  .char-desc-4 {
    width: 90%;
  }
}

@media (max-width: 575px) {
  .characteristics-desc .container-fluid > p {
    font-size: 16px;
  }

  .card-result {
    width: 100%;
    margin-right: 0;
  }

  .card-image {
    margin-right: auto;
    margin-left: auto;
    width: 300px;
  }

  .image-title {
    top: 54%;
  }

  .card-image img {
    width: 300px;
    height: 300px;
  }

  .agregate-page img {
    min-width: unset;
  }

  .card-result img {
    width: 100%;
  }

  .navbar {
    height: 90px;
  }

  .navbar-nav {
    margin-bottom: 0;
    padding: 20px;
  }

  .navbar-nav > li:first-child {
    margin-left: 0;
  }

  .s-contact__item_phone .s-list-with-icon__icon i {
    height: 30px;
    width: 30px;
  }

  .s-contact__item_phone .s-list-with-icon__icon {
    top: 30px;
    right: 45px;
  }

  .s-contact__item_phone .s-list-with-icon__icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
  }

  .navbar-collapse {
    background-color: #fff;
  }

  .btn-link {
    font-size: 15px;
  }

  .number-mkm {
    margin-bottom: 166px;
  }

  .hero-text {
    margin-top: 110px;
    margin-left: 200px;
    margin-bottom: 0;
  }

  .card-image {
    margin-bottom: 20px;
  }

  .card-body {
    min-height: unset;
    margin-bottom: 30px;
  }

  .practice .container-fluid {
    padding-bottom: 50px;
  }

  .figure-list figure {
    width: 100%;
  }

  .hero-bg {
    background-position: 5px 155px, 0 74%;
    background-size: 200px, contain;
  }

  .char-desc-1,
  .char-desc-3,
  .char-desc-4,
  .char-desc-2 {
    width: 100%;
  }

  .char-desc-1,
  .char-desc-3 {
    padding-left: 10px;
  }

  .char-desc-1 {
    margin-bottom: 60px;
  }

  .char-desc-3,
  .char-desc-4 {
    margin-top: 60px;
  }

  .char-desc-4,
  .char-desc-2 {
    padding-right: 10px;
  }
}

@media (max-width: 500px) {
  .feedback .container-fluid::after {
    width: 100px;
  }

  .feedback-form {
    width: 100%;
  }

  .hero-title {
    margin-left: 10px;
    font-size: 30px;
  }

  .char-desc-1,
  .char-desc-2,
  .char-desc-3,
  .char-desc-4 {
    grid-column-start: 1;
    grid-column-end: -1;
    padding-right: 20px;
    padding-left: 20px;
    margin-bottom: 20px;
  }

  .char-desc-4 {
    grid-row-start: 4;
    margin-bottom: 0;
  }

  .photo-desc {
    display: none;
  }

  .practice h2,
  .result h2,
  .characteristics h2,
  .feedback h2 {
    font-size: 18px;
    line-height: 20px;
  }

  .card-body {
    padding-left: 10px;
    padding-right: 10px;
  }

  .number-mkm {
    font-size: 38px;
  }

  .number-mkm span {
    font-size: 18px;
  }

  /* .bg-gif {
    height: 380px;
  } */

  .characteristics-body {
    padding-top: 20px;
    grid-template-rows: 1fr 2.5fr 1fr;
    background-size: contain;
    background: url(../img/video-4.gif) no-repeat;
    background-position: 50% 53%;
    background-size: contain;
  }
  .feedback .btn-order {
    font-size: 15px;
  }
  .char-desc-2 {
    margin-bottom: 20px;
  }
  .char-desc-3,
  .char-desc-4 {
    margin-top: 0;
  }
}

@media (max-width: 425px) {
  .s-contact__item_phone .s-list-with-icon__icon {
    display: block;
  }

  .agr-page h1 {
    margin-left: 5px;
    padding-left: 0;
  }

  .number-mkm {
    margin-bottom: 112px;
    font-size: 30px;
  }

  .number-mkm span {
    font-size: 16px;
  }

  .table {
    font-size: 14px;
  }

  .table td,
  .table th {
    padding: 2px;
  }

  /* .bg-gif {
    height: 310px;
  } */

  .number-mkm img {
    width: 200px;
  }

  .s-logo img {
    max-width: 120px;
  }

  .s-list-with-icon__content a {
    font-size: 10px;
  }

  .bg-effects .s-list-with-icon__content a {
    margin-right: 0;
  }

  .contact-block {
    border: none;
  }

  .s-list-with-icon__content a i {
    margin-right: 0;
  }

  .characteristics-desc .container-fluid > p {
    font-size: 12px;
  }

  .characteristics-desc .container-fluid > p {
    padding: 10px;
  }
}

@media (max-width: 375px) {
  .btn-line {
    margin-left: 0;
    margin-bottom: 63px;
  }

  .agr-page h1 {
    margin-left: 0;
    padding-left: 0;
    font-size: 26px;
  }

  .hero-bg {
    background-position: 50% 140px, 0 57.5%;
    background-size: 150px, contain;
  }

  .number-mkm img {
    width: 150px;
  }

  .sub-title {
    font-size: 14px;
  }

  .hero-text {
    margin-top: 340px;
    margin-left: 0;
    margin-bottom: 0;
  }

  .number-mkm {
    margin-bottom: 16px;
    font-size: 30px;
    text-align: end;
  }

  .hero-title {
    font-size: 25px;
  }

  .characteristics-body {
    grid-template-rows: 1fr 1.9fr 1fr;
  }
}
