/*
Theme Name: PIRCH 2013
Description: A custom theme designed especially for PIRCH
Version: 01101101
Author: BinaryM Inc.
Author URI: http://binarym.com/

*/

/* @group RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.group:after {
	content: "";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	overflow:hidden;
}

/* @end */

/* @group GLOBALS */

body, html {
	min-height:100%;
}

body {
	line-height: 1;
	font-family: "locator-web", verdana, sans-serif;
	font-size: 75%;
	color: #666d63;
	background:#fff url(assets/images/bg-body-pirch.png) top left fixed;
	-webkit-text-size-adjust: 100%;
}
	
/* @end */	

/* @group Layout */

#wrapper {
	width: 1150px;
	margin: 0 auto;
	background:#fff;
	height:100%;

	-webkit-box-shadow:0 0 20px 3px rgba(0,0,0,.25);
	-moz-box-shadow:0 0 20px 3px rgba(0,0,0,.25);
	box-shadow:0 0 20px 3px rgba(0,0,0,.25);
}
#header {
	height:245px;
}
#header .gutter {
	padding:115px 120px 0 52px;
}
#topcontent {
	margin:0;
	padding:0;
	float:right;
	letter-spacing:.15em;
	font-size:.9em;
}
#nav {
	width:315px;
	float:left;
}	
#nav .gutter {
	padding:0 0 0 80px;
}
#content {
	width:765px;
	max-height: 999999px; /* fix for android font boosting */
	float:right;
	background:transparent url(assets/images/content-side-pirch.png) top right no-repeat;
}
#content .gutter {
	padding:0 120px 130px 0;
}
#content .content {
	min-height:463px;
}
#footer {
	padding:50px 0 0 0;
	clear:both;
}
	/* @end */	

/* @group TYPOGRAPHY */
	
a, a:visited {
	text-decoration: none;
	color: #666d63; 
}
	
a:hover {
	text-decoration: underline;
	color: #666d63; 
}
	
h1 {
	font-size: 1.75em;
	font-weight: bold;
	font-style: italic;
	letter-spacing: .055em; 
}
	
h2 { 
	font-size: 1.575em;
	text-decoration: none;
	margin: 1.0em 0em .2em 0em;
	line-height: 1.2em; 
	font-weight:100;
}
	
h3 {
	font-size: 1.2em;
	letter-spacing:.25em;
	text-transform:uppercase;
	margin: 1.2em 0;
	font-weight: normal;	
}
	
h4 {
	text-transform:uppercase;
		letter-spacing:.25em;
	font-size: 1.05em;
	margin: 1.2em 0;
	font-weight: 700;	
}
	
h5 {
	font-size: 1.0em;
	text-transform:uppercase;
		letter-spacing:.15em;	
	margin:0;
	font-weight: bold;	
}
	
h6 {
	font-size: 0.8em;
	margin: 1.2em 0;
	font-weight: bold;	
}
	
img {
	border: 0;	
}
	
ol, ul, li {
	font-size: 1.0em;
	line-height: 1.8em; 	
}
	
ol, ul {
	margin:1em 3em;
}

p {
	font-size: 1.0em;
	line-height: 1.8em;
	margin: 1.2em 0;	
}

/* headline + body for Name Change page */
h5 + p {
	margin-top:.25em;
}

	
strong, b {
	font-weight: bold;	
}
	
		
blockquote {
	margin:10px 30px;
	padding:0 10px;
	border-left:2px solid #ccc;
}



/* @end */
	
/* @group Header */

#logo {
	float:left;
	margin:0;
	padding:0;
	width:270px;
	height:72px;
}
#logo a {
	display:block;
	text-indent:-1000em;
	overflow:hidden;

	width:270px;
	height:36px;
	background:transparent url(assets/images/logo-pirch.png) center center no-repeat;
	-webkit-background-size: contain;
	-moz-background-size: contain;
	background-size: contain;
}

/* @end */
		
/* @group NAV */
	
.primary-nav {
	list-style:none;
	margin:0;  
}
.primary-nav li {
	margin-bottom:1.35em;
}
.primary-nav li a {
	text-transform:uppercase;
	letter-spacing:.15em;
	font-size:.875em;
	text-decoration: none; 
}
	
.primary-nav li a:hover,
.primary-nav li.current_page_item a, 
.primary-nav li.current_page_item a:visited, 
.primary-nav li.current_page_item a:hover,
.primary-nav li.current_page_parent a, 
.primary-nav li.current_page_parent a:visited, 
.primary-nav li.current_page_parent a:hover,
.primary-nav li.current-page-ancestor a, 
.primary-nav li.current-page-ancestor a:visited, 
.primary-nav li.current-page-ancestor a:hover {
	font-weight: 600;
	text-decoration: none; 
}

