/*
 Theme Name:     Alcoaz
 Theme URI:      
 Description:    Alcoaz Theme
 Author:         Zack Rothauser
 Author URI:     
 Version:        1.0.0
*/

/* =Typeface
-------------------------------------------------------------- */
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,700);
@font-face {
  font-family: 'FontAwesome';
  src: url('fonts/fontawesome-webfont.eot');
  src: url('fonts/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
  	   url('fonts/fontawesome-webfont.woff') format('woff'),
  	   url('fonts/fontawesome-webfont.ttf') format('truetype'),
  	   url('fonts/fontawesome-webfont.svg#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* =Reset CSS (v2.0) http://meyerweb.com/eric/tools/css/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, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	border: 0;
	font-size: 100%;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
/*HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
button, input, select, textarea {
	font-size: 100%;
	overflow: visible;
	margin: 0;
	vertical-align: baseline;
	width: auto;
}
textarea {
	overflow: auto;
	vertical-align: text-top;
}

/* =Clearfix
-------------------------------------------------------------- */
.clearfix:after,
.clearfix:before {
	content: ' ';
	display: table;
}
.clearfix:after {
	clear: both;
}
.ie7 .clearfix {
	zoom: 1;
}
.clear {
	clear: both;
}


/* Elements */
html {
	font-size: 62.5%; /* 10px */
}
body {
	font-size: 1.8rem; /* 18px */
	line-height: 2.4rem; /* 22px */
	background-color: #FFF;
	color: #000;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: 400;
}
h1 {
	font-size: 2.6rem;
	line-height: 3.6rem; /* 1.5x base rhythm */
	margin: 1.2rem 0 1.2rem 0;
	display: block;
	font-weight: 700;
}
h2 {
	font-size: 2.1rem;
	line-height: 3.6rem; /* 1.5x base rhythm */
	margin: 1.2rem 0 1.2rem 0;
}
h3, h4, h5, h6 {
	font-size: 2.1rem;
	line-height: 2.4rem; /* 1x base rhythm */
	margin: 1.2rem 0 1.2rem 0;
}
small {
	font-size: 1.2rem;
	line-height: 0.6rem;
}
p, input, img {
	margin-bottom: 1.2rem;
}
img {
	max-width: 100%;
	height: auto;
}
a {
	color: #0053a0;
	text-decoration: none;
}
a:hover,
a:active,
#content a:hover,
#content a:active {
	color: #7f92c7;
	-webkit-transition: all 0.15s ease;
	-moz-transition: all 0.15s ease;
	-o-transition: all 0.15s ease;
	transition: all 0.15s ease;
}
ul, ol {
	padding-left: 2em;
	padding-bottom: 2.4rem;
}
nav ul {
	list-style: none;
}


/* =Default, linear layout
-------------------------------------------------------------- */
#wrap {
	margin: 1.2rem auto 3.6rem auto;
	max-width: 600px; /* 600px minus padding */
	width: 93%;
}
p#phoneNumber {
	text-align: center;
	font-size: 3.6rem;
	line-height: 4.8rem; /* 2x base rhythm */
	margin: 1.2rem 0 2.4rem 0;
	color: #000;
}
p#phoneNumber a {
	text-decoration: none;
}
header {
	display: block;
	overflow: hidden;
}
header #logo {
	display: block;
	margin: 0 auto 2.4rem auto;
}
header #info {
	display: block;
	margin: 0 auto;
	text-align: center;
}
header #info #usp {
	font-style: italic;
}
header nav {
	overflow: hidden;
	margin-bottom: 2.4rem;
	text-align: left;
	width: 100%;
}
header nav ul {
	margin: 0 auto;
	padding: 0;
	text-align: center;
}
header nav ul li {
	display: inline-block;
	padding: 1.2rem 0.5em 1.2rem 0.5em;
	margin-bottom: 1.2rem;
	width: 45%;
	text-align: center;
	background: #0053a0;
	border-radius: 5px;
}
nav ul a {
	color: #FFF;
}
#content {
	width: 100%;
	padding-bottom: 2.4rem;
	color: #000;
}
#main aside,
aside.widget_text {
	width: 100%;
	margin: 0 0 2.4rem;
	float: right;
	clear: both;
	background-color: #DEDEDE;
	border-radius: 5px;
	border: 2px solid #0053a0;
	-moz-box-sizing: border-box;
   	-webkit-box-sizing: border-box;
    box-sizing: border-box;
}
#main aside.grey {
	border-color: #666;
}
#main aside div.content,
aside.widget_text p {
	overflow: hidden;
	padding: 1.2rem;
}
aside h3,
aside.widget_text h3 {
	max-width: 100%;
	background: rgba(0,0,0,0.2);
	color: #333;
	margin: 0;
	padding: 0.6rem 1.2rem;
	text-align: left;
	overflow: hidden;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
#main aside.blue,
aside.widget_text {
	background-color: #d5e8eb;
}
#main aside.blue h3,
aside.widget_text h3 {
	background-color: rgba(0,83,160,0.3);
	color: #0053a0;
}
#sidebar .widget {
	float: left;
	max-width: 300px;
	clear: both;
}
footer {
	background-color: #d5e8eb;
	position: relative;
	padding: 0 3.3333333% 4.8rem 3.3333333%; /* 20px / 600px */
}
footer nav {
	display: block;
	overflow: hidden;
	margin: 0;
	padding: 2.4rem 0 1.2em 0;
	text-align: center;
	width: 100%;
}
footer nav ul {
	padding: 0;
}
footer nav li {
	padding: 0 0.5em 0 0.5em;
	border-right: 1px solid rgba(0,0,0,0.7);
	display: inline-block;
	vertical-align: baseline;
}
footer nav li:last-child {
	border: none;
}
footer nav li a {
	color: #000;
}
p#copyright {
	margin: 0;
	padding-bottom: 3.6rem;
}

