
/* ===========================================================================
   HTML5 elements
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
[hidden] { display: none; }

/* ===========================================================================
  * Embedded fonts 
   ========================================================================== */

@font-face {
  font-family: 'DroidSansRegular'; src: url('DroidSans-webfont.eot'); src: url('DroidSans-webfont.eot?#iefix') format('embedded-opentype'), url('DroidSans-webfont.woff') format('woff'), url('DroidSans-webfont.ttf') format('truetype'), url('DroidSans-webfont.svg#DroidSansRegular') format('svg'); font-weight: normal; font-style: normal;
}
@font-face {
  font-family: 'DroidSansBold'; src: url('DroidSans-Bold-webfont.eot'); src: url('DroidSans-Bold-webfont.eot?#iefix') format('embedded-opentype'), url('DroidSans-Bold-webfont.woff') format('woff'), url('DroidSans-Bold-webfont.ttf') format('truetype'), url('DroidSans-Bold-webfont.svg#DroidSansBold') format('svg'); font-weight: normal; font-style: normal;
}

/* ===========================================================================
   Element defaults
   ========================================================================== */

html { 
  font-size: 100%; 
	-webkit-text-size-adjust: 100%; 
	-ms-text-size-adjust: 100%; 
}
body { 
	background: transparent url(../img/bg-body.png) repeat 0 0; 
	color: #333; 
	margin: 0; 
	font-size: 90%; 
	line-height: 1.4em; 
}
body, button, input, select, textarea { 
	font-family: sans-serif; 
	color: #222; 
	padding: 0 2%; 
}
a { 
	color: #069; 
}
a:visited { 
	color: #069; 
}
a:hover { 
	color: #333; 
}
a:focus { 
	outline: thin dotted; 
}
a:hover, a:active { 
	outline: 0; 
}
article {
  clear: both;
}
article.zero-margin .col-left, article.zero-margin .col-right {
 margin-bottom: 0;
}
caption {
  background-color: #336699;
	-webkit-border-radius: 6px 6px 0 0;
	border-radius: 6px 6px 0 0;
  color: white;
  font-size: 130%;
  font-family: 'DroidSansBold', Arial, sans-serif;
  padding: 0.5em;
  margin-top: 5px;
	text-align: left;
}
img { 
	border: none; 
}
li { 
	list-style-type: square; 
	padding: 0.3em 0; 
}
hgroup {
	filter: dropshadow(color=#000000, offx=2, offy=2);
  font-family: 'DroidSansBold', Arial, sans-serif;
  text-align: center;
  padding: 20px 0 20px 0;
}
body.contact hgroup {
  padding: 50px 0 138px 0 !important;
}
hgroup h2 {
  color: #ffcc66;
	font-size: 120%;
	text-transform: uppercase;
	text-shadow: 2px 2px 2px #000000;
}
h1 {
  clear: both;
	color: white;
	font-size: 200%;
	letter-spacing: -1px;
	line-height: 100%;
	text-align: center;
	text-shadow: 2px 2px 2px #000000;
  padding: 0;
}
h2 {
  clear: both;
	color: #0c437a;
  font-family: 'DroidSansBold', Arial, sans-serif;
	font-size: 160%;
  margin: 1em 0 0 0;
  text-shadow: 0 1px 0 white;
}
h3 {
  clear: both;
  color: #333;
  font-family: 'DroidSansBold', Arial, sans-serif;
	font-size: 140%;
  text-shadow: 0 1px 0 white;
}
input, textarea {
  background: white url(../img/bg-input.png) repeat-x 0 0;
  border: 1px solid #ccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px; 
  clear: both;
  margin-bottom: 0.5em;
  width: 97%;
  padding: 0.5em 0.25em;
}
input[type='submit'] {
  background: transparent url(../img/bg-button-submit.png) repeat-x 0 0;
  border: none;
  border: 1px solid #336699;
  -moz-border-radius: 4px;
  border-radius: 4px;
  margin: 0;
  color: white;
  font-weight: normal;
  font-size: 140%;
  cursor: pointer; 
  width: auto;  
  padding: 7px 20px 8px 20px;
  -webkit-box-shadow: 1px 1px 2px 1px #cccccc;
  -moz-box-shadow: 1px 1px 2px 1px #cccccc;
  box-shadow: 1px 1px 2px 1px #cccccc;   
}
input[type='submit']:hover, input[type='submit']:focus, input[type='submit']:active {
  background: #336699 url(../img/bg-button-submit.png) repeat-x 0 -47px;
  cursor: pointer;  
  padding: 8px 19px 7px 21px;
  text-shadow: none;
  filter: none;
}
p {
  line-height: 1.5em;
  text-shadow: 0 1px 0 white;
}
table { 
  border-collapse: collapse; 
	border-spacing: 0; 
	margin-bottom: 1em; 
	width: 100%; 
}
td {
  border-bottom: 1px solid #ccc;
  padding: 0.4em;
  vertical-align: top;
}
th {
  background-color: #999;
  color: white;
  padding: 0.4em;
  text-align: left;
}
header {
  background: transparent url(../img/header-bg.png) no-repeat 50% -70px; 
  height: 160px;
	width: 100%;
  position: fixed;
	top: 0;
	left: 0;
	margin: 0 auto;
  text-align: center;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}
header.fixed {
  background: transparent url(../img/header-bg.png) no-repeat 50% -156px; 
  height: 75px;
	position: fixed;
}
nav {
  float: left;
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 75px;  
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
  z-index: 100;
} 
header.fixed nav {
  margin-top: -10px;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}
nav ul {
  clear: left;
  float: left;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  position: relative;
  left: 50%;
  text-align: center;
}
nav ul li {
  font-family: 'DroidSansBold', Arial, sans-serif;
  display: block;
  float: left;
  font-size: 90%;
  list-style:none;
  margin: 0;
  padding: 0;
  position: relative;
  right: 50%;
}
nav li a:link,
nav li a:visited {
  display: block;
  color: #000;
  margin: 0 15px;
  padding: 10px 5px;
  text-decoration: none;
  text-transform: uppercase;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0);
  box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 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 li a:hover,
nav li a:focus,
nav li a:active {
  -webkit-box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.5);
}
nav li.folio {
  margin-right: 30px;
}
nav li.tips {
  margin-left: 40px;
}

