/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
body {
    font-family: 'Nunito', sans-serif;
    padding-top: 3rem;
    padding-bottom: 3rem;
    color: #5a5a5a;
}
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
/* Carousel base class */
.carousel {
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}
/* Declare heights because of positioning of img element */
.carousel-item {
    height: 32rem;
}

    .carousel-item > img {
        position: absolute;
        top: 0;
        left: 0;
        min-width: 100%;
        height: 32rem;
    }
/* MARKETING CONTENT
-------------------------------------------------- */
/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.marketing h2 {
    font-weight: 400;
}

.marketing .col-lg-4 p {
    margin-right: .75rem;
    margin-left: .75rem;
}
/* Featurettes
------------------------- */
.featurette-divider {
    margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}
/* Thin out the marketing headings */
.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.05rem;
}
/* RESPONSIVE CSS
-------------------------------------------------- */
@media (min-width: 40em) {
    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}

@media (min-width: 62em) {
    .featurette-heading {
        margin-top: 7rem;
    }
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #8ac0d2;
    background: url()
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.carousel-caption {
    bottom: 20%
}

.bg-grey {
    background-color: #F5F5F5;
}

.event-image-thumb {
    width: 100%;
}

.card {
    border: none;
    background-color: #FFFFFF;
}

.divider-multi {
    width: 100%
}

.logo-nav {
    max-height: 80px
}

h1, h2, h3, h4, h5, h6, .lead, .heading-feature {
    font-family: 'Nunito', sans-serif;
}

.heading-feature {
    color: #009985;
}

.btn-primary {
    color: #fff;
    background-color: #009985;
    border-color: #009985;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #8ac0d2;
        border-color: #8ac0d2;
    }

.btn-outline-primary {
    color: #009985;
    border-color: #009985;
}

    .btn-outline-primary:hover {
        color: #fff;
        border-color: #009985;
        background-color: #009985;
    }

.navbar {
    max-width: 1104px;
    margin-left: auto;
    margin-right: auto;
}

body {
    padding-top: 0;
}

/*.navbar-nav.navbar-center {
    position: absolute;
    left: 50%;
    transform: translatex(-50%);
}*/

/*.nav-button {
    margin-left: 50px
}*/

.active {
    text-decoration: underline;
    color: #009985;
}

/*.navbar-light .navbar-nav .show > .nav-link, .navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .nav-link.active {
    color: #009985;
}*/

.no-gutters {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.footer-img {
    background-color: #8ac0d2;
    width: 100%;
    height: 345px;
    margin-top: -5px;
    background: url("../../img/42949787_1874216339329596_7101447627564122112_o.png");
    background-size: cover
}

.footer-contact-title {
    color: #8ac0d2;
    font-size: 1.2rem;
    margin-bottom: 0 !important;
}

.footer-contact-detail {
    color: #009985;
    margin-bottom: 0 !important;
}

.footer {
    margin-bottom: 0rem !important;
}

.footer-contact-container {
    z-index: 200;
    background: #ffffff;
    right: 0;
    margin-top: -180px;
    border: 1px solid #DFE5EF;
    right: 0
}

.footer-social-icon {
    width: 100%
}

.footer-copyright {
    background-color: #009985;
}

/*.navbar-brand {
    display: inline-block;
    margin-left: -31px;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
    margin-top: -13px;
}*/

@media only screen and (max-width: 1200px) {
    h2 {
        font-size: 1.8rem
    }

    .heading-feature {
        font-size: 1.4rem;
    }
}

@media only screen and (max-width: 900px) {
    h2 {
        font-size: 1.5rem
    }
}

@media only screen and (max-width: 600px) {
    h2 {
        font-size: 1.2rem
    }
}

.swiper-pagination-bullet {
    opacity: 1;
    background: #8ac0d2 !important;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #009985 !important;
}


.swiper-pagination {
    padding-top: 15px
}

h3 {
    color: #8ac0d2;
}

.page-title {
    height: 45vh;
    background: #8ac0d2;
    color: #ffffff;
}

.page-title-small {
    height: 20vh;
    background: #8ac0d2;
    color: #ffffff;
    min-height: 250px
}

.page-title-h {
    margin-top: 50px
}

.about-heading {
    color: #8ac0d2;
    padding-bottom: 20px
}

.img-circle {
    width: 50%
}

.about-img-square {
    width: 90%
}



.highlight-text {
    color: #009985;
}

.region-logo-img {
    padding-top: 10px;
    padding-bottom: 10px;
}

.spacer-large {
    height: 80px;
}

.spacer-small {
    height: 40px;
}

.programme-swiper-img {
    width: 100%;
}

.img-container {
    position: relative;
    display: inline-block;
}

    .img-container .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgb(0,170,170);
        opacity: 0;
        transition: opacity 500ms ease-in-out;
    }

    .img-container:hover .overlay {
        opacity: 1;
    }

.overlay span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
}

.overlay-text {
    color: #ffffff
}

.programmes-next {
    padding-bottom: 20px
}

.lead-email {
    font-size: 20px
}

.gallery-img {
    width: 100%;
    padding-bottom: 40px
}

#tag-publications, #tag-events {
    background-color: #F5F5F5 !important;
}

    #tag-publications .card-footer, #tag-events .card-footer {
        border-top: none;
        background-color: #F5F5F5 !important;
    }

    #tag-publications .card-body, #tag-events .card-body {
        height: 15em;
        overflow: hidden;
    }

.key-tag-content-body {
    background-color: #F5F5F5;
}

.navbar .navbar-nav {
    background-color: #f8f9fa !important;
}


.swiper-container {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    max-width: 350px;
    margin-left: 10px;    
}

    .swiper-slide img {
        border: solid thin #5a5a5a;
        border-radius: 15px 15px;
        padding: 15px;
    }

.swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    color: #000;
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
}

.swiper-pagination-bullet-active {
    color: #fff;
    background: #007aff;
}

.swiper-pagination {
    position: relative;
    top: 20px;
    // should be fine as is, but adjust to your liking
}
