/*
Theme Name: Mount Cotton Community Fellowship 3.0
Author: Michael Schmidt
Author URI: http://michaelschmidt.com.au/
Description: The theme of Mount Cotton Community Fellowship.
Version: 1.0
*/

* {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Merriweather Sans', sans-serif;
}

*:last-child {
    margin-bottom: 0;
}

::selection {
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 16px;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
html {
    overflow-x: hidden;
    background: center center fixed url(images/tree.jpg);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}


body {
    line-height: 1.25;
    min-height: 100%;
    position: relative;
    top: 0; right: 0; bottom: 0; left:  0;
    padding-top: 1rem;
    overflow-x: hidden;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
a {
    text-decoration: none;
}

.container {
    max-width: 79rem;
    padding: 0 2rem;
    margin: 0 auto;
}
.page {
    background: #fcfcfc;
    
}

.site-container-shadow {
    position: absolute;
    top: 2rem; right: 2rem; bottom: 0; left: 2rem;
    max-width: 75rem;
    margin: auto;
    height: 100%;
    -webkit-box-shadow: 0 0 2rem 0 rgba(0,0,0,0.15);
    box-shadow: 0 0 2rem 0 rgba(0,0,0,0.15);
    z-index: 5000;
    pointer-events: none;
}
header {
    position: relative;
    background: #fcfcfc;
    height: 7.5rem;
    max-width: 75rem;
    margin: 0 auto 1.125rem !important;
}
header * {
}
header:before {
}
header img.site-logo {
    height: 5.625em;
    width: 5.625em;
    display: inline-block;
    margin: 1rem;
}
header a {
    padding: 0;
    background: none;
}
.site-logo {
}






nav {
    display: inline-block;
    vertical-align: top;
}
button.menu {
    position: absolute;
    right: 1rem;
    top: 2rem;
    font-weight: 600;
    padding: 1rem;
    background: #058d41;
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
    border: none;
    display: none;
}
button.menu:before {
    content: '';
    height: 1.25rem;
    width: 1rem;
    display: inline-block;
    margin-right: 0.75rem;
    background: center center no-repeat url(images/navicon.svg);
    background-size: contain;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    vertical-align: middle;
}
button.menu:hover {
    background: #03612e;
}
nav ul li {
    display: inline-block;
    height: 100%;
    position: relative;
    overflow: visible;
    white-space: nowrap;
}
nav>ul>li.menu-item-has-children>a:after {
    content: '';
    width: 0.5rem;
    height: 0.5625rem;
    background: url(images/down-arrow.svg) center center no-repeat;
    display: inline-block;
    vertical-align: center;
    background-size: contain;
    
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    margin-left: 0.5rem;
    -ms-transform: rotate(360deg); /* IE 9 */
    -webkit-transform: rotate(360deg); /* Chrome, Safari, Opera */
    transform: rotate(360deg);
    -webkit-transition: -webkit-transform 0.5s; /* For Safari 3.1 to 6.0 */
    transition: transform 0.5s;
}
nav>ul>li.menu-item-has-children.open>a:after {
    content: '';
    width: 0.5rem;
    height: 0.5625rem;
    background: url(images/down-arrow.svg) center center no-repeat;
    display: inline-block;
    vertical-align: center;    background-size: contain;    
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    margin-left: 0.5rem;
    -ms-transform: rotate(180deg); /* IE 9 */
    -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
    transform: rotate(180deg);
    -webkit-transition: -webkit-transform 0.5s; /* For Safari 3.1 to 6.0 */
    transition: transform 0.5s;
}
    
nav ul li a {
    color: #666666;
    padding: 3.125rem 1rem;
    display: inline-block;
    cursor: pointer;
}
nav ul li a:hover {
    background: #f9f9f9;
}
nav>ul>li.open>a, nav>ul>li.open>ul {
    background: #f4f4f4;
}
nav>ul>li>ul.sub-menu {
    position: absolute;
    min-width: 100%;
    display: block;
    display: none;
    z-index: 10000;
}
nav ul li ul.sub-menu li {
    display: block;
}
nav>ul>li>ul.sub-menu li a {
    padding: 1.5rem;
    display: block;
}

nav ul ul ul li a {
    background: #e6e6e6;
}

nav ul ul ul li a:before {
    content: '-';
    margin: 0 0.5rem 0 1rem;
    vertical-align: center;
}




.top-banner {
    height: 1.5rem;
    width: 100%;
    position: absolute;
    bottom: -1.5rem;
    background: #068d45;
    z-index: 9999;
}
.top-banner:before {
    content: '';
    width: 1.5rem;
    height: 2rem;
    background: url(images/left-banner-end.svg);
    position: absolute;
    left: -1.5rem;
    bottom: 0;
    z-index:  9999;
}
.top-banner:after {
    content: '';
    width: 1.5rem;
    height: 2rem;
    background: url(images/right-banner-end.svg);
    position: absolute;
    right: -1.5rem;
    bottom: 0;
    z-index: 9999;
}

#title {
    width: 100%;
    padding: 4rem 4rem 2rem ;
    background: #1aa256;
    margin-bottom: 2rem;
}

#title h1, #title p {
}

