/*
Theme Name: Leo Stephanou Portfolio Site
Theme URI: http://www.leostephanou.com
Description: Portfolio site
Version: 1
Author: Leo Stephanou
Author URI: http://www.leostephanou.com
*/

/* Fonts */
@font-face {
  font-family: 'Pacifico';
  src: url('pacifico.eot?') format('eot'), url('pacifico.woff') format('woff'), url('pacifico.ttf') format('truetype');
}





/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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 {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Fluid Grid Columns */

[class^="col_"] {
	float: left;
	margin-right: 2%;
}

[class^="col_"]:last-child {
	margin-right: 0;
}


.col_1 {
	width: 6.5%; /* 65px */
}
.col_2 {
	width: 15%; /* 150px */
}
.col_3 {
	width: 23.5%; /* 235px */
}
.col_4 {
	width: 32%; /* 320px */
}
.col_5 {
	width: 40.5%; /* 405px */
}
.col_6 {
	width: 49%; /* 490px */
}
.col_7 {
	width: 57.5%; /* 575px */
}
.col_8 {
	width: 66%; /* 660px */
}
.col_9 {
	width: 74.5%; /* 745px */
}
.col_10 {
	width: 83%; /* 830px */
}
.col_11 {
	width: 91.5%; /* 915px */
}
.col_12 {
	width: 100%; /* 1000px */
}
/* Clearfix */
section:after, .clearfix:after {
	visibility: hidden;
	display: block;
	content: "";
	clear: both;
	height: 0;
}

* html .clearfix { zoom: 1; } /* IE6 */
*:first-child+html .group { zoom: 1; } /* IE7 */
/* End Clearfix */

body {
	color: #666;
	font-family: Helvetica, sans-serif;
	background: #f8f8f8;
	font-weight: 100;
}

.container, .wrapper {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0px 2%;
}

.wrapper {
	margin-top: 40px;
}

header {
	width: 100%;
	background-color: #00306c;
	padding: 20px 0;
}

.icon_nav {
	display: none;
}

section {
	margin-bottom: 40px;
}

.logo {
	text-indent: -9999px;
	height: 140px;
	width: 200px;
	background: url('../images/logo.png') no-repeat;
	float: left;
}

nav {
	float: left;
	margin-left: 6%;
	margin-top: 40px;
}

nav li {
	display: inline;
	margin-left: 8%;
	margin-bottom: 0;
}

nav li a {
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
}

nav li a:hover {
	color: #87aecf;
}

.subnav {
	position: absolute;
	top: -9999px;
	z-index: 999;
	background-color: #f5f5f5;
	padding: 20px;
	margin-left: 190px;
	box-shadow: 0px 4px 2px rgba(0,0,0,0.2);

}

.subnav li {
	display: block;
	margin-left: 0;
}

.subnav a {
	color: #00306c;
}

#services:hover .subnav {
	top: 85px;
}

a {
	color: #00306c;
	text-decoration: none;
}

.btn {
	background: #00306c;
	padding: 10px 20px;
	border-radius: 2px;
	box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
	color: #fff;

}

.btn:hover {
	background: #00447d;
}

.cta_text span {
	font-weight: bold;
}

.hero {
	background: url('../images/london-aerials.jpg') no-repeat center -2px;
	height: 360px;
}

.hero .container {
	padding-top: 20px;
}

.hero .container div {
	padding: 20px 2%;
	background: rgba(0,0,0,0.4);
	width: 60%;
	color: #fff;
}

.hero .container div span {
	display: block;
	font-size: 1.333333333em;
	margin-top: 20px;
}

.hero .container div p {
	margin-top: 20px;
}

.hero h1, .hero h2 {
	color: #fff;
}

.phone {
	color: #fff;
	text-transform: uppercase;
	text-align: right;
	font-size: 2em;
	float: right;
	background: url("../images/phone.png") no-repeat 15px 19px;
	margin-top: 10px;
	margin-bottom: 0;
}

.phone span {
	display: block;
}

.phone a {
	color: #fff !important;
}

