/*
THEME NAME: O'Fallon Storage
DESCRIPTION: Custom Theme Designed for O'Fallon Storage
VERSION: 2.1.8
AUTHOR: Mr. WPress
AUTHOR URI: https://www.mrwpress.com/
.
*/

/* BEGIN: CSS RESET RULES */

html, nav, a, abbr, acronym,
address, area, b, bdo, big,
button, caption, cite, code,
col, colgroup, dd, del, dfn,
div, dl, dt, em, fieldset, form,
h1, h2, h3, h4, h5, h6,
hr, i, img, ins, kbd, label,
legend, li, map, object, ol,
p, param, pre, q, samp,
small, span, strong, sub, sup,
table, tbody, td, textarea,
tfoot, th, thead, tr, tt, ul, var {
    margin: 0;
    padding: 0;
    vertical-align: top;
}

body {
    font-family: Lato, sans-serif;
    font-weight: 400;
    color: #231f20;
    font-size: 17px;
    overflow-y: scroll;
    margin: 0;
    padding: 0;
    background-image: url(images/body-stuco-bg.jpg);
}

p {
    padding: 0 0 30px;
}

table {
    padding: 0 0 20px;
}

.tablepress {
    margin-bottom: 20px;
}

header, nav,
section,
aside, footer {
    display: block;
    margin: 0 auto;
    padding: 0;
}

hr a {
    border: none;
    padding: 0;
    margin: 0 0 35px;
    background: #000;
    height: 1px;
    width: 100%;
    display: block;
}

code,
pre {
    white-space: pre;
}

del {
    text-decoration: line-through;
    /* it's deleted text - show it as such */
}

dfn {
    font-style: italic;
    font-weight: bold;
}

em {
    font-style: italic;
}

fieldset {
    border: 0;
    display: inline;
}

h1, h2, h3,
h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 30px;
    line-height: normal;
    color: #283891;
}

h1 {
    font-size: 33px;
    margin-bottom: 25px;
}

h2 {
    font-size: 30px;
    color: #0062b0;
}

h3 {
    font-size: 26px;
    color: #000;
}

h4 {
    font-size: 22px;
    color: #0062b0;
}

h5 {
    font-size: 20px;
    margin-bottom: 16px;
}

h6 {
    font-size: 18px;
    margin-bottom: 16px;
}

hr {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 0;
    margin: 15px 0 45px 0;
}

.sidebar h2,
.sidebar h3,
.sidebar h4,
.widgettitle {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 20px;
}

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

a {
    color: #33ccff;
}

ins {
    text-decoration: none;
}

strong {
    font-weight: bold;
}

tt {
    display: block;
    margin: 0.5em 0;
    padding: 0.5em 1em;
}

ul {
    list-style-type: none;
}

.masonry li {
    display: inline-block;
}

.masonry img {
    color: transparent;
}

/*
Comment out / remove the line below if you are NOT going to use Font Awesome, so the "X" character shows
*/
#lbwrap #lightbox a.close span {
    display: none;
}

.skip {
    position: absolute;
    left: -999em;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* change colours to suit your needs */
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

/* change colours to suit your needs */
mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

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

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input,
select {
    vertical-align: middle;
}

/* Header */

.headerwrapper {
    background-image: url(images/header-roof-bg.jpg);
}

header {
    text-align: center;
    padding-bottom: 32px;
}

header, nav#main {
    max-width: 1200px;
    margin: 0 auto;
}

header #logo img {
    padding: 35px 0 10px 0;
}

header .sidebar {
    color: #ffffff;
    font-family: Arial, Lato, sans-serif;
    font-size: 22px;
}

/* Menus */

#blog_toggle,
#gallery_toggle,
#toggle,
.toggle {
    display: none;
}

div.navwrapper {
    background-image: url(images/nav-bar-bg.jpg);
    text-align: center;
    position: relative;
}

.headerwrapper nav li {
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    padding: 20px 18px;
}

.headerwrapper nav li a:hover,
.headerwrapper nav li.current-menu-item a {
    color: #f72921;
    text-decoration: none;
}

/* End Menus */
/* End Header */

/* Home Specific */

.master-slider-parent {
    margin: 0 !important;
    padding-bottom: 25px;
}

/* End Home Specific */

/* Main Styles */

div.contentwrapper {
    background: transparent url(images/storage-door-bg.gif) center center repeat;
    margin: 45px auto 0 auto;
}

div.contentliner {
    background-image: url(images/body-stuco-bg.jpg);
    max-width: 1200px;
    margin: 0 auto;
}

section.main-content {
    background: #fff;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 50px;
}

section.main-content article {
    background: #fff;
    display: inline-block;
    width: 71%;
    padding: 30px 0 0 30px;
    vertical-align: top;
}

section.main-content article a {
    color: #f72921;
}

section.main-content article ul {
    margin-left: 18px;
    padding-bottom: 30px;
    list-style-type: disc;
}

