/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/* ====== Grid ==============================================================
 * ========================================================================== */

html, body { height: 100%; }
#main-wrapper { min-height: 100%; display: table; height: 100%; width: 100%; }
.ie7 #main-wrapper { display: block; height: auto; }
#main { overflow: auto; padding-bottom: 134px;}
body:before { content: ""; height: 100%; float: left; width: 0; margin-top: -32767px; } /*Opera Fix*/

.wrapper { width: 960px; margin: 0 auto; position: relative; }

.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12 { float: left; position: relative; margin-left: 10px; margin-right: 10px; }

.wrapper .col-1 { width: 60px; }
.wrapper .col-2 { width: 140px; }
.wrapper .col-3 { width: 220px; }
.wrapper .col-4 { width: 300px; }
.wrapper .col-5 { width: 380px; }
.wrapper .col-6 { width: 460px; }
.wrapper .col-7 { width: 540px; }
.wrapper .col-8 { width: 620px; }
.wrapper .col-9 { width: 700px; }
.wrapper .col-10 { width: 780px; }
.wrapper .col-11 { width: 860px; }
.wrapper .col-12 { width: 940px; }

.wrapper .prefix-1 { padding-left: 80px; }
.wrapper .prefix-2 { padding-left: 160px; }
.wrapper .prefix-3 { padding-left: 240px; }
.wrapper .prefix-4 { padding-left: 320px; }
.wrapper .prefix-5 { padding-left: 400px; }
.wrapper .prefix-6 { padding-left: 480px; }
.wrapper .prefix-7 { padding-left: 560px; }
.wrapper .prefix-8 { padding-left: 640px; }
.wrapper .prefix-9 { padding-left: 720px; }
.wrapper .prefix-10 { padding-left: 800px; }
.wrapper .prefix-11 { padding-left: 880px; }

.wrapper .suffix-1 { padding-right: 80px; }
.wrapper .suffix-2 { padding-right: 160px; }
.wrapper .suffix-3 { padding-right: 240px; }
.wrapper .suffix-4 { padding-right: 320px; }
.wrapper .suffix-5 { padding-right: 400px; }
.wrapper .suffix-6 { padding-right: 480px; }
.wrapper .suffix-7 { padding-right: 560px; }
.wrapper .suffix-8 { padding-right: 640px; }
.wrapper .suffix-9 { padding-right: 720px; }
.wrapper .suffix-10 { padding-right: 800px; }
.wrapper .suffix-11 { padding-right: 880px; }

.col-first { margin-left: 0; }
.col-last { margin-right: 0; }


/* ====== Text ==============================================================
 * ========================================================================== */

