#app {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

:root {
    --swiper-navigation-color: #003DA5;
    --swiper-pagination-color: #003DA5;
    --swiper-pagination-bullet-inactive-color: #0077C8;
}

.header.homepage .header-inner{
    box-shadow: 0px 0px 7px #000000;
    text-shadow: 2px 2px 5px black;
    backdrop-filter: blur(5px);
    background: rgba(0, 119, 200, 0.7);
}
.header.homepage .nav > ul > li > ul{
    background: rgba(0, 119, 200, 0.7);
}

.swiper-hero{
    --swiper-navigation-color: #fff;
    --swiper-pagination-color: #fff
}

.header-wrapper.swiper-homepage .bar .bar-socials{
    float: left;
}
.header-wrapper.swiper-homepage .bar .bar-socials img.fulbright-logo{
    height: 40px;
    margin-top: 6px;
}
.header-wrapper.swiper-homepage .bar .bar-socials img.killam-logo{
    height:40px;
    padding-left:1em;
}
.header-wrapper.swiper-homepage .bar .bar-socials img.edusa-logo{
    height:40px;
    padding-left:1em;
    margin-top: 9px;
}
.header-wrapper.swiper-homepage .bar .bar-socials img.hnc-logo{
    height:30px;
    padding-left:1em;
}




.swiper-carousel {
    padding-bottom: 32px;
    max-width: 1200px;
}
.swiper-carousel .swiper-slide {
    width: 520px;
    height: 380px;
    border-radius: 8px;
    background: #18212b;
    max-width: calc(100% - 48px);
}
.swiper-carousel .swiper-carousel-animate-opacity {
    height: 100%;
}
.swiper-carousel .swiper-pagination-bullets {
    bottom: 0;
}
.swiper-carousel img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}
.swiper-carousel .slide-content {
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
    padding: 88px 16px 24px;
    box-sizing: border-box;
    background: linear-gradient(to bottom, rgba(0, 61, 165, 0), rgba(0, 61, 165, 0.9));
    border-radius: 0 0 8px 8px;
}
.swiper-carousel .slide-content h5 {
    margin: 0;
    color: #fff;
    font-weight: bold;
    font-size: 24px;
    line-height: 1.1;
}
.swiper-carousel .slide-content h4 {
    color: #fff;
    margin: 0;
    font-weight: bold;
    font-size: 24px;
    line-height: 1.1;
}
.swiper-carousel .slide-content p {
    color: #FFF;
    margin: 8px 0 0;
    /*opacity: 0.65;*/
    font-size: 14px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.swiper-hero {
    position: relative;
    /* height: 780px; */
    height: calc(85vh - 3.125em);
}
.swiper-hero img{
    object-fit: cover;
    width: 100%;
    height: 100%
}
.swiper-hero-thumbnail {
    height: 15vh;
    box-sizing: border-box;
    padding: 10px 0;
}
.swiper-hero-thumbnail .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}

.swiper-hero-thumbnail .swiper-slide-thumb-active {
    opacity: 1;
}

.swiper-hero .swiper-slide{
  height: 100%}
.swiper-hero .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
header.header.homepage {
    width: 100%;
    height: 100px;
    padding: 1em;
    z-index: 300;
    position: absolute;
}

@media screen and (min-width: 39.9988em) {
    .header .header-inner{
        box-shadow: 0px 0px 7px #000000;
        text-shadow: 2px 2px 5px black;
        backdrop-filter: blur(5px);
        background: rgba(0, 119, 200, 0.7);
    }
    .header .nav > ul > li > ul{
        background: rgba(0, 119, 200, 0.7);
    }

    .header-wrapper.swiper-homepage .bar .bar-socials{
        float: left;
    }
    .header-wrapper.swiper-homepage .bar .bar-socials img.fulbright-logo{
        height: 40px;
        margin-top: 6px;
    }
    .header-wrapper.swiper-homepage .bar .bar-socials img.killam-logo{
        height:40px;
        padding-left:1em;
    }
    .header-wrapper.swiper-homepage .bar .bar-socials img.edusa-logo{
        height:40px;
        padding-left:1em;
        margin-top: 9px;
    }
    .header-wrapper.swiper-homepage .bar .bar-socials img.hnc-logo{
        height:30px;
        padding-left:1em;
    }

    header.header {
        width: 100%;
        height: 100px;
        padding: 1em;
        z-index: 300;
        position: absolute;
    }
    .header .nav > ul > li > a {
        color: #FFF;
        text-shadow: rgb(0, 0, 0) 2px 2px 5px;
    }
    .header  .nav > ul > li {
        padding: .5em;
    }

}


