/*
Theme Name: Glass-Rite
Theme URI: http://xynergy.com/
Description: The default theme for Glass Rite
Author: the Xynergy team
Version: 1.1
Tags: blue
*/

/* =Additional stuff 
-------------------------------------------------------------- */

#request-quote {
display: block;
width: 197px;
height: 47px;
background: url('images/request-quote.png') no-repeat 0 0;
float: right;
clear: right;
margin-top: 22px;
}

#request-quote:hover {
background-position: 0 -47px;
}

#request-quote span,
#free-quote span,
#tax-info-pdf span {
display: none;
}

#primary ul li a {
font-size: 15px;
font-weight: bold;
text-transform:uppercase;
}

#primary ul li.pdf-watermark,
#primary ul li.photo-watermark {
padding: 0 0 0 41px;
margin: 0 0 20px 0;
width: 190px;
}

#primary ul li.pdf-watermark {
background: url('images/pdf-watermark.png') no-repeat top left;
}

#primary ul li.photo-watermark {
background: url('images/photo-watermark.png') no-repeat top left;
}

#primary ul li.pdf-watermark img,
#primary ul li.photo-watermark img{
padding: 5px 0 0;
}

#primary img.home-side-img {
margin: 25px auto;
display: block;
}

.img-border {
border: 5px solid #fff;
}

.side-margin {
margin: 0 0 20px 0;
}

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

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,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
background: transparent;
border: 0;
margin: 0;
padding: 0;
vertical-align: baseline;
}

body {
line-height: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
clear: both;
font-weight: normal;
}

ol,
ul {
list-style: none;
}

blockquote {
quotes: none;
}

blockquote:before,
blockquote:after {
content: '';
content: none;
}

del {
text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: collapse;
border-spacing: 0;
}

a img {
border: none;
}

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

/* =Layout
-------------------------------------------------------------- */

/*
LAYOUT: Two columns
DESCRIPTION: Two-column fixed layout with one sidebar right of content
*/

#primary,
#secondary {
float: right;
overflow: hidden;
margin: 0 0 45px;
width: 235px;
}

.sbc-image {
width: 235px;
margin: 0 auto;
}

#secondary {
clear: right;
}

#footer {
clear: both;
width: 100%;
}

/*
LAYOUT: One column, no sidebar
DESCRIPTION: One centered column with no sidebar
*/

.one-column #content {
margin: 0 auto;
width: auto;
}

/*
LAYOUT: Full width, no sidebar
DESCRIPTION: Full width content with no sidebar; used for attachment pages
*/

.single-attachment #content {
margin: 0 auto;
width: auto;
}

/* =Fonts
-------------------------------------------------------------- */
body,
input,
textarea,
.page-title span,
.pingback a.url {
font-family: Georgia, "Bitstream Charter", serif;
}

h3#comments-title,
h3#reply-title,
#access .menu,
#access div.menu ul,
#cancel-comment-reply-link,
.form-allowed-tags,
#site-info,
#site-title,
#wp-calendar,
.comment-meta,
.comment-body tr th,
.comment-body thead th,
.entry-content label,
.entry-content tr th,
.entry-content thead th,
.entry-meta,
.entry-title,
.entry-utility,
#respond label,
.navigation,
.page-title,
.pingback p,
.reply,
.widget-title,
.wp-caption-text,
input[type=submit] {
font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
}

pre {
font-family: "Courier 10 Pitch", Courier, monospace;
}

code {
font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

/* =Structure
-------------------------------------------------------------- */

/* The main theme structure */
#access .menu-header,
div.menu,
#colophon,
#branding,
#main,
#wrapper {
margin: 0 auto;
width: 925px;
}

#wrapper {
margin-top: 17px;
padding: 0 20px;
}

/* Structure the footer area */
#footer-widget-area {
overflow: hidden;
}

#footer-widget-area .widget-area {
float: left;
margin-right: 20px;
width: 220px;
}

#footer-widget-area #fourth {
margin-right: 0;
}

#site-generator {
float: right;
width: 220px;
}

/* =Global Elements
-------------------------------------------------------------- */

/* Main global 'theme' and typographic styles */
body {
background: #ccf0f2 url('images/bg.png') repeat-x top center;
}

body {
color: #666;
font-size: 12px;
line-height: 18px;
font-family: Helvetica, Arial, sans-serif;
-webkit-text-size-adjust: none; /* for rwd */
}

hr {
background-color: #e7e7e7;
border: 0;
clear: both;
height: 1px;
margin-bottom: 18px;
}

/* Text elements */
p {
margin-bottom: 18px;
}

ul {
list-style: none;
margin: 0 0 18px 1.5em;
}

#content ul li {
background: url(images/ul-red-square.gif) no-repeat left 13px;
padding: 5px 0 5px 12px;
}

ol {
list-style: decimal;
margin: 0 0 18px 1.5em;
}

ol ol {
list-style: upper-alpha;
}

