/*
Theme Name: OM4
Theme URI: https://om4.com.au/
Description: A business oriented 1 or 2 sidebar theme with widgets, gravatars and loads of image and color customisation. Adapt it to your needs.
Derivation: Derived originally from Kubrick.  Image directives from Chris Pearson's inspiring Cutline.
Version: 2.3.4
Author: OM4
Author URI: https://om4.com.au/
Tags: custom header, two columns, three columns, fixed width, custom colors

$Revision: 5463 $
$LastChangedDate: 2016-05-26 11:49:00 +0800 (Thu, 26 May 2016) $
*/

/* Page Structure */
html { margin: 0px; padding: 0px; }
body { margin: 0px; background-color: #FFF; color: #222; font-size: 62.5%; font-family: Arial, Verdana, Helvetica, sans-serif; text-align: center; }
#page { width: 760px; text-align: left; font-size: 1.1em; line-height: 1.2em;  margin: 0px auto 0px auto; position: relative; }
.narrowcolumn {float: left; width: 440px; text-align: justify; padding: 0px 45px 30px 45px; margin: 0px; font-size: 1.2em; display: inline; }
.widecolumn   {float: left; width: 90%; text-align: justify; padding: 0px 45px 30px 45px; margin: 0px; font-size: 1.2em; display: inline;  }
/* Header */
#header {height: 100px; margin: 0px 0px 5px 0px; padding: 0px;}
#header a:link, #header a:visited, #header a:active {color: #191970;}
#header a:hover {color: Blue; text-decoration: underline;}
.site-title {margin-top: 27px; text-align: left; font-size: 1.5em; font-weight: bold; color: #FFFFFF;}
.site-tagline {text-align: right; font-size: 1.2em; font-weight: bold; margin-top: 20px; color: #191970;}
#header_action_box_1 a { display: block; position: relative; z-index: 20; }
#header_action_box_1 strong { display: none; }
/* Text elements */
a:link, a:active {color: #C33205; text-decoration: none; }
a:visited {color: #B85B5A; text-decoration: none; }
a:hover {color: #B85B5A; text-decoration: underline; }
p.center, p.aligncenter {text-align: center !important;}
p.bottom {margin: 0px !important;}
.address {font-style: italic;}
.center, .aligncenter {text-align: center;}
.hidden {display: none;}
/* Headings */
h1 { font-size: 1.6em; color: #191970; font-weight: bold; margin: 36px 0px 12px 0px; padding: 0px; clear: both; } 
h2 { font-size: 1.4em; color: #191970; font-weight: bold; margin: 0px 0px 18px 0px; padding: 0px; clear: both; } 
h3 { font-size: 1.2em; color: #191970; font-weight: bold; margin: 36px 0px 12px 0px; padding: 0px; }
h4 { font-size: 1.1em; color: #191970; font-weight: bold; margin: 24px 0px 8px 0px; padding: 0px; }
/* Menu Bar */
#menu {text-align: center; font-size: 1.2em; font-weight: bold; position: relative; z-index: 50; }
#menu img {vertical-align: middle;}
/* Footer */
#footer { padding: 0; margin: 0 auto; width: 100%; height: 100px; clear: both; }
#footer p { color: #FFF; margin: 10px 0px 0px 0px; padding: 0px; text-align: center; }
#footer a:link, #footer a:visited, #footer a:hover, #footer a:active { color: #7CC0EA; padding: 0px 5px 0px 5px; }
/* Sidebars */
#sidebar  {float: right; width: 180px; font-size: 1.15em; padding: 0px 10px 0px 10px; display: inline;}
#sidebar h2  {background-color: #DDD; padding: 3px 3px; font-size: 95%; font-weight: bold; border-bottom: 1px solid #999; margin: 15px 0px 0px 0px;}
#sidebar2 h2 {background-color: #DDD; padding: 3px 3px; font-size: 95%; font-weight: bold; border-bottom: 1px solid #999; margin: 15px 0px 0px 0px;}
#sidebar ul { list-style: none; margin: 0px; padding: 0px; }
#sidebar li { padding: 1px 0px 1px 0px; }
#sidebar ul ul { list-style: disc; color: black; margin: 10px 0px 10px 15px; padding: 0px 0px 0px 0px; }
#sidebar ul ul ul { position: relative; left: 10px; margin: 2px 0px 2px 0px; padding: 0px; }
#sidebar ul ul li ul li { list-style: square; margin-left: 4px; font-size: 90%; }
#sidebar ul a:link, #sidebar ul a:visited, #sidebar ul a:hover, #sidebar ul a:active { list-style: none; margin: 0px; padding: 0px; margin-top: 5px; font-weight: bold; display: block; }
#sidebar ul ul li a:link, #sidebar ul ul li a:visited, #sidebar ul ul li a:hover, #sidebar ul ul li a:active { font-weight: bold; border-bottom: none; font-weight: normal; display: inline; }
#sidebar ul li p a:link, #sidebar ul li p a:visited, #sidebar ul li p a:hover, #sidebar ul li p a:active { border-bottom: none; font-weight: normal; display: inline; }
.widget_tag_cloud a { display: inline !important; }
/* Misc */
.screen-reader-text { position: absolute; left: -1000em; }
/* Comments */
ol.commentlist { list-style: none; margin: 15px 0 10px; padding: 5px 5px 10px 10px; }
ol.commentlist li {	clear: both; margin-bottom: 14px; padding: 10px; }
.commentlist li ul li { margin-right: -5px; margin-left: 10px; list-style: none; font-size: 1em; }
.thread-alt { background-color: #f8f8f8; }
.thread-even { background-color: white; }
.depth-1 { border: 1px solid #ddd; }
.commentlist .alt { background:#F5F5F5 none repeat scroll 0 0; border: none; }
.commentlist .contenttext {	margin-left: 50px; }
ol.commentlist div.contenttext p { margin-left: 0; }
img.avatar { background: #fff; margin-bottom: 14px; border: 1px solid #ddd; padding: 2px; float: left; margin-right: 12px; display: inline; }
ol.commentlist cite { font-variant: normal; font-style: normal; }
.commentmetadata { float: right; margin-top: -14px; display: inline; }
.commentmetadata a, .commentlist cite a, .possibly-related a, .postmetadata a { border: none; }
.authorcomment, ol.commentlist li.authorcomment { background:#FFFEEB; border-bottom:1px solid #D9D8C8; border-top:1px solid #D9D8C8; }
.children { padding: 0; }
/* Comment Form */
#commentform { padding-bottom: 30px; margin: 5px 10px 0 0; }
#commentform input { width: 170px; padding: 2px; margin: 5px 5px 1px 0px; } 
#commentform textarea { width: 100%; padding: 2px; } 
#commentform #submit { margin: 0 0 5px auto; float: right; display: inline; }
#respond:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
/* Images */
#header, #content, #footer, .widget { overflow: hidden; }
p img { padding: 0px; max-width: 100%; }
.map img { max-width: none; } /* Fix for Google Inline Maps */
img { border: none; }
.left, .alignleft { float: left; display: inline; }
.right, .alignright { float: right; display: inline; }
.entry img {margin: 2px 8px;}
.entry a img { border: none; }
img.alignleft { padding: 4px; margin: 0 7px 2px 0; float: left; display: inline; }
img.alignright { padding: 4px; margin: 0 0 2px 7px; float: right; display: inline; }
img.aligncenter { display: block; padding: 4px; margin: 3px auto 15px auto; float: none; clear: both; }
img.centered { display: block; margin-left: auto; margin-right: auto; }
.entry img.left { padding: 4px; margin: 5px 15px 5px 0; border: 3px double #bbb; float: left; clear: left; display: inline; }
.entry img.right { padding: 4px; margin: 5px 0 5px 15px; border: 3px double #bbb; float: right; clear: right; display: inline; }
.entry img.center { display: block; padding: 4px; margin: 3px auto 15px auto; border: 3px double #bbb; float: none; clear: both; }
.entry img.off { padding: 0 !important; border: none !important; }
.entry img.stack { clear: none !important; }
.captionedright { float: right; margin-left: 25px; margin-top: 3px; text-align: center; font-style: italic; font-size: 85%; display: inline; }
.captionedleft { float: left; margin-right: 25px; margin-top: 3px; text-align: center; font-style: italic; font-size: 85%; display: inline; }
.captionedcenter { display: block; float: none; clear: both; margin: 3px auto 15px auto; text-align: center; font-style: italic; font-size: 85%; }
/* Captions */
.aligncenter, div.aligncenter {	display: block;	margin-left: auto;	margin-right: auto; }
.wp-caption { border: 1px solid #ddd; text-align: center; background-color: #f3f3f3; padding-top: 4px; margin: 10px; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
.wp-caption img { margin: 0; padding: 0; border: 0 none; }
.wp-caption p.wp-caption-text {	font-size: 11px; line-height: 17px;	padding: 0 4px 5px;	margin: 0; }
/* End captions */
/* Standard elements */
blockquote {font-style: italic; background: #FFF; color: #006633; text-align: justify; margin: 5px 10px; padding: 0px 25px; }
abbr, acronym { border-bottom: 1px dotted #aaa; cursor: help; }
code { color: #555; font: normal 1.0em "Courier New", Courier, Fixed; }
pre { width: 500px; margin: 0 0 20px 0; overflow: auto; font-size: 1.3em; float: left; clear: both; display: inline; }
* html pre { font-size: 1.0em; }
small { text-align: left; font-size: 85%; line-height: 1.5em; }
cite { font-variant: small-caps; font-weight: bold; }
.navigation { display: block; text-align: center; margin-top: 10px; margin-bottom: 40px; }
/* Metadata */
.postmetadata { clear: both; margin-top: 25px; margin-bottom: 25px;}
/* Tables Default */
#content td {border-bottom: 1px solid #aaa; vertical-align: top; padding: 10px 5px;}
#content th {border-bottom: 1px solid #aaa; vertical-align: middle; padding: 10px 5px;}
#content table {border-top: 1px solid #aaa;}
#content table.noborder { border-top: none; }
#content table.noborder td, #content table.noborder th { border-bottom: none; }
/* Search Form */
#searchform { padding: 0px; margin: 0px; }
#searchform #s { width: 6em; }
.widget_search #searchform #s {width: 55%; height: 1.8em; }
#searchsubmit { vertical-align: middle; }
#menu .inline-search { float: right; width: 180px; text-align: right; display: inline; }
/* Search Results */
.searchresults h2 {margin-top: 20px; margin-bottom: 5px; padding-top: 10px; }
.searchresults p {margin: 0; padding: 0; }
/* Contact Form ][ styling */
.contactform { overflow: hidden; }
.contactleft { width: 25%; text-align: right; clear: both; float: left; display: inline; padding: 4px; margin: 5px 0px; font-weight: bold; }
.contactright { width: 70%; text-align: left; float: right; display: inline; padding: 4px; margin: 5px 0px; }
.contacterror { border: 2px solid #ff0000; }
.contactFormError {	color: #ff0000; }
.shortclear { clear: both; height: 0; line-height: 0; font-size: 1px; }
/* Testimonials */
#testimonials.widget h2 {margin-bottom: 6px;}
.testimonial-text {color: #006633; font-style: italic; }
.testimonial-client {font-weight: bold; }
.testimonial-company {font-weight: normal}
.testimonial-link a:link, .testimonial-link a:visited, .testimonial-link a:hover, .testimonial-link a:active {font-style: italic; font-size: 90%;}
.testimonial-text h2 {margin-top: 20px; padding-top: 10px; border-top:solid 1px #ccc;}
/* Aweber */
.widget_aweber a { display: inline !important; }
/* cformsII Styling */
.cform { width: 100%; }
.cform textarea, .cform input, .cform select { width: 45%; }
.cform label, .cform span { width: 20%; text-align: left; margin-left: 10px; }
ol.cf-ol li.textonly { background: transparent !important; text-align:left; font-style: italic; font-size: 90%; }
.cform fieldset { background: transparent; }
/* No Right Sidebar Template */
body.page-template-norightsidebar-php .centercol { width: 90%; }
/********* WP e-Commerce *********/
#page .wpsc_product_image .item_no_image { visibility: hidden; } /* "No Image" text for products with no product images */
/* Shopping Cart Widget */
#page .widget_wpsc_shopping_cart .checkout-total small { display: none; } /* Hide "Excluding shipping and tax" text */
/* Checkout Page */
#page #checkout_page_container table { width: 100%; }  /* Full width tables on checkout page */
#page #checkout_page_container td, #page #checkout_page_container th { border: none; } /* Remove default table borders */
#page .productcart { margin-bottom: 1em; } /* Between cart contents and checkout fields */
#page #content #checkout_page_container table.checkout_cart tr.product_row td.wpsc_product_image img { margin: 0; } /* Product Image */
#page #content img#wpsc_checkout_gravatar { display: none; } /* Hide email address gravatar */
#page .wpsc_gateway_container label { line-height: 1.5; } /* Vertical spacing between payment method radio buttons */
#page table.wpsc_checkout_table_totals, #page table.checkout_cart { margin-bottom: 2em; } /* Vertical spacing after tables */
#page #content .wpsc_email_address p { display: inline; } /* Email address field on one line */
.shipping_error { color: #FF0000; } /* Error messages */
.wpsc_checkout_table_totals td { font-weight: bold; } /* Order Totals table */
