/*
Theme Name: Front Roe
Theme URI: http://louiseroe.com
Description: Front Roe theme for WordPress.
Author: BitPiston Studios
Author URI: http://bitpiston.com
Version: 1.0
*/

@charset "UTF-8";


/* Resets and defaults
-------------------------------------------------------------------------------*/

html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video, details, summary {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

article, aside, figure, footer, header, hgroup, nav, section, details, summary {display: block;}

/* Apply a natural box layout model to all elements: http://paulirish.com/2012/box-sizing-border-box-ftw/ */
*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

/* force a vertical scrollbar to prevent a jumpy page */
html {overflow-y: scroll;}

/* we use a lot of ULs that aren't bulleted.
	don't forget to restore the bullets within content. */
ul {list-style: none;}

blockquote, q {quotes: none;}

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

a {margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent;}

del {text-decoration: line-through;}

abbr[title], dfn[title] {border-bottom: 1px dotted #000; cursor: help;}

/* tables still need cellspacing="0" in the markup */
table {border-collapse: collapse; border-spacing: 0;}
th {font-weight: bold; vertical-align: bottom;}
td {font-weight: normal; vertical-align: top;}

hr {
    display: block;
    margin: 75px 0;
    padding: 0;
    border: none;
    height: 10px;
    background: url(images/big-dots-bg.png) 0 50% no-repeat;
}

input, select {vertical-align: middle;}

pre {
	white-space: pre; /* CSS2 */
	white-space: pre-wrap; /* CSS 2.1 */
	white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
	word-wrap: break-word; /* IE */
}

input[type="radio"] {vertical-align: text-bottom;}
input[type="checkbox"] {vertical-align: bottom;}
.ie7 input[type="checkbox"] {vertical-align: baseline;}
.ie6 input {vertical-align: text-bottom;}

select, input, textarea {font: 99% sans-serif;}

table {font-size: inherit; font: 100%;}

small {font-size: 85%;}

strong {font-weight: bold;}

td, td img {vertical-align: top;}

/* Make sure sup and sub don't screw with your line-heights
	gist.github.com/413930 */
sub, sup {font-size: 75%; line-height: 0; position: relative;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}

/* standardize any monospaced elements */
pre, code, kbd, samp {font-family: monospace, sans-serif;}

/* hand cursor on clickable elements */
.clickable,
label,
input[type=button],
input[type=submit],
input[type=file],
button {cursor: pointer;}

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea {margin: 0;}

/* make buttons play nice in IE */
button {width: auto; overflow: visible;}

/* scale images in IE7 more attractively */
.ie7 img {-ms-interpolation-mode: bicubic;}

/* prevent BG image flicker upon hover */
.ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}

/* let's clear some floats */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


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

/*
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
*/

body {
    font: normal normal 16px/1.5 'Georgia', serif;
}

body, select, input, textarea {color: #000;}

a {
    color: #000;
    text-decoration: underline;
}
a:hover, a:focus {
    color: #f76e23;
}

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

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

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; }

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


/* Structure
-------------------------------------------------------------------------------*/

html, body {
    min-width: 1080px;
    background: #191919;
}

#wrapper {
    background: #fff;
    margin-top: 100px;
}

#wrapper section {
    width: 1080px;
    margin: 0 auto;
    padding: 0 0 75px;
}

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

#logo {
    text-align: center;
    padding: 75px 0;
}
#logo a {
    display: block;
    margin: 0 auto;
    text-indent: -9999px;
    background: url(images/logo.png) 0 0 no-repeat;
    width: 580px;
    height: 120px;
}

#fixed-nav {
    background: #0a0a0a;
    position: fixed;
    z-index: 9000;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    min-width: 1080px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#fixed-nav .fixed-wrapper {
    width: 1080px;
    margin: 0 auto;
    position: relative;
}