ol ol ol {
list-style: lower-roman;
}

ol ol ol ol {
list-style: lower-alpha;
}

ul ul,
ol ol,
ul ol,
ol ul {
margin-bottom: 0;
}

dl {
margin: 0 0 24px 0;
}

dt {
font-weight: bold;
}

dd {
margin-bottom: 18px;
}

strong {
font-weight: bold;
}

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

big {
font-size: 131.25%;
}

ins {
background: #ffc;
text-decoration: none;
}

blockquote {
font-style: italic;
padding: 0 3em;
}

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

pre {
background: #f7f7f7;
color: #222;
line-height: 18px;
margin-bottom: 18px;
padding: 1.5em;
}

abbr,
acronym {
border-bottom: 1px dotted #666;
cursor: help;
}

sup,
sub {
height: 0;
line-height: 1;
position: relative;
vertical-align: baseline;
}

sup {
bottom: 1ex;
}

sub {
top: .5ex;
}

input[type="text"],
textarea {
background: #f9f9f9;
border: 1px solid #ccc;
box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1);
-moz-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1);
-webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1);
padding: 2px;
}

.wpcf7-form .required {
color: #dc230a;
}

.wpcf7-form p {
color: #00748B;
font-size: 16px;
margin: 15px 0 !important;
}

.wpcf7-form input {
font-size: 18px;
width: 250px;
margin: 0 !important;
}

.wpcf7-form input.wpcf7-submit {
width: auto;
margin: 20px 0;
}

.wpcf7-form .form-left,
.wpcf7-form .form-right {
float: left;
width: 300px;
}

.wpcf7-form textarea {
width: 90%;
max-width: 600px;
}

.wpcf7-validation-errors {
background: #fff;
margin-left: 0;
}

a:link {
color: #dc230a;
}

a:visited {
color: #dc230a;
}

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

/* Text meant only for screen readers */
.screen-reader-text {
position: absolute;
left: -9000px;
}


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

#header {
padding: 0;
}

#site-title {
float: left;
font-size: 30px;
line-height: 36px;
margin: 0 0 18px 0;
width: 700px;
}

#site-title a {
color: #000;
font-weight: bold;
text-decoration: none;
}

#site-description,
#site-description-home {
font-size: 24px;
font-style: italic;
margin: 0;
width: 100%;
height: 133px;
text-align: right;
font-weight: normal;
background: url('images/home-header.png') no-repeat 10px 0;
}

/* This is the custom header image */
#branding img,
#branding a img {
display: block;
float: left;
border: none;
}
#branding span a img {
float: none;
border: none;
float:right;
position:relative;
top:59px;
left:-7px;
}

.tagline {
	float: right;
	margin-top: 25px;
}

/* =Menu
-------------------------------------------------------------- */

#access {
background: #ffe80e url('images/menu-bg.png') repeat-x center top;
display: block;
float: left;
margin: 0 auto;
width: 923px;
border: 1px #dec900 solid;
overflow: hidden;
}

#access .menu-header,
div.menu {
font-size: 14px;
width: 940px;
font-weight: bold;
}

#access h3 {
	display: none;
}

#access ul,
div.menu ul {
list-style: none;
margin: 0;
}

#access li,
div.menu li {
float: left;
}

#access a {
color: #00798f;
display: block;
line-height: 47px;
padding: 0 14px 3px 13px;
text-decoration: none;
text-shadow: #fff 1px 1px 1px;
background: url('images/menu-divider.png') no-repeat right bottom;
border-right: solid 1px #f4dd00;
}
#access #menu-top-menu li.last a {
background: none;
border-right: none;
}
#access li:hover a,
#access ul li.current_page_item a,
#access ul li.current-menu-ancestor a,
#access ul li.current-menu-item a,
#access ul li.current-menu-parent a {
color: #00798f;
border-bottom: 4px solid #dc230a;
padding-bottom: 0;
}

/* dropdown */
#access ul ul {
box-shadow: 1px 1px 3px #666;
position: absolute;
left: -999em;
display: block;
width: auto;
z-index: 99999;
background: #fff;
margin: 0;
}
#access ul li:hover ul {
left: auto;
}
#access ul li:hover ul ul {
left: -999em;
}

#access ul ul li {
display: block;
float: none;
border-bottom: solid 1px #f4f4f4;
}
#access ul ul li:hover {
/* background: url('images/red-square.gif') no-repeat 3px 12px #f4f4f4; */
background: #f4f4f4;
}

#access ul ul a {
padding: 5px 8px !important;
color: #000 !important;
background: none;
border: none !important;
display: block;
font-weight: normal;
font-size: 14px;
line-height: 1.3;
}

#access ul ul a:hover {
border: none;
color: #000;
}	

/* flyout */
#access ul ul ul {
width: 225px; /* not sure why this needs a width assigned */
}
#access ul ul li:hover ul {
left: 100%;
top: auto;
margin-top: -28px;
}	

