/* General ----------------------------------------------------------------------------------------- */

body {
    background-color: #333;
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 22px;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
    
header {
    padding-bottom: 75px;
}
body.sub header {
    padding-bottom: 250px;
}

footer {
    background-color: #333;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
}
footer p {
    color: #aaa;
    margin: 0 auto;
    max-width: 990px;
    padding: 10px 15px;
    text-align: center;
}
footer a {
    color: #ddd;
}

@media only screen and (max-width: 990px) {
    header {
        padding-bottom: 60px;
    }
}

@media only screen and (max-width: 760px) {
    header, body.sub header {
        padding-bottom: 0;
    }
}

h1, h2, h3 {
    color: #598fa6;
}
body.green h1, body.green h2, body.green h3 {
    color: #4f9729;
}
body.brown h1, body.brown h2, body.brown h3 {
    color: #886229;
}

a {
    color: #e36205;
    font-weight: 400;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

h1 {
    font-size: 48px;
    font-weight: 400;
    line-height: 56px;
}

@media only screen and (max-width: 760px) {
    h1 {
        font-size: 36px;
        line-height: 40px;
    }
}

h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 26px;
}

h3 {
    font-size: 18px;
    font-weight: 400;
    line-height: 20px;
}

section {
    background: #fff;
    color: #000;
}

strong {
    font-weight: 400;
}

/* Logo -------------------------------------------------------------------------------------------- */

#logoArea {
    font-size: 90px;
    font-weight: 400;
    line-height: 110px;
    padding: 100px 0;
    text-align: center;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, .75);
    z-index: 3;
}
#logoArea #logo span {
    display: block;
    font-size: 34px;
    line-height: 40px;
}
#logoArea a {
    color: #fff;
    text-decoration: none;
}
#logoArea a:hover {
    text-decoration: none;
}

@media only screen and (max-width: 990px) {
    #logoArea {
        font-size: 72px;
        line-height: 80px;
        padding: 60px 0;
    }
    #logoArea #logo span {
        font-size: 28px;
        line-height: 36px;
    }
}
    
@media only screen and (max-width: 760px) {
    #logoArea {
        background-color: #333;
        box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.50);
        font-size: 26px;
        height: 55px;
        line-height: 28px;
        padding: 0 15px;
        text-align: left;
        text-shadow: none;
        -webkit-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.50);
        -moz-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.50);
    }
    #logoArea #logo {
        padding: 4px 0;
    }
    #logoArea #logo span {
        font-size: 12px;
        line-height: 16px;
    }
}

body.sub #logoArea {
    background-color: #333;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.50);
    font-size: 26px;
    height: 55px;
    line-height: 28px;
    padding: 0 15px;
    text-align: left;
    text-shadow: none;
    -webkit-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.50);
    -moz-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.50);
}
body.sub #logoArea #logo {
    margin: 0 auto;
    padding: 4px 0;
    width: 960px;
}
@media only screen and (max-width: 990px) {
    body.sub #logoArea #logo {
        width: auto;
    }
}
body.sub #logoArea #logo span {
    font-size: 12px;
    line-height: 16px;
}

/* Menu Icon --------------------------------------------------------------------------------------- */

#menuArea {
    height: 55px;
    left: 50%;
    margin: 0 0 0 -280px;
    position: fixed;
    top: 0;
    width: 770px;
    z-index: 2;
}
@media only screen and (max-width: 990px) {
    #menuArea {
        right: 0;
        margin: 0;
        width: 50%;
    }
}
#menuArea a {
    background-color: #333;
    color: #fff;
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
    height: 55px;
    line-height: 14px;
    padding: 0 10px;
    position: absolute;
    text-align: center;
    right: 0;
    top: 0;
}
#menuArea a:hover {
    background-color: #e36205;
    text-decoration: none;
}
#menuArea a i {
    display: block;
    font-size: 32px;
    line-height: 32px;
    padding: 4px 0 0;
}

/* Menu Navigation --------------------------------------------------------------------------------- */

ul.menu {
    list-style-type: none;
    margin: 0;
	padding: 0;
}
ul.menu li {
	margin: 0;
	padding: 0;
	width: 100%;
}
ul.menu li a {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
	border-bottom: 1px solid rgba(0, 0, 0, 0.25);
	color: #fff;
	display: block;
	font-size: 20px;
	font-weight: 400;
	line-height: 40px;
	padding: 0px 10px 3px 5px;
}
ul.menu > li:first-child a {
	border-top: none;
}
ul.menu > li:last-child a {
	border-bottom: none;
}
ul.menu li a:hover {
    background-color: #e36205;
    border-top-color: rgba(255, 255, 255, 0.25);
	text-decoration: none;
}
ul.menu li a i {
    margin: 0 5px 0 0;
}

/* Backgrounds ------------------------------------------------------------------------------------- */

.image {
    background-attachment: fixed;
    background-position: center top;
    background-size: 100%;
    background-repeat: no-repeat;
}

