﻿html, body {
    padding-top: 0;
}

h1, .h1 {
    font-size: 2rem;
}

h2, .h2 {
    font-size: 1.7rem;
}

h3, .h3 {
    font-size: 1.4rem;
}
/* header */
.header-space {
    height: 50px;
}

.header {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 5;
    background-color: #fff;
    -webkit-transition: all ease 300ms;
    -moz-transition: all ease 300ms;
    transition: all ease 300ms;
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0);
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0);
    box-shadow: 0 0 5px rgba(0,0,0,0);
}

    .header.sticky {
        position: fixed;
        -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
        -moz-box-shadow: 0 0 5px rgba(0,0,0,0.3);
        box-shadow: 0 0 5px rgba(0,0,0,0.3);
    }

        .header.sticky .searchbar {
            display: none;
        }

    .header .logo-image,
    .header .bja-logo-2 {
        -webkit-transition: all ease 300ms;
        -moz-transition: all ease 300ms;
        transition: all ease 300ms;
    }

    .header.sticky .logo-image {
        max-height: 65px;
        width: auto;
    }

    .header.sticky .bja-logo-2 {
        max-height: 65px;
        width: auto;
    }

    .header.sticky li.nav-item {
        font-size: 13px;
    }

.header-top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.logo-image {
    margin-top: 0;
}

img.bja-logo-2 {
    margin-top: 0;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

.header .container {
    padding-top: 0;
    padding-bottom: 0;
}

ul.navbar-nav {
    background-color: transparent;
    padding-top: 0;
}

.navbar-light .navbar-nav .nav-link, .navbar-light .navbar-nav .nav-link {
    line-height: 1.2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
    /*space-around doesn't work in all browsers'*/
    .navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
        height: 100%;
    }

    .navbar-light .navbar-nav .nav-link.active {
        color: rgba(0, 0, 0, 0.7);
        background: #d2d3d4;
        border-radius: 20px;
    }

li.nav-item {
    height: auto;
    line-height: 1.2;
}

.searchbar,
.fixed-top {
    position: static;
}

.searchbar {
    padding: 20px;
}

.search-btn .search-icon {
    display: none;
}

.search-icon {
    float: none;
    margin-left: 0;
    margin-right: 0;
}

.searchbar input.form-control.mr-sm-2 {
    margin-left: 0;
    width: 100%;
    border-radius: 10px;
}

.search-form {
    max-width: 1245px;
    margin: 0 auto;
    display: table;
}

    .search-form .search-input-wrap {
        display: table-cell;
        width: 100%;
        padding: 0 10px 0 40px;
        position: relative;
        vertical-align: middle;
    }

        .search-form .search-input-wrap .search-icon {
            position: absolute;
            left: 0;
            top: 50%;
            margin-top: -10px;
        }

    .search-form .btn {
        display: table-cell;
        width: 165px;
        vertical-align: middle;
    }

div#MainLayoutContentBody,
div#MainLayoutContentBody #carouselExampleControls {
    margin-top: 0;
}

.carousel, .carousel .item, .carousel .active {
    height: auto;
    overflow: visible;
}

/* Slider */
#second-slide, #first-slide {
    min-height: 900px;
    overflow: hidden;
    background-position: center;
}

.tag.develop-tag {
    margin-top: 18px;
}

h2.slider-intro-3 {
    text-align: center;
    padding-top: 0;
    margin-bottom: 25px;
    color: #fff;
    font-size: 3rem;
}

img.tag-middle-image.expand-tag {
    margin-top: 20rem;
}

.carousel-introduction ~ a.carousel-control-prev, .carousel-introduction ~ a.carousel-control-next {
    margin-top: 0;
    -webkit-transform: translate(0,-50%);
    -moz-transform: translate(0,-50%);
    transform: translate(0,-50%);
    top: 50%;
}

h3.slider-intro-2 {
    font-size: 2.7rem;
    margin-top: 8px;
    position: static;
    height: 193px;
}

h2.slider-intro {
    margin-top: 48px;
    position: static;
}

