﻿.hidden {
    display: none;
}

.Tara h1, .Tara h2, .Tara h3, .Tara h4, .Tara h5, .Tara h6,.Tara p,.Tara .form-group,.Tara .form-group span,.Tara p label {
    font-family: 'Calibri', sans-serif;
    font-size:1.25rem;
    line-height: 1.5rem;
}

h1, h3, h4, h5, h6 {
    /*font-family: Times, serif, Times New Roman;*/
    font-family: 'Ubuntu', sans-serif;
}

    h2.slider-intro, h2.slider-intro-3, h3.slider-intro-2, .grantee-sections h3, .grantee-all h3 {
        font-family: Times, serif, Times New Roman;
    }

h2 {
    font-family: 'Fenix', serif, Times;
}

    h2.fenix {
        font-family: 'Fenix', serif;
    }

    h2.merriweather {
        font-family: 'Merriweather', serif;
    }

    h2.merrisans {
        font-family: 'Merriweather Sans', sans-serif;
    }

.subpage h1 {
    font-size: 2.5rem;
    font-family: 'Fenix', serif, Times;
    margin-bottom: 45px;
    margin-top: 5px;
}

.items-contain h6 {
    font-family: 'Ubuntu', serif, Times;
    text-align: center;
}

.head-style {
    background: #138496;
    border-radius: 5px;
}

#About h3 {
    font-family: 'Fenix';
}

body {
    overflow-x: hidden;
    /*font-family: 'Open Sans', sans-serif;*/
    font-family: 'Ubuntu', sans-serif;
}

.popover-header, .popover-body, .bs-popover-right .arrow, .bs-popover-auto[x-placement^="right"] .arrow {
    display: none;
    visibility: hidden;
}

a {
    color: #0056b3;
}

nav.navbar.navbar-expand-sm.navbar-light.fixed-top {
    top: 122px;
    background: #ffffff;
}

body, html {
    height: 100%;
    min-height: 75rem;
    padding-top: 4.5rem;
    min-height: 1px;
}

label.hidden {
    display: none;
}

img.tag-middle-image.expand-tag.objective-img, img.right-tag-images, img.tag-images {
    cursor: pointer;
}

html, body {
    height: 100%;
}

.tag-info {
    color: #fff;
    position: absolute;
    background: #136396;
    text-shadow: 3px 3px 6px #000;
    width: 345px;
    font-size: 0.9rem;
    padding: 10px;
    box-shadow: 2px 7px 9px #000;
    z-index: 9;
    margin-top: 10px;
    line-height: 1.14em;
}

.tag-middle {
    left: 50%;
}

.tag-left {
    left: 0;
}

.tag-right {
    right: 0;
}

.tag-below {
    margin-left: 110px;
}

.carousel, .item, .active {
    /* height: 100%; */
    overflow: hidden;
    height: 1000px;
}

.grantee-sections h3, .grantee-all h3 {
    text-shadow: 3px 3px 9px #000;
}

.info-container .info-circle {
    max-width: 340px;
    position: absolute;
    top: 30px;
    left: 50%;
    -webkit-transform: translate(-50%,0);
    -moz-transform: translate(-50%,0);
    transform: translate(-50%,0);
    z-index: 0;
}

.carousel-inner {
    height: 100%;
}

.subpage > h1 {
    margin-bottom: 1.2rem;
}

.flex-container {
    display: flex;
}

.footer-top {
    padding: 25px 0;
    padding-bottom: 0;
}

h1.COAP {
    color: #264f8b;
    text-align: center;
}

    h1.COAP abbr {
        border-bottom: none;
        text-decoration: none;
    }

.bja-logo {
    max-width: 100%;
    height: 7.3rem;
    margin-right: 2rem;
}

.float-left-disclaimer {
    float: left;
}
/*Federal intiatives*/
.federal-images {
    width: 135px;
    float: right;
    border-radius: 20px;
    border: solid 1px #aaa;
    box-shadow: 0px 0px 7px #aaa;
    margin-bottom: 18px;
}