#logo-block {
  margin: 0 auto;
  padding-top: 13px;
  display: block;
  height: 113px;
  width: 327px;
  z-index: 100;
}
#logo-block img {
  position: fixed;
	height: 61px;
	width: 200px;
	margin-left: 66px;
}
#logo-block.fixed img {
  margin-top: -6px;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}
#logo-block.fixed img.logo-hide {
  display: none;
}
#about, #folio, #tips, #contact {
  background: transparent url(../img/ico-about.png) no-repeat 0 82px; 
	height: 58px;
	padding-left: 75px;
}
#folio {
  background: transparent url(../img/ico-folio.png) no-repeat 0 82px; 
}
#tips {
  background: transparent url(../img/ico-tips.png) no-repeat 0 82px; 
}
#contact {
  background: transparent url(../img/ico-contact.png) no-repeat 0 82px; 
}
.anchor-offset {
  display: block; 
  margin: -70px 0 0; 
  padding: 100px 0 0.25em 0;
}
.container-all {
  background: white url(../img/feature-720.jpg) no-repeat 50% 0; 
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
	-webkit-box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, .5);
	box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, .5);
}
.container-content {
  background: white url(../img/bg-content.jpg) repeat 0 0; 
  padding: 1em 2% 2em 2%;
}
.col-left {
  float: none;
}
.col-right {
  float: none;
}
.col-contact {
  background: #336699 url(../img/ico-phone.png) no-repeat 50px 40px; 
	-webkit-border-radius: 6px;
	border-radius: 6px;
	font-size: 120%;
	margin-top: 10px;
	padding: 20px 0 30px 180px;
}
.col-contact p, .folio-case p {
	color: white;
	font-family: sans-serif; 
	text-shadow: none;
}
.col-contact h3 {
	color: white;
	font-size: 140%;
	text-shadow: none;
}
.columns {
	-webkit-column-count: 1; 
	-webkit-column-gap: 0;
	-moz-column-count: 1; 
	-moz-column-gap: 0;
	-o-column-count: 1; 
	-o-column-gap: 0;
	column-count: 1; 
	column-gap: 0;
}
.columns p {
	-webkit-column-break-inside: avoid;
	-moz-column-break-inside: avoid;
	-o-column-break-inside: avoid;
	-ms-column-break-inside: avoid;
	column-break-inside: avoid;
}
.folio-case {
  background: #333c43 url(../img/bg-folio-case.png) repeat-x 0 100%; 
	-webkit-border-radius: 6px;
	border-radius: 6px;
	clear: both;
	padding: 15px 20px 30px 20px;
	margin-bottom: 30px;
	-webkit-box-shadow: 1px 1px 0 0 white;
	box-shadow: 1px 1px 0 0 white;
}
.credits {
  color: #ffcc66 !important;
	font-style: italic;
}
.folio-case img {
  border: 10px solid #ccc;
	float: left;
	margin: 5px 20px 10px 0;
}
.top {
  clear: both;
}

