
/**
 * Table of Contents:
 *
 * 1.0 - Reset
 * 2.0 - Repeatable Patterns
 * 3.0 - Basic Structure
 * 4.0 - Header
 * 5.0 - Navigation
 * 6.0 - Content
 *   6.1 - Post Media
 *   6.2 - Entry Header
 *   6.3 - Entry Meta
 *   6.4 - Entry Content
 *   6.5 - Galleries
 *   6.6 - Post Formats
 *   6.7 - Post/Image/Paging Navigation
 *   6.8 - Attachments
 *   6.9 - Archives
 *   6.10 - Contributor Page
 *   6.11 - 404 Page
 *   6.12 - Full-width
 *   6.13 - Singular
 *   6.14 - Comments
 * 7.0 - Sidebar
 *   7.1 - Widgets
 * 8.0 - Footer
 * 9.0 - Featured Content
 * 10.0 - Multisite
 * 11.0 - Media Queries
 * -----------------------------------------------------------------------------
 */


/**
 * 1.0 Reset
 * -----------------------------------------------------------------------------
 */

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, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

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

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

audio,
canvas,
video {
    display: inline-block;
    max-width: 100%;
}

html {
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body,
button,
input,
select,
textarea {
    color: #555;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 26px;
}

body {
    background: #f3f3f3;
}

a {
    color: #E34834;
    text-decoration: none;
    transition: all 300ms ease 0s;
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}

a:active,
a:hover {
    color: #E34834;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    margin: 0 0 25px;
}

h1 {
    font-size: 26px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

address {
    font-style: italic;
    margin: 0 0 25px;
}

abbr[title] {
    border-bottom: 1px dotted #2b2b2b;
    cursor: help;
}

b,
strong {
    font-weight: 700;
}

cite,
dfn,
em,
i {
    font-style: italic;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

p {
    margin: 0 0 25px;
}

code,
kbd,
tt,
var,
samp,
pre {
    font-family: monospace, serif;
    font-size: 15px;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    line-height: 1.6;
}

pre {
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0 0 25px;
    max-width: 100%;
    overflow: auto;
    padding: 12px;
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

blockquote,
q {
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    quotes: none;
}

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

blockquote {
    color: #888;
    font-style: italic;
    margin: 0 0 25px;
    border-left: 2px solid #aaa;
}
blockquote p {
    padding: 0 0 0 25px;
    margin: 0;
}
blockquote cite,
blockquote small {
    color: #2b2b2b;
    font-size: 16px;
    font-weight: 400;
}

blockquote em,
blockquote i,
blockquote cite {
    font-style: normal;
}

blockquote strong,
blockquote b {
    font-weight: 400;
}

small {
    font-size: smaller;
}

big {
    font-size: 125%;
}

sup,
sub {
    font-size: 75%;
    height: 0;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    bottom: 1ex;
}

sub {
    top: .5ex;
}

dl {
    margin: 0 0 25px;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 0 25px;
}

ul,
ol {
    list-style: none;
    margin: 0 0 25px 20px;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin: 0 0 0 20px;
}

img {
    -ms-interpolation-mode: bicubic;
    border: 0;
    vertical-align: middle;
}

figure {
    margin: 0;
}

fieldset {
    margin: 0 0 25px;
    padding: 11px 12px 0;
}

legend {
    white-space: normal;
}

button,
input,
select,
textarea {
    font-size: 100%;
    margin: 0;
    max-width: 100%;
    vertical-align: baseline;
}

button,
input {
    line-height: normal;
    border: 1px solid #eee;
}

input,
textarea {
    background-image: -webkit-linear-gradient(hsla(0,0%,100%,0), hsla(0,0%,100%,0));
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
input[disabled] {
    cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
    padding: 0;
}

input[type="search"] {
    -webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
}

table,
th,
td {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 1px 0 0 1px;
    margin: 0 0 25px;
    width: 100%;
}

caption,
th,
td {
    font-weight: normal;
    text-align: left;
}

th {
    border-width: 0 1px 1px 0;
    font-weight: bold;
}

td {
    border-width: 0 1px 1px 0;
}

del {
    color: #767676;
}

hr {
    background: rgba(0, 0, 0, 0.1);
    border: 0;
    height: 1px;
    margin-bottom: 23px;
}

/* Support a widely-adopted but non-standard selector for text selection styles
 * to achieve a better experience. See http://core.trac.wordpress.org/ticket/25898.
 */
::selection {
    background: #E34834;
    color: #fff;
    text-shadow: none;
}

::-moz-selection {
    background: #E34834;
    color: #fff;
    text-shadow: none;
}


/**
 * 2.0 Repeatable Patterns
 * -----------------------------------------------------------------------------
 */

/* Input fields */

input,
textarea {
    border: 1px solid #eee;
    border-radius: 2px;
    color: #2b2b2b;
    padding: 8px 10px 7px;
}

textarea {
    width: 100%;
}

input:focus,
textarea:focus {
    border: 1px solid rgba(0, 0, 0, 0.3);
    outline: 0;
}

/* Buttons */

button,
.contributor-posts-link,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    background: #aaa;
    border: 0;
    border-radius: 2px;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    padding: 11px 12px 10px;
}

button:hover,
button:focus,
.contributor-posts-link:hover,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
    background: #E34834;
    color: #fff;
}

button:active,
.contributor-posts-link:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    background: #E34834;
}

.search-field {
    width: 100%;
}

.search-submit {
    display: none;
}

/* Placeholder text color -- selectors need to be separate to work. */

::-webkit-input-placeholder {
    color: #939393;
}

:-moz-placeholder {
    color: #939393;
}

::-moz-placeholder {
    color: #939393;
    opacity: 1; /* Since FF19 lowers the opacity of the placeholder by default */
}

:-ms-input-placeholder {
    color: #939393;
}

/* Responsive images. Fluid images for posts, comments, and widgets */

.comment-content img,
.post-body img,
.post-summary img,
#site-header img,
.widget img,
.wp-caption {
    max-width: 100%;
}

/**
 * Make sure images with WordPress-added height and width attributes are
 * scaled correctly.
 */
/* Responsive images. Fluid images for posts, comments, and widgets */


.comment-content img[height],
.entry-content img,
.entry-summary img,
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"],
#site-header img {
    height: auto;
}

img.size-full,
img.size-large,
.wp-post-image,
.post-thumbnail img {
    height: auto;
    max-width: 100%;
}

/* Make sure embeds and iframes fit their containers */

embed,
iframe,
object,
video {
    margin: 0 0 25px;
    max-width: 100%;
}

p > embed,
p > iframe,
p > object,
span > embed,
span > iframe,
span > object {
    margin-bottom: 0;
}

/* Alignment */

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

blockquote.alignleft,
img.alignleft {
    margin: 7px 24px 7px 0;
}

.wp-caption.alignleft {
    margin: 7px 14px 7px 0;
}

blockquote.alignright,
img.alignright {
    margin: 7px 0 7px 24px;
}

.wp-caption.alignright {
    margin: 7px 0 7px 14px;
}

blockquote.aligncenter,
img.aligncenter,
.wp-caption.aligncenter {
    margin-top: 7px;
    margin-bottom: 7px;
}

.site-content blockquote.alignleft,
.site-content blockquote.alignright {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 17px;
    width: 50%;
}

.site-content blockquote.alignleft p,
.site-content blockquote.alignright p {
    margin-bottom: 17px;
}

.wp-caption {
    margin: 0 0 25px;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 0;
}

.wp-caption {
    color: #767676;
}

.wp-caption-text {
    font-size: 12px;
    font-style: italic;
    line-height: 1.5;
    margin: 9px 0;
    padding-right: 10px;
}

.wp-smiley {
    border: 0;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Assistive text */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
}

.screen-reader-text:focus {
    background: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto;
    color: #E34834;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    line-height: normal;
    padding: 15px 23px 14px;
    position: absolute;
    left: 5px;
    top: 5px;
    text-decoration: none;
    text-transform: none;
    width: auto;
    z-index: 100000; /* Above WP toolbar */
}

.hide {
    display: none;
}


/* Clearing floats */
.clear:before,
.clear:after {
    content: "";
    display: table;
}

.clear:after {
    clear: both;
}


/**
 * 3.0 Basic Structure
 * -----------------------------------------------------------------------------
 */

.width {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 600px) {
    .width {
        padding: 0 40px;
    }
}

@media (min-width: 1000px) {
    #primary {
        float: left;
        margin: 0 -380px 0 0;
        width: 100%;
    }
    #content {
        margin: 0 380px 0 0;
    }
    #secondary {
        float: right;
        width: 340px;
    }
    #main #navigation {
        clear: both;
        width: 100%;
    }
}


