﻿body {
    color: #333333;
    font-family: avenir-next;
}

.e-h1, .e-h2, .e-h3, .e-h4, .e-h5, .e-h6, h1, h2, h3, h4, h5, h6 {
    color: #333333;
}

.e-btn--donate,
.c-donate__btn {
    transition: all .3s ease !important;
}

/* Header */
.c-header__logo {
    background-image: url(../img/dark-logo-rebrand.svg) !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
}

.c-header .e-btn--donate {
    background-color: #e6223d;
    border-color: #e6223d;
    color: #ffffff;
    padding: 10px 16px 6px 16px;
}

    .c-header .e-btn--donate:hover {
        background-color: #e6223d;
        border-color: #e6223d;
        color: #000000;
    }

/* Footer */
.c-footer {
    margin-top: 20px;
}

.c-footer, .u-bg-tuatara {
    background-color: #333333 !important;
}

.c-footer__nav-a:hover, .c-footer__nav-a:focus {
    color: #FFFF01 !important;
    text-decoration: none !important
}

.c-footer__additional-logos {
    display: flex;
    margin-bottom: 20px;
    margin-top: 20px;
}

.c-footer__additional-logos__first-logo {
    margin-right: 20px;
}

.c-footer__additional-logos__logo {
    width: 100px;
}

/* Homepage Masthead */
.c-banner .e-page-title.c-banner__head {
    margin-bottom: 0;
}

.c-banner .c-banner__content .e-btn.e-btn--donate {
    background-color: #e6223d;
    border-color: #e6223d;
    color: #ffffff;
}

    .c-banner .c-banner__content .e-btn.e-btn--donate:hover,
    .c-banner .c-banner__content .e-btn.e-btn--donate:focus {
        color: #000000;
    }

/* Card */
.c-block__border-top {
    border-color: #e6223d !important;
    transition: border-color .3s ease;
}

.c-block:hover .c-block__border-top, .c-block:focus .c-block__border-top {
    border-color: #00bfbf !important;
}

.c-block__link:hover, .c-block__link:focus {
    border-color: #00bfbf !important;
    transition: border-color .3s ease;
}

.c-block__link:hover, .c-block__link:focus {
    border-color: #FFFF01 !important;
}

/* Gallery */
.u-bg-gallery {
    background-color: #E0E0E0 !important;
}

.c-rc {
    background-color: #e6223d !important;
}

    .c-rc .c-rc__label, .c-rc .c-rc__link {
        color: #ffffff;
    }

        .c-rc .c-rc__link:hover, .c-rc .c-rc__link:focus {
            color: #ffff01;
        }

/* Quote */
.c-quote cite {
    font-style: normal;
}

/* Banner */
.c-banner__page-title {
    margin-bottom: 2px !important;
}

    .c-banner__page-title span {
        background-color: #e6223d !important;
    }

.u-bg-aquasqueeze {
    background-color: #e0e0e0 !important
}

/* Pagiation */
.c-pagination__a {
    background-color: transparent;
    font-size: 20px !important;
    font-weight: 600;
    padding: 16px 16px 12px 16px;
    transition: background-color .3s ease;
}

    .c-pagination__a:hover {
        text-decoration: none !important;
    }

/* Donation */
.c-donate__diamond:hover {
    background-color: #e6223d;
}

.c-donate__tab, .c-donate__btn {
    text-transform: none;
}

.c-donate--box .c-donate__tabs .c-donate__tab {
    background-color: #e0e0e0;
}

    .c-donate--box .c-donate__tabs .c-donate__tab:hover,
    .c-donate--box .c-donate__tabs .c-donate__tab--active {
        background-color: #e6223d;
    }

@media only screen and (min-width: 900px) {
    .c-header__logo {
        background-image: url(../img/white-logo-rebrand.svg) !important;
    }

    .c-footer__additional-logos {
        margin-top: 40px;
    }

    .c-footer__additional-logos__logo {
        width: 150px;
    }
}

@media only screen and (min-width: 1230px) {
    .c-banner__page-title span {
        padding: 20px 16px 16px 16px !important;
    }

    .c-footer__additional-logos {
        justify-content: flex-end;
        margin-bottom: 0;
    }
}

#blocker {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3%;
}

    #blocker > h3 {
        flex-grow: 3;
    }

    #blocker .blockercol {
        flex-grow: 2;
        padding-left: 10px;
        margin-top: -3px;
    }

.spinner {
    position: relative;
    border: 8px solid #ff0000; /* Light grey */
    border-top: 8px solid #f3f3f3; /* Red */
    border-radius: 50%;
    width: 30px !important;
    height: 30px !important;
    animation: spin 2s linear infinite;
    margin-left: 2%
}

@media only screen and (max-width: 600px) {
    #blocker {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 3%;
    }

        #blocker .blockercol {
            margin-left: auto;
            margin-right: auto;
            max-width: 25%;
            padding-left: 0px;
        }
    /*#blocker > h3 {
        flex-grow: 3;
    }*/
}


/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Photo Gallery */
.photo-gallery__header {
    text-align: center;
}

.photo-gallery__header__content {
    margin: 0 auto;
    max-width: 700px;
}

..photo-gallery__header__content {
    font-size: inherit;
    font-weight: inherit;
}

