.TPOTabWrapper{
    margin-top:15px;
}

.TPOTabWrapper .tabbutton {
    clip-path: polygon(0 32%, 100% 0, 100% 100%, 0% 100%);
    background: var(--bkgd-color);
    color: black;
    padding: 40px;
    padding-top: 70px;
    text-transform: uppercase;
    font-weight: 600;
    font-family: 'Futura PT';
    border: none;
    height: 180px;
    width: 100%;
    position: relative;
    border-bottom: unset;
}
/* .OnQServices::before {
    position: absolute;
    background: #F3FBFF;
    height: 100%;
    width: 100%;
    content: "";
    top: 0;
    z-index: -1;
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0% 100%);
  } */
.OnQServices {
    position: relative;
}
#TPOOurServices h2 {
    padding-top: 4rem;
}
.activetabtpo{
    background:var(--NavyBlue) !important;
    color:white !important;
}

.fancygrey{
    position: relative;
}

.fancygrey:after {
    content: "";
    background: #80808014;
    width: 88px;
    position: absolute;
    clip-path: polygon(0 0, 0% 100%, 100% 100%);
    z-index: 68;
    height: 180px;
    top: 0;
    right: -87px;
}

.tabsheaderstpo {
    margin-top: 15px;
    max-width: 50%;
    position: relative;
    padding-bottom: .5rem;
}
.tabsheaderstpo h2 {
    padding-left: 1rem;
    margin: 0;
    line-height: 1.1;
  }
.tabsheaderstpo::before {
    position: absolute;
    border-bottom: solid 1px var(--PumpkinSpice);
    border-left: solid 1px var(--PumpkinSpice);
    content: "";
    height: 41px;
    width: 100%;
    bottom: 0;
}
.tabsheaderstpo span {
    padding-left: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}
.section1wrappertpo,.section2wrappertpo{
    font-weight: 600;
    padding:20px;
    height: 100%;
}

/* .section2wrappertpo {
    background: var(--NavyBlue);
    padding: 2rem 2rem 3rem 2rem;
    margin-top: 2rem;
  } */

.section2wrappertpo p {
    color: white;
    font-size: 20px;
}

.section1wrappertpo p {
    font-weight: 300;
    font-size: 34px;
    font-family: 'Futura PT';
}

.hidemetpotabs{
    display:none;
}
#TPOOurServices{
    padding: 49px;
}

.OnQServices{
    position: relative;
}

.tpo-onqd-img{
    object-fit: cover;
    }

    .TPOTabHeader {
        width: 65%;
    }

@media (max-width: 968px) { 

    .TPOTabWrapper .tabbutton {
        clip-path: unset;
        background: var(--bkgd-color);
        color: black;
        padding: 10px;
        padding-top: 10px;
        text-transform: uppercase;
        font-weight: 600;
        font-family: 'Futura PT';
        border: none;
        height: 50px;
        width: 100%;
        position: relative;
        border-bottom: solid thin var(--RichBlack);
    }

    .tabsheaderstpo {        
        max-width: 90%;       
    }

    .fancygrey:after {
        content: "";
        background: unset;
        width: unset;
        position: unset;
        clip-path: unset;
        z-index: unset;
        height: unset;
        top: unset;
        right: unset;
    }

    .section2wrappertpo img{
        display: block;    margin: 0 auto;    padding: 52px;    padding-top: 0;  
    }
 }
 @media (max-width:768px) { 
    #TPOOurServices h2 {
        padding-top: 0;
      }

    .section2wrappertpo img{
        display: block;    margin: 0 auto;    padding: 52px;    padding-top: 0;    margin-top: 5px;
    }
    #TPOOurServices{
        padding:0;
    }
    .section2wrappertpo img {
        padding: unset;
        padding-top: 7rem;
    }
 }
 @media (max-width:580px) { 
    .section2wrappertpo img {
        padding-top: 1rem;
    }
 .OnQServices::before {
    clip-path: unset;
    }
  }

