/*
Theme Name: Simon Law
Theme URI: http://www.simonlaw.com.au/
Author: Simon Law
Author URI: http://www.simonlaw.com.au/
Description: Simon Law theme for Wordpress
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: simon-law
Domain Path: /languages/
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

 simon law is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Reset
2.0 - Typography
3.0 - Elements
4.0 - Forms
5.0 - Navigation
	5.1 - Links
	5.2 - Menus
6.0 - Accessibility
7.0 - Alignments
8.0 - Clearings
9.0 - Widgets
10.0 - Content
	10.1 - Posts and pages
	10.2 - Asides
	10.3 - Comments
11.0 - Infinite scroll
12.0 - Media
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 - Reset
--------------------------------------------------------------*/
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, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
	-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
	-moz-box-sizing:    border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
	box-sizing:         border-box;
}
body {
	background: url("images/sb100.jpg") fixed;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, q:before {
display: block;
content: "\201C";
font-size: 80px;
position: absolute;
left: 0px;
top: -30px;
color: #7a7a7a;
}

blockquote:after, q:after {

/*content: "\201D";
font-size: 80px;
position: relative;
left: 600px;
top: -60px;
color: #7a7a7a;*/
}

blockquote, q {
	quotes: "" "";
    font-size: inherit;
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active {
	outline: 0;
}
a img {
	border: 0;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/

@font-face {
	font-family: 'FARRAY-Regular';
	src: url('fonts/FARRAY-Regular.eot?') format('eot'), 
	     url('fonts/FARRAY-Regular.otf')  format('opentype'),
	     url('fonts/FARRAY-Regular.woff') format('woff'), 
	     url('fonts/FARRAY-Regular.ttf')  format('truetype'),
	     url('fonts/FARRAY-Regular.svg#FARRAY-Regular') format('svg');
}


body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
}

h1 {
	font-family: 'FARRAY-Regular';
	font-size: 1.125em;
	color: #013440;
	margin-bottom: 1em;
}

h2 {
	font-family: 'FARRAY-Regular';
	font-size: 1em;
	color: #D97925;
	margin-bottom: 1em;
}

p {
	margin-bottom: 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
	font-size: 1em;
	font-style: italic;
	margin: 0.25em 10px;
	margin-right: 0px;
	padding: 0.25em 40px;
	position: relative;
	color: #383838;
}
blockquote cite {
color: #999999;
font-size: 0.75em;
margin-top: 5px;
}

address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}

/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
figure {

}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in IE6/IE7 */
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #ccc;
	border-color: #ccc #ccc #bbb #ccc;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa #bbb;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
	color: #AB1A25;
	text-decoration: none;
}
a:visited {
	color: #AB1A25;
}
a:hover,
a:focus,
a:active {
	color: #D97925;
	-webkit-transition: color .3s linear;
	   -moz-transition: color .3s linear;
	     -o-transition: color .3s linear;
	    -ms-transition: color .3s linear;
	        transition: color .3s linear;
}

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation li {
/*	float: left;
	position: relative;*/
}
.main-navigation a {
	display: block;
	text-decoration: none;
}
.main-navigation ul ul {
/*	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	display: none;
	float: left;
	left: 0;
	position: absolute;
	top: 1.5em;
	z-index: 99999;*/
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.main-navigation ul ul a {
/*	width: 200px; */
}
.main-navigation ul ul li {
}
.main-navigation li:hover > a {
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
}
.main-navigation ul li:hover > ul {
	display: block;
}
.main-navigation .current_page_item a,
.main-navigation .current-menu-item a {
}
/* Small menu */
.menu-toggle {
	cursor: pointer;
	display: none;
	color: #EFE7BE;
}
/*@media screen and (max-width: 480px) {
	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
	}

	.main-navigation ul {
		display: none;
	}
	.col-post li {
	float: none !important;
	display: table;
	}
	
	.metaslider {
	display: none;	
	}
}*/
.site-main .comment-navigation,
.site-main .paging-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}
.comment-navigation .nav-previous,
.paging-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}
.comment-navigation .nav-next,
.paging-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: '';
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky {
}
.hentry {
	margin: 0 0 1.5em;
}
.byline,
.updated {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-content,
.entry-content,
.entry-summary {
	margin: 1em 0 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}

/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
/*	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;*/
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
	font-style: italic;
	font-size: 0.75em;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.site-main .gallery {
	margin: 0em 1em 1em 0em;
	float: left;
	width: 230px;
}
.gallery-item {
	margin: 0px;
}

.gallery-caption {
	font-style: italic;
	font-size: 0.75em;
	padding: 0 0 1em 0;
}

.site-main .gallery dd,
.site-main .gallery figcaption {
	margin: 0;
}
.site-main .gallery-columns-4 .gallery-item {
}
.site-main .gallery-columns-4 .gallery-item img {
}
/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}

