/*
Theme Name: The HTML5 Reset Theme
Theme URI: http://html5reset.org
Description: A style-free theme to get you started on an HTML5-based WordPress theme of your own.
Author: Monkey Do! + @ckhicks
Author URI: http://monkeydo.biz
Version: 2.0
License: BSD 2-Clause
License URI: http://opensource.org/licenses/bsd-license.php
*/

/* Ok, this is where the fun starts.
-------------------------------------------------------------------------------*/

/* A Linux- and Windows-friendly sans-serif font stack: http://prospects.mhurrell.co.uk/post/updating-the-helvetica-font-stack */
body {font: 13px Helmet, Freesans, sans-serif;}

/* Using local fonts? Check out Font Squirrel's webfont generator: http://www.fontsquirrel.com/tools/webfont-generator */

/* We like off-black for text. */
body, select, input, textarea {color: #333;}

a {color: #d2393d;text-decoration:none;}
a:hover {color: #69f;}

/* Custom text-selection colors (remove any text shadows: http://twitter.com/miketaylr/status/12228805301) */
::-moz-selection{background: #fcd700; color: #fff; text-shadow: none;}
::selection {background: #fcd700; color: #fff; text-shadow: none;}

/*	j.mp/webkit-tap-highlight-color */
a:link {-webkit-tap-highlight-color: #fcd700;}

ins {background-color: #fcd700; color: #000; text-decoration: none;}
mark {background-color: #fcd700; color: #000; font-style: italic; font-weight: bold;}

/* Mozilla dosen't style place holders by default */
input:-moz-placeholder { color:#a9a9a9; }
textarea:-moz-placeholder { color:#a9a9a9; }


/* And here begins the WordPress fun.
-------------------------------------------------------------------------------*/

#wrapper {width: 960px; margin: 20px auto;}


/* Print styles!
-------------------------------------------------------------------------------*/
@media print {

}



.menubtn {
    height: 60px;
    width: 100px;
    padding: 10px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: fixed;
    top: 33px;
    right: 0;
    background-color: #fff;
    z-index: 21;
    animation-name: animateAsideIn;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: .8s;
}

.menubtn span {
    
    background-color: #494949;
    height: 15px;
    width: 80%;
    display: block;
    margin: 5px 0;
}

.menubtn::before {
    content: '';
    width: 60%;
    background-color: #494949;
    height: 15px;
    display: block;
}

.menubtn::after {
    content: '';
    width: 70%;
    background-color: #494949;
    height: 15px;
    display: block;
}

.menubtn span, .menubtn::before, .menubtn::after {
    transition: ease-out .4s;
}

.menubtn:hover span, .menubtn:hover::before, .menubtn:hover::after {
    width: 100%;
    transition: ease-out .4s;
}

#main_nav {
    position: fixed;
    background-color: #ffffff88;
    transition: all .4s;
    top: 0;
    bottom: 0;
    right: 100%;
    width: 100%;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    z-index: 20;
    transition: ease-out .2s;
}

.navtoggled #main_nav {
    
    opacity: 100;
    visibility: visible;
    transition: ease-in .4s;
    right: 0;
    display: flex;
    justify-content: center;
}


.navtoggled .navcontain {
    animation-name: myfadeInAnimation;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: .8s;
}

#main_nav ul {
    padding: 0;
}

#main_nav ul li {
    list-style: none;
    position: relative;
}

#main_nav ul li:hover {
}

.sub-menu {
    padding-left: 30px !important;
    border-left: 4px solid #1444;
    overflow: hidden;
    height: 0;
    transition:ease-in .4s;

}

.sub-menu.active {
    height: 100%;
    transition:ease-in .4s;
}

#main_nav ul li a {
    font-size: 1.2em;
    text-decoration: none;
    padding-right: 20px;
    background-color: #494949;
    color: #fff;
    padding: 5px 20px 5px 5px;
    border-bottom: 1px solid;
    display: block;
}

#main_nav ul {
    white-space: nowrap;
}

.menu_contact {
    padding-left: 30px;
    border-left: 1px solid;
}

.nav_footer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.nav_footer .logo_menu {
    height: 43px;
}

.nav_email {
    position: absolute;
    left: 4vw;
    letter-spacing: 1.4px;
    font-weight: bold;
}

#main_nav #mc_embed_signup {
    text-align: center;
    font-size: 1.4em;
}

.emailfields {
    padding-top: 30px;
}

.emailfields .email {
    height: 40px;
    font-size: 20px;
    padding: 0 10px;
    border: none;
}

.emailfields .button {
    height: 40px;
    font-size: 20px;
    padding: 0 10px;
    border: none;
}

.navcontain {
    display: flex;
    background-color: #fff;
    min-width: 500px;
    padding: 20px;
    box-shadow: 1px 3px 15px 2px #4444;
    z-index: 1;
}

.navcontain div {
    flex: 1;
}

#main_nav ul li.current-menu-item {
    border-left: 4px solid #494949;
}

.social_menu {
    margin-top: 4vw;
    margin-left: 12px;
}

#main_nav .social_menu li {
    display: inline-block;
    background-color: #494949;
    margin: 0 ;
    padding: 0;
}

