.leadership-grid {
  padding: 154px 0 100px;
}
.leadership-grid .intro {
  text-align: center;
  position: relative;
  margin-bottom: 125px;
}

.leadership-grid .intro h2 {
  font-family: UniversLTStd !important;
  font-size: 36px !important;
  color: #414141;
  line-height: 1.3 !important;
}

.leadership-grid .intro span {
  position: absolute;
  color: #f4f9fb;
  font-family: "Univers LT Std Home";
  font-size: 202px;
  font-weight: 900;
  left: 0;
  right: 0;
  z-index: -1;
  top: 20px;
}
.leadership-grid .row-wrap {
  display: flex;
  flex-wrap: wrap;
  padding-top: 60px;
  width: calc(100% + 30px);
  margin-left: -15px;
}

.leadership-grid .row-wrap .col-four {
  flex: 0 0 25%;
  max-width: 25%;
  cursor: pointer;
  padding: 0 20px;
  margin-bottom: 58px;
}
.leadership-grid .row-wrap .col-four.no-hover {
  pointer-events: none;
}
.leadership-grid .row-wrap .card-img {
  max-height: 265px;
  overflow: hidden;
}
.leadership-grid .row-wrap .card-img img {
  height: 270px;
  width: 100%;
  object-fit: cover;
}

.leadership-grid .row-wrap .card-body {
  box-shadow: 0 17px 45px 0 rgb(122 149 164 / 20%);
  padding: 26px 22px 40px;
  position: relative;
}
.leadership-grid .row-wrap .card-body h3 {
  font-family: UniversLTStd !important;
  font-size: 24px !important;
  color: #414141;
}
.leadership-grid .row-wrap .card-body h6 {
  font-family: UniversLTStd;
  font-size: 16px;
  font-weight: 300;
}
.leadership-grid .row-wrap .card-body .arrow-link {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  position: absolute;
  bottom: 20px;
}
.leadership-grid .row-wrap .col-four:hover .card-body .arrow-link:after {
  background: url("/wp-content/themes/modeln/refresh/dist/images/arrow_white.png")
    no-repeat;
  width: 100%;
  height: 100%;
  right: -100px;
  top: 74%;
}

/*------------------------hover-------------------------*/

.leadership-grid .row-wrap .col-four:hover .card-body .arrow-link {
  opacity: 1;
  visibility: visible;
}
.leadership-grid .row-wrap .col-four:hover .card-body {
  background-image: linear-gradient(146deg, #52ccba, #24a6bf 48%, #0069aa 100%);
}
.leadership-grid .row-wrap .col-four:hover .card-body h3 {
  color: #fff;
}
.leadership-grid .row-wrap .col-four:hover .card-body h6 {
  color: #fff;
}
.leadership-grid .row-wrap .col-four:hover .card-body .arrow-link {
  color: #fff;
}

/*------------------------hover end-------------------------*/

.leadership-grid .row-wrap .logo-wrap,
.leadership-grid .row-wrap p {
  display: none;
}

.leadership-grid .card-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  transition: opacity 0.3s ease-in-out, background 0.3s ease-in-out,
    z-index 0.3s ease-in-out;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
}

.leadership-grid .card-overlay.active {
  z-index: 9999999999;
  opacity: 1;
  visibility: visible;
}

.leadership-grid .card-overlay .inner-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  max-width: 1050px;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  /*overflow: scroll;*/
}

.leadership-grid .card-overlay.active .description {
  opacity: 1;
  visibility: visible;
  top: 50%;
  transform: translateY(-50%);
  /*max-height: 540px;*/
  /*overflow: scroll;*/
}
.leadership-grid .card-overlay.active .description .wrapper {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 30px;
  background: #fff;
}
@media screen and (min-width: 991px) {
  .leadership-grid .card-overlay.active .description .wrapper {
    max-height: 532px;
    overflow: scroll;
    margin-bottom: 70px;
  }
}
.leadership-grid .card-overlay .description {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  /*display: none;*/
  background: #fff;
}