.carousel-item-inner {
    padding: 4rem 0;
    position: absolute;
    width: 100%;
    top: 50%;
    -webkit-transform: translate(0,-50%);
    -moz-transform: translate(0,-50%);
    transform: translate(0,-50%);
}

#carouselPartnerIndicators {
    padding: 0 50px;
    width: 100%;
    max-width: 1460px;
    margin: 0 auto;
}

    #carouselPartnerIndicators .carousel-indicators {
        bottom: 0;
    }

    #carouselPartnerIndicators .carousel-control-prev {
        margin-left: 0;
        left: 10px;
    }

    #carouselPartnerIndicators .carousel-control-next {
        margin-right: 0;
        right: 10px;
    }

.carousel-caption {
    position: static;
}

.row.partners {
    border-bottom: 0 none;
}

.contact-section {
    padding-top: 50px;
}

.row.partners {
    min-height: 0;
}

div.contact-icon img.mail-icon {
    margin-top: -80px;
}

.items-contain {
    height: auto;
}

.resource-center {
    margin-top: 0;
}

.home-contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.footer-bottom p.small-container.col-md-12 {
    max-width: 100%;
}

.footer-bottom {
    height: auto;
    padding: 20px 0;
}

.footer-top {
    padding: 25px 0;
}

#MainLayoutFooter footer .disclaimer {
    margin-bottom: 0;
}

.margin-y-lg {
    margin-top: 25px;
    margin-bottom: 25px;
}

.margin-top-lg {
    margin-top: 25px;
}

.float-none {
    float: none !important;
}

.inner-page-title {
    padding-top: 25px;
    padding-bottom: 20px;
}

.conference-wrapper {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.tta-section {
    padding-top: 40px;
}

.subpage.small-container {
    padding-top: 30px;
}

.btn-primary.dropdown-toggle {
    width: 30px;
}

.dropdown-toggle:after {
    margin-left: 0;
    position: relative;
    top: 2px;
}

.dropdown-menu > li > a {
    display: block;
    padding: 6px 12px;
    line-height: 1.2;
}

.federal-banner {
    background: url("./Images/Itemsofinterest/shutterstock150003068.jpg") no-repeat top fixed;
    -webkit-background-size: 100% auto;
    -moz-background-size: 100% auto;
    -ms-background-size: 100% auto;
    -o-background-size: 100% auto;
    background-size: 100% auto;
}

    .federal-banner .carousel-item {
        min-height: 0;
    }

    .federal-banner div#carouselPartnerIndicators {
        padding-bottom: 40px;
    }

        .federal-banner div#carouselPartnerIndicators .carousel-control-prev,
        .federal-banner div#carouselPartnerIndicators .carousel-control-prev, .federal-banner div#carouselPartnerIndicators .carousel-control-next {
            margin-top: -20px;
            top: 215px;
        }

.ManagerList {
    word-wrap: break-word;
}

.training-form {
    max-width: 800px;
    margin: 0 auto;
}

/* Second Slider */
.info-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto; /*height: 450px;*/
    height: 480px; /*To fix the clicked item*/
}

    .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: 999;
    }

    .info-container .info-tags {
        width: 495px;
        position: absolute;
        top: 15px;
    }

        .info-container .info-tags .tag {
            padding: 0 0 50px;
        }

        .info-container .info-tags img {
            width: 100%;
            cursor: pointer;
        }

        .info-container .info-tags.info-tags--left {
            left: 10px;
        }

        .info-container .info-tags.info-tags--right {
            right: 10px;
        }
    /*.info-container .info-tags--bottom{ left: 50%; bottom: 0; position: absolute; width: 450px; -webkit-transform: translate(-50%,0); -moz-transform: translate(-50%,0); transform: translate(-50%,0); margin-left: 110px; }*/
    .info-container .info-tags--bottom {
        left: 50%;
        bottom: 50px;
        position: absolute;
        width: 450px;
        -webkit-transform: translate(-50%,0);
        -moz-transform: translate(-50%,0);
        transform: translate(-50%,0);
        margin-left: 110px;
    }

        .info-container .info-tags--bottom img {
            width: 100%;
            cursor: pointer;
        }

    .info-container .info-tags .tag:last-child {
        padding-bottom: 0;
        padding-top: 20px;
    }

    .info-container .tag.expand-tag {
        padding-bottom: 0;
        padding-top: 20px;
    }