h5.mb-0 button.btn.btn-link {
    font-size: 1.2rem;
}

.margin-list {
    margin-left: 100px;
}

.listing ul {
    margin-left: 85px;
}

.listing li {
    list-style-type: none;
}
/*TTA*/
section.tta-section {
    margin-bottom: 2rem;
}

a.special-link {
    border: #137996 solid 1px;
    padding: .8rem;
    display: inline-block;
    margin-left: 2rem;
    font-size: 0.8rem;
    color: #137996;
    transition: color 0.15s ease-in-out
}

    a.special-link:hover {
        color: #fff;
        text-decoration: none;
        background-color: #4293AB;
        transition: color 0.15s ease-in-out
    }
/**General layout structure**/
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto {
    float: left;
}
/*Footer*/
.footer-bottom {
    height: 3rem;
    background: #d2d6d9;
}

    .footer-bottom p.small-container.col-md-12 {
        padding-top: .7rem;
    }

p.disclaimer {
    margin-top: 0.2rem;
    margin-bottom: 4rem;
    font-size: .9rem;
}

span.displaimer-title {
    color: #264f8b;
    font-size: 1.4rem;
}
/*Navigation _Layout*/
.logo-image {
    width: 38rem;
    margin-top: 1.2rem;
}

ul.navbar-nav {
    font-size: 1.2rem;
    width: 100%;
    background-color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.navbar-light .navbar-nav .nav-link {
    color: #d2d3d4;
}

abbr[title], abbr[data-original-title] {
    text-decoration: none;
    /*border-bottom: 1px dotted black;*/
    border-bottom: none;
    cursor: help;
    /* border-bottom: 0; */
}

.tta {
    line-height: 1.0rem;
}

ul.navbar-nav {
    padding-top: 15px;
}

.navbar-expand-sm .navbar-nav {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

ul.navbar-nav {
    background-color: transparent;
    padding-top: 0;
}

ul.navbar-nav {
    font-size: 1rem;
    width: 100%;
    background-color: #f8f9fa;
}

nav.navbar.navbar-expand-xl.navbar-light.fixed-top {
    padding: 0px;
    /*margin-top: -30px;*/
}

.nav-wrapper {
    height: 90px;
    margin-top: 0px;
    padding-bottom: 4px;
    width: 100%;
}

img.bja-logo-2 {
    width: 12em;
    margin-right: 14rem;
    margin-top: 1rem;
    float: right;
}

.logo-image {
    width: 48rem;
    margin-left: 11rem;
    margin-top: 1.2rem;
}

.full-screen {
    width: 100%;
    overflow: hidden;
    height: 855px;
    text-align: center;
    margin-left: -5px;
    margin-right: -5px;
}

.fixed-top {
    background: #fff;
}

form.form-inline.mt-2.mt-md-0 {
    margin-left: 107px;
}

.middle-index {
    z-index: 10;
    position: relative;
}

.side-index {
    z-index: 9;
    position: relative;
}

li.announcements.event-wrapper:nth-of-type(odd) {
    background: rgba(19, 132, 150, 0.8);
    padding: 30px;
    color: #fff;
}

ul.announcements {
    margin-left: -40px;
}

li.announcements.event-wrapper:nth-of-type(even) {
    background: rgba(19, 150, 146, 0.8);
    padding: 30px;
    color: #fff;
}

div.events.event-title h2, p.location, p.date {
    font-size: 1.00rem;
    margin-bottom: 0;
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: normal;
}

.conference-wrapper {
    clear: both;
    height: 1200px;
    position: relative;
    background: url(./Images/Itemsofinterest/ConferenceBackground.jpg) no-repeat 0 -22px scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}



#second-slide {
    background: #091b27;
    min-height: 1000px;
}

#second-slide {
    z-index: 8;
    background: #091b27;
    min-height: 1000px;
}

