.tabbed-section {
    background: #d6e8ee;
    color: #000;
    padding: 20px 30px 30px 30px;
    margin-top: 50px;
}
.tabbed-section > h2 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 2rem;
    color:#003366;
}
.tabbed-section .nav-wrapper {
    position: relative;
    margin-left: -40px;
    margin-right: -40px;
    padding-left: 40px;
    padding-right: 40px;
}
.tabbed-section .nav {
    margin-top: 20px;
    background: #001B3B;
    border-bottom: 5px solid #ff6600;
    overflow-y: hidden;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    margin-left: -40px;
    margin-right: -40px;
    padding-left: 30px;
    padding-right: 30px;
}
.tabbed-section .nav-wrapper::before, .tabbed-section .nav-wrapper::after {
    content: "";
    position: absolute;
    width: 20px; /* Adjust the width to your preference */
    height: 20px; /* Adjust the height to your preference */
    background-color: #001B3B; /* Same as the nav background color */
    z-index: -1; /* Ensure it appears behind the nav */
}
.tabbed-section .nav-wrapper::before {
    left: 0;
    /*clip-path: polygon(0 100%, 0 0, 100% 100%);*/
    clip-path: polygon(100% 0%, 150% 100%, 5% 0%);
    bottom: -19px; /* Adjust the position to align with the border-bottom */
}
.tabbed-section .nav-wrapper::after {
    right: 0;
    clip-path: polygon(0 0, 5% 60%, 100% 0);
    bottom: -19px;
}
.tabbed-section .nav li:not(:last-child) {
    border-right: 1px solid #3F3F3D;
}
.tabbed-section .nav-tabs .nav-link {
    color: white;
    font-size: 1.125rem;
    border-radius: 0;
    border: none;
    height: 100%;
}
.tabbed-section .nav-tabs .nav-link.active, .tabbed-section .nav-tabs .nav-link:hover, .tabbed-section .nav-tabs .nav-link:focus {
    background: #ff6600;
    border: none;
    color: #001B3B;
    border-radius: 0;
    font-weight: bold;
}
.tabbed-section .tab-content {
    margin-top: 15px;
}
@media only screen and (min-width:992px) {
    .tabbed-section .nav {
        justify-content: center;
    }
}