/*
Theme Name:     Sideshows Performance Wiring
Theme URI:      http://www.sideshowsperformancewiring.com.au/
Description:    Sideshows Performance Wiring theme by 5150 Studios (child) 
Author:         5150 Studios
Author URI:     http://www.5150studios.com.au/
Template:       5150studios
Version:        1.0
*/
/* micro clearfix: http://nicolasgallagher.com/micro-clearfix-hack/ */
/* For modern browsers */
.clearfix:before,
.clearfix:after {
    content:"";
    display:table;
}

.clearfix:after {
    clear:both;
}

/* For IE 6/7 (trigger hasLayout) */
.clearfix {
    zoom:1;
}

/* wp-specific classes */
.wp-caption{
	
}

.wp-caption-text{
	
}

.sticky{
	
}

.gallery-caption{
	
}

/* for fun */
/*
* {
  -webkit-transition: all 0.2s ease;
  -moz-transition:    all 0.2s ease;
  -ms-transition:     all 0.2s ease;
  -o-transition:      all 0.2s ease;
}
*/


/* Website By */

#website a {
    background: url("images/5150studios.png") no-repeat scroll 0 -31px transparent;
    bottom: 20px;
    display: inline-block;
    height: 32px;
    position: absolute;
    right: 0;
    text-indent: -9999em;
    width: 149px;
}

#website a:hover {
    background: url("images/5150studios.png") no-repeat scroll 0 0 transparent;	
}

.blue-header {
    background: url("images/title-background-blue.png") no-repeat scroll right 0 transparent;
    display: inline-block;
    padding: 12px 100px 15px 20px;
}

.blue-header a {
    color: #F6F6F6;
    display: inline-block;
    font-size: 1.4em;
    font-weight: bold;
    margin: 0;
    padding: 2px;
    width: 100%;
}

.nav-tabs .dropdown-toggle:hover .caret, .nav-pills .dropdown-toggle:hover .caret {
    border-top-color: #FFFFFF;
}


/* layout */

h1 a:link, h1 a:visited {
	color:#d62626;
}

h1 a:hover, h1 a:active {
	color:#b32020;
}

h1 small {
	font-size: 16px;
}

p {
    font-size: 14px;
    line-height: 22px;
    margin: 0 0 30px;	
}

li {
    line-height: 30px;
}

.squarelist {
	list-style-type: square;
}

body{
	padding-top: 0;
}

.nav-container{
	padding-left: 0;
	padding-right: 0;
}

#inner-header{
	width: 100%;
}

input, textarea, select, .uneditable-input {
	margin-bottom: 0;
}

.navbar-form, .navbar-search {
	margin: 0 0 9px;
}

.navbar-search{
	padding-left: 0;
}

#s{
	width: 100px;
}

#content{
	padding: 10px 0 0;
}

.more-link{
	white-space: nowrap;
}

.footer-links{
    float: left;
    margin-bottom: 18px;
}

#menu-footer-nav{
	list-style-type: none;
	margin-left: 0;
}

#menu-footer-nav li{
	float: left;
	margin-left: 10px;
}

/* post styling */

#main p.meta{
	font-style: italic;
	color: #808080;
}

#main article{
	margin-bottom: 18px;
	/*border-bottom: 1px solid #eeeeee;*/
	padding: 0 0 9px;
}

.sidebar{
	margin-top: 18px !important;
}

#main article footer{
	border-top: none;
	margin-top: 0;
	padding-top: 0;
	position: relative;
	min-height: 20px;
}

#main article footer a.edit-post{
	position: absolute;
	right: 0;
	top: 0;
	display: none;
}

.post:hover a.edit-post{
	display: inline;
}

p.tags{
	line-height: 20px;
}

div[id*='attachment_']{
	max-width: 100%;
	height: 100%;
}

#main article img{
    margin: 15px 0;
    max-width: 100%;
}

#bones-related-posts {
    list-style-type: square;
}

