/* Case Afina */

img {
  max-width: 100%;
}
h1 {
  font-family: 'MontserratExtraBold';
}
mark {
  color: #F79704;
  margin-right: 5px;
  background-color: transparent;
  font-size: 20px;
}

.color-green { color: #C1D232 }

.title-line {
  text-transform: uppercase;
  font-family: MontserratExtraBold;
  /* color: #fff; */
  position: relative;
  font-size: 14px;
}
  .title-line::before {
    content: "";
    width: 50px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    left: -70px;
    top: 50%;
  }

.begin {
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 50px 0;
  color: #fff;
}
.begin-title {
  line-height: normal;
  font-family: 'MontserratBold';
  font-size: 32px;
}
@media (min-width: 992px) {
  .begin {
    height: 830px;
    padding: 0;
  }
  .begin .container {
    margin-top: -200px;
  }
  .begin-title {
    font-size: 48px;
    max-width: 700px;
  }
}

.client {
  background-color: #71393E;
  padding: 40px 0;
  color: #fff;
}
.client-right {
  max-width: 670px;
  line-height: normal;
}
@media (min-width: 992px) {
  .client {
    padding: 0;
  }
}

.tasks {
  padding: 50px 0;
}
.tasks-panel {
  padding: 30px;
  border: 15px solid #71393e4a;
}
.tasks-desc {
  color: #71393E;
}
@media (min-width: 992px) {
  .tasks {
    padding: 90px 0;
  }
  .tasks-panel {
    padding: 60px;
  }
}

.dannie {
  /* box-shadow: 0 0 0 1px red; */
  padding: 0 0 40px 0;
}
.dannie-item {
  box-shadow: 5px 10px 40px #00000017;
  padding: 30px 40px;
}
@media (min-width: 992px) {
  .dannie {
    padding: 0 0 100px 0;
  }
  .dannie-item {
    min-height: 225px;
    padding: 50px;
  }
}

.inside {
  /* box-shadow: 0 0 0 1px red; */
  background-color: #71393E;
  color: #fff;
  padding: 40px 0;
}
@media (min-width: 992px) {
  .inside {
    padding: 100px 0;
  }
}

.reshenie {
  /* box-shadow: 0 0 0 1px red; */
  padding: 40px 0;
}
.reshenie-title {
  /* box-shadow: 0 0 0 1px red; */
  display: flex;
  align-items: center;
}
.reshenie-title-num {
  font-family: MontserratExtraBold, sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 40px;
  color: #fff;
  background-color: #71393E;
  padding: 10px 30px;
  margin-right: 30px;
}
@media (min-width: 992px) {
  .reshenie {
    padding: 100px 0;
  }
  .reshenie-title-num {
    font-size: 55px;
    line-height: 55px;
  }
}

.hod {
  /* box-shadow: 0 0 0 1px red; */
  padding: 40px 0;
}
.hod-panel {
  /* box-shadow: 0 0 0 1px blue; */
  color: #fff;
  overflow: hidden;
}
.hod-panel-item {
  background-color: #71393E;
  padding: 30px;
  margin-bottom: 10px;
}
.hod-panel-item-title {
  border-bottom: 1px solid #fff;
}
@media (min-width: 992px) {
  .hod {
    padding: 100px 0;
  }
  .hod-panel {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
  .hod-panel-item {
    flex: 1;
    box-shadow: -30px 0 20px #672a2f;
    margin-bottom: 0;
    padding: 45px 40px;
  }
}

.restest {
  /* box-shadow: 0 0 0 1px red; */
  background-color: #71393E;
  color: #fff;
  padding: 40px 0;
}
.restest-table {
}
.restest-table-head td {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  border-top: none !important;
}
.restest-table td {
  padding: 30px 30px 30px 0;
  border-top: 1px solid #a7777b;
}
.restest-table td:not(:first-child) {
  text-align: center;
}
.restest-table td>div {
  border-right: 1px solid #a7777b;
}
@media (min-width: 992px) {
  .restest {
    padding: 100px 0;
  }
}

.vivodi {
  /* box-shadow: 0 0 0 1px red; */
  padding: 40px 0;
}
.vivodi-item {
  border: 10px solid #71393e4a;
  padding: 20px;
  display: flex;
}
.vivodi-item .fw-5 {
  color: #71393E;
} 
.vivodi-item-num {
  font-family: MontserratExtraBold, sans-serif;
  font-weight: 700;
  font-size: 55px;
  line-height: 55px;
  color: #71393e4a;
}
@media (min-width: 992px) {
  .vivodi {
    padding: 100px 0;
  }
  .vivodi-item {
    padding: 25px 30px 25px 40px;
    border: 15px solid #71393e4a;
    align-items: center;
  }
}
