/*   
Theme Name: Just Automotive
Theme URI: http:www.justautomotive.co.nz
Description: Theme for Just Automotive
Author: Gavin Lovegrove
Author URI: http:www.gavinlovegrovedesign.co.nz
Version: 1
*/



/* STANDARD WORDPRESS CSS STYLING ELEMENTS */

@media screen {

* { margin: 0; padding: 0; }
.screen-reader-text { position: absolute; left: -9999px; top: -9999px; }
.clear { clear: both; }
.group:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
* html .group, *:first-child+html .group { zoom: 1; } /* First selector = IE6, Second Selector = IE 7 */

#page-wrap { width: 960px; margin: 20px auto; }

h1, h2, h3 { 
	font-weight: 900; 
	margin: 0 0 10px 0; 
}
h1 { }
h2 { }
h3 { }

p { 
	font-size: 16px;
	margin: 0 0 10px 0; 
}
a { }
a:hover { } 

blockquote { }
blockquote p { }

ul, ol { 
	margin: 0 0 10px 0; 
}

.post { }

.alignnone {
	display: block;
	margin-bottom: 10px;
}
.alignleft {
	float:left;
	margin: 6px 10px 6px 0;
}
.alignright {
	float:right;
	margin: 6px 10px 6px 20px;
}

.entry { }
.entry a { }
.entry a:hover { }

pre { }
code, tt { }

#meta { }
.postmetadata { }

#sidebar { }

.navgation { }
   .next-posts { }
   .prev-posts { }

#searchform { }
	#s { }
	#searchsubmt { }
	
ol.commentlist { list-style: none; }
ol.commentlist li { }
ol.commentlist li.alt { }
ol.commentlist li.bypostauthor { }
ol.commentlist li.byuser { }
ol.commentlist li.comment-author-admin { }
ol.commentlist li.comment { border-bottom: 1px dotted #666; padding: 10px; }
ol.commentlist li.comment div.comment-author { }
ol.commentlist li.comment div.vcard { }
ol.commentlist li.comment div.vcard cite.fn { font-style: normal; }
ol.commentlist li.comment div.vcard cite.fn a.url { }
ol.commentlist li.comment div.vcard img.avatar { float:right; margin: 0 0 10px 10px; }
ol.commentlist li.comment div.vcard img.avatar-32 { }
ol.commentlist li.comment div.vcard img.photo { }
ol.commentlist li.comment div.vcard span.says { }
ol.commentlist li.comment div.commentmetadata { }
ol.commentlist li.comment div.comment-meta { font-size: 10px; }
ol.commentlist li.comment div.comment-meta a { color: #ccc; }
ol.commentlist li.comment p { }
ol.commentlist li.comment ul { }
ol.commentlist li.comment div.reply { font-size: 11px; }
ol.commentlist li.comment div.reply a { font-weight: bold; }
ol.commentlist li.comment ul.children { list-style: none; margin: 10px 0 0; }
ol.commentlist li.comment ul.children li { }
ol.commentlist li.comment ul.children li.alt { }
ol.commentlist li.comment ul.children li.bypostauthor { }
ol.commentlist li.comment ul.children li.byuser { }
ol.commentlist li.comment ul.children li.comment { }
ol.commentlist li.comment ul.children li.comment-author-admin { }
ol.commentlist li.comment ul.children li.depth-2 { border-left: 5px solid #555; margin: 0 0 10px 10px; }
ol.commentlist li.comment ul.children li.depth-3 { border-left: 5px solid #999; margin: 0 0 10px 10px; }
ol.commentlist li.comment ul.children li.depth-4 { border-left: 5px solid #bbb; margin: 0 0 10px 10px; }
ol.commentlist li.comment ul.children li.depth-5 { }
ol.commentlist li.comment ul.children li.odd { }
ol.commentlist li.even { background: #fff; }
ol.commentlist li.odd { background: #f6f6f6; }
ol.commentlist li.parent { border-left: 5px solid #111; }
ol.commentlist li.thread-alt { }
ol.commentlist li.thread-even { }
ol.commentlist li.thread-odd { }

form {
	margin: 0 20px 6px 20px;
}
label {
	font-size: 14px;
	margin: 0;
	padding: 0;
}
input[type=text] { 
	width: 98%;	
	margin: 0;
}
textarea { 
	width: 98%; 
}

} /* END screen media */

@media print {

.do-not-print { display: none; }
#comments { page-break-before: always; }

body { width: 100% !important; margin: 0 !important; padding: 0 !important; line-height: 1.4; word-spacing: 1.1pt; letter-spacing: 0.2pt; font-family: Garamond,"Times New Roman", serif; color: #000; background: none; font-size: 12pt; }
h1,h2,h3,h4,h5,h6 { font-family: Helvetica, Arial, sans-serif; }
h1 { font-size: 19pt; }
h2 { font-size:17pt; }
h3 { font-size:15pt; }
h4,h5,h6 { font-size:12pt; }
code { font: 10pt Courier, monospace; } 
blockquote { margin: 1.3em; padding: 1em; }
img { display: block; margin: 1em 0; }
a img { border: none; }
table { margin: 1px; text-align:left; }
th { border-bottom: 1px solid #333;  font-weight: bold; }
td { border-bottom: 1px solid #333; }
th, td { padding: 4px 10px 4px 0; }
caption { background: #fff; margin-bottom: 2em; text-align: left; }
thead { display: table-header-group; }
tr { page-break-inside: avoid; } 
a { text-decoration: none; color: black; }
	
} /* END print media */




/* CSS Structure */
#colLeft {
	padding: 30px 0;
}

/* CSS Typography */
#colLeft h1, 
#colLeft h2,
#colLeft h3,
#colLeft h4,
#colLeft h5,
#colLeft h6 {
	margin: 0 20px 6px 20px;
}

#colLeft p {
	margin: 0 20px 10px 20px;
}

#colLeft ul,
#colLeft ol,
#colLeft blockquote {
	font-size: 16px;
	margin: 0 0 20px 38px;
}

#colLeft table {
	font-size: 16px;
}

#colLeft ul li {
	margin-bottom:5px;
	list-style:url(images/bullet.png);
}

#colLeft ol li {
	margin-bottom:5px;
	list-style:decimal;
}

/* CSS Buttons */
.btn_booking,
a.btn_booking:link,
a.btn_booking:visited {
	font-size: 24px;
	font-weight: 400;
	text-transform: uppercase;
	text-shadow: 1px 1px 1px #000;
	filter: dropshadow(color=#000, offx=1, offy=1);
	color:#FFF;
	display: block;
	margin: 30px -10px 0 0;
	padding: 12px 0 12px 50px;
	background: url(images/calendar.png) no-repeat 10px center #D90000;
}

a.btn_booking:hover,
a.btn_booking:active {
	background: url(images/calendar.png) no-repeat 10px center #555;
	text-decoration: none;
}

/* CSS Specials Side Bar */
a.specials_side:link,
a.specials_side:visited {
	font-size: 22px;
	line-height: 1.2;
	margin: 10px -10px 0 0;
	padding: 10px 10px 25px 20px;
	display: block;
	color: #FFF;
	background: url(images/specials_arrow.png) no-repeat left bottom #24A8F7;
	border-bottom: solid 1px #FFF;
	text-transform: uppercase;
	position: relative;
}

a.specials_side:hover,
a.specials_side:active {
	color: #FFF;
	text-decoration: none;
	background: url(images/specials_arrow_hov.png) no-repeat left bottom #D90000;
}

a.back-btn {
	font-size: 12px;
	color: #FFF;
	margin-top: 15px;
	padding:5px 10px;
	display: inline-block;
	background-color: #24A8F7;
	-webkit-border-radius: 4px;
    	border-radius: 4px;
    	text-transform: uppercase;
    	text-decoration: none;
}
a.back-btn:hover {
	color:#FFF;
	background-color: #D90000;
}


/* CSS Vertical Navigation */
#nav_menu-2 {
	width: 100%;
	margin-bottom: 25px;
}

#nav_menu-2 ul {
	margin-left: 0;
	margin-right: -10px;
	padding-left: 0;
	list-style-type: none;
	font-family: Arial, Helvetica, sans-serif;
}

#nav_menu-2 a {
	font-size: 16px;
	margin-top: 10px;
	padding: 11px 0 9px 12px;
	background-color: #555;
	border-left: 10px solid #D90000;
	display: block;
	text-transform: uppercase;
}

#nav_menu-2 a:link, 
#nav_menu-2 a:visited {
	color: #FFF;
	text-decoration: none;
}

#nav_menu-2 a:hover {
	background-color: #444;
	color: #fff;
}

/* CSS Footer Links */
.footer_link_heading {
	font-size: 14px;
	font-weight: 700;
	color: #CCC;
	text-transform:uppercase;
}

.footer_links {
	margin: 0 -10px 0 -10px;
	padding: 15px 0 10px;
	background-color: #333;
}

.footer_links ul {
	font-size: 12px;
	line-height: 1;
	list-style: none;
	margin-left: 0;
	margin-top:5px;
}

.footer_links a {
	list-style: none;
	margin-left: 0;
	text-decoration: none;
	text-transform:uppercase;
	padding-right: 10px;
	color:#888;
}
.footer_links a:hover {
	color:#FFF;
}

/* CSS Misc Styles */
.credit_cards {
	display: block;
	margin: 20px 0 10px 0;
}
.center {
	margin-left: auto;
	margin-right: auto;
	display: block;
	text-align: center;
}
.copyright {
	font-size: 11px;
	margin: 10px auto 0 auto;
	text-align: center;
	display: block;
}



/* MEDIA QUERIES */

/* Large desktop */
@media (min-width: 1200px) {

}



/* Portrait tablet to landscape and desktop */
@media (min-width: 979px) {

	.main-content {
		margin: 1px auto 0 auto;
		padding-top:10px;
		width:960px;
		background-color: white;
		-webkit-box-shadow:  0px 0px 1px 1px #DDD;
		box-shadow:  0px 0px 1px 1px #DDD;
	}

}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {

	.main-content {
		margin: 0 auto 0 auto;
		padding-top:10px;
		width:744px;
		background-color: white;
		-webkit-box-shadow:  0px 0px 1px 1px #DDD;
		box-shadow:  0px 0px 1px 1px #DDD;
	}
	
}



/* Landscape phone to portrait tablet */
@media (max-width: 767px) {

	/* CSS Specials Side Bar */
	a.specials_side:link,
	a.specials_side:visited {
		padding: 10px 10px 10px 20px;
		background: none;
		background-color: #24A8F7;
	}

	a.specials_side:hover,
	a.specials_side:active {
		padding: 10px 10px 10px 20px;
		background: none;
		background-color: #D90000;
	}

	.footer_link_heading {
		font-size: 20px;
		font-weight: 700;
		text-align: center;
		color: #CCC;
		display: block;
	}

	.footer_links ul {
		font-size: 16px;
		line-height: 1;
		text-align: center;
		list-style: none;
		margin-left: 0;
	}
	
}


/* Landscape phones and down */
@media (max-width: 480px) {

	form {
		margin: 0 20px 6px 0;
	}
	
	input[type='text'] .contact-form { 
		width: 100px; 
		margin-bottom: 13px; 
	}

	textarea.contact-form { 
		width: 50%; 
	}


	/* CSS Structure */
	#colLeft {
		padding:20px 0;
	}

	/* CSS Typography */
	#colLeft h1, 
	#colLeft h2,
	#colLeft h3,
	#colLeft h4,
	#colLeft h5,
	#colLeft h6,
	#colLeft img {
		margin: 0 0 6px 0;
	}

	#colLeft p {
		margin: 0 0 10px 0;
	}

	#colLeft ul,
	#colLeft ol,
	#colLeft ol,
	#colLeft blockquote {
		margin: 0 0 20px 20px;
	}

	#colLeft blockquote {
		margin: 0;
	}

	table {
	  margin-left: 0;
	}

	/* CSS Specials Side Bar */
	a.specials_side:link,
	a.specials_side:visited {
		padding: 10px 10px 10px 20px;
		background: none;
		background-color: #24A8F7;
	}

	a.specials_side:hover,
	a.specials_side:active {
		padding: 10px 10px 10px 20px;
		background: none;
		background-color: #D90000;
	}

	.footer_link_heading {
		font-size: 20px;
		font-weight: 700;
		text-align: center;
		color: #CCC;
		display: block;
	}

	.footer_links ul {
		font-size: 16px;
		line-height: 1;
		text-align: center;
		list-style: none;
		margin-left: 0;
	}

}
/* Action Menu */

.mobile-action-menu {
	display: none;
	position: fixed;
	width: 100%;
	left: 0;
	bottom: 0;
	z-index: 9999;
    background: #fff;
    border-top: 1px solid #e3e3e3;
}
.mobile-action-menu ul {
	display: table;
	width: 100%;
	vertical-align: middle
}
.mobile-action-menu ul li {
	display: table-cell;
	vertical-align: middle;
    padding: 7px 7px;
    padding-left: 0px;
	text-align: center;
}
.mobile-action-menu ul li a {
	padding: 6px 5px;
	display: block;
	font-size: 22px;
    border-radius: 0 5px 5px 0;
	background: #fff;
	transition: all .3s ease-in-out 0s;
	color:#81B147;
}
.mobile-action-menu ul li a:hover {
	background: #eee;
    color:#068ED0;
}

.mobile-action-menu ul li:first-child a {
	border-radius: 5px 0 0 5px;
    border-right: 1px solid #e3e3e3;
}
.mobile-action-menu ul li:first-child {
	padding-left: 7px;
    padding-right: 0px;
}

@media screen and (max-width:600px) {
    .mobile-action-menu {
		display: block;
	}
}


