/*** 
========================
    Partner Style1 Css
========================
***/
.partner-style1 {
  padding: 120px 0px 120px;
}

.partner-style1__top {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 46px;
}

.partner-style1__top .sec-title {
  padding-bottom: 0;
}

.partner-style1__top .btn-box {
  position: relative;
  display: block;
  top: -6px;
}

.partner-style1__top .btn-box a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--thm-black);
  font-size: 14px;
  line-height: 24px;
  font-family: var(--thm-font-2);
  font-weight: 700;
  text-transform: uppercase;
  transition: all 200ms linear;
  transition-delay: 0.1s;
}

.partner-style1__top .btn-box a:hover {
  color: var(--thm-primary-color);
}

.partner-style1__top .btn-box a i {
  position: relative;
  top: -1px;
  font-size: 20px;
  margin-left: 5px;
}

.partner-style1__inner {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--thm-border-color);
  border-radius: var(--thm-border-radius);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom: none;
}

.partner-style1__inner.two {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  border-bottom-right-radius: var(--thm-border-radius);
  border-bottom-left-radius: var(--thm-border-radius);
  border-bottom: 1px solid var(--thm-border-color);
}

.single-partner-style1 {
  position: relative;
  display: block;
  max-width: 20%;
  width: 100%;
  border-right: 1px solid var(--thm-border-color);
}

.partner-style1__inner li:last-child {
  border-right: none;
}

.single-partner-style1 a {
  position: relative;
  display: block;
}

.single-partner-style1 a::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  bottom: 5px;
  right: 5px;
  background: var(--thm-gray-bg);
  border-radius: var(--thm-border-radius);
  transform: perspective(400px) scaleX(0);
  transform-origin: center;
  transition: all 500ms ease;
  z-index: -1;
}

.single-partner-style1 a:hover::before {
  transform: perspective(400px) scaleX(1);
}

.single-partner-style1 a .img1 {
  position: relative;
  display: block;
  opacity: 1;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.single-partner-style1 a:hover .img1 {
  opacity: 0;
}

.single-partner-style1 a .img1 img {
  width: auto;
}

.single-partner-style1 a .img2 {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.single-partner-style1 a:hover .img2 {
  opacity: 1;
}

.single-partner-style1 a .img2 img {
  width: auto;
}