/* =Small Screen
-------------------------------------------------------------- */
@media screen and (min-width: 600px) {
	.mobile-only {
		display: none;
	}
	body {
		font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	}
	h1 {
		margin-top: 5.2rem;
	}
	#wrap {
		max-width: 700px; 
	}
	#main {
		float: left;
		margin: 0 2.8571429%; /* 20px / 700px */
		overflow: hidden;
	}
	#sidebar {
		float: right;
		margin: 0 2.8571429%; /* 20px / 700px */
		overflow: hidden;
	}
	.widget_sp_image .attachment-medium {
		padding-left: 10px;
		max-width: 145px !important;
	}
	#main aside {
		width: 40%;
	}
	footer {
		padding: 0 2.8571429%; /* 20px / 700px */
	}
	p#copyright {
		text-align: center;
		display: block;
	}
}

/* ="Desktop" or larger
-------------------------------------------------------------- */
@media screen and (min-width: 860px) {
	#wrap {
		max-width: 1040px; 
	}
	header #logo {
		margin: 0;
		width: 30.769231%; /* 320px / 1040px */
		float: left;
		margin-left: 1.9230769%; /* 20px / 1040px */
	}
	div#info {
		display: block;
		float: right;
	}
	#info #phoneNumber {
		margin-top: 0;
		float: right;
		line-height: 3.6rem;
	}
	#info #usp {
		float: right;
		width: 30.769231%; /* 320px / 1040px */
		margin-right: 1em;
		text-align: center;
		font-size: 1.6rem;
		line-height: 1.6rem;
	}
	header nav {
		overflow: hidden;
		width: auto;
		clear: right;
	}
	header nav ul {
		text-align: right;
		float: right;
		width: auto;
		border-radius: 5px;
	}
	header nav ul li {
		text-align: center;
		width: auto;
		border-right: 1px solid rgba(255,255,255,0.6);
		margin: 0;
		padding: 0.5rem 1em;
		float: left;
		background-color: #7f92c7;
		-webkit-transition: all 0.15s ease;
		-moz-transition: all 0.15s ease;
		-o-transition: all 0.15s ease;
		transition: all 0.15s ease;
		border-radius: 0;
	}
	header nav ul li:first-child {
		border-radius: 5px 0 0 5px;
	}
	header nav ul li:last-child {
		border-radius: 0 5px 5px 0;
	}
	header nav ul li.current-menu-item,
	header nav ul li:hover {
		background: #0053a0;
	}
	#content {
		margin-top: 2.4rem;
	}
	#main {
		float: left;
		width: 67.307692%; /* 700px / 1040px */
		margin: 0 1.9230769% 0 0; /* 20px / 1040px */
	}
	#sidebar {
		width: 30.769231%; /* 320px / 1040px */
		clear: none;
		margin: 0;
	}
	#sidebar .widget {
		float: right;
		clear: none;
	}
	footer {
		padding: 0 1.9230769% 0 1.9230769%; /* 20px / 1040px */
	}
}