#main_nav .social_menu li:hover {
    padding: 0;
    transition: ease-in .4s;
    border: none;
}

#main_nav ul li a:hover {
    display: block;
    transition: ease-in .4s;
}

.social_menu img {
    width: 50px;
    
}

body {
    font-family: 'PT Sans', sans-serif;
    font-size: 18px;
    color: #1d1d1b;
}

.bttn {
    font-size: 1.4em;
    text-decoration: none;
    max-width: 290px;
    width: 100%;
    display: block;
    text-align: center;
    padding: 10px 0;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

img {
    display: block;
}

h1, h2, h3, h4, h5, h6 {

}

header {
    display: flex;
    justify-content: space-between;
    padding: 30px 3vw;
    align-items: center;
}

header img {
    height: 70px;
}

header nav {
    display: 
}

header nav ul {

}


header nav ul li {
    display: inline-block;
}

header nav ul li a {
    color: #1d1d1b;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
}

#hero {
    position: relative;
    padding: 120px 0;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

#hero h1 {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    font-size: 2.9em;
    line-height: 1.1em;
    padding-bottom: 60px;
    font-weight: 600;
    color: #fff;
}

#heroinner {
    position: relative;
    padding: 120px 0;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

#heroinner h1 {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    font-size: 2.9em;
    line-height: 1.1em;
    padding-bottom: 60px;
    font-weight: 600;
    color: #fff;
}

#hero::after {
    content: '';
    display: block;
    position: absolute;
    background-color: #11111188;
    top: 0;
    bottom: 0;
    width: 100%;
}

#heroinner::after {
    content: '';
    display: block;
    position: absolute;
    background-color: #11111188;
    top: 0;
    bottom: 0;
    width: 100%;
}

#hero img {
    position: relative;
    z-index: 2;
    max-width: 320px;
    margin: 0 auto;
}

#getinvolved {
    display: flex;
    padding: 60px 8vw;
    align-items: center;
}

#getinvolved div {
    flex: 1;

}

#getinvolved h4 {
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 3px;
}

#getinvolved h2 {
    font-size: 2.8em;
    font-weight: 600;
    margin-bottom: 1em;
}

#getinvolved img {
    max-width: 34vw;
    width: 500px;
    margin: 0 auto;
}

#getinvolved .bttn {
    background-color: #1d1d1b;
    color:#fff;   
}

#leadin {

    padding: 60px 30vw 60px 8vw;
    color: #fff;
    background-color: #1d1d1b;
}

#leadin p:first-of-type {
    font-size: 1.8em;
    font-weight: 600;
}

#leadin p {
    font-size: 1.4em;
    margin-bottom: 1em;
}

#leadin .bttn {
    color: #1d1d1b;
    background-color:#fff;
}

#articles_content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #111;
}

footer {
    padding: 30px 8vw;
    background-color: #1d1d1b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8em;
}

footer ul {

}

footer ul li {
    display: inline-block;
    padding: 5px;
}

footer ul li a {
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
}

footer img {
    width: 40px;
}