#nav-primary > a {
    display: none;
    line-height: 100px;
    height: 100px;
    float: left;
}
#nav-primary li {
    float: left;
    display: block;
    font-weight: lighter;
    line-height: 100px;
    height: 100px;
    margin-right: 30px;
    position: relative;
}
#nav-primary a {
    color: #fff;
    font-family: 'AvenirLTPro-Light', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
}
#nav-primary a:hover, #nav-primary a:focus {
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
}
#nav-primary .sub-menu {
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
}
#nav-primary li:hover .sub-menu {
    display: block;
    background: #ead8a8;
    padding: 0 15px;
}
#nav-primary li.menu-item-has-children:hover::after {
    position: absolute;
    bottom: -20px;
    left: calc(50% - 8px);
    content: "\f0d8";
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 3em;
    text-rendering: auto;
    color: #ead8a8;
    background: transparent;
}
#nav-primary .sub-menu li {
    text-align: center;
    border-bottom: 2px solid #fff;
    width: 225px;
    height: 64px;
    line-height: 64px;
    margin-right: 0;
}
#nav-primary .sub-menu li:last-child {
    border-bottom: none;
}
#nav-primary .sub-menu li a {
    color: #fff;
}

#social-menu {
    position: absolute;
    right: 42px;
    top: 34px;
}
#social-menu li {
    display: inline-block;
}
#social-menu a {
    display: block;
    margin-left: 6px;
    color: #fff;
    height: 32px;
    width: 32px;
    line-height: 32px;
    text-align: center;
}
#social-menu span {
    display: none;
}

#searchform {
    position: absolute;
    right: 0;
    top: 36px;
    color: #fff;
}
#searchform input[type=search] {
    float: left;
    outline: none;
    -webkit-appearance: none;
    border: none;
    height: 27px;
    width: 275px;
    line-height: 29px;
    padding: 0 10px;
    background: #fff;
    text-transform: uppercase;
    display: none;
}
#searchform input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
#searchform button, #searchform .dummyBtn {
    font-size: 16px;
    -webkit-appearance: none;
    border: none;
    cursor: pointer;
    display: block;
    float: right;
    margin-top: 2px;
    margin-left: 8px;
    height: 30px;
    width: 29px;
    color: #fff;
    background: transparent;
}
#searchform button {
    margin-top: -2px;
    margin-left: 1px;
    margin-right: 7px;
    padding: 0;
}
#searchform button, #searchform button span, #searchform .dummyBtn span {
    display: none;
}


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


#footer {
    min-width: 1080px;
    background: #191919;
    color: #fff;
    font-size: 14px;
    font-family: 'AvenirLTPro-Light', sans-serif;
    font-weight: lighter;
    text-transform: uppercase;
    letter-spacing: 2px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#footer .wrapper {
    width: 1080px;
    margin: 0 auto;
    padding: 38px 0;
}

#footer .copyright {
    display: inline-block;
}

#footer .links {
    display: inline-block;
}
#footer .links li {
    display: inline-block;
}
#footer .links a {
    display: block;
    margin-left: 32px;
    text-decoration: none;
    color: #fff;
}
#footer .links a:hover, #footer .links a:focus {
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
}

#footer .newsletter {
    position: relative;
    top: -19px;
    display: inline-block;
    float: right;
    color: #fff;
    text-decoration: none;
    text-align: center;
}
#footer .newsletter span {
    display: block;
    line-height: 30px;
}
#footer .newsletter strong {
    font-weight: normal;
    font-size: 24px;
    font-family: 'DidotLT-Roman';
    padding-left: 16px;
}
#footer .newsletter .fa {
    font-size: 16px;
    position: relative;
    top: -2px;
}


/* Signup Overlay
-------------------------------------------------------------------------------*/

#signup.signup-overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0,0,0,0.5);
}
#signup .overlay-wrapper {
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
	-webkit-box-pack: center;
    -moz-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
	-webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
	height: 100%;
	width: 100%;
}
#signup .overlay-content {
	position: relative;
	flex: 0 1 auto;
    width: 750px;
    height: 438px;
    max-height: 100%;
	overflow-x: hidden;
    overflow-y: auto;
    padding: 42px;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#signup .close-btn {
    display: block;
    height: 31px;
    width: 30px;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    color: #fff;
    font-size: 34px;
    font-weight: normal;
    font-family: 'DidotLT-Roman';
}
#signup h3 {
    margin: 0 0 10px 0;
    font-size: 34px;
    font-weight: normal;
    font-family: 'DidotLT-Roman';
}
#signup p {
    margin-bottom: 32px;
    margin: 0 0 50px;
    font-size: 18px;
    font-family: 'AvenirLTPro-Light', sans-serif;
    font-weight: lighter;
    letter-spacing: 1px;
}
#signup input[type=text], #signup input[type=email] {
    background: #000;
    color: #fff;
    border-color: #fff;
    text-transform: uppercase;
    font-family: 'AvenirLTPro-Light', sans-serif;
    font-weight: lighter;
    letter-spacing: 1px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#signup input[type=submit] {
    color: #fff;
    border-color: #fff;
    font-weight: normal;
    font-family: 'DidotLT-Roman';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


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