ul.tags {
    width: auto;
    list-style: none;
    margin-top: 3rem;
}

img.tag-images {
    margin-left: 27.5rem;
}

ul.tag-middle {
    width: auto;
    list-style: none;
    margin-top: 50rem;
}

ul.tags-right {
    width: auto;
    list-style: none;
    margin-top: 4rem;
}

    ul.tags img, ul.tag-middle img, ul.tags-right img {
        min-width: 420px;
    }

img.right-tag-images {
    width: auto;
    height: auto;
    /*max-width: 396px;*/
    margin-left: -169px;
}

img.d-block.img-fluid {
    width: 100%;
    height: auto;
}

img.right-tag-images {
    margin-left: -333px;
    margin-top: -30px;
}

img.connect-tag {
    animation-delay: 2s;
}

img.coordinate-tag {
    animation-delay: 2.4s;
    margin-top: 55px;
}

img.develop-tag {
    animation-delay: 2.8s;
    margin-top: 50px;
}

img.expand-tag {
    animation-delay: 3s;
}

nav.navbar.navbar-expand-sm.navbar-light.fixed-top {
    z-index: 9999;
    background: #fff;
}

img.tag-middle-image.expand-tag {
    text-align: center;
    margin-left: 196px;
    margin-top: 15rem;
    right: 0px;
    margin-right: auto;
    z-index: -1;
}

img.tag-images {
    /*margin-left: 240px;*/
    margin-top: 0;
}

img.implement-tag {
    animation-delay: 2s;
}

img.collaborate-tag {
    animation-delay: 2.4s;
    margin-top: 50px;
}

img.increase-tag {
    animation-delay: 2.8s;
    margin-top: 59px;
}

li.nav-item {
    /* padding: 5px; */
    height: 71px;
    width: 152px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    max-width: 178px;
    margin: 2px;
    line-height: 61px;
}

nav.navbar.navbar-expand-sm.navbar-light.bg-light {
    position: fixed;
    top: 120px;
    z-index: 9999999;
    width: 100%;
}

.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
    color: rgba(0, 0, 0, 0.7);
    background: #d2d3d4;
    height: 72px;
}

nav.navbar.navbar-expand-sm.navbar-light.fixed-top {
    top: 128px;
    background: #fff;
}

.btn-blue {
    float: left;
    padding: .84rem 2.14rem;
    padding: .84rem 2.14rem;
    font-size: 1rem;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    margin: .375rem;
    border: 0;
    border-radius: .125rem;
    cursor: pointer;
    text-transform: uppercase;
    white-space: normal;
    word-wrap: break-word;
    color: #fff !important;
    background-color: #17a2b8;
    color: #fff !important;
}


button.btn.btn-blue.btn-lg:hover {
    background: #264f8b;
    transition: .3s ease-in-out;
}

a.btn-blue:hover {
    background: #264f8b;
    transition: .3s ease-in-out;
    text-decoration: none;
}

.btn-pink-intro:hover {
    background: #fc88af;
    transition: .3s ease-in-out;
    text-decoration: none;
}

.btn-pink-intro {
    padding: .94rem 2.24rem;
    font-size: .81rem;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    margin: .375rem;
    border: 0;
    border-radius: .125rem;
    cursor: pointer;
    text-transform: uppercase;
    white-space: normal;
    word-wrap: break-word;
    color: #fff !important;
    background-color: #ec407a;
    color: #fff;
}

.subpage.small-container {
    margin-bottom: 3rem;
}

.subpage {
    margin-top: 0;
}

.subpagewithbs {
    margin-top: 1rem;
    padding-top: 6rem;
}

li.nav-item {
    background-color: #77787b;
}

video#video-background {
    position: relative;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    margin-top: -900px;
    height: auto;
    z-index: -100;
}

a.btn.btn-register:hover {
    color: #fff;
}

.arrow-down, .arrow-down:before {
    position: absolute;
    left: 49.2%;
    z-index: 999;
}