.main-navigation, .main-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 1;
}

.main-navigation {
	/* Layout & positioning */
	position: relative;
	margin-top: 1em;
	height: 46px;
	text-align: center;
	/* Background & effects */
	box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
/*	background: #1b1bf5;*/
    background: -webkit-gradient(linear, left top, left bottom, from(#013440), to(#002635));
    background: -webkit-linear-gradient(top, #013440, #002635);
    background: -moz-linear-gradient(top, #013440, #002635);
    background: -ms-linear-gradient(top, #013440, #002635);
    background: -o-linear-gradient(top, #013440, #002635);
    background-image: -ms-linear-gradient(top, #013440 0%, #002635 100%);
    -webkit-box-shadow: rgba(000,000,000,0.3) 0 1px 1px;
    -moz-box-shadow: rgba(000,000,000,0.3) 0 1px 1px;
    box-shadow: rgba(000,000,000,0.3) 0 1px 1px;

}

.nav-menu>li {
	margin: 0;
	line-height: 1;
	padding: 0;
	display: inline;
	position: relative;
	margin: 0 12px;
}

.main-navigation::after, .main-navigation::before {
	content: "";
	display: block;
	position: absolute;
	top: 1em;
	height: 0px;
	width: 0px;
	border: 23px solid #013440;
	z-index: -1;
	padding-left: 1px;
}

/* The left ribbon */
.main-navigation::before {
	border-left-color: transparent;
	left: -2em;
	-webkit-box-shadow: rgba(000,000,000,0.4) 1px 1px 1px;
   -moz-box-shadow: rgba(000,000,000,0.4) 1px 1px 1px;
   box-shadow: rgba(000,000,000,0.4) 1px 1px 1px;
}

/* The right ribbon */
.main-navigation::after {
	border-right-color: transparent;
	right: -2em;
	-webkit-box-shadow: rgba(000,000,000,0.4) -1px 1px 1px;
   -moz-box-shadow: rgba(000,000,000,0.4) -1px 1px 1px;
   box-shadow: rgba(000,000,000,0.4) -1px 1px 1px;
}

.nav-menu>li>a {
	display: inline-block;
	padding: 14px 0px;
	position: relative;
	font-family: 'FARRAY-Regular';
	font-size: 1em;
	text-transform: uppercase;
	text-decoration: none;
	color: #EFE7BE;
	-webkit-transition: color .3s linear;
	   -moz-transition: color .3s linear;
	     -o-transition: color .3s linear;
	    -ms-transition: color .3s linear;
	        transition: color .3s linear;
}

.nav-menu>li>a:hover, .nav-menu>li:hover>a {
	color: #D97925;
}

.nav-menu>li:last-child>a::after {
	display: none;
}

.nav-menu ul {
	position: absolute;
	left: -9999px;
	padding-top: 10px;
	border-bottom: 1px solid #ccc;
	opacity: 0;
	-webkit-transition: opacity .3s linear;
	-moz-transition: opacity .3s linear;
	-o-transition: opacity .3s linear;
	-ms-transition: opacity .3s linear;
}

.nav-menu>li:hover>ul {
	left: 0;
	opacity: 1;
	top: 30px;
}


.nav-menu ul li:hover>ul {
	left: 150px;
	opacity: 1;
	top: -11px;
	padding-left: 12px;
	border-bottom: 0;
	box-shadow: none;
}

.nav-menu ul li {
	display: block;
	position: relative;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	/*width: 150px;*/
	text-align: justify;
	z-index: 9;
	background: #eee;
	box-shadow: 3px 4px 0 rgba(0, 0, 0, .1);
	-webkit-transition: background .3s linear;
	-moz-transition: background .3s linear;
	-ms-transition: background .3s linear;
	-o-transition: background .3s linear;
}

.nav-menu ul li a {
	font-family: "Anastasia", sans-serif;
	font-size: 18px;
	text-decoration: none;
	display: block;
	padding: 7px 12px 7px 20px;
	color: #65c0bb;
	-webkit-transition: color .3s linear;
	-moz-transition: color .3s linear;
	-ms-transition: color .3s linear;
	-o-transition: color .3s linear;
}

.nav-menu ul li:hover>a, .nav-menu ul li a:hover {
	color: #D97925;
}

.nav-menu ul li:hover {
	background: #f7f7f7;
}

.nav-menu ul ul li:last-child {
	border-bottom: 1px solid #ccc;
}

.nav-menu ul ul li {
	box-shadow: 3px 3px 0 rgba(0, 0, 0, .1);
}

.nav-menu ul::after, .nav-menu ul::before {
	content: "";
	display: block;
	z-index: 1;
	position: absolute;
	height: 9px;
	width: 9px;
}

.nav-menu>li>ul::after {
	border: 1px solid #ccc;
	background: #eee;
	border-right: 0;
	border-bottom: 0;
	top: 5px;
	left: 25px;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
}

.nav-menu>li>ul::before {
	height: 1px;
	width: 12px;
	background: #eee;
	border-right: 0;
	border-bottom: 0;
	top: 10px;
	left: 24px;
	z-index: 99;
}

.nav-menu ul ul::after {
	border: 1px solid #ccc;
	background: #eee;
	border-right: 0;
	border-bottom: 0;
	top: 20px;
	left: 8px;
	position: absolute;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
}

.nav-menu ul ul::before {
	height: 10px;
	width: 1px;
	background: #eee;
	z-index: 99;
	top: 20px;
	left: 12px;
}

.main-navigation .menu:before, .main-navigation .menu:after {
  content: "";
  position: absolute;
  display: block;
  border-style: solid;
  border-color: #002635 transparent transparent transparent;
  bottom: -1em;
}
.main-navigation .menu:before {
  left: 0;
  border-width: 1em 0 0 1em;
}
.main-navigation .menu:after {
  right: 0;
  border-width: 1em 1em 0 0;
}	

.nav-menu ul li a {
	display: inline-block;
/*	padding: 14px 0px; */
	position: relative;
	font-family: 'FARRAY-Regular';
	font-size: 1em;
	text-transform: uppercase;
	text-decoration: none;
	color: #EFE7BE;
	-webkit-transition: color .3s linear;
	   -moz-transition: color .3s linear;
	     -o-transition: color .3s linear;
	    -ms-transition: color .3s linear;
	        transition: color .3s linear;
    background: -webkit-gradient(linear, left top, left bottom, from(#013440), to(#002635));
    background: -webkit-linear-gradient(top, #013440, #002635);
    background: -moz-linear-gradient(top, #013440, #002635);
    background: -ms-linear-gradient(top, #013440, #002635);
    background: -o-linear-gradient(top, #013440, #002635);
    background-image: -ms-linear-gradient(top, #013440 0%, #002635 100%);
    -webkit-box-shadow: rgba(000,000,000,0.3) 0 1px 1px;
    -moz-box-shadow: rgba(000,000,000,0.3) 0 1px 1px;
    box-shadow: rgba(000,000,000,0.3) 0 1px 1px;
}

.stripe {
	background: url("images/colour-stripe.png") repeat-x;
	height: 5px;
}

.site-header {
    margin: 0 auto;	
	max-width: 60em; /*960px*/
	padding: 0em 2em 0em 2em;
}

.site-content {
	padding: 1em 1em 0em 1em;
	max-width: 56em; /*896px*/
	margin: 0 auto;
}

.site-footer {
	background:	#222222;
}

#site-footer2 {
	max-width: 960px;
	margin: 0 auto;
}

.site-info {
	max-width: 896px;
	float: left;
	margin: 2em;
}

.site-info p {
	color: #D97925;
	font-size: 0.9em;
}

.entry-content img {
	border: none;
	height: auto;
	border: 5px solid #fff;
	box-shadow: 0px 1px 5px 0px #4a4a4a;
	-webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
    -moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
	-o-box-shadow: 0px 1px 5px 0px #4a4a4a;
	-ms-box-shadow: 0px 1px 5px 0px #4a4a4a;		
}

.entry-header{
	text-align: center;
}

#footer-left{
	max-width: 280px;
/*	margin: 0 auto; */
}


.footer-left {
	float: left;
	margin: 0 32px 0 0;
}

.footer-center {
	overflow: hidden;
	padding: 0em 0.5em;
}

.footer-right {
	float: right;
}


.metaslider .theme-default .nivoSlider {
	border: 5px solid #fff !important ;
	box-shadow: 0px 1px 5px 0px #4a4a4a !important ;
	-webkit-box-shadow: 0px 1px 5px 0px #4a4a4a !important;
    -moz-box-shadow: 0px 1px 5px 0px #4a4a4a !important;
	-o-box-shadow: 0px 1px 5px 0px #4a4a4a !important;
	-ms-box-shadow: 0px 1px 5px 0px #4a4a4a !important;
		
}

.wrapper {
	text-align: center;
	/*display: table;*/
/*	max-width: 896px;
	margin: 0 auto;*/
}

.wrapper-landing {
	margin: 0 auto;
	max-width: 230px;
	padding-top: 100px;
}

.latest-posts {
	list-style: none;	
/*	margin: 0 auto;
	max-width: 900px;*/
/*	margin-left: 0px;*/
}

.latest-posts h1{
	font-size: 0.875em;
}

/*
.posts, .post-1, .post-2, .post-4, .post-5, .post-7, .post-8, .post-10, .post-11, .post-13, .post-14{
	width: 30%;
	height: 290px;
	float: left;
	list-style: none;
	margin: 0px 10px 20px 0px;
	margin-right: 5%;
	margin-bottom: 1em;
}

*/
ul.latest-posts li:not(:nth-child(3n+3)) {
	width: 30%;
	height: 290px;
	float: left;
	list-style: none;
/*	margin: 0px 10px 20px 0px;*/
	margin-right: 5%;
	margin-bottom: 1em;
}

.magazines ul.latest-posts li:not(:nth-child(3n+3)) {
	width: 30%;
	height: 340px;
	float: left;
	list-style: none;
/*	margin: 0px 10px 20px 0px;*/
	margin-right: 5%;
	margin-bottom: 1em;
}


/* 
.post-3, .post-6, .post-9, .post-12, .post-15{
	width: 30%;
	height: 290px;
	float: left;
	list-style: none;
	margin: 0px 10px 20px 0px; //comment this line out
	margin-right: 0;
}
*/

ul.latest-posts li:nth-child(3n+3) {
	width: 30%;
	height: 290px;
	float: left;
	list-style: none;
/*	margin: 0px 10px 20px 0px; */
	margin-right: 0;
}

.magazines ul.latest-posts li:nth-child(3n+3) {
	width: 30%;
	height: 340px;
	float: left;
	list-style: none;
/*	margin: 0px 10px 20px 0px; */
	margin-right: 0;
}




ul.latest-posts {
	margin-left: 0;
}

.latest-posts a img {
	border: none;
	height: auto;
	border: 5px solid #fff;
	box-shadow: 0px 1px 5px 0px #4a4a4a;
	-webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
    -moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
	-o-box-shadow: 0px 1px 5px 0px #4a4a4a;
	-ms-box-shadow: 0px 1px 5px 0px #4a4a4a;
	max-width: 100%;
}

.home {
	background: url("images/fig1.png") 0 100px no-repeat, url("images/sb100.jpg") fixed;
}

body.electronics {
	background: url("images/schematic.png") no-repeat, url("images/sb100.jpg") fixed;
}

div.post.electronics {
	background: url("images/schematic.png") no-repeat, url("images/sb100.jpg") fixed;
}

.page-id-268 {
	background: url("images/fig2.png") 0 120px no-repeat, url("images/sb100.jpg") fixed;
}

body.mugs {
	background: url("images/fig8.png") 0 100px no-repeat, url("images/sb100.jpg") fixed;
}

div.post.mugs {
	background: url("images/fig8.png") 0 100px no-repeat, url("images/sb100.jpg") fixed;
}

body.magazines {
	background: url("images/fig15.png") 0 100px no-repeat, url("images/sb100.jpg") fixed;
}

div.post.magazines {
	background: url("images/fig15.png") 0 100px no-repeat, url("images/sb100.jpg") fixed;
}

ul.spicesocialwidget {margin:0}
ul.spicesocialwidget li {float:left;list-style: none outside none;border:none;}
ul.spicesocialwidget li a{background-color:transparent;background-image:url('images/social-sprite.png');background-repeat:no-repeat;background-size:auto;border:0 none;color:white;direction:ltr;display:block; height:32px;overflow:hidden;text-align:left;text-decoration:none;text-indent:-999em;transition:all 0.2s ease 0s;width:32px}
.ie7 ul.spicesocialwidget li a, .ie8 ul.spicesocialwidget li a{background-image:url('images/social-sprite.png' )}
ul.spicesocialwidget li.email a{ background-position:0 0}
ul.spicesocialwidget li.facebook a{ background-position:-32px 0}
ul.spicesocialwidget li.flickr a{ background-position:-64px 0}
ul.spicesocialwidget li.googleplus a{ background-position:-96px 0}
ul.spicesocialwidget li.linkedin a{ background-position:-128px 0}
ul.spicesocialwidget li.pinterest a{ background-position:-160px 0}
ul.spicesocialwidget li.rss a{ background-position:-192px 0}
ul.spicesocialwidget li.twitter a{ background-position:-224px 0}
ul.spicesocialwidget li.youtube a{ background-position:-256px 0}
ul.spicesocialwidget li.instagram a{ background-position:-288px 0}
ul.spicesocialwidget li.email a:hover, #sidebar ul.spicesocialwidget li.email a:hover{ background-position:0 -32px}
ul.spicesocialwidget li.facebook a:hover, #sidebar ul.spicesocialwidget li.facebook a:hover{ background-position:-32px -32px}
ul.spicesocialwidget li.flickr a:hover, #sidebar ul.spicesocialwidget li.flickr a:hover{ background-position:-64px -32px}
ul.spicesocialwidget li.googleplus a:hover, #sidebar ul.spicesocialwidget li.googleplus a:hover{ background-position:-96px -32px}
ul.spicesocialwidget li.linkedin a:hover, #sidebar ul.spicesocialwidget li.linkedin a:hover{ background-position:-128px -32px}
ul.spicesocialwidget li.pinterest a:hover, #sidebar ul.spicesocialwidget li.pinterest a:hover{ background-position:-160px -32px}
ul.spicesocialwidget li.rss a:hover, #sidebar ul.spicesocialwidget li.rss a:hover{ background-position:-192px -32px}
ul.spicesocialwidget li.twitter a:hover, #sidebar ul.spicesocialwidget li.twitter a:hover{ background-position:-224px -32px}
ul.spicesocialwidget li.youtube a:hover, #sidebar ul.spicesocialwidget li.youtube a:hover{ background-position:-256px -32px}
ul.spicesocialwidget li.instagram a:hover, #sidebar ul.spicesocialwidget li.instagram a:hover{ background-position:-288px -32px}

.featured-image {
	max-width: 37.5em;
	margin: 0 auto;
}

.featured-image img {
	width: 100%;
	height:	auto;
	margin-bottom: 1em;
	border: 5px solid #fff;
	box-shadow: 0px 1px 5px 0px #4a4a4a;
	-webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
	-moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
	-o-box-shadow: 0px 1px 5px 0px #4a4a4a;
	-ms-box-shadow: 0px 1px 5px 0px #4a4a4a;
}

.search-form {
	margin: 0 0 1.5em;
}

#image-404 {
	text-align: center;
}

#image-404 img {
	max-width: 100%
}

.home_electronics {
float:left;
 width: 115px;
 height:400px;
 display:block;
 background:transparent url('images/sl-left.png') center top no-repeat;
 background-position:0 0;
transition: all 0.2s ease 0s;
}

.home_electronics:hover {
	background-image: url('images/sl-left.png');
	background-position:-115px 0;
}

.home_it_services {
float:left;
 width: 115px;
 height:400px;
 display:block;
 background:transparent url('images/sl-right.png') center top no-repeat;
 background-position:0 0;
 	-webkit-transition: opacity .3s linear;
	-moz-transition: opacity .3s linear;
	-o-transition: opacity .3s linear;
	-ms-transition: opacity .3s linear;
}

.home_it_services:hover {
	background-image: url('images/sl-right.png');
	background-position:-115px 0;
}

#cf {
	position:relative;
	width: 230px;
	margin:0 auto;
}

#cf img {
  position:absolute;
  left:0;
  -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
}

#cf img.top:hover {
  opacity:0;
}

#cf2 {
  position:relative;
  width:0px;
  margin:0 auto;
}

#cf2 img {
  position:absolute;
  left:0;
  -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
}

#cf2 img.top:hover {
  opacity:0;
}

.landing-name {
	text-align: center;
	font-size: 2em;
	margin-bottom: 0;
}

.landing-news {
	position:relative;
	max-width: 300px;
	margin:0 auto;
	top: 430px;
}

.landing-news p {
	margin-bottom: 0;
}

.landing-headings {
	text-align: center;	
}

.landing-electronics-heading, .landing-itservices-heading {
	display: inline;
	top: 410px;
	position: relative;
}

.post-meta { 
	font-size: 14px;
	font-weight: 400;
	float: left;
}

.post-meta .post-category .post-title {
	float: left;
	margin-right: 6px;
}

.post-meta .post-date {
	float: left;
}

.post-meta .post-title {
	float: left;
	margin-left: 1em;
}

.es_lablebox {
	color: #D97925;
}

/*

used function and new single.php to not load instead of just hiding it

.magazines .featured-image {
	display: none;
}

*/
.column-left {
	width: 40%;
	padding: 0 10pt 0 0;
	float: left;
}

.column-right {
	width: 40%;
	padding: 0 10pt 0 0;
	float: right;
}

  
@media screen and (max-width: 768px) {
.site-content {
/*	padding: 32px 16px 0px 16px;
	max-width: 960px;
	margin: 0 auto;*/
}
}

@media screen and (max-width: 600px) {
.footer-left {
	text-align: center;
	float: none;
	margin: 0 0 1em 0;
}
#footer-left {
	margin: 0 auto; 
	}
}


@media screen and (max-width: 480px) {

.main-navigation .menu:before, .main-navigation .menu:after {
  content: "";
  position: absolute;
  display: block;
  border-style: solid;
  border-color: #002635 transparent transparent transparent;
  bottom: -1em;
}


.menu-toggle, .main-navigation.toggled .nav-menu {
	margin-top: 0.6em;
	display: block;
	visibility: visible;
	opacity: 1;
}

.menu-menu1-container {
	margin-top: -0.1em;
}

.main-navigation ul {
	visibility: hidden;
	opacity: 0;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;

}
.nav-menu li {
	display: block;
	background: #002635;
	z-index: 1;
}


.site-title, .site-description {
	display: none;	
}
ul.latest-posts li[class^="post-"], ul.latest-posts li[class*=" post-"] {
	width: 100%;
	height: 100%;
	float: none;
	list-style: none;
	margin: 0px 10px 20px 0px;

}

.footer-left {
	float: none;
	margin: 0;
}

.footer-right {
	float: none;
	margin: 0 auto;
	max-width: 128px; /* 32px x number of links */
}

.site-content {
	padding: 1em 0.5em 0em 0.5em;
}

.site-info {
	margin: 1em 0;
	text-align: center;
}

ul {
	margin: 0 0 1em 1em;
}

}

@media screen and (max-width: 320px) {

.site-main .gallery {
	margin: 0 auto;
	float: none;
}

.site-content {
	text-align: center;
/*	padding: 1em 0.5em 0em 0.5em;*/
}

.page-id-268 ul {
	font-size: 0.9em;
	text-align: left;
}

.alignright {
	display: inline;
	float: none;
	margin-left: 0em;
}

.main-navigation ul {
	font-size: 1em;
	text-align: center;
}

blockquote {
	padding: 0.25em 0;
}

blockquote:before {
	display: none;
}

.column-left {
	width: 100%;
	padding: 0;
	float: none;
}

.column-right {
	width: 100%;
	padding: 0;
	float: none;
}


}