/* fonts
------------------------------------ */

@font-face {
    font-family: 'FuturaBook';
    src: url('fonts/futura_book-webfont.eot');
    src: url('fonts/futura_book-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/futura_book-webfont.woff') format('woff'),
         url('fonts/futura_book-webfont.ttf') format('truetype'),
         url('fonts/futura_book-webfont.svg#futura_bkbook') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* 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, 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,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
:focus {
	outline:none;
}
input {
    -webkit-appearance: none;
    border-radius: 0;
}

/* General
------------------------------------ */
html, body {
	background: #000000;
	font-family: 'FuturaBook', Arial, Helvetica;
	font-size: 15px;
	color: #ffffff;
	margin: 0;
	padding: 0;
	height: 100%;
	-moz-text-size-adjust: none;
	-webkit-text-size-adjust: none;
}
body {
	overflow-y: scroll;
}
a {
	color: #ffffff;
	text-decoration: none;
	cursor: pointer;
}
input{
	vertical-align: middle;
}
* {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.clear {
	clear: both;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}
.aligncenter {
	text-align: center;
}


/* SPLASH page
------------------------------------ */
#title-page {
	overflow: hidden;
	width: 100%;
	display: none;
	z-index: 10;
	position: fixed;
}
#splash-page {
	color: #ffffff;
}
#splash-page,
#splash-page .slides,
#splash-page .slides li,
#splash-title {
	width: 100%;
	height: 100%;
}
#splash-page {
	position: relative;
}
#splash-page .slides li,
#splash-title {
	position: absolute;
	left: 0;
	top: 0;
}
#splash-page .slides li {
	-webkit-background-size: cover;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;
	display: none;
}
#splash-page .slides li:before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	background: rgba(113, 114, 117, .32);
	width: 100%;
	height: 100%;
}
#splash-1 {
	background-image: url(../img/splash_images/aw_adult_cam2_013.jpg);
	display: block;
}
#splash-2 {
	background-image: url(../img/splash_images/failsworth_meeting_room_053.jpg);
}
#splash-2:before {
	background: rgba(113, 114, 117, .46);
}
#splash-3 {
	background-image: url(../img/splash_images/ss_adult_cam2_037.jpg);
}
#splash-3:before {
	background: rgba(113, 114, 117, .23);
}
#splash-title {
	text-align: center;
	z-index: 10;
}
#splash-page .flex-control-nav {
	position: absolute;
	left: 50%;
	bottom: 207px;
	z-index: 15;
	width: 1280px;
	margin-left: -640px;
	font-size: 20px;
	letter-spacing: 2px;
	word-spacing: 2px;
}
#splash-page .flex-control-nav li {
	width: 33.3%;
	text-align: center;
	float: left;
}
#splash-page .flex-control-nav li:first-child {
	text-align: left;
}
#splash-page .flex-control-nav li:last-child {
	text-align: right;
}
#splash-page .flex-control-nav li a {
	opacity: .5;
	-moz-transition: opacity 1s;
	-ms-transition: opacity 1s;
	-webkit-transition: opacity 1s;
	transition: opacity 1s;
}
#splash-page .flex-control-nav li a.flex-active {
	opacity: 1;
}
#splash-arrow {
	background: url(images/down-arrow.png) no-repeat center center;
	width: 15px;
	height: 50px;
	position: absolute;
	bottom: 98px;
	left: 50%;
	margin-left: -7px;
}
#main-logo {
	position: absolute;
	top: 117px;
	left: 50%;
	margin-left: -232px;
}
#splash-page:after {
	content: '';
	display: block;
	background: url(images/footer-shadow.png) repeat-x 0 0;
	width: 100%;
	height: 270px;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 5;
}

/* HEADER
------------------------------------ */
#header {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 41px;
	background: rgba(0,0,0,.8);
	padding: 16px 0;
	z-index: 100;
}
.page-loaded #header,
.page-loaded #footer-container {
	z-index: 0;
}
.page-loaded #header {
	top: 100%;
}
.page-loaded.content-show #header {
	z-index: 100;
	top: 0;
}
#logo-header {
	width: 212px;
	height: 41px;
	display: block;
	float: left;
}
#header .wrap {
	position: relative;
}
#header-menu-toggle{
	position: absolute;
	right: 50%;
	margin-right: -550px;
	top: 10px;
	font-size: 18px;
	line-height: 20px;
	padding: 0 35px 0 0;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	ms-transition: all .3s;
	transition: all .3s;
	z-index: 15;
	letter-spacing: 2px;
}
#header-menu-toggle:before {
	content: '';
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	width: 25px;
	height: 20px;
	background: url(images/icons.png) no-repeat -49px -127px;
}
#header-menu-toggle.opened{
	margin-right: -464px;
}
#header-nav {
	display: block;
	position: fixed;
	right: 0;
	top: 0;
	bottom: 0;
	margin-left: 300px;
	background: rgba(21, 17, 18, .93);
	width: 300px;
	height: 0;
	overflow: hidden;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	ms-transition: all .3s;
	transition: all .3s;
	-webkit-transition-delay: .2s;
	-moz-transition-delay: .2s;
	-ms-transition-delay: .2s;
	transition-delay: .2s;
	z-index: 10;
}
.header-nav-open #header-nav {
	height: 100%;
}
.nav-close {
	display: block;
	width: 20px;
	height: 21px;
	margin: 26px 20px;
	background: url(images/icons.png) no-repeat -11px -126px;
	float: right;
	opacity: .8;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	ms-transition: all .3s;
	transition: all .3s;
}
.nav-close.show-mobile{
	display: none;
}
.nav-close:hover {
	opacity: 1;
}
#header-nav li a {
	display: block;
	font-size: 17px;
	color: #939598;
	line-height: 46px;
	letter-spacing: 1px;
	padding: 0 15px;
	border-top: 1px solid #a7a9ac;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	ms-transition: all .3s;
	transition: all .3s;
}
#header-nav ul {
	border-bottom: 1px solid #a7a9ac;
	clear: both;
}
#header-nav li a:hover {
	background: #404041;
	color: #ffffff;
}
.social-icon {
	width: 24px;
	height: 24px;
	display: inline-block;
	margin-right: 14px;
}
.social-icon.facebook {
	background: url(images/icons.png) no-repeat 0 -156px;
	width: 16px;
}
.social-icon.twitter {
	background: url(images/icons.png) no-repeat -32px -156px;
}
.social-icon.google {
	background: url(images/icons.png) no-repeat -79px -156px;
	margin-right: 16px;
	width: 28px;
}
.social-icon.pinterest {
	background: url(images/icons.png) no-repeat -126px -156px;
}
.social-icon.facebook.white,
.social-icon.facebook:hover {
	background-position: 0 -180px;
}
.social-icon.twitter.white,
.social-icon.twitter:hover {
	background-position: -32px -181px;
}
.social-icon.google.white,
.social-icon.google:hover {
	background-position: -79px -181px;
}
.social-icon.pinterest.white,
.social-icon.pinterest:hover {
	background-position: -126px -181px;
}
#header-social-links {
	padding: 10px 20px 13px;
	color: #939598;
	border-bottom: 1px solid #a7a9ac;
}
#header-social-links h5 {
	font-size: 15px;
	margin: 50px 0 14px;
	letter-spacing: 1px;
}