#header {
    background: #323232;
    line-height: 60px;
    margin: 0 0 20px;
    padding: 20px 0;
}
#branding {
    float: left;
}
.logo {
    max-width: 100%;
    max-height: 60px;
    float: left;
}

.logo img {
    max-width: 100%;
    max-height: 60px;
}

.title,
.tagline {
    float: left;
    color: #fff;
    margin: 0;
}
.title a {
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 1px;
    display: block;
    font-family: Montserrat, Arial, sans-serif;
    transition: all 300ms ease 0s;
}

.title a:hover {
    color: transparent;
    text-shadow: 0 0 3px #fff;
}

.tagline {
    font-size: 11px;
    margin: 0 0 0 40px;
    font-weight: 400;
    color: #ddd;
    text-transform: uppercase;
    font-family: Montserrat, Arial, sans-serif;
    display: none;
}

@media (min-width: 600px) {
    #header {
        margin: 0 0 40px;
    }
}

@media (min-width: 900px) {

    .tagline {
        display: block;
    }

}

/**
 * 5.0 Navigation
 * -----------------------------------------------------------------------------
 */

#navigation-toggle {
    color: #fff;
    font-size: 21px;
    text-transform: uppercase;
    cursor: pointer;
    margin: 0;
}

#navigation {
    line-height: 60px;
    font-size: 11px;
    text-align: right;
    width: 100%;
    font-family: Montserrat, Arial, sans-serif;
}
#navigation .menu {
    margin: 20px 0 0 0;
}
#navigation ul {
    list-style: none;
    margin: 0;
    text-align: left;
    padding: 0
}
#navigation .menu {
    padding: 0 0 20px;
    display: none;
}

