﻿/*
	File system layout:

	Generic - (h1, html, body)
	Modifiers - (center, margin-left, large-font)
	Objects - (button, navigation-menu, calendar)

	Styling notes:
	With each category each element should be:
	- Alphebetical
	- Tag modifications indented (ex. h1-no-padding would be indented from h1)

*/


/* Generic */
h1, .dynamicElementHeader {
    font-weight: 300;
}


/* Modifiers */

.center, .error-text {
    text-align: center;
}

.invisible {
    display: none;
}

.white {
    color: #FFF;
}


.hide {
    display: none;
}

.text.input-width-mid {
    max-width: 40rem;
}

.green {
    color: #de771c;
}


/* Objects */

.featured-item {
    width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    margin-bottom: 5px;
    padding-bottom: 56.25%;
    position: relative;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 736px) {
    .image-button-featured-item {
        background-size: cover;
        padding-bottom: 30%;
    }
}

    .featured-item:hover {
        opacity: 0.8;
        transition: opacity .25s ease-in-out;
        -moz-transition: opacity .25s ease-in-out;
        -webkit-transition: opacity .25s ease-in-out;
        -webkit-overflow-scrolling: touch;
    }

.featured-item-container {
    display: inline-block;
    margin-top: .2em;
    margin-bottom: .2em;
}

.featured-item-title {
    text-align: center;
    color: #de771c;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.block {
    padding: 1.3rem 0;
}

.block-no-top-padding {
    padding-bottom: 2rem;
}

.location-name { /* What is this for. Can we get rid of it*/
    font-weight: 600;
}

.error-text {
    font-size: 1rem;
    color: red;
    line-height: 1.2rem;
}


.partnerFields { /* Change class name formatting */
    margin-left: 30px;
    display: none;
}



.calendar {
    text-align: center;
}

.calendar-header {
    background-color: #de771c;
    color: white;
    text-transform: capitalize;
    padding: .15rem 0;
}

.calendar-body {
    background-color: #ededee;
    color: #59595b;
}

.mini-calendar {
    width: 5.5rem;
    display: inline-block;
    background-color: #de771c;
    text-align: center;
    color: white;
}

.mini-calendar-header {
    background-color: #de771c;
    color: white;
    text-transform: uppercase;
    font-size: 85%;
}

.mini-calendar-body {
    background-color: #e5e5e8;
    color: #59595b;
}

.mini-calendar-small, .mini-calendar-small-only-hover {
    width: 3.6rem;
    display: inline-block;
    background-color: #de771c;
    text-align: center;
    color: white;
    position: absolute;
    font-size: .7rem;
}

    .mini-calendar-small .mini-calendar-header {
        padding: .05rem 0;
    }

.mini-calendar-small-only-hover {
    display: none;
}

.featured-item:hover .mini-calendar-small-only-hover {
    display: inline-block;
}

.banner-container {
    width: 100%;
    height: 70%;
}

.banner-container-mid {
    width: 100%;
    height: 50%;
}

.banner-container-small {
    width: 100%;
    height: 30%;
}

.banner-image {
    background-position: center;
    width: 100%;
    height: 100%;
    background-size: cover;
}

@media screen and (orientation:portrait) {
    .banner-image {
        height: 0rem;
        padding-bottom: calc(100% - 6rem);
        padding-bottom: -webkit-calc(100% - 6rem);
        padding-bottom: -moz-calc(100% - 6rem);
    }

    .banner-container, .banner-container-mid, .banner-container-small {
        height: 0rem;
        padding-bottom: calc(100% - 6rem);
        padding-bottom: -webkit-calc(100% - 6rem);
        padding-bottom: -moz-calc(100% - 6rem);
    }
}

.nav-bar {
    width: 100%;
    height: 3rem;
    text-align: center;
    line-height: 3rem;
}

.content-bar {
    width: 100%;
    text-align: center;
    line-height: 3rem;
}


.details, .contact-details {
    display: inline-block;
}

.details {
    margin-left: 1rem;
}

.contact-photo {
    background-size: contain;
    background-repeat: no-repeat;
    width: 4em;
    height: 4em;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    display: inline-block;
    float: right;
}

.contact-photo-small {
    background-size: contain;
    background-repeat: no-repeat;
    width: 2.5em;
    height: 2.5em;
    border-radius: 2.5rem;
    -webkit-border-radius: 2.5rem;
    -moz-border-radius: 2.5rem;
    display: inline-block;
    float: right;
}

.down-arrow { /* May not be used anymore */
    margin-top: .7rem;
}

#map-canvas { /* Change to class */
    width: 100%;
    height: 260px;
}

.map-address {
    padding: .5rem;
    background-color: #ededee;
}

#mapLocationName { /* Change to class, Is needed? */
    font-weight: 600;
    font-size: 18px;
}

#detailsText { /* Change to class, Is needed? */
    font-size: 20px;
}

#permissionFormContainer { /* Change to class, Is needed? */
    padding-left: 20px;
}

