/* @override http://local.bardills.com/assets/css/master.css */

@import url("reset.css");
@import url("../fonts/qlassik/stylesheet.css");

/* @group Layout */

body{
	background-image:url("/assets/images/bg.jpg");
}

.container{
	border-radius:10px;
	background-color:#FFF;
	width: 620px;
	margin:30px auto;
	box-shadow:0 0 10px rgba(0,0,0,.15);
	color: #222;
	font: 16px/25px Georgia, "Times New Roman", Times, serif;
}

section, footer{
	padding: 20px 30px;
}

/* @end */

/* @group Typography */

strong{
	font-weight: bold;
}

em{
	font-style: italic;
	font-size: 11px;
}

section ul{
	list-style: disc;
	padding-left: 21px;
	list-style-type: disc;
	margin-top: 5px;
}

/* @end */

/* @group Headers
 */

hgroup{
	position:relative;
	z-index:999;
	margin-top: -97px;
	margin-bottom: 18px;
	padding-left: 30px;
	height: 57px;
	line-height: 22px;
	padding-top: 22px;
	width: 321px;
	background-color: #FFF;
	background-color: rgba(255,255,255,.8);
	border-bottom-right-radius:10px!important;
	border-top-right-radius:10px!important;
}

h1, h2, h3{
	font-family:"QlassikBoldRegular";
}

h1{
	color:#3A7F15;
	font-size:50px;
}
h2{
	font-size:20px;
	color: #0F6B9C;
	margin-top: 5px;
	margin-left: 2px;
}

section h1{
	color:#3A7F15;
	font-size: 25px;
	margin-top: 20px;
	margin-bottom: 5px;
}
section h2{
	color:#0F6B9C;
	font-size: 20px;
	margin-top: 20px;
	margin-left: 0;
}

/* @end */

/* @group Banner */

.banner, .nivo-slice{
	-webkit-background-clip: padding-box;
	border-top-left-radius:10px!important;
	border-top-right-radius:10px!important;
	height: 256px;
	position:relative;
	width: 620px;
    background: url(/assets/images/loading.gif) no-repeat 50% 50%;
}

.banner img{
	width: 620px;
	height: 256px;
	position:absolute;
    top:0px;
    left:0px;
    display:none;
}

/* @end */

/* @group Nav */

nav{
	clear:both;
	margin-bottom: 29px;
	float: left;
	background-color: #CCC;
	width: 532px;
	padding: 10px 10px 10px 78px;
}

nav ul li{
	float: left;
	margin-right: 10px;
	font-size: 15px;
	text-transform: uppercase;
	line-height: 18px;
}

nav ul li a{
	border-radius:99px;
	display: block;
	padding: 5px 15px;
	text-decoration: none;
	color: #FFF;
	text-transform: uppercase;
	font: bold 12px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}

nav ul li a:hover{
	background-color: #AAA;
}

nav ul li.selected a{
	color: #FFF;
	background-color: #888;
}

/* @end */

/* @group Footer */

footer{
	clear: both;
	font-size: 12px;
	padding: 15px 0 45px 41px;
	margin-bottom: 50px;
}

footer div, footer address{
	float: left;
	font-style: italic;
	margin-right: 9px;
	margin-left: 9px;
}

/* @end */

/* @group Gallery */

aside.gallery ul{
	list-style: none;
	margin-top: 20px;
	margin-left: -2px;
	margin-bottom: 10px;
	float: left;
}

aside.gallery ul li{
	float: left;
}

aside.gallery ul li img{
	-webkit-backface-visibility: hidden;
	-webkit-transition: all .2s ease-in-out;
	background-color: #FFF;
	border: 1px solid #888;
	padding: 4px;
	height: auto;
	box-shadow: 1px 4px 3px rgba(0,0,0,.2);
	z-index: 0;
	position: relative;
	margin: -40px -59px -46px;
}

aside.gallery ul li:nth-child(odd) img{
	-webkit-transform:rotate(2deg) scale(.5);
}
aside.gallery ul li:nth-child(even) img{
	-webkit-transform:rotate(-1deg) scale(.5);
}
aside.gallery ul li:nth-child(3n+2) img{
	-webkit-transform:rotate(3deg) scale(.5);
}
aside.gallery ul li:nth-child(6n+1) img{
	-webkit-transform:rotate(-2deg) scale(.5);
}

aside.gallery ul li:hover img{
	border: 1px solid #CCC;
	box-shadow: 1px 6px 5px rgba(0,0,0,.1);
	-webkit-transform:rotate(0deg) scale(1);
	z-index: 999;
}

/* @end */

/* @group Map */

img.map{
	float: right;
	margin-left: 43px;
	-webkit-transform:rotate(2deg);
	width: 254px;
	background-color: #FFF;
	border: 1px solid #CCC;
	padding: 4px;
	box-shadow: 2px 4px 7px rgba(0,0,0,.1);
	margin-right: 28px;
	margin-top: 25px;
}

/* @end */