.header.homepage .nav > ul > li > a {
    color: #FFF;
    text-shadow: rgb(0, 0, 0) 2px 2px 5px;
}
.header.homepage  .nav > ul > li {
    padding: .5em;
}

.slider-intro.test .slide-alt {
    position: relative;
    /* height: 780px; */
    height: calc(100vh - 3.125em);
}

.slider-actions button{
    border-radius: 0;
}
.t1 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    /*font-weight: 600;
    -webkit-text-stroke: 2px black; *//* width and color
    text-shadow: 2px 2px black;*/
    color: #FFF;
    text-shadow: 2px 2px 0 #4074b5, 2px -2px 0 #4074b5, -2px 2px 0 #4074b5, -2px -2px 0 #4074b5, 2px 0px 0 #4074b5, 0px 2px 0 #4074b5, -2px 0px 0 #4074b5, 0px -2px 0 #4074b5;
}
@media screen and (max-width: 600px){
    .bar .bar-socials li {
        /* line-height: 30px; */
        padding-left: 10PX;
        margin-top: 10px;
    }
    .bar-socials{
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-justify-content: space-around;
        -ms-flex-pack: distribute;
        justify-content: space-around;
        background: #fefefe;
    }
    .bar .bar-socials form{
        float: none;
    }
    .bar .bar-socials i{
        font-size: 1rem;
        max-height: 1rem;
        max-width: 1rem;
    }
}

@media only screen and (max-width: 600px) {
    /*.swiper-hero-thumbnail .swiper-slide img {
    visibility: hidden;
    }*/
    .swiper-hero-thumbnail{
        display: none
    }
}


.swiper-hero-thumbnail .swiper-slide img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.swiper-hero-thumbnail .swiper-slide .slide-content{
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
    padding: 88px 16px 10px;
    box-sizing: border-box;
    background: linear-gradient(to bottom, rgba(0, 61, 165, 0), rgba(0, 61, 165, 0.9));
}
.swiper-hero-thumbnail .swiper-slide .slide-content h4{
    text-align: center;
    margin: 0;
    color: #fff;
    font-weight: bold;
    font-size: 24px;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 #4074b5, 2px -2px 0 #4074b5, -2px 2px 0 #4074b5, -2px -2px 0 #4074b5, 2px 0px 0 #4074b5, 0px 2px 0 #4074b5, -2px 0px 0 #4074b5, 0px -2px 0 #4074b5;
}

.swiper-events .swiper-slide .slide-image{
    position: relative;
}
.swiper-events .swiper-slide .slide-image .slide-overlay{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
    background: rgba(255, 255, 255, 0.8);
    visibility: hidden;
    opacity: 0;
}

.swiper-events .swiper-slide .slide-image .slide-overlay .slide-overlay-inner {
    position: absolute; left: 50%; top: 50%;
    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
    -webkit-transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
    -o-transform: translate(-50%, 0%);
    transform: translate(-50%, 0%);}
.swiper-events .swiper-slide .slide-image:hover .slide-overlay{
    visibility: visible; opacity: 1;
}