#heading-image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    margin: 0 auto;
    height: 600px;
}
#wrapper section .page-title {
    font-size: 64px;
    font-weight: normal;
    font-family: 'DidotLT-Roman';
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 42px 0;
}


/* FlexSlider
-------------------------------------------------------------------------------*/

.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; } /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block;}
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}

.flex-control-nav {
    padding: 16px 0;
    text-align: center;
}
.flex-control-nav li {
    display: inline-block;
}
.flex-control-nav a {
    position: relative;
    z-index: 1000;
    display: block;
    text-indent: -9999px;
    cursor: pointer;
    width: 8px;
    height: 8px;
    background: #000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    margin: 0 7px;
}
.flex-control-nav a:hover {
    background: #ead8a8;
}
.flex-control-nav a.flex-active {
    background: #ead8a8;
    cursor: default;
}
.flex-control-nav a.flex-active:hover {
    background: #ead8a8;
    cursor: default;
}
.flex-direction-nav {
    height: 0;
}
.flex-direction-nav .flex-prev, .flex-direction-nav .flex-next {
    display: block;
    height: 0;
    text-indent: -9999px;
}
.flex-direction-nav .flex-prev::after, .flex-direction-nav .flex-next::after {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s linear 0s, visibility 0.25s linear 0.25s;
    position: absolute;
    top: calc(50% - 32px);
    height: 64px;
    width: 64px;
    z-index: 1000;
    color: #fff;
    font-family: 'FontAwesome';
    font-style: normal;
    font-weight: normal;
    line-height: 64px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    font-size: 64px;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.25);
    text-indent: 0;
}
.flexslider:hover .flex-direction-nav .flex-prev::after, .flexslider:hover .flex-direction-nav .flex-next::after,
.flexslider.hover .flex-direction-nav .flex-prev::after, .flexslider.hover .flex-direction-nav .flex-next::after {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.25s linear 0.3s, visibility 0.25s linear 0s;
}
.flex-direction-nav .flex-prev:hover::after, .flex-direction-nav .flex-next:hover::after {
    color: #ead8a8;
}
.flex-direction-nav .flex-prev::after {
    left: 0;
    content: "\f104";
}
.flex-direction-nav .flex-next::after {
    right: 0;
    content: "\f105";
}


/* Home
-------------------------------------------------------------------------------*/

#wrapper #slideshow {
    width: 100%;
    /*
    max-width: 1203px;
    */
    padding: 0;
    height: 600px;
    position: relative;
}
#slideshow .slides li {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 600px;
}
#slideshow .slides a {
    display: block;
    text-indent: -9999px;
    width: 100%;
    height: 100%;
}

#wrapper #featured {
    padding-top: 75px;
    padding-bottom: 0;
}

#whats-new h2, #shop-widget h2 {
    text-align: center;
    margin: 75px auto;
    font-size: 34px;
    font-weight: normal;
    font-family: 'DidotLT-Roman';
    letter-spacing: 3px;
    text-transform: uppercase;
}
#shop-widget h2 {
    margin-top: 0;
}

#shop-widget .wrapper {
    background-image: url(/wp-content/uploads/2014/08/shoe-line.png);
    background-repeat: no-repeat;
    background-position: 50% -28px;
    border-bottom: 1px solid #818283;
    padding: 85px 0 70px;
    margin-bottom: 75px;
}


/* Ask / Contact
-------------------------------------------------------------------------------*/