/* FOOTER
------------------------------------ */

.slider-view #footer-container{
	display: none !important;
}
#footer-container {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	z-index: 100;
}
.page-loaded #footer-container {
	display: none;
}
.page-loaded.content-show #footer-container {
	position: relative;
	display: block;
}
#footer {
	background: #212020;
	text-align: center;
	font-size: 13px;
	padding: 16px 0 22px;
	letter-spacing: 2px;
	word-spacing: 1px;
	line-height: 1.2;
}
#footer-logo {
	margin: 0 auto 22px;
}
.footer-nav a {
	margin: 0 7px;
}
.footer-nav a:hover {
	text-decoration: underline;
}
#footer-social {
	padding: 18px 0;
	background: #313131;
	position: relative;
}
#footer-social .alignleft {
	position: relative;
	margin-left: 20px;
}
#footer-social .alignright {
	margin-right: 20px;
	position: relative;
}
#footer-social .alignleft a {
	font-size: 13px;
	word-spacing: 2px;
	text-transform: uppercase;
	line-height: 24px;
}
.site-by{
	display:inline-block;
	font-size: 13px;
	word-spacing: 2px;
	text-transform: uppercase;
	line-height: 24px;
}
.footer-like-popup,
.footer-share-popup {
	padding: 5px 10px;
	background: #ffffff;
	position: absolute;
	bottom: 30px;
	border-radius: 1px;
	display: none;
}
.footer-like-popup:after,
.footer-share-popup:after {
	content: '';
	display: block;
	height: 0;
	width: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 7px solid #ffffff;
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -6px;
}
.footer-share-popup {
	left: -35px;
	width: 90px;
	text-align: left;
}
.footer-like-popup {
	left: -40px;
	width: 90px;
	text-align: center;
	line-height: 16px;
}
#footer-social .alignleft .footer-share-popup a {
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	text-transform: none;
	letter-spacing: 0;
	word-spacing: 0;
	font-weight: 600;
}
.footer-share-popup .icon {
	width: 16px;
	height: 16px;
	display: inline-block;
	margin: 0 3px 0 0;
	background: url(images/icons.png) no-repeat -5000px -5000px;
	vertical-align: middle;
}
.footer-share-popup .icon.facebook {
	background-position: -160px -179px;
}
.footer-share-popup .icon.twitter {
	background-position: -160px -158px;
}
.copyright{
margin-bottom: 5px;
}
.footer-nav{
	text-transform: uppercase;
}
.move-top {
    background: #212020;
    display: inline-block;
    height: 62px;
    position: absolute;
    top: -18px;
    right: -40px;
    width: 40px;
}
.move-top:before{
position:absolute;
content: '';
width: 24px;
height: 18px;
background: url(images/icons.png) no-repeat -145px 0;
top:22px;
left:8px;
}

/* HOME page
------------------------------------ */
.wrap {
	max-width: 1200px;
	margin: 0 auto;
}
.wrap:after {
	content: '';
	display: block;
	clear: both;
}
.homepage-section .title-wrap {
	-webkit-background-size: cover;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	position: relative;
}
.touch .homepage-section .title-wrap {
	background-attachment: scroll;
}
.homepage-section .title-wrapd:before {
	content: '';
	display: block;
	background: #110f10;
	opacity: .8;
	z-index: 15;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	-ms-transition: all 1s;
	transition: all 1s;
}
.homepage-section.visible .title-wrap:before,
.homepage-section.open .title-wrap:before,
.homepage-section:hover .title-wrap:before {
	opacity: 0;
	z-index: 1;
}
.touch .homepage-section:hover .title-wrap:before {
	opacity: .8;
}
.homepage-section .title-wrap:after {
	content: '';
	display: block;
	background: url(images/footer-shadow.png) repeat-x 0 0;
	width: 100%;
	height: 270px;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 5;
}
#aw2014 .title-wrap {
	background-image: url(../img/homepage_images/aw2014.jpg);
}
#heritage .title-wrap {
	background-image: url(../img/heritage_images/failsworth_meeting_room_053.jpg);
}
#ss2015 .title-wrap {
	background-image: url(../img/homepage_images/ss2014.jpg);
}
#about .title-wrap {
	background-image: url(../img/homepage_images/about.jpg);
}
#process .title-wrap {
	background-image: url(../img/homepage_images/process.jpg);
}
#ethics .title-wrap {
	background-image: url(../img/homepage_images/ethics.jpg);
}
#failsworth .title-wrap {
	background-image: url(../img/homepage_images/failsworth.jpg);
}
.homepage-section .expanded-content {
	height: 0;
	overflow: hidden;
	display: none;
	-moz-transition: all .65s;
	-webkit-transition: all .65s;
	-ms-transition: all .65s;
	transition: all .65s;
}
.homepage-section.open .expanded-content {
	display: block;
}
#heritage .expanded-content .column {
	color: #ceb49b;
}
#heritage .expanded-content .column.logo,
#heritage .expanded-content .column.text {
	background: #443a50;
}