ul.responsiveli {
    float: none;
    display: inline-block;
}

@media only screen and (min-width: 768px) {
    .info-container .tag-image.mobile {
        display: none !important;
    }

    .info-container .info-tags--right .expand-tag {
        display: none !important;
    }
}

@media only screen and (min-width: 992px) {
    .nav-toggle-wrap {
        display: none !important;
    }

    .navbar-expand-sm .navbar-collapse {
        -webkit-display: flex !important;
        -moz-display: flex !important;
        display: flex !important;
    }

    .show-tablet {
        display: none !important;
    }
}

@media only screen and (max-width: 3000px) and (min-width: 2000px) {
    #second-slide, #first-slide {
        min-height: 1200px;
    }
}

@media only screen and (max-width: 1500px) {
    ul.sub-nav li {
        margin: 21px 5px 1px;
    }
}

@media only screen and (max-width: 1360px) {
    div#carouselPartnerIndicators {
        padding-left: 50px;
        padding-right: 50px;
    }

    .resource-center ul.sub-nav.col-md-12 {
        max-width: 650px;
        float: none;
        margin: 0 auto;
        min-height: 510px;
    }

    .conference-wrapper {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media only screen and (max-width: 1280px) {
    li.nav-item {
        font-size: 13px;
        min-width: 110px;
        width: auto;
        min-height: 60px;
    }

    .header .container {
        max-width: 100%;
    }

    h3.slider-intro-2 {
        height: 110px;
    }

    .head-style {
        width: 90%;
    }

    .grantee-section-bg {
        margin-top: 0;
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 991px) and (min-width: 576px) {
    .navbar-expand-sm .navbar-toggler {
        display: block !important;
    }

    .navbar-expand-sm .navbar-collapse.collapse {
        display: none !important;
    }
        /*Having to add in to overwrite junk files added automatically*/
        .navbar-expand-sm .navbar-collapse.collapse.show {
            display: block !important;
        }
}

@media only screen and (max-width: 1024px) {
    #second-slide, #first-slide {
        min-height: 515px;
        max-width: 1024px;
    }

    .small-container.full-width-tablet,
    .full-width-tablet {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 15px;
        padding-right: 15px;
    }

    .federal-banner div#carouselPartnerIndicators {
        min-height: 0;
        margin-bottom: 50px;
    }

    .info-container {
        height: 360px;
    }

        .info-container .info-circle {
            max-width: 250px;
        }

        .info-container .info-tags--bottom {
            width: 345px;
        }

        .info-container .info-tags {
            width: 345px;
            top: 20px;
        }

            .info-container .info-tags.info-tags--left {
                left: 50%;
                transform: translate(-100%,0);
            }

            .info-container .info-tags.info-tags--right {
                right: 50%;
                transform: translate(100%,0);
            }

            .info-container .info-tags .tag {
                padding-bottom: 40px;
            }

        .info-container .info-tags--bottom {
            margin-left: 87px;
        }
}

