/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #000;
}

html { background-color:#000; }
body {
	background-color:#fff;
	color: #000;
	font-family: 'Raleway', sans-serif;
	font-size:16px;
	font-weight:400;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Milkman's custom styles
   ========================================================================== */

body.locked { overflow:hidden; }

#siteWrap { overflow:hidden; position:relative; left:0; width:100%;
  -webkit-transition: all 0.5s ease-out; 
          transition: all 0.5s ease-out;
}
#siteWrap.disabled { left:-100%; }

#siteOverlay { background-color:#000; cursor:pointer; height:0%; opacity:0; position:absolute; left:0; top:0; width:100%; z-index:40;
  -webkit-transition: opacity 0.5s ease-out, height 0s ease-out 0.5s; 
          transition: opacity 0.5s ease-out, height 0s ease-out 0.5s;
}
#siteOverlay.visible { height:100%; opacity:0.5;
  -webkit-transition: opacity 0.5s ease-out, height 0s ease-out; 
          transition: opacity 0.5s ease-out, height 0s ease-out;
}

#siteNavigation { background-color:#006666; height:100%; padding-top:140px; position:fixed; top:0; right:-100%; width:100%; z-index:49;
  -webkit-transition: all 0.5s ease-out; 
          transition: all 0.5s ease-out;
}
#siteNavigation.open { right:0%; }

#siteNavigation nav { height:100%; overflow:auto; }
#siteNavigation nav ul { list-style:none; margin:0; padding:0; }
#siteNavigation nav ul li.menu-item { display:block; position:relative; }
#siteNavigation nav ul li.menu-item a { border-bottom:none; color:#fff; display:block; font-family:'Bebas Neue'; font-weight:400; font-size:2em; padding:0.5em 0; text-align:center; text-transform:uppercase; }
#siteNavigation nav ul li.menu-item a:hover { background-color:#ff0066; color:#fff; }
#siteNavigation nav ul li.menu-item.current-menu-item > a { background-color:#ff0066; color:#fff; }

#topBar { height:140px; padding:20px 0; position:fixed; top:0; left:0; width:100%; z-index:50; }
.home #topBar { position:fixed; }
#topBar header { position:relative; }
#topBar header h1 { height:100px; margin:0; position:absolute; top:0; left:15px; width:97px; }
#topBar header h1 a { background:url(../img/logo.png) no-repeat 0 0; border-bottom:none; display:block; height:100%; width:100%; }
.backgroundsize #topBar header h1 a { background-image:url(../img/logo@2x.png); background-size:contain; }
#topBar header nav { padding:20px 0 20px 120px; }
#topBar header nav ul { background-color:#fff; height:60px; list-style:none; margin:0; padding:0;
		-ms-transform: skewX(-5deg); /* IE 9 */
	-webkit-transform: skewX(-5deg); /* Safari */
		    transform: skewX(-5deg);
}
#topBar header nav ul li { float:left; }
#topBar header nav ul li.bookingsLink { float:right; }
#topBar header nav ul li a { border-bottom:none; color:#006666; display:block; font-family:'Bebas Neue'; font-weight:400; font-size:1.5em; line-height:60px; padding:0 20px; text-transform:uppercase; }
#topBar header nav ul li.current-menu-item a,
#topBar header nav ul li a:hover { background-color:#006666; color:#fff; }


#topBar button.menuButton { background-color:#fff; border:none; display:block; float:right; height:42px; margin-top:30px; padding:10px 12px; position:relative; width:42px;
  -webkit-transition: all 0.25s ease-out; 
          transition: all 0.25s ease-out;
}
#topBar button.menuButton:hover { background-color:#fff; outline:none; }
#topBar button.menuButton:focus { outline:none; }
#topBar button.menuButton span { background-color:#006666; display:block; margin-top:-1px; position:absolute; left:12px; height:2px; width:18px;
  -webkit-transform-origin:50% 50%;
  transform-origin:50% 50%;
  
  -webkit-transition: all 0.25s ease-out; 
          transition: all 0.25s ease-out;
}
#topBar button.menuButton span.top { top:15px; }
#topBar button.menuButton span.middle { top:50%; }
#topBar button.menuButton span.bottom { bottom:14px; }

#topBar button.menuButton.open span.top { left:11px; top:50%; width:20px;
  -webkit-transform: rotate(45deg); 
      -ms-transform: rotate(45deg); 
          transform: rotate(45deg); 
}
#topBar button.menuButton.open span.middle { opacity:0; }
#topBar button.menuButton.open span.bottom { left:11px; bottom:50%; width:20px;
  -webkit-transform: rotate(-45deg); 
      -ms-transform: rotate(-45deg); 
          transform: rotate(-45deg); 
}

/*
 * Home Page
 */

body.home { background-color:#eee; }

/** Intro Banner **/
#introBanner { background-color:#000; overflow:hidden; position:relative; }
#introBanner ul, #introBanner li { height:100%; list-style:none; margin:0; padding:0; width:100%; }
#introBanner li { background-repeat:no-repeat; background-position:center center; background-size:cover; }
#introBanner #scrollingText { color:#eee; font-size:10em; height:120px; line-height:120px; overflow:hidden; position:absolute; bottom:-5px; left:0; right:0; white-space:nowrap; z-index:10; width:100%; }
#introBanner #scrollingText .scroller { height:100%; position:absolute; white-space:nowrap; left:0; width:7302px; 
  -webkit-animation: scroller 20s infinite linear;
          animation: scroller 20s infinite linear;
}
@-webkit-keyframes scroller {
  0%   { left:0; }
  100% { left:-2442px; }
}
@keyframes scroller {
  0%   { left:0; }
  100% { left:-2442px; }
}

/** What's On **/
#whatsOnRow { padding:0; position:relative; overflow:hidden; }
#whatsOnRow .contentWrap { position:relative; }
#whatsOnRow .topRow { padding-top:4em; position:relative; z-index:10; }
#whatsOnRow .topRow:after { background-color:#eee; content:''; display:block; height:700px; position:absolute; left:0; bottom:0; right:0; z-index:-1;
		-ms-transform: skewY(2.5deg); /* IE 9 */
	-webkit-transform: skewY(2.5deg); /* Safari */
		    transform: skewY(2.5deg);
			
