/* NSF - GLOBAL */

.nsfw-auto {width:auto;}
.nsfw-10 {width:10%;}
.nsfw-20 {width:20%;}
.nsfw-30 {width:30%;}
.nsfw-40 {width:40%;}
.nsfw-50 {width:50%;}
.nsfw-60 {width:60%;}
.nsfw-70 {width:70%;}
.nsfw-80 {width:80%;}
.nsfw-90 {width:90%;}
.nsfw-100 {width:100%;}

.t4-offcanvas .t4-off-canvas-header {
    background: #347928 !important;
}
.t4-offcanvas .t4-off-canvas-header a img {
    float: left;
}
.t4-offcanvas .t4-off-canvas-header .nsf-site-name {
    font-size: 2rem;
    float: left;
    line-height: 1;
}
.t4-offcanvas .t4-off-canvas-header .close span {
    color: #fff !important;
}
.t4-offcanvas .t4-off-canvas-body {
    padding-top: 0;
}
.off-canvas .navbar-nav {
    display: block;
}
.off-canvas .dropdown-menu {
    background-color: transparent !important;
}
.off-canvas .menu-item-title {
    width: 100%;
    text-wrap: auto;
}

/* .nsf-no-img {
    box-shadow: #ddd 0px 0px 6px;
} */

.nsf-article-img {
    width: 100%;
}

.nsfBgnotif {
    background-color: #FDFED6;
}

.nsf-flex-view:hover {
    background-color: #e9ecef;
}

/* main menu */
.header-wrap,
.t4-navbar, 
.t4-navbar .navbar, 
.t4-navbar .nav-item.parent {
    position: static;
}
.t4-navbar .nav-item.parent .mega-dropdown-menu {
    width: 100% !important;
    margin: 0 !important;
    left: 0;
}
.mega-dropdown-menu .nav-item .nav-header {
    text-transform: uppercase;
    font-weight: 500;
    color: #E8DF70 !important;
}
.mega-dropdown-menu .nav-item .menu-item-title {
    font-weight: normal;
}
/* main menu */

.nsf-main-banner {
    border-bottom: 1px solid #DDD;
}
nsf-main-banner .row > * {
    padding: 0;
    margin: 0;
}

.home-page .nsf-main-body,
.home-page .t4-news {
    margin-top: 0;
    padding-top: 0;
}

/* #nav-tabContent, #nav-tabContent1 {
    width: 100%;
} */

@media only screen and (max-width: 480px) {
    .nsf-col-xs-2 {
        width: 50%;
    }
}
@media only screen and (min-width: 481px) {
    .nsf-col-4 {
        width: 25%;
    }
}
@media only screen and (max-width: 767px) {
    .d-nsfDisplay {display: none;}
    .m-nsfDisplay {display: flex; align-items: center;}
    .nsf-site-name {
        font-size: 1.8rem;
    }
    .nsf-class .items-row .item .item-inner > figure {
        min-height: 5rem;
        max-height: 5rem;
    }
    .nsfw-boot {width: 100%;}
}
@media only screen and (min-width: 768px) {
    .d-nsfDisplay {display: flex; align-items: center;}
    .m-nsfDisplay {display: none;}
    .nsf-site-name {
        font-size: 2.8rem;
    }
    .nsf-class .items-row .item .item-inner > figure {
        min-height: 8.5rem;
        max-height: 8.5rem;
    }
    .nsfw-boot {width: 87%;}
}
@media screen and (max-width: 885px) and (min-width: 768px) {
    .nsf-class .items-row .item .item-inner > figure {
        min-height: 4.5rem;
        max-height: 4.5rem;
    }
}
@media screen and (max-width: 885px) {
    .newsflash-image {
        height: 98px !important;
    }
}
@media screen and (max-width: 1024px) {
    .navbar-expand-xl {display: none;}
    .btn-group, .btn-group select {width: 100%;}
    .nsf-flex-view {
        align-items: left;
        flex-direction: column;
    }
    .text-nsf-mod-heading span {display: block;}
    .text-nsf-mod-heading span::before,
    .text-nsf-mod-heading span::after {display: none;}
}
@media screen and (min-width: 1024px) {
    #rssocial-111 .rssocial-icons > li {
        font-size: 20px !important;
    }
}
@media screen and (min-width: 1025px) {
    .t4-header-r, t4-header-l {
        display: none !important;
    }
    .text-nsf-mod-heading {
        font-size: 2rem;
    }
    .nsf-flex-view {
        align-items: center;
        flex-direction: row;
    }
    .text-nsf-mod-heading span {display: grid;}
    .text-nsf-mod-heading span::before,
    .text-nsf-mod-heading span::after {display: block;}
}

.article-body .nav-pills .nav-link {
    position: relative;
}

.category-desc {
    padding: 0;
    border: none;
}



/****************/