#navigation .menu.toggled {
    display: block;
}

#navigation a {
    color: #aaa;
    display: block;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 30px;
}

#navigation a:hover {
    color: #fff;
}

#navigation ul ul {
    margin-left: 30px;
}

#navigation .current_page_item > a,
#navigation .current_page_ancestor > a,
#navigation .current-menu-item > a,
#navigation .current-menu-ancestor > a {
    color: #fff;
}

#navigation li:hover > a {
    color: #fff;
}

@media (min-width: 900px) {
    #navigation-toggle {
        display: none;
    }

    #navigation .menu {
        display: block;
        padding: 0;
        margin: 0;
    }

    #navigation ul {
        padding: 0;
        margin: 0;
        float: right
    }

    #navigation li {
        float: left;
        position: relative;
    }

    #navigation a {
        line-height: 60px;
        margin: 0 0 0 40px;
    }
    #navigation ul ul li a {
        margin: 0;
    }

    #navigation ul ul a {
        line-height: 40px;
    }
    #navigation ul ul .current_page_item > a,
    #navigation ul ul .current_page_ancestor > a,
    #navigation ul ul .current-menu-item > a,
    #navigation ul ul .current-menu-ancestor > a {
        color: #E34834;
    }
    #navigation ul ul {
        display: none;
        padding: 0;
        margin: 0;
        position: absolute;
        left: 20px;
        top: 100%;
        background: #fff;
        min-width: 180px;
        white-space: nowrap;
        z-index: 3;
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    }
    #navigation ul ul li a:hover {
        color: #E34834;
    }
    #navigation ul ul li:hover > a {
        color: #E34834;
    }
    #navigation ul ul ul {
        top: 0;
        left: 100%;
        left: calc(100% + 1px);
    }
    #navigation li li {
        display: block;
        width: 100%;
        padding: 0 20px;
        border-bottom: 1px solid #f2f2f2;

    }
    #navigation li li:last-child {
        display: block;
        width: 100%;
        padding: 0 20px;
        border: 0;
    }
    #navigation ul > li:hover > ul {
        display: block;
    }
}

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

#content .post,
#content .page,
#content .attachment,
#content .comment-body,
#content .comment-respond {
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 40px;
    border-radius: 2px;
}

#content .attachment .attachment {
    border: 0;
}
#content .attachment .post-footer {
    display: none;
}


/**
 * 6.1 Post Header
 * -----------------------------------------------------------------------------
  */