.wpcf7-form {
    margin: 75px 0;
}
form .row {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: end;
    -moz-box-align: end;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin-bottom: 32px;
}
.wpcf7-text, .wpcf7-email, .wpcf7-textarea, input[type=text], input[type=email] {
    width: 100%;
    border: none;
    border-bottom: 2px solid #000;
    font-family: 'AvenirLTPro-Light', sans-serif;
    outline: none;
    -webkit-appearance: none;
    display: block;
}
form label {
    font-family: 'AvenirLTPro-Light', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-right: 24px;
}
.wpcf7-form-control-wrap, #signup input {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
.wpcf7-submit, input[type=submit] {
    float: right;
    background: transparent;
    border: 2px solid #000;
    padding: 6px 12px;
    font-size: 24px;
    font-family: 'DidotLT-Roman';
    letter-spacing: 3px;
    text-transform: uppercase;
    -webkit-appearance: none;
}


/* Blog Excerpts
-------------------------------------------------------------------------------*/

.posts-container {
    margin-top: -75px;
}
#featured .posts-container {
    margin-top: 0;
}
.posts-container article {
    width: 340px;
    float: left;
    margin-top: 75px;
    margin-right: 30px;
    position: relative;
    text-transform: uppercase;
}
#featured .posts-container article {
    width: auto;
    margin-top: 0;
    margin-right: 0;
    float: none;
}
.posts-container article:nth-of-type(3n) {
    margin-right: 0;
}
.posts-container .post-thumbnail img {
    width: 340px;
    height: 340px;
}
#featured .posts-container .post-thumbnail img {
    width: 1080px;
    height: auto;
}
.posts-container .post-title {
    margin-top: 15px;
    font-size: 16px;
    font-weight: normal;
    font-family: 'DidotLT-Roman';
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
.posts-container .post-title a {
    text-decoration: none;
}
.posts-container .post-time {
    font-size: 14px;
    font-family: 'AvenirLTPro-Light', sans-serif;
    letter-spacing: 2px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.posts-container .post-comments {
    font-size: 11px;
    font-family: 'AvenirLTPro-Light', sans-serif;
    letter-spacing: 1px;
    margin-top: 23px;
    padding-top: 10px;
    border-top: 1px solid #818283;
}
.posts-container .post-comments a {
    text-decoration: none;
}
.posts-container .read-more {
    font-size: 14px;
    letter-spacing: 1px;
    background: #fff;
    padding-left: 15px;
    position: absolute;
    bottom: 19px;
    right: 0;
}
.posts-container .read-more a {
    text-decoration: none;
}
.posts-container .share-button {
    position: absolute;
    bottom: -2px;
    right: 12px;
}
.posts-container .share-button .label {
    font-size: 11px;
    font-family: 'AvenirLTPro-Light', sans-serif;
}
.posts-container .addtoany_share_save > img {
    vertical-align: middle;
}

.wp-pagenavi {
	margin-top: 3em;
}


/* Blog Singles
-------------------------------------------------------------------------------*/

.single #wrapper #blog {
    width: 802px;
}

.single article {
    position: relative;
}
.single .post-title {
    font-size: 28px;
    font-weight: normal;
    font-family: 'DidotLT-Roman';
    text-transform: uppercase;
}
.single .post-title a {
    text-decoration: none;
}
.single .post-time {
    font-size: 18px;
    font-family: 'AvenirLTPro-Light', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.single .post-thumbnail {
    margin-top: 42px;
    margin-bottom: 1.5em;
}
.single .post-content {
    margin-bottom: calc(75px - 1.5em);
}
.single .post-shop {
    margin-bottom: 75px;
}
.single .post-meta {
    position: relative;
    padding-top: 30px;
    border-top: 1px solid #818283;
    font-size: 18px;
    font-family: 'AvenirLTPro-Light', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.single .post-meta a {
    text-decoration: none;
}
.single .share-button {
    position: absolute;
    bottom: -2px;
    right: 12px;
}

.wp_rp_wrap {
    margin: 75px 0;
    padding-bottom: 75px;
    border-bottom: 1px solid #818283;
}
.related_post_title, .comments-wrapper h3 {
    font-size: 26px;
    font-weight: normal;
    font-family: 'DidotLT-Roman';
    text-transform: uppercase;
    margin-bottom: 30px;
    text-align: center;
}
.related_post {
    height: 263px;
}
.related_post li {
    float: left;
    margin-right: 14px;
}
.related_post li:last-child {
    margin-right: 0;
}
.related_post .wp_rp_title, .wp_rp_footer {
    display: none;
}

.single #content img, .page #content img {
	max-width: 100%;
	height: auto;
}


/* Print styles
-------------------------------------------------------------------------------*/

@media print {

}


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

@media screen and (max-width: 1024px) {
    * {
        -webkit-text-size-adjust: 100%;
    }

    html, body, #fixed-nav, #footer {
        min-width: calc(100% - 60px);
    }
    #wrapper section, #fixed-nav .fixed-wrapper, #footer .wrapper {
        width: calc(100% - 60px);
    }
    #wrapper {
        margin-top: 0;
    }

    #fixed-nav {
        position: static;
        height: auto;
        line-height: inherit;
        min-height: 100px;
    }

    #nav-primary:not( :target ) > a:first-of-type, #nav-primary:target > a:last-of-type {
        display: block;
    }
    #nav-primary > ul {
        display: none;
        background: #000;
        width: 100%;
        padding-top: 100px;
        padding-bottom: 50px;
    }
    #nav-primary:target > ul {
        display: block;
    }
    #nav-primary li {
        float: none;
        margin-right: 0;
        width: 100%;
        line-height: 50px;
        height: auto;
        min-height: 50px;
        text-align: center;
    }
    #nav-primary .sub-menu {
        display: block;
        position: static;
        top: auto;
        left: auto;
    }
    #nav-primary li:hover .sub-menu {
        display: block;
        background: none;
        padding: 0;
    }

    #nav-primary li.menu-item-has-children:hover::after {
        display: none;
    }
    #nav-primary .sub-menu li {
        border-bottom: none;
        width: auto;
        height: auto;
        min-height: 50px;
        line-height: 50px;
    }
    #menu-item-215 > .sub-menu > li:first-child { /* Remove the redundant about entry */
        display: none;
    }

    #heading-image, #wrapper #slideshow, #slideshow .slides li {
        height: 400px;
    }

    #footer .wrapper {
        text-align: center;
    }
    #footer .newsletter {
        top: auto;
        display: block;
        float: none;
        margin-top: 32px;
    }

    .posts-container article {
        width: calc((100% - 60px) / 3);
    }
    .posts-container .post-thumbnail img, #featured .posts-container .post-thumbnail img {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 768px) {
    #wrapper section, #fixed-nav .fixed-wrapper, #footer .wrapper,
    .single #wrapper #blog {
        width: calc(100% - 60px);
    }

    .single .post-thumbnail img {
        height: auto;
    }
    .post-content img, .single .post-thumbnail img {
        max-width: 100%;
        height: auto;
    }

    .related_post {
        width: calc((100% - 30px) / 3);
    }
    .related_post li img {
        width: 100%;
        height: auto;
    }

    #signup .overlay-content {
        height: 100%;
        width: 100%;
        padding: 30px;
    }
}

@media screen and (max-width: 568px) {
    #logo a {
        background-size: 100% auto;
        width: calc(100% - 60px);
        height: 104px;
    }

    #searchform input[type=search] {
        width: 255px;
    }

    #heading-image, #wrapper #slideshow, #slideshow .slides li {
        height: 250px;
    }

    #wrapper section .page-title {
        font-size: 32px;
    }

    .posts-container article {
        width: 100%;
    }

    #signup .close-btn {
        top: 2px;
        right: 5px;
    }
    #signup h3 {
        font-size: 28px;
    }
}

@media screen and (max-width: 420px) {
    html, body, #fixed-nav, #footer {
        min-width: calc(100% - 20px);
    }
    #wrapper section, #fixed-nav .fixed-wrapper, #footer .wrapper,
    .single #wrapper #blog {
        width: calc(100% - 20px);
    }

    #social-menu {
        display: none;
    }

    #logo a {
        height: 62px;
    }

    #signup .overlay-content {
        padding: 12px;
    }
    #signup .close-btn {
        top: 2px;
        right: 5px;
    }
}