.title-content {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 40px;
	text-align: center;
	z-index: 10;
	font-size: 18px;
}
.title-content h2 {
	font-size: 75px!important;
	color: #ffffff;
	position: relative;
	margin: 0 0 10px;
	cursor: pointer;
	letter-spacing: 10px;
	text-transform: uppercase;
}
.title-content h2:after {
	content: '';
	display: block;
	width: 65px;
	margin: 40px auto 10px;
	border-top: 1px solid #f5f5f5;
	height: 0;
}
.innerPage .title-content h2 {
cursor: text;
}
.title-content .more-link{
letter-spacing: 2px;
}
.column {
	float: left;
	position: relative;
}
.column-2 {
	width: 50% !important;
}
.column-4 {
		width: 25% !important;
}
.column .show-slider {
	width: 41px;
	height: 42px;
	position: absolute;
	bottom: 5px;
	right: 5px;
	background: url(images/icons.png) no-repeat 0 -73px;
	display: none;
}
.column:hover .show-slider {
	display: block;
}
.column.image {
	cursor: pointer;
	background: url(images/ajax-loader-b.gif) no-repeat center center;
}
.column:after {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: #000;
	z-index: 5;
	opacity: .35;
/*	-webkit-transition: all .6s;
	-moz-transition: all .6s;
	-ms-transition: all .6s;
	transition: all .6s; */
}
.touch .column:after,
.column:hover:after {
	opacity: 0;
}
.image-wrraper {
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    overflow-y:auto;
    background: url(images/ajax-loader-b.gif) no-repeat center;
}
.column.logo img {
	vertical-align: middle;
	max-height: 90%;
	max-width: 80%;
	width: auto;
	height: auto;
}
.homepage-section .column {
	height: 450px;
	text-align: center;
	line-height: 450px;
}
.text-container {
	line-height: 1.2;
	vertical-align: middle;
	display: inline-block;
	width: 80%;
	max-width: 400px;
}
.text-container .cell {
	vertical-align: middle;
	height: 100%;
}
.column.text {
	color: #fff;
}
.column.text h4 {
	font-size: 26px;
	text-transform: uppercase;
	letter-spacing: 3px;
}
.column.text p {
	font-size: 19px;
	text-transform: uppercase;
	margin: 1em 0;
	letter-spacing: 3px;
}
.column.text p:last-child {
	margin-bottom: 0;
}
.column.text .hr {
	margin: 1.5em auto;
	border-top: 1px solid #fff;
	width: 65px;
	height: 0;
}
#heritage .column.text {
	color: #ceb49b;
}
#heritage .column.text .hr {
	border-top-color: #ceb49b;
}
#ss2015 .column.text {
	background-color: #9a9292;
}
#ss2015 .column.blue {
	background-color: #505d67;
}
#ss2015 .column.orange {
	background-color: #c6815f;
}
#aw2014 .column.text {
	background-color: #af4f5b
}
#aw2014 .column.orange {
	background-color: #b78559;
}
#aw2014 .column.maroon {
	background-color: #796c48;
}
#loading-section p {
	color: #ffffff;
	font-size: 85px;
	position: absolute;
	top: 50%;
	margin-top: -40px;
	left: 0;
	width: 100%;
	text-align: center;
}
.content-with-loader .wait-for-load {
	opacity: 0;
	height: 0;
}
.page-loaded .content-with-loader .wait-for-load {
	opacity: 1;
	height: auto;
}
.page-loaded #loading-section {
	opacity: 0;
}
#loading-section {
	color: #413f40;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}
.content-with-loader .wait-for-load,
#loading-section {
	-webkit-transition: 1s opacity;
	-moz-transition: 1s opacity;
	-ms-transition: 1s opacity;
	transition: 1s opacity;
}

.fullscreen-slider {
	background: #413f40;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 50;
	left: 100%;
	-webkit-transition: left 1s;
	-moz-transition: left 1s;
	-ms-transition: left 1s;
	transition: left 1s;
}
.slider-view .fullscreen-slider {
	left: 0;
}
#wrapper-overflow {
	overflow: hidden;
	width: 100%;
	min-height: 100%;
	position: relative;
	background: url(images/ajax-loader-b.gif) no-repeat -1000px -1000px;
}
#homepage #wrapper-overflow,
.page-loaded #header {
	left: 0;
	top: 100%;
	width: 100%;
	z-index: 5;
}
#homepage #wrapper-overflow{
	position: relative;
}
#homepage #wrapper-overflow,
.page-loaded.content-show #header {
	-webkit-transition: top .5s ease-in-out;
	-moz-transition: top .5s ease-in-out;
	-ms-transition: top .5s ease-in-out;
	transition: top .5s ease-in-out;
}
#homepage.content-show #wrapper-overflow {
	top: 0;
}
#homepage #wrapper-overflow section{
	display: none;
}
#homepage.finish-animate #wrapper-overflow section,
#homepage.content-show #wrapper-overflow section:first-child{
	display: block;
}
#homepage.content-show #title-page {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 1;
}
#page-content {
	overflow: hidden;
	width: 100%;
	-webkit-transition: margin-left 1s;
	-moz-transition: margin-left 1s;
	-ms-transition: margin-left 1s;
	transition: margin-left 1s;
	background: #413f40;
}
.header-nav-open #page-content:before {
	content: '';
	display: block;
	background: none;
	opacity: .8;
	z-index: 30;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