#title h1 {
    margin-bottom: 0.2em;
}

#title p {
    font-size: 1.5rem;
    color: white;
}

#home-slider {
    max-width: 75rem;
    text-align: center;
    color: white;
    margin: 0 auto;
    overflow: hidden;
    z-index: 8000;
    position: relative;
    padding-top: 0;
    padding: 0;
    margin: 0 0 4rem;
}

#home-slider br {
    display: none;
}


#home-slider .slide {
    padding: 6rem;
}

#home-slider p {
    color: white;
    line-height: 1.5em;
}

#home-slider .slide {
    background: center center no-repeat fixed url(images/blurry-tree.jpg);
    background-size: cover;
    
    -webkit-background-size: cover;
    
    -moz-background-size: cover;
    
    -o-background-size: cover;
    width: 100%;
    height: 100%;
}

h1.home {
    height: 0;
    width: 0;
    position: absolute;
    left: -9999px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
}
h1 {
    font-size: 2.5rem;
    font-family: 'Merriweather Sans', sans-serif;
    color: white;
    font-weight: 800;
    margin-bottom: 2rem;
}
h2 {
    color: #058d41;
    font-size: 1.75rem;
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 800;
    margin: 1em 0 0.5em;
}
#home-slider h2 {
    font-size: 3.5rem;
    color: white;
    margin-top: 0;
}
h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 700;
    color: #058d41;
}
p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-family: 'Merriweather Sans', sans-serif;
    line-height: 1.75em;
    color: #3b3b3b;
}

pre {
    font-size: 0.75rem;
    margin-bottom: 1.5em;
    font-family: 'Merriweather Sans', sans-serif;
    line-height: 1.25em;
    color: #3b3b3b;
    opacity: 0.7;
    margin-top: -0.5rem;
    white-space: normal;
}
p strong, p b {
    font-weight: 700;
}
a {
    font-family: 'Merriweather Sans', sans-serif;
}

a.button, .to-top, input[type="submit"] {
    background: #058d41;
    padding: 1.25rem 1.75rem;
    display: inline-block;
    color: white;
    border: none;
    cursor: pointer;
    margin-bottom: 1rem;
    
}

input[type="text"], input[type="email"], textarea {
    padding: 1rem;
    display: block;
    border: 1px solid #DADADA;
}

textarea {
    max-width: 100%;
}

.to-top {
    padding: 1rem 2rem;
    margin-bottom: 1rem;
}

a.button:hover, .to-top:hover, input[type="submit"]:hover {
    background: #03612e;
}
a.button:after, input[type="submit"]:after {
    content: '';
    width: 0.75rem;
    height: 1rem;
    background: url(images/right-arrow.svg) center center no-repeat;
    display: inline-block;
    background-size: contain;
    margin-left: 1rem;
}
#home-slider a {
    font-size: 1.25rem;
}
#home-slider p {
    font-size: 2.5rem;
    font-family: 'Merriweather Sans', sans-serif;
    margin-bottom: 2.5rem;
}

main > section {
    padding: 0 4rem;
    margin: 0 0 4rem;
}