img.alignleft{
	margin-right: 10px;
	float: left;
}

img.alignright{
	margin-left: 10px;
	float: right;
}

img.aligncenter{
	display: block;
	margin: 0 auto;
}

.post header img{
	margin-bottom: 18px;
}

.archive #main .post h3{
	line-height: 24px;
	margin-bottom: 10px;
}

video {
	max-width: 100%;
	height: auto;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe,  
.video-container object,  
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-wrapper {
	width: 630px;
	max-width: 100%;
	margin-bottom: 18px;
}

/* page styling */

.page-template-page-homepage-php #main article{
	border-bottom: none;
}

.page-template-page-homepage-php .hero-unit,
.blog .hero-unit{
	padding: 1em;
}

.hero-unit h1 {
	font-size: 3em;
}

/* comments */



#comments{
	line-height: 24px;
	margin-bottom: 18px;
}

ol.commentlist,
ol.commentlist ul.children{
	list-style-type: none;
	margin-left: 0;
}

.comment .vcard div{
	margin-top: 8px;
	padding: 0 10px;
}

ol.commentlist time{
	font-size: .8em;
	color: #eeeeee;
}

ol.commentlist div.comment-author{
	position: relative;
}

ol.commentlist a.comment-edit-link{
	color: #ffffff;
	text-decoration: none;
	padding-left: 5px;
}

ol.commentlist span.edit-comment{
	position: absolute;
	right: 10px;
	top: 8px;
}

ol.commentlist li.bypostauthor{
	background-color: #dddddd;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

a.comment-reply-link{
	position: absolute;
	right: 0;
	bottom: 0;
}

#cancel-comment-reply{
	padding-left: 20px;
}

#comment-nav ul{
	list-style-type: none;
	margin: 0;
}

#comment-form-elements{
	list-style-type: none;
	margin: 0;
}

.comment .vcard .avatar{
	padding-right: 0;
}

.comment .vcard .comment-text{
	margin-left: 0;
}

img.avatar{
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #dedede;
	border-right: 1px solid #dedede;
	border-left: 1px solid #ddd;
	
}

ol.commentlist li{
	padding-right: 10px;
	background-color: #F0F0F0;
}

#comment{
	width: 270px;
}

/* specific post-type styles */

/* image attachment */

.attachment #main .post_content img{
	max-width: 100%;
}

.ie8 #main .media-grid img{
	max-height: none !important;
	max-width: none !important;
}

.attachment-img{
	margin-bottom: 18px;
}

.metadata p.alert-message{
	margin-right: 0;
	margin-bottom: 18px;
}

#gallery-nav{
	list-style-type: none;
	margin-left: 0;
}

li.next a, li.previous a{
	position: relative;
}

li.next a:hover:before{
	content: "\2190";
	position: absolute;
	display: block;
	top: 42%;
	left: 0;
	background-color: #BFBFBF;
	color: #444;
	width: 20px;
	height: 20px;
	padding-left: 5px;
	text-decoration: none;
	box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}

li.previous a:hover:before{
	content: "\2192";
	position: absolute;
	display: block;
	top: 42%;
	right: 0;
	background-color: #BFBFBF;
	color: #444;
	width: 20px;
	height: 20px;
	padding-left: 5px;
	text-decoration: none;
	box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}


/* widget styles */

.widget{
    margin-bottom: 30px;
    font-size: 1.2em;
}

.widget ul {
	list-style-type: square;
}

.widgettitle{
    background: url("images/sidebar-racing-lines.png") repeat-x scroll left bottom transparent;
    font-size: 1.6em;
    margin-bottom: 9px;
    padding: 0 0 13px;
}

#tag-cloud{
	margin-bottom: 18px;
	line-height: 160%;
}

/* for some reason the bs version currently available for download doesn't have this style */
.label{
	text-transform: uppercase;
}

/* override standard link hover for the tag cloud widget */
#tag-cloud a:hover,
.tags a:hover{
	color: #ffffff;
	text-decoration: none;
}