#articles_content article {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    position: relative;
    background-position: center;
    background-size: cover;
    justify-content: space-around;
    min-height: 350px;
}

#articles_content {

}

#articles_content article::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 0;
    left: 0;
    opacity: .7;
}

#articles_content article:nth-child(1):after {
    background-color: #111;
}

#articles_content article:nth-child(2):after {
    background-color: #121520;
}

#articles_content article:nth-child(3):after {
    background-color: #5c1b27;
}

#articles_content article:nth-child(4):after {
    background-color: #72663d;
}

#articles_content article:nth-child(5):after {
    background-color: #161515;
}
#articles_content article:nth-child(6):after {
    background-color: #37454f;
}

#articles_content article a {
    color: #fff;
    text-decoration: none;
}

#articles_content h3 {
    text-transform: uppercase;
    font-size: 1.4em;
    position: relative;
    z-index: 1;
}

#articles_content .readmore {
    border-top: 2px solid;
    padding-top: 10px;
    font-weight: 600;
    font-size: 1.2em;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    padding-top: 40px;
}

#maininner {
    padding: 60px 16vw;
} 

#maininner p {
    margin-bottom: 1.2em;
    font-size: 1.2em;
}

#maininner p:first-of-type {
    font-weight: bold;
    font-size: 1.8em;
}

.entry h1 {
    font-size: 2em;
    width: 90%;
    font-weight: bold;
}

.entry h1, .entry h2, .entry h3, .entry h4, .entry h5, .entry h6 {
    margin-bottom: 1.4em;
}

.entry-content ul, .entry-content ol {
    padding-left: 30px;
    font-size: 1.2em;
}

.entry-content ul li {
    list-style: disc;
    padding-bottom: 1.2em;
}

.entry-content ol li {
    padding-bottom: 1.2em;
}

##maininner a {
    color: #c93d3c;
    text-decoration: none;
}

.wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


footer div {
    flex: 1;
}

footer div:last-child {
    text-align: right;
}

.footerimg {
    width: 170px;
    margin: 0 auto;
}

.entry a {
    color: #d2393d !important;
    text-decoration: none;
}

.entry a.wp-block-file__button {
    color: #fff !important;
}


.socialfeeds {
    display:flex;
}

.socialfeeds>p {
    flex: 1;
}
.socialfeeds>section {
    flex:3;
}

/* Media queries!
-------------------------------------------------------------------------------*/


@media screen and (max-width: 780px) {
    
    .socialfeeds {
        flex-direction: column;
    }
    
    section {
        flex-direction: column;
    }
    
    #leadin {
        padding: 60px 8vw 60px 8vw;
        color: #fff;
        background-color: #1d1d1b;
    }
    
    #articles_content article {
        width: 100vw;
        min-height: 50vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        position: relative;
        background-position: center;
        background-size: cover;
    }
    
    #articles_content h3 {
        text-transform: uppercase;
        font-size: 1.4em;
        position: relative;
        z-index: 1;
        padding-bottom: 50px;
    }
    
    #getinvolved {
        flex-direction: column-reverse;
    }
    
    #getinvolved img {
        max-width: 54vw;
        width: 500px;
        margin: 0 auto 50px;
    }
    
    #heroinner h1 {
        padding: 0 4vw;
    }
    
    .navcontain {
        min-width: inherit;
    }
    
    footer {
        flex-direction: column;
        text-align: center
    }

    footer div {
        text-align: center;
    }
    
    .footerimg {
    width: 170px;
    margin: 20px auto;
}
    
    #maininner {
padding: 60px 4vw;
}
    
}


.fullclose {
    top: 0;
    bottom: 0;
    position: absolute;
    width: 100%;
    z-index: 0;
}

#main_nav ul li.current-menu-item::after {
}


#main_nav .sub-menu span {
    display: block;
    height: 40px;
    width: 60px;
    position: absolute;
    right: 0;
    top: 0;
    background-image: url("images/downarrow.svg");
    border-left: 1px solid #fff5;
    background-position: center;
    background-size: 40px;
    background-repeat: no-repeat;

}

#main_nav>ul>li {
    position: relative;
}