.post-header {
    padding: 0 25px;
    margin: 10px 0 25px;
}
.page-header {
    padding: 0 25px;
    margin: 50px 0 25px;
}
@media (min-width: 600px) {
    .post-header,
    .page-header {
        padding: 0 50px;
    }
}

.post-title {
    margin: 0 0 15px;
    text-transform: uppercase;
    font-size: 32px;
    line-height: 32px;
}
.page-title {
    text-transform: uppercase;
    margin: 0 0 25px;
}

.post-title a {
    color: #333;
}

.post-title a:hover {
    color: #E34834;
}



/**
 * 6.2 Post Media
 * -----------------------------------------------------------------------------
 */

.post-media {
    margin: 0 0 25px 0;
}

.post-media iframe {
    margin: 0;
}

.post-media .post-image img {
    width: 100%;
    height: auto;
}


/**
 * 6.3 Entry Meta
 * -----------------------------------------------------------------------------
 */
.post-meta {
    margin: 40px 0 10px;
    padding: 0 25px;
    color: #aaa;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: Montserrat, Helvetica, Arial, sans-serif;
}

.post-meta a {
    color: #aaa;
}

.post-meta a:hover {
    color: #E34834;
}


@media (min-width: 600px) {
    .post-meta {
        padding: 0 50px;
    }
}

.sticky .featured-post {
    float: right;
}


/**
 * 6.4 Post Footer
 * -----------------------------------------------------------------------------
 */

.post-footer,
.page-footer {
    padding: 0 50px 25px;
    margin: -15px 0 15px 0;
    text-transform: uppercase;
    font-size: 12px;
    font-family: Montserrat, Helvetica, Arial, sans-serif;
}


.read-more a {
    display: inline-block;
    color: #fff;
    line-height: 34px;
    padding: 0 10px;
    border-radius: 2px;
    background: #aaa;
}

.read-more a:hover {
    background: #E34834;
}



.meta-comments {
    float: right;
    line-height: 34px;
}
.meta-comments a {
    color: #aaa;
}
.meta-comments a:hover {
    color: #E34834;
}

.meta-categories,
.meta-tags {
    display: block;
    color: #aaa
}

.meta-categories a,
.meta-tags a {
    color: #aaa
}

.meta-categories a:hover,
.meta-tags a:hover {
    color: #E34834
}






/**
 * 6.5 Entry Content
 * -----------------------------------------------------------------------------
 */


.post-body,
.page-body {
    padding: 0 25px;
    margin: 25px 0 50px;
}

@media (min-width: 600px) {
    .post-body,
    .page-body {
        padding: 0 50px;
    }
}

.post-body,
.post-summary,
.page-body {
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    word-wrap: normal;
}


.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child,
.entry-content h4:first-child,
.entry-content h5:first-child,
.entry-content h6:first-child,
.entry-summary h1:first-child,
.entry-summary h2:first-child,
.entry-summary h3:first-child,
.entry-summary h4:first-child,
.entry-summary h5:first-child,
.entry-summary h6:first-child,
.page-body h1:first-child,
.page-body h2:first-child,
.page-body h3:first-child,
.page-body h4:first-child,
.page-body h5:first-child,
.page-body h6:first-child {
    margin-top: 0;
}

.entry-content a,
.entry-summary a,
.page-body a,
.comment-content a {
    text-decoration: underline;
}

.entry-content a:hover,
.entry-summary a:hover,
.page-body a:hover,
.comment-content a:hover {
    text-decoration: none;
}

.entry-content table,
.comment-content table {
    font-size: 14px;
    line-height: 1.2857142857;
    margin: 0 0 25px;
}

.entry-content th,
.comment-content th {
    font-weight: 700;
    padding: 8px;
    text-transform: uppercase;
}

.entry-content td,
.comment-content td {
    padding: 8px;
}

.entry-content .edit-link {
    clear: both;
    display: block;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3333333333;
    text-transform: uppercase;
}

.entry-content .edit-link a {
    color: #767676;
    text-decoration: none;
}

.entry-content .edit-link a:hover {
    color: #E34834;
}

/* Mediaelements */

.hentry .mejs-container {
    margin: 12px 0 18px;
}

.hentry .mejs-mediaelement,
.hentry .mejs-container .mejs-controls {
    background: #333;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-loaded,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
    background: #fff;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-current {
    background: #E34834;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-total,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
    background: rgba(255,255,255,.33);
}