.t4-content-inner {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.t4-main-body {
    flex-grow: 1;
}

.dropdown-menu {
    background: #2c6b02 !important;
}

.nsf-site-name {
    font-weight: bolder;
    text-transform: uppercase;
    padding: 0 0.5rem;
    background: linear-gradient(to bottom, #CCA11D, #F1D538, #CCA11D); /* Example for vertical gradient from red to blue */
      -webkit-background-clip: text; /* For Safari/Chrome */
      background-clip: text;
      color: transparent;
      -webkit-filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.5));
          filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.5));
}


.t4-header .header-block {
    background-color: #347928;
}

.nsf-class-leading {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 2.5rem;
}
.nsf-class-leading .blog-item .item-content {
    padding: 0;
}
.nsf-class-leading .blog-item .item-content figure {
    /*height: 15rem;*/
    text-align: center;
}
.nsf-class-leading .blog-item .item-content figure img {

}
.nsf-class-leading .blog-item .item-content .page-header h2 {
    width: 100%;
    font-size: 18px !important;
    font-weight: var(--heading-font-style) !important;
    line-height: var(--heading-line-height) !important;
    text-transform: none;
    text-align: center;
    margin-bottom: 0.5rem !important;
    padding: 0;
}
.nsf-class-leading .blog-item .item-content .page-header h2::before,
.nsf-class-leading .blog-item .item-content .page-header h2::after {
    display: none;
}
.nsf-class {}

.nsf-class .items-row .item .item-inner > figure {
    display: flex;
    align-items: center;
}

.nsf-mod-section {}

.text-nsf-mod-heading {
    text-transform: uppercase;
}
.text-nsf-mod-heading span {
    letter-spacing:1px;
    place-items: center;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 20px 0;
    grid-gap: 22px;
    width: 100%;
}
.text-nsf-mod-heading span::before {
    content: " ";
    height: 0;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-right: 20rem solid #347928;
    justify-self:stretch;
}
.text-nsf-mod-heading span::after {
    content: " ";
    height: 0;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-left: 20rem solid #347928;
    justify-self:stretch;
}

.newsflash-image,
.item-inner figure {
    margin: 0 0 0.2rem;
    height: 100%;
    max-height: 10rem;
    box-shadow: #ddd 0px 0px 6px;
}
.newsflash-image img {
    height: 100%;
    width: 100%;
}
.newsflash-title {
    font-weight: 400;
}

.btn-nsf-view-all {
    background-color: #84B411;
    color: #FFFFFF;
    cursor: pointer;
}
.btn-nsf-view-all:hover {
    border: 1px solid #aaaaaa;
}

.page-header {
    position: relative;
    width: 100%;
}
.page-header h1, .page-header h2 {
    font-size: var(--h2-font-size) !important;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5em;
    padding-bottom: 10px;
    margin-bottom: 2rem !important;
    position: relative;
    text-align: left;
    float: left;
    text-transform: uppercase;
}
.page-header h1::before, .page-header h2::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 5px;
    width: 30%;
    background-color: #347928;
}
.page-header h1::after, .page-header h2::after  {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    height: 1px;
    width: 100%;
    background-color: #347928;
}

.nsf-headline {
    font-size: var(--h5-font-size) !important;
}
.nsf-headline a {
    color: var(--body-link-color);
    font-weight: var(--body-font-weight);
}

.article-body {
    width: 100%;
}
.nsfContent-table {
    width: 100%;
    border-width: 1px;
    height: auto;
    border-collapse: collapse;
}
.nsfContent-table tr {}
.nsfContent-table tr td, .nsfContent-table tr th {
    border: 1px solid gray;
}

.nsf-career-list {}
.nsf-career-list tr {}
.nsf-career-list tr td {
    padding: 1.5rem 1rem;
}

.nsf-directors-img {
    display: none;
}

/* Style tab links */
.nav .nav-item button.active,
.nav .nav-link.active {
  background-color: transparent;
  color: var(--color-danger) !important;
}
.nav .nav-item button.active::after,
.nav .nav-link.active::after {
  content: "";
  border-right: 4px solid var(--color-danger);
  height: 100%;
  position: absolute;
  right: -1px;
  top: 0;
  border-radius: 5px 0 0 5px;
}

.t4-subscription {
    background-color: #DEDB67;
    border-top: 1px solid #E5E5E5;
    padding: 2rem 0;
    margin-top: 3rem;
}
.t4-subscription .modns {
    width: 60%;
    margin: 0 auto;
}
.t4-subscription .modns .input-group input.modns {
    margin: 0 !important;
    border: 1px solid #ccc;
}

.t4-footnav > a {
    cursor: pointer !important;
}

.nsf-footernav-3 nav ul li:last-child {
    display: none;
}

.rssocial-center {
    margin: 1rem 0 !important;
    text-align: left !important;
}