.logos {
}

.logos .logo {
  margin: 1px 0;
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 20px;
  cursor: pointer;
  position: relative;
  transition: background-color .3s;
}

.logo:before {
  content: '';
  background-color: #54abab;
  opacity: .7;
  transition: background-color .3s;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.logo.active:before {
  background-color: transparent !important;
}

.logo-pink:before {
  background-color: #8f578c;
}

.logo-green:before {
  background-color: #336666;
}

.logo-orange:before {
  background-color: #7070ab;
}

.logo-blue:before {
  background-color: #8a3b59;
}

.logo-purple:before {
  background-color: #29103a;
}

.logo-red:before {
  background-color: #e0261c;
}

@media (max-width: 767px) {
  .logos .logo {
    text-align: center;
  }
}

.logo-desc {
  display: none;
  padding: 49px 0 20px;
}

.logo-desc h3 {
  font-size: 39px;
  color: #0F76BD;
  letter-spacing: -0.94px;
  text-align: center;
  line-height: 52px;
}

.logo-img {
  position: relative;
  text-align: center;
  width: 100%;
}

.logo.active .logo-img {
  display: none;
}

.logo-arrow {
  position: absolute;
  height: 0;
  opacity: 0;
  bottom: 53px;
  left: 50%;
}

.active .logo-arrow {
  opacity: 1;
  transition: all .1s;
}

.active .logo-arrow:after {
    border: solid transparent;
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #ffffff;
    border-width: 30px;
    margin-left: -30px;
    content: '';
    height: 0;
    width: 0;
    pointer-events: none;
    z-index: 2;
}

.logo-desc {
  display: none;
  font-size: 21px;
  line-height: 1.619047619047619;
  text-align: center;
  transition: all .1s;
}

.logo-desc.appended {
  display: block;
}

#logos .row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  width: 100%;
}

.target-row {
  -webkit-transition: max-height 0.4s cubic-bezier(0, 1, 0, 1) -0.1s;
  -moz-transition: max-height 0.4s cubic-bezier(0, 1, 0, 1) -0.1s;
  -o-transition: max-height 0.4s cubic-bezier(0, 1, 0, 1) -0.1s;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1) -0.1s;
  max-height: 0px;
  margin: 0;
  height: auto;
  opacity: 1;
  z-index: 0;
  display: block !important;
  overflow: hidden;
  margin-bottom: 45px;
}

.target-row.active {
  transition-timing-function: cubic-bezier(0.5, 0, 1, 0);
  transition-delay: 0s;
  max-height: 99990px;
}

@media (min-width: 768px) {
  #logos .logo {
    width: calc(25% - 2px);
    margin: 1px;
  }
}

@media (min-width: 501px) and (max-width: 767px) {
  #logos .logo {
    width: calc(50% - 2px);
    margin: 1px;
  }
}

@media (max-width: 500px) {
  #logos .logo {
    width: 100%;
    margin: 1px 0;
  }
}