.logos li, .sky_logos li {
	display: inline;
	margin-right: 2%;
}

.logos li:before, .sky_logos li:before {
	content: none !important;
	padding-right: 0px !important;
}

.logos img, .sky_logos img {
	border: 1px solid #bebebe;
}

.sky_logos {
	margin-bottom: 20px;
}

.sky_logos img {
	width: 30%;
}

img {
	max-width: 100%;
	height: auto;
}

.testimonial {
	background: #ebebeb;
	padding: 20px 3.03030303%;
	margin-top: 20px;
}

blockquote {
	font-size: 1.5em;
	font-style: italic;
	margin-bottom: 20px;
}

.testimonial p {
	font-size: 0.8em;
	font-weight: normal;

}

aside .logos img {
	width: 29%;
}

h1 {
	font-size: 2.25em;
}

h2 {
	font-size: 1.5em;
}

h1, h2 {
	color: #282828;
	margin-bottom: 20px;
}

p, li {
	font-size: 1.125em;
	line-height: 175%;
	margin-bottom: 20px;
}
.brand_icon{
	margin: 0 0 20px 20px;
	float: right;
	border: 1px solid #bebebe;
}

/* Form */
label {
	display: block;
	color: #282828;
	font-weight: 400;
}

input, textarea {
	width: 98%;
	border: 1px solid #bebebe;
	padding: 10px 1%;
	border-radius: 2px;
	margin-bottom: 20px;
	font-size: 1em;
	color: #555555;
	text-indent: 5px;
}

input[type=submit] {
	width: 100%;
	background-color: #00306c;
	color: #fff;
	box-shadow: 0px 2px 4px rgba(0,0,0,0.2);

}

input[type=submit]:hover {
	background-color: #00447d;
	cursor: pointer;
}

iframe {
	width: 100%;
	height: 400px;
	margin-bottom: 40px;
}

.error {
	color: #c31818;
}

footer {
	background: #ebebeb;
	padding: 20px 0;
}

footer p {
	display: inline-block;
	font-size: 0.875em;
}

footer address {
	float: right;
	text-align: right;
	font-size: 0.875em;
}

.wrapper section li:before {
	content: url('../images/check.png');
	padding-right: 10px;
}

/* Tablet */
@media screen and (max-width: 920px) {

	nav {
		margin-left: 3%;
	}
	.phone {
		font-size: 1.225em;
	}
	.hero .container div {
		width: 96%;
	}
}


/* iPhone */
@media screen and (max-width: 770px) {
	.col_1,
	.col_2,
	.col_3,
	.col_4,
	.col_5,
	.col_6,
	.col_7,
	.col_8,
	.col_9,
	.col_10,
	.col_11,
	.col_12 {
		width: 100%;
	}
	.logo {
	height: 70px;
	width: 100px;
	background: url('../images/logo_mobile.png') no-repeat;
}
	.icon_nav {
	width: 40px;
	height: 40px;
	float: right;
	display: block;
	margin-right: 4%;
	text-indent: -9999px;
	background: url('../images/menu_icon.png') no-repeat;
	margin-top: 20px; 
	}

	nav {
		display: none;
		float: none;
		margin-top: 20px;
	}

	nav.col_6 {
		width: 94%;
	}

	nav li {
		display: block;
		margin-bottom: 20px;
		margin-left: 0;
	}

	nav li:last-child {
		margin-bottom: 0;
	}
	.subnav {
		position: relative;
		top: 0px;
		z-index: 0;
		margin-left: 0px;
		margin-top: 10px;
		box-shadow: none;
	}

	#services:hover .subnav {
		top: 0px;
	}

	.hero .container div span {
		display: none;
	}

	.phone {
		float: left;
		margin-left: 0;
		background-image: none;
		clear: both;
	}
	.phone span {
		display: none;
	}
	.logos img {
		width: 29%;
	}
	section.hero div.container {
		padding: 0;
	}
	.hero {
		height: 400px;
	}
	footer, footer address {
		text-align: center;
		float: none;
	}
	.brand_icon{
	margin-left: 0;
	float: none;
	}
}