div.form-group select.form-control:not([size]):not([multiple]), div.form-group input.form-control:not([type="checkbox"]) {
    height: 2.75rem;
    border-radius: 10px;
}

#About, #GranteeSites, #Center, #ItemsOfInterest, #TTA, #Contact {
    margin-top: -140px;
    padding-top: 140px;
}

.popover-link {
    z-index: 99999999; /* A value higher than 1010 that solves the problem */
}

.arrow-down {
    width: 40px;
    bottom: 25px;
    transition: .9s ease-in;
    height: 40px;
    margin: -20px 0 0 -20px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    border-left: none;
    border-top: none;
    border-right: 2px #fff solid;
    border-bottom: 2px #fff solid;
}

    .arrow-down:hover {
        border-right: 2px #000 solid;
        transition: .9s ease-out;
        border-bottom: 2px #000 solid;
    }

        .arrow-down:hover:before {
            border-right: 1px #000 solid;
            border-bottom: 1px #000 solid;
        }

    .arrow-down:before {
        content: '';
        width: 20px;
        height: 20px;
        top: 50%;
        margin: -10px 0 0 -10px;
        border-left: none;
        border-top: none;
        border-right: 1px #fff solid;
        border-bottom: 1px #fff solid;
        animation-duration: 2s;
        animation-iteration-count: infinite;
        animation-name: arrow-down;
    }

@keyframes arrow-down {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-10px, -10px);
    }
}
/*Subnavs*/
ul.sub-nav li {
    font-size: 0.90em;
    word-wrap: break-word;
    max-width: 165px;
}

ul.sub-nav li {
    list-style: none;
    display: inline-block;
    min-width: 199px;
    padding: .8rem;
    border: solid 4px #73b8ca;
    height: 158px;
    background: #1a365f;
    margin: 21px 17px 1px;
    color: #fff;
    padding-top: 35px;
    text-align: center;
    border-radius: 3rem;
    /* border-radius: 1.4rem; */
    font-weight: 500;
    text-transform: uppercase;
    vertical-align: top;
}

    ul.sub-nav li:hover {
        background: #333;
        cursor: pointer;
        transition: .3s ease-in all;
    }


    /* Highlight for Active Resource Center Page */
    ul.sub-nav li.activeCenterSection {
        background-color: #333333;
    }


    ul.sub-nav li.col-md-8 h3 {
        font-size: 1rem;
    }

    ul .sub-nav li.col-md-8 {
        background: #fff;
        color: #000;
        padding: 48px 0;
        max-width: 225px;
    }

        ul.sub-nav li.col-md-8:hover {
            cursor: initial;
        }

.sub-nav {
    text-align: center;
    padding-left: 0;
    z-index: 999;
}
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/*About css..which I wanted to put into its own file but it wont load due to the fact that we need to set connections properly*/

.intro-content {
    position: relative;
    z-index: 999;
    font-size: 1.3rem;
    max-width: 89rem;
    margin-right: auto;
    margin-left: auto;
    padding: 25px;
    padding-top: 120px;
}

.center-wrapper {
    padding-top: 2rem;
    margin: 0 auto;
    margin-left: 20%;
    margin-right: 20%;
}

a.btn.btn-blue.intro-btn {
    width: 240px;
    margin-right: 1.5rem;
}

img.bja-logo-hidden {
    display: none;
}

.intro-content.text-uppercase.text-center h2 b {
    font-size: 1.4em;
}

.PDMP-link img {
    max-width: 130px;
    margin-left: 2rem;
}

.row.partners {
    min-height: 210px;
    background: #fff;
    border-bottom: 5px #73b8ca solid;
}

.resource-center {
    margin-top: 2rem;
    padding-bottom: 4rem;
    /* background: #f3f3f3; */
    padding-top: 2rem;
}

img.partner-icons {
    width: 300px;
    max-width: 100%;
}

    img.partner-icons:hover {
        cursor: pointer;
        opacity: .6;
        transition: .7s ease-in-out opacity;
    }

