/*
Theme Name: WEEL Theme
Theme URI: 
Description: Theme style for Whelan Electrical Engineering Ltd.
Version: 1.0
Author: Weel / Matrix Internet / Noel Kelly
Author URI: http://www.matrixinternet.ie
*/

/*========== 1.0 Reset ==========*/ 

/*
 * Modified from HTML5 Doctor CSS reset by Richard Clark (http://richclarkdesign.com)
 * See html5doctor.com
*/

* {
	box-sizing: border-box;
}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
body {
    line-height:1;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}
nav ul {
    list-style:none;
}
blockquote, q {
    quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}
a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
del {
    text-decoration: line-through;
}
abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}
table {
    border-collapse:collapse;
    border-spacing:0;
}
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #ccc;
    margin:1em 0;
    padding:0;
}
input, select {
    vertical-align:middle;
}

/*------------------ Clearfix ------------------*/  
.cf:before,
.cf:after {
    content: " ";
    display: table; 
}

.cf:after {
    clear: both;
}

/*========== Global Styles ==========*/ 

body {
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Oxygen", Arial, sans-serif;
	margin-bottom: 15px;
	color: #333;
}

h1 {
	font-size: 1.5em;
	line-height: 2em;
	color: #fefefe;
}

h2 {
	font-size: 1.8em;
	line-height: 2em;
}

p {
	font-family: sans-serif;
	font-size: 0.8em;
	line-height: 2em;
	margin-bottom: 15px;
	color: #444;
}

a {
	text-decoration: none;
	font-family: sans-serif;
	color: #444;
}

a:hover {
	color: #0F75BC;
}

ul, ol {
	margin-bottom: 15px;
}

li {
	font-family: sans-serif;
	font-size: 0.8em;
	line-height: 1.1em;
    margin-left: 10px;
}

table, th, tr, td {
	width: 100%;
	border: 1px solid #ccc;
	padding: 8px;
	margin: 20px 0;
	font-family: sans-serif;
	text-align: center;
}

blockquote {
	margin: 25px 0 1.5em 1.9em;
	padding: 15px;
	border: 1px solid #ccc;
	border-left: 8px solid #ccc;
	border-radius: 5px;
	font-family: "Muli", sans-serif
}

blockquote:before {
	display: block;
	height: 0;
	content: "“";
	margin-left: -.95em;
	font: italic 400%/1 Cochin,Georgia,"Times New Roman", serif;
	color: #ccc;
}

input, textarea {
	border: 2px solid #0F75BC;
	width: 100%;
	border-radius: 5px;
	padding: 4px 8px;
	font-family: "Muli", sans-serif;
	font-size: 1.2em;
}

textarea {
	padding: 8px;
}

input:focus, textarea:focus {
	outline: none;
}

input {
	height: 3em;
}

input[type=submit] {
	width: 100%;
	height: 3em;
	background: #0F75BC;
	color: white;
	cursor: pointer;
	text-transform: uppercase;
}

input[type=submit]:hover {
	background: #1186d9;
}

/*========== Header Styles ==========*/ 

/*------------------ #siteHeader ------------------*/  
header#siteHeader {
	background: #333 url("images/dark.jpg") repeat;
	min-height: 300px;
}

/*------------------ #siteLogo ------------------*/  

#headerImage {
	width: 220px;
	height: auto;
	margin-top: -33px;
	margin-left: 38px;
}

/*------------------ #mainNav ------------------*/  

nav#mainNav {
	float: right;
	margin-top: 12px;
}

nav#mainNav ul li {
	display: inline-block;
	padding: 0 15px;
    font-size: 1em;
    margin: 0;
}

nav#mainNav ul li a {
	color: white;
	font-family: "Muli", sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 0.78em;
	padding-bottom: 25px;
}

nav#mainNav ul li a:hover {
	color: #555;
	transition: color 0.2s ease-in-out;
	border-bottom: 4px solid #6A8BAB;
}

li.current-menu-item a {
	border-bottom: 4px solid #525759;
}

.slicknav_menu {
	display:none;
}

