/*
Theme Name: austoner
Description: Semantic, SEO Optimised, Custom Wordpress Theme for austoner
Author: #
Author URI: #
Version: 1.0
*/

/* Reset */
a, abbr, acronym, address, area, b, bdo, big, blockquote, body, button, caption, cite,
code, col, colgroup, dd, del, dfn, div, dl, dt, em, fieldset, form, h1, h2, h3, h4,
h5, h6, hr, html, i, images, ins, kbd, label, legend, li, map, object, ol, p, param, pre,
q, samp, small, span, strong, sub, sup, table, tbody, td, textarea, tfoot, th, thead,
tr, tt, ul, var {margin:0;padding:0;vertical-align:baseline}

/* Defaults */
:focus {outline:0}
a, a:visited {color:#00afef;text-decoration:none;}
a:hover {text-decoration:none;}
abbr, acronym, dfn {border-bottom:1px dotted;cursor:help}
blockquote {background:#EEE;border-left:2px solid #CCC;margin:0 0 1em}
blockquote p {margin:.5em}
body {background:#fefefe;color:#7F7F7F;font:17px/20px 'Roboto', Arial, sans-serif;}
code, pre {font-size:1em}
del {text-decoration:line-through}
dfn {font-style:italic;font-weight:bold}
dt {font-weight:bold}
dd {margin:0 0 1em 10px}
fieldset {border:0}
fieldset p {margin:0 0 5px}
img {border:0;vertical-align:bottom}
ins {text-decoration:none}
h1{font-size: 24px;line-height: 34px;margin:0 0 20px;color:#00B0F0}
h2  {margin:0 0 20px;color:#253540;font-size: 17px;line-height: 19px;}
h3.gform_title{margin:0 0 20px;color:#253540;font-size: 17px;line-height: 19px;}
hr {margin:0 0 0.5em}
p {margin:0 0 1em}
ul, ol {list-style:none;margin:0 0 1em}
textarea {font:1em Arial;overflow:auto}
tt {display:block;margin:0.5em 0;padding: 0.5em 1em}
th {background:#EEE;border:solid #CCC;border-width:1px 0 0 1px;padding:3px}
td {border:solid #CCC;border-width:1px 0 0 1px;padding:3px}
table {border:solid #CCC;border-width:0 1px 1px 0}

/* Containers */
#page {overflow:hidden;width:100%;position:relative;}

/* Header */
#header {position:relative;width:100%;overflow:hidden;margin:0 0 24px;background:#000;}
#header .header-f{padding:41px 0 0;position:relative;z-index:1;overflow:hidden;background:url(assets/img/header.png) no-repeat 50% 0;width:100%}
#header .header-h{padding:5px 0 6px;max-width:886px;margin:0 auto;overflow:hidden;text-align:right;}
#nav{display:inline-block;vertical-align:top;margin:0;padding:0 21px 0 0;list-style:none;overflow:hidden;}
#nav li{font-size: 21px;line-height: 41px;float:left;margin:0 0 0 44px}
#nav li a{color:#fefefe;text-transform:lowercase}
#nav li.current_page_item a{color:#00a9ff;}
#nav li a:hover{color:#00a9ff;}
#header:after{height:54px;content:'';background:#232e38;width:100%;position:absolute;bottom:0;left:0;}
#header .facebook{display:inline-block;vertical-align:top;width:40px;height:40px;text-indent:9999px;overflow:hidden;background:url(assets/img/facebook.png) no-repeat;background-size:40px auto}
#logo{display:block;margin:0 auto 49px;width:485px}
#header .facebook:hover{opacity:0.8}

#main .gallery-holder{width:100%;overflow:hidden;position:relative;}
#main .gallery-holder .gmask{width:100%;overflow:hidden;position:relative;}
#main .gallery-holder .gmask ul{width:100%;height:auto;position:relative;list-style:none;overflow:hidden;margin:0 0 20px;padding:0}
#main .gallery-holder .gmask ul li{padding:0;position:absolute;top:0;left:0;width:100%;z-index:1}
#main .gallery-holder .gmask ul li:before{display:none;}
#main .gallery-holder .gmask ul li.active{z-index:2;}
#main .gallery-holder .gmask ul img{max-width:100%;height:auto;display:block;margin:0 auto}

#main{max-width:890px;margin:0 auto 34px;overflow:hidden;}
#main .list{margin:0 -22px 0 0 ;padding:34px 0 0;list-style:none;overflow:hidden;}
#main .list li{display:inline-block;margin:0 22px 0 0;vertical-align:middle;padding:0;}
#main .list li:before{display:none;}
#main > .left{float:left;width:48%;}
#main > .gform_wrapper{float:right;width:48%;}
#main dl{margin:0 0 20px;overflow:hidden;display:block;}
#main dt{min-width: 100px;float:left;margin:0 10px 0 0;}
#main dd{overflow:hidden;margin:0 0 5px}
#main .gform_body{overflow:hidden;}
#main .gform_heading{margin:0 0 10px}
#main .gform_body ul{margin:0 0;padding:0;list-style:none;overflow:hidden;}
#main .gform_body ul li{padding:0;width:100%;margin:0 0 20px 0;float:left;}
#main .gform_body ul li:before{display:none;}
#main .gform_body ul li  select{width:100%;}
#main .gform_body ul li label{font-weight:normal;font-size:15px;display:block;margin:0 0 4px}
#main .gform_body ul li textarea,
#main .gform_body ul li input[type="text"]{color:#000;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;width:100%;padding:5px 10px;height:30px;background:#fff;border:1px solid #000;margin:0;font:17px/20px 'Roboto', Arial, sans-serif;}
#main .gform_body ul li textarea{height:150px;}
#main .gform_body ul li textarea::-webkit-input-placeholder,
#main .gform_body ul li input[type="text"]::-webkit-input-placeholder {color:#000;opacity:0.8;}
#main .gform_body ul li textarea::-moz-placeholder,
#main .gform_body ul li input[type="text"]::-moz-placeholder{color:#000;opacity:0.8;}
#main .gform_body ul li textarea:-ms-input-placeholder,
#main .gform_body ul li input[type="text"]:-ms-input-placeholder{color:#000;opacity:0.8;}
#main .gform_body ul li textarea:-moz-placeholder,
#main .gform_body ul li input[type="text"]:-moz-placeholder {color:#000;opacity:0.8;}
#main .gform_footer{overflow:hidden;}
#main .gform_footer input[type="submit"]{font-family:'Roboto', Arial, sans-serif;font-weight:bold;width:150px;height:42px;line-height:40px;font-size:17px;padding:0;margin:0;background:none;text-transform:uppercase;color:#fff;cursor:pointer;border:1px solid #000;background:#00afef;}
#main .gform_footer input[type="submit"]:hover{opacity:0.8}
#main .validation_error{display:none;}
#main .gform_body ul li.gfield_error textarea,
#main .gform_body ul li.gfield_error input[type="text"]{border-color:#f00}
.validation_message{font-size:14px;font-weight:normal;}

#main .gallery-icon{float:none;margin:0}

#main .gallery .gallery-item{float:none!important;display:inline-block;vertical-align:middle}
body{
    -webkit-text-size-adjust:100%;
    -ms-text-size-adjust: none;
}
input[type=text], input[type=password], input[type=file], input[type=submit], textarea{-webkit-appearance:none;border-radius:0;-webkit-border-radius:0}

/* Content*/
#content {float:left;overflow:hidden;padding:0 0 20px;width:550px}
#main ul {list-style:none;margin:0 0 20px;color:#000;font-weight:bold;}
#main ul li{padding:0 0 0 16px;position:relative;}
#main ul li:before{content:'';position:absolute;top:7px;left:5px;width:4px;height:4px;borer-radius:5px;-webkit-border-radius:5px;background:#000;}
#main ol {list-style:decimal;margin:0 0 1em 22px}

/* Post */
#content .post {border-bottom:1px solid #CCC;margin:0 0 25px}
#content .post .meta {font-style:italic}
#content .post h1 {border:0;margin:0}
#content .sticky {background:#f5efca}

/* Pagination */
#content #prev-next {list-style:none}
#content #prev-next #prev {float:left}
#content #prev-next #next {float:right}

/* Sidebar */
#sidebar {float:right;padding:10px 0 20px;width:200px}
#sidebar ul {list-style:none;margin:0 0 1em 18px}
#sidebar ul ul {list-style:disc}

/* Footer */
#footer {width:100%;overflow:hidden;background:#000;text-align:center;padding:40px 0}
#footer .copy{padding:10px 0 0;display:inline-block;vertical-align:top;color:#fff;font-size:15px;}
#footer .footer-h{max-width:890px;margin:0 auto;overflow:hidden;}
#footer .site{float:right;width:154px;height:41px;text-indent:-9999px;overflow:hidden;margin:0 0 0 -100%;background:url(assets/img/site.gif) no-repeat;}

/* Image Alignment */
img{max-width:100%;height:auto;}
img.aligncenter {margin-bottom:0;display:block;margin-left:auto;margin-right:auto;}
img.alignright {display:inline;margin:0 0 10px 10px;padding:0}
img.alignleft {display:inline;margin:0 10px 10px 0;padding:0}
.alignright {float:right}
.alignleft {float:left}

/* 2.7+ Comments */
#comments_wrap ol {list-style:none}
#comments_wrap ol li {border-bottom:1px solid #CCC;margin:0 0 5px}
#comments_wrap .commentmetadata {margin:0 0 10px}
#comments_wrap .comment-author {border-bottom:1px solid #CCC;width:100%;overflow:hidden;padding:0 0 3px;line-height:32px;}
#comments_wrap .comment-author img {float:left;margin:0 10px 0 0}
#comments_wrap .comment-author cite {font-weight:bold}

/* Captions */
.wp-caption {background:#f3f3f3;border:1px solid #ddd;border-radius:3px;margin:10px;padding-top:4px;text-align:center}
.wp-caption img {border:0 none;margin:0;padding:0}
.wp-caption p.wp-caption-text {font-size:11px;line-height:17px;margin:0;padding:0 4px 5px}

/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	        border-radius: 4px;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url(assets/img/fancybox_sprite.png);
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url(assets/img/fancybox_loading.gif) center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url(assets/img/blank.gif); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    overflow: visible !important;
    width: auto;
}

.fancybox-lock body {
    overflow: hidden !important;
}

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: url(assets/img/fancybox_overlay.png);
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	   -moz-border-radius: 15px;
	        border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}
#main .gallery  img {border:none!important;}
#main .gallery .gallery-item{    margin: 0 1.5% 20px;float: left!important;width: 22%;}
#main .gallery .gallery-item a{display:block; border: 1px solid #cdcdcd!important;
    -webkit-border-radius: 10px!important;
    border-radius: 10px!important;
    -webkit-box-shadow: 0 0 6px 0 rgba(0,0,0,0.1);
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.1);padding:10px;}
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } 
.embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
#main .gallery .gallery-item .gallery-caption{margin-top:10px;}
/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){

	#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
		background-image: url(assets/img/fancybox_sprite@2x.png);
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancybox-loading div {
		background-image: url(fancybox_loading@2x.gif);
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}

/* hide original element */
.jcf-hidden {
	display: block !important;
	position: absolute !important;
	left: -9999px !important; /* change to right: -9999px on RTL sites */
}

/* custom select styles */
.select-area {
	background:#fff;border:1px solid #000;
	position: relative;
	overflow: hidden;
	cursor: default;
	height:30px;
	float: left;
	font:17px/20px 'Roboto', Arial, sans-serif;
	color:#000;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;width:100%!important;
}
.select-area .center {
	white-space: nowrap;
	padding:5px 10px;
	display:block;
}
.select-disabled {
	background: #eee;
}
.select-area .select-opener {
	background: #fff;
	position: absolute;
	height:30px;
	cursor:pointer;
	width: 33px;
	right: 0;
	top: 0;
	background:url(assets/img/bg-select.png) no-repeat 0 50%;
}
.select-options {
	position: absolute;
	overflow: hidden;
	background: #fff;
	z-index: 2000;
}
.select-options .drop-holder {
	border: 1px solid #000;
	overflow: hidden;
	height: 1%;
}
.select-options ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.select-options ul li {
	width: 100%;
	font:17px/20px 'Roboto', Arial, sans-serif;
	float: left;
}
.select-options ul a {
	text-decoration: none;
	padding: 5px 10px;
	display: block;
	cursor: default;
	color: #000;
	height: 1%;
}
.select-options .item-selected a {
	text-decoration: none;
	background: #000;
	color: #fff;
	cursor:pointer;
}
@media only screen and (max-width: 980px) {
	#header .header-h{padding-left:20px;padding-right:20px;}
	#footer .footer-h,
	#main{padding:0 20px}
	#main .list{text-align:center;margin:0;}
	#main .list li{margin:0 10px}
}
@media only screen and (max-width: 767px) {
	#logo{width:220px;margin:0 auto 18px}
	#nav{padding:0}
	#header .header-h{text-align:center;}
	#nav li{margin:0 5px;float:none;display:inline-block;vertical-align:top;}
	#main > .gform_wrapper,
	#main > .left{float:none;width:100%}
	#main dt{float:none}
	#footer .site{float:none;display:block;margin:0 auto 10px}
	img.alignright,
	img.alignleft{float:none;margin:0 auto 10px}
	#main .gallery .gallery-item{width:47%}
	#main .gallery .gallery-item img{max-width:90%}
	#main .gallery br{display:none;}	
}

@media only screen and (max-width:375px){
	#main .gallery{text-align: center;}
	#main .gallery .gallery-item{width:100%;margin:0 0 20px;}
	/*#main .gallery .gallery-item:nth-child(2n){margin-right:0!important;width:48%;display:inline-block;}*/
	#main .gallery .gallery-item a {border: 1px solid #cdcdcd!important;padding: 10px;-webkit-border-radius: 10px!important;border-radius: 10px!important;-webkit-box-shadow: 0 0 6px 0 rgba(0,0,0,0.1);box-shadow: 0 0 6px 0 rgba(0,0,0,0.1);}
	#main .gallery .gallery-item img{border:0!important;-webkit-border-radius:0!important;border-radius: 0!important;    -webkit-box-shadow:none!important;box-shadow:none!important;max-width:100%;width:100%;height:auto;}
}