/* =Content
-------------------------------------------------------------- */

#main {
clear: both;
/* overflow: hidden; */
padding: 30px 0 0 0;
min-height: 500px;
}

#content {
color: #000;
font-size: 14px;
line-height: 22px;
float: left;
width: 600px;
}
.one-column #content {
width: auto;
float: none;
}

#content p,
#content ul,
#content ol,
#content dd,
#content pre,
#content hr {
margin-bottom: 20px;
}

#content ul ul,
#content ol ol,
#content ul ol,
#content ol ul {
margin-bottom: 0;
}

#content pre,
#content kbd,
#content tt,
#content var {
font-size: 15px;
line-height: 21px;
}

#content code {
font-size: 13px;
}

#content dt,
#content th {
color: #000;
}

#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
color: #00738b;
line-height: 1.5em;
margin: 0 0 15px;
text-transform: uppercase;
font-weight: bold;
}

#content h2 {
font-size: 16px;
margin: 0;
color: #dc230a;
text-align: left;
}

#content table {
border: 1px solid #e7e7e7;
margin: 0 -1px 24px 0;
text-align: left;
width: 100%;
}

#content tr th,
#content thead th {
color: #888;
font-size: 12px;
font-weight: bold;
line-height: 18px;
padding: 9px 24px;
}

#content tr td {
border-top: 1px solid #e7e7e7;
padding: 6px 24px;
}

#content tr.odd td {
background: #f2f7fc;
}

.hentry {
margin: 0 0 48px 0;
}

.home .sticky {
background: #f2f7fc;
border-top: 4px solid #000;
margin-left: -20px;
margin-right: -20px;
padding: 18px 20px;
}

.single .hentry {
margin: 0 0 36px 0;
}

.page-title {
color: #000;
font-size: 14px;
font-weight: bold;
margin: 0 0 36px 0;
}

.page-title span {
color: #333;
font-size: 16px;
font-style: italic;
font-weight: normal;
}

.page-title a:link,
.page-title a:visited {
color: #888;
text-decoration: none;
}

.page-title a:active,
.page-title a:hover {
color: #ff4b33;
}

#content .entry-title {
color: #00748B;
font-size: 26px;
font-weight: bold;
line-height: 1.3em;
margin-bottom: 0;
}

.entry-title a:link,
.entry-title a:visited {
color: #000;
text-decoration: none;
}

.entry-title a:active,
.entry-title a:hover {
color: #ff4b33;
}

.entry-meta {
color: #888;
font-size: 12px;
}

.entry-meta abbr,
.entry-utility abbr {
border: none;
}

.entry-meta abbr:hover,
.entry-utility abbr:hover {
border-bottom: 1px dotted #666;
}

.entry-content,
.entry-summary {
clear: both;
padding: 12px 0 0 0;
}

#content .entry-summary p:last-child {
margin-bottom: 12px;
}

.entry-content fieldset {
border: 1px solid #e7e7e7;
margin: 0 0 24px 0;
padding: 24px;
}

.entry-content fieldset legend {
background: #fff;
color: #000;
font-weight: bold;
padding: 0 24px;
}

.entry-content input {
margin: 0 0 24px 0;
}

.entry-content input.file,
.entry-content input.button {
margin-right: 24px;
}

.entry-content label {
color: #888;
font-size: 12px;
}

.entry-content select {
margin: 0 0 24px 0;
}

.entry-content sup,
.entry-content sub {
font-size: 10px;
}

.entry-content blockquote.left {
float: left;
margin-left: 0;
margin-right: 24px;
text-align: right;
width: 33%;
}

.entry-content blockquote.right {
float: right;
margin-left: 24px;
margin-right: 0;
text-align: left;
width: 33%;
}

.page-link {
color: #000;
font-weight: bold;
margin: 0 0 22px 0;
word-spacing: 0.5em;
}

.page-link a:link,
.page-link a:visited {
background: #f1f1f1;
color: #333;
font-weight: normal;
padding: 0.5em 0.75em;
text-decoration: none;
}

.home .sticky .page-link a {
background: #d9e8f7;
}

.page-link a:active,
.page-link a:hover {
color: #ff4b33;
}

body.page .edit-link {
clear: both;
display: block;
}

#entry-author-info {
background: #f2f7fc;
border-top: 4px solid #000;
clear: both;
font-size: 14px;
line-height: 20px;
margin: 24px 0;
overflow: hidden;
padding: 18px 20px;
}

#entry-author-info #author-avatar {
background: #fff;
border: 1px solid #e7e7e7;
float: left;
height: 60px;
margin: 0 -104px 0 0;
padding: 11px;
}

#entry-author-info #author-description {
float: left;
margin: 0 0 0 104px;
}

#entry-author-info h2 {
color: #000;
font-size: 100%;
font-weight: bold;
margin-bottom: 0;
}

.entry-utility {
clear: both;
color: #888;
font-size: 12px;
line-height: 18px;
}