.slider-view #page-content {
	margin-left: -100%;
}
.fullscreen-slider .slides li {
	width: 100%;
	height: 100%;
	position: absolute;
	display: none;
	left: 0;
	top: 0;
	background: fixed url(images/ajax-loader-b.gif) no-repeat center center;
}
.fullscreen-slider .slides li.flex-active-slide {
	display: block;
}
.fullscreen-slider .slides li img {
	width: 100%;
	height: auto;
	display: none;
	vertical-align: middle;
}
.fullscreen-slider .flex-direction-nav .flex-prev,
.fullscreen-slider .flex-direction-nav .flex-next,
.fullscreen-slider .flex-direction-nav a {
	width: 27px;
	height: 73px;
	z-index: 70;
	opacity: 1;
	text-indent: -9999px;
	text-align: left;
	position: fixed;
}
.fullscreen-slider .flex-direction-nav .flex-prev, .failsworth-slider .flex-direction-nav .flex-prev {
	background: url(images/icons.png) 0 0;
	left: 28px;
}
.fullscreen-slider .flex-direction-nav .flex-next, .failsworth-slider .flex-direction-nav .flex-next {
	background: url(images/icons.png) -27px 0;
	right: 28px;
}

#splash-page .flex-control-nav li a,
#header-menu-toggle,
#header-nav,
#nav-close,
#header-nav li a,
.homepage-section .title-wrap:before,
.homepage-section .expanded-content,
.column:after,
.content-with-loader .wait-for-load,
#loading-section,
.fullscreen-slider,
#homepage #wrapper-overflow,
.page-loaded.content-show #header,
#page-content {
	/*-webkit-backface-visibility: hidden;*/
	/*backface-visibility: hidden;*/
}


/*
 * jQuery FlexSlider v2.2.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: "\0020"; 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 0 60px; background: #fff; border: 4px solid #fff; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); -o-box-shadow: 0 1px 4px rgba(0,0,0,.2); box-shadow: 0 1px 4px rgba(0,0,0,.2); zoom: 1; }
.flex-viewport { max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-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  { text-decoration:none; display: block; width: 40px; height: 40px; margin: -20px 0 0; position: absolute; top: 50%; z-index: 10; overflow: hidden; opacity: 0; cursor: pointer; color: rgba(0,0,0,0.8); text-shadow: 1px 1px 0 rgba(255,255,255,0.3); -webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease; }
.flex-direction-nav .flex-prev { left: -50px; }
.flex-direction-nav .flex-next { right: -50px; text-align: right; }
.flexslider:hover .flex-prev { opacity: 0.7; left: 10px; }
.flexslider:hover .flex-next { opacity: 0.7; right: 10px; }
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover { opacity: 1; }


/***************** ethics-page ****************/
.fL{float: left;}
.fR{float: right;}
.clearfix:before, .clearfix:after {content: " ";display: table;}
.clearfix:after{clear: both;}
.inner-wrap{max-width: 970px;margin: 0 auto;position: relative;padding: 0 15px;}
.inner-wrap:after {content: '';display: block;clear: both;}
#eth-img .title-wrap{background-image: url(../img/ethics_images/ETHICS.jpg);background-attachment:scroll !important;background-position: center 0 !important;}
#error-img .title-wrap:before, #eth-img .title-wrap:before, #abaut-img .title-wrap:before, #failsworth-img .title-wrap:before, #history-img .title-wrap:before, #process-img .title-wrap:before{opacity: 0;}

