/* General Styles */

.tablinks-section{
  position:relative; 
  /*max-width: 1440px;
    margin-left: auto;
    margin-right: auto;*/
    background: #FFF;
    margin-bottom: 2rem;
    margin-top: 2rem;
       
  background-color: #faf9f8;
}
.ppm-online-services-cards {
    padding-top: 2.5rem;
    display: block;
    max-width: 1184px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 2.5rem;
}


.card-container {
    padding-left: 12px;
    padding-right: 12px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    max-width: 1440px;
}

.ppm-online-services-cards__item {
    list-style: none;
    height: 109px;
}

.ppm-online-services-card {
    transition: box-shadow .25s, border-color .25s;
    position: relative;
    height: 100%;
    display: block;
}

/* List and Items */
.ppm-online-services-cards__list {
    display: grid;
    grid-gap: 0.5rem;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-left: 0;
    margin-top: 0;
}

/* Link Styles */
.ppm-online-services-card__link {
    display: flex;
    align-items: center;
    height: 116px;
    padding: 0.5rem;
    color: #666;
    text-decoration: none;
    background-color: #fff;
    border: 2px solid #cbcbcb;
    border-radius: 3px;
    transition: all .15s;
    flex-direction: column;
    justify-content: center;
}

.ppm-online-services-card__link:focus,
.ppm-online-services-card__link:hover {
    color: #000;
    border: 2px solid #000;
    text-decoration: none;
}

.ppm-online-services-card__link:hover {
    box-shadow: 0 0 5px 0 rgba(0,0,0,.3);
}

.ppm-online-services-card__link:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* SVG Icon and Label */
.ppm-online-services-card__svg-icon > img{
  width:32px;
  height:32px;

}
.ppm-online-services-card__svg-icon,
.process-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    fill: #00968f;
        flex: 0 0 auto;
}

.ppm-online-services-card__label {
    font-size: 0.8125rem;
    line-height: 1.5;
    transition: color .25s;
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
    font-weight: 400;
}

/* Responsive Styles */
@media (min-width: 600px) {
    .ppm-online-services-card__label {
        text-align: center;
    }

    .ppm-online-services-cards__list {
        grid-template-columns: repeat(3, minmax(0,1fr));
        grid-gap: 1rem;
        gap: 1rem;
    }

    .ppm-online-services-card__svg-icon {
        width: 2rem !important;
        height: 2rem !important;
        margin-right: auto;
        margin-bottom: .5rem;
        margin-left: auto;
    }
}

@media (min-width: 1024px) {
    .ppm-online-services-cards__list {
        grid-template-columns: repeat(6, minmax(0,1fr));
    }
}


.tablinks{
  font-size: 18px;
font-style: normal;
font-weight: 400;
line-height: 150%; /* 27px */
letter-spacing: 0.022px;
background-color: #fff; /* Or any other styles you prefer */
    color: #666;
}

.tablinks-title-container{
    display: flex;
    justify-content: flex-start;
    max-width: 1184px;
    /* padding-left: 20rem; */
    margin-left: auto;
    margin-right: auto;
}

.tablinks-title{
  font-size: 28px;
font-style: normal;
font-weight: 700;
line-height: 120%; /* 33.6px */
letter-spacing: 0.034px;
  color: #000;
}

.tablinks-container{
    display: flex;
padding: 18.5px 22px 22.5px 22px;
justify-content: center;
align-items: center;
  position:relative;
  
}
.tablinks-wrapper{
    margin-bottom: -7px;
    position: relative;
    background-color: white;

}

.testlinks{
overflow-anchor: auto;
}

.testlinks{
      display: flex;
    flex-direction: row;
    position: relative;
        max-width: 1184px;
    margin-left: auto;
    margin-right: auto;
}
}


.tablinks-{
  /*max-width: 1440px;
  margin-left: auto;
  margin-right: auto;*/

  background-color: #FAF9F8;

}
.tablinks-container.active {
    border-right: 2px solid #ccc;
    border-left: 2px solid #ccc;
    border-top: 4px solid #fc0;
    border-bottom: 2px solid #FAF9F8;
    background-color: #FAF9F8;
    /* Add other styling properties as needed */
}



