/*Columns*/
.columns-4 .management-grid-item {
    width: calc(25% - 30px);
}
.columns-3 .management-grid-item {
    width: calc(33.33333333333333% - 15px);
}
@media (max-width: 880px) {
    .management-grid:not(.pxl-portfolio-grid-layout3) {
        flex-wrap: wrap;
    }
    .management-grid-item {
        width: calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .management-grid-item {
        width: 100% !important;
    }
}


.management-grid {
    display: flex;
    gap: 40px 20px;
    flex-wrap: wrap;
}

.management-grid-item {
    border-radius: 0;
    padding: 28px;
    padding-bottom: 22px;
    position: relative;
    background-color: #FAFAFA;
    border-style: none;
    cursor: pointer;
}

.management-item-image {
    position: relative;
    text-align: center;
}

.ninetenowtoo-item-image::before {
    background-color: #EBF2E880;
}

.management-item-title{
    margin-bottom: 0;
}
.mgt_desc .img_wrap,
.management-item-image img,
.management-item-image,
.management-item-image a {
    position: relative;
}

.mgt_desc .img_wrap:before,
.management-item-image::before {
    content: '';
    position: absolute;
    height: 82.8%;
    width: 100%;
    bottom: 0;
    left: 0;
    border-radius: 0;
    transition: background-size 0.6s ease, background-position 0.6s ease;
    background-size: 100% 100%;
    background-position: center;
    background-color: #EBF2E880;
}

.management-item-image img {
    width: 100%;
    height: auto;
}

@media (max-width: 880px) {
    .management-grid .management-grid-item {
        width: calc(50% - 10px) !important;
    }

}

#overlay {
    display: none;
    cursor: pointer;
    position: fixed;
    background: #181818;
    opacity: .7;
    -webkit-opacity: .7;
    -moz-opacity: .7;
    z-index: 10003;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
.mgt_desc {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 800px;
    width: 100%;
    padding: 15px;
    z-index: 10004;
  }
.mgt_desc > div {
    background: #fff;
    max-width: 800px;
    padding: 1px 10px 1px 1px;
}
.mgt-title {
    font-size: 16px;
}
.management-item-content {
    margin-top: 10px;
}

.mgt_desc .d-flex {
    display: flex;
    gap: 25px;
    position: relative;
    cursor: default;
}
.mgt_desc .hdg {
    display: block;
    width: 100%;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.15;
    letter-spacing: -1px;
}
.mgt_desc .desc p {
    margin-bottom: 0;
}
.mgt_desc .btn-close-mgt {
    position: absolute;
    top: 0;
    right: 0;
    background: url(../images/x_button.png) center center no-repeat;
    height: 50px;
    width: 50px;
    cursor: pointer;
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
}
.img_wrap .img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
    position: relative;
}
.mgt_desc .img_wrap {
    display: flex;
    padding: 0;
    background: radial-gradient(at center center, #FFFFFF 0%, #E8E8E8 100%);
}
.mgt_desc .img_wrap img {
    margin-top: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 479px) {
    .mgt_desc .desc {
        padding-bottom: 20px;
    }
}



.mgt_desc .mgt_info {
    flex: 1;
    padding-top: 10px;
}
.mgt_desc .mgt_info .position,
.mgt_desc .mgt_info .hdg{
    padding-right: 30px;
}
.mgt_desc .mgt_info .position {
    margin-bottom: 12px;
    color: #1a1a1a;
}

.mgt_desc .img_wrap img {
    width: 100%;
    height: auto;
}
@media (min-width: 0px) {
    .mgt_desc .img_wrap {
        width: 110px;
    }
    .mgt_desc .hdg {
        font-size: 24px;
    }
     
}
@media (min-width: 375px) {
    .mgt_desc .img_wrap {
        width: 120px;
    }
  
}
@media (min-width: 533px) {
    .mgt_desc .img_wrap {
        width: 140px;
    }
}
@media (min-width: 568px) {
    .mgt_desc .img_wrap {
        width: 160px;
    }
}
@media (min-width: 720px) {
    .mgt_desc .img_wrap {
        width: 220px;
    }
    .mgt_desc .hdg  {
        font-size: 30px;
    }
}
@media (min-width: 736px) {
    .mgt_desc .mgt_info {
        padding: 20px 20px 20px 0;
    }
   
}

@media (max-width: 479px) {
    .mgt_desc .desc {
        max-height: 250px !important;
        overflow-y: auto;
        padding-right: 8px;
    }
}