#error-img .title-content h2:after, #eth-img .title-content h2:after, #abaut-img .title-content h2:after, #failsworth-img .title-content h2:after, #history-img .title-content h2:after, #process-img .title-content h2:after{content: none;}
#error-img .title-content h2:before, #eth-img .title-content h2:before, #abaut-img .title-content h2:before, #failsworth-img .title-content h2:before, #history-img .title-content h2:before, #process-img .title-content h2:before{border-top: 1px solid #F5F5F5;content: "";display: block;height: 0;margin: 0 auto 40px;width: 65px;}
.title-content h2.no-border:before{
	display:none !important;
}
#eth-img .title-content span, #abaut-img .title-content span, #failsworth-img .title-content span, #history-img .title-content span, #process-img .title-content span{letter-spacing: 3px; font-size: 25px;line-height: 35px;}
.white-bg{background-color: #fff;color: #000;padding: 40px 0;}
.black-bg{background-color: #212020;color: #fff;padding: 70px 0;}
.inner-page h3{font-size: 21px;text-align: center;line-height: 25px;margin-bottom: 20px;letter-spacing: 3px;}
.white-bg.inner-page h3:after{content: '';display: block; width: 100px;height: 1px;background-color: #000;margin: 35px auto 0;}
.black-bg.inner-page h3:after{content: '';display: block; width: 100px;height: 1px;background-color: #fff;margin: 35px auto 0;}
.inner-page h2{font-size: 28px;line-height: 34px;text-align: center;letter-spacing: 3px;}
.inner-page .leftCol, .inner-page .rightCol{width: 48%;}
.inner-page p{font-size: 15px;line-height: 28px;margin-bottom: 28px;}
.ethics-image{background-color: #fff;padding: 0 0 40px;position: relative;}
.ethics-image:after{content: '';left: 0;background-color: #212020;bottom: 0;width: 100%;height: 71%;position: absolute;}
.ethics-image .inner-wrap{z-index: 1;}
.ethics-image .img-container{position: relative;left: -5px;width: 101.2%;margin-bottom: 40px;overflow: hidden;}
.ethics-image .img-container img{margin-left: 2.7%;float: left;width: 31%;padding: 0.21%;background-color: #fff;}
.ethics-image .img-container img:first-child{margin-left: 0;}


/********************* about-page ********************/

#abaut-img .title-wrap{background-image: url(../img/about_images/ABOUT.jpg);background-attachment:scroll !important;background-position: center 0 !important;}
.failsworth-statistics{margin-top: 40px;overflow: hidden;}
.failsworth-statistics li{float: left; width: 33.333%;text-align: center;color: #818285;}
.failsworth-statistics li .numbers{letter-spacing: 3px; font-size: 58px;display: block;margin-bottom: 10px;}
.failsworth-statistics li p{letter-spacing: 2px; font-size: 18px;text-transform: uppercase;line-height: 21px;padding: 0 13%;}
.about-img{padding: 50px 0 80px;position: relative;}
.about-img:before{content: '';background-color: #212020;display: block;height: 30%;width: 100%;position: absolute;top: 0;left: 0;}
.about-img:after{content: '';background-color: #fff;display: block;height: 70%;width: 100%;position: absolute;bottom: 0;left: 0;}
.about-img-box img{width: 100%;position: relative;z-index: 1;}
.about-img-box p{
	font-size: 26px;
	line-height: 35px;
	color: #fff;
	text-transform: uppercase;
	z-index: 2;
	text-align: center;
	padding: 0 12%;
	letter-spacing: 3px;
    position: absolute;
	top: 50%;
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
.about-img-box{
	background: url(../img/about_images/img.jpg) no-repeat center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 100%;
	min-height: 400px;
	z-index: 20;
	position: relative;
}
ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.jSlots-wrapper {
    overflow: hidden;
    height:10px;
    display: inline-block; /* to size correctly, can use float too, or width*/
}

.slot {
    float: left;
}

/********************* special pages ********************/

#error-img .title-wrap{background-image: url(../img/TERMS-ERROR-THANKYOU.jpg); background-attachment:scroll !important;background-position: center 0 !important;}
.spacial .inner-page ul{
font-size: 15px;
line-height: 28px;
}
.special .inner-page li{
padding-left: 40px;
position: relative;
margin-bottom: 28px;
}
.special .inner-page li:before{
position: absolute;
top:0;
left: 0;
content: '·';
display: inline-block;
}


/******************** failsworth-page ***************************/
#failsworth-img .title-wrap{background-image: url(../img/failsworth_page/FAILSWORTH.jpg);background-attachment:scroll !important;background-position: center 0 !important;}
.failsworth-slider{border: none;margin: -21px 0 0 0;}
.failsworth-slider li{opacity: 0.5;}
.failsworth-slider li:hover{opacity: 1;}
.failsworth-slider .flex-direction-nav{
	
}
.failsworth-slider .flex-direction-nav .flex-prev,
.failsworth-slider .flex-direction-nav .flex-next,
.failsworth-slider .flex-direction-nav a {width: 60px;height: 200px;z-index: 70;opacity: 1;text-indent: -9999px;text-align: left; top:20px;}
.failsworth-slider .flex-direction-nav .flex-prev {background: none;left: 0px;}
.failsworth-slider .flex-direction-nav .flex-next {background: none;right: 0px;}

.download-section{padding: 45px 0; background: url(../img/failsworth_images/download_bg.jpg) no-repeat left;background-size: cover;}
.download-form{width: 450px;}
.wpcf7 br{display: none;}
.input, .textarea{height: 40px;border: none;padding: 0 15px;-moz-box-sizing: border-box;box-sizing: border-box;width: 75%;font-size: 14px;display: block;margin: 0 auto 10px; letter-spacing: 1px;}
.textarea{font-family: 'FuturaBook'; height: 100px;padding: 15px;resize: none;}
.submit{letter-spacing: 1px; font-family: 'FuturaBook'; font-size: 14px; border-radius: none;background-color: #212020;color: #fff;height: 50px;
padding: 0 50px 0 50px;
display: block;margin: 20px auto 0;border: none;cursor: pointer;}
.download-form h3{color: #000;font-size: 19px;margin-bottom: 25px;}
.download-form h3:after{background-color: #000;content: "";display: block;height: 1px;margin: 30px auto 0;width: 100px;}


/******************** history-page ***************************/
#history-img{padding: 0;border: none;}
#history-img .title-wrap{background-image: url(../img/history_images/HISTORY.jpg);background-attachment:scroll !important;background-position: center 0 !important;}
#page-content.history-page{background: url(../img/history_images/history_bg.jpg);}
.history-page h2{font-size: 21px;}
.history-page h3{font-size: 32px;margin-bottom: 30px;letter-spacing: 3px;}
.history-page h3:after, .history-page h2:after{background-color: #fff;content: "";display: block;height: 1px;margin: 30px auto 0;width: 100px;}
.history-page h4{font-size: 24px;margin-bottom: 30px;letter-spacing: 3px;}
.history-page section{padding: 30px 0;}
.history-page section:first-child{border-bottom: none;}
.history-page{text-align: center;position: relative;}
.history-page p{line-height: 160%; font-size: 16px; margin-bottom: 28px;}
.nav{position: relative;}
.photo-box{text-align: center;margin: 35px 0;}
.frame{margin: 0 0 0 45px; display: inline-block;}
.photo-box .frame:first-child{margin-left: 0;}
.photo-box p{letter-spacing: 1px; font-size: 11px;margin: 5px 0 0; line-height: 160%;}
.photo-box p br{
display: none;
}
.history-page .left-col, .history-page .right-col{width: 49%;}
.left-col .frame, .right-col .frame{margin: 0 0 0 20px;}
#navbar-history{width: 105px;position: absolute;top: 180px;right: 0;z-index: 10;}
#navbar-history.fixed{position: fixed;top: 253px;}
.history-nav li a{font-size: 13px; color: #8b8b8c;padding: 7px 0;display: block;text-align: center;}
.history-nav li a:hover{font-size: 13px; color: #fff;padding: 7px 0;display: block;text-align: center; background:#b4975e;}
.history-nav li{border-bottom: 1px solid #b4975e;}
.history-nav li:first-child{border-top: 1px solid #b4975e;}
.history-nav li.active a{background-color: #b4975e;color: #fff;}
.history-page .move-down{
	position: relative;
	padding-top: 70px;
}


/******************* contact-page **********************************/
#page-content.contact-page{background: url(../img/contact_images/contact_bg.jpg) no-repeat; background-size: cover;padding-top: 145px;}
.contact-page h3{font-size: 21px;text-align: center;margin-bottom: 30px; letter-spacing: 3px;}
.contact-page h3:after{border-top: 1px solid #F5F5F5;content: "";display: block;height: 0;margin: 20px auto 0;width: 65px;}
.contact-page h1{font-size: 46px;text-align: center;line-height: 55px;margin-bottom: 35px; letter-spacing: 3px;}
.contact-page h1.margin{margin-bottom: 100px;}
.contact-page .get {
font-size: 18px;
color: #fff;
text-decoration: none;
display: block;
margin: 0 auto 35px;
width: 200px;
position: relative;
letter-spacing: 2px;
}
.wpcf7-mail-sent-ok{
	display: none !important;
}
.white-bg a{
	color: #AFABA8;
}
.wpcf7-not-valid-tip{
	display: none !important;
}
.contact-form .input.wpcf7-not-valid, .contact-form .textarea.wpcf7-not-valid{
background: #FFEDED !important;
}
.wpcf7-response-output{
	padding: 15px !important;
	text-transform: uppercase;
	text-align: center;
	background: #F7E700;
	color: #000;
}
.get:after{content: '';position: absolute;right: 0;background: url(images/icons.png) no-repeat -85px -128px; width: 23px;height: 20px;top: 50%;margin-top: -10px;}
.contact-form{width: 100%;margin: 0 auto;padding: 0 5%;-moz-box-sizing: border-box;box-sizing: border-box;}
.contact-form .textarea{width: 49%;height: 140px;}
.contact-form .input{width: 49%;}
.contact-form .submit{clear: both;overflow: hidden;margin-top: 10px;}
.contact-social{text-align: center;margin: 60px 0;}
.social-icon-contact{height: 35px;display: inline-block;margin: 0 15px}
.social-icon-contact.facebook {background: url(images/icons.png) no-repeat 0 -213px;width: 16px;margin-left: 0;}
.social-icon-contact.twitter {background: url(images/icons.png) no-repeat -34px -208px;width: 31px;}
.social-icon-contact.google {background: url(images/icons.png) no-repeat -80px -215px;width: 38px; position: relative; top:3px;}
.social-icon-contact.pinterest {background: url(images/icons.png) no-repeat -124px -215px;width: 35px;}
.social-icon-contact.facebook:hover{background-position: 0 -255px;}
.social-icon-contact.twitter:hover{background-position: -34px -250px}
.social-icon-contact.google:hover{background-position: -80px -256px}
.social-icon-contact.pinterest:hover{background-position: -124px -256px}


/************************ process-page ******************************/

#process-img .title-wrap{background-image: url(../img/process_images/title_img.jpg);background-attachment:scroll !important;background-position: center 0 !important;}
.process-section{background-color: #fff;}
.accordCont h3{letter-spacing: 3px; font-size: 38px;text-align: center;margin-bottom: 40px;color: #000;line-height: 45px;}
.accordCont h3:after{background-color: #000;content: "";display: block;height: 1px;margin: 30px auto 0;width: 100px;}
.accordCont p{font-size: 24px;line-height: 32px;margin-bottom: 35px;}
.accordCont .left, .accordCont .right{width: 49%;}
.accordCont .titleText{letter-spacing: 3px; font-size: 21px;text-align: center;margin-bottom: 40px;line-height: 29px;}
.accordCont .imgBox img{float: left;margin-left: 2%;width: 49%;}
.accordCont .imgBox img:first-child{margin-left: 0;}
.accordCont .left img, .accordCont .right img{width: 100%;}


/************** accordion style *******************/
.accordCont{display: none;}
.accordTitle{padding: 55px 0 55px;background-color: #212020;border-bottom: 1px solid #fff;cursor: pointer;}
.accordTitle p{color: #fff;font-size: 19px;position: relative; letter-spacing: 2px;}
.accordTitle.iconClose p:before{content: '';width: 24px;height: 24px;position: absolute;right: 0;background: url(images/icons.png) no-repeat -66px 0;}
.accordTitle.iconOpen p:before{content: '';width: 24px;height: 24px;position: absolute;right: 0;background: url(images/icons.png) no-repeat -105px 0;}
.slideBox .box .accordTitle{cursor: pointer;margin-bottom: 12px;position: relative;}
.accordCont{background-color: #fff;padding: 30px 0;position: relative;}
.accordCont p, .accordCont span{color: #000;}
.accordCont span{letter-spacing: 1px; font-size: 15px;margin-bottom: 20px;display: block;}
/**************************************************/


@media screen and (max-height: 700px) {
	#main-logo {
		top: 27px;
	}
	#splash-arrow {
		bottom: 28px;
	}
	#splash-page .flex-control-nav {
		bottom: 97px;
	}
}

@media screen and (max-width: 1280px) {
	#splash-page .flex-control-nav {
		width: 90%;
		margin: 0;
		left: 5%;
	}
	#header-logo {
		margin-left: 20px;
	}
	.column.text h4 {
		font-size: 20px;
	}
	.column.text p {
		font-size: 13px;
	}
	.column.text .hr {
		margin: 0.8em auto;
	}
	#navbar-history {
		display: none;
	}
	.download-section {
		background: url(../img/failsworth_images/download_bg.jpg) no-repeat -250px 0;
		background-size: cover;
	}
	#footer-social .alignright{
		margin-right: 0;
	}
	.move-top {
    right: 0;
	}

	#footer-social .social-icon.pinterest{
		margin-right: 60px;
	}
	.column.logo img {
	max-height: 50%;
	max-width: 50%;
	}

}

@media screen and (max-width: 1200px) {
	#header-menu-toggle {
		position: fixed;
		right: 20px;
		top: 28px;
		margin-right: 0;
	}
	.header-nav-open #header-menu-toggle {
		right: 320px;
		margin-right: 0;
	}
	#header-nav {
		right: 0;
		left: auto;
		margin-left: 0;
	}
}

@media screen and (max-width: 1000px) {
	.history-page .left-col img, .history-page .right-col img{width: 100%;}
	.frame{width: 34%;margin: 0 0 0 4%;}
	.frame img{width: 100%;}
	.photo-box .frame{width: 49%; margin: 0;}
	.photo-box.three .frame{width: 32%;}
	.about-img:before {background-color: #fff;}
	.about-img {
	padding: 0;
	position: relative;
	}
	.about-img img{
		display: block;
	}
	.about-img .inner-wrap{
		padding: 0;
	}
	.accordTitle {
	padding: 25px 0 25px;
	}
}

@media screen and (max-width: 960px) {
	#splash-page .flex-control-nav li,
	#splash-page .flex-control-nav li:last-child,
	#splash-page .flex-control-nav li:first-child {
		float: none;
		text-align: center;
		width: auto;
		margin: 10px 0;
	}
	#main-logo {
		left: 0;
		width: 80%;
		margin: 0 10%;
		text-align: center;
	}
	#main-logo img {
		max-width: 100%;
		height: auto;
	}
	.column.text h4 {
		font-size: 18px;
	}
	.column.text p {
		font-size: 12px;
	}

	.title-content h2{font-size: 65px!important;}
	#eth-img .title-content h2:before, #abaut-img .title-content h2:before, #failsworth-img .title-content h2:before, #history-img .title-content h2:before, #process-img .title-content h2:before{margin: 0 auto 25px;}
	#eth-img .title-content span, #abaut-img .title-content span, #failsworth-img .title-content span, #history-img .title-content span, #process-img .title-content span{font-size: 20px;}
	.failsworth-statistics li .numbers{font-size: 50px;}
}

@media only screen and (max-width: 769px) {
	.column.text h4 {
		font-size: 14px;
	}
	.column.text p {
		font-size: 10px;
	}

	.failsworth-statistics li .numbers{font-size: 42px;}
	.download-section {
	background: url(../img/failsworth_images/download_bg.jpg) no-repeat -350px 0;
	background-size: cover;
	}
}

@media only screen and (max-width: 640px) {
	.title-content h2 {
		font-size: 32px;
	}
	.title-content h2::after {
		margin-top: 20px;
	}
	.title-content {
		bottom: 20px;
		font-size: 14px;
	}
	#loading-section p {
		font-size: 50px;
		margin-top: -20px;
	}
	#footer .social-icon {
			margin: 0 5px 0 5px;
		}
	#footer .copyright{
		width: 200px;
		display: block;
		text-align: center;
		margin: 0 auto 5px auto;
	}

	#footer-social .alignright, #footer-social .alignleft{ 
		float: none;
		display: block;
		width: 100%;
		position: relative;
	}
		#footer-social .alignright{
			text-align: center;
			margin: 0 0 20px 0;
		}

			#footer-social .alignleft{
	text-align: center;
	margin: 0;
	position: relative;
			}
	.footer-like-popup{
		left: 50%;
			padding: 5px 3px;
			margin-left: -48px;
	}
	.footer-share-popup{
		left: 50%;
			margin-left: -55px;
	}
	#footer-social .alignleft a {
		font-size: 14px;
		line-height: 11px;
	}
	.footer-like-popup,
	.footer-share-popup {
		bottom: 23px;
	}
	.header-nav-open #header-menu-toggle {
		display: none;
	}
	#header-nav {
		width: 100%;
		top:73px;
	}
	#header-social-links h5 {
		font-size: 14px;
		margin: 30px 0 14px;
	}
	#header-social-links {
		display: none;
	}
	#header-nav .nav-close {
		margin: 8px 10px;
		display: none;
	}
	.fullscreen-slider .flex-direction-nav .flex-next,
	.fullscreen-slider .flex-direction-nav .flex-prev {
		display: none;
	}

	.column-2,
	.column-4 {
		width: 100% !important;
		float: none;
	}

	.column.text h4 {
		font-size: 24px;
	}
	.column.text p {
		font-size: 16px;
	}
	.inner-page .leftCol, .inner-page .rightCol{width: 100%;}
	.title-content h2{font-size: 40px!important;}
	.failsworth-statistics li{width: 100%;margin-bottom: 15px;}
	.about-img-box p{font-size: 19px;}

	.contact-page h1{font-size: 40px;line-height: 40px;}
	.contact-form .input, .contact-form .textarea{width: 100%;}
	.inner-page h2{font-size: 21px;}
	.ethics-image:after{height: 82%;}
	.download-form{width: 100%;}
	.history-page .left-col, .history-page .right-col{width: 100%;}
	.accordCont .left, .accordCont .right{width: 100%;}
	.accordCont .left{margin-bottom: 15px;}
	.accordCont h3{font-size: 30px;}
	.accordCont h3:after{margin: 15px auto 0;}
	.accordCont .titleText{font-size: 17px;}
	.accordCont p{font-size: 17px;line-height: 26px;}
	.accordTitle{padding: 20px 0 19px;}
	#footer-social .social-icon.pinterest{
	margin-right: 0;
}

.photo-box .frame.full-size{
width: 100%;
}

.history-page .move-down {
padding-top: 0;
}
.nav-close.show-mobile{
	display: none;
}
.header-nav-open .nav-close.show-mobile{
	display: block;
	top:11px;
	position: absolute;
	right: 20px;
	margin: 0 0;
}

.failsworth-slider li {
opacity: 1;
}
.column .show-slider {
display: none !important;
}
.homepage-section .column, .slides a{
cursor: default !important;
}
.column:after {
display: none;
}

}

@media only screen and (max-width: 480px){
	#header-menu-toggle{
		text-indent: -9999px;
	}
	#eth-img .title-content h2:before, #abaut-img .title-content h2:before, #failsworth-img .title-content h2:before, #history-img .title-content h2:before, #process-img .title-content h2:before {
	margin: 0 auto 15px;
	}
	#abaut-img .title-wrap, #process-img .title-wrap, #eth-img .title-wrap, #abaut-img .title-wrap, #failsworth-img .title-wrap, #history-img .title-wrap{
	height: 450px !important;
	}
		.title-content h2{font-size: 30px!important; cursor: text !important; line-height: 120%;  }
		#eth-img .title-content span, #abaut-img .title-content span, #failsworth-img .title-content span, #history-img .title-content span, #process-img .title-content span{ }
		.about-img-box p{font-size:20px;line-height: 130%;}
		.black-bg, .white-bg{padding: 25px 0;}
		.white-bg.inner-page h3:after, .black-bg.inner-page h3:after{margin: 20px auto 0;}
		.contact-page h1{font-size: 26px;}
		.contact-page h3{font-size: 17px;}
		#page-content.contact-page{padding-top: 70px;}
		.ethics-image .img-container{width: 100%;left: 0;}
		.ethics-image .img-container img{padding: 0.5%;margin: 0 0 15px;width: 99%;}
	.mobile-no-padding{
	padding: 0;
	}
	.about-img-box img{
		height: 270px;
	}
	#svfw {
	padding: 0 10px !important;
	margin-left: -160px !important;
	}
		.move-top {
		display: none;
}

}