.post-type-archive-video .primary-nav li.menu-item-32 a,
.single-video .primary-nav li.menu-item-32 a,
.single-location .primary-nav li.menu-item-32 a {
	font-weight: 300;
}

#content-left .pirchlist {
	float:none;
	margin:0 0 0 115px;
}
#content-left .pirchlist li {
	padding:0;
	margin-bottom:2.5em;
	float:none;
	text-align:left;
	border:0;
	font-size:.875em;
	width:100%;
	float:none;	
}
#content-left .pirchlist li.current_page_item a,
#content-left .pirchlist li a:hover {
	font-weight:700;
	text-decoration:none;
	
}

  	/* @end */
  
/* @group Content */


#content a {
	color:#005B99;
}

#content a.border1 {
	border-bottom:1px dotted #666d63;
	color:#666d63;
}
#content a.border1:hover {
	border-bottom:1px solid #666d63;
	text-decoration: none;
}
#content a.border2 {
	border-bottom:1px dotted #005B99;
	color:#666d63;	
}
#content a.border2:hover {
	border-bottom:1px solid #005B99;	
	text-decoration: none;
}
#content a.border3 {
	border-bottom:1px dashed #666d63;
	color:#666d63;
}
#content a.border3:hover {
	border-bottom:1px solid #666d63;
	text-decoration: none;
}

#content a.border4 {
	border-bottom:3px double #666d63;
	color:#666d63;
}
#content a.border4:hover {
	border-bottom:1px double #666d63;
	text-decoration: none;
}

#content a.border5 {
	border-bottom:2px solid #666d63;
	color:#666d63;
}
#content a.border5:hover {
	border-bottom:1px solid #666d63;
	text-decoration: none;
}

#content a.underline {
	color:#666d63;
	text-decoration: underline;
}
#content a.underline:hover {
	color:#005B99;
	text-decoration: none;
}

#content a.underline2 {
	text-decoration: underline;
}
#content a.underline2:hover {
	text-decoration: none;
}

#content a.background {
	color:#fff;
	background:#666d63;
}
#content a.background:hover {
	background:#a7b029;
	text-decoration: none;
}
#content a.green {
	color:#a7b029;
	text-decoration: underline;
}
#content a.green:hover {
	text-decoration: none;
}

#content a.shadow {
	color:#666d63;
	text-shadow:1px 1px 0 #a7b029;
}
#content a.shadow:hover {
	text-shadow:1px 1px 4px #a7b029;
	text-decoration:none;
}


#content-left {
	width:265px;
	float:left;
	margin-bottom:20px;
}
#content-right {
	width:325px;
	margin-left:55px;
	float:left;
}
#content-right > p,
#content-right > .comingsoon p {
	margin-top:0;
	padding-top:0;
}


#slides, #slides img {
	width:646px;
	height:463px;
}

#slides .slides {
	margin:0;
	padding:0;
	list-style:none;
}
#slides .slides li {
	margin:0;
	padding:0;
}

.vendor-wrap {
	white-space:nowrap;
}
.vendor-carousel {
	float:right;
	position:relative;
	width:600px;
}
.vendor-list {
	
	float:right;
	margin:0 25px 25px 0;
	width:550px;
}
.vendor-carousel .controls a {
	position:absolute;
	top:0;
}
.vendor-carousel .controls a.prev-page {
	left:0;
}
.vendor-carousel .controls a.next-page {
	right:0;
}
.pirchlist {
	list-style:none;
	margin:3em 0;
	padding:0;
	overflow: hidden;
}
.pirchlist li {
	width:33%;
  float:left;
  text-transform:uppercase;
  padding-bottom:1.1em;
}
.flexlist .slides li,
.vendor-list li {
	float:left;
	text-align:center;
	border-right:1px solid #666d63;
	text-transform: uppercase;
	line-height:1.2em;
	padding:0 12px;
}

.pirchlist li:last-child {
	padding-right:0;
	border-right:0;
}
.pirchlist li:first-child {
	padding-left:0;
}