.margin-row {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.btn {
    border-radius: 3rem;
}

/*.small-container {
    max-width: 135rem;
    margin-left: 12rem;
    margin-right: 12rem;
}*/

.emphasize {
    font-size: 1.5em;
    font-weight: 500;
}

.intro-content h2, .h2 {
    font-weight: 700;
    color: #264f8b;
    line-height: 1.18em;
    font-size: 3.6rem;
}

.btn-navy {
    background: #1a365f;
    border-radius: 0;
    color: #fff !important;
}

    .btn-navy:hover {
        background: #0099cc;
    }

.container {
    padding: 10px 15px;
}

img {
    max-width: 100%;
    vertical-align: middle;
    border-style: none;
}

.skyblue {
    background-color: #22c8ff;
}
/***HEADERS***/
.head-style.left-style {
    float: left;
}

.head-style {
    width: 100%;
    float: left;
    padding-top: 9px;
}

    .head-style.left-style h2 {
        text-align: right;
        padding-right: 20px;
    }

h2 {
    color: #264f8b;
}

.content-tags {
    margin-top: 10px;
    color: #fff;
    width: 230px;
    background: #136396;
    padding: 10px;
    text-shadow: 1px 2px 5px #000;
    position: absolute;
    box-shadow: 3px 6px 10px #000;
}

.arrow-notch-left {
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #136396;
}

.content-middle-tags {
    margin-top: 10px;
    color: #fff;
    width: 230px;
    background: #136396;
    padding: 10px;
    text-shadow: 1px 2px 5px #000;
    position: absolute;
    box-shadow: 3px 6px 10px #000;
}

.content-middle-tags, .arrow-notch-middle {
    margin-left: 19px;
}

.arrow-notch-middle {
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #136396;
}

.content-right-tags {
    margin-top: 10px;
    color: #fff;
    background: #136396;
    padding: 10px;
    max-width: 230px;
    text-shadow: 1px 2px 5px #000;
    position: absolute;
    box-shadow: 3px 6px 10px #000;
}

.arrow-notch-right {
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #136396;
}
/***ANCHORS****/
div#Calendar {
    padding-top: 115px;
    margin-bottom: -50px;
}



/* Set stacking context of primary page sections */

#MainLayoutTopNav {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    height: 11.5rem;
}

#MainLayoutContentBody, #MainLayoutFooter {
    position: relative;
    z-index: 1;
    overflow: hidden !important;
}


/* Leave space at the top of the page for the nav menu */
/*body { padding-top: 11.5rem; }*/
/* Leave the same space at the top for the anchors */
/*.navigation-anchor { position: absolute; margin-top: -11.5rem;}*/
.mx-auto.d-sm-flex.d-block.flex-sm-nowrap {
    z-index: 99999;
}

div#Contact.navigation-anchor,
div.navigation-anchor {
    position: absolute;
}

div.navigation-anchor {
    margin-top: -16.5rem;
}

div#Contact.navigation-anchor {
    margin-top: -8.5rem;
}

nav.navbar {
    padding-left: 0.100rem;
    padding-right: 0.100rem;
}

/* Search Bar Styling Rules                                     */

.searchbar {
    background-color: #152A5C;
    padding: 1rem 2rem;
    padding-bottom: .8rem;
    position: fixed;
    top: 219px;
    width: 100%;
    z-index: 99;
}

.search-icon {
    float: left;
    margin-left: 9rem;
    margin-right: -115px;
    width: 20px;
}

.searchbar input.form-control.mr-sm-2 {
    background-color: #FFFFFF;
    height: 38px;
    margin-left: 8.2rem;
    width: 75%;
}

.searchbar button.btn-outline-success {
    background-color: #2367CA;
    background-image: none;
    border-color: #2367CA;
    border-radius: 0;
    color: #FFFFFF;
    height: 38px;
    line-height: 0rem;
    text-transform: uppercase;
    width: 165px;
}