-webkit-transform-origin: 50% 0%; /* Chrome, Safari, Opera */
	-ms-transform-origin: 50% 0%; /* IE 9 */	
		transform-origin: 50% 0%;
}
#whatsOnRow .topRow h2 { color:#ff0099; font-size:4em; margin:0; padding:0 0 1em; }

#whatsOnRow .bottomRow { color:#fff; padding-bottom:4em; position:relative; z-index:5; }
#whatsOnRow .bottomRow h3 { color:#fff; font-size:3em; margin:0; padding:1.25em 0 0.625em; }
#whatsOnRow .bottomRow ul { list-style:none; margin:0 0 1.5em; padding:0; }
#whatsOnRow .bottomRow ul li { font-size:2em; }

/** About Row **/
#aboutRow { background:#006666 url(../img/green-ladies.jpg) repeat top center; background-size:cover; color:#fff; margin-top:-2.5%; padding:3em 0; } 
#aboutRow h2 { font-size:4em; margin:0 0 0.5em; }
#aboutRow h3 { font-size:3em; }

/** Menus / Functions Row **/
.galleryColumn { height:340px; position:relative; }
.contentColumn { height:auto; position:relative; }
.contentColumn { z-index:10; }
.contentColumn .contentWrap { padding-bottom:3em; padding-top:3em; text-align:center; }
.galleryColumn ul.slides, .galleryColumn ul.slides li { height:100%; list-style:none; margin:0; padding:0; width:100%; }
.galleryColumn ul.slides li { background-repeat:no-repeat; background-position:center center; background-size:cover; }
.galleryColumn ul.slides li a { background:url(../img/blank.gif) repeat 0 0; border:none; display:block; height:100%; width:100%; }

.contentColumn h2 { font-size:4em; }

#menusRow { color:#fff; overflow:hidden; }
#menusRow .contentColumn { background-color:#ff0066; }
#menusRow .contentColumn .btnRow .btn { float:left; width:50%; }
#menusRow .contentColumn .btnRow .btn:nth-child(1),
#menusRow .contentColumn .btnRow .btn:nth-child(2),
#menusRow .contentColumn .btnRow .btn:nth-child(3),
#menusRow .contentColumn .btnRow .btn:nth-child(4),
#menusRow .contentColumn .btnRow .btn:nth-child(1),
#menusRow .contentColumn .btnRow .btn:nth-child(3),
#menusRow .contentColumn .btnRow .btn:nth-child(5) {}
#menusRow .contentColumn .btnRow .btn.transparent:hover { color:#ff0066; }
#menusRow .contentColumn:before { background-color:#ff0066; content:''; display:none; position:absolute; left:0; bottom:0; top:0; width:50px; z-index:1;
		-ms-transform: skewX(-2.5deg); /* IE 9 */
	-webkit-transform: skewX(-2.5deg); /* Safari */
		    transform: skewX(-2.5deg);
			
-webkit-transform-origin: 100% 0%; /* Chrome, Safari, Opera */
	-ms-transform-origin: 100% 0%; /* IE 9 */	
		transform-origin: 100% 0%;
} 

#functionsRow { color:#fff; overflow:hidden; }
#functionsRow .contentColumn { background-color:#0066ff; }
#functionsRow .contentColumn .btnRow { margin-left:auto; margin-right:auto; max-width:400px; }
#functionsRow .contentColumn .btnRow .btn { float:left; padding-left:5px; padding-right:5px; width:50%; }
#functionsRow .contentColumn .btnRow .btn:nth-child(1) { border-right:none; }
#functionsRow .contentColumn .btn:hover { color:#0066ff; }
#functionsRow .contentColumn:before { background-color:#0066ff; content:''; display:none; position:absolute; right:0; bottom:0; top:0; width:50px; z-index:1;
		-ms-transform: skewX(2.5deg); /* IE 9 */
	-webkit-transform: skewX(2.5deg); /* Safari */
		    transform: skewX(2.5deg);
			
-webkit-transform-origin: 0% 0%; /* Chrome, Safari, Opera */
	-ms-transform-origin: 0% 0%; /* IE 9 */	
		transform-origin: 0% 0%;
}

/** Bookings Row **/
#bookingsRow { background:#006666 url(../img/bookings-background.jpg) repeat top center; background-size:cover; height:600px; overflow:hidden; position:relative; }
#bookingsRow .container { position:relative; z-index:10; }
#bookingsRow .container .contentWrap { color:#fff; padding-bottom:6em; padding-top:6em; text-align:center;
		-ms-transform: skewY(-5deg); /* IE 9 */
	-webkit-transform: skewY(-5deg); /* Safari */
		    transform: skewY(-5deg);
}
#bookingsRow .container .contentWrap h2 { font-size:6em; }
#bookingsRow .container .contentWrap .btn { color:#006666; font-size:2em; }
#bookingsRow .container .contentWrap .btn:hover { color:#fff; }
#bookingsRow .videoOverlay { background-color:#006666; height:100%; opacity:0.5; width:100%; position:absolute; top:0; left:0; z-index:6; }
#bookingsRow video.videoBG {
	position:absolute;
	min-width: 100%; min-height: 100%;
	width: auto; height: auto; z-index:5;
	top:0; left:0;
}

/** Lead In **/
#leadIn { display:none; }
.video #leadIn { display:none; height:100%; position:fixed; top:0; left:0; width:100%; z-index:100; }
.video #leadIn video.videoBG {
	position:absolute;
	min-width: 100%; min-height: 100%;
	width: auto; height: auto; z-index:5;
	top:0; left:0;
}

/* ==========================================================================
   Pages
   ========================================================================== */
.contentArea { background-color:#fff; padding:3em 0; }

.singlePage #topRow { background-color:#fff; padding:0; position:relative; }
.singlePage #topRow .topRow { background-color:#ff0099; padding-top:160px; position:relative; z-index:10; }
.singlePage #topRow .topRow h1 { color:#fff; font-size:4em; margin:0; padding:0 0 1em; }
.singlePage #topRow .topRow img { margin-bottom:-50%; }
.generatedcontent .singlePage #topRow .topRow { background-color:transparent !important; }
.singlePage #topRow:after { background-color:#ff0099; content:''; display:block; height:700px; position:absolute; left:0; bottom:0; right:0; z-index:1;
		-ms-transform: skewY(2.5deg); /* IE 9 */
	-webkit-transform: skewY(2.5deg); /* Safari */
		    transform: skewY(2.5deg);
			
-webkit-transform-origin: 50% 0%; /* Chrome, Safari, Opera */
	-ms-transform-origin: 50% 0%; /* IE 9 */	
		transform-origin: 50% 0%;
}

