/*
	Theme Name: Burgers and Bruce
	Theme URI: http://html5blank.com
	Description: Based on HTML5 Blank WordPress Theme
	Version: 1.0.0
	Author: AJ Cerqueti
	Author URI: https://ajcerqueti.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* html element 62.5% font-size for REM use */
html {
    font-size: 62.5%;
}

body {
    font: 300 11px/1.4 'Roboto Slab', serif;
    color: #444;
}

/* clear */
.clear:before,
.clear:after {
    content: ' ';
    display: table;
}

.clear:after {
    clear: both;
}

.clear {
    *zoom: 1;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    color: #1D1689;
    text-decoration: none;
}

a:hover {
    color: #444;
}

a:focus {
    outline: 0;
}

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

input:focus {
    outline: 0;
    border: 1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
    max-width: 1040px;
    width: 95%;
    margin: 0 auto;
    position: relative;
}

@media only screen and (max-width: 1080px) {
    .wrapper {
        width: 100%;
        padding: 0 10px;
    }
}

/* header */
.header {
    margin-bottom: 50px;
}

@media only screen and (max-width: 660px) {
    .header {
        margin-bottom: 20px;
    }
}

/* logo */
.logo {
    padding-top: 20px;
}

.logo a {
    display: block;
    margin: 0 auto;
    width: 440px;
}

@media only screen and (max-width: 640px) {
    .logo a {
        width: 90%;
    }
}

.logo-img {
    display: block;
}

/* nav */
.nav {
    margin-top: 20px;
}

.nav ul {
    list-style: none;
    margin: 0 auto;
    display: table;
    padding: 0 20px;
}

.nav ul li {
    margin: 0;
    padding: 0;
    float: left;
    position: relative;
    display: inline-block;
}

.nav ul li:after {
    content: '';
    width: 2px;
    height: 2px;
    border-radius: 1px;
    background: #1D1689;
    display: block;
    position: absolute;
    top: 0;
    bottom: 1px;
    right: -1px;
    margin: auto;
}

.nav ul li:last-of-type:after {
    display: none;
}

.nav ul li a {
    display: inline-block;
    padding: .6em 1em;
    font-size: 2em;
    color: #1D1689;
}

.nav ul li:last-of-type a {
    border-right: none;
}

@media only screen and (max-width: 660px) {
    .nav ul {
        padding: 0;
        display: block;
    }

    .nav ul li {
        float: none;
        display: block;
        text-align: center;
        margin-bottom: 5px;
    }

    .nav ul li:after {
        display: none;
    }

    .nav ul li a {
        display: block;
        padding: 0;
        background: #f1f1f1;
    }
}

/* sidebar */
.sidebar {

}

/* footer */
.footer {

}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

/*------------------------------------*\
    IMAGES
\*------------------------------------*/

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width: 320px) {

}

@media only screen and (min-width: 480px) {

}

@media only screen and (min-width: 768px) {

}

@media only screen and (min-width: 1024px) {

}

@media only screen and (min-width: 1140px) {

}

@media only screen and (min-width: 1280px) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

::-webkit-selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

::-moz-selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

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

.wp-caption {
    background: #FFF;
    border: 1px solid #F0F0F0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.sticky {

}

.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre, blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr, img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

main {
    width: 640px;
    float: left;
}

main.category-main {
    width: 1035px;
    margin: 0 auto 20px auto;
    float: none;
    max-width: 100% !important;
}

aside.sidebar {
    width: 300px;
    float: right;
    overflow: hidden;
}

@media only screen and (max-width: 1000px) {
    main,
    aside.sidebar {
        width: auto;
        float: none;
        padding: 0;
        margin: 0 auto 20px auto;
    }

    main {
        max-width: 600px;
    }

    aside.sidebar {
        max-width: 300px;
    }
}

@media only screen and (max-width: 1110px) {
    main.category-main {
        width: 690px;
    }
}

@media only screen and (max-width: 730px) {
    main.category-main {
        width: 345px;
    }
}

article {
    color: #666666;
    padding-bottom: 20px;
    border-bottom: 2px solid #cccccc;
    margin-bottom: 20px;
}

main.category-main article {
    width: 325px;
    float: left;
    overflow: hidden;
    margin: 0 10px 10px 10px;
    padding-bottom: 110px;
    position: relative;
}

main.category-main article .post-thumbnail-wrapper {
    width: 325px;
    height: 200px;
    overflow: hidden;
}

main.category-main article .post-title {
    position: absolute;
    left: 0;
    top: 210px;
    width: 100%;
}

@media only screen and (max-width: 400px) {
    main.category-main {
        width: 300px;
    }

    main.category-main article {
        width: 300px;
        float: none;
        margin: 0 0 10px 0;
        padding-bottom: 0;
    }

    main.category-main article .post-thumbnail-wrapper {
        width: 300px;
        height: auto;
    }

    main.category-main article .post-title {
        top: 0;
        position: relative;
    }
}