/* END Search Bar Styling Rules                                 */

@media only screen and (max-width: 1280px) {
    #TTA {
        padding-top: 0;
        margin-top: -50px;
    }

    .resource-center ul.sub-nav.col-md-12 {
        min-height: 0;
    }

    img.initiative-icons {
        max-width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    .conference-wrapper {
        height: 1420px;
    }

    #carouselPartnerIndicators .carousel-control-prev {
        left: 10px;
    }

    #carouselPartnerIndicators .carousel-control-next {
        right: 10px;
    }
}

@media only screen and (max-width: 480px) {
    #second-slide, #first-slide {
        min-height: 500px;
    }

    .search-form .btn:not(:disabled):not(.disabled) {
        margin-bottom: 0;
    }
}

@media screen and (max-width:1024px) {

    .grantee-sections h3 {
        min-height: 45px;
    }

    form.form-inline.mt-2.mt-md-0 {
        padding-top: 1rem;
    }

    img.grantee-site-icon {
        margin-left: 1rem;
        /*bottom: -53px;*/
        /* bottom: -3.6rem; */
    }

    .PDMP-link img {
        max-width: 120px;
        margin-left: 1rem;
    }
}

@media screen and (max-width: 120em) {
    img.tag-images {
        margin-left: 15.5rem;
    }

    img.right-tag-images {
        width: auto;
        height: auto;
        /*max-width: 396px;*/
        /*margin-left: -17rem;*/
    }

    li.nav-item {
        width: 152px;
        font-size: 16px;
    }

    .logo-image {
        width: 40rem;
        margin-left: 11rem;
        margin-top: 1.2rem;
    }

    img.bja-logo-2 {
        width: 8em;
    }

    li.nav-item {
        height: 81px;
    }

    .adjusted-height {
        padding-top: 1.2rem;
        line-height: 1rem;
    }

    .sm {
        padding-top: 1.5rem;
    }

    .navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
        height: 81px;
    }

    nav.navbar.navbar-expand-sm.navbar-light.fixed-top {
        top: 122px;
    }

    div#MainLayoutContentBody #carouselExampleControls {
        margin-top: -25px;
    }

    ul.navbar-nav {
        font-size: 1rem;
        width: 100%;
        background-color: #f8f9fa;
    }

    div#MainLayoutContentBody {
        margin-top: 150px;
    }

    .searchbar {
        top: 237px
    }

    p.small-container.col-md-12 {
        max-width: 80%;
    }

    .footer-bottom {
        height: 6rem;
        background: #d2d6d9;
    }

    img.full-screen-image {
        height: 95%;
    }

    .subpagewithbs {
        margin-top: 0rem;
    }

    div.contact-icon img.mail-icon {
        margin-top: -7rem;
    }

    .collapse {
        display: none;
    }

    .my-nav.collapse.show {
        display: block;
    }

    .small-container {
        max-width: 135rem;
        margin-left: 5rem;
        margin-right: 5rem;
    }

    ul.sub-nav li.col-md-8 {
        padding: 48px 10px;
    }

    h3, .h3 {
        font-size: 1.2rem;
    }

    ul.sub-nav li {
        font-size: 14px;
    }

    video#video-background {
        background-color: transparent;
        background: #fff;
        clear: both;
        position: relative;
        right: 0;
        bottom: 0;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        margin-top: -626px;
        height: auto;
        z-index: -100;
    }

    .fixed-top {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        /*height: 85px;*/
        z-index: 1030;
    }

    .resource-center {
        /*background: #e0e1e2;*/
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .holder {
        min-height: 20rem;
    }

    .intro-content {
        font-size: 1.3rem;
    }
}