@media only screen and (max-width: 360px){

	.accordTitle p {
	font-size: 15px;
	}
	.accordTitle.iconClose p:before, .accordTitle.iconOpen p:before{
		top:-4px;
	}
	.accordCont .titleText {
	font-size: 14px;
	line-height: 160%;
	}
	.accordCont p {
	font-size: 14px;
	line-height: 160%;
	text-align: center;
	}
	.inner-page h2 {
	font-size: 18px;
	letter-spacing: 1px;
	line-height: 160%;
	}
	.download-section {
	background: #fff;
	}
	.download-form h3:after {
	display: none;
	}
	.download-form .input{padding: 0 15px;width: 100%;font-size: 14px; background: #F0F0F0; }
	.download-form .submit{border-radius: 0; padding: 0 50px 0 50px; border: 1px solid #4D4C4C;}

	.download-bg-mobile{
		width: 100%;
		height: 287px;
		background: url(../img/failsworth_page/download_bg-mobile.jpg) no-repeat center center;
		  -webkit-background-size: cover;
	  -moz-background-size: cover;
	  -o-background-size: cover;
	  background-size: cover;
	}
	#page-content.contact-page {
	padding-top: 120px;
	}

	.accordTitle p {
font-size: 14px;
letter-spacing: 1px;
}
.photo-box p br{
display: block;
}
#page-content.history-page{background: #313131;}
.homepage-section .column{width: 100% !important;}

}

@media screen and (max-width: 568px) and (orientation: landscape), screen and (max-height: 320px) {

#main-logo img {
max-width: 30%;
height: auto;
}

}