.leadership-grid .card-overlay.active .description .card-img {
  flex: 0 0 40%;
  max-width: 40%;
}
.leadership-grid .card-overlay.active .description .card-img img {
  height: auto;
  width: 100%;
  object-fit: cover;
  max-width: 100%;
}
.leadership-grid .card-overlay.active .description .card-body {
  flex: 0 0 60%;
  max-width: 60%;
  height: 100% !important;
}
.leadership-grid .card-overlay.active .description .card-body .logo-wrap {
  display: flex;
  /* margin: 2px 0 8px; */
  padding-top: 20px;
}
.leadership-grid .card-overlay.active .description .card-body .logo-wrap a {
  margin-right: 10px;
  max-width: 90px;
}
.leadership-grid .card-overlay.active .description .card-body .logo-wrap img {
  height: 25px;
  width: 25px;
  object-fit: contain;
}
.leadership-grid .card-overlay.active .description .card-body .logo-wrap a svg {
  height: 35px !important;
  width: 35px !important;
}
.leadership-grid
  .card-overlay.active
  .description
  .card-body
  .logo-wrap
  a:hover
  svg {
  fill: #ff8300;
}
.leadership-grid .card-overlay.active .description .card-body h3 {
  font-family: "UniversLTStd" !important;
  font-size: 36px !important;
  color: #414141;
}

.leadership-grid .card-overlay.active .description .card-body h6 {
  font-family: UniversLTStd;
  font-size: 26px;
  color: #00a5d9;
  margin-top: 20px;
  margin-bottom: 5px;
}
.leadership-grid .card-overlay.active .description .card-body p {
  max-width: 525px;
  color: #414141;
  font-family: "Univers LT Std";
}
@media (max-width: 991px) {
  .leadership-grid .card-overlay.active .description .card-body p {
    max-width: 100%;
  }
}
.leadership-grid .card-overlay .description.active {
  /*opacity: 1;*/
  /*visibility: visible;*/
}

.leadership-grid .card-overlay.active .description .card-body span {
  display: none;
}

.leadership-grid .card-overlay .close-btn {
  background: url(/wp-content/themes/modeln/img/leadership/icons-close-close-x-black.svg)
    no-repeat;
  border-radius: 50%;
  border: 1px solid #ff8300;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 25px;
  right: 27px;
  z-index: 99;
  cursor: pointer;
  background-size: 50%;
  background-position: center;
}
.leadership-grid .card-overlay .arrow-wrap {
  position: absolute;
  bottom: 0;
  right: 5px;
  z-index: 99;
  display: flex;
}

.leadership-grid .card-overlay .arrow-wrap .arrow {
  z-index: 99;
  cursor: pointer;
  position: relative;
  color: #ff8300;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2em;
  padding-right: 60px;
  margin-bottom: 20px;
}
.leadership-grid .card-overlay .arrow-wrap .arrow:after {
  content: "";
  position: absolute;
  top: 6px;
  right: 22px;
  background: url("/wp-content/themes/modeln/product/images/arrow-read-more.svg")
    no-repeat;
  height: 30px;
  width: 30px;
  background-size: contain;
}

.leadership-grid .card-overlay .arrow-wrap .arrow.pre:after {
  left: -38px;
  transform: rotate(180deg);
  right: auto;
  top: -12px;
}

.leadership-grid .card-overlay .inner-wrap .read-more {
  display: none;
  letter-spacing: 0.2em;
  font-weight: 900;
  bottom: 70px;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 200px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
  font-family: "Univers LT Std";
  font-size: 16px;
  color: #ff8300;
  text-transform: uppercase;
  z-index: 99;
}

.leadership-grid .card-overlay .inner-wrap .read-more:after {
  content: "";
  background-image: url(/wp-content/themes/modeln/img/leadership/down.svg);
  position: absolute;
  background-repeat: no-repeat;
  transform: rotate(90deg);
  /*right: 11px;*/
  /*top: 0;*/
  height: 100%;
  width: 10px;
  /*background-size: 100%;*/
  animation: bounce 1s infinite;
}