.entry-meta a,
.entry-utility a {
color: #888;
}

.entry-meta a:hover,
.entry-utility a:hover {
color: #ff4b33;
}

#content .video-player {
padding: 0;
}

#featured {
background: #fff;
padding: 0 5px 2px;
margin: -13px 0 35px 0;
width: 640px;
}

#featured h2 {
text-transform: none;
font-size: 26px;
line-height: 31px;
font-style: italic;
color: #dc230a;
margin: -7px 0 0;
padding: 0;
}

#featured p {
margin: 0;
padding: 5px 0;
line-height: 18px;
}

.clsTestimonial {
   margin-top: 10px;
   margin-bottom: 15px;
   background: url('images/testimonial-seperator.gif') no-repeat bottom left;
   padding: 0 0 30px 0;
}

.clsTestimonial.last {
background: none;
}

.before-after-sec {
margin: 0 0 25px;
position: relative;
clear: left;
position: relative;
}

.before-after-sec img {
border: 5px solid #fff;
}

/* =Video
-------------------------------------------------------------- */
#mediaspace .pro-player-container {
}

/* =Asides
-------------------------------------------------------------- */

.home #content .category-asides p {
font-size: 14px;
line-height: 20px;
margin-bottom: 10px;
margin-top: 0;
}

.home .hentry.category-asides {
padding: 0;
}

.home #content .category-asides .entry-content {
padding-top: 0;
}

/* =Gallery listing
-------------------------------------------------------------- */

.category-gallery .size-thumbnail img {
border: 10px solid #f1f1f1;
margin-bottom: 0;
}

.category-gallery .gallery-thumb {
float: left;
margin-right: 20px;
margin-top: -4px;
}

.home #content .category-gallery .entry-utility {
padding-top: 4px;
}

/* =Attachment pages
-------------------------------------------------------------- */

.attachment .entry-content .entry-caption {
font-size: 140%;
margin-top: 24px;
}

.attachment .entry-content .nav-previous a:before {
content: '\2190\00a0';
}

.attachment .entry-content .nav-next a:after {
content: '\00a0\2192';
}

/* =Images
-------------------------------------------------------------- */

#content img {
margin: 10px 0;
}

#content .attachment img {
max-width: 900px;
}

#content .alignleft,
#content img.alignleft {
display: inline;
float: left;
margin-right: 24px;
margin-top: 4px;
}

#content .alignright,
#content img.alignright {
display: inline;
float: right;
margin-left: 24px;
margin-top: 4px;
}

#content .aligncenter,
#content img.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
}

#content img.alignleft,
#content img.alignright,
#content img.aligncenter {
margin-bottom: 12px;
}

#content .wp-caption {
background: #f1f1f1;
line-height: 18px;
margin-bottom: 20px;
padding: 4px;
text-align: center;
}

#content .wp-caption img {
margin: 5px 5px 0;
}

#content .wp-caption p.wp-caption-text {
color: #888;
font-size: 12px;
margin: 5px;
}

#content .wp-smiley {
margin: 0;
}

#content .gallery {
margin: 0 auto 18px;
}

#content .gallery .gallery-item {
float: left;
margin-top: 0;
text-align: center;
width: 33%;
}

#content .gallery img {
border: 2px solid #cfcfcf;
}

#content .gallery .gallery-caption {
color: #888;
font-size: 12px;
margin: 0 0 12px;
}

#content .gallery dl {
margin: 0;
}

#content .gallery img {
border: 10px solid #f1f1f1;
}

#content .gallery br+br {
display: none;
}

#content .attachment img { /* single attachment images should be centered */
display: block;
margin: 0 auto;
}

.RightSidebar .button.red {
width: 243px;
}
.widget-area .button.red {
width: 233px;
}
.button.red {
background: url("images/button-red.png") repeat-x top;
border: solid 1px #b32814;
color: #fff;
text-decoration: none;
text-transform: uppercase;
font-weight: bold;
font-size: 14px;
height: 43px;
line-height: 43px;
display: block;
text-align: center;
margin-bottom: 20px;
}
.button.red:hover {
background-position: bottom;
text-decoration: none;
}

/* =Navigation
-------------------------------------------------------------- */

.navigation {
color: #888;
font-size: 12px;
line-height: 18px;
overflow: hidden;
}

.navigation a:link,
.navigation a:visited {
color: #888;
text-decoration: none;
}

.navigation a:active,
.navigation a:hover {
color: #ff4b33;
}

.nav-previous {
float: left;
width: 50%;
}

.nav-next {
float: right;
text-align: right;
width: 50%;
}

#nav-above {
margin: 0 0 18px 0;
}

#nav-above {
display: none;
}

.paged #nav-above,
.single #nav-above {
display: block;
}

#nav-below {
margin: -18px 0 0 0;
}

/* =Comments
-------------------------------------------------------------- */
#comments {
clear: both;
}

#comments .navigation {
padding: 0 0 18px 0;
}