.image.pipes {
    background-image: url("/images/backgrounds/pipes.jpg");
}
.image.factory {
    background-image: url("/images/backgrounds/factory.jpg");
    background-position: center -50px;
}
.image.lightbulb {
    background-image: url("/images/backgrounds/lightbulb.jpg");
    background-position: center -50px;
}
.image.office {
    background-image: url("/images/backgrounds/office.jpg");
}
.image.blog {
    background-image: url("/images/backgrounds/blog.jpg");
    background-position: center -40px;
}
.image.laptop {
    background-image: url("/images/backgrounds/laptop.jpg");
    background-position: center -40px;
}

.darken {
    background-image: url("/images/backgrounds/darken.png");
    background-repeat: repeat-x;
}

@media only screen and (max-width: 760px) {
    .image {
        background-image: none !important;
    }
    
    .darken {
        background-image: none;
    }
}

/* Quote ------------------------------------------------------------------------------------------- */

blockquote {
    background: rgba(0, 0, 0, 0.80);
    font-size: 22px;
    font-weight: 400;
    line-height: 26px;
}
blockquote div {
    margin: 0 auto;
    max-width: 990px;
    position: relative;
}
blockquote div p {
    font-style: italic;
    padding: 25px 115px;
}
blockquote div p span {
    display: none;
}
blockquote div footer {
    background: none;
    color: #598fa6;
    font-size: 22px;
    line-height: 26px;
    padding: 0 115px 25px;
}
body.green blockquote div footer {
    color: #4f9729;
}
body.brown blockquote div footer {
    color: #886229;
}
blockquote div .fa-quote-left, blockquote div .fa-quote-right {
    position: absolute;
    font-size: 72px;
    line-height: 72px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, .75);
}
blockquote div .fa-quote-left {
    left: 0;
    margin: -12px 0 0 15px;
    top: 0;
}
blockquote div .fa-quote-right {
    margin: 0 15px -15px 0;
    right: 0;
    bottom: 0;
}

@media only screen and (max-width: 990px) {
    blockquote {
        font-size: 18px;
        line-height: 22px;
    }
    blockquote div .fa-quote-left, blockquote div .fa-quote-right {
        font-size: 46px;
        line-height: 46px;
    }
    blockquote div p {
        font-style: italic;
        padding: 25px 100px;
    }
    blockquote div footer {
        padding: 0 100px 25px;
    }
}

@media only screen and (max-width: 760px) {
    blockquote div .fa-quote-left, blockquote div .fa-quote-right {
        display: none;
    }
    blockquote div p {
        padding: 25px 15px 15px;
    }
    blockquote div p span {
        display: inline;
    }
    blockquote div footer {
        padding: 0 15px 25px;
    }
}

/* Content ----------------------------------------------------------------------------------------- */

.section {
    margin: 0 auto;
    max-width: 990px;
    padding: 10px 0 0;
    position: relative;
}
.section h1, .section h2, .section h3, .section p, .section ul {
    margin: 0 0 20px;
    padding: 0 15px;
}
.section ul li {
    margin: 0 0 0 30px;
    padding: 0 0 15px 2px;
}

/* Panels ------------------------------------------------------------------------------------------ */

.panel {
    background-color: #f1f1f1;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    margin: 15px 15px 0;
    overflow: hidden;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
}
.panel .panelImage img {
    display: block;
    max-width: 100%;
}
.panel .panelContent, .panel .panelContentFull {
    padding: 15px 15px 0;
}
.panel .panelContent h2, .panel .panelContent p, .panel .panelContentFull h2, .panel .panelContentFull p {
    padding: 0;
}
.panel .panelContent p, .panel .panelContentFull p {
    font-size: 16px;
    line-height: 20px;
}
.panelShadow {
    background-image: url("/images/panels/shadow.png");
    background-repeat: no-repeat;
    background-size: 100%;
    margin: 0 18px 15px;
    min-height: 25px;
}
.span_9_of_12 .panelShadow {
    background-image: url("/images/panels/shadow-large.png");
}
.span_9_of_12 .panel .panelImage {
    display: inline-block;
    float: left;
    max-width: 30%;
}
.span_9_of_12 .panel .panelContent {
    display: inline-block;
    float: left;
    max-width: 70%;
    padding: 15px 0 0;
}
.span_9_of_12 .panel .panelContent h2 {
    font-size: 24px;
    line-height: 28px;
    padding: 0 15px;
}
.span_9_of_12 .panel .panelContent p {
    font-size: 16px;
    line-height: 20px;
    padding: 0 15px;
}

@media only screen and (max-width: 990px) {
    .panel .panelContent h2 {
        font-size: 20px;
        line-height: 24px;
    }
    .panel .panelContent p {
        font-size: 14px;
        line-height: 18px;
    }
}

@media only screen and (max-width: 760px) {
    .panel {
        border: none;
        border-radius: 0;
        margin: 5px 0 0;
        -webkit-border-radius: 0px;
        -moz-border-radius: 0;
    }
    .panel .panelImage {
        display: inline-block;
        float: left;
        max-width: 30%;
    }
    .panel .panelContent {
        display: inline-block;
        float: left;
        max-width: 70%;
        padding: 15px 0 0;
    }
    .panel .panelContent h2 {
        font-size: 24px;
        line-height: 28px;
        padding: 0 15px;
    }
    .panel .panelContent p {
        font-size: 16px;
        line-height: 20px;
        padding: 0 15px;
    }
    .panelShadow {
        display: none;
    }
}