.flexlist {
	width:600px;
	margin-bottom:50px;
}
.flexlist .slides {
	margin:0;
	padding:0;
	width:600px;
	list-style:none;
}
.flexlist .slides li {
	width:auto;
	padding:0 10px;
}
.flexlist .flex-prev, .flexlist .flex-next {
	line-height:1;
}
.pirchevents {
	width:100%;
	float:left;
}
.pirchevents dt {
	width:140px;
	margin-bottom:30px;
	float:left;
	clear:left;
}
.pirchevents dd {
	float:left;
	width:500px;
	margin-bottom:30px;
}
.pirchevents dd span {
	padding:0 5px;
}
.pirchevents dd p {
	margin:.5em 0 0 0;
}
.pirchactivations {
	width:100%;
	float:left;
	margin:.5em 0 2em;
}
.pirchactivations dt {
	width:100px;
	margin-bottom:15px;
	float:left;
	clear:left;
}
.pirchactivations dd {
	float:left;
	width:540px;
	margin-bottom:15px;
}


#pirchtagline {
	font-size:1.575em;
	margin:55px 0 65px 0;
	letter-spacing:.083333em;
	text-transform: none;
	text-align:right;
	color:#a7b029;
}
#pirchtagline span {
	color:#666d63;
}

#videos {
	margin-bottom:50px;
}
.video {
	width:142px;
	height:170px;
	float:left;
	margin:0 25px 0 0;
	text-transform:uppercase;
	line-height: 1.5em;
	letter-spacing:.2em;
	position:relative;
}
.video .play {
	position:absolute;
	top:0;
	left:0;
}
.video:nth-child(4n+4) {
	margin-right:0;
}

body .gform_wrapper h2.gsection_title {
	font-weight:700;
	font-size:1.05em;
}
body .gform_wrapper .gfield .gfield_label {
	font-weight:normal;
}
body .gform_wrapper .top_label li.gfield.gf_right_half {
	width: 48%;
}
body .gform_wrapper .top_label li.gfield.gf_right_half {
		margin-right:8px;
}
body .gform_wrapper .top_label .textarea.medium {
	width:98%;
}
#input_3_4_5_container {
	float:right;
	width:305px;
	margin-right:4px;	
}
#gform_wrapper_10 input[type="submit"] {
	  background: #bdc92f;
	  border: 0;
	  color: #fff;
	  text-transform: uppercase;
	  padding: 4px 15px;
	  cursor: pointer;
}

.recipe-left {
	width:235px;
	float:left;
}
.recipe-right {
	width:350px;
	float:right;
}

.navigation {
	margin-top:50px;
}
.navigation + p {
	margin-top:50px;
}

/*
	Page Template - Landing
*/

.page-template-page-template-landing-php #topcontent,
.page-template-page-template-landing-php #pirchtagline,
.page-template-page-template-landing-php #footer {
	display:none; 
}
.page-template-page-template-landing-php #content {
	background-image:none; 
}
.page-template-page-template-landing-php #content > .gutter {
	margin:0;
	padding:0;
}
.page-template-page-template-landing-php #slides,
.page-template-page-template-landing-php #slides img {
	width:765px;
	height:auto;
}
.page-template-page-template-landing-php #slides {
 margin:4em 0; 
}
.landing-header {
	margin-top:0;
	line-height:2.65em;	
	font-size:1.42em;
	text-align:center;
}


/*
	Link Color to Text Color
*/
#content .pirchlist a,
#content .flexlist .slides a,
#content .vendor-list a,
#content .vendor-carousel a,
#content h4 a,
#content .video a {
	color:#666d63;
}

/* @end */

/* Product Styling */

.kitchen #content {
	background-image:url(assets/images/content-side-kitchen.png);
}
.bath #content {
	background-image:url(assets/images/content-side-bath.png);
}
.outdoor #content {
	background-image:url(assets/images/content-side-outdoor.png);
}

.kitchen #pirchtagline .kitchen {
	color:#fec433;
}
.bath #pirchtagline .bath {
	color:#77cab8;
}
.outdoor #pirchtagline .outdoor {
	color:#f28c55;
}


/* @end */

	
/* @group FOOTER */

#footer {
	font-size:.875em;
}
.footer-nav {
	list-style:none;
	margin:0 0 70px 0;
	padding:0;
	float:right;
}
.footer-nav li {
	float:left;
	margin-left:100px;

}

#content .footer-nav li a {
	padding-top:50px;
	background:transparent url(assets/images/icons-footer-nav.png) 0 -80px no-repeat;
	background-size:493px 120px;
	min-width:40px;
	text-align:center;
	text-transform:uppercase;
	text-decoration:none;
	font-weight:500;
	display:block;
	color: #666d63;
}
#content .footer-nav li.discover a {
	background-position:8px -80px;
}