@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1100px) {
  .leadership-grid .intro span {
    font-size: 198px;
  }
  .leadership-grid .card-overlay .inner-wrap {
    overflow: scroll;
  }
  .leadership-grid .intro.bod span {
    font-size: 110px;
  }
}
@media (max-height: 769px) {
  .leadership-grid .card-overlay.active .description {
    top: auto;
    transform: translateY(0);
  }
}
@media (max-width: 991px) {
  .leadership-grid .intro span {
    font-size: 140px;
  }
  .leadership-grid .row-wrap {
    margin-left: -11px;
  }
  .leadership-grid .row-wrap .col-four {
    flex: 0 0 33%;
    max-width: 33%;
    padding: 0 10px;
  }

  .leadership-grid .card-overlay .inner-wrap {
    max-height: 100%;
  }
  .leadership-grid .card-overlay.active .description {
    /*max-height: 440px;*/
    overflow: scroll;

    padding-top: 20px;
  }

  .leadership-grid .card-overlay.active .description .card-img {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }
  .leadership-grid .card-overlay.active .description .card-img img {
    max-width: 100%;
    height: 100%;
    object-position: top;
    object-fit: contain;
  }

  .leadership-grid .card-overlay.active .description .card-body {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .leadership-grid .card-overlay .close-btn {
    top: 20px;
  }
  .leadership-grid .card-overlay.active .description {
    max-height: 100%;
  }
  .leadership-grid .card-overlay .arrow-wrap {
    position: relative;
    float: right;
  }
  .leadership-grid .card-overlay.active .description .wrapper {
    padding: 60px 30px;
  }
}

@media (max-height: 700px) {
  .leadership-grid .card-overlay .inner-wrap {
    overflow: scroll;
  }
}
@media (max-width: 595px) {
  .leadership-grid {
    padding: 50px 0;
  }
  .leadership-grid .intro {
    margin-bottom: 30px;
  }
  .leadership-grid .intro h2 {
    font-size: 24px !important;
  }
  .leadership-grid .intro span {
    display: none;
  }
  .leadership-grid .row-wrap {
    width: 100%;
    margin-left: 0;
    padding-top: 0;
  }
  .leadership-grid .row-wrap .col-four {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }
  /*.leadership-grid .card-overlay.active .description {*/
  /*transform: none;*/
  /*}*/
  .leadership-grid .card-overlay.active .description .wrapper {
    padding: 40px 30px;
  }
  .leadership-grid .card-overlay.active .description .card-body h3 {
    font-size: 24px !important;
  }
  .leadership-grid .card-overlay.active .description .card-body h6 {
    font-size: 20px;
    margin-top: 0;
    font-weight: 900;
    letter-spacing: 0.2em;
    font-family: "Univers LT Std";
  }
  .leadership-grid .card-overlay.active .description .card-body {
    padding: 20px 0;
    text-align: left;
  }
  .leadership-grid .row-wrap .card-body .arrow-link {
    opacity: 1;
    visibility: visible;
    position: relative;
    /* bottom: 20px; */
    margin-top: 20px;
    color: #414141;
    display: inline-block;
  }

  .leadership-grid .card-overlay .inner-wrap {
    /*max-height: 550px;*/
    top: 0;
    transform: none;
  }
  .leadership-grid .card-overlay .inner-wrap .read-more {
    bottom: 0px;
    display: none;
    background: #fff;
    max-width: 100%;
    padding: 30px 0;
    position: sticky;
    /*position: fixed;*/
  }
  /* .leadership-grid .card-overlay .arrow-wrap {
    top: 0;
    width: 100%;
    display: block;
    position: absolute;
    right: 0;
    z-index: 0;
  } */
  /* .leadership-grid .card-overlay .arrow-wrap .arrow {
    font-size: 0;
    right: 20px;
    position: absolute;
    padding: 0;
    margin: 0;
    top: 35%;
    width: 30px;
  }
  .leadership-grid .card-overlay .arrow-wrap .arrow.pre {
    left: 20px;
  }
  .leadership-grid .card-overlay .arrow-wrap .arrow.pre:after {
    left: 0;
    transform: rotate(90deg);
    top: 0;
  } */
  /*.leadership-grid .card-overlay .arrow-wrap .arrow {*/
  /*right: 0;*/
  /*}*/
  /* .leadership-grid .card-overlay .arrow-wrap .arrow:after {
    right: 0;
    background: url("/wp-content/themes/modeln/img/leadership/arrow.svg")
      no-repeat;
    transform: rotate(-90deg);
    top: -14px;
  } */
  .leadership-grid .card-overlay .close-btn {
    top: 10px;
    position: absolute;
    right: 8px;
    width: 35px;
    height: 35px;
  }
  .leadership-grid .row-wrap .card-body .arrow-link:after {
    background-image: url(/wp-content/themes/modeln/img/leadership/black-arrow.svg);
    height: 100%;
    width: 80px;
    top: 73%;
    right: -100%;
  }
  .leadership-grid .card-overlay.active .description .card-img img {
    max-width: 100%;
    max-height: 350px;
    object-fit: cover;
    width: 100%;
  }
  .leadership-grid .card-overlay.active .description .card-body .logo-wrap {
    margin: 20px 0;
    padding-top: 0;
  }
  .leadership-grid .card-overlay.active .description .card-body .logo-wrap a {
    position: relative;
    z-index: 2;
  }
  .leadership-grid .card-overlay .inner-wrap .read-more:after {
    width: 40px;
    background-position: right center;
    top: 0;
  }
  .leadership-grid .row-wrap .card-img {
    max-height: initial;
    overflow: hidden;
    height: auto;
  }
  .leadership-grid .row-wrap .card-img img {
    height: 100%;
    width: 100%;
    object-fit: contain;
  }
  .leadership-grid .row-wrap .card-body {
    margin-top: -11px;
  }
}

@media (min-width: 1400px) {
  .ua-windows_nt .leadership-grid .intro {
    margin-bottom: 123px;
  }
  .ua-windows_nt .leadership-grid .intro span {
    top: 0;
  }
}

@media (max-height: 420px) {
  .leadership-grid .card-overlay .arrow-wrap .arrow {
    top: 80%;
  }
}

.leadership-grid .card-overlay.active .description .wrapper #loader img {
  width: 80px;
}