article h1,
article h2,
article h3 {
}

article h1 a,
article h2 a,
article h3 a {
    color: #1D1689;
}

article h1 {
    margin: 0 0 0.5em 0;
    font-size: 1.8em;
    font-weight: normal;
    color: #1D1689;
}

article h4.category {
    font-weight: normal;
    text-transform: uppercase;
    margin: 0 0 8px 0;
    font-size: 1.15em;
}

article h2.post-title {
    margin: 0 0 0.5em 0;
    font-size: 1.8em;
    font-weight: normal;
}

article h3.post-date {
    text-transform: uppercase;
    margin: 0 0 10px 0;
    font-size: 1.1em;
    font-weight: normal;
}

.home article h4.category,
.home article h2.post-title,
.home article h3.post-date {
    text-align: center;
}

article .post-thumbnail-wrapper {
    margin-bottom: 20px;
}

article .post-thumbnail-wrapper a,
article .post-thumbnail-wrapper a img {
    display: block;
    width: 100%;
    height: auto;
}

article .post-excerpt {
    font-size: 1.2em;
    line-height: 1.4em;
}

article a.view-article {
    border: 1px solid #1D1689;
    color: #1D1689;
    padding: 5px 10px;
    margin: 15px auto 0 auto;
    display: block;
    width: 100px;
    text-align: center;
}

article .post-content {
    font-size: 1.2em;
    line-height: 1.4em;
    padding-bottom: 20px;
    border-bottom: 2px solid #ccc;
    margin-bottom: 20px;
}

article p.caption {
    font-style: italic;
    font-size: 0.9em;
    margin: 0 0 2em 0;
    text-align: center;
    border-bottom: 1px #ccccff solid;
    padding-bottom: 0.5em;
}

article span.location {
    font-style: italic;
    color: #1D1689;
}

article div div {
    margin-bottom: 1.2em;
}

article a.post-thumbnail-link,
article a.post-thumbnail-link img {
    display: block;
    height: auto;
}

article a.post-thumbnail-link {
    width: 300px;
    float: left;
    margin: 0 10px 10px 0;
}

article a.post-thumbnail-link img {
    width: 100%;
}

article iframe.instagram-media {
    margin: 0 auto 20px auto !important;
}

article span.date {
    display: block;
    background-color: #ffffff;
    color: #666666;
    letter-spacing: 3px;
    margin: 0 0 1em 0;
}

article .tr-caption-container {
    margin-bottom: 20px;
}

article .tr-caption {
    padding-top: 5px;
}

article p img {
    display: block;
    max-width: 640px;
    height: auto;
    margin: 0 auto;
}

@media only screen and (max-width: 640px) {
    article p img {
        max-width: 100%;
    }
}

aside.sidebar .widget_text,
aside.sidebar .widget_search,
aside.sidebar .null-instagram-feed,
aside.sidebar .widget_nav_menu {
    padding-bottom: 20px;
    border-bottom: 2px solid #cccccc;
    margin-bottom: 20px;
}

aside.sidebar ul {
    padding: 0;
    margin: 0 0 10px 0;
    list-style: none;

    color: #666666;
    line-height: 1.4em;
}

aside.sidebar li {
    margin-bottom: 5px;
}

aside.sidebar h3 {
    text-align: center;
}

aside.sidebar p {
    text-align: center;
}

aside.sidebar .instagram-pics li {
    margin-bottom: 10px;
}

aside.sidebar .instagram-pics li img {
    width: 100%;
}

.fb-comments,
.fb-comments > span,
.fb-comments > span > iframe {
    width: 100% !important;
}

aside.sidebar ul#as-seen-in-list li,
aside.sidebar #what-is-this img,
aside.sidebar #meeting-bruce a {
    margin-bottom: 22px;
}

aside.sidebar ul#as-seen-in-list li a,
aside.sidebar ul#as-seen-in-list li img,
aside.sidebar #what-is-this img,
aside.sidebar #meeting-bruce a,
aside.sidebar #meeting-bruce img {
    display: block;
    width: 100%;
    height: auto;
}

aside.sidebar ul#as-seen-in-list li {
    border-bottom: 1px solid #1D1689;
    padding-bottom: 20px;
}

aside.sidebar ul#as-seen-in-list li:last-child {
    border: none;
    padding-bottom: 0;
}

aside.sidebar #social-follow .textwidget {
    text-align: center;
}

aside.sidebar #social-follow a {
    margin: 0 8px;
    font-size: 40px;
}

.pagination {
    text-align: center;
    font-size: 1.5em;
}

textarea {
    width: 100%;
}