#tag-cloud a{
	white-space: pre;
	text-transform: uppercase;
}

/* change default form padding for search */

.widget_search form{
	padding-left: 0;
}

.widget_search input{
	width: 121px;
}

/* calendar widget */

#calendar_wrap{
	border: 1px solid #ddd;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	padding: 5px;
}

#wp-calendar{
	width: 100%;
	
}

#wp-calendar caption{
	font-weight: bold;
	padding: 8px;
}

#wp-calendar tr{
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

#wp-calendar tr:last-child{
	border-bottom: none;
}

#wp-calendar td{
	text-align: center;
	padding: 8px 0;
}

blockquote.pull-left{
	padding-right: 15px;
}

div.wpcf7-validation-errors {
	border-color:#d62626;
}

.size-thumbnail {
    margin: 5px 3px !important;
}

footer {
	position: relative;
}

.homeheading {
    background: url("images/title-background.png") no-repeat scroll left top transparent;
    color: #FFFFFF;
    padding: 15px;
}

.nivo_slider_container {
    margin-left: -20px;
}

.page-break {
    background: url("images/page-racing-lines.png") repeat-x scroll 0 0 transparent;
    height: 16px;
    margin-left: -20px;
    margin-top: -1px;
    width: 1210px;
}

#theleader {
    color: #737373;
    font-size: 1.8em;
    font-style: italic;
    font-weight: lighter;
    left: 530px;
    position: absolute;
    top: 50px;
}

#callus {
    line-height: 24px;
    position: absolute;
    right: 20px;
    top: 0;
    width: 195px;
}

#callus #australiawide {
    color: #D62626;
    font-size: 1.5em;
}

#callus #phonenumber {
    font-size: 1.69em;
    font-weight: normal;
}

#topcontent {
    height: 130px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    width: 1170px;
}

#logo a {
    background: url("images/logo.png") no-repeat scroll 0 0 transparent;
    display: block;
    height: 120px;
    text-indent: -9999em;
    width: 464px;
}

#mainnav {
    position: absolute;
    right: 20px;
    top: 95px;
}
.navbar .nav .current-menu-item > a, .navbar .nav .current-menu-item > a:hover, .current-menu-parent {
    color: #FFFFFF !important;
    text-decoration: none;
}

.nav-tabs > li, .nav-pills > li {
	list-style-type: none;
}

.nav-pills .current-menu-parent .dropdown-toggle{
    background-color: #d62626;
    color: #FFFFFF;	
}

.nav-tabs > li > a, .nav-pills > li > a {
    font-size: 15px;
    margin: 5px;
    padding: 13px 20px;
}

.dropdown-menu .current-menu-item a {
	color:#ffffff !important;
}

.nav-tabs .dropdown-toggle .caret, .nav-pills .dropdown-toggle .caret {
	color:#ffffff;
	    border-top-color: #FFFFFF;
}

.nav-pills .current-menu-item > a, .nav-pills .current-menu-item > a:hover {
    background-color: #d62626;
    color: #FFFFFF;
}

.dropdown-menu li > a:hover, .dropdown-menu li > a:active, .dropdown-menu .current-menu-item > a:hover {
	color:#ffffff !important;
}

/*********************************** Footer **********************************/

#menu-footer-menu {
	margin: 0;
}

#menu-footer-menu li {
    display: inline-block;
    margin: 0 7px;
}


/*********************************** Images **********************************/

.size-medium {
    margin: 10px 10px 10px 0;
}

.last {
	margin-right: 0;
}

.tags {
    line-height: 30px;
}

.tags a {
	color:#fff;
}

#footersocialmedia, #headersocialmedia {
	display: none;
}


@media only screen and (min-width: 940px) {

#footersocialmedia {
    bottom: 14px;
    left: 485px;
    position: absolute;
    display: block;
}