/* ===========================================================================
   Hacks
   ========================================================================== */
   
.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  zoom: 1;
}


/* ===========================================================================
   Media queries
   ========================================================================== */

/* 600 
------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media only screen and (min-width: 600px) {
	header {
		background: transparent url(../img/header-bg.png) no-repeat 50% -65px; 
	}
	header.fixed {
		height: 137px;
	}
	h1 {
		color: white;
		font-size: 250%;
		text-shadow: 3px 3px 3px #000000;
	}
	h2 {
		color: #0c437a;
		font-size: 140%;
		margin: 1.5em 0 0 0;
	}
	hgroup {
		padding: 40px 0 42px 0;
	}
}
/* 720 
------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media only screen and (min-width: 720px) {
	article.zero-margin .col-left, article.zero-margin .col-right {
	 margin-bottom: -90px;
	}
	.container-all {
		background: white url(../img/feature.jpg) no-repeat 50% 0; 
	}
	.container-content {
		padding: 1em 3% 2em 3%;
	}
	.col-left {
		float: left;
		width: 47%;
	}
	.col-right {
		float: right;
		width: 47%;
	}
	.col-contact {
		width: 28%;
	}
	.columns {
		-webkit-column-count: 2; 
		-webkit-column-gap: 3em;
		-moz-column-count:2; 
		-moz-column-gap: 3em;
		-o-column-count:2; 
		-o-column-gap: 3em;
		column-count: 2; 
		column-gap: 3em;
	}
	hgroup {
		padding: 120px 0 90px 0;
	}
	hgroup h2 {
		font-size: 180%;
	}
	body.contact hgroup {
		padding: 140px 0 138px 0 !important;
	}
	header {
		background: transparent url(../img/header-bg.png) no-repeat 50% 0; 
		height: 228px;
	}
	header.fixed {
		background: transparent url(../img/header-bg.png) no-repeat 50% -120px; 
		height: 137px;
	}
	h1 {
		color: white;
		font-size: 350%;
		text-shadow: 3px 3px 3px #000000;
	}
	h2 {
		color: #0c437a;
		font-size: 180%;
		margin: 1.5em 0 0 0;
	}
	nav {
		margin-top: 140px;  
	} 
	header.fixed nav {
		margin-top: 8px;
	}
	nav ul li {
		font-size: 110%;
	}
	nav li a:link,
	nav li a:visited {
		padding: 10px 15px;
	}
	nav li.folio {
		margin-right: 70px;
	}
	nav li.tips {
		margin-left: 60px;
	}
	#logo-block img {
		position: fixed;
		height: 113px;
		margin-left: 0;
		width: 327px;
	}
}

/* 920 
------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media only screen and (min-width: 920px) {
	hgroup {
		padding: 150px 0 128px 0;
	}
	h1 {
		color: white;
		font-size: 460%;
		text-shadow: 3px 3px 3px #000000;
	}
	h2 {
		color: #0c437a;
		font-size: 200%;
		margin: 1.5em 0 0 0;
	}
}