/*
 * What's On
 */
.whatsOnPage #topRow { background-color:#fff; padding:0 0 3em; position:relative; }
.whatsOnPage #topRow .contentWrap { position:relative; }
.whatsOnPage #topRow .topRow { padding-top:160px; position:relative; z-index:10; }
.whatsOnPage #topRow .topRow h1 { color:#fff; font-size:4em; margin:0; padding:0 0 1em; }
.whatsOnPage #topRow .topRow img { margin-bottom:-50%; }
.generatedcontent .whatsOnPage #topRow .topRow { background-color:transparent !important; }
.whatsOnPage #topRow .topRow:after { background-color:#ff0099; content:''; display:block; height:700px; position:absolute; left:0; right:0; bottom:0; z-index:-1;
		-ms-transform: skewY(2.5deg); /* IE 9 */
	-webkit-transform: skewY(2.5deg); /* Safari */
		    transform: skewY(2.5deg);
			
-webkit-transform-origin: 50% 0%; /* Chrome, Safari, Opera */
	-ms-transform-origin: 50% 0%; /* IE 9 */	
		transform-origin: 50% 0%;
}

.whatsOnPage #topRow .bottomRow { color:#ff0099; position:relative; z-index:5; }
.whatsOnPage #topRow .bottomRow h3 { font-size:3em; margin:0; padding:1.25em 0 0.625em; }
.whatsOnPage #topRow .bottomRow ul { list-style:none; margin:0 0 1.5em; padding:0; }
.whatsOnPage #topRow .bottomRow ul li { font-size:2em; }

#featuredEvent { color:#fff; }
#featuredEvent h2 { font-size:3em; margin:0; padding:0 0 0.625em; }
#featuredEvent ul { list-style:none; margin:0 0 1.5em; padding:0; }
#featuredEvent ul li { font-size:2em; }
#featuredEvent p a { border-bottom-color:#fff; color:#fff; }
#featuredEvent p a:hover { color:#fff; }

.whatsOnPage #topRow + #whatsonThumbs { padding-top:0; }
#whatsonThumbs .whatsonBlock { color:#fff; }
#whatsonThumbs .whatsonBlock img { margin:0 auto; }
#whatsonThumbs .whatsonBlock .contentBox { padding:20px; }
#whatsonThumbs .whatsonBlock .contentBox h3 { margin-bottom:0.25em; }
#whatsonThumbs .whatsonBlock .contentBox ul { font-size:1.5em; list-style:none; margin:0; padding:0; }

/** Instagram Feed **/
#instagramFeed { background-color:#fff; padding:0; overflow:hidden; }
#instagramFeed ul { list-style:none; margin:0; padding:0; }
#instagramFeed ul li { display:block; float:left; height:auto; margin:0; width:50%; }
#instagramFeed ul li a { border:none; display:block; }
#instagramFeed ul li a img { border:none; display:block; height:auto; opacity:0.75; width:100%;
  -webkit-transition: opacity 0.25s ease-out; 
     -moz-transition: opacity 0.25s ease-out; 
       -o-transition: opacity 0.25s ease-out; 
          transition: opacity 0.25s ease-out; 
}
#instagramFeed ul li a img:hover { opacity:1; }

#instagramFeed ul li.image_5,
#instagramFeed ul li.image_6,
#instagramFeed ul li.image_7,
#instagramFeed ul li.image_8,
#instagramFeed ul li.image_9,
#instagramFeed ul li.image_10,
#instagramFeed ul li.image_11,
#instagramFeed ul li.image_12 { display:none; }

/*
 * Bookings/Contact
 */