.tablinks.active{
  background-color: #FAF9F8;
  color: #000;
  font-weight: 700;
}

.tablinks-container.active:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px; 
    height: 3px; 
    background-color: #faf9f8;  
        z-index: 1;
}
.cards-container-global{
  background-color: #faf9f8;
  border-bottom: 2px solid #ccc;
}
.ppm-online-services-cards, .cards-container-global {
    display: none;
}
.tablinks-wrapper:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 7px; 
    height: 2px; 
    background-color: #ccc; 
}

    .tablinks-title {
        padding-bottom: 16px;

}
@media(max-width: 1250px) {
  .testlinks{
    padding-left: 2rem;
    
  }
  .cards-container-global{
    padding-left:2rem;
  }
}

@media (max-width: 600px) {
  .holder-tablinks{
    min-height: 550px;
  }
  .ppm-online-services-card__svg-icon > img{
    width: 18px;
    height: 18px;
  }
  .tablinks-container.active:after{
        bottom: 5px;
  }
  .cards-container-global:after{
       content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;

    height: 2px; 
    background-color: #ccc; 
  }
   .testlinks{
    padding-left: 0px;
        overflow-x: auto;
    white-space: nowrap;
  }
  .cards-container-global{
    padding-left: 0px;
  }
  /*.tablinks-wrapper:after {
    height: 2px;
}*/

    .card-container {
        padding-left: 0;
        padding-right: 0;
    }
    .tablinks-title {
    padding-left: 16px;
    font-size: 24px;

     

}
    .ppm-online-services-cards__list {
    margin-bottom: 1rem;
    padding-left: 0;
    margin-top: 0;
    max-height: 397px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

    .ppm-online-services-card__link {
        flex-direction: row;
        height: auto;
        max-width: 211px;
        height: 73px;
        font-size: 12px;
    }
  .ppm-online-services-cards__list{
    padding-left: 16px;
    padding-right: 16px;
  }
  .ppm-online-services-cards__item{
      height: auto;  
  }

    .ppm-online-services-card__label {
        margin-left: 15px;
        font-size: 12px!important;
      max-width:100px;
    }
    .tablinks {
    font-size: 15px;
    
}
    .tablinks-container.active, .tablinks-section {
    
    max-height: 56px;
}
    
}


@media (max-width: 600px) {
  
    .tablinks-container.active, .tablinks-section {
        min-height: 70px; /* Increase if necessary */
    }
}
@media (max-width: 600px) {
    .testlinks {
        overflow-x: auto; /* Allows horizontal scrolling */
        white-space: nowrap; /* Keeps elements in a single line */
    }
   
}

@media (max-width: 600px) {
    .tablinks-title {
        padding-left: 16px;
        padding-bottom: 16px; /* Ensures space below the title */
    }
    .card-container {
        padding-left: 0;
        padding-right: 0;
    }
    .ppm-online-services-cards__list {
        padding-left: 16px;
        padding-right: 16px;
    }
}
@media (max-width: 600px) {
    .tablinks-title {
        padding-left: 16px;
        padding-bottom: 16px; /* Ensures space below the title */
    }
    .card-container {
        padding-left: 0;
        padding-right: 0;
    }
    .ppm-online-services-cards__list {
        padding-left: 16px;
        padding-right: 16px;
    }
}
@media (max-width: 600px) {
    .ppm-online-services-card__link {
        flex-direction: row; /* Adjust based on design */
        height: auto; /* Allows content to determine height */
    
    }
    .ppm-online-services-card__label {
        margin-left: 15px;
        font-size: 12px;
        max-width: 100px; /* Prevents text overflow */
    }
    .ppm-online-services-card__svg-icon > img {
        width: 18px; /* Adjusted for smaller screens */
        height: 18px;
    }
}
.cards-container-global, .ppm-online-services-cards {
    display: block; /* Changed from 'none' to 'block' or 'flex' as needed */
}

@media (max-width: 600px) {
    .ppm-online-services-cards__list {
        grid-template-columns: repeat(2, 1fr); /* Ensures two columns with equal width */
        grid-gap: 1rem; /* Optional: Adjusts spacing between the columns */
        gap: 1rem; /* Same as above, for consistency */
        display: grid;
    }
}

