html,
body {
	height: 100%;
	margin: 0;
}

html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	font-family: 'Open Sans', arial, sans-serif;
	font-size: 12px;
	line-height: 1.5;
	vertical-align: middle;
	color: #FFF;
	background: url(../img/bg-image.jpg) no-repeat center center #111;
	background-size: cover;
}

h2 {
	margin-top: 0;
}

ul {
	padding-left: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

p {
	margin: 0 0 1.3em 0;
}

a {
	color: #FFF;
	text-decoration: none;
	outline: 0;
}

a:hover {
	text-decoration: underline;
}

img {
	max-width: 100%;
	width: auto\9;
	height: auto;
	vertical-align: middle;
	border: 0;
	-ms-interpolation-mode: bicubic;
}

.wrapper {
	position: relative;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -55px;
}

.text-right {
	text-align: right;
}

article .grid-50:last-child {
  min-height: 309px;
  background: url(../img/bg-content.png) no-repeat bottom center;
}

.bg-top {
	padding-top: 25px;
	background: url(../img/bg-content.png) no-repeat top center; 
}

.title {
	font-weight: bold;
	text-transform: uppercase;
	font-size: 10px;
	color: #AAA;
}

/* ------------------------------------------------------------------ HEADER */
header {
	background-color: #FFF;
	background-image: -moz-linear-gradient(top, #FFF, #D7D7D7);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#FFF), to(#D7D7D7));
	background-image: -webkit-linear-gradient(top, #FFF, #D7D7D7);
	background-image: -o-linear-gradient(top, #FFF, #D7D7D7);
	background-image: linear-gradient(to bottom, #FFF, #D7D7D7);
	background-repeat: repeat-x;
}

header nav {
	padding-top: 25px;
}

header ul {
	float: right;
	margin: 42px 0 0;
	padding: 0;
	list-style: none;
}

header li {
	position: relative;
	float: left;
	margin-left: 12px;
}

header a {
	font-size: 12px;
	text-shadow: #CCC 1px 1px 0px;
	color: #666;
	cursor: pointer;
}

header .current > a {
	color: #000;
	text-decoration: underline;
}

header li ul {
	display: none;
	position: absolute;
	width: 250px;
	left: 0;
	top: 40px;
	margin-top: 0;
}

header .current ul { display: block; }

header li li {
	margin-left: 0;
	margin-right: 12px;
}

header li li a {
	text-shadow: #000 1px 1px 0px;
	color: #FFF;
}

/* ----------------------------------------------------------------- CONTENT */
article {
	margin-top: 60px;
	padding-bottom: 60px;
}

article .grid-container {
	padding: 20px 10px;
	background-color: #000;
	background: rgba(0,0,0,0.7);
}

.text {
	text-align: justify;
	background: url(../img/bg-content.png) no-repeat bottom center;
}

.text p:first-child {
	padding-top: 25px;
	background: url(../img/bg-content.png) no-repeat top center;
}

.list {
	list-style: none;
}

/* ------------------------------------------------------------------ FOOTER */
footer {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 55px;
	color: #111;
}

footer img {
	height: 35px;
	filter: url(filter.svg#grayscale);
	filter: gray;
	-webkit-filter: grayscale(1);
	-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
	filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
}

footer a:hover img {
	filter: none;
	-webkit-filter: grayscale(0);
	-ms-filter: none;
}

footer form {
	display: inline;
}

footer input {
	width: 80%;
	height: 23px;
	float: left;
	padding: 5px 6%;
	border: 1px solid #F0F0F0;
	line-height: 1;
	background-color: #EBEBEB;
	color: #333;
	outline: none;
}

footer button {
	width: 60px;
	height: 33px;
	margin-left: -61px;
	border: 1px solid #E0E0E0;
	line-height: 1;
	background-color: #C6C4C5;
	color: #FFF;
	cursor: pointer;
}

footer a:hover { text-decoration: none; }

/* -------------------------------------------------------------- AD GALLERY */
.ad-image-wrapper {
	position: relative;
	overflow: hidden;
	height: 309px;
}

.ad-loader {
	position: absolute;
	z-index: 10;
	top: 48%;
	left: 48%;
	border: 1px solid #CCC;
}

.ad-next,
.ad-prev {
	position: absolute;
	top: 0;
	width: 25%;
	height: 100%;
	cursor: pointer;
	display: block;
	z-index: 200;
	background: url(../img/trans.gif);
}
.ad-next { right: 0; }
.ad-prev { left: 0; }

.ad-prev-image,
.ad-next-image {
	position: absolute;
	display: none;
	z-index: 101;
	top: 47%;
	width: 30px;
	height: 30px;
}
.ad-prev-image {
	left: 0;
	background: url(../img/ad_prev.png);
} 
.ad-next-image {
	right: 0;
	background: url(../img/ad_next.png);
}

.ad-image {
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
	z-index: 9;
}

.ad-description .ad-image-description:last-child { display: none; }
.ad-description .ad-image-description:first-child { display: block; }
.ad-image a img { border: 0; }

.ad-nav {
	position: relative;
	width: 100%;
	margin-top: 15px;
	padding: 15px 0;
	clear: both;
	background-color: #000;
	background: rgba(0, 0, 0, 0.7); 
}

.ad-forward,
.ad-back {
	position: absolute;
	display: block;
	z-index: 10;
	top: 0;
	left: 50%;
	width: 13px;
	height: 100%;
	cursor: pointer;
}

.ad-back {
	margin-left: -501px;
	background: url(../img/ad_scroll_back.png) 0 center no-repeat;
}

.ad-forward {
	margin-left: 488px;
	background: url(../img/ad_scroll_forward.png) 0 center no-repeat;
}

.ad-thumbs {
	overflow: hidden;
	width: 960px;
	margin: 0 auto;
}

.ad-thumb-list {
	float: left;
	width: 9000px;
	list-style: none;
}

.ad-thumbs li {
	float: left;
	padding-right: 5px;
}

.ad-thumbs li a { display: block; }

.ad-thumbs li a img {
	width: 115px;
	display: block;
	filter: url(filter.svg#grayscale);
	filter: gray;
	-webkit-filter: grayscale(1);
	-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
	filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
	transition: filter .4s linear;
	-webkit-transition: filter .4s linear;
	-moz-transition: filter .4s linear;
	-ms-transition: filter .4s linear;
	-o-transition: filter .4s linear;
}

.ad-thumbs li a.ad-active img,
.ad-thumbs li a:hover img {
	filter: none;
	-webkit-filter: grayscale(0);
	-ms-filter: none;
}

/* Can't do display none, since Opera won't load the images then */
.ad-preloads {
	position: absolute;
	left: -9000px;
	top: -9000px;
}

/* ------------------------------------------------------------ CONTACT FORM */
.input {
	width: 100%;
	max-width: 450px;
	margin: 0 5px 5px 0;
	padding: 8px 5px;
	float: left;
	color: #FFF;
	background-color: rgb(66,30,20);
	background: rgba(66,30,20,0.2);
	border: 1px solid rgb(255,255,255);
	border: 1px solid rgba(255,255,255,0.5);
	filter: alpha(opacity=20);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
	font-family: 'Open Sans';
}

div.input {
	height: 31px;
	overflow: hidden;
	padding: 0 10px;
	line-height: 31px;
}

.input:focus {
	outline: 0;
}

.one-third {
	max-width: 135px;
}

.one-half {
	max-width: 215px;
}

.button {
	margin-right: 7px;
	margin-top: 10px;
	padding: 8px 12px;
	color: #fff;
	background-color: rgb(66,30,20);
	background: rgba(66,30,20,0.2);
	border: 1px solid rgb(255,255,255);
	border: 1px solid rgba(255,255,255,0.5);
	filter: alpha(opacity=20);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
	z-index: 9;
	font-family: 'Open Sans';
	cursor: pointer;
}

.button:hover,
.input:focus {
	background: rgba(66,30,20,0.4);
}

.error {
	color: #F06666;
}

.error,
.thanks {
	display: none;
}