section {
    background: #fcfcfc;
}

.thirdcolumn {
    margin-left: -2rem;
    margin-right: -2rem; 
}

.thirdcolumn > div {
    width: 33.33%;
    float: left;
    vertical-align: top;
    padding: 0 2rem;
}

.thirdcolumn:after {
    content: '';
    display: block;
    height: 0;
    width: 0;
    clear: both;
}

.thirdcolumn > .thirdcolumntwospan {
    width: 66.66%;    
}


.thirdcolumn img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 8rem;
    margin: 0 auto 1.5rem;
}
.mccf-logo {
    width: 8rem;
}
.c4-logo {
    width: 8.4375rem;
}
.livewires-logo {
    width: 10.75rem;
}

#our-fellowship-ministries h3, #our-fellowship-ministries .thirdcolumn p {
    text-align: center;
}

a.center {
    display: block;
    margin: 0 auto;
    width: 11rem;
    text-align: center;
}

#our-fellowship-ministries h2, #upcoming-events h2 {
    margin-bottom: 2rem;
}

#upcoming-events .featured-event-image {
    position: relative;
    overflow: hidden;
}

#upcoming-events .featured-event-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    margin: 0;
}

#upcoming-events .featured-event-details p {
    margin-bottom: 1.25rem;
}

#upcoming-events h3 {
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #3c3c3c;
    margin-bottom: 0.5rem;
    text-align: left;
}
#upcoming-events a {
    margin: 0 0 1rem;
}

#upcoming-events .date {
    font-family: 'Merriweather Sans', sans-serif;
    height: 100%;
    width: 6rem;
    background: #058d41;
    position: absolute;
    right: 2rem;
}

.date-container {
    height: 6rem;
    margin: auto;
    top: 0; right: 0; bottom: 0; left: 0;
    position: absolute;
}

#upcoming-events span {
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 1.25rem;
    opacity: 0.5;
}

#upcoming-events .featured-event-details span {
    display: block;
    margin-bottom: 1.25rem;
}

#upcoming-events .number,
#upcoming-events .month {
    font-size: 3rem;
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 800;
    color: white;
    display: block;
    text-align: center;
    opacity: 1;
}
#upcoming-events .featured-event-image .date .number {
    font-size: 3rem;
}
#upcoming-events .featured-event-image .date .month {
    font-size: 1.75rem;
}

div.cta-box {
    border: solid 1px #058d41;
    padding: 2rem;
}

div.cta-box h2 {
    margin-top: 0;
}

footer {
    background: #12492a;
    position: relative;
    min-height: 4rem;
    margin-top: 4rem;
    padding: 3rem 4rem 1.5rem;
}

footer .banner-container {
    position: relative;
    max-width: 75rem;
    margin: 0 auto;
    padding: 0;
    height: 1.5rem;
}

.bottom-banner {
    height: 1.5rem;
    width: 100%;
    position: absolute;
    background: #068d45;
    top: 0; right: 0;
}
.bottom-banner:before {
    content: '';
    width: 1.5rem;
    height: 2rem;
    background: url(images/left-banner-end.svg);
    position: absolute;
    left: -1.5rem;
    bottom: 0;
    z-index:  9999;
}
.bottom-banner:after {
    content: '';
    width: 1.5rem;
    height: 2rem;
    background: url(images/right-banner-end.svg);
    position: absolute;
    right: -1.5rem;
    bottom: 0;
    z-index: 9999;
}

footer p {
    color: white;
    opacity: 0.5;
    font-size: 0.7rem;
    
    margin-bottom: 0.5rem;
}