.dynamic-element-wrapper {
    padding: .5em 0;
}

.footer-share-links {
    font-size: 1.5rem;
}
.footer-share-links a i {
    color: #fff;
}

.boxed {
    color: #de771c;
    border: 1px solid #de771c;
    text-decoration: none;
    padding: 0.5em 1rem;
    font-size: 1.3rem;
    line-height: 3rem;
}

a.boxed:hover {
    background-color: #de771c;
    color: #fff;
}

.block-detail-header {
    text-align: left;
    padding-bottom: .3rem;
}

@media (max-width: 736px) {
    .block-detail-header {
        text-align: center;
        font-size: 2.5rem;
    }
}

.info-block {
    width: 100%;
    max-width: 27rem;
    display: inline-block;
    white-space: nowrap;
}

@media (max-width: 736px) {
    .info-block {
        max-width: 100%;
    }
}

@media(max-width: 980px) {
    .info-block {
        font-size: 1.3rem;
    }
}

.wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -9rem;
}

.push {
    clear: both;
    height: 5rem;
    padding-top: 4rem;
}

.current-service-container {
    background-color: #ffffff;
    text-align: center;
    padding: 2rem;
}

.current-video-wrapper {
    max-width: 42.7rem;
    margin: auto;
}

.current-video-header {
    color: #ffffff;
    margin-bottom: .5rem;
    font-weight: 400;
}

.current-video-footer {
    text-align: left;
    color: #FFF;
    font-weight: 200;
    margin-top: .5rem;
}

.video-block {
    margin: .7rem 0;
}

.video-iframe {
    width: 100%;
}

.video-selected {
    -webkit-box-shadow: 0px 0px 0px 4px #de771c;
    -moz-box-shadow: 0px 0px 0px 4px #de771c;
    box-shadow: 0px 0px 0px 4px #de771c;
}

.staff-contacts-wrapper > div {
    margin: 2rem 0;
}

.user-page-action-buttons { /* Used in the User page for the edit/cancel/save buttons wrapper*/
    display: flex;
    justify-content: flex-end;
}


#liveFeedBanner {
    padding: 1rem 0.5rem;
    text-align: center;
    background-color: #de771c;
    font-weight: 700;
    color: #FFF;
    display: none;
}

#development-mode-box, #local-development-mode-box, #error-development-mode-box {
    position: fixed;
    left: 0;
    top: 0;
    font-size: 20px;
    opacity: .9;
    z-index: 1000;
    height: 5px;
    width: 100%;
}

#development-mode-box {
    background-color: #a22;
    color: #a22;
}
#local-development-mode-box { 
    background-color: #22a;
    color: #22a;
}
#error-development-mode-box {
    background-color: #d33c2d;
    color: #d33c2d;
}

.tooltip-button {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

.call-to-action {
    color: #fff;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin: 0;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
    width: 100%;
    cursor: pointer;
}

.call-to-action-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    width: 100%;
    left: 0;
}

.call-to-action h1 {
    font-size: 10em;
    font-weight: 900;
    margin: 0;
    line-height: 0.75em;
}

.call-to-action h2 {
    font-size: 5em;
    font-weight: 900;
    margin: 0;
}

@media (max-width: 768px) {
    .call-to-action h1 {
        font-size: 5.5em;
        font-weight: 600;
        margin: 0;
        line-height: 0.75em;
    }

    .call-to-action h2 {
        font-size: 2.75em;
        font-weight: 600;
        margin: 0;
    }
}


.giving-links{
    margin: 0 1rem;
    line-height: 1.2;
}
@media (max-width: 990px) {
    .giving-links a {
        display: block;
    }
}

.swal2-modal h2 {
    color: #000 !important; /*Overrides the header font color in sweet alert. GASP WE USED AN IMPORTANT TAG*/
}


.horizontal-responsive-layout {
    display: flex; 
    flex-direction: row;
}

@media screen and (max-width: 1000px) {
    .horizontal-responsive-layout {
        flex-direction: column;
    }
}



@keyframes spinFeatherlightLoading {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.featherlight-loading .featherlight-content {
    animation: spinFeatherlightLoading 1000ms infinite linear;
    background: transparent;
    border: 8px solid #8f8f8f;
    border-left-color: #fff;
    border-radius: 80px;
    width: 80px;
    height: 80px;
    min-width: 0;
}

    .featherlight-loading .featherlight-content > * {
        display: none !important;
    }

.featherlight-loading .featherlight-close,
.featherlight-loading .featherlight-inner {
    display: none;
}


.swal2-container {
    z-index: 9999999 !important;
    transform: translate(0);
}


.responsive-frame-wrapper {
    position: relative;
    padding-bottom: 56.10%;
    height: 0;
    overflow: hidden;
}

    .responsive-frame-wrapper iframe, .responsive-frame-wrapper object, .responsive-frame-wrapper embed, .responsive-frame-wrapper div {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }


    .general-block{
        opacity: 0;
        transition: opacity ease-in-out 0.1s;
    }


