/* Main Structure */

body::-webkit-scrollbar-track {
    border: 2px solid wheat;
    background-color: #F5F5F5;
}

body::-webkit-scrollbar {
    width: 20px;
    background-color: #F5F5F5;
}

body::-webkit-scrollbar-thumb {
    background-color: #736357;
}

.wrapper {
    width: 100%;
    margin: 0 auto;
    margin-left: 10px;
}

.wrap {
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

main {
    display: block;
    background-color: rgba(72, 79, 9, 0.59);
}

.container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 0;
}

h1 {
    font-family: "Roboto Slab", sans-serif;
}

/* Header & Nav */
header {
    background-color: rgba(256, 256, 256, .75);
    display: flex;
    position: fixed;
    height: 120px;
    width: 100%;
    left: 0;
    top: 0;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    align-items: center;
    padding-left: 10px;
    padding-top: 5px;
    transition: height 0.2s linear 0.2s, padding 0.2s linear 0s;
    overflow: hidden;
}

.nav-bar {
    display: flex;
    flex-wrap: wrap;
}

.nav-bar a {
    font-family: "Roboto Slab", sans-serif;
    color: #736357;
    transition: height 0.2s linear 0.3s, color .1s ease-in-out;
    margin: .20em 1em;
    padding: .20em 1em;
    text-decoration: none;
    /*font-size: 20px;*/

}

.nav-bar a:hover {
    color: #d16e4e;
    /*font-size: larger;
    letter-spacing: 2px;*/
}

#nav-nav-bar {
    display: flex;
    align-items: center;
}

.logo {
    font-family: "Roboto Slab", sans-serif;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 40px;
    padding: -.7em;
    color: #103f4f;
    transition: font-size .3s;
    border-top: 0px;
}

/* Flex-Containers */

.flex-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.tag-line {
    background-color: #f5f5f5;
    height: 125px;
    margin-bottom: 2em;
}

/* Sections */
.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #484f09;
    height: 3em;
    width: 10em;
    border-radius: .5em;
    color: #ffffff;
    text-decoration: none;
    font-family: "Roboto Slab", sans-serif;
    transition: background-color .2s ease-in-out;
    transition-delay: initial;
    margin-left: 1em;
}

.link-btn:hover {
    background-color: rgba(217, 146, 23, 0.74);
}

section.module:last-child {
    margin-bottom: 0;
}

section.module h2 {
    margin-bottom: 1em;
    margin-top: 1em;
    font-family: "Roboto Slab", sans-serif;
    font-size: 20px;
    color: rgba(16, 63, 79, 0.64);
    text-transform: uppercase;
}

section.module p {
    margin-bottom: 40px;
    font-weight: 300;
}

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

section.module.content {
    padding-bottom: 30px;
}

section.module.parallax {
    height: 130px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
section.module.parallax h1 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 48px;
    line-height: 600px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
section.module.parallax-1 {
    background-image: url("assets/img/images/secondheader1232x250_o.png");
}
/* Articles */
article {
    text-align: justify;
    text-justify: inter-word;
}

.container.blog-articles {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.featured-articles {
    display: flex;
    justify-content: center;
    width: 960px;
}

.featured-articles article {
    display: flex;
    flex-grow: 1;
    max-width: 200px;
    min-width: 200px;
    height: 300px;
    margin-left: 1em;
    margin-right: 1em;
    margin-bottom: 1em;
    border: outset 1px lightgray;

}
/*
.blog-articles {
    margin-top: 2em;
}

.blog-articles article {
    width: 45%;
    margin-bottom: 2.5em;
    /*padding: 1em;*/

}
/*
.blog-articles article h1 {
    font-family: "Roboto Slab", sans-serif;
    font-size: 28px;
    margin-bottom: .5em;
}

.blog-articles article p {
    font-family: "Roboto Slab", sans-serif;

}

.blog-entry {
    display: flex;
    justify-content: space-between;
    min-width: 20em;
    /*max-width: 35em;
 max-height: 30em;
 min-height: 18em;
 margin: .5em;
 border-radius: 2px;
 box-shadow: rgba(0, 0, 0, 0.0980392) 0 2px 4px, rgba(0, 0, 0, 0.0980392) 0 0 3px;
 background-color: rgb(245, 245, 245);
 flex-wrap: wrap;
 padding: 1em;
 align-content: center;
 overflow: hidden;
}

.blog-entry img {
    display: flex;
    height: 100px;
}*/

.title {
    font-size: 2em;
}

#datePosted {
    font-size: smaller;
    margin-top: .5em;
    margin-bottom: .5em;
}