h3#comments-title,
h3#reply-title {
color: #000;
font-size: 20px;
font-weight: bold;
margin-bottom: 0;
}

h3#comments-title {
padding: 24px 0;
}

.commentlist {
list-style: none;
margin: 0;
}

.commentlist li.comment {
border-bottom: 1px solid #e7e7e7;
line-height: 24px;
margin: 0 0 24px 0;
padding: 0 0 0 56px;
position: relative;
}

.commentlist li:last-child {
border-bottom: none;
margin-bottom: 0;
}

#comments .comment-body ul,
#comments .comment-body ol {
margin-bottom: 18px;
}

#comments .comment-body p:last-child {
margin-bottom: 6px;
}

#comments .comment-body blockquote p:last-child {
margin-bottom: 24px;
}

.commentlist ol {
list-style: decimal;
}

.commentlist .avatar {
position: absolute;
top: 4px;
left: 0;
}

.comment-author {
}

.comment-author cite {
color: #000;
font-style: normal;
font-weight: bold;
}

.comment-author .says {
font-style: italic;
}

.comment-meta {
font-size: 12px;
margin: 0 0 18px 0;
}

.comment-meta a:link,
.comment-meta a:visited {
color: #888;
text-decoration: none;
}

.comment-meta a:active,
.comment-meta a:hover {
color: #ff4b33;
}

.commentlist .even {
}

.commentlist .bypostauthor {
}

.reply {
font-size: 12px;
padding: 0 0 24px 0;
}

.reply a,
a.comment-edit-link {
color: #888;
}

.reply a:hover,
a.comment-edit-link:hover {
color: #ff4b33;
}

.commentlist .children {
list-style: none;
margin: 0;
}

.commentlist .children li {
border: none;
margin: 0;
}

.nopassword,
.nocomments {
display: none;
}

#comments .pingback {
border-bottom: 1px solid #e7e7e7;
margin-bottom: 18px;
padding-bottom: 18px;
}

.commentlist li.comment+li.pingback {
margin-top: -6px;
}

#comments .pingback p {
color: #888;
display: block;
font-size: 12px;
line-height: 18px;
margin: 0;
}

#comments .pingback .url {
font-size: 13px;
font-style: italic;
}

/* Comments form */
input[type=submit] {
color: #333;
}

#respond {
border-top: 1px solid #e7e7e7;
margin: 24px 0;
overflow: hidden;
position: relative;
}

#respond p {
margin: 0;
}

#respond .comment-notes {
margin-bottom: 1em;
}

.form-allowed-tags {
line-height: 1em;
}

.children #respond {
margin: 0 48px 0 0;
}

h3#reply-title {
margin: 18px 0;
}

#comments-list #respond {
margin: 0 0 18px 0;
}

#comments-list ul #respond {
margin: 0;
}

#cancel-comment-reply-link {
font-size: 12px;
font-weight: normal;
line-height: 18px;
}

#respond .required {
color: #ff4b33;
font-weight: bold;
}

#respond label {
color: #888;
font-size: 12px;
}

#respond input {
margin: 0 0 9px;
width: 98%;
}

#respond textarea {
width: 98%;
}

#respond .form-allowed-tags {
color: #888;
font-size: 12px;
line-height: 18px;
}

#respond .form-allowed-tags code {
font-size: 11px;
}

#respond .form-submit {
margin: 12px 0;
}

#respond .form-submit input {
font-size: 14px;
width: auto;
}

/* =Widget Areas
-------------------------------------------------------------- */
#main .widget-area {
overflow: visible !important;
}

.widget-area ul {
list-style: none;
margin-left: 0;
}
.widget-area ul ul {
list-style: square;
margin-left: 1.3em;
}

.widget_search #s {/* This keeps the search inputs in line */
width: 60%;
}
.widget_search label {
display: none;
}

.widget-container {
margin: 0 0 18px 0;
}
.widget-title {
color: #222;
font-weight: bold;
}

.widget-area a:link,
.widget-area a:visited {
text-decoration: none;
}
.widget-area a:active,
.widget-area a:hover {
text-decoration: underline;
}

.widget-area .entry-meta {
font-size: 11px;
}

#wp_tag_cloud div {
line-height: 1.6em;
}

#wp-calendar {
width: 100%;
}
#wp-calendar caption {
color: #222;
font-size: 14px;
font-weight: bold;
padding-bottom: 4px;
text-align: left;
}
#wp-calendar thead {
font-size: 11px;
}
#wp-calendar tbody {
color: #aaa;
}
#wp-calendar tbody td {
background: #f5f5f5;
border: 1px solid #fff;
padding: 3px 0 2px;
text-align: center;
}
#wp-calendar tbody .pad {
background: none;
}
#wp-calendar tfoot #next {
text-align: right;
}

.widget_rss a.rsswidget {
color: #000;
}
.widget_rss a.rsswidget:hover {
color: #ff4b33;
}
.widget_rss .widget-title img {
width: 11px;
height: 11px;
}