/*------------------ #logoNav ------------------*/  
div#logoNav {
	width: 960px;
	max-height: 150px;
	background: rgba(0, 0, 0, 0.7);
	margin: 0 auto;
	padding: 10px;
}

 /*========== Content Styles ==========*/

/*------------------ Main Content Styles ------------------*/ 

div#mainContent {
	background: url("images/bedge_grunge.jpg");
	border-top: 4px solid gray;
	padding-bottom: 20px;
}

/*------------------ Entry Styles ------------------*/  

article.entry {
	background: white;
	width: 960px;
	margin: -90px auto 0;
	padding: 50px;
	box-shadow: 0px 0px 20px #333;
	border-radius: 5px;
	box-sizing: border-box;
}

article.entry h1 {
	padding: 2px 64px;
	background: #525759/* !important*/;
	border-right: 5px solid #6a7174; 
	border-radius: 2px;
	display: inline;
	left: -65px;
	top: -30px;
	position: relative;
}

/*------------------ News Post Styles ------------------*/  

article.post {
	margin-bottom: 40px;
	padding: 15px;
	border-radius: 5px;
    border: 1px solid #CCC;
/*    border-left: 8px solid #CCC;*/
}

article.post:nth-child(3n+2) {
    border-left: 8px solid #34A644;
}

article.post:nth-child(3n+3) {
    border-left: 8px solid #FCB040;
}

article.post:nth-child(3n+1) {
    border-left: 8px solid #25AAE1;
} 

article.post h1.postTitle {
	position: relative;
	top: 0;
	left: -2px;
	background: none;
	border-right: none;
	padding: 2px 4px 2px 0 !important;
}

article.post h1.postTitle a {
	color: #444 !important;
	font-family: "Muli", sans-serif;
	font-weight: 600;
}

article.post h1.postTitle a:hover {
	position: relative;
	top: 1px;
	left: 1px;
}

ul.post-categories {
	margin-top: -20px;
}

ul.post-categories li {
	display: inline;
	margin-right: 10px;
}

ul.post-categories li a {
	color: black;
	font-size: 0.6em;
}

ul.post-categories li a:hover {
	color: blue;
	font-size: 0.6em;
}

.wl-post-meta {
    font-family: "Muli", sans-serif;
	font-size: 0.6em;
	vertical-align: top;
	position: relative;
	top: -8px;
}

div.navigation li {
	font-family: "Muli", sans-serif;
	font-size: 0.8em;
}

div.flex-viewport {
	margin-bottom: 40px;
}

div.upshift {
    position: relative;
    top: -25px;
}

/*------------------ Comment Styles ------------------*/ 

/*------------------ Slider Styles ------------------*/

p.flex-caption {
	font-size: 2.5em;
}  

/*------------------ About Us Styles ------------------*/ 

table#aboutUsTable th, table#aboutUsTable td {
	width: 25%;
}

table#aboutUsTable th {
	vertical-align: center;
}

table#aboutUsTable td {
	vertical-align: top;
}

table#aboutUsTable img {
	  width: 11.875rem;
	  height: 17.1875rem;
	  vertical-align: middle;
}

/*------------------ Client Page Styles ------------------*/  

.clientPhotoWrap {
	margin: 15px;
}

.clientImg {
	display: inline-block;
	width: 15%;
	margin: 40px;
}

.clientImg img {
	height: auto;
	max-height: 200px;
	width: 100%;
	vertical-align: middle;
}

/*------------------ Operations and Services Page Styles ------------------*/  

img#operImg {
	height: auto; 
	width: 40%; 
	float: right;
}

#operUL {
	float: left;
	margin-left: 10px;
}

.RegUL li {
	line-height: 1.6em;
	text-indent: 15px;
	font-size: 0.8em;
}

/*------------------ Projects Page Styles ------------------*/  

div#projects ul li {
	display: inline-block;
	margin-right: 15px;
	margin-bottom: 10px;
	text-decoration: none;
}

div#projects li a {
    font-size: 14px;
    line-height: 100%;
    margin: 15px;
    padding: 14px 20px;
    text-shadow: 0 1px rgba(0,0,0,0.4);
    color: #FFF;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
	-webkit-transition: background 0.3s ease-in-out;
	-moz-transition: background 0.3s ease-in-out;
	-ms-transition: background 0.3s ease-in-out;
	-o-transition: background 0.3s ease-in-out;
    border: 2px solid #0F75BC;
    background: #6A8BAB;
}

