﻿header, header *, .contentWrapper, .contentWrapper *
{
    box-sizing: border-box
}

#content
{
width: 100%;
margin: 0 auto;
display: block;
font-size: 1.125rem;
}

nav#mainNavBar
{
border-bottom: none;
}



.gray-block {
    background-color: #efefef;
}


.contentWrapper a {
color: #005380;
}

.contentWrapper a:hover {
color: #adc72e;
}

.contentWrapper h1, .jaw-modal-content h1 {
    color: #005380;
    text-transform: uppercase;
    font-size: 2.75rem;
    line-height: 1;
    margin: 0 auto;
    font-family: proxima-nova-extra-condensed, sans-serif;
    font-weight: 600;
    font-style: normal;
}

.contentWrapper h2, .contentWrapper h3 {
    color: #005380;
    text-transform: uppercase;
    font-size: 2.75rem;
    line-height: 1;
    margin: 0 auto;
    font-family: proxima-nova-extra-condensed, sans-serif;
    font-weight: 600;
    font-style: normal;
    text-align: center;
    max-width: 40rem;
}

.social-media h3 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#jaw-header {
    width: 100%;
    height: calc(100vh - 3.5rem);
    max-height: 60rem;
    background: url("https://dh36nblqpps8a.cloudfront.net/assets/just-add-water/2021/JAW-Hero-2021.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
}




#just-add-water-logo {
    width: 100%;
    height: calc(100% - 5rem);
    -webkit-filter: drop-shadow(0 0 .25rem rgba(0,0,0,.5));
    filter: drop-shadow(0 0 .25rem rgba(0,0,0,.5));
    display: block;
	text-align: center;
	padding-top: 6rem;
}


#jaw-header h1 {
    width: 17.5rem;
    height: 7.125rem;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    margin: 0 auto;
    padding: 0;
    background: url("https://dh36nblqpps8a.cloudfront.net/assets/just-add-water/just-add-water-logo.png") no-repeat;
    background-size: contain;
}

.copyright-notice, .bios figcaption {
    position: absolute;
    bottom: .25rem;
    left: .5rem;
    text-align: center;
    color: #fff;
    color: rgba(255,255,255,.9);
    text-shadow: 1px 1px 2px rgba(0,0,0,.25);
    font-size: .875rem;
}

.jaw-photo-credit
{
color: #fff;
color: rgba(255,255,255,.9);
text-shadow: 1px 1px 2px rgba(0,0,0,.25);
font-size: .875rem;
margin-top: -1.5rem;
margin-left: .5rem;
}

.content {
    max-width: 62.5rem;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
}

    .content p, .content li {
        max-width: 40rem;
        margin-left: auto;
        margin-right: auto;
    }

    .content li {
        margin-bottom: 1rem;
    }

        .content li:last-child {
            margin-bottom: 0;
        }

.bios, .brand-logos, .social-media {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

    .bios img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 1rem auto 0;
    }

    .bios figure {
        position: relative;
        max-width: 50rem;
        margin: 0 auto;
    }

    .social-media h2 {
        max-width: 30rem;
        margin-bottom: 1.5rem;
    }

.brand-logos {
    max-width: 80rem;
}

.brand-logo-images {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
}

    .brand-logo-images a {
        flex: 100% 0 0;
    }

        .brand-logo-images a img {
            max-width: 100%;
            height: auto;
        }





#social-media-wrapper {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin-top: 2rem
}

    #social-media-wrapper span {
        display: block;
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden
    }

    #social-media-wrapper a {
        flex: 0 0 auto;
        border-radius: 50%;
        background-color: #005380;
        color: #fff;
        text-decoration: none;
        text-align: center;
        width: 2.75rem;
        height: 2.75rem;
        margin: .25rem;
        line-height: 2.75rem;
        font-size: 1.5rem;
    }

        #social-media-wrapper a:hover {
            background-color: #27aae1
        }


.quoted {
    font-size: 1.5rem;
    font-style: italic;
    position: relative;
    color: #005380;
    margin-bottom: .25rem;
}


p.quoted:before {
    content: open-quote;
}

.quote-credit {
    font-size: 1.5rem;
    color: #27aae1;
    margin-top: 0;
}

.itinerary h3 {
    font-size: 1.75rem;
    color: #27aae1;
    line-height: 1.25;
    height: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-transform: none;
}

.jaw-buttons {
    text-align: center;
    margin-bottom: 2rem;
}

    .jaw-buttons a {
        color: #005380;
        background-color: #adc72e;
        font-family: proxima-nova-extra-condensed, sans-serif;
        font-weight: 600;
        font-style: normal;
        font-size: 1.4rem;
        text-align: center;
        border: none;
        padding: .75rem .75rem .55rem .75rem;
        border-radius: 20rem;
        text-decoration: none;
    }

        .jaw-buttons a:hover {
            color: #fff;
            background-color: #005380;
        }

