/* Dark Mode Override for Cubed Theme */

/* BODY AND TEXT */
body {
    background: #1a1a1a;
    color: #e0e0e0;
}
p {
    color: #e0e0e0;
}
h1, h2, h3, h4, h5, h6 {
    color: #ccc;
}
a {
    color: #4a90e2;
}
a:hover, a:focus {
    color: #80bfff;
}

/* INPUTS AND FORMS */
textarea, input, select {
    background: #333;
    border: 1px solid #444;
    border-bottom-color: #555;
    border-right-color: #555;
    color: #e0e0e0;
}
input:focus, textarea:focus {
    background-color: #444;
    -moz-box-shadow: 0 0 1px #666;
    -webkit-box-shadow: 0 0 1px #666;
    box-shadow: 0 0 1px #666;
}
label, legend {
    color: #e0e0e0;
}
button {
    background: #444;
    color: #e0e0e0;
}

/* HEADER AND NAVIGATION */
header .container {
    background: #222;
}
header .page-title {
    background: #333;
}
header .page-title h1 {
    color: #ccc;
}
.sf-menu li a, .sf-menu li a:visited {
    color: #e0e0e0;
}
.sf-menu li a:hover {
    color: #4a90e2 !important;
}
.sf-menu li li a, .sf-menu li li a:visited {
    color: #e0e0e0;
}
.sf-menu li li:hover, .sf-menu li li.sfHover,
.sf-menu li li a:focus, .sf-menu li li a:hover, .sf-menu li li a:active {
    color: #4a90e2 !important;
}
.sf-arrows .sf-with-ul:after {
    border-top-color: #666;
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
    border-top-color: #e0e0e0;
}
.sf-arrows ul .sf-with-ul:after {
    border-left-color: #666;
}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
    border-left-color: #e0e0e0;
}

/* MAIN CONTENT */
.page-contents {
    background: #222;
}
.home-topfeature .colcontents {
    background: #444;
}
.home-topfeature .colcontents p {
    color: #e0e0e0;
}
.home-topfeature .colcontents h1 {
    color: #ccc;
}
.post-details {
    color: #999;
}
.blog-title-area {
    background: #333;
}
.portfolio-details-area {
    background: #333;
}
.readmorebutton a, .readmorebutton a:visited {
    color: #e0e0e0 !important;
}

/* COLUMNS */
.col1, .col2, .col12, .col24, .col3, .col13, .col4, .col14, .col23, .col34 {
    background: #222;
}
.col1.type-3 .colcontents, .col2.type-3 .colcontents, .col3.type-3 .colcontents, .col4.type-3 .colcontents, .col23.type-3 .colcontents, .col34.type-3 .colcontents {
    background: #222;
}
.col1 .subtitle, .col2 .subtitle, .col12 .subtitle, .col24 .subtitle, .col3 .subtitle, .col13 .subtitle, .col4 .subtitle, .col14 .subtitle, .col23 .subtitle, .col34 .subtitle {
    color: #4a90e2 !important;
}

/* SIDEBAR */
.sidebar {
    background: #333;
    color: #e0e0e0;
}
.sidebar .widget {
    border-bottom: 1px dotted #666;
    color: #e0e0e0;
}
.sidebar .widget li a, .sidebar #recentcomments li {
    border-color: #666 !important;
}

/* FOOTER */
footer .copytext .text {
    color: #e0e0e0;
}
footer .footer-widgets {
    background: #333;
}
footer .twitter-container {
    background: #2a4a6a url('../images/twitter-icon.png') no-repeat 30px 18px;
}
footer .twitter-container .twitter {
    color: #e0e0e0;
}

/* ELEMENTS */
blockquote {
    color: #999;
    border-bottom: 1px solid #666;
    border-top: 1px solid #666;
}
pre, code, .pre {
    background: #333;
    border: 1px solid #555;
    color: #e0e0e0;
}
hr {
    border-bottom: 1px dotted #666;
}
table td {
    border: 1px solid #444;
}
table th {
    color: #ccc;
}
tr.alt td {
    background: #333;
}

/* NIVO SLIDER */
.nivo-caption p h1, .nivo-caption p p {
    color: #e0e0e0;
}

/* INFO BOXES */
.infobox.check {
    background: #2a4a2a url('../images/info-check.png') no-repeat 10px 12px;
}
.infobox.check, .infobox.check * {
    color: #94b854;
}
.infobox.cross {
    background: #4a2a2a url('../images/info-cross.png') no-repeat 15px 11px;
}
.infobox.cross, .infobox.cross * {
    color: #e0e0e0;
}
.infobox.info {
    background: #2a3a4a url('../images/info-info.png') no-repeat 15px 10px;
}
.infobox.info, .infobox.info * {
    color: #4a90e2;
}
.infobox.warn {
    background: #4a3a2a url('../images/info-warn.png') no-repeat 15px 10px;
}
.infobox.warn, .infobox.warn * {
    color: #ff8c00;
}
.infobox.feature {
    background: #4a4a2a url('../images/info-feature.png') no-repeat 10px 10px;
}
.infobox.feature, .infobox.feature * {
    color: #bdb200;
}

/* TABS */
.bfi_tabs_slide a, .bfi_tabs_fade a {
    background: #333 url('../images/tab-shadow.png') repeat-x 0 4px;
    color: #e0e0e0 !important;
}
.bfi_tabs_slide a.current, .bfi_tabs_fade a.current {
    background-color: #444;
    border-bottom: 1px solid #444;
    color: #e0e0e0 !important;
}
div.bfi_pane {
    background-color: #444;
    border: 1px solid #666;
}

/* ACCORDION */
.bfi_accordion_header .bfi_accordion_inner {
    background: #444 url('../images/accordion-arrow-right.png') no-repeat 10px center;
}
.bfi_accordion_header.current .bfi_accordion_inner {
    background: #222 url('../images/accordion-arrow-down.png') no-repeat 10px center;
}
.bfi_accordion_header .bfi_accordion_inner a {
    color: #e0e0e0 !important;
}
.bfi_accordion_header.current .bfi_accordion_inner a {
    color: #e0e0e0 !important;
}

/* FAQ */
div.faq div.faq-title {
    background: #444;
}

/* COMMENTS */
#comments #respond {
    background: #333;
}
#comments .comment-body {
    border: 1px solid #666;
}

/* JQUERY TOOLS VALIDATOR */
.error {
    background-color: #8b0000;
    border: 1px solid #ff4444;
}
.error p {
    color: #e0e0e0;
}

/* PRICE TABLE */
.pricingtable thead th, .pricingtable tfoot td {
    background: #444 url('../images/tab-shadow.png') repeat-x bottom left;
    color: #e0e0e0;
}
.pricingtable tbody tr {
    background: #333;
}
.pricingtable tbody tr.even {
    background: #444;
}
.pricingtable tbody td {
    border-right: 1px solid #666;
}

li h1, li h2, li h3, li h4, li h5, li h6 {
    display: inline;
    vertical-align: middle;
}