div#projects li a:hover {
	color: #FFF;
    background: #0F75BC;
    transition: background 0.3s ease-in-out;
	-webkit-transition: background 0.3s ease-in-out;
	-moz-transition: background 0.3s ease-in-out;
	-ms-transition: background 0.3s ease-in-out;
	-o-transition: background 0.3s ease-in-out;
}

.projectImage1 {
	width: 50%;
	margin: 10px auto;
}

.projectImage2 {
	float: left;
	width: 46%;
	height: auto;
	margin: 2%;
	vertical-align: bottom;
}

.projectImage3 {
	float: left;
	width: 28%;
	margin: 2%;
}

table.projectTable tr td:first-child {
	background: #EEE;
}

table.projectTable td {
	width: 50%;
}

/*------------------ Contact Page Styles ------------------*/  

div.contactDiv {
	display: inline-block;
    padding: 25px 0;
    vertical-align: top;
    width: 48%;
}

div.contactDiv:first-child {
	margin-right: 20px;
}

/*------------------ Button Styles ------------------*/  

.bigLink {
    font-size: 1.5em;
    line-height: 100%;
    margin: 15px 0;
    padding: 14px 30px;
    text-shadow: 0 1px rgba(0,0,0,0.4);
    color: #FFF;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
	-webkit-transition: background 0.3s ease-in-out;
	-moz-transition: background 0.3s ease-in-out;
	-ms-transition: background 0.3s ease-in-out;
	-o-transition: background 0.3s ease-in-out;
    background: #6A8BAB;
    border: 2px solid #0F75BC;
}

.bigLink:hover {
	color: #FFF;
    background: #0F75BC;
    transition: background 0.3s ease-in-out;
	-webkit-transition: background 0.3s ease-in-out;
	-moz-transition: background 0.3s ease-in-out;
	-ms-transition: background 0.3s ease-in-out;
	-o-transition: background 0.3s ease-in-out;
}

.contactUs {
	margin: 15px 0;
	padding: 14px 30px;
	font-size: 14px;
	line-height: 100%;
	text-shadow: 0 1px rgba(0, 0, 0, 0.4);
	color: #fff;
	display:inline-block;
	vertical-align: middle;
	text-align: center;
	cursor: pointer;
	font-weight: bold;
	transition: background 0.3s ease-in-out;
	-webkit-transition: background 0.3s ease-in-out;
	-moz-transition: background 0.3s ease-in-out;
	-ms-transition: background 0.3s ease-in-out;
	-o-transition: background 0.3s ease-in-out;
	background: #6A8BAB;
	border: 2px solid #0F75BC;
	text-transform: uppercase;
}

.contactUs:hover {
	background: #0F75BC;
	color: #FFF;
}

/*========== Footer Styles ==========*/ 

footer#siteFooter {
	background: url("images/bedge_grunge.jpg");
	border-bottom: 4px solid gray;
}

/*------------------ Colophon and Widget Styles ------------------*/  

div.colophon {
	/*padding: 25px 50px;*/
	padding: 25px 0;
	width: 960px;
	margin: 0 auto;
}

div#footerWidget-1 {
	display: inline-block;
	vertical-align: top;
	width: 33%;
}

div#footerWidget-2 {
	display: inline-block;
	vertical-align: top;
	width: 33%;
	padding: 0 40px;
}

div#footerWidget-2 p {
	margin: 0 auto;
	width: 12em;
}

div#footerWidget-3 {
	display: inline-block;
	vertical-align: top;
	width: 33%;
}

div#footerWidget-3 p {
	text-align: right;
}

/*------------------ Sub-Footer Styles ------------------*/  

div#subFooter {
	background: url("images/dark.jpg");
	padding: 20px;
}

div.subfootWrapper {
	width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

div#matrix {
	border-radius: 5px;
	padding: 5px;
	float: right;
}

/*========== Media Queries ==========*/ 