/* Main sidebars */
#main .widget-area ul {
margin-left: 0;
padding: 0 20px 0 0;
list-style-type: none;
}
#main .widget-area ul ul {
border: none;
margin-left: 1.3em;
padding: 0;
}

/******************/
/* sidebar subnav */
#main .widget-area .subnav {
padding: 0;
}
#main .widget-area .subnav .page_item a {
background: url(images/button-teal.png) repeat-x top;
color: #fff;
border: solid 1px #007385;
display: block;
padding: 8px;
margin-bottom: -1px;
}
#main .widget-area .subnav .page_item a:hover {
background-position: bottom;
text-decoration: none;
}

/* sublevel */
#main .widget-area .subnav .children {
margin: 0;
display: none;
}

/*
#main .widget-area .subnav .page_item {
position: relative; 
}
#main .widget-area .subnav .page_item:hover .children {
display: block; 
position: absolute;
top: 0;
left: -100%;
width: 100%;
}
*/

#main .widget-area .subnav .current_page_item .children,
#main .widget-area .subnav .current_page_ancestor .children {
display: block;
}
#main .widget-area .subnav .page-item-340 .children {
display: none;
}

#main .widget-area .subnav .children a {
background: #fff;
border: solid 1px #e0e0e0;
color: #333;
text-transform: none;
font-size: 14px;
padding: 6px 8px;
font-weight: normal;
}

/* sub-sub level */
#main .widget-area .subnav .children ul {
display: none; /* hide because I haven't styled for this yet */
}

.wp-image-119 {
border: 5px solid #fff;
margin: 0 0 20px 0;
}

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

#footer {
margin: 0;
padding: 10px 0 0;
height: 156px;
background: #0091a3 url('images/footer-bg.png') repeat-x center;
}

#footer-img {
float: right;
}

#free-quote {
width: 109px;
height: 30px;
background: url('images/free-quote.png') no-repeat top left;
display: block;
}

#free-quote:hover {
background-position: 0 -30px;
}

#footer-nav ul {
margin: 8px 0 0;
padding: 0;
}

#footer-nav li {
list-style: none;
display: inline;
font-weight: bold;
text-transform: uppercase;
font-size: 13px;
line-height: 15px;
}

#footer-nav a {
padding: 0 6px;
color: #fff;
}

#footer-nav a:hover {
text-decoration: none;
}

#colophon {
overflow: hidden;
padding: 20px 0;
}

#company-info {
margin: 28px 0 0;
font-size: 12px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.5px;
text-align: center;
color: #61dae3;
}

#company-info a {
color: #fff;
text-decoration: none;
}

#site-info {
margin: 3px 0 0;
font-size: 11px;
text-align: center;
color: #61dae3;
}

#site-info a {
color: #61dae3;
}

#site-info a:hover {
text-decoration: none;
}

#site-generator {
font-style: italic;
position: relative;
}

#site-generator a {
background: url(images/wordpress.png) center left no-repeat;
color: #666;
display: inline-block;
line-height: 16px;
padding-left: 20px;
text-decoration: none;
}

#site-generator a:hover {
text-decoration: underline;
}

img#wpstats {
display: block;
margin: 0 auto 10px;
}

/* =Mobile Safari ( iPad, iPhone and iPod Touch )
-------------------------------------------------------------- */

pre {
-webkit-text-size-adjust: 140%;
}

code {
-webkit-text-size-adjust: 160%;
}

#access,
.entry-meta,
.entry-utility,
.navigation,
.widget-area {
-webkit-text-size-adjust: 120%;
}

#site-description {
-webkit-text-size-adjust: none;
}


/* =Print Style
-------------------------------------------------------------- */

@media print {

body {
background: none !important;
}

#wrapper {
clear: both !important;
display: block !important;
float: none !important;
position: relative !important;
}

#header {
border-bottom: 2pt solid #000;
padding-bottom: 18pt;
}

#colophon {
border-top: 2pt solid #000;
}

#site-title,
 #site-description {
float: none;
line-height: 1.4em;
margin: 0;
padding: 0;
}

#site-title {
font-size: 13pt;
}

.entry-content {
font-size: 14pt;
line-height: 1.6em;
}

.entry-title {
font-size: 21pt;
}

#access,
 #branding img,
 #respond,
 .comment-edit-link,
 .edit-link,
 .navigation,
 .page-link,
 .widget-area {
display: none !important;
}

#container,
 #header,
 #footer {
margin: 0;
width: 100%;
}

#content {
margin: 24pt 0 0;
width: 100%;
}
.one-column #content {
margin: 24pt 0 0;
width: 100%;
}

.wp-caption p {
font-size: 11pt;
}

#site-info,
 #site-generator {
float: none;
width: auto;
}

#colophon {
width: auto;
}

img#wpstats {
display: none;
}

#site-generator a {
margin: 0;
padding: 0;
}

#entry-author-info {
border: 1px solid #e7e7e7;
}