@media only screen and (max-width: 991px) {
    .navbar-nav {
        display: block;
    }

    .bja-logo-2 {
        max-height: 80px;
        width: auto !important;
    }

    .header .navbar {
        padding: 10px 0 0;
    }

        .header .navbar .nav-toggle-wrap {
            margin-left: -15px;
            margin-right: -15px;
        }

        .header .navbar .navbar-toggler {
            border: 0;
            width: 100%;
            -webkit-appearance: none;
            background-color: #f7f7f7;
            padding: 8px;
        }

            .header .navbar .navbar-toggler .menu-text {
                font-size: 20px;
                display: inline-block;
                vertical-align: middle;
            }

            .header .navbar .navbar-toggler:focus {
                outline: none;
            }

        .header .navbar .mx-auto {
            width: 100%;
        }

    .header .navbar-collapse {
        margin-left: -15px;
        margin-right: -15px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 9999;
    }

    .header .navbar li.nav-item {
        max-width: 100%;
        min-height: 0;
        margin: 0;
        background-color: #464646;
        border-bottom: 1px solid #777777;
    }

        .header .navbar li.nav-item:last-child {
            border-bottom: 0;
        }

        .header .navbar li.nav-item .nav-link {
            padding: 10px;
            line-height: 1.4;
        }

    #second-slide, #first-slide {
        min-height: 550px;
    }

    #carouselExampleControls .carousel-control-prev-icon, #carouselExampleControls .carousel-control-next-icon,
    .carousel-introduction ~ a.carousel-control-prev, .carousel-introduction ~ a.carousel-control-next {
        width: 50px;
        height: 50px;
        background-size: 30% 100%;
    }

    .head-style {
        width: 100%;
    }

    img.grantee-site-icon {
        margin-left: 0;
        width: 100px;
        bottom: 0;
    }

    .grantee-sections .right-arrow {
        position: absolute;
        right: 15px;
        bottom: 15px;
    }

    .grantee-all {
        padding: 2rem;
    }

    .hide-tablet {
        display: none !important;
    }

    .carousel-caption * {
        animation-name: none !important;
        visibility: visible !important;
    }

    .federal-banner div#carouselPartnerIndicators .carousel-caption {
        max-width: 480px;
        margin: 0 auto;
    }

        .federal-banner div#carouselPartnerIndicators .carousel-caption img {
            max-width: 100%;
        }

    .panel .panel-heading {
        min-height: 0;
        padding: 2rem 1rem;
    }

        .panel .panel-heading h2 {
            font-size: 24px;
        }
}

@media only screen and (max-width: 986px) {
    .fixed-top {
        height: auto;
    }

    .searchbar {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

@media only screen and (max-width: 768px) {
    .federal-banner {
        background: none;
    }

    .listing {
        margin-bottom: 25px;
    }
}

@media only screen and (max-width:80em) {
    h2.slider-intro {
        margin-top: -13px;
    }

    h3.slider-intro-2 {
        font-size: 2.2em;
    }
}

@media only screen and (max-width:70em) {
    h2.slider-intro {
        margin-top: 0px;
        position: static;
    }

    h3.slider-intro-2 {
        font-size: 2em;
    }
}

@media only screen and (max-width: 767px) {
    .tag.develop-tag {
        margin-top: 0;
    }

    .green-section.grantee-sections.wow.slideInLeft.animated {
        border-radius: 20px 20px 0px 0px;
    }

    .grantee-sections {
        width: 100%;
        min-height: 0;
        height: auto;
        border-radius: 0;
        padding: 1rem 1rem 4.5rem;
    }

    .search-btn .search-text,
    .search-input-wrap .search-icon {
        display: none;
    }

    .search-btn .search-icon {
        display: block;
    }

    .search-form .search-input-wrap {
        padding-left: 0;
    }

    .searchbar button.btn-outline-success {
        width: 45px;
    }

    .grantee-sections {
        width: 100%;
        min-height: 0;
        height: auto;
        padding: 1rem 1rem 4.5rem;
    }

    .head-style h2 {
        font-size: 22px;
    }

    .head-style {
        margin-bottom: 25px;
    }

    .container {
        max-width: 100%;
    }

    .small-container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .resource-center {
        padding-top: 0;
    }

    #carouselPartnerIndicators .carousel-control-prev {
        left: 0;
    }

    #carouselPartnerIndicators .carousel-control-next {
        right: 0;
    }

    div#carouselPartnerIndicators {
        padding-left: 20px;
        padding-right: 20px;
    }

    .sub-nav {
        padding-right: 0;
    }

    ul.sub-nav.col-md-12 {
        margin-left: 0;
        margin-right: 0;
    }

    div#ContactSubmit {
        margin-bottom: 2.4rem;
    }

    h1,
    .subpage > h1,
    .inner-page-title {
        font-size: 2rem;
    }

    .federal-banner div#carouselPartnerIndicators .carousel-control-prev {
        margin-left: 5px;
    }

    .federal-banner div#carouselPartnerIndicators .carousel-control-next {
        margin-right: 5px;
    }

    .federal-banner div#carouselPartnerIndicators .carousel-caption {
        padding-top: 0;
        padding-bottom: 0;
    }

    dl, ol, ul {
        padding-left: 20px;
    }

    .panel .panel-heading {
        margin-top: 20px;
    }

    .jumbotron .lead .btn {
        float: none;
        margin: 10px 0 20px;
    }

    .jumbotron .lead {
        font-size: 1.1rem;
    }

    .jumbotron {
        padding: 2rem 1rem;
    }

    a {
        word-wrap: break-word;
    }

    .text-xs-left {
        text-align: left !important;
    }

    .form-control {
        font-size: 14px;
    }

    .carousel-item-inner {
        padding: 1rem 0;
    }

    .info-container {
        height: 345px;
    }

        .info-container .tag-image.desktop {
            display: none !important;
        }

        .info-container .info-circle {
            display: none;
        }

        .info-container .info-tags .tag {
            padding-bottom: 15px;
        }

            .info-container .info-tags .tag:last-child {
                padding-top: 0;
            }

        .info-container .info-tags {
            width: 250px;
        }

        .info-container .info-tags--bottom {
            margin-left: 66px;
        }

        .info-container .info-tags.info-tags--left {
            width: 250px;
            z-index: 9;
        }

        .info-container .info-tags.info-tags--right {
            width: 250px;
        }

        .info-container .info-tags--bottom {
            display: none;
        }

        .info-container .info-tags--left .tag:first-child {
            padding-top: 16.5%;
        }

    ul.announcements {
        margin-left: 0;
        padding-left: 0;
    }
}