section.main-content aside {
    display: inline-block;
    padding: 30px 0 0 50px;
    width: 20%;
}

section.main-content aside img {
    padding-bottom: 30px;
}

div#sidebar-default_sidebar h2.widgettitle {
    font-size: 15px;
    color: #000;
    margin-bottom: 8px;
    text-align: center;
}

.tablepress-table-name {
    color: #0062B0;
    margin-bottom: 15px;
}

span.tablepress-table-description {
    font-style: italic;
    padding-bottom: 15px;
}

.tablepress thead th {
    background: #999999;
    border: 1px solid #fff;
}

.tablepress tbody td {
    background: #cccccc;
    border: 1px solid #fff;
}

.one_half {
    width: 47.5% !important;
    padding: 0 2.5% 0 0;
}

.one_half.last_column {
    padding: 0 0 0 2.5%;
}

.alignleft {
    float: left;
    margin: 0 15px 15px 0;
}

.alignright {
    float: right;
    margin: 0 0 15px 15px;
}

.aligncenter {
    display: inline-block;
    margin: 0 auto;
}

/* End Main Styles */

/* Footer */

.footerwrapper {
    background-image: url(images/footer-asphalt-bg.jpg);
    color: #d4d4d5;
    padding: 50px 0 75px 0;
}

footer {
    max-width: 1200px;
    margin: 0 auto;
}

footer a {
    color: #d4d4d5;
}

div#sidebar-theme_footer h2.widgettitle {
    color: #d4d4d5;
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
}

#footer_top {
    max-width: 75%;
    display: inline-block;
}

div#sidebar-theme_footer p {
    padding-bottom: 25px;
}

div#sidebar-theme_footer li {
    padding-right: 70px;
    display: inline-block;
}

div#footer_bottom {
    text-align: right;
    float: right;
    max-width: 24%;
}

/* End Footer */

/* Responsive Design */

@media only screen
and (max-width: 1220px) {
    section.main-content,
    header nav,
    footer {
        width: 96%;
        margin: 0 auto;
    }

    div#footer_top,
    div#footer_bottom {
        max-width: 100%;
        display: block;
        text-align: center;
        float: none;
    }

    div#sidebar-theme_footer li {
        padding-right: 0;
        width: 33%;
    }

    .headerwrapper nav li {
        font-size: 15px;
        padding: 20px 10px;
    }

}

@media only screen
and (max-width: 992px) {
    section.main-content article {
        width: 70%;
    }

    .headerwrapper nav li {
        font-size: 12px;
        padding: 20px 7px;
    }

}

@media only screen
and (max-width: 890px) {
    section.main-content article,
    section.main-content aside {
        display: block;
        width: 96%;
        margin: 0 auto;
        padding-left: 0;
    }

    section.main-content aside li {
        text-align: center;
    }

}

/* Small Devices, Tablets */
@media only screen
and (max-width: 768px) {

    header {
        padding-bottom: 18px;
    }

    header .sidebar {
        font-size: 17px;
    }

    #sidebar-header strong {
        display: block;
        padding-top: 5px;
    }

    div#sidebar-theme_footer li {
        display: block;
        width: 100%;
    }

    .navwrapper {
        float: none;
        margin-top: 0;
        text-align: center;
        background: #000;
        padding: 0 2%;
        width: 96%;
    }

    body.fixnav .navwrapper {
        top: 0;
        z-index: 5000;
        position: fixed;
    }

    .headerwrapper nav li {
        margin: 0;
        padding: 0;
    }

    header nav ul ul li {
        width: 100%;
    }

    .toggle {
        display: block;
        cursor: pointer;
        width: 100%;
        background: transparent;
        color: #33ccff;
        z-index: 355555;
        height: 50px;
        line-height: 50px;
    }

    .toggle span.menu-icon,
    .toggle span.menu-icon .fa {
        line-height: 50px;
        display: inline-block;
    }

    .navwrapper nav {
        margin-top: 0;
    }

    .navwrapper .menu {
        position: absolute;
        display: none;
        top: 50px;
        left: 0;
        right: 0;
        width: 100%;
        background: #000;
        z-index: 255556;
    }

    .navwrapper .menu li {
        display: block;
    }

    .navwrapper .menu li a {
        display: block;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid #333333;
        font-size: 17px;
    }

    .navwrapper .menu li a:hover {
        color: #f72921;
    }

    .navwrapper .menu li:first-child a {
        border-top: 1px solid #333333;
    }

    .navwrapper #toggle:checked + .menu {
        display: block;
        opacity: 1;
        text-align: left;
        padding-left: 15px;
    }
}

/* Extra Small Devices, Phones */
@media only screen
and (max-width: 680px) {

    .one_half {
        width: 100% !important;
        margin: 0 0 20px;
    }

    .last_column {
        padding: 0 !important;
    }
}

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

}

/* End Responsive */

/* END: CSS RESET RULES */