/*------------------ IE10+ Viewport Fix ------------------*/  
@-ms-viewport { width: device-width; }
@viewport { width: device-width; }

/*------------------ Mobile ------------------*/  
@media screen and (max-width: 1023px) {
	div#logoNav {
		background: rgba(0,0,0,0.0);
		max-height: 100%;
	}

	nav#mainNav {
		float: none;
		width: 100%;
		clear: both;
		margin-bottom: 90px;
		text-align: center;
	}

	.js #menu {
		display:none;
	}
	
	.js .slicknav_menu {
		display:block;
	}

	nav#mainNav ul li {
		width: 94%;
		float: none;
		margin: 10px 0;
		border-bottom: 1px solid #333;
	}

	nav#mainNav ul li:last-child {
		border-bottom: none;
	}

	nav#mainNav ul li a {
		letter-spacing: 2px;
		padding: 18px; 
		-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
		outline: 0;
	}

	nav#mainNav ul li a:hover {
		color: white;
		border-bottom: none;
	}

	li.current-menu-item a {
		background: #525759;
		border-radius: 5px;
		border-bottom: none;
	}

	div#logoNav, article.entry, div.colophon {
		width: 90%;
	}

	article.entry h1 {
		font-size: 1.2em;
	}

	.clientImg {
		display: inline-block;
		width: 25%;
		height: auto;
		margin: 10px;
	}

	div.contactDiv {
		float: none;
		width: 100%;
	}

	div.contactDiv:first-child {
		margin-right: 0;
	}

	div.contactDiv:nth-child(2) {
		width: 70%;
		margin: 0 auto;
	} 
	
	table {
		font-size: 0.8em;
	}

	table#aboutUsTable td:first-child, table#aboutUsTable th:first-child {
		display: none;
	}

	div.colophon {
		padding: 25px 35px;
		width: 88%;
	}

	div#footerWidget-1, div#footerWidget-2, div#footerWidget-3 {
		width: 100%;
		text-align: center;
		margin: 0;
	}
    
    div#footerWidget-3 p {
        text-align: center;
    }

	#operUL {
		float: none;
		width: 100%;
	}

	img#operImg {
		float: none;
		width: 60%;
		margin: 0 auto;
	}

}

/*------------------ Small ------------------*/  
@media screen and (max-width: 479px) {

	blockquote {
		margin: 1.5em 0 0 1.5em;
	}

	div#siteLogo {
		left: 30px;
	}

	nav#mainNav ul li {
		width: 93%;
	}

	article.entry {
		padding: 10px;
	}

	article.entry h1 {
		font-size: 1em;
		left: -20px;
		top: 2px;
	}

	.wl-post-meta {
		font-size: 0.6em;
		vertical-align: top;
		top: 2px;
		position: relative;
	}

	div#projects ul li {
		display: block;
        margin: 0 auto;
	}
    
    div#projects li a {
        width: 90%;
    }

	div.contactDiv {
		float: none;
		width: 100%;
	}

	div.contactDiv:first-child {
		margin-right: 0;
	}

	div.contactDiv:nth-child(2) {
		width: 100%;
		margin: 0;
	} 

	div.upshift {
		position: relative;
		top: -2px;
	}

	.bigLink {
		font-size: 1.5em;
        display: block;
	}
    
    .bigLink a {
        width: 90%;
    }

	div.colophon {
		width: 80%;
	}
    
    div#footerWidget-1, div#footerWidget-2, div#footerWidget-3 {
        display: inline-block;
        margin-bottom: 10px;
        vertical-align: top;
        width: 100%;
    }

    div#footerWidget-1 p, div#footerWidget-2 p, div#footerWidget-3 p {
        margin: 0 auto;
/*        width: 12em;*/
        text-align: center;
    }

    div#footerWidget-2 {
        padding: 0;
    }
    
    article.post {
        margin-top: 15px;
    }
    
	blockquote {
		font-size: 0.8em;
	}

	li {
		font-size: 0.8em;
		margin-left: 15px;
	}

	.RegUL li {
		line-height: 1.3em;
		text-indent: 5px;
		font-size: 0.7em;
	}

	.hide {
		display: none;
	}
}