@media (max-width:118em) {
    ul.tags-right {
        margin-top: 5rem;
    }

    h2.slider-intro-3 {
        padding-top: 6rem;
    }
    /*@media all and (max-width:118em)*/
    img.right-tag-images {
        margin-left: -17rem;
    }

    .content-right-tags {
        margin-left: -4rem;
    }

    img.tag-images, .content-tags {
        margin-left: 16.5rem;
    }

    .arrow-notch-left {
        margin-left: 18rem;
    }

    .arrow-notch-middle {
        margin-left: 35px;
    }

    img.tag-middle-image.expand-tag {
        margin-left: 127px;
        margin-top: 19rem;
    }
}

@media (max-width:80em) {
    .nav-wrapper {
        height: 117px;
        margin-top: -25px;
        padding-bottom: 4px;
        width: 100%;
    }

    ul.tags {
        margin-top: 2rem;
    }

    ul.tags-right {
        margin-top: 2.8rem;
        margin-left: -5rem;
    }


        ul.tags img, ul.tag-middle img, ul.tags-right img {
            min-width: 321px;
        }

    .element-item .post-icon {
        bottom: 35px;
        left: 60px;
    }

    #myCarousel {
        height: 550px;
        overflow: hidden;
    }

    #first-slide, #second-slide {
        max-height: 550px;
        min-height: 550px;
        overflow: hidden;
    }

    h3.slider-intro-2 {
        margin-top: 20rem;
    }

    h2.slider-intro {
        margin-top: 11rem;
    }

    nav.navbar.navbar-expand-sm.navbar-light.fixed-top {
        top: 83px;
    }

    .searchbar {
        top: 185px;
    }

    div#MainLayoutContentBody {
        margin-top: 105px;
    }

    /*.subpage {
        margin-top: 10rem;
        padding-top: 5rem;
    }*/
    img.tag-images {
        margin-left: 375px;
        margin-top: -30px;
    }

    img.right-tag-images {
        margin-right: 375px;
        margin-top: -30px;
    }

    .logo-image {
        width: 32rem;
        margin-top: 0.2rem;
        margin-left: 0px;
    }

    img.bja-logo-2 {
        width: 8em;
        margin-right: 0px;
        margin-top: 1rem;
    }

    li.nav-item {
        height: 80px;
        width: 115px;
        font-size: 15px;
        font-weight: 700;
        text-transform: uppercase;
        max-width: 178px;
        margin: 2px;
        line-height: 67px;
    }

    .adjusted-height {
        line-height: 1rem;
        padding-top: 1.8rem;
    }

    .navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
        color: rgba(0, 0, 0, 0.7);
        background: #d2d3d4;
        height: 80px;
    }
}

@media (max-width: 986px) {
    .searchbar input.form-control.mr-sm-2 {
        width: 70%;
    }

    .flex-container {
        display: inline-block;
    }

    div#MainLayoutContentBody {
        margin-top: 4rem;
    }

    .grantee-sections {
        min-height: 17rem;
    }

    .fixed-top {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        height: 140px;
        z-index: 1030;
    }

    .intro-content h2, .h2 {
        font-weight: 700;
        color: #000;
        line-height: 1.18em;
        font-size: 2.1rem;
    }


    .searchbar {
        top: 118px;
    }

    /*@media all and (max-width:986px)*/
    .logo-image {
        width: 26rem;
    }

    .navbar-toggleable-md .navbar-nav {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .tag-info {
        width: 185px;
    }
}

@media (max-width: 600px) {
    div#MainLayoutContentBody {
        margin-top: 5rem;
    }


    .searchbar {
        position: fixed;
        z-index: 99;
        padding: 0rem 5rem;
        top: 139px;
        width: 100%;
        background: #f8f9fa;
        padding-bottom: .8rem;
    }
    /*@media all and (max-width:986px)*/
    .logo-image {
        width: 24rem;
    }
}

@media (max-width:500px) {

    .logo-image {
        width: 24rem;
    }

    .searchbar {
        top: 120px;
    }

    .small-container {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    video#video-background {
        margin-top: -512px;
    }

    .footer-bottom {
        height: 9rem;
        background: #d2d6d9;
    }
}