#name {
    margin-top: .5em;
    margin-bottom: .5em;
}
/*
#article-1 {
    background: url("http://lorempixel.com/500/500/city") 50% 50% no-repeat;
}

#article-2 {
    background: url("http://lorempixel.com/g/500/500/transport") 50% 50% no-repeat;
}

#article-3 {
    background: url("http://lorempixel.com/500/500/fashion") 50% 50% no-repeat;
}

#article-4 {
    background: url("http://lorempixel.com/500/500/people") 50% 50% no-repeat;
}
*/
/* Flip Boxes*/
/* In Development Phase
.flip3D {
    width: 240px;
    height: 200px;
    margin: 10px;
    float: left;
}

.flip3D > .front {
    position: absolute;
    transform: perspective(600px) rotateY(0deg);
    background: #fc0;
    width: 240px;
    height: 200px;
    border-radius: 7px;
    backface-visibility: hidden;
    transition: transform .5s linear 0s;
}

.flip3D > .back {
    position: absolute;
    transform: perspective(600px) rotateY(180deg);
    background: #33ffff;
    width: 240px;
    height: 200px;
    border-radius: 7px;
    backface-visibility: hidden;
    transition: transform .5s linear 0s;
}

.flip3D:hover > .front {
    transform: perspective(600px) rotateY(-180deg);
}

.flip3D:hover > .back {
    transform: perspective(600px) rotateY(0deg);
}
*/
/*image fade in*/
/* make keyframes that tell the start state and the end state of our object */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
    -webkit-animation: fadeIn ease-in 1;
    -moz-animation: fadeIn ease-in 1;
    animation: fadeIn ease-in 1;

    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;

    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    animation-duration: 1s;
}

.fade-in.one {
    -webkit-animation-delay: 0.7s;
    -moz-animation-delay: 0.7s;
    animation-delay: 0.7s;
}

.fade-in.two {
    -webkit-animation-delay: 1.2s;
    -moz-animation-delay: 1.2s;
    animation-delay: 1.2s;
}
/* Slideshow HTML STYLES  */
#articleHome {
    clear: none;
    display: block;
    float: right;
    width: 47%;
    padding: 1%;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 1.2em;
    font-weight: bold;
    color: #000;
}
#imgHome {
    clear: none;
    display: block;
    float: left;
    width: 47%;
    padding: 1%;


}
/* GENERAL HTML STYLES  */

#header, #container, #footer,{display:block;width:940px !important;margin:0px auto;}

#copyright{display:block;width:960px !important;margin:20px;}


nav ul {margin:0px;padding:0px;list-style:none;}

h1, h2, h3, h4, h5, h6 {margin:0px;padding:0px;font-size:32px;font-weight:normal;font-style:italic;line-height:normal;}
address{font-style:normal;}

/* Footer */

footer {
    display: flex;
    justify-content: center;
    background-color: #333333;
    padding: 2em;
    text-decoration: none;
}
/*------- FOOTER SECTION --------*/

#footer {padding:30px 0px;font-size:12px;line-height:16px;}
#footer section h2.title {margin:0px 0px 25px 0px;padding:0px;color:#000000;background-color: #b11d2b;font-size:14px;font-weight:bold;text-transform:uppercase;}
#footer section nav li {margin:0px 0px 5px 0px;border-bottom:1px dashed #555555;}
#footer section nav li.last{margin:10px;}

.titles  {font-size:50px;font-family:'Philosopher' sans-serif;font-weight:Bold;}

.one_quarter, .two_quarter, .three_quarter, .four_quarter {display:block;float:left;margin:0px 20px 0px 0px;}
.one_quarter {width:225px;}
.two_quarter {width:470px;}
.three_quarter {width:715px;}
.four_quarter {width:960px; float:none;margin-right:0px;clear:both;}

.one-third, .two-third, .three-third {display:block;float:left;margin: 0px 30px 0px 0px;}
.one-third {width:300px;}
.two-third {width:630px;}
.three-third {width:960px; float:none; margin-right:0px;clear:both;}

.lastbox {margin-right:0px;}

.footer-bar a {
    font-family: "Roboto Slab", sans-serif;
    color: tan;
    transition: height 0.3s linear 0.3s, color .1s ease-in-out;
    margin: .25em .5em;
    padding: .25em .5em;
    text-decoration: none;
    font-size: 20px;
}
.fluid address
{
  text-justify: auto;
    float: left;
    letter-spacing: 2px;
    color: burlywood;
}

.footer-bar a:hover {
    color: #d16e4e;
    /*font-size: larger;
    letter-spacing: 2px;*/
}

#footer-nav-bar {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/*Media Query*/
@media all and (min-width: 600px) {
    section.module h2 {
        font-size: 30px;
    }

    section.module p {
        font-size: 20px;
    }

    section.module.parallax h1 {
        font-size: 96px;
    }
}

@media all and (min-width: 960px) {
    /*section.module.parallax h1 {*/
    /*font-size: 160px;*/
    /*}*/
}