.hentry .mejs-container .mejs-controls .mejs-time {
    padding-top: 9px;
}

.hentry .mejs-controls .mejs-time-rail span,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
    border-radius: 0;
}

.hentry .mejs-overlay-loading {
    background: transparent;
}

/* Page links */


.page-links {
    clear: both;
    font-size: 12px;
    line-height: 30px;
    margin: 0 0 30px;
    text-transform: uppercase;
}

.page-links a,
.page-links > span {
    display: inline-block;
    height: 30px;
    text-align: center;
    width: 32px;
    background: #aaa;
    border-radius: 2px;
    color: #fff;
    margin: 0 10px 0 0;
}

.page-links a {
    background: #343434;
    color: #fff;
    text-decoration: none;
}

.page-links a:hover {
    background: #E34834;
    color: #fff;
}

.page-links > .page-links-title {
    display: none;
}


/* embedded content */
.twitter-tweet {
    width: 100% !important;
    border: 1px solid #eee !important;
    box-shadow: none !important;
    border-radius: 2px !important;
}

.fb_iframe_widget {
    display: block !important;
    margin: 0 auto !important;
    text-align: center !important;
}


/**
 * 6.6 Gallery
 * -----------------------------------------------------------------------------
 */

.gallery {
    margin: 0 -5px 20px 0;
}
.gallery br {
    display:none;
}

.gallery:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
.gallery-item {
    float: left;
    margin: 0 5px 5px 0;
    overflow: hidden;
    position: relative;
}

.gallery-columns-1 .gallery-item {
    max-width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 48%;
    max-width: -webkit-calc(50% - 4px);
    max-width: calc(50% - 4px);
}

.gallery-columns-3 .gallery-item {
    max-width: 32%;
    max-width: -webkit-calc(33.3% - 4px);
    max-width: calc(33.3% - 4px);
}

.gallery-columns-4 .gallery-item {
    max-width: 23%;
    max-width: -webkit-calc(25% - 4px);
    max-width: calc(25% - 4px);
}

.gallery-columns-5 .gallery-item {
    max-width: 19%;
    max-width: -webkit-calc(20% - 4px);
    max-width: calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
    max-width: 15%;
    max-width: -webkit-calc(16.7% - 4px);
    max-width: calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
    max-width: 13%;
    max-width: -webkit-calc(14.28% - 4px);
    max-width: calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
    max-width: 11%;
    max-width: -webkit-calc(12.5% - 4px);
    max-width: calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
    max-width: 9%;
    max-width: -webkit-calc(11.1% - 4px);
    max-width: calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
    margin-right: 0;
}

.gallery-caption {
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    max-height: 100%;
    opacity: 0;
    padding: 6px 8px;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: left;
    width: 100%;
}

.gallery-caption:before {
    content: "";
    height: 100%;
    min-height: 49px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
    display: none;
}



/**
 * 6.7 Post Formats
 * -----------------------------------------------------------------------------
 */

.format-aside .entry-content,
.format-aside .entry-summary,
.format-quote .entry-content,
.format-quote .entry-summary,
.format-link .entry-content,
.format-link .entry-summary {
    padding-top: 0;
}

.site-content .format-link .entry-title,
.site-content .format-aside .entry-title,
.site-content .format-quote .entry-title {
    display: none;
}


.format-quote .post-media {
    background: #E34834;
}
.format-quote:hover .post-media {
    background: #333;
}

.format-quote .post-media {
    margin: 0;
    padding: 60px 40px 40px;
    line-height: 40px;
    font-weight: bold;
    font-size: 30px;
    color: #fff;
}

.format-quote cite {
    display: block;
    font-weight: normal;
    text-align: right;
    font-size: 18px;
}

/**
 * 6.8 Post/Image/Paging Navigation
 * -----------------------------------------------------------------------------
 */

.nav-links {
    padding: 0px;
    margin: 0 0 40px;
}

@media (min-width: 600px) {
    .nav-links {
        padding: 0 50px;
    }
}


.nav-previous,
.nav-next {
    color: #fff;
    float: left;
}

.nav-top {
    float: right;
}

.nav-previous,
.nav-next {
    margin: 0 30px 0 0;
}