.photo-gallery__main {
    padding: 2rem 0 0 0;
}

.photo-gallery__main__flex {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

.photo-gallery__main__item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 50%;
}

.photo-gallery__main__link {
    display: block;
    position: relative;
}

    .photo-gallery__main__link:before,
    .photo-gallery__main__link:after {
        content: '';
        height: 40px;
        position: absolute;
        right: 0;
        top: 0;
        width: 40px;
    }

    .photo-gallery__main__link:before {
        background-color: #333333;
        transition: background-color .3s ease;
    }

    .photo-gallery__main__link:hover:before {
        background-color: #ffff01;
    }

    .photo-gallery__main__link:after {
        background-image: url('../img/expand.svg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: 22px;
    }

.photo-gallery__modal__slider__slide {
    margin: 0 !important;
    position: relative;
}

.photo-gallery__modal__slider {
    position: relative;
}

.photo-gallery__modal__slider__arrow {
    background-color: #333333;
    border: none;
    color: #d9d9d9;
    display: block;
    height: 50px;
    margin-top: -25px;
    padding: 8px 18px 0 18px;
    position: absolute;
    top: 50%;
    transition: background-color .3s ease;
    width: 50px;
}

    .photo-gallery__modal__slider__arrow:hover {
        background-color: #ffff01;
    }

.photo-gallery__modal__slider__arrow--prev {
    left: 0;
}

.photo-gallery__modal__slider__arrow--next {
    right: 0;
}

.photo-gallery__modal__slider__arrow:focus {
    outline: none;
}

.photo-gallery__modal__slider__close {
    right: 0;
}

    .gallery__modal__slider__slide__download img,
    .photo-gallery__modal__slider__close img {
        width: 100%;
    }

.gallery__modal__slider__slide__download,
.photo-gallery__modal__slider__close {
    background-color: #333333;
    display: block;
    height: 40px;
    padding: 10px 10px 0 10px;
    position: absolute;
    top: 0;
    width: 40px;
}

    .gallery__modal__slider__slide__download:focus,
    .photo-gallery__modal__slider__close:focus {
        outline: none;
    }

@media only screen and (min-width: 768px) {
    .photo-gallery__main {
        padding: 4rem 0 2rem 0;
    }

    .photo-gallery__main__item {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        margin-bottom: 2rem !important;
        max-width: 33.333333%;
        padding: 0 1rem !important;
    }

    .photo-gallery__main__link:before,
    .photo-gallery__main__link:after {
        height: 60px;
        width: 60px;
    }

    .photo-gallery__main__link:after {
        background-size: 25px;
    }

    .photo-gallery__main__item {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .photo-gallery__modal__slider__arrow {
        height: 66px;
        margin-top: -33px;
        padding: 8px 27px 0 27px;
        width: 66px;
    }

    .gallery__modal__slider__slide__download,
    .photo-gallery__modal__slider__close {
        height: 60px;
        padding: 15px 15px 0 15px;
        width: 60px;
    }

    .gallery__modal__slider__slide__download {
        border-right: #eeeeee;
        left: auto;
        right: 60px;
    }
}

@media only screen and (min-width: 992px) {
    .photo-gallery__main__item {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
}
/* Modal */
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1072;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

    .modal.show .modal-dialog {
        -webkit-transform: none;
        transform: none;
    }

    .modal.fade .modal-dialog {
        transition: -webkit-transform .3s ease-out;
        transition: transform .3s ease-out;
        transition: transform .3s ease-out,-webkit-transform .3s ease-out;
        -webkit-transform: translate(0,-50px);
        transform: translate(0,-50px);
    }

.modal-dialog-centered {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem);
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    outline: 0;
}

.modal-backdrop.fade {
    opacity: 0;
    transition: opacity .4s ease;
}

.modal-backdrop {
    position: fixed;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 1071;
    top: 0;
    height: 100%;
    display: block;
}

    .modal-backdrop.show {
        opacity: .7;
    }

@media only screen and (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
        min-height: calc(100% - 3.5rem);
    }
}

@media only screen and (min-width: 764px) {
    .photo-gallery__modal {
        max-width: 700px;
    }
}

@media only screen and (min-width: 992px) {
    .photo-gallery__modal {
        max-width: 900px;
    }
}

.top-no-spacing .c-section--padd-2 {
    padding-top: 0;
}

.top-spacing-10 .c-section--padd-2 {
    padding-top: 10px;
}

.top-spacing-20 .c-section--padd-2 {
    padding-top: 20px;
}

.top-spacing-30 .c-section--padd-2 {
    padding-top: 30px;
}

.top-spacing-40 .c-section--padd-2 {
    padding-top: 40px;
}

.top-spacing-50 .c-section--padd-2 {
    padding-top: 50px;
}

.bottom-no-spacing .c-section--padd-2 {
    padding-bottom: 0;
}

.bottom-spacing-10 .c-section--padd-2 {
    padding-bottom: 10px;
}

.bottom-spacing-20 .c-section--padd-2 {
    padding-bottom: 20px;
}

.bottom-spacing-30 .c-section--padd-2 {
    padding-bottom: 30px;
}

.bottom-spacing-40 .c-section--padd-2 {
    padding-bottom: 40px;
}

.bottom-spacing-50 .c-section--padd-2 {
    padding-bottom: 50px;
}