/***********************************************************/ 
/*******************  RESPONSIVE STYLING *******************/
/********************** COLUMNS BLOCK **********************/
/***********************************************************/  

.columnscontainerresearchgroups{
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 14px;
}

.axe1{
    box-sizing: border-box;
    border: 10px solid transparent;
}

.columnscontainerresearchgroups {
    background: linear-gradient(to right, #2e2d62, #090914);
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.columnscontainerresearchgroups .axe1 {
    float: left;
    box-sizing: border-box;
}












.axe2{
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.axe2:last-child{
    padding-right: 100px;
}

@media (min-width: 899px) {
.axe1 img{
    height: 300px;
    width: 100%;
    transition: transform 0.3s ease-in-out;
    object-fit: cover;
}
}

@media (max-width: 899px) {
    .axe1 img{
        height: 200px;
        width: 100%;
        transition: transform 0.3s ease-in-out;
        object-fit: cover;
    }
    }

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Set a z-index higher than the image to ensure it's above the image */
}



@media (max-width: 899px) {
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2; /* Set a z-index higher than the image to ensure it's above the image */
}
}



.axe1:hover{
cursor: pointer;
}

@media (min-width: 1400px) {
    .axe1 {
        height: 300px;
        width: calc(100% / 5);
        overflow: hidden;
        position: relative;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .axe1 {
        height: 300px;
        width: calc(100% / 4);
        overflow: hidden;
        position: relative;
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .axe1 {
        height: 300px;
        width: calc(100% / 3);
        overflow: hidden;
        position: relative;
    }
}

@media (max-width: 899px) {
    .axe1 {
        height: 200px;
        width: calc(100% / 2);
        overflow: hidden;
        position: relative;
    }
}

.axe1:hover img {
    transform: scale(1.2); /* Adjust the scale factor as needed */
  }

.relative-container h3:hover{
    color: #ff6900!important;
}

.main-containersimpleresearchgroups{
background: url(/wp-content/uploads/bgww5-scaled.webp), linear-gradient(to right, #2e2d62, #090914);
    background-position: center;
    background-size: contain;
}

  .relative-container {
    position: relative;
}

.post-title {
    opacity: 0;
  }

  .team-member {
    position: absolute;
    top: calc(50% - 5px); /* Subtracting 20px from 50% */
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff; /* Adjust the color as needed */
    z-index: 3;
    font-family: 'Moderat Light', 'Roboto Light';
    line-height: 1.2;
    text-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
    padding-bottom: 3px;
  }

  .team-member p {

    font-family: 'Moderat Extended Bold', 'Roboto Bold';
    margin: 0px;
    padding-bottom: 10px;
  }

/***********************************************************/ 


.image-container-researchgroup{
display: flex;
    align-items: center;
    justify-content: center;
}



.child-pagefacilities-researchgroups {
    display: block;
    z-index: 4; /* Set a higher z-index to ensure the text is above the gradient overlay */
}

.child-pagefacilities-researchgroups img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    z-index: 1;
}

.child-pagefacilities-researchgroups span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 3; /* Set a higher z-index to ensure the text is above the gradient overlay and image */
    font-size: 36px;
    font-family: 'Moderat Extended Bold', 'Roboto Bold';
    line-height: 1.2;
}


/* Text */

@media (min-width: 1200px) {
h2.block-titlescolumn{
    font-size: 36px;
    font-family: 'Moderat Extended Bold', 'Roboto Bold';
    line-height: 1.2;
    margin: 0px;
}
}

@media (min-width: 1200px) {
    h2.block-titlesimplefacilities{
        padding-top: 20px;
            font-size: 85px;
            font-family: 'Moderat Light', 'Roboto Light';
            margin: 0px;
        }
}

@media (min-width: 900px) and (max-width: 1200px) {
    h2.block-titlesimplefacilities{
        padding-top: 20px;
            font-size: 75px;
            font-family: 'Moderat Light', 'Roboto Light';
            margin: 0px;
        }
}

@media (min-width: 420px) and (max-width: 900px) {
    h2.block-titlesimplefacilities{
        padding-top: 20px;
            font-size: 65px;
            font-family: 'Moderat Light', 'Roboto Light';
            margin: 0px;
        }
}

@media (max-width: 420px) {
    h2.block-titlesimplefacilities{
        padding-top: 25px;
            font-size: 45px;
            font-family: 'Moderat Light', 'Roboto Light';
            margin: 0px;
        }
}

@media (min-width: 1200px) {
    h3.block-secondtitlesimplefacilities{
        padding-bottom: 80px;
        padding-top: 20px;
        font-size: 36px;
    font-family: 'Moderat Extended Bold', 'Roboto Bold';
    line-height: 1.0;
        margin: auto;
    width: 1000px;
    }
}

@media (min-width: 1200px) {
    h3.block-secondtitlesimplefacilities{
        padding-bottom: 80px;
        padding-top: 20px;
        font-size: 32px;
    font-family: 'Moderat Extended Bold', 'Roboto Bold';
    line-height: 1.0;
        margin: auto;
        padding-left: 24px;
        padding-right: 24px;
    }
}