.ua-windows_nt .leadership-grid .intro span {
  top: 0;
}

.ua-nexus-7 .leadership-grid .intro span {
  font-size: 110px;
}
.ua-ie .leadership-grid .row-wrap .card-body {
  box-shadow: 0 17px 45px 0 rgba(122, 149, 164, 0.4);
}

.leadership-grid .btn-wrap {
  margin-top: 30px;
  text-align: center;
}
@media (max-width: 595px) {
  .leadership-grid .btn-wrap {
    margin-top: 20px;
  }
  .leadership-grid .row-wrap .no-hover .card-body .arrow-link {
    display: none;
  }
}

.ua-ie
  .leadership-grid
  .card-overlay.active
  .description
  .card-body
  .logo-wrap
  img {
  width: auto;
}


/* leadership v2 */

.leadership-v2 .row-wrap {

    padding-top: 70px;
}

.leadership-v2 {
    padding: 85px 0 28px;
    background-color: #ffffff;
}

.leadership-v2 .card-overlay.v2.active .description .wrapper {
    padding: 60px;
}

.leadership-v2 .card-overlay.v2 .arrow-wrap .arrow {
    font-weight:700;
}
.leadership-v2 .card-overlay.active .description .card-body {
    position: relative;
}
.leadership-v2 .card-overlay.active .description .card-body h6 {
    margin-bottom: 20px;
    font-size: 24px;
    color:#414141;
}
.leadership-v2 .card-overlay.active .description .text-wrap p {
    color:#414141;
}
.leadership-v2 .leader-button {
    border-top: 1px solid #414141;
    border-bottom: 1px solid #414141;
    max-width: 1184px;
    text-align: center;
    margin: 0 auto;
  }
  .leadership-v2 .leader-button ul {
    display: flex;
    list-style: none;
    padding: 20px 0;
    justify-content: center;
    gap: 170px;
    margin: 0;
    position: relative;
  }
  .leadership-v2 .leader-button ul li a {
    font-family: Univers LT Std;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 0px;
    text-align: center;
    vertical-align: middle;
    text-transform: capitalize;
    color: #414141;
  }
  @media only screen and (max-width: 687px) {
    .leadership-v2 .leader-button ul li a {
      font-weight: 400;
      font-size: 16px;
      line-height: 20px;
    }
    .leadership-v2 .leader-button ul li.active a {
      font-weight: 700;
    }
    .leadership-v2 .leader-button ul li.active::before {
      width: 110px;
    }
    .leadership-v2 .leader-button ul {
      gap: 60px;
    }
  }
  .leadership-v2 .leader-button ul li.active::before {
    content: "";
    position: absolute;
    border-bottom: 6px solid #ff8300;
    width: 242px;
    bottom: 0;
  }
  
  .leadership-v2 .leader-button ul li.active a {
    font-weight: 700;
  }
  .leadership-v2 .row-wrap .col-four .card-body {
    position: relative;
    display: flex;
    flex-direction: column;
  }
  
  .leadership-v2 {
    padding: 85px 0;
  }
  .leadership-v2 .row-wrap .col-four .card-body .button-wrap {
    /* margin-top: 75px; */
    margin-top: auto;
  }
  .leadership-v2 .row-wrap .col-four .card-body .button-wrap a {
    font-family: Univers LT Std;
    font-weight: 700;
    font-size: 16px;
    line-height: 15px;
    letter-spacing: 2.56px;
    color: #ff8300;
    text-transform: capitalize;
    position: relative;
  }
  .leadership-v2 .card-wrapper .col-four .card-body .button-wrap a::after {
      position: absolute;
      content: "";
      background-image: url(/wp-content/themes/modeln/img/leadership-v2/Shape.png);
      background-size: contain;
      background-repeat: no-repeat;
      width: 28px;
      height: 15px;
      right: -37%;
      top: 50%;
      transform: translateY(-50%);
  }
  .leadership-v2 .card-overlay.active .description .card-body h6 {
    position: relative;
    margin-bottom: 20px;
  }
  .leadership-v2 .card-overlay.v2.active .card-body::after {
    position: absolute;
    content: "";
    border-bottom: 1px solid #414141;
    width: 87%;
    bottom: 60px;
  }
  .leadership-v2 .card-overlay.v2.active .description .card-body .logo-wrap img {
    width: 32px;
    height: 32px;
  }
  .leadership-v2 .card-overlay.v2.active .card-body .button-wrap a {
    display: none;
  }
  .leadership-v2 .card-overlay.v2.active .description .card-img img {
    height: 100%;
    width: 100%;
    object-fit: contain;
  }
  .leadership-v2 .card-overlay.active .description .text-wrap {
    margin-top: 30px;
  }
  .leadership-v2 .card-overlay .close-btn {
    background-image: url(/wp-content/themes/modeln/img/leadership-v2/x.svg);
    border: 0;
    width: 25px;
    height: 25px;
    border-radius: 0;
    background-size: 100%;
    top: 20px;
    right: 20px;
  }
  .leadership-v2 .card-wrapper .card-img img {
    height: 187px;
  }
  .leadership-v2 .card-wrapper .card-img {
    max-height: 187px;
    border-radius: 0;
  }
  .leadership-v2 .card-wrapper .card-body h3 {
    margin-bottom: 20px;
    margin-top: 1px;
  }
  .leadership-v2 .card-wrapper .card-body h6 {
    color: #414141;
  }
  
  .leadership-v2 .card-overlay.v2.active .description .card-img {
    flex: 0 0 30%;
    max-width: 30%;
    height: 100%;
  }
  
  .leadership-v2 .card-overlay.v2.active .description .card-body {
    flex: 0 0 70%;
    max-width: 70%;
    height: 100% !important;
    padding: 0 50px;
  }
  .leadership-grid .row-wrap .col-four:hover .card-body h3 {
    color: #fff;
  }
  .leadership-grid .row-wrap .col-four:hover .card-body h6 {
    color: #fff;
  }
  .leadership-grid .row-wrap .col-four:hover .card-body .arrow-link {
    color: #fff;
  }
  .leadership-v2 .row-wrap .col-four:hover .card-body .button-wrap a {
    filter: brightness(5);
  }

  .leadership-v2 .card-wrapper .card-body .icon-wrap {
    display: none;
  }

  .leadership-v2 .card-overlay.v2.active .description .card-body .icon-wrap {
    display: block;
  }