body { background-color: #fbfbfd; font-size: 13px; font-family: 'Bitter', serif; line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: normal; line-height: 1.4; }
h1, h2 { font-size: 18px; margin-bottom: 8px; line-height: 1.6; }
h5 { color: #C00A27; font-size: 13px; margin-bottom: 1px; }

header h1, header h2, header h5 { margin-bottom: 0; }

p { margin: 0; }
p + p { margin-top: 14px; }

a { color: #386fb6; }
a:hover { color: #1F5193; }

.read-more { color: #386fb6; text-decoration: none; font-weight: 600; }
.read-more:hover { color: #1f5193; }


/* ====== Header ============================================================
 * ========================================================================== */

#main-header { background-color: #fff; border-top: solid 4px #c00a27; text-align: center; position: relative; z-index: 10; }
#main-header:after { content: ''; left: 0; bottom: -9px; height: 9px; width: 100%; position: absolute; background: url('../img/billboard-shadow-sprite.png') repeat-x 0 0; }
.blog #main-header:after, .single #main-header:after, .page-template-templatesbrands-php #main-header:after { bottom: -4px; height: 4px; background: url('../img/main-content-shadow-sprite.png') repeat-x 0 0; }
#main-header .logo { display: inline-block; margin-top: 19px; outline: none; }
#main-header .menu { border-top: solid 1px #c00a27; display: inline-block; margin: 13px 0 -5px 0; padding: 0; }
#main-header .menu li { float: left;}
#main-header .menu li a { color: #222; display: block; padding: 15px 12px 15px 12px; font-family: 'Bitter', serif; font-size: 13px; line-height: 1; text-transform: uppercase; text-decoration: none; }
#main-header .menu li a:hover, #main-header .menu li.current-menu-item a { text-decoration: underline; }


/* ====== Billboard =========================================================
 * ========================================================================== */

#billboard { background: #1f1555 url('../img/billboard-bg.png') repeat; height: 390px; position: relative; z-index: 5; }
#billboard:after { content: ''; left: 0; bottom: 0; height: 9px; width: 100%; position: absolute; background: url('../img/billboard-shadow-sprite.png') repeat-x 0 -10px; z-index: 10; }
#billboard .wrapper { height: 100%; }
#billboard .slider { position: relative; height: 100%; }
#billboard .slider .slides-wrapper { z-index: 1; position: relative; }
#billboard .slider .slides-wrapper .slide { display: none; }
#billboard .slider .slides-wrapper .slide.first { display: block; }
#billboard .slider .slider-nav { background-color: #386fb6; width: 4px; height: 100%; position: absolute; top: 0; z-index: 2; }
.home #billboard .slider .slider-nav { cursor: pointer; }
#billboard .slider .nav-left { left: 0; }
#billboard .slider .nav-right { right: 0; }
.home #billboard .slider .slider-nav:before { content: ''; background: transparent url('../img/main-sprite.png') no-repeat; width: 31px; height: 60px; position: absolute; top: 50%; margin-top: -30px; }
.home #billboard .slider .nav-left:before { background-position: 0 0; left: -31px; }
.home #billboard .slider .nav-right:before { background-position: -32px 0; right: -31px; }
#billboard .slider .slider-nav:after { content: ''; position: absolute; top: 0; background: url('../img/slider-shadow-sprite.png') repeat-y; width: 9px; height: 100%; }
#billboard .slider .nav-left:after { background-position: 0 0; left: 4px; }
#billboard .slider .nav-right:after { background-position: -10px 0; right: 4px; }


/* ====== Main ==============================================================
 * ========================================================================== */

#main-content .wrapper { padding: 30px 0; }

.border-box { border-top: solid 3px #c00a27; }
.border-box .content { background-color: #fff; border: solid 1px #eee; border-top: 0; padding: 15px 20px 20px 20px; position: relative; }
.blurb .content h2, .widget .content h2 { font-size: 16px; text-transform: uppercase; margin-bottom: 8px; }
.blurb .content img { display: block; margin-bottom: 16px; }
.blurb .content footer { border-top: solid 1px #eee; margin-top: 16px; padding: 12px 0 14px 0; text-align: center; }
.blurb.has-footer .content { padding-bottom: 0; }

.border-box.contact-blurb h5 { margin-top: 15px; }

.news { margin-bottom: 12px; }
.news a { display: block; text-decoration: none; }
.news h3 { color: #222; font-size: 13px; }
.news a:hover h3 { text-decoration: underline; }

.border-box.map-container .content { padding: 20px; }

.page-template-templatescontact-php .contact-blurb .content { height: 315px; }
#google-map { width: 578px; height: 310px; }

.post { border-bottom: solid 1px #eee; margin-bottom: 17px; padding-bottom: 20px; }
.post:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.post .attachment-thumbnail { float: left; margin-right: 20px; position: relative; top: 5px; }
.post header { margin-bottom: 10px; }
.post header a { text-decoration: none; color: #222; }
.post header a:hover { text-decoration: underline; }
.post footer { text-align: center; position: relative; top: 7px; margin-top: 10px; }

.post .main-image-container { padding-bottom: 18px; border-bottom: solid 1px #eee; margin-bottom: 13px; }
.post .main-image-container img, .single .post .main-image-container img { display: block; margin: 0; }

.single .post img { margin-top: 15px; margin-bottom: 15px; }
.single .post img.size-large, .post img.size-full { max-width: 100%; height: auto; width: auto; }
.single .post img.size-large.alignright, .post img.size-full.alignright { margin-left: 0; }
.single .post img.size-large.alignleft, .post img.size-full.alignleft { margin-right: 0; }

.image-gallery .content { padding: 20px 20px 14px 20px; }
.image-gallery .big-image-container { padding-bottom: 12px; margin-bottom: 12px; border-bottom: solid 1px #eee; }
.image-gallery .big-image-container a { display: none; }
.image-gallery .big-image-container a.first { display: block; }
.image-gallery ul { padding: 0; margin: 0; list-style: none; }
.image-gallery ul li { float: left; margin-left: 6px; cursor: pointer; margin-bottom: 6px; height: 60px; width: 82px; }
.image-gallery ul li.first { margin-left: 0; }
.image-gallery ul li img { display: block; opacity: 0.55 }
.image-gallery ul li:hover img, .image-gallery ul li.active img { opacity: 1; }
.lt-ie9 .image-gallery ul li img { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=55)"; }
.lt-ie9 .image-gallery ul li:hover img, .lt-ie9 .image-gallery ul li.active img { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; }


.brands-list { border-bottom: solid 1px #eee; list-style: none; margin: 0; padding: 0; }
.brands-list li { border-top: solid 1px #eee; }
.brands-list li a { display: block; color: #222; padding: 6px 0; text-decoration: none; position: relative; }
.brands-list li h2 { font-size: 14px; margin-bottom: 0; line-height: 1.2; }
.brands-list li a:hover h2 { color: #C00A27; }
.brands-list li a p { color: #888; }
.brands-list li a:hover p { color: #222; }
.brands-list li a:after { content: ''; background: url('../img/main-sprite.png') no-repeat -76px 0; width: 8px; height: 13px; position: absolute; right: 15px; top: 50%; margin-top: -6px; }
.brands-list li a:hover:after { background-position: -87px 0; }

/* ====== Sidebar ===========================================================
 * ========================================================================== */

.sidebar .border-box { margin-bottom: 20px; }
.sidebar .border-box ul { margin: 0; padding: 0; list-style: none; }
.sidebar .widget_archive ul li { padding: 2px 0; }
 
.sidebar .border-box article:last-child { margin-bottom: 0; }

/* ====== Footer ============================================================
 * ========================================================================== */

#main-footer { background-color: #fff; border-bottom: solid 4px #c00a27; color: #777; font-size: 12px; position: relative; margin-top: -134px; height: 130px; clear: both; }
#main-footer:before { content: ''; background: url('../img/main-content-shadow-sprite.png') repeat-x 0 -5px; position: absolute; top: -4px; left: 0; width: 100%; height: 4px; }
#main-footer .wrapper { padding: 25px 0; height: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
#main-footer .wrapper [class*="col-"] { float: left; height: 100%; padding: 0 30px; }
#main-footer .wrapper .col-left { width: 253px; }
#main-footer .wrapper .col-middle { border-left: solid 1px #eee; width: 252px; }
#main-footer .wrapper .col-right { border-left: solid 1px #eee; width: 253px; }

#main-footer .wrapper .col-left { text-align: center; }
#main-footer .wrapper .col-left img { margin-top: 24px; }

#main-footer h2 { color: #222; font-size: 12px; margin-bottom: 3px; }


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

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

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.center { text-align: center; }
.alignright { float: right; margin-left: 20px; }
.alignleft { float: right; margin-right: 20px; }

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

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

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .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; /* h5bp.com/t */
    }

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


/* Fancybox */

/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Examples and documentation at: http://fancybox.net
 * 
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
 * 
 * Version: 1.3.4 (11/11/2010)
 * Requires: jQuery v1.3+
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	margin-left: -20px;
	cursor: pointer;
	overflow: hidden;
	z-index: 1104;
	display: none;
}

#fancybox-loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background-image: url('../img/fancybox/fancybox.png');
}

#fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1100;
	display: none;
}

#fancybox-tmp {
	padding: 0;
	margin: 0;
	border: 0;
	overflow: auto;
	display: none;
}

#fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	z-index: 1101;
	outline: none;
	display: none;
}

#fancybox-outer {
	position: relative;
	width: 100%;
	height: 100%;
	background: #fff;
}

#fancybox-content {
	width: 0;
	height: 0;
	padding: 0;
	outline: none;
	position: relative;
	overflow: hidden;
	z-index: 1102;
	border: 0px solid #fff;
}

#fancybox-hide-sel-frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	z-index: 1101;
}

#fancybox-close {
	position: absolute;
	top: -15px;
	right: -15px;
	width: 30px;
	height: 30px;
	background: transparent url('../img/fancybox/fancybox.png') -40px 0px;
	cursor: pointer;
	z-index: 1103;
	display: none;
}

#fancybox-error {
	color: #444;
	font: normal 12px/20px Arial;
	padding: 14px;
	margin: 0;
}

#fancybox-img {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	line-height: 0;
	vertical-align: top;
}

#fancybox-frame {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

#fancybox-left, #fancybox-right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 35%;
	cursor: pointer;
	outline: none;
	background: transparent url('../img/fancybox/blank.gif');
	z-index: 1102;
	display: none;
}

#fancybox-left {
	left: 0px;
}

#fancybox-right {
	right: 0px;
}

#fancybox-left-ico, #fancybox-right-ico {
	position: absolute;
	top: 50%;
	left: -9999px;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	cursor: pointer;
	z-index: 1102;
	display: block;
}

#fancybox-left-ico {
	background-image: url('../img/fancybox/fancybox.png');
	background-position: -40px -30px;
}

#fancybox-right-ico {
	background-image: url('../img/fancybox/fancybox.png');
	background-position: -40px -60px;
}

#fancybox-left:hover span {
	left: 20px;
}

#fancybox-right:hover span {
	left: auto;
	right: 20px;
}