#partner-grid {
    display: grid;
    grid-gap: 1rem;
    /* grid-template-columns: 1fr 1fr 1fr; */
    margin-top: 1rem;
}

    #partner-grid > a {
        display: block;
        min-height: 12rem;
        border-radius: .5rem;
        width: 100%;
        padding: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #222;
		background-image: url(https://dh36nblqpps8a.cloudfront.net/assets/learn/layout/learn-sup2.jpg);
		background-repeat: none;
		background-position: center center;
        background-size: cover;
        position: relative;
        text-decoration: none;
    }

        #partner-grid > a::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(120deg, #4b6cb7 0%, #182848 100%);
            opacity: .5;
            border-radius: .5rem;
            transition: opacity .15s ease-out;
        }

        #partner-grid > a:hover:after {
            /* background: linear-gradient(90deg, #4b6cb7 0%, #182848 100%); */
            opacity: .9;
        }

        #partner-grid > a span {
            color: #fff;
            text-transform: uppercase;
            font-size: 2.25rem;
            line-height: .9;
            margin: 0 auto;
            font-family: proxima-nova-extra-condensed, sans-serif;
            font-weight: 600;
            font-style: normal;
            text-align: center;
            z-index: 1;
            text-shadow: 0 0 .25rem rgba(0,0,0,.95)
        }

        #partner-grid > a:hover span {
            text-shadow: 0 0 .125rem rgba(0,0,0,1)
        }

.jaw-modal-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.jaw-modal-content, .jaw-modal-pagination {
    margin: 1rem auto 0;
    width: 80%;
}

    .jaw-modal-content h1 {
        line-height: .9;
        margin: 1.5rem 0 0;
        font-size: 2rem;
    }

    .jaw-modal-content p:first-of-type {
        margin-top: .5rem;
    }

a.jaw-modal-learn-more {
    display: inline-block;
    background-color: #5e7f1f;
    border-radius: 30rem;
    padding: .75rem 1.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem;
}

    a.jaw-modal-learn-more:hover {
        color: #5e7f1f;
        background-color: #adc72e;
    }

.jaw-modal-pagination {
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-top: .25rem solid #ddd;
    padding-top: 1rem;
    color: #ddd;
    text-align: center;
    font-size: 1.75rem;
}

    .jaw-modal-pagination .jaw-modal-pagination-count {
        padding: 0 .5rem;
    }

    .jaw-modal-pagination a {
        text-decoration: none;
        color: #ddd;
    }

        .jaw-modal-pagination a:hover {
            color: #005380;
        }

        .jaw-modal-pagination a.inactive {
            color: #efefef;
            cursor: not-allowed;
        }

.mfp-content {
    max-width: 50rem !important;
}


/* 25.875rem / 414px */
@media screen and (min-width:25.875rem) {

    #jaw-header h1 {
        width: 24.375rem;
        height: 9.9375rem;
    }

    .brand-logo-images a {
        flex: 50% 0 0;
    }
}

@media screen and (min-width:30rem) {

    #partner-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .jaw-modal-pagination .jaw-modal-pagination-count {
        padding: 0 3rem;
    }
}

@media screen and (min-width:40rem) {


    #social-media-wrapper a {
        width: 3.75rem;
        height: 3.75rem;
        line-height: 3.75rem;
        font-size: 2rem;
    }

    .copyright-notice, .bios figcaption {
        color: #fff;
        text-shadow: 1px 1px 2px rgba(0,0,0,.75);
        font-size: 1rem;
    }

    #partner-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* 48rem / 768px */
@media screen and (min-width:48rem) {

	#jaw-header {
	height: calc(100vh - 8.4rem);
	}


    #jaw-header h1 {
        width: 35rem;
        height: 13.375rem;
    }
    
    .brand-logo-images a {
        flex: 25% 0 0;
    }

    .quoted, .quote-credit {
        font-size: 2rem;
        line-height: 1.3;
    }


    p.quoted:before {
        font-size: 16rem;
        position: absolute;
        top: -4.8rem;
        left: -8rem;
        color: #27aae1;
    }

    .jaw-modal-content, .jaw-modal-pagination {
        width: auto;
        margin-left: 4rem;
        margin-right: 12rem;
    }

	.jaw-modal-content h1 {
		font-size: 2.75rem;
	}
    
}


@media screen and (min-width:62.5rem) {

    .nrs-logo a {
        width: 11.3125rem;
        height: 2.5rem;
    }

}