.contact.singlePage #topRow .topRow { background-color:#ff0066; }
.contact.singlePage #topRow:after { background-color:#ff0066; }
.contact.singlePage .contentArea h1,
.contact.singlePage h3 { color:#ff0066; }
#locationMap { height:340px; }

/*
 * Functions
 */
.functions.singlePage #topRow .topRow { background-color:#0066ff; }
.functions.singlePage #topRow:after { background-color:#0066ff; }
.functions.singlePage .contentArea h1,
.functions.singlePage h3 { color:#0066ff; }

/*
 * Memberships
 */
.vip-club.singlePage #topRow .topRow { background-color:#0099ff; }
.vip-club.singlePage #topRow:after { background-color:#0099ff; }
.vip-club.singlePage .contentArea h1,
.vip-club.singlePage h3 { color:#0099ff; }
.vip-club.singlePage .membershipDetails ul { padding:0 0 0 20px; }
.vip-club.singlePage .membershipDetails ul li { margin:0.5em 0; }

.vip-club.singlePage input:hover, .vip-club.singlePage textarea:hover { border-color:#0099ff; }
.vip-club.singlePage input:focus, .vip-club.singlePage textarea:focus { background-color:#0099ff; border-color:#0099ff; color:#fff; }
.vip-club.singlePage #MGLSubmit input { background-color:#0099ff; border-color:#0099ff; color:#fff; }
.vip-club.singlePage #MGLSubmit input:hover,
.vip-club.singlePage #MGLSubmit input:focus { background-color:#0066cc; border-color:#0066cc; }

/*
 * Videos
 */
.videos.singlePage #topRow .topRow { background-color:#cc00ff; }
.videos.singlePage #topRow:after { background-color:#cc00ff; }
.videos.singlePage .contentArea h1,
.videos.singlePage h3 { color:#cc00ff; }

#videosThumbs { padding-top:0; }

.videoLink { border:5px solid #eee !important; background-color:#eee; display:block; }
.videoLink:hover { border:5px solid #cc00ff !important; background-color:#cc00ff; display:block; color:#fff; }
.videoLink.active { border:5px solid #ff0066 !important; background-color:#ff0066; color:#fff; }
.videoLink img { margin:0 auto; }
.videoLink .title { display:block; font-size:1.125em; font-weight:600; line-height:1; padding:1em; }

.videoContainer {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.videoContainer iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#pagination { background-color:#eee; margin-top:3em; text-align:center; }
#pagination a,
#pagination span { font-family:'Bebas Neue'; font-weight:400; font-size:1.5em; text-transform:uppercase; border-bottom:none; border-left:3px solid #fff; display:inline-block; height:60px; line-height:60px; padding:0; width:63px; }
#pagination a:first-child,
#pagination span:first-child { border-left:none; width:60px; }
#pagination span { background-color:#ff0066; color:#fff; }
#pagination a { background-color:transparent; color:#000; }
#pagination a:hover { background-color:#cc00ff; color:#fff; }

/*
 * Page Galleries
 */
.pageGallery { height:700px; position:relative; }
.pageGallery ul.slides, .pageGallery ul.slides li { height:100%; list-style:none; margin:0; padding:0; width:100%; }
.pageGallery ul.slides li { background-repeat:no-repeat; background-position:center center; background-size:cover; }
.pageGallery ul.slides li a { background:url(../img/blank.gif) repeat 0 0; border:none; display:block; height:100%; width:100%; }
.pageGallery ul.slides li { opacity:0.5;
  -webkit-transition: opacity 0.15s ease-out; 
     -moz-transition: opacity 0.15s ease-out; 
       -o-transition: opacity 0.15s ease-out; 
          transition: opacity 0.15s ease-out;
}
.pageGallery .flex-viewport { margin:0 auto; overflow:visible !important; width:100%; }
.pageGallery ul.slides li.flex-active-slide { opacity:1; }

/** Dividers **/
.divider_sm { margin-top:0; }
.divider_md { margin-top:0; }
.divider_lg { margin-top:0; }
.divider_xs { margin-top:2em; }

/*
 * Family Bar
 */
#familyBar { height:180px; position:relative; }
#familyBar h3 { display:inline-block; font-family:'Bebas Neue'; font-size:2em; font-weight:400; line-height:180px; margin:0; padding:0 60px; position:absolute; top:0; left:50%; text-transform:uppercase;
		-ms-transform: translateX(-50%); /* IE 9 */
	-webkit-transform: translateX(-50%); /* Safari */
		    transform: translateX(-50%);
}
#familyBar h3:before { background-color:#000; content:''; display:block; height:6px; position:absolute; margin-top:-3px; left:0; top:50%; width:40px; }
#familyBar h3:after { background-color:#000; content:''; display:block; height:6px; position:absolute; margin-top:-3px; right:0; top:50%; width:40px; }
#familyBar a { border-bottom:none; display:block; float:left; height:100%; width:50%; }
#familyBar a.davidsDumplings { background:url(../img/davids-background.jpg) no-repeat center center; background-size:cover; padding:30px 140px 30px 0; }
#familyBar a.davidsDumplings .logo { background:url(../img/davids-logo.png) no-repeat 0 0; display:block; float:right; height:120px; width:181px; }
.backgroundsize #familyBar a.davidsDumplings .logo { background-image:url(../img/davids-logo@2x.png); background-size:contain; }
#familyBar a.orientalTeaHouse { background:url(../img/oth-background.jpg) no-repeat center center; background-size:cover; padding:54px 0 54px 140px; }
#familyBar a.orientalTeaHouse .logo { background:url(../img/oth-logo.png) no-repeat 0 0; display:block; float:left; height:72px; width:224px; }
.backgroundsize #familyBar a.orientalTeaHouse .logo { background-image:url(../img/oth-logo@2x.png); background-size:contain; }

/*
 * Bottom Bar
 */
#bottomBar { background-color:#000; color:#fff; font-size:0.938em; padding-bottom:40px; padding-top:40px; }
#bottomBar table tr td { border-top-color:#222; }
#bottomBar a { border-bottom-color:#fff; color:#fff; }
#bottomBar .socialLink { background-color:#fff; border-color:#fff; color:#000; }
#bottomBar .socialLink:hover { background-color:transparent; color:#fff; }
#bottomBar #legality { border-top:3px solid #222; margin-top:40px; padding-top:40px; color:#999; text-align:center; }
#bottomBar #legality a { border-bottom-color:#999; color:#999; }

/* ==========================================================================
   Typography
   ========================================================================== */
h2 { margin:0.5em 0; }
h3 { font-size:2em; margin:0.5 0; }
.singlePage h3,
#bottomBar h3,
.bebas { font-family:'Bebas Neue'; font-weight:400; line-height:1; text-transform:uppercase; }
.brush_up { font-family:'Brush Up'; font-weight:400; line-height:1; text-transform:uppercase; }

.introText { font-size:1.125em; }
 
h1:first-child, h2:first-child, h3:first-child, h4:first-child, p:first-child, ul:first-child, ol:first-child { margin-top:0; }
h1:last-child, h2:last-child, h3:last-child, h4:last-child, p:last-child, ul:last-child, ol:last-child { margin-bottom:0; }
 
/** Tables **/
table { }
table tr td { border-top:3px solid #ddd; padding:0.5em 0; } 
table tr:first-child td { border-top:none; padding-top:0; }
table tr:last-child td { padding-bottom:0; }
table tr td:nth-child(2) { text-align:right; }

 @font-face {
    font-family: 'Brush Up';
    src: url('../fonts/pintassilgoprints_-_brushup-webfont.woff2') format('woff2'),
         url('../fonts/pintassilgoprints_-_brushup-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Bebas Neue';
    src: url('../fonts/bebasneue-webfont.woff2') format('woff2'),
         url('../fonts/bebasneue-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}  
   
/* ==========================================================================
   Links
   ========================================================================== */
a { border-bottom:1px dotted #000; color:#000; text-decoration:none;
  -webkit-transition: color 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out; 
     -moz-transition: color 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out; 
       -o-transition: color 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out; 
          transition: color 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out;
}
a:hover,
a:focus { border-bottom:none; color:#000; text-decoration:none; }

.btnRow { margin-top:3em; }

.btn { border:3px solid; display:inline-block; font-size:1.5em; padding:0.65em 1em; width:auto; }
.btn.white { background-color:#fff; border-color:#fff; color:#006666; }
.btn.white:hover { background-color:transparent; border:3px solid #fff; color:#fff; }
.btn.transparent { background-color:transparent; border:3px solid #fff; color:#fff; }
.btn.transparent:hover { background-color:#fff; border:3px solid #fff; color:#006666; }

#bottomBar .btn.transparent { background-color:transparent; border:3px solid #fff; color:#fff; font-size:1.5em; padding:0.5em 1em; }
#bottomBar .btn.transparent:hover { background-color:#fff; border:3px solid #fff; color:#000; }

.socialLinks { margin-top:2em; }
.socialLink { background-color:#ff0066; border:3px solid #ff0066; color:#fff; display:inline-block; font-size:1.25em; height:40px; line-height:34px; margin-right:10px; text-align:center; width:40px;
  border-radius: 50%; 
  background-clip: border-box;
}
.socialLink:hover,
.socialLink:focus { background-color:transparent; border:3px solid #ff0066; color:#ff0066; }

/* ==========================================================================
   Forms
   ========================================================================== */

input, textarea, .formWrap .MGLRow select { background-color:#fff; border:3px solid #000; border-width:3px !important; color:#000; cursor:pointer; margin:0; padding:15px !important; outline:none; text-shadow:none; width:100%;
  -webkit-transition: color 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out; 
     -moz-transition: color 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out; 
       -o-transition: color 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out; 
          transition: color 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out;
-webkit-appearance: none;
    border-radius: 0;
}
textarea { height:130px; }
input:hover, textarea:hover, select:hover { border-color:#ff0066; }
input:focus, textarea:focus, select:focus { background-color:#ff0066; border-color:#ff0066; color:#fff; outline:none; }

#bottomBar input, #bottomBar select { background-color:transparent; border-color:#fff; color:#fff; }
#bottomBar select { background-image:none; }
#bottomBar input:hover, #bottomBar select:hover { border-color:#ff0066; }
#bottomBar input:focus, #bottomBar select:focus { background-color:#fff; border-color:#fff; color:#000; }

.readonly input { background-color:#ccc; border-color:#ccc; }
.readonly input:focus { color:#000; }

.formWrap .MGLRow select { padding-right:30px; height:58px;
	background:#fff url(../img/select-arrow.png) no-repeat center right;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
}

input[type="checkbox"], input[type="radio"] { height:20px; margin-bottom:-4px; margin-right:5px; padding:0px !important; width:20px;
-webkit-appearance:none;
    -moz-appearance:none;
    appearance:none; }
input[type="radio"] {
 -webkit-border-radius:50%;
    -moz-border-radius:50%;
         border-radius:50%;
}
input:checked { background-color:#ed1e53; background-clip:content-box; border-color:#ed1e53; outline:none; padding:3px !important; }

::-webkit-input-placeholder { color: #000; }
:-moz-placeholder { color: #000; }
::-moz-placeholder { color: #000; }
:-ms-input-placeholder { color: #000; }

label { text-transform:uppercase; font-weight:700; }
.MGLLabel { font-family:'Bebas Neue'; font-size:1.25em; font-weight:400; line-height:1; margin-bottom:5px; text-transform:uppercase; }
/*.placeholder-support .gform_body label { display:none; }*/

.gform_wrapper ul { list-style:none; margin:0; padding:0; }
.gform_wrapper ul li { margin-bottom:10px; }
.gf_clear { clear:both; }

.MGLPoweredBy { display:none !important; }
.formWrap { margin-left:-5px; margin-right:-5px; }
.formWrap .MGLRow { clear:none; float:left; padding:0 5px 20px; width:100%; }

.contact .formWrap form .MGLRow:nth-child(8) { border-bottom:3px solid #ddd; clear:both; float:none; margin-bottom:30px; padding-bottom:30px; width:100%; }
.contact .formWrap form .MGLRow:nth-child(8) select,
.contact .formWrap form .MGLRow:nth-child(8) input { float:left; width:33.3339%; }
.contact .formWrap form .MGLRow:nth-child(8) select { border-right:none; }
.contact .formWrap form .MGLRow:nth-child(9) input:only-child { background-position:15px center; padding-left:45px !important; }
.contact .formWrap form .MGLRow:nth-child(9) select,
.contact .formWrap form .MGLRow:nth-child(9) input { float:left; width:33.3339%; }
.contact .formWrap form .MGLRow:nth-child(9) select { border-right:none; }
.contact .formWrap form .MGLRow:nth-child(10) select { float:left; width:50%; }
.contact .formWrap form .MGLRow:nth-child(10) .MGLField select:nth-child(1) { border-right:none; }
.contact .formWrap form .MGLRow:nth-child(12) .MGLLabel { display:none !important; }
.contact .formWrap form .MGLRow:nth-child(12),
.contact .formWrap form .MGLRow:nth-child(13) { clear:both; float:none; width:100%; }
.contact .formWrap form .MGLRow:nth-child(13) { padding-bottom:0; }

.vip-club .formWrap form .MGLRow:nth-child(8) select,
.vip-club .formWrap form .MGLRow:nth-child(8) input { float:left; width:33.3339%; }
.vip-club .formWrap form .MGLRow:nth-child(8) select { border-right:none; }
.vip-club .formWrap form .MGLRow:nth-child(8) { clear:both; float:none; width:100%; }
.vip-club .formWrap form .MGLRow:nth-child(11) { clear:both; float:none; width:100%; padding-bottom:0; }

#bottomBar .formWrap form .MGLRow:nth-child(7) select,
#bottomBar .formWrap form .MGLRow:nth-child(7) input { float:left; width:33.3339%; }
#bottomBar .formWrap form .MGLRow:nth-child(7) select { border-right:none; }
#bottomBar .formWrap form .MGLRow:nth-child(8) { clear:both; float:none; width:100%; padding-bottom:0; }

.MGLSubmitBreak { display:none !important; }
#MGLSubmit { padding-top:20px; }
#MGLSubmit input { background-color:#ff0066; border-color:#ff0066; color:#fff; font-family:'Bebas Neue'; font-size:1.75em; font-weight:400; float:left; line-height:1; padding:0.5em 1em !important; width:auto; }
#MGLSubmit input:hover,
#MGLSubmit input:focus { background-color:#cc0066; border-color:#cc0066; }
#MGLSubmit span { clear:both; display:block; padding-top:20px; }
#MGLSubmit span strong { display:block; text-align:left; }

#bottomBar #MGLSubmit { padding-top:0; }
#bottomBar #MGLSubmit input { background-color:#fff; border-color:#fff; color:#000; font-family:'Bebas Neue'; font-size:1.5em; font-weight:400; float:left; line-height:1; padding:0.5em 1em !important; width:auto; }
#bottomBar #MGLSubmit input:hover,
#bottomBar #MGLSubmit input:focus { background-color:#ff0066; border-color:#ff0066; color:#fff; }

.MGLSuccessMessage h1 { font-family:'Brush Up'; font-weight:400; line-height:1; text-transform:uppercase; }
.MGLSuccessMessage br { display:none !important; }


/** Slider Controls **/
.flex-direction-nav { display:none; height:0; list-style:none; margin:0; padding:0; position:absolute; top:50%; left:0; width:100%; }
.flex-direction-nav li { height:0; width:100%; } 
.flex-direction-nav li a { background-color:transparent; border:3px solid #fff; color:#fff; display:block; font-size:1em; height:40px; line-height:36px; outline:none !important; text-align:center; width:40px;
	position: absolute;
	top: 50%;
	margin-top: -20px;
	cursor: pointer;
	z-index: 10;
  -webkit-transition: color 0.15s ease-out, background-color 0.15s ease-out; 
     -moz-transition: color 0.15s ease-out, background-color 0.15s ease-out; 
       -o-transition: color 0.15s ease-out, background-color 0.15s ease-out; 
          transition: color 0.15s ease-out, background-color 0.15s ease-out;
}

.flex-direction-nav li a.flex-next { right:30px; text-indent:1px; }
.flex-direction-nav li a.flex-prev { left:15px; text-indent:-1px; }
#functionsRow .flex-direction-nav li a.flex-next { right:15px; text-indent:1px; }
#functionsRow .flex-direction-nav li a.flex-prev { left:30px; text-indent:-1px; }
.pageGallery .flex-direction-nav li a.flex-next { right:30px; text-indent:1px; }
.pageGallery .flex-direction-nav li a.flex-prev { left:30px; text-indent:-1px; }

.flex-direction-nav li a.flex-disabled { display:none; }
.flex-direction-nav li a:hover { background-color:#fff; border-color:#fff; color:#006666; }

.flex-control-paging { height:15px; list-style:none; margin:0; padding:0 15px; position:absolute; left:0; bottom:15px; text-align:center; width:100%; }
.flex-control-paging li { height:15px; display:inline-block; margin:0 3px; width:15px; }
.flex-control-paging li a { border:3px solid #fff; background-color:transparent; cursor:pointer; display:inline-block; height:15px; overflow:hidden; text-indent:999px; width:15px;
  -webkit-border-radius: 50%;
          border-radius: 50%; 
  background-clip: content-box;
}
.flex-control-paging li a:hover { background-color:#fff; border:3px solid #fff; background-clip: border-box; }
.flex-control-paging li a.flex-active { background-color:#fff; border-color:#fff; padding:2px; }

.flex-viewport { height:100%; }

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 767px) {
	
	.hidden_xs { display:none !important; }
	
	#topBar,
	.home #topBar { position:fixed; }
	#topBar header nav ul#menu-mobile-menu { background-color:transparent; }
	#topBar header nav ul#menu-mobile-menu li { float:right; }
	#topBar header nav ul#menu-mobile-menu li a { background-color:#fff; }
	#topBar header nav ul#menu-mobile-menu li.current-menu-item a,
	#topBar header nav ul#menu-mobile-menu li a:hover { background-color:#006666; }
	
	#introBanner #scrollingText .scroller { 
	  -webkit-animation: scroller 30s infinite linear;
			  animation: scroller 30s infinite linear;
	}
	
}
@media (max-width: 991px) {
	
	.hidden_sm { display:none !important; }
	#bottomBar #legality span { display:block; }
	
}
@media (min-width: 768px) {
	
	#topBar { position:absolute; }
	.home #topBar { position:fixed; }
	#topBar header nav ul li a { font-size:1.25em; padding:0 13px; }
	
	.flex-direction-nav { display:block; }
	.flex-control-paging { display:none; }
	
	.pageGallery .flex-viewport { max-width:758px; }
	
	/** What's On **/
	#whatsOnRow { padding:0; position:relative; overflow:hidden; }
	#whatsOnRow .contentWrap { position:relative; }
	#whatsOnRow .topRow { padding-top:6em; position:relative; z-index:10; }
	#whatsOnRow .topRow:after { background-color:#eee; content:''; display:block; height:700px; position:absolute; left:0; bottom:0; right:0; z-index:-1;
			-ms-transform: skewY(2.5deg); /* IE 9 */
		-webkit-transform: skewY(2.5deg); /* Safari */
				transform: skewY(2.5deg);
				
	-webkit-transform-origin: 50% 0%; /* Chrome, Safari, Opera */
		-ms-transform-origin: 50% 0%; /* IE 9 */	
			transform-origin: 50% 0%;
	}
	#whatsOnRow .topRow h2 { color:#ff0099; font-size:6em; margin:0; padding:0 0 1em; }
	
	#whatsOnRow .bottomRow { color:#fff; padding-bottom:6em; position:relative; z-index:5; }
	#whatsOnRow .bottomRow h3 { color:#fff; font-size:3em; margin:0; padding:1.25em 0 0.625em; }
	#whatsOnRow .bottomRow ul { list-style:none; margin:0 0 1.5em; padding:0; }
	#whatsOnRow .bottomRow ul li { font-size:2em; }
	
	#aboutRow { padding:6em 0; }
	#aboutRow h2 { font-size:6em; } 
	
	.contentColumn .contentWrap { padding-bottom:4em; padding-top:4em; text-align:center; }
	.contentColumn h2 { font-size:5em; }
	.galleryColumn { height:600px; position:relative; }
	
	/** Dividers **/
	.divider_xs { margin-top:0; }
	.divider_md { margin-top:0; }
	.divider_lg { margin-top:0; }
	.divider_sm { margin-top:2em; }
	
	.formWrap .MGLRow { width:50%; }
	
	#instagramFeed ul li { display:block; float:left; height:auto; margin:0; width:25%; }
	#instagramFeed ul li.image_5,
	#instagramFeed ul li.image_6,
	#instagramFeed ul li.image_7,
	#instagramFeed ul li.image_8 { display:block; }
	
	#locationMap { height:600px; }
	
	.contentArea { padding:4em 0; }
	.singlePage #topRow .topRow { padding-top:200px; }
	.singlePage #topRow .topRow h1 { font-size:6em; }
	
	/*
	 * What's On
	 */
	.whatsOnPage #topRow { padding:0 0 4em; }
	.whatsOnPage #topRow .topRow { padding-top:200px; }
	.whatsOnPage #topRow .topRow h1 { font-size:6em; }
	#whatsonThumbs .whatsonBlock img { float: left; width:45%; margin-bottom:0; }
	#whatsonThumbs .whatsonBlock .contentBox { padding:20px; padding-left:calc(45% + 20px); }
	
}
@media (min-width: 992px) {
	
	.video body.home { background-color:#000; }
	.video body.home #siteWrap { opacity:0; }
	.video body.home #preloader { background:#000 url(../img/fancybox_loading.gif) no-repeat center center; height:100%; position:fixed; top:0; right:0; bottom:0; left:0; width:100%; z-index:200; } 
	.video.backgroundsize body.home #preloader { background-image:url(../img/fancybox_loading@2x.gif); background-size:24px 24px; }
	.video body.home article { background-color:#eee; }
	
	#topBar header nav ul li a { font-size:1.5em; padding:0 20px; }
	
	/** What's On **/
	#whatsOnRow { padding:0; position:relative; overflow:visible; }
	#whatsOnRow .contentWrap { min-height:277.5px; position:relative; }
	
	#whatsOnRow .topRow { padding-top:12.5em; position:relative; z-index:10; }
	#whatsOnRow .topRow h2 { color:#ff0099; font-size:6em; margin:0; padding:0 0 1em; position:absolute; bottom:0; }
	#whatsOnRow .topRow img { margin-bottom:-50%; }
	#whatsOnRow .topRow:after { display:none; }
	
	#whatsOnRow .bottomRow { color:#fff; padding-bottom:12.5em; position:relative; z-index:5; }
	#whatsOnRow .bottomRow h3 { color:#fff; font-size:3em; margin:0; padding:1.25em 0 0.625em; }
	#whatsOnRow .bottomRow ul { list-style:none; margin:0 0 1.5em; padding:0 6em 0 0; }
	#whatsOnRow .bottomRow ul li { font-size:2em; }
	.generatedcontent #whatsOnRow .bottomRow { background-color:transparent !important; }
	
	#whatsOnRow:after { background-color:#ff0099; content:''; display:block; position:absolute; left:0; bottom:0; top:50%; right:0; z-index:1;
			-ms-transform: skewY(2.5deg); /* IE 9 */
		-webkit-transform: skewY(2.5deg); /* Safari */
				transform: skewY(2.5deg);
				
	-webkit-transform-origin: 50% 0%; /* Chrome, Safari, Opera */
		-ms-transform-origin: 50% 0%; /* IE 9 */	
			transform-origin: 50% 0%;
	}
	#aboutRow { background-attachment:fixed; padding:12.5em 0; }
	#aboutRow h2,
	#aboutRow h3 { text-align:right; }
	
	.galleryColumn,
	.contentColumn { height:800px; position:relative; width:50%; }
	.contentColumn { padding:0 5em; z-index:10; }
	.contentColumn .contentWrap { padding-bottom:6em; padding-top:6em; max-width:600px; width:auto !important; }
	#menusRow .galleryColumn { float:left; }
	#menusRow .contentColumn { background-color:#ff0066; float:right; }
	#functionsRow .galleryColumn { float:right; }
	#functionsRow .contentColumn { background-color:#0066ff; float:left; }
	#menusRow .contentColumn:before, #functionsRow .contentColumn:before { display:block; }
	
	#bookingsRow { background-attachment:fixed; height:800px; }
	
	/** Pages **/
	
	/** What's On **/
	.whatsOnPage #topRow { padding:0 0 8em; }
	.whatsOnPage #topRow .topRow { padding-top:240px; }
	.whatsOnPage #topRow .contentWrap { min-height:227.5px; position:relative; }
	.whatsOnPage #topRow .topRow h1 { font-size:6em; position:absolute; bottom:0; }
	.whatsOnPage #topRow .topRow img { margin-bottom:-50%; }
	.whatsOnPage #topRow .bottomRow h3 { padding:0.75em 0 0.625em; }
	
	.pageGallery .flex-viewport { max-width:940px; }
	
	/** Dividers **/
	.divider_xs { margin-top:0; }
	.divider_sm { margin-top:0; }
	.divider_lg { margin-top:0; }
	.divider_md { margin-top:2em; }
	
	.rightCol { padding-left:45px; }
	
	#instagramFeed ul li { display:block; float:left; height:auto; margin:0; width:20%; }
	#instagramFeed ul li.image_9,
	#instagramFeed ul li.image_10 { display:block; }
	
	.contentArea { padding:8em 0; }
	.singlePage #topRow .topRow { padding-top:240px; }
	
	#locationMap { height:700px; }
	
}
@media (min-width: 1200px) {
	
	#whatsOnRow .contentWrap { min-height:277.5px; position:relative; }
	#whatsOnRow .bottomRow h3 { padding:1em 0 0.625em; }
	#whatsOnRow:after { top:480px; }
	
	#menusRow .contentColumn .btnRow .btn { float:left; width:50%; padding-left:0; padding-right:0; border-bottom:3px solid #fff; }
	#menusRow .contentColumn .btnRow .btn:nth-child(1),
	#menusRow .contentColumn .btnRow .btn:nth-child(2) { border-right:3px solid #fff; }
	#menusRow .contentColumn .btnRow .btn:nth-child(3),
	#menusRow .contentColumn .btnRow .btn:nth-child(1),
	#menusRow .contentColumn .btnRow .btn:nth-child(2),
	#menusRow .contentColumn .btnRow .btn:nth-child(4),
	#menusRow .contentColumn .btnRow .btn:nth-child(5),
	#menusRow .contentColumn .btnRow .btn:nth-child(3) { border-right:3px solid #fff; }
	#menusRow .contentColumn .btnRow .btn:nth-child(4) { border-bottom:3px solid #fff; }
	
	/** Pages **/
	
	/** What's On **/
	.whatsOnPage #topRow .contentWrap { min-height:277.5px; position:relative; }
	.whatsOnPage #topRow .bottomRow h3 { padding:1em 0 0.625em; }
	
	.pageGallery .flex-viewport { max-width:1140px; }
	
	/** Dividers **/
	.divider_xs { margin-top:0; }
	.divider_sm { margin-top:0; }
	.divider_md { margin-top:0; }
	.divider_lg { margin-top:2em; }
	
	#instagramFeed ul li { display:block; float:left; height:auto; margin:0; width:16.666%; }
	#instagramFeed ul li.image_11,
	#instagramFeed ul li.image_12 { display:block; }
	
}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}

/* 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;}

/*!--------------------------------------------------------------------
STYLES "Outdated Browser"
Version:    1.1.0 - 2014
author:     Burocratik
website:    http://www.burocratik.com
* @preserve
-----------------------------------------------------------------------*/
#outdated{
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 170px;
    text-align: center; text-transform: uppercase; z-index:1500;
    background-color: #f25648; color: #ffffff;
}
* html #outdated{position: absolute;}
#outdated h6{font-size: 25px; line-height: 25px; margin: 30px 0 10px;}
#outdated p{font-size: 12px; line-height: 12px; margin: 0;}
#outdated #btnUpdateBrowser{
    display: block; position: relative; padding: 10px 20px; margin: 30px auto 0; width: 230px; /*need for IE*/
    color: #ffffff; text-decoration: none; border: 2px solid #ffffff; cursor: pointer;
}
#outdated #btnUpdateBrowser:hover{color: #f25648; background-color:#ffffff;}
#outdated .last{position: absolute; top: 10px; right: 25px; width: 20px; height: 20px;}
#outdated #btnCloseUpdateBrowser{ border-bottom:none;
    display: block; position: relative; width: 100%; height: 100%;
    text-decoration: none; color: #ffffff; font-size: 36px; line-height: 36px;
}

/*! 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: #006666;
	color: #006666;
	text-shadow: none;
}

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

.fancybox-opened .fancybox-skin {
}

.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 {
	background-image: url('../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('../img/fancybox_loading.gif') center center no-repeat;
}

.fancybox-close { background-color:#fff; border:3px solid #006666; line-height:48px; text-align:center;
	position: absolute;
	top: -25px;
	right: -25px;
	width: 50px;
	height: 50px;
	cursor: pointer;
	z-index: 8040;
  -webkit-transition: all 0.15s ease-out;
     -moz-transition: all 0.15s ease-out;
       -o-transition: all 0.15s ease-out;
          transition: all 0.15s ease-out;
}
.fancybox-close:hover { background-color:#006666; border:3px solid #006666; color:#fff; }
.generatedcontent.csstransforms .fancybox-close i { display:none; }
.generatedcontent.csstransforms .fancybox-close:before,
.generatedcontent.csstransforms .fancybox-close:after { background-color:#006666; content:''; display:block; height:3px; margin-left:-12px; margin-top:-1px; position:absolute; left:50%; top:50%; width:24px;
  -webkit-transition: background-color 0.15s ease-out; 
     -moz-transition: background-color 0.15s ease-out;
       -o-transition: background-color 0.15s ease-out;
          transition: background-color 0.15s ease-out;
}
.generatedcontent.csstransforms .fancybox-close:hover:before,
.generatedcontent.csstransforms .fancybox-close:hover:after { background-color:#fff; }
.generatedcontent.csstransforms .fancybox-close:before {
  -webkit-transform: rotate(45deg); 
      -ms-transform: rotate(45deg); 
          transform: rotate(45deg); 
}
.generatedcontent.csstransforms .fancybox-close:after {
  -webkit-transform: rotate(-45deg); 
      -ms-transform: rotate(-45deg); 
          transform: rotate(-45deg); 
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('../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 { background-image:none; background-color:#fff; border:3px solid #006666; color:#006666; font-size:1.125em; line-height:44px; text-align:center;
	position: absolute;
	top: 50%;
	width: 50px;
	height: 50px;
	margin-top: -25px;
	cursor: pointer;
	z-index: 8040;
  -webkit-transition: all 0.15s ease-out;
     -moz-transition: all 0.15s ease-out;
       -o-transition: all 0.15s ease-out;
          transition: all 0.15s ease-out;
}
.generatedcontent.csstransforms .fancybox-nav span i { display:none; }
.generatedcontent.csstransforms .fancybox-nav span:before { border-top:3px solid #006666; border-right:3px solid #006666; content:''; display:block; height:16px; margin-left:-11px; margin-top:-8px; position:absolute; left:50%; top:50%; width:16px;
  -webkit-transition: background-color 0.15s ease-out; 
     -moz-transition: background-color 0.15s ease-out;
       -o-transition: background-color 0.15s ease-out;
          transition: background-color 0.15s ease-out;
}
.generatedcontent.csstransforms .fancybox-nav:hover span:before { border-color:#fff; }
.generatedcontent.csstransforms .fancybox-prev span:before { margin-left:-4px;
  -webkit-transform: rotate(-135deg); 
      -ms-transform: rotate(-135deg); 
          transform: rotate(-135deg); 
}
.generatedcontent.csstransforms .fancybox-next span:before {
  -webkit-transform: rotate(45deg); 
      -ms-transform: rotate(45deg); 
          transform: rotate(45deg); 
}

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

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

.fancybox-nav:hover span { background-color:#006666; border-color:#006666; color:#fff; }

.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-color:#fff;
}

.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 { background-color:#fff; border:1px solid #000; padding: 15px;
	visibility: visible;
}
.fancybox-title h4,
.fancybox-title p { margin:0; }

.fancybox-title-float-wrap {
	position: absolute;
	bottom:0;
	left:0;
	z-index: 8050;
	width:100%;
}

.fancybox-title-float-wrap .child {
	display: block;
	
}

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


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after,
.MGLField:before,
.MGLField:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after,
.MGLField:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix,
.MGLField {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
