.team-img-block img {
  width: 100%;
  margin-top: -11%;
}
.team-block-list {
  position: relative;
}
.team-block-list .row {
  margin: 0px -15px;
}
.team-block-list [class*="col-"] {
  padding: 0px 15px;
  margin-bottom: 30px;
}
.team-block figure, .team-block figure img {
  margin-bottom: 0px;
  width: 100%;
  position: relative;
  object-fit: cover;
  font-family: "object-fit: cover;";
  height: auto;
}
.team-block {
  position: relative;
}
.team-block figure {
  position: relative;
}
.team-block figure:before {
  position: absolute;
  content: "";
  position: absolute;
  background: #030d24;
  width: 100%;
  height: 100%;
  left: 0px;
  right: 0px;
  margin: auto;
  top: 0;
  opacity: 0;
  z-index: 1;
}
.team-block:hover figure:before, .team-block:focus figure:before {
  opacity: 0.6;
}
.team-block-det {
  position: absolute;
  bottom: 0px;
  padding: 35px;
  z-index: 1;
  left: 0px;
  right: 0px;
  width: 100%;
  text-align: center;
}
.team-block:hover .team-block-det, .team-block:focus .team-block-det {
  bottom: auto;
  top: 50%;
  -moz-transform: translate(0, -50%);
  -o-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}