#main {
display: inline;
}

.home .sticky {
border: none;
}
}


/* coupons page */
/* coupons */
.coupon {
	display: block;
	background: #fff;
	border: dashed 2px #e0e0e0;
	margin: 0 0 15px 0;
	padding: 10px 10px 10px 10px;
	}
	.coupon img {
		display: inline-block;
		}
	.coupon .message {
		display: inline-block;
		width: 540px;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 15px;
		line-height: 1.35;
		margin: 7px 0;
		vertical-align: top;
		}	
	.coupon em {
		font-weight: normal;
		}	
	.coupon a {
		font-weight: normal;
		}	
	.coupon p {
		display: none;
		}	
	.coupon strong em {
		font-style: normal;
		font-size: 20px;
		color: #DC230A;
		font-weight: bold;
		}
		
/************/		
/* HOMEPAGE */

/* slider */
#sidebar-captions {
	margin: 0;
}
#sidebar-captions .widgettitle {
	display: none;
}
#sidebar-slides {
	padding: 0;
	margin: 0;
	display: block;
	border: solid 1px #fff;
}
#sidebar-slides li {
	padding: 0;
	margin: 0;
	list-style: none;
	display: block;
}
#slider {
	box-shadow: none;
	margin: 0;
	position: relative;
	overflow: visible;
}
#slider .nivo-caption {
	bottom: 75px;
	color: #222222;
	height: 105px;
	left: 75px;
	margin: 0;
	opacity: 1;
	padding: 27px;
	position: absolute;
	width: 270px;
	background: url(images/bg-white.png) repeat;
}
#slider .nivo-caption h2 {
	text-transform: uppercase;
	font-size: 20px;
	font-weight: bold;
}
#slider .nivo-caption p {
	padding: 0;
	margin: 10px 0;
	font-size: 15px;
	line-height: 1.5;
}
#slider .nivo-prevNav {
	width: 29px;
	height: 58px;
	left: -50px;
	background: url(images/slider-arrow-left.png) no-repeat;
}
#slider .nivo-nextNav {
	width: 29px;
	height: 58px;
	right: -50px;
	background: url(images/slider-arrow-right.png) no-repeat;
}

/* homepage widget area */
.HomeSidebar {
	width: 103.33%;
	margin: 0 0 0 -3.33%;
	padding: 0;
}
.HomeSidebar li {
	width: 30%;
	margin: 30px 0 30px 3.33%;
	padding: 0;
	float: left;
}
.HomeSidebar h2 {
	background: url(images/button-red.png) repeat-x;
	display: block;
	color: #fff;
	text-transform: uppercase;
	height: 40px;
	line-height: 40px;
	padding: 0 15px;
	font-size: 15px;
	font-weight: bold;
}
.HomeSidebar .textwidget {
	background: #fff;
	padding: 5px 15px;
	border: solid 1px #d4422e;
	min-height: 210px;
}
.HomeSidebar p {
	margin: 10px 0;
}

/* logos on homepage */
.logos {
	clear: both;
	display: block;
	text-align: center;
	margin: 30px 0;
}
.logos img {
	margin: 4px;
	border: none;
	max-height: 116px;
	width: auto;
}		
.logos a {
	text-decoration; none;
}