@media (max-width: 479px) {  
    .leadership-v2 {
        padding: 30px 0 10px;
    }
    .leadership-v2 .leader-button ul li.active::before {
        width: 100%;
        left: 0;
    }
    .leadership-v2 .leader-button ul {
      padding: 0 20px;
  }
  .leadership-v2 ul li {
    margin-left: 0;
  }

    .leadership-v2 .leader-button ul li {
        position: relative;
        padding: 12px 0;
    }
    .leadership-v2 .row-wrap {
        padding-top: 30px;
    }
    .leadership-v2 .card-wrapper .card-body h3 {
        font-size: 20px!important;
        margin-bottom: 8px;
    }
    .leadership-v2 .card-overlay.v2.active .description .wrapper { 
        flex-direction: column;
        padding: 60px 20px;

    }
    .leadership-v2 .card-overlay.v2.active .description .card-img {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .leadership-v2 .card-overlay.v2.active .description .card-body {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .leadership-v2 .card-overlay.active .description .card-body h6 { 
        font-weight: 400;
        font-size: 20px;
        line-height: 28px;
        letter-spacing: 0px;
        
    }
   
    .leadership-v2 .card-overlay.v2.active .description .card-body { 
        padding: 0;
        padding-top: 20px;
     }

     .leadership-v2 .card-overlay.v2.active .description .card-body .heading {
        margin-top: 10px;
     }
}

@media screen and (min-width: 480px) and (max-width: 767px) {
    .leadership-v2 .leader-button ul li.active::before {
        width: 100%;
        left: 0;
    }
    .leadership-v2 .leader-button ul {
        padding: 0;
    }

    .leadership-v2 .leader-button ul li {
        position: relative;
        padding: 20px 0;
    } 
}

@media (max-width: 595px) { 
  .leadership-v2 .card-overlay .arrow-wrap .arrow:after{
    display: none;
  }
  .leadership-v2 .card-overlay.active .description .card-body h6 {
     font-weight: normal;
     letter-spacing: 0;
  }
  .leadership-v2 .card-overlay.v2.active .card-body::after {
    bottom: 0;
  }
}