.comment-navigation {
    padding: 0 25px;
    margin: 0 0 40px;
}
.comment-navigation .nav-next {
    float: right;
    margin: 0 0 0 30px;
}

.nav-top {
    float: right;
}

.nav-next a,
.nav-next i,
.nav-previous a,
.nav-previous i,
.nav-top a,
.nav-top i {
    float: left;
    line-height: 36px;
    padding: 0 13px;
    border-radius: 2px;
    color: #fff;
}

.nav-next a,
.nav-previous a,
.nav-top a {
    background: #333;
}
.comment-navigation .nav-next a,
.comment-navigation .nav-previous a {
    background: #aaa;
}

.nav-next a:hover,
.nav-previous a:hover,
.nav-top a:hover {
    background: #E34834;
}

.nav-next i,
.nav-previous i,
.nav-top i {
    background: #ccc;
}

.nav-top a,
.nav-top i {
    padding: 0 11px;
}

.nav-next a i,
.nav-previous a i,
.nav-top a i {
    padding: 0;
    background: none;
}

/**
 * 6.09 Full-width
 * -----------------------------------------------------------------------------
 */

.page-template-templatesfull-width-php #content {
    margin: 0 0 40px;

}


/**
 * 6.10 Comments
 * -----------------------------------------------------------------------------
 */

.comment-body {
    padding: 25px 25px 0;
}

@media (min-width: 600px) {

    .comment-body {
        padding: 50px 50px 25px;
    }
}

.bypostauthor > article .fn:after {
    content: " (Author)";
    color: #aaa;
    font-size: 12px;
}
.comment-reply-title,
.comments-title {
    font-weight: 900;
    font-size: 16px;
    margin: 0 0 25px 0;
    text-transform: uppercase;
}

.comment-list {
    list-style: none;
    margin: 20px 0 40px;
}

