/*
	Theme Name: Ardfert Quarry
	Description: Ardfert Quarry website template
	Author: getso.pl
*/
/* ---------------------------
	reset
--------------------------- */
abbr, address, article, aside, audio, b, blockquote, body, canvas,
caption, cite, code, dd, del, details, dfn, div, dl, dt, em, fieldset,
figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup,
html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav,
object, ol, p, pre, q, samp, section, small, span, strong, sub, summary,
sup, table, tbody, td, tfoot, th, thead, time, tr, ul, var, video { margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline; background-color: transparent; }
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { display: block; }
address, cite, q, dfn { font-style: normal; }
h1, h2, h3, h4, h5, h6 { font-weight: bold; line-height:1; }
a, ins, del { text-decoration:none }
q, blockquote { quotes: none; }
th, td {  vertical-align: top; }
th { text-align: left; }
nav li { display:block; list-style:none; }
img { display:inline-block; max-width:100%; height:auto; }

/* Forms */
button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;}
button,input{*overflow:visible;line-height:normal;}
button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0;}
button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}
input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield;}
input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none;}
textarea{overflow:auto;vertical-align:top;}
label,input,button,select,textarea{font-size:14px;font-weight:normal;line-height:20px;}
input,button,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;}
label{display:block;margin-bottom:5px;}
select,textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{display:inline-block;height:20px;padding:4px 6px;font-size:14px;line-height:20px;color:#555555;vertical-align:middle;}
textarea{height:auto;}
input[type="radio"],input[type="checkbox"]{margin:4px 0 0;*margin-top:0;margin-top:1px \9;line-height:normal;cursor:pointer;}
input[type="file"],input[type="image"],input[type="submit"],input[type="reset"],input[type="button"],input[type="radio"],input[type="checkbox"]{width:auto;}
select,input[type="file"]{height:33px;*margin-top:4px;line-height:1;}
select{border:1px solid #cccccc;background-color:#ffffff;}
select[multiple],select[size]{height:auto;}
select:focus,input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;}
input:focus:invalid,
textarea:focus:invalid,
select:focus:invalid { color: #b94a48; border-color: #ee5f5b; }
input:focus:invalid:focus,
textarea:focus:invalid:focus,
select:focus:invalid:focus {  border-color: #e9322d;  -webkit-box-shadow: 0 0 6px #f8b9b7;  -moz-box-shadow: 0 0 6px #f8b9b7;  box-shadow: 0 0 6px #f8b9b7; }


/* --------------------------
	default
-------------------------- */
@font-face {
    font-family: 'fs_joeybold';
    src: url('fonts/fsjoey-bold-webfont.eot');
    src: url('fonts/fsjoey-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/fsjoey-bold-webfont.woff') format('woff'),
         url('fonts/fsjoey-bold-webfont.ttf') format('truetype'),
         url('fonts/fsjoey-bold-webfont.svg#fs_joeybold') format('svg');
    font-weight: normal;
    font-style: normal;
}
html {
	overflow-y: scroll;
}
body {
	background: #fff;
	font: 15px/18px arial, tahoma, serif;
}
a {
    text-decoration: none;
	color: #fdb813;
}
a:hover {
	color: #66bde7;
    text-decoration: underline;
}
h1 {
    font-size: 22px;
	line-height: 20px;
	padding: 0 0 20px 0;
}
h2 {
    font-size: 20px;
	line-height:26px;
	padding: 15px 0;
}
h3 {
    font-size: 18px;
	line-height:20px;
	padding:20px 0 10px 0;
}
h4 {
	font-size: 14px;
	line-height:18px;
	padding:10px 0;	
}
p {
    margin: 0;
    padding: 0 0 20px;
}
h1,
h2,
h3,
h4 {
	color:#fdb813;
}
h1 a,
h2 a,
h3 a,
h4 a {
	color:inherit;
}
table { 
	border-collapse:collapse; 
	width:100%;
}
td,
th {
	padding:3px 20px 3px 0;
}
td a {
	display:inline-block;
	padding-right:20px;
	background:url(images/icon-download.png) right center no-repeat;
}
.tab-pane ul,
article ul,
article ol {
	padding:0 0 10px 22px;
}
.tab-pane li,
article li,
article li {
	padding:1px 0;
}
hr {
	border:0;
	height:3px;
	background:#888;
	margin:20px 0 10px 0;
}


/* --------------------------
	layout
-------------------------- */
#header {
	margin:0 40px;
	padding:10px 0;
	position:relative;
}
#header h1 {
	padding:0;
}
#header h1 a {
	display: block;
	width: 140px;
	height: 140px;
	background:url(images/ardfert-logo.png);
	text-indent: -9999px;
}
#header div {
	font-size:22px;
	line-height:35px;
	position:absolute;
	right:0;
	top:30px;
	font-weight:bold;
	color: #777;
	text-align: right;
}
#header div strong {
	color: #fdb813;
	font-size:33px;
}
#header nav {
	position:absolute;
	right:0;
	bottom:0;
}
#header nav li {
	display: block;
	float: left;
	position:relative;
	padding: 10px 0;
}
#header nav a {
	display: block;
	padding:0 20px;
	border-right: 1px solid #444;
	color: #58595b;
	font-size: 15px;
	line-height: 1;
	text-decoration:none;
}
#header nav li:last-child a {
	border: 0;
	padding-right:0;
}
#header nav .active > a,
#header nav li > a:hover {
	color: #fdb813;
}
#header nav ul ul {
    display: none;
    position: absolute;
    top: 35px;
    left: 50%;
	margin-left:-100px;
    z-index: 9999;
	width: 200px;
}
#header nav ul ul li {
	float: none;
	padding: 0;
	text-align: center;
	border-bottom: 1px solid transparent;
}
#header nav ul ul a {
	padding: 6px 0;
	background: #000;
	background: rgba(0,0,0,.7);	
	border-right: 0;
	color: #fff;
	font-size: 14px;
	line-height: 18px;
}
#header nav li:hover ul {
    display: block
}