#headersocialmedia {
    position: absolute;
    right: 20px;
    top: 38px;
    display: block;
}

#footersocialmedia .footerfacebook, #headersocialmedia .footerfacebook {
    background: url("images/social-media.png") no-repeat scroll 0 0 transparent;
    display: inline-block;
    height: 36px;
    text-indent: -9999em;
    width: 34px;
}

#footersocialmedia .footertwitter, #headersocialmedia .footertwitter {
    background: url("images/social-media.png") no-repeat scroll -39px 0 transparent;
    display: inline-block;
    height: 36px;
    text-indent: -9999em;
    width: 34px;
}

#footersocialmedia .footergoogle, #headersocialmedia .footergoogle {
    background: url("images/social-media.png") no-repeat scroll -79px 0 transparent;
    display: inline-block;
    height: 36px;
    text-indent: -9999em;
    width: 34px;
}

#footersocialmedia .footeryoutube, #headersocialmedia .footeryoutube {
    background: url("images/social-media.png") no-repeat scroll -119px 0 transparent;
    display: inline-block;
    height: 36px;
    text-indent: -9999em;
    width: 34px;
}

#footersocialmedia .footerfacebook:hover, #headersocialmedia .footerfacebook:hover {
    background: url("images/social-media.png") no-repeat scroll 0 -35px transparent;
}

#footersocialmedia .footertwitter:hover, #headersocialmedia .footertwitter:hover {
    background: url("images/social-media.png") no-repeat scroll -39px -35px transparent;
}

#footersocialmedia .footergoogle:hover, #headersocialmedia .footergoogle:hover {
    background: url("images/social-media.png") no-repeat scroll -79px -35px transparent;
}

#footersocialmedia .footeryoutube:hover, #headersocialmedia .footeryoutube:hover {
    background: url("images/social-media.png") no-repeat scroll -119px -35px transparent;
}


	#wpadminbar {
		top: 42px;
	}

	body{
    background: url("images/top-background.png") repeat-x scroll left top #F5F5F5;
    padding-top: 60px;
	}
	
	#footer-background {
		background: url("images/footer-background.png") repeat-x scroll left top transparent;
		height: 211px;
		margin-top: -200px;
		width: 100%;
		z-index: 1;	
	}
	
	.wrapper {
		background: none repeat scroll 0 0 #FFFFFF;
		margin: 0 auto 30px;
		max-width: 1170px;
		padding-left: 20px;
		padding-right: 20px;
		position: relative;
		z-index: 5;
		
		-webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
		-moz-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
		box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3); 	
		
		-webkit-border-radius: 10px;
		-moz-border-radius: 10px;
		border-radius: 10px; 		
	}
	
	.container-fluid{
    	margin: 0 auto 20px;
		max-width: 1170px;
		padding-left: 20px;
		padding-right: 20px;
	}
	
	#inner-footer{
		padding: 0;
	}
	
	#content{
		padding-left: 0;
		padding-right: 0;
	}
	
	.topbar-inner{
		padding: 0;
	}
	
	.topbar form.pull-right {
		float: right;
	}
	
	.navbar-form, .navbar-search {
		margin-top: 6px;
		margin-bottom: 0;
	}
	
	.navbar-search{
		padding-left: 0;
	}
	
	.widget_search input{
		width: 230px;
	}
	
	.blog .hero-unit{
		margin-top: 10px;
	}
	
	.page-template-page-homepage-php .hero-unit,
	.blog .hero-unit{
		padding: 60px;
	}
	
	.hero-unit h1 {
		font-size: 60px;
	}
	
	/* hide edit comment button and show on hover on desktop version */
	.edit-comment{
		display: none;
	}
	
	.vcard:hover .edit-comment{
		display: inline-block;
	}
	
	#s{
		width: 210px;
	}
	
	.widget_search input{
		width: 203px;
	}
	
	.comment .vcard .comment-text{
		padding-left: 0;
		padding-right: 0;
	}
}