@media screen and (max-width: 320px), screen and (max-height: 480px) {

#main-logo img {
max-width: 70%;
height: auto;
}

}





/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  filter: alpha(opacity=80); }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-wrap #svfw {
position: absolute;
top:-100px;
height: 70px;
}

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #cccccc;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #cccccc; }
    .mfp-preloader a:hover {
      color: white; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close{
  overflow: visible;
  cursor: pointer;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none;
}
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none;
  width: 27px;
  height: 73px;
  text-indent: -9999px;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 33px;
  height: 33px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  filter: alpha(opacity=65);
  padding: 0 0 18px 10px;
  color: white;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
  text-indent: -9999px;
  background: url(images/icons.png) no-repeat -73px -32px;
}

.mfp-close:hover, .mfp-close:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333333; }



.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #cccccc;
  font-size: 12px;
  line-height: 18px; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  filter: alpha(opacity=65);
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover, .mfp-arrow:focus {
    opacity: 1;
    filter: alpha(opacity=100); }


.mfp-arrow-left {
  left: 28px;
  background: url(images/icons.png) no-repeat -174px 0;
}

.mfp-arrow-right {
  right: 28px;
    background: url(images/icons.png) no-repeat -201px 0;

}


.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: black; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444444; }
  .mfp-figure small {
    color: #bdbdbd;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #f3f3f3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }

.mfp-ie7 .mfp-img {
  padding: 0; }
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px; }
.mfp-ie7 .mfp-container {
  padding: 0; }
.mfp-ie7 .mfp-content {
  padding-top: 44px; }
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0; }

}