#nav li {
	position:relative;
	display:block;
	border-bottom:3px solid #dba011;
}
#nav li:last-child {
	border:0;
}
#nav a {
	background:#fdb813;
	color:#fff;
	font-size:14px;
	line-height:18px;
	display:block;
	padding:10px;
}
#nav > ul > li:hover > a {
	background:#555;
}
#nav a:hover {
	text-decoration:none;	
}
#nav ul ul {
    display: none;
    position: absolute;
    top: 0;
    left: 120px;
    z-index: 9999;
	width: 170px;
}
#nav ul ul li {
	float: none;
	border:0;	
	margin-bottom:1px;
}
#nav ul ul a {
	font-size:15px;
	padding: 6px 10px;
	background: #000;
	background: rgba(0,0,0,.7);	
	color: #fff;
}
#nav ul ul a:hover {
	color:#fdb813;
}
#nav li:hover ul {
    display: block
}

#main {
	padding:0 40px 30px 40px;
}

#content {
	padding:30px 40px;
}

aside {
	padding:30px 0;
}
aside h5 {
	margin-bottom:10px;
}
aside ul {
	margin-bottom:30px;
}
aside li {
	display:block;
	list-style:none;
}

#footer {
	border-top:6px solid #fdb813;
	background:url(images/footer-certs.png) 783px center no-repeat;
	padding: 20px 40px;
	font-size: 11px;
	line-height: 14px;
	color: #888;
}
#footer .vcard {
	float:left;
	width:330px;
}
#footer .related {
	font-size:13px;
	display:block;
	float:left;
	line-height:20px;
}
#footer img {
	display:block;
}


/* --------------------------
	specific
-------------------------- */
.clearfix:before,
.clearfix:after {
    content: "\0020";
    display: block;
    height: 0;
    visibility: hidden;
}
.clearfix:after {
    clear: both
}
.clearfix {
    zoom: 1
}
.prev,
.next {
    max-width: 49%
}

.nav-below {
	padding: 15px;
}
.nav-below a {
	color: #58b4e5;
}

.hidden {
	display:none;
}

.aligncenter {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
.prev,
.alignleft {
    float: left;
    text-align: left;
}
.next,
.alignright {
    float: right;
    text-align: right;
}
.alignleft {
    margin: 0 15px 0 0
}
.alignright {
    margin: 0 0 0 15px
}

.boxes {
	margin-left:-13px;
}
.boxes section {
	float: left;
	position: relative;
	width: 170px;
	min-height:200px;
	margin-left: 13px;	
	text-decoration:none;
}
.boxes a {
	display:block;
	text-decoration:none;
}
.boxes img {
	margin-bottom:10px;
	display:block;
	-webkit-border-radius:0 0 10px 10px;
	-moz-border-radius:0 0 10px 10px;
	border-radius:0 0 10px 10px;
}
.boxes h4 {
	font-weight:normal;
	display: block;
	z-index:200;	
	position:absolute;	
	top: 0;
	left: 0;
	padding: 10px;
	width: 150px;
	font-size: 14px;
	line-height: 1;
	color: #fff;
	background: #fdb813;
}

.nav-tabs {
	margin:20px 0 -6px 0;
}
.nav-tabs li {	
	padding-top:0;
	margin-bottom:6px;
	margin-right:10px;
	background:#fff;
	display:inline-block;
	list-style:none;
	border:1px solid #ddd;
	border-bottom:0;
	box-shadow:0 -2px 5px #ddd;	
	-webkit-border-radius: 10px 10px 0 0;
	-moz-border-radius: 10px 10px 0 0;
	border-radius: 10px 10px 0 0;
	font-weight: bold;
}
.nav-tabs a {
	text-decoration:none;
	display:block;
	padding:10px 15px;
}
.nav-tabs .active {
	padding-bottom:6px;
	margin-bottom:0;
}
.nav-tabs a:hover,
.nav-tabs .active a {
	color: #fdb813;
}
.tab-content > .tab-pane {
	padding:10px;
	display:none;
}
.tab-content >.active {
  display: block;
}

.page-title {
	padding:20px 40px;
	border-bottom:6px solid #fdb813;
}
.page-title h1 {
	padding:0;
	font-size:18px;
	color:#fdb813;
}
.has-tabs {
	padding-bottom:0;
}

.post {
	margin:0 10px;
	padding:20px 30px;
}
.post-listing p {
	display: inline;
}
.post .more {
	color:#fdb813;
}
.post-listing {
	border-bottom:4px solid #aaa;	
}
.post-thumb div {
	padding-left:160px;
}
.post-thumb img {
	float:left;
	margin-left:-160px;
}


/* --------------------------
	grid
-------------------------- */
#container { 
	border-top: 10px solid #fdb813;	
	position:relative; 
	width: 940px; 
	margin: 0 auto; 
}
.col1 {
	float:left;
	width:120px;
}
.col2 {
	float:right;
	width:720px;
}
.col2-1 {
	float:left;
	width:560px;
}
.col2-2 {
	float:right;
	width:140px;
}


