ul#tabs-nav {
    list-style: none;
    margin: 0;
    padding: 5px;
    overflow: auto;
}

#mf ul#tabs-nav {
    text-align: center;
}

li {
    text-align: -webkit-match-parent;
}

ul.tab2 li a, .active {
    background-color: #15416e;
    color: #fff !important;
}

ul#tabs-nav li {
    margin-right: 2px;
    padding: 6px 6px;
    cursor: pointer;
    font-size: 18px;
    background: #15416E;
    float: left;
    width: 19%;
    text-align: center;
    min-width: 230px;
}

#template15 ul#tabs-nav li {
    font-size: 18px;
    background: #15416E;
    float: none;
    width: inherit;
    min-width: inherit;
    display: inline-block;
    padding: 10px 20px;
    margin: 0px 10px;
}

#tabs-nav li a {
    text-decoration: none;
    color: #FFF;
}
#template15 ul#tabs-nav li.active, #template15 ul#tabs-nav li.active a, #template15 ul#tabs-nav li:hover, #template15 ul#tabs-nav li:hover a {
    color: #FFF !important;
    /*background: #18ba60 !important;*/
    padding-bottom: 10px;
}

ul#tabs-nav1 {
    list-style: none;
    margin: 0;
    padding: 5px;
    overflow: auto;
}

#template15 ul#tabs-nav1 {
    text-align: center;
}

ul.tab2 li a, .active {
    background-color: #15416e;
    color: #fff !important;
}

ul#tabs-nav1 li {
    margin-right: 2px;
    padding: 6px 6px;
    cursor: pointer;
    font-size: 18px;
    background: #e5e8ee;
    float: left;
    width: 19%;
    text-align: center;
    min-width: 230px;
}

#template15 ul#tabs-nav1 li {
    background: #ccc !important;
    border: 2px solid #ccc;
    display: inline-block;
    padding: 10px 20px;
    margin: auto 30px;
    width: inherit;
    max-width: inherit;
    float: none;
    display: inline-block;
}

#template15 ul#tabs-nav1 li.active, #template15 ul#tabs-nav1 li:hover {
    outline: 0;
    background-color: #18ba60 !important;
    border-color: #18ba60 !important;
}

#template15 ul#tabs-nav1 li.active, #template15 ul#tabs-nav1 li:hover {
    outline: 0;
    background-color: #18ba60 !important;
    border-color: #18ba60 !important;
}
#template15 #tabs-nav1 li a {
    color: #333;
}
#template15 #tabs-nav1 li.active a, #template15 #tabs-nav1 li:hover a {
    color: #fff;
}

.vertical-text {
    left: 30px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    padding-bottom: 11%;
    padding-top: 11%;
    font-size: 30px;
    color: #fff;
    float: left;
    margin-right: 0px;
    margin-left: -120px;
    background-color: #ccc;
    font-style: italic;
    font-weight: 550;
}


.home-blog .vertical-text {
    padding-top: 15%;
    padding-bottom: 15%;
    background-color: #ccc;
}

.home-blog .vertical-text-single{
    padding-top: 8%;
    padding-bottom: 8%;
    background-color: #ccc;
}

.newsletters .vertical-text {
    padding-top: 8%;
    padding-bottom: 8%;
    background-color: #ADD8E6;
}
.podcast .vertical-text {
    padding-top: 8%;
    padding-bottom: 8%;
    background-color: #90EE90;
}
.events .vertical-text {
    padding-top: 8%;
    padding-bottom: 8%;
    background-color: #F08080;
}

.code-pagination{
    display: flex;
    flex-wrap: wrap;
}

.code-pagination li{
    flex: 1 0 21%; /* Ensure consistent size */
    box-sizing: border-box;
    margin: 10px;
    max-width: 21%; /* Prevent stretching */
}

@media only screen and (max-width: 1366px){
    .vertical-text {
        left: 0px;
        margin-left: -40px;
        margin-right: 5px;
    }
}