.team-block-det h5 {
  color: #ba1818;
  margin-bottom: 0px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  line-height: normal;
}
.team-block h4 {
  color: #ffffff;
  font-size: 30px;
  text-align: center;
  margin-bottom: 10px;
  font-weight: normal;
}
.team-block h4 a {
  color: #ffffff;
}
.team-block .team-block-det .coman-btn {
  width: 280px;
  height: 50px;
  line-height: 50px;
  color: #fff !important;
  font-size: 18px;
  background: #ba1818;
  display: none;
  margin: 15px auto 0px auto !important;
}
.team-block .team-block-det .coman-btn:hover, .team-block .team-block-det .coman-btn:focus {
  background: #3545a2 !important;
  color: #fff !important;
}
.team-block p {
  color: #fff;
  display: none;
}
.team-block:hover .team-block-det .coman-btn, .team-block:focus .team-block-det .coman-btn {
  display: block !important;
}
.team-block:hover .team-block-det p, .team-block:focus .team-block-det p {
  display: block !important;
  max-width: 500px !important;
  margin: auto !important;
  margin-top: 15px !important;
}
.team-block-list .row:first-child [class*="col-"]:nth-child(1), .team-block-list .row:first-child [class*="col-"]:nth-child(2) {
  width: 50% !important;
}
.team-block-list .row:first-child [class*="col-"]:nth-child(1) .team-block-det h5, .team-block-list .row:first-child [class*="col-"]:nth-child(2) .team-block-det h5 {
  font-size: 18px;
}
.team-block-list .row:first-child [class*="col-"]:nth-child(1) .team-block h4, .team-block-list .row:first-child [class*="col-"]:nth-child(2) .team-block h4 {
  font-size: 48px;
}
@media (max-width: 1800px) {}
@media (max-width: 2200px) {}
@media (max-width: 1900px) {}
@media (max-width: 1800px) {}
@media (max-width: 1700px) {
  .team-block .team-block-det .coman-btn {
    width: 200px;
    height: 45px;
    line-height: 45px;
    font-size: 12px;
  }
}
@media (max-width: 1600px) {
  .team-block .team-block-det .coman-btn {
    width: 180px;
    height: 45px;
    line-height: 45px;
    font-size: 12px;
  }
  .team-block h4 {
    font-size: 26px;
  }
  .team-block-det h5 {
    font-size: 15px;
  }
  .team-block-list .row:first-child [class*="col-"]:nth-child(1) .team-block h4, .team-block-list .row:first-child [class*="col-"]:nth-child(2) .team-block h4 {
    font-size: 45px;
  }
  .team-block-list .row:first-child [class*="col-"]:nth-child(1) .team-block-det h5, .team-block-list .row:first-child [class*="col-"]:nth-child(2) .team-block-det h5 {
    font-size: 17px;
  }
}
@media (max-width: 1500px) {
  .team-block .team-block-det .coman-btn {
    width: 160px;
    height: 45px;
    line-height: 45px;
    font-size: 12px;
  }
  .team-block-det {
    padding: 28px;
  }
  .team-block h4 {
    font-size: 24px;
  }
  .team-block-det h5 {
    font-size: 15px;
  }
  .team-block-list .row:first-child [class*="col-"]:nth-child(1) .team-block h4, .team-block-list .row:first-child [class*="col-"]:nth-child(2) .team-block h4 {
    font-size: 42px;
  }
  .team-block-list .row:first-child [class*="col-"]:nth-child(1) .team-block-det h5, .team-block-list .row:first-child [class*="col-"]:nth-child(2) .team-block-det h5 {
    font-size: 16px;
  }
}
@media (max-width: 1400px) {
  .team-block .team-block-det .coman-btn {
    width: 150px;
    height: 40px;
    line-height: 40px;
    font-size: 12px;
  }
  .team-block-det {
    padding: 27px;
  }
  .team-block h4 {
    font-size: 23px;
  }
  .team-block-det h5 {
    font-size: 14px;
  }
  .team-block-list .row {
    margin: 0px -14px;
  }
  .team-block-list [class*="col-"] {
    padding: 0px 14px;
    margin-bottom: 28px;
  }
  .team-block-list .row:first-child [class*="col-"]:nth-child(1) .team-block h4, .team-block-list .row:first-child [class*="col-"]:nth-child(2) .team-block h4 {
    font-size: 40px;
  }
  .team-block-list .row:first-child [class*="col-"]:nth-child(1) .team-block-det h5, .team-block-list .row:first-child [class*="col-"]:nth-child(2) .team-block-det h5 {
    font-size: 15px;
  }
}
@media (max-width: 1300px) {
  .team-block .team-block-det .coman-btn {
    width: 140px;
    height: 38px;
    line-height: 38px;
    font-size: 11px;
  }
  .team-block-det {
    padding: 26px;
  }
  .team-block h4 {
    font-size: 22px;
  }
  .team-block-det h5 {
    font-size: 15px;
  }
  .team-block-list .row {
    margin: 0px -12px;
  }
  .team-block-list [class*="col-"] {
    padding: 0px 12px;
    margin-bottom: 24px;
  }
  .team-block-list .row:first-child [class*="col-"]:nth-child(1) .team-block h4, .team-block-list .row:first-child [class*="col-"]:nth-child(2) .team-block h4 {
    font-size: 40px;
  }
  .team-block-list .row:first-child [class*="col-"]:nth-child(1) .team-block-det h5, .team-block-list .row:first-child [class*="col-"]:nth-child(2) .team-block-det h5 {
    font-size: 14px;
  }
}
@media (max-width: 1200px) {
  .team-block .team-block-det .coman-btn {
    width: 130px;
    height: 35px;
    line-height: 35px;
    font-size: 10px;
  }
  .team-block-det {
    padding: 25px;
  }
  .team-block h4 {
    font-size: 21px;
  }
  .team-block-det h5 {
    font-size: 14px;
  }
  .team-block-list .row {
    margin: 0px -12px;
  }
  .team-block-list [class*="col-"] {
    padding: 0px 12px;
    margin-bottom: 24px;
  }
  .team-block-list .row:first-child [class*="col-"]:nth-child(1) .team-block h4, .team-block-list .row:first-child [class*="col-"]:nth-child(2) .team-block h4 {
    font-size: 36px;
  }
  .team-block-list .row:first-child [class*="col-"]:nth-child(1) .team-block-det h5, .team-block-list .row:first-child [class*="col-"]:nth-child(2) .team-block-det h5 {
    font-size: 14px;
  }
}
@media (max-width: 1100px) {
  .team-block .team-block-det .coman-btn {
    width: 110px;
    height: 30px;
    line-height: 30px;
    font-size: 9px;
  }
  .team-block-det {
    padding: 20px;
  }
  .team-block h4 {
    font-size: 20px;
  }
  .team-block-det h5 {
    font-size: 13px;
  }
  .team-block-list .row {
    margin: 0px -10px;
  }
  .team-block-list [class*="col-"] {
    padding: 0px 10px;
    margin-bottom: 20px;
  }
  .team-block-list .row:first-child [class*="col-"]:nth-child(1) .team-block h4, .team-block-list .row:first-child [class*="col-"]:nth-child(2) .team-block h4 {
    font-size: 34px;
  }
  .team-block-list .row:first-child [class*="col-"]:nth-child(1) .team-block-det h5, .team-block-list .row:first-child [class*="col-"]:nth-child(2) .team-block-det h5 {
    font-size: 14px;
  }
}
@media (max-width: 991px) {
  .team-block .team-block-det .coman-btn {
    width: 140px;
    height: 35px;
    line-height: 35px;
    font-size: 10px;
  }
  .team-block-det {
    padding: 20px;
  }
  .team-block h4 {
    font-size: 20px;
  }
  .team-block-det h5 {
    font-size: 13px;
  }
  .team-block-list .row {
    margin: 0px -10px;
  }
  .team-block-list [class*="col-"] {
    padding: 0px 10px;
    margin-bottom: 20px;
  }
  .team-block-list [class*="col-"]:nth-child(1) .team-block h4, .team-block-list [class*="col-"]:nth-child(2) .team-block h4 {
    font-size: 32px;
  }
  .team-block-list [class*="col-"]:nth-child(1) .team-block-det h5, .team-block-list [class*="col-"]:nth-child(2) .team-block-det h5 {
    font-size: 14px;
  }
}
@media (max-width: 767px) {
  .team-block .team-block-det .coman-btn {
    width: 150px;
    height: 40px;
    line-height: 40px;
    font-size: 12px;
  }
  .team-block-det {
    padding: 20px;
  }
  .team-block h4 {
    font-size: 20px;
  }
  .team-block-det h5 {
    font-size: 13px;
  }
  .team-block-list .row {
    margin: 0px -10px;
  }
  .team-block-list [class*="col-"] {
    padding: 0px 10px;
    margin-bottom: 20px;
  }
  .team-block-list .row:first-child [class*="col-"]:nth-child(1), .team-block-list .row:first-child [class*="col-"]:nth-child(2) {
    width: 100% !important;
  }
  .team-block-list .row:first-child [class*="col-"]:nth-child(1) .team-block h4, .team-block-list .row:first-child [class*="col-"]:nth-child(2) .team-block h4 {
    font-size: 30px;
  }
  .team-block-list .row:first-child [class*="col-"]:nth-child(1) .team-block-det h5, .team-block-list .row:first-child [class*="col-"]:nth-child(2) .team-block-det h5 {
    font-size: 13px;
  }
}
@media (max-width: 576px) {
  .team-block .team-block-det .coman-btn {
    width: 130px;
    height: 35px;
    line-height: 35px;
    font-size: 11px;
  }
  .team-block-det {
    padding: 20px;
  }
  .team-block h4 {
    font-size: 20px;
  }
  .team-block-det h5 {
    font-size: 13px;
  }
  .team-block-list .row {
    margin: 0px -10px;
  }
  .team-block-list [class*="col-"] {
    padding: 0px 10px;
    margin-bottom: 20px;
  }
  .team-img-block img {
    margin-top: -7%;
  }
  .team-block-list .row:first-child [class*="col-"]:nth-child(1), .team-block-list .row:first-child [class*="col-"]:nth-child(2) {
    width: 100% !important;
  }
  .team-block-list .row:first-child [class*="col-"]:nth-child(1) .team-block h4, .team-block-list .row:first-child [class*="col-"]:nth-child(2) .team-block h4 {
    font-size: 30px;
  }
  .team-block-list .row:first-child [class*="col-"]:nth-child(1) .team-block-det h5, .team-block-list .row:first-child [class*="col-"]:nth-child(2) .team-block-det h5 {
    font-size: 13px;
  }
}