.page-discover #content .footer-nav li.discover a,
#content .footer-nav li.discover a:hover {
	background-position:8px 1px;
}
#content .footer-nav li.watch a {
	background-position:-166px -80px;
}
.post-type-archive-video #content .footer-nav li.watch a,
.single-video #content .footer-nav li.watch a,
#content .footer-nav li.watch a:hover {
	background-position:-166px 1px;
}
#content .footer-nav li.find a {
	background-position:-306px -80px;
}
.page-find #content .footer-nav li.find a,
.single-location #content .footer-nav li.find a, 
#content .footer-nav li.find a:hover  {
	background-position:-306px 1px;
}
#content .footer-nav li.go a {
	background-position:-454px -80px;
}
.page-go #content .footer-nav li.go a,
#content .footer-nav li.go a:hover {
	background-position:-454px 1px;
}

p.share {
	background:transparent url(assets/images/pirch-p.png) center left no-repeat;
	background-size:25px;
	display:inline-block;
	width:200px;

	float:right;
	padding:10px 0 10px 40px;

	clear:both;
}
p.share a {
	text-decoration:none;
	padding:0 .15em;
}
.addthis_toolbox {
	float:right;
	width:40px;
}


	/* @end */

/* @group Support Styles */

.uppercase {
	text-transform: uppercase;
}

.textwidget {
	margin-bottom:20px;
	margin-top:20px; 
}
				
.clear {
	clear: both; 
}
	
#tags {
	margin-bottom:35px; 
}
	
.alignright {
	float:right;
}
.alignleft {
	float:left;
}
.aligncenter {
	text-align:center;
}

img.alignright {
	margin:0 0 10px 10px;
}
img.alignleft {
	margin:0 10px 10px 0;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 4px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption-dd {
	padding: 0 4px 5px;
	margin: 0;
}


/* @end */

/* @group Lightbox Template */
	
	.page-template-page-lightbox {
		background: none;
		width: 400px;
		margin: 0 auto;
	}
	
	.lightbox-body {
		background: none;
	}
	
	.lightbox-wrapper {
		width: 400px;
		margin: 0 auto;
	}


/* Necessary CSS */
.vendor-list	{ overflow:hidden; position:relative; }
.vendor-list ul { margin:0; padding:0; }
.vendor-list li { float:left; margin:0 5px 0 0; list-style:none; }
/* IE6 issues */
.vendor-list ul { width:100%; }


/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

 
/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider {margin: 0; background: #fff; border: 0; position: relative; zoom: 1;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 5px}


/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a {width: 30px; height: 67px; margin: 0; display: block; background: url(assets/images/icons-gallery-nav.png) no-repeat 0 0; position: absolute; top: 197px; z-index: 10; cursor: pointer; text-indent: -9999px; opacity: .8; -webkit-transition: all .3s ease;}

.flex-direction-nav .flex-next {background-position: 100% 0; right: 30px;}
.flex-direction-nav .flex-prev {left: 30px;}

.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

.flexlist {
	position:relative;
}
.flexlist .flex-direction-nav a {
	top:0;
	width:20px;
	height:20px;
	text-indent:0;
	opacity:.75;
	text-decoration:none;
}
.flexlist .flex-direction-nav a:hover {
	opacity:1;
}
.flexlist .flex-direction-nav .flex-next {
	right:-30px;
}
.flexlist .flex-direction-nav .flex-prev {
	left:-30px;
}

/* Control Nav */
.flex-control-nav { position: absolute; top: -60px; right:0; text-align: center; }
.flex-control-nav li {margin: 0 9px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 5px; height: 5px; display: block; background: #666d63; cursor: pointer; text-indent: -9999px; -webkit-border-radius: 10px; -moz-border-radius: 10px; -o-border-radius: 10px; border-radius: 10px; }

.flex-control-paging li a:hover, .flex-control-paging li a.flex-active { background: #c0ca32;  cursor: pointer; }

.flex-pauseplay {
	position:absolute;
	top:-63px;
	right:-14px;
	display:block;
	width:9px;
	height:12px;
	cursor: pointer; 
}

.flex-pauseplay a {
	display:block;
	background:transparent url(assets/images/icons-play-pause.png) 0 0 no-repeat;
	text-indent:-1000em;
	overflow:hidden;
}
.flex-pauseplay a:hover {
	background-position:-18px 0;
}
a.flex-play {
	background-position:0 -23px;
}
a:hover.flex-play {
	background-position:-18px -23px;
}

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  .flex-direction-nav .flex-next {opacity: 1; right: 0;}
}


@media screen and (-webkit-min-device-pixel-ratio:0) {
	.flex-control-nav { top: -68px;) }
}

/*! 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;
	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;
	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/images/fancybox/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/images/fancybox/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/images/fancybox/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('assets/images/fancybox/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;
	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('assets/images/fancybox/fancybox_sprite-2x.jpg');
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

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