.fancybox-bg {
	position: absolute;
	padding: 0;
	margin: 0;
	border: 0;
	width: 20px;
	height: 20px;
	z-index: 1001;
}

#fancybox-title {
	font-family: Helvetica;
	font-size: 12px;
	z-index: 1102;
}

.fancybox-title-inside {
	padding-bottom: 10px;
	text-align: center;
	color: #333;
	background: #fff;
	position: relative;
}

.fancybox-title-outside {
	padding-top: 10px;
	color: #fff;
}

.fancybox-title-over {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #FFF;
	text-align: left;
}

#fancybox-title-over {
	padding: 10px;
	background-image: url('../img/fancybox/fancy_title_over.png');
	display: block;
}

.fancybox-title-float {
	position: absolute;
	left: 0;
	bottom: -20px;
	height: 32px;
}

#fancybox-title-float-wrap {
	border: none;
	border-collapse: collapse;
	width: auto;
}

#fancybox-title-float-wrap td {
	border: none;
	white-space: nowrap;
}

#fancybox-title-float-left {
	padding: 0 0 0 15px;
	background: url('../img/fancybox/fancybox.png') -40px -90px no-repeat;
}

#fancybox-title-float-main {
	color: #FFF;
	line-height: 29px;
	font-weight: bold;
	padding: 0 0 3px 0;
	background: url('../img/fancybox/fancybox-x.png') 0px -40px;
}

#fancybox-title-float-right {
	padding: 0 0 0 15px;
	background: url('../img/fancybox/fancybox.png') -55px -90px no-repeat;
}