/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

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,
font,
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 {
    background: transparent;
    border: 0;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

body {
    line-height: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    font-weight: normal;
}

ol,
ul {
    list-style: none;
}

blockquote {
    quotes: none;
}

blockquote:before,
blockquote:after {
    content: '';
    content: none;
}

del {
    text-decoration: line-through;
}


/* tables still need 'cellspacing="0"' in the markup */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a img {
    border: none;
}


/* =Scss Variables
-------------------------------------------------------------- */


/* =Global
-------------------------------------------------------------- */

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    font-family: church_fonts;
    font-weight: 300;
    font-size: 16px;
    line-height: 20px;
}


/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: #ffffff;
}

a:hover {
    color: #d0c59a;
}


/* =Template
-------------------------------------------------------------- */

h1_events {
    font-weight: 700;
    font-size: 75px;
    color: #756860;
    text-transform: uppercase;
    display: inline-block;
    line-height: 60px;
    margin: 0px 10px;
}

.star {
    line-height: 0px;
    position: relative;
    font-size: 30px;
    bottom: 15px;
    padding-right: 20px
}

#wrapper {
    width: 100%;
    margin: 0 auto;
}

#main {
    /* padding-top: 120px; */
    line-height: 0;
}

.container {
    width: 95%;
    margin: 0 auto;
    padding: 0 30px;
    line-height: 0;
}

section {
    padding: 60px 0;
    text-align: center;
}

section h1 {
    font-weight: 700;
    margin-bottom: 40px;
    font-size: 40px;
    color: #ffffff;
    text-transform: uppercase;
    display: inline-block;
}

section h1:after,
.h1:after {
    content: '';
    display: block;
    width: 100%;
    height: 5px;
    margin: 0.625rem auto 0;
    background: url(../images/h1_after.png) no-repeat 50% 50%;
    background-size: cover;
}

section h1b {
    line-height: normal;
    font-weight: 700;
    margin-bottom: 40px;
    font-size: 40px;
    color: #000000;
    text-transform: uppercase;
    display: inline-block;
}

section h1b:after,
.h1b:after {
    content: '';
    display: block;
    width: 100%;
    height: 5px;
    margin: 0.625rem auto 0;
    background: url(../images/h1_after-black.png) no-repeat 50% 50%;
    background-size: cover;
}

section p {
    margin-bottom: 15px;
    max-width: 700px;
    font-size: 21px;
    letter-spacing: 1px;
    font-weight: 300;
    line-height: 28px;
    color: #fff;
    text-align: justify;
}

section p:last-child {
    margin-bottom: 0;
}

section.color {
    background-color: #706259;
    color: #dcd9d9;
}

section.color_white {
    background-color: #ffffff;
    color: #000000;
}


/* =Info Bar
-------------------------------------------------------------- */


/* =Header
-------------------------------------------------------------- */

header {
    width: 100%;
    /*    height: 100px;*/
    overflow: hidden;
    position: fixed;
    padding: 10px 0;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.85);
    -webkit-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}

header img#logo {
    display: inline-block;
    height: 100px;
    line-height: 150px;
    float: left;
    font-family: church_fonts;
    font-size: 60px;
    color: white;
    font-weight: 400;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

header nav {
    display: inline-block;
    float: right;
}

header nav a {
    line-height: 100px;
    margin-left: 20px;
    color: #ffffff;
    font-weight: 400;
    font-size: 21px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    text-transform: uppercase;
}

header nav a:hover {
    color: #d1c99f;
}

header.smaller {
    /*    height: 75px;*/
    background: rgba(0, 0, 0, 0.75);
    -webkit-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}

header.smaller img#logo {
    /*    width: 150px;*/
    height: 55px;
    line-height: 75px;
    font-size: 30px;
}

header.smaller nav a {
    line-height: 55px;
}


/* =Footer
-------------------------------------------------------------- */


/* =Extras
-------------------------------------------------------------- */

.clearfix:after {
    visibility: hidden;
    display: block;
    content: "";
    clear: both;
    height: 0;
}


/* =Media Queries
-------------------------------------------------------------- */

@media all and (max-width: 800px) {
    h1_events {
        font-weight: 700;
        font-size: 25px;
        color: #ffffff;
        text-transform: uppercase;
        display: inline-block;
        line-height: 30px;
        margin: 0px 10px;
    }
    .star {
        line-height: 0px;
        position: relative;
        font-size: 20px;
        bottom: 3px;
        padding-right: 5px;
    }
    /* =Header
  -------------------------------------------------------------- */
    #main {
        /* padding-top: 75px; */
        line-height: 0;
    }
    header {
        height: 75px;
    }
    header img#logo {
        display: block;
        float: left;
        margin: 0 auto;
        height: 55px;
        line-height: 100px;
        text-align: center;
    }
    header nav {
        display: none;
        float: none;
        height: 50px;
        text-align: center;
        margin: 0 auto;
    }
    header nav a {
        line-height: 50px;
        margin: 0 10px;
    }
    header.smaller {
        height: 75px;
    }
    header.smaller img#logo {
        height: 55px;
        line-height: 40px;
        font-size: 30px;
    }
    header.smaller nav {
        height: 35px;
    }
    header.smaller nav a {
        line-height: 35px;
    }
}

@media all and (max-width: 940px) {
    header nav a {
        margin-left: 5px;
    }
}

@media all and (min-width: 800px) {
    .mobile_menu {
        display: none;
    }
}

@media all and (max-width: 600px) {
    .container {
        width: 100%;
    }
    #info-bar a {
        display: block;
    }
    #info-bar span.all-tutorials,
    #info-bar span.back-to-tutorial {
        width: 100%;
    }
    #info-bar span.all-tutorials,
    #info-bar span.back-to-tutorial {
        float: none;
        text-align: center;
    }
    #info-bar span.all-tutorials {
        border-bottom: solid 1px #0793e2;
    }
}


}