/* */
@media only screen and (max-width : 1020px) {
    button.menu {
        display: inline-block;
    }
    #home-slider .slide {
        padding: 4rem 3rem;
    }
    .thirdcolumn > div, .thirdcolumn .thirdcolumntwospan {
        width: 100%;
        margin-bottom: 4rem;
    }
    .thirdcolumn > div:last-of-type {
        margin-bottom: 0;
    }    
    #our-fellowship-ministries h3, #our-fellowship-ministries .thirdcolumn p {
        text-align: left;
    }
    .thirdcolumn img {
        margin: 0 0 1.5rem;
    }
    a.center {
        margin: 0;
    }
    nav {
        position: absolute;
        top: 9rem; right: 0;
        z-index: 10000;
        width: 100%;
    }
    nav a {
        letter-spacing: -1px;
    }
    nav>ul {
        display: none;
    }
    nav>ul.open {
        display: block;
    }
    nav>ul>li {
        display: block;
        background: #057a3d;
    }
    nav>ul>li.menu-item-has-children>a:after {
        content: '';
        width: 0.5rem;
        height: 0.5625rem;
        background: url(images/down-arrow-white.svg) center center no-repeat;
        display: inline-block;        vertical-align: center;
        background-size: contain;
        -webkit-background-size: contain;
        -moz-background-size: contain;
        -o-background-size: contain;
        margin-left: 0.5rem;
        -ms-transform: rotate(360deg); /* IE 9 */
        -webkit-transform: rotate(360deg); /* Chrome, Safari, Opera */
        transform: rotate(360deg);
        -webkit-transition: -webkit-transform 0.5s; /* For Safari 3.1 to 6.0 */
        transition: transform 0.5s;
    }
    nav>ul>li.menu-item-has-children.open>a:after {
        content: '';
        width: 0.5rem;
        height: 0.5625rem;
        background: url(images/down-arrow-white.svg) center center no-repeat;
        display: inline-block;
        vertical-align: center;
        background-size: contain;
        -webkit-background-size: contain;
        -moz-background-size: contain;
        -o-background-size: contain;
        margin-left: 0.5rem;
        -ms-transform: rotate(180deg); /* IE 9 */
        -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
        transform: rotate(180deg);
        -webkit-transition: -webkit-transform 0.5s; /* For Safari 3.1 to 6.0 */
        transition: transform 0.5s;
    }
    nav ul li a:hover {
        background: #069f4f;
    }
    nav>ul>li.open>a, nav>ul>li.open>ul {
        background: #069f4f;
    }
    nav>ul>li>ul.sub-menu {
        position: initial;
        background: #014923;
    }
    nav ul ul ul li a {
        background: none;
    }
    nav ul li a {
        padding: 1.5rem 1rem;
        display: block;
        color: white;
    }
    .thirdcolumn div.featured-event-details {
        margin-bottom: 0;
    }
}

/* devices smaller than iPad (Portrait) Breakpoint */
@media only screen and (max-width : 799px) {
    html {
        font-size: 95%;
    }
}

/* devices smaller than iPad (Portrait) Breakpoint */
@media only screen and (max-width : 767px) {
    html {
        font-size: 85%;
    }
    #home-slider .slide {
        padding: 4.5rem 3rem;
    }
}

@media only screen and (max-width : 599px) {
    body {
        padding-top: 0;
    }
    .container {
        max-width: 78rem;
        padding: 1rem;
    }
    #home-slider .slide {
        padding: 3.5rem 2rem;
    }
}

@media only screen and (max-width : 480px) {
    .container {
        max-width: 75rem;
        padding: 0rem;
    }
    .top-banner:before, .top-banner:after, .bottom-banner:before, .bottom-banner:after {
        display: none;
    }

    #home-slider {
        margin-bottom: 3rem;
    }
    #home-slider .slide {
        padding: 2.5rem 1.5rem;
    }
    #home-slider h2 {
        font-size: 2rem;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    #home-slider p {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    #home-slider a {
        font-size: 1rem;
    }
    #title {
        padding: 2rem;
    }
    #title p {
        font-size: 1rem;    
    }
    main > section {
        padding: 0 1.5rem;
    }
    #upcoming-events .featured-event-image {
        display: none;
    }
    footer {
        padding: 3rem 1.5rem 1.5rem;
    }
    .to-top {
        display: block;
    }
}


/* Phone Breakpoint */
@media only screen and (max-width : 320px) {
    html {
        font-size: 75%;
    }
}

/*
 *
 * FONTS
 *
 */

/*
 *
 * THIRD PARTY MODS
 *
 */

.embed-container {
    margin-bottom: 1.5rem;
}