/* --------------------------
	plugins
-------------------------- */
/* BxSlider */
.intro {
    font-family: 'fs_joeybold';	
	margin-bottom:10px;
	height: 455px;	
	overflow:hidden;
	text-shadow:0 0 10px #333;
}
.intro li {
	list-style:none;
	width:100%;		
	height: 455px;	
	display:block;
	position:relative;
}
.intro li .inner {
	position:absolute;
	top:30px;
	left:30px;
	width:500px;
	font-size:30px;
	line-height:36px;
	color:#fff;
}
.bx-wrapper {
	position: relative;
	padding: 0;
	*zoom: 1;
}
.bx-wrapper img {
	max-width: 100%;
	display: block;
}
.bx-wrapper .bx-loading {
	min-height: 50px;
	background: url(images/bx_loader.gif) center center no-repeat #fff;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2000;
}
.bx-controls {
	position: absolute;
	bottom: 15px;
	left: 0;
	z-index: 9999;
	width: 100%;
	height: 15px;
	text-align: center;
}
.bx-pager-item {
	display: inline-block;
}
.bx-pager-item a {
	display: block;
	width: 15px;
	height: 15px;
	background: #fff;
	margin: 0 2px;
	text-indent: -9999px;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
}
.bx-pager-item .active,
.bx-pager-item a:hover {
	background: #fdb813;
}


/* Contact Form 7 */
.wpcf7 {
	width:400px;
	font-size:12px;	
}
.wpcf7 p { 
	position:relative; 
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea { 
	width:390px;
	border:1px solid #aaa;
}
.wpcf7 label {
	float:left;
	width:100px;
	font-size:12px;
	font-weight:bold;
}
.wpcf7 select {
	padding-right:0;
}
.wpcf7 textarea {
	height:160px;
}
.wpcf7 .wpcf7-submit {
	display:inline-block;
	background:#616264;
	padding:7px;
	width:100px;
	-webkit-border-radius: 10px;	
	-moz-border-radius: 10px;	
	border-radius: 10px;	
	border:0;
	color:#fff;
	font-weight:bold;
}
.wpcf7 .wpcf7-submit:hover {
	background:#fdb813;
}
.wpcf7-response-output { 
	padding: 15px 5%;
	width:90%;	
	font-size:14px;
	text-align:center; 
}
.wpcf7-mail-sent-ok { 
	background:#ccebbc; 
	color:#398f14;
} 
.wpcf7-display-none { 
	display: none; 
} 
.wpcf7-validation-errors { 
	background:#b00; 
	color:#fff; 
} 
.wpcf7-not-valid-tip { 
	-webkit-border-radius:0 15px 15px 15px; 
	-moz-border-radius:0 15px 15px 15px; 
	border-radius:0 15px 15px 15px; 
	position:absolute; 
	top:30px; 
	right:-150px; 	
	z-index:100; 
	font-size:12px;
	display:block; 
	color:#fff; 
	background:#d00; 
	padding:5px 20px; 
	border:none; 
	width:180px; 
} 
.wpcf7-not-valid-tip-no-ajax { 
	color: #f00; 
	display: block; 
} 
.ajax-loader { 
	border: none; 
	vertical-align: middle;  
	display:block; 
	float:right;
}

/*! 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;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	color: #444;
	text-shadow: none;
}

.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 {
	background:#fff;
	background:rgba(255,255,255,.95);	
	overflow: visible !important;
}

.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('images/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('images/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('images/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;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    overflow: hidden !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('images/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);
}

/*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('images/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('images/fancybox_loading@2x.gif');
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}