@media only screen and (max-width: 600px) {
    .searchbar {
        background-color: #152A5C;
    }
}

@media only screen and (max-width: 540px) {
    h2.slider-intro {
        max-width: 310px;
    }

    div#carouselPartnerIndicators {
        margin-bottom: 85px;
    }

    #second-slide, #first-slide {
        min-height: 613px;
    }

    .bja-logo-2 {
        display: none;
    }

    .header .navbar-brand {
        margin-right: 0;
        display: block;
        text-align: center;
        width: 100%;
        padding-top: 5px;
    }

    .searchbar {
        padding-left: 0;
        padding-right: 0;
    }

    .partners {
        display: none;
    }

    .tag-info {
        width: 215px;
    }

    .info-container .info-tags.info-tags--left {
        width: 45%;
    }

    .info-container .info-tags.info-tags--right {
        width: 45%;
    }

    .info-container {
        height: 0;
        padding-bottom: 72%;
    }

    h2.slider-intro, h2.slider-intro-3, span.slider-intro-large {
        font-size: 2rem;
    }

    h3.slider-intro-2 {
        font-size: 1.7em;
    }

    h2.slider-intro {
        margin-top: -55px;
        position: static;
    }


    /*span.slider-intro-large{ font-size: 2rem; }*/
    h3.slider-intro-2 {
        height: 80px;
    }
}

@media only screen and (max-width: 480px) {
    h2.slider-intro {
        margin-top: 80px;
    }

    h2.slider-intro {
        max-width: 260px;
        border-bottom: none;
        padding-bottom: 35px;
    }

    h2.slider-intro-3 {
        max-width: 337px;
    }

    #second-slide, #first-slide {
        min-height: 600px;
    }

    .tag-info {
        width: 155px;
        color: #fff;
        position: absolute;
        background: #136396;
        text-shadow: 3px 3px 6px #000;
        font-size: 0.8rem;
        padding: 9px;
        box-shadow: 2px 7px 9px #000;
        z-index: 9;
        margin-top: 10px;
        line-height: 1.2em;
    }

    .carousel-item-inner {
        padding: 4rem 0;
        position: absolute;
        width: 100%;
        top: 40%;
        -webkit-transform: translate(0,-50%);
        -moz-transform: translate(0,-50%);
        transform: translate(0,-50%);
    }

    .btn:not(:disabled):not(.disabled) {
        cursor: pointer;
        margin-bottom: 14px;
    }
}