.comment-author {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.comment-list .reply,
.comment-metadata {
    font-size: 12px;
    line-height: 2;
}

.comment-author .fn {
    color: #E34834;
}

.comment-list article,
.comment-list .pingback,
.comment-list .trackback {
    position: relative;
    margin: 40px 0;
    border-bottom: 1px solid #eee;
}

.comment-list .pingback .comment-body {
    margin: 0 0 20px;
    font-size: 14px;
}

.comment-list > li:first-child article:first-child {
    margin: 20px 0 40px;
}
.comment-list > li:last-child article:last-child {
    border-bottom: 0;
}
.comment-list > li:first-child > article,
.comment-list > .pingback:first-child,
.comment-list > .trackback:first-child {
    border-top: 0;
}

.comment-author {
    position: relative;
}

.comment-author a {
    color: #E34834;
}

.comment-author a:hover {
    color: #666;
}

.comment-metadata {
    line-height: 20px;
}
.comment-metadata a {
    color: #aaa;
}
.comment-metadata a:hover {
    color: #E34834;
}

.comment-author .avatar {
    height: 40px;
    padding: 2px;
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
}


.says {
    display: none;
}

.comment-author,
.comment-awaiting-moderation,
.comment-metadata {
    padding-left: 60px;
}

.comment-edit-link {
    margin-left: 10px;
}

.comment-content {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    word-wrap: break-word;
    margin: 10px 0 20px;
    font-size: 14px;
}

.comment-content ul,
.comment-content ol {
    margin: 0 0 20px 40px;
}

.comment-content li > ul,
.comment-content li > ol {
    margin-bottom: 0;
}

.comment-content > :last-child {
    margin-bottom: 0;
}

.comment-list .children {
    list-style: none;
    margin-left: 50px;
}

.comment-respond {
    margin: 0 0 40px;
    padding: 25px 25px 0;
}
@media (min-width: 600px) {
    .comment-respond {
        padding: 50px 50px 25px;
    }
}
.comment .comment-respond {
    margin: 20px 0;
}

.comment-notes,
.comment-awaiting-moderation,
.logged-in-as,
.no-comments,
.form-allowed-tags,
.form-allowed-tags code {
    color: #767676;
}

.no-comments {
    font-size: 16px;
    font-weight: 900;
    line-height: 1.5;
    margin-top: 25px;
    text-transform: uppercase;
}

.comment-form .form-submit {
    text-align: right;
    margin: 0 0 25px;
}

.comment-form label {
    display: block;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
}

.form-allowed-tags,
.form-allowed-tags code {
    font-size: 12px;
}

.required {
    color: #E34834;
}

.comment-reply-title small a {
    color: #666;
    float: right;
    font-size: 16px;
}

.comment-reply-title small a:hover {
    color: #E34834;
}

.reply {
    position: absolute;
    top: 25px;
    right: 25px;
}
@media (min-width: 600px) {
    .reply {
        top: 50px;
        right: 50px;
    }
}

/**
 * 7.0
 * -----------------------------------------------------------------------------
 */

/* Primary Sidebar, Footer Sidebar */

.widget {
    font-size: 13px;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    margin: 0 0 40px;
    width: 100%;
    word-wrap: normal;
    color: #888;
    padding: 30px;
    background: #fff;
    border: 1px solid #eee;
}

.widget a {
    color: #888;
}

.widget a:hover {
    color: #E34834;
}

.widget h1,
.widget h2,
.widget h3,
.widget h4,
.widget h5,
.widget h6 {
    margin: 0 0 15px;
}

.widget h1 {
    font-size: 18px;
}

.widget h2 {
    font-size: 20px;
}

.widget h3 {
    font-size: 18px;

}

.widget h4 {
    font-size: 16px;
}

.widget h5 {
    font-size: 14px;
}

.widget h6 {
    font-size: 12px;
}

.widget address {
    margin-bottom: 18px;
}

.widget abbr[title] {
    border-color: rgba(255, 255, 255, 0.7);
}

.widget mark,
.widget ins {
    color: #000;
}

.widget pre,
.widget fieldset {
    border-color: rgba(255, 255, 255, 0.2);
}

.widget code,
.widget kbd,
.widget tt,
.widget var,
.widget samp,
.widget pre {
    font-size: 12px;
    line-height: 1.5;
}

.widget blockquote {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.widget blockquote cite {
    color: #fff;
    font-size: 14px;
    line-height: 1.2857142857;
}

.widget dl,
.widget dd {
    margin-bottom: 18px;
}

.widget ul,
.widget ol {
    list-style: none;
    margin: 0;
}

.widget li > ol,
.widget li > ul {
    margin-left: 10px;
}

.widget table,
.widget th,
.widget td {
    border-color: rgba(255, 255, 255, 0.2);
}

.widget table {
    margin-bottom: 18px;
}

.widget del {
    color: rgba(255, 255, 255, 0.4);
}

.widget hr {
    background: rgba(255, 255, 255, 0.2);
}

.widget p {
    margin-bottom: 18px;
}

.widget input,
.widget textarea {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #666;
    font-size: 16px;
    padding: 1px 2px 2px 4px;
}

.widget input:focus,
.widget textarea:focus {
    border-color: rgba(255, 255, 255, 0.3);
}

.widget button,
.widget input[type="button"],
.widget input[type="reset"],
.widget input[type="submit"] {
    background: #E34834;
    border: 0;
    font-size: 12px;
    padding: 5px 15px 4px;
}

.widget input[type="button"]:hover,
.widget input[type="button"]:focus,
.widget input[type="reset"]:hover,
.widget input[type="reset"]:focus,
.widget input[type="submit"]:hover,
.widget input[type="submit"]:focus {
    background: #E34834;
}

.widget input[type="button"]:active,
.widget input[type="reset"]:active,
.widget input[type="submit"]:active {
    background: #E34834;
}

.widget .wp-caption {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
}

.widget .widget-title {
    font-size: 14px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    color: #555;
}

.widget-title,
.widget-title a {
    color: #666;
}

.widget-title a:hover {
    color: #E34834;
}


/* Tag Cloud Widget */
.widget .tagcloud a {
    background: #aaa;
    text-transform: uppercase;
    color: #fff;
    display: inline-block;
    font-size: 11px !important;
    line-height: 24px;
    margin: 3px 1px;
    border-radius: 2px;
    padding: 0 6px;
}

.widget .tagcloud a:hover {
    background: #E34834;
}

/* Calendar Widget*/

.widget_calendar table {
    line-height: 2;
    margin: 0;
}

.widget_calendar caption {
    font-weight: 700;
    text-align: center;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.widget_calendar thead th {
    background: rgba(255, 255, 255, 0.1);
}

.widget_calendar tbody td,
.widget_calendar thead th {
    text-align: center;
}

.widget_calendar tbody a {
    background: #E34834;
    color: #fff;
    display: block;
}

.widget_calendar tbody a:hover {
    background: #E34834;
    color: #fff;
}

.widget_calendar #prev {
    padding-left: 5px;
}

.widget_calendar #next {
    padding-right: 5px;
    text-align: right;
}

/* List Style Widgets*/

.widget_archive li,
.widget_categories li,
.widget_links li,
.widget_meta li,
.widget_nav_menu li,
.widget_pages li,
.widget_recent_comments li,
.widget_recent_entries li {
    border-top: 1px solid #eee;
    padding: 8px 0;
}

.widget_archive li:first-child,
.widget_categories li:first-child,
.widget_links li:first-child,
.widget_meta li:first-child,
.widget_nav_menu li:first-child,
.widget_pages li:first-child,
.widget_recent_comments li:first-child,
.widget_recent_entries li:first-child {
    border-top: 0;
}

.widget_categories li ul,
.widget_nav_menu li ul,
.widget_pages li ul {
    border-top: 1px solid #eee;
    margin-top: 9px;
}

.widget_categories li li:last-child,
.widget_nav_menu li li:last-child,
.widget_pages li li:last-child {
    padding-bottom: 0;
}


.widget_archive li,
.widget_categories li {
    text-align: right;
}
.widget_archive li a,
.widget_categories li a {
    float: left;
}

.widget_archive li:before,
.widget_archive li:after,
.widget_categories li:before,
.widget_categories li:after {
    display: table;
    content: "";
}

.widget_archive li:after,
.widget_categories li:after {
    clear: both;
}

/* Recent Posts Widget */

.widget_recent_entries .post-date {
    display: block;
}

/* Search Widget */
.widget_search input {
    border: 1px solid #eee;
    padding: 10px 12px;
    font-size: 12px;
}
.widget_search input:active,
.widget_search input:focus {
    border: 1px solid #aaa;
}

/* RSS Widget */

.rsswidget img {
    margin-top: -4px;
}

.rssSummary {
    margin: 9px 0;
}

.rss-date {
    display: block;
}

.widget_rss li {
    padding-bottom: 20px;
    border-bottom:1px solid #eee;
    margin-bottom: 20px;
}

.widget_rss li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

/* Text Widget */

.widget_text > div > :last-child {
    margin-bottom: 0;
}



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

#footer {
    background: #323232;
    padding: 40px 0;
    font-size: 12px;
    text-transform: uppercase;
}

