.image {
  position: relative;
}
.image img {
  position: relative;
  z-index: 2;
}
.image::after {
  position: absolute;
  width: 100%;
  height: 100%;
  content: "";
  background: var(--primary);
  top: -2rem;
  left: -2rem;
  z-index: 1;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}

.top_bar .social a:nth-child(1) {
  color: white;
}
.top_bar .social a:nth-child(2) {
  color: white;
}
.top_bar .social a:nth-child(3) {
  color: white;
}
.top_bar .social a:nth-child(4) {
  color: white;
}
.top_bar .social a:nth-child(5) {
  color: white;
}

.dropdwn a:hover {
  background: var(--secondary);
}

.slick-dotted.slick-slider {
  margin-bottom: 0;
}

.welcome-wrapper:hover .image::after {
  top: 2rem;
}

.expertise_item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.firms .firm-icon-wrapper {
  width: 80px;
  height: 80px;
  border: 1px solid #0c445f;
  border-radius: 50%;
  padding: 0.5rem;
  margin: auto;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
  margin-bottom: 1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.firms .firm-icon {
  width: 50px;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}
.firms h4 {
  font-size: 1rem;
  text-align: center;
}
.firms .firm-item:hover .firm-icon-wrapper {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
  background: #0c445f;
}
.firms .firm-item:hover .firm-icon {
  -webkit-filter: brightness(100%) invert(1);
          filter: brightness(100%) invert(1);
}

.our-partners {
  background-image: url("../img/bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}
.our-partners .partner-item {
  position: relative;
}
.our-partners .partner-item:hover .partner-detail {
  background: #4a98af;
}
.our-partners .partner-item img {
  width: 100%;
}
.our-partners .partner-item .partner-detail {
  position: absolute;
  width: 60%;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background: #0c445f;
  border-radius: 10px;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}
.our-partners .partner-item .partner-detail a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 1rem;
  text-decoration: none;
}
.our-partners .partner-item .partner-detail h5 {
  color: white;
  margin: 0;
  text-align: center;
}

.modal-content .modal-body p {
  margin-bottom: 0.5rem;
}
.modal-content .modal-body ul {
  padding-left: 1rem;
}
.modal-content .modal-body .partner-thumbnail img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  float: right;
}

.modal-open .fxheader {
  z-index: 1;
}