.swiper-events .swiper-slide .slide-image:hover .slide-overlay-inner {
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.swiper-events .swiper-slide .slide-image .event-home-date {
    background: #003865;
    box-sizing: border-box;
    display: inline;
    float: left;
    font-weight: 700;
    margin: 10px 5% 10px 25%;
    overflow: hidden;
    padding: 3px;
    text-align: center;
    width: 50%;
}
.swiper-events .swiper-slide .slide-image  .event-home-date .event-home-dayname{
    background: #fff;
    color: #666;
    display: block;
    font-size: 11px;
    letter-spacing: .5px;
    padding: 3px;
    text-align: center;
    text-transform: uppercase;
}
.swiper-events .swiper-slide .slide-image  .event-home-date .event-home-daynumber{
    color: #fff;
    display: block;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
    width: 100%;
}
.swiper-events .swiper-slide .slide-overlay-inner h5{
    text-align: center;
    font-weight: 700;
}

/*Expanding Collection */

#app-open-competions {
    height: 100%;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expanding-collection .expanding-collection-content{
    background: #0077c8;
}
.expanding-collection .swiper-wrapper{
    width: 100vw;
}

.expanding-collection .expanding-collection-content-inner{
    padding-bottom:0 !important;
}

.expanding-collection {
    width: 100%;
    height: 100%;
}
.expanding-collection .swiper-slide {
    width: 600px;
    max-width: calc(100% - 32px - 32px);
}
.expanding-collection .non-swiper-slide {
    visibility: hidden;
    width: 450px;
    max-width: calc(100% - 32px - 32px);
}
.expanding-collection .expanding-collection-cover {
    color: #fff;
}
@media (orientation: portrait) {
    .expanding-collection-cover img {
        height: 40vh;
        object-fit: cover;
    }
}
.expanding-collection .oc-cover-title {
    box-sizing: border-box;
    padding: 8px 16px;
    font-size: 20px;
    color: #fff;
    position: absolute;
    left: 0;
    top: 0px;
    width: 100%;
    text-align: center;
    z-index: 10;
    font-weight: 600;
    padding-bottom: 2em;
    text-transform: uppercase;
}

.expanding-collection .home-us-open .oc-cover-title {
    text-shadow: 2px 2px #0A3161;
    background: linear-gradient(to top, rgba(10, 49, 97, 0), rgba(10, 49, 97, 0.9));
}
.expanding-collection .home-ca-open .oc-cover-title {
    text-shadow: 2px 2px #D80621;
    background: linear-gradient(to top, rgba(216, 6, 22, 0), rgba(216, 6, 22, 0.9));
}
.expanding-collection .oc-cover-coords {
    padding: 8px 16px;
    width: 100%;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    padding-top: 2em;

}
.expanding-collection .home-ca-open .oc-cover-coords {
    text-shadow: 2px 2px #D80621;
    background: linear-gradient(to bottom, rgba(216, 6, 22, 0), rgba(216, 6, 22, 0.9));
}
.expanding-collection .home-us-open .oc-cover-coords {
    text-shadow: 2px 2px #0A3161;
    background: linear-gradient(to bottom, rgba(10, 49, 97, 0), rgba(10, 49, 97, 0.9));
}



.expanding-collection .oc-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}
.expanding-collection .oc-content-title {
    text-align: center;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
    width: 100%;
}
.expanding-collection .oc-content-avatars {
    display: flex;
}
.expanding-collection .oc-content-avatars img {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    border: 4px solid #fff;
}
.expanding-collection .oc-content-avatars img + img {
    margin-left: -16px;
}
.expanding-collection .oc-content-rating {
    display: flex;
}
.expanding-collection .oc-content-rating img {
    width: 16px;
    height: 16px;
}

.expanding-collection .label{
    white-space: normal;
    line-height: 1.25;
}



/* Mobile App Toggle */
.section-open-competitions-swiper .mobile-app-toggle {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    /*border: 1px solid #1779ba;*/
    border-radius: 0.625rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.section-open-competitions-swiper .mobile-app-toggle .button {
    background: transparent;
    color: #1779ba;
    margin-bottom: 0;
    -webkit-flex: 1 0 0;
    -ms-flex: 1 0 0px;
    flex: 1 0 0;
}

.section-open-competitions-swiper .mobile-app-toggle .button:nth-child(n+1) {
    border-left: 1px solid #1779ba;
    border-radius: 0;
}
.section-open-competitions-swiper .mobile-app-toggle .button:nth-child(4) {
    border-top-right-radius: 0.625rem;
    border-bottom-right-radius: 0.625rem;
}
.section-open-competitions-swiper .mobile-app-toggle .button:nth-child(1) {
    border-top-left-radius: 0.625rem;
    border-bottom-left-radius: 0.625rem;
    background-color: #5A5A5A;
    border-color: #5A5A5A;
    color: #fff;
    cursor: default;
}
.section-open-competitions-swiper .mobile-app-toggle .button.is-active {
    background: #1779ba;
    color: #fefefe;
}

/* Button Group */

.section-open-competitions-swiper .button-group .button {
    background: transparent;
    color: #1779ba;
    margin-bottom: 0;
    -webkit-flex: 1 0 0;
    -ms-flex: 1 0 0px;
    flex: 1 0 0;
    margin-right:0;
}

.section-open-competitions-swiper .button-group .button:nth-child(n+1) {
    border-left: 1px solid #1779ba;
    border-radius: 0;
}
.section-open-competitions-swiper .button-group .button:nth-child(3) {
    border-top-right-radius: 0.625rem;
    border-bottom-right-radius: 0.625rem;
}
.section-open-competitions-swiper .button-group .button:nth-child(1) {
    border-top-left-radius: 0.625rem;
    border-bottom-left-radius: 0.625rem;
    background-color: #5A5A5A;
    border-color: #5A5A5A;
    color: #fff;
}
.section-open-competitions-swiper .button-group .button.is-active {
    background: #1779ba;
    color: #fefefe;
}


.section-open-competitions-swiper .slider-actions{
    text-align: center;
}
.section-open-competitions-swiper .slider-actions .button:focus {
    background-color: transparent;
    color: #0077C8;
}
.section-featured-grantees-swiper .slider-actions {
    text-align: center;
}
.section-featured-grantees-swiper .slider-actions .button:focus {
    background-color: transparent;
    color: #0077C8;
}