#footer a {
    color: #ccc;
}

#footer a:hover {
    color: #fff;
    text-decoration: underline;
}

#credits {
    color: #fff;
    width: 100%;
    float: left;
    text-align: center;
}


#social {
    float: right;
    width: 50%;
    text-align: right;
    display: none;
}

#social a {
    display: inline-block;
    color: #fff;
    font-size: 16px;
    margin: 0 0 0 20px;
}

#social a:hover {
    color: #aaa;
}

@media (min-width: 600px) {

    #credits {
        text-align: left;
        width: 50%;
    }

    #social {
        display: block;
    }

}

/**
 * 09.0 Lightbox
 * -----------------------------------------------------------------------------
 */

#TB_overlay {
    position: fixed;
        z-index: 100;
        top: 0;
        left: 0;
    height: 100%;
    width: 100%;
}

.TB_overlayBG {
    background-color: rgba(0, 0, 0, 0.8)
}

#TB_window {
    position: fixed;
    z-index: 102;
    text-align: left;
    top: 50%;
    left: 50%;
}

#TB_window img#TB_Image {
    display: block;
    margin: 15px 0 0 15px;
}
#TB_caption{
    display: none;
    visibility: hidden;
}
#TB_closeWindow{
    display: none;
    visibility: hidden;
}
#TB_load{
    display: none;
    visibility: hidden;
}

#TB_HideSelect {
    z-index:99;
    position:fixed;
    top: 0;
    left: 0;
    background-color:#fff;
    border:none;
    filter:alpha(opacity=0);
    -moz-opacity: 0;
    opacity: 0;
    height:100%;
    width:100%;
}


.animate.in-viewpoint {
    opacity: 1;
    transform: translate3d(0px, 0px, 0px);
}

.animate {
    opacity: 0;
    transform: translate3d(0px, 100px, 0px);
    transition: all 0.5s ease 0s;
}





@-ms-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}
