/* Leadership Page Popup CSS Starts */

.leadership-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.leadership-popup-content {
    background: #fff;
    padding: 35px 50px;
    max-width: 800px;
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.leadership-popup-content .popup-close {
    position: absolute;
    top: 30px;
    right: 25px;
    cursor: pointer;
}
.leadership-popup-content .popup-close svg {
    width: 15px;
    height: 24px;
}
.leadership-popup-content .popup-inner {
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
}
.leadership-popup-content .popup-left img {
    max-width: 200px;
    border-radius: 50%;
}
.leadership-popup-content .popup-right {
    flex: 1;
}
.leadership-popup-content .popup-right h3 {
    margin-top: 0;
    font-size: 24px;
    color: #213576;
    font-weight: 700;
    margin-bottom: 0px;
    line-height: 26px;
    margin-bottom: 2px;
}
.leadership-popup-content .popup-right .popup-position {
    font-size: 18px;
    line-height: 26px;
    font-weight: 300;
    color: #505050;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}
/*.leadership-item {
    display: inline-block;
    width: 32.2%;
    vertical-align: middle;
}*/

.leadership-items{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 20px;
}

.leadership-information {
    max-height: 350px;
    overflow-y: auto;
}

.leadership-item:nth-child(3n) {
    margin-right: 0px;
}
.leadership-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid #0000005c;
    margin: 0 auto;
    cursor: pointer;
    position: relative;
    transition: 0.5s;
}
.leadership-image:hover::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #000;
    border-radius: 50%;
}
.leadership-image img {
    border-radius: 50%;
    transition: 0.5s;
}
.leadership-name {
    color: #213576;
    font-size: 24px;
    font-weight: 700;
    margin: 20px 0 10px;
}
.leadership-position {
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    color: #505050;
}
.leadership-item-inner {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #c2c2c2;
    padding: 25px;
/*    margin-right: 20px;*/
    min-height: 400px;
/*    margin-bottom: 50px;*/
    flex-wrap: wrap;
}
.leadership-information p {
    margin-top: 25px;
    font-size: 16px;
    line-height: 26px;
    color: #505050;
    font-weight: 400;
}
.view-bio-txt {
    font-size: 16px;
    line-height: 26px;
    font-weight: 700;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 0%;
    right: 0%;
    transform: translate(0%, -50%);
    color: #fff;
    display: none;
    transition: 0.5s;
}
.leadership-image:hover img {
    opacity: .5;
}
.leadership-image:hover .view-bio-txt {
    display: block !important;
}


.custom-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    z-index: 9999;
    padding: 40px 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
}

.custom-popup .close-popup {
  position: absolute;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 30px !important;
  top: 0 !important;
  right: 0 !IMPORTANT;
  border-radius: 0 0 0 10px !important;
  padding: 5px 11px !important;
  background: #00a900;
  border: none !important;
}

.overlay {
    position: fixed;
    background: #000;
    width: 100%;
    height: 100%;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    opacity: 0.3;
    z-index: 1;
    display: none;
}

.popup-open .overlay {
    display: block;
    z-index: 9;
}

.custom-popup ol li a{
    color: #212121;
    padding-top: 6px;
    padding-bottom: 6px;
    font-weight: 500;
    display: inline-block;
    line-height: 28px;
    font-size: 16px;
}
.custom-popup ol li a:hover{
    color: #00a900;
}


.custom-popup h2 {
    color: #212121;
    text-align: center;
    text-transform: capitalize;
    font-size: 30px;
    line-height: 35px;
        margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 700;
}