@media (max-width: 980px) {
	body {
		background: #cceff1;
	}
	#content h1, #content .entry-title {
		font-size: 20px;
		text-transform: none;
	}
	#wrapper {
		width: auto;
		margin: 0 auto;
		padding: 0;
	}
	#main {
		padding-top: 20px;
	}
	#main,
	#branding,
	#colophon {
		width: 95%;
		margin: 0 auto;
	}
	#access,
	#access .menu-header,
	div.menu {
		width: auto;
	}
	#header {
		background: #f9fdff;
	}
	#content {
		width: 65%;
	}
	#primary {
		width: 32%;
	}
	
	#content tr td {
		padding: 6px 8px;
	}
	
	/* HEADER */
	#site-description, #site-description-home {
		background-size: contain;
		background-position: bottom;
		height: auto;
	}
	#branding .logo {
		float: left;
		width: 30%;
		padding: 10px 0;
	}
	#branding .logo img {
		float: none;
		width: 100%;
		height: auto;
	}
	#branding .tagline {
		font-size: 18px;
		float: right;
		width: 70%;
		margin-top: 20px;
	}
	#request-quote {
		position: static;
		margin-top: 15px;
	}
	
	/* MAIN NAV */
	#access {
		height: auto;
		float: none;
		clear: both;
	}
	#access a {
		line-height: 26px;
		padding: 2px 10px 3px 10px;
		font-size: 13px;
	}
	
	/* SIDEBAR */
	#primary ul li a {
		font-size: 14px;
	}
	.widget-area .button.red,
	.RightSidebar .button.red {
		width: auto;
		text-align: left;
		padding: 8px;
		height: auto;
		line-height: 18px;
	}
	
	/* FOOTER */
	#footer {
		height: auto;
	}
	#footer-nav {
		display: none;
	}
	#footer-img {
		float: left;
		margin-right: 10px;
	}
	#company-info {
		text-align: left;
		margin: 0;
	}
		#company-info span {
			display: inline-block;
		}
		#company-info .mobile-hide {
			display: none;
		}
	#site-info {
		text-align: left;
	}
	
	/* HOMEPAGE FOOTER LOGOS */
	.logos {
		display: none;
	}

}
@media (max-width: 800px) {
	#access {
		border-bottom: none;
	}
	#access li {
		width: 20%;
	}
	#access .sub-menu { /* hide dropdown */
		display: none;
	}
	#access li a {
		border-bottom: solid 1px #dec900;
		padding: 2px 7px 3px 7px;
		font-size: 12px;
		font-weight: normal;
	}
	.tagline {
		display: none;
	}
	#branding .logo {
		width: 35%;
	}
	
	#colophon {
		padding: 10px 0;
	}
	
	/* SIDEBAR */
	#main .widget-area .subnav .page_item a,
	.widget-area .button.red,
	.RightSidebar .button.red  {
		font-weight: normal;
		text-transform: none;
	}
}
@media (max-width: 600px) {
	
	.HomeSidebar {
		margin: 0;
		width: auto;
	}
	.HomeSidebar li {
		width: auto;
		float: none;
		display: block;
		margin: 15px 0;
	}
	.HomeSidebar .textwidget {
		min-height: 0;
	}
	
	/* HOMEPAGE SLIDER */
	#slider .nivo-caption {
		width: 95%;
		height: auto;
		bottom: 0;
		left: 0;
		padding: 12px 2.5%;
	}
	#slider .nivo-caption h2 {
		font-size: 15px;
	}
	#slider .nivo-caption p {
		font-size: 13px;
		margin: 5px 0;
	}
	
}
@media (max-width: 500px) {
	
	#content .entry-title {
		font-size: 20px;
		text-transform: none;
	}
	
	#main {
		padding-top: 15px;
	}
	#primary {
		float: none;
		width: auto;
		margin: 0 0 15px 0;
	}
	#content {
		float: none;
		width: auto;
	}
	
	#request-quote {
		background-size: cover;
		width: 150px;
		height: 38px;
		margin: 0;
	}
	#request-quote:hover {
		background-position: 0 0;
	}
	#branding .logo {
		width: 45%;
	}
	
	/* nav with js disabled */
	#access .menu li {
		width: 50%;
	}
	#access a {
		line-height: 22px;
	}

	/* responsive nav if js is enabled */
	#access.js {
		position: relative; /* enable zindex */
		z-index: 999; /* above slider */
		border: 1px solid #dec900;
		border-left: none;
		border-right: none;
		overflow: visible;
	}	
	#access.js h3 {
		display: block;
		font-size: 13px;
		margin: 0;
		padding: 6px 10px;
		cursor: pointer;
		border-radius: 6px;
		font-weight: bold;
		background: url(images/nav-arrow.png) no-repeat right -25px;
		color: #333;
		vertical-align: middle;
		text-transform: uppercase;
	}
		#access.js.expanded h3 {
			background-position: right 8px;
		}
	#access.js .menu {
		display: none; /* slides using jquery */
		padding: 0;
		position: absolute;
		width: 100%;
		border: solid 1px #dec900;
		border-left: none;
		border-right: none;
		margin: 0 -1px;
		background: #fff;
	}
		#access.js .menu li {
			width: 50%;
		}
		#access.js .menu li a {
			padding: 2px 10px;
			color: #333;
			border: none;
			background: none;
			border-right: solid 1px #e0e0e0;
			border-bottom: solid 1px #e0e0e0;
		}
		
	/* hide third level */
	#access.js .sub-menu {
		display: none;
	}
	
	/* HOMEPAGE SLIDER */
	#slider .nivo-caption {
		padding: 7px 2.5%;
	}
	#slider .nivo-caption h2 {
		font-size: 15px;
	}
	#slider .nivo-caption p {
		font-size: 13px;
		margin: 0;
		line-height: 1.2;
	}
	
	/* FOOTER */
	#colophon {
		padding: 0 0 10px 0;
	}
	#footer-img {
		display: block;
		float: none;
		text-align: center;
		margin: 0 0 5px 0;
	}
	#free-quote {
		display: inline-block;
	}
	#company-info {
		text-align: center;
	}
	#site-info {
		text-align: center;
	}
	
	/* SIDEBAR */
	#primary .subnav li {
		display: inline-block;
		margin: 0 3px 6px 0;
	}
	#primary .subnav li a {
		padding: 5px 8px !important;
		font-size: 13px;
	}
	#primary .subnav .children {
		display: none !important;
	}
	.widget-area .button.red,
	.RightSidebar .button.red {
		display: none;
	}
	#primary img {
		display: none;
	}
}