/**
 * BxSlider v4.1.2 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2014
 * http://stevenwanderski.com
 * (while drinking Belgian ales and listening to jazz)
 *
 * CEO and founder of bxCreative, LTD
 * http://bxcreative.com
 */


/** RESET AND LAYOUT
===================================*/

.bx-wrapper {
	position: relative;
	margin: 0 auto 60px;
	padding: 0;
	*zoom: 1;
}

.bx-wrapper img {
	max-width: 100%;
	display: block;
}

/** THEME
===================================*/

.bx-wrapper .bx-viewport {


	
	/*fix other elements on the page moving (on Chrome)*/
	-webkit-transform: translatez(0);
	-moz-transform: translatez(0);
    	-ms-transform: translatez(0);
    	-o-transform: translatez(0);
    	transform: translatez(0);
}

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
	position: absolute;
	bottom: -30px;
	width: 100%;
}

/* LOADER */

.bx-wrapper .bx-loading {
	min-height: 50px;
	background: url(/wp-content/themes/catfishthai/css/images/bx_loader.gif) center center no-repeat #fff;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 900;
}

/* PAGER */

.bx-wrapper .bx-pager {
	text-align: center;
	font-size: .85em;
	font-family: Arial;
	font-weight: bold;
	color: #666;
	padding-top: 20px;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
	display: inline-block;
	*zoom: 1;
	*display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
	background: #666;
	text-indent: -9999px;
	display: block;
	width: 10px;
	height: 10px;
	margin: 0 5px;
	outline: 0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
	background: #000;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
	left: 0px;

}

.bx-wrapper .bx-next {
	right: 0px;
}

.bx-wrapper .bx-prev:hover {
	background-position: 0 0;
}

.bx-wrapper .bx-next:hover {
	background-position: -43px 0;
}

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top:0;
	outline: 0;
	width: 32px;
	height: 32px;
	text-align: center;
	line-height: 32px;

	font-size:40px;
	padding-bottom: 8px;
	z-index: 901;
	
	background: #000;
	border: 0 !important;
}

.bx-wrapper .bx-controls-direction a.disabled {
	display: none;
}

/* AUTO CONTROLS (START / STOP) */

.bx-wrapper .bx-controls-auto {
	text-align: center;
}

.bx-wrapper .bx-controls-auto .bx-start {
	display: block;
	text-indent: -9999px;
	width: 10px;
	height: 11px;
	outline: 0;
	background: url(/wp-content/themes/catfishthai/css/images/controls.png) -86px -11px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
	background-position: -86px 0;
}

.bx-wrapper .bx-controls-auto .bx-stop {
	display: block;
	text-indent: -9999px;
	width: 9px;
	height: 11px;
	outline: 0;
	background: url(/wp-content/themes/catfishthai/css/images/controls.png) -86px -44px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
	background-position: -86px -33px;
}

/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
	text-align: left;
	width: 80%;
}

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
	right: 0;
	width: 35px;
}

/* IMAGE CAPTIONS */

.bx-wrapper .bx-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	background: #666\9;
	background: rgba(80, 80, 80, 0.75);
	width: 100%;
}

.bx-wrapper .bx-caption span {
	color: #fff;
	font-family: Arial;
	display: block;
	font-size: .85em;
	padding: 10px;
}
/*! normalize.css v3.0.0 | MIT License | git.io/normalize */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined in IE 8/9.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9.
 * Hide the `template` element in IE, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */

b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari 5 and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari 5, and Chrome.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9.
 */

img {
  border: 0;
}

/**
 * Correct overflow displayed oddly in IE 9.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari 5.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

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

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8+, and Opera
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*
Theme Name: Catfish Thai
Description: Catfish Thai custom WordPress Theme
Version: 1
Author: Launch Interactive
Author URI: http://launchinteractive.com.au

*/

@font-face {
	font-family: 'catfish';
	src:url(/wp-content/themes/catfishthai/fonts/catfish.eot?3x0qp);
	src:url(/wp-content/themes/catfishthai/fonts/catfish.eot?#iefix3x0qp) format('embedded-opentype'),
		url(/wp-content/themes/catfishthai/fonts/catfish.woff?3x0qp) format('woff'),
		url(/wp-content/themes/catfishthai/fonts/catfish.ttf?3x0qp) format('truetype'),
		url(/wp-content/themes/catfishthai/fonts/catfish.svg?3x0qp#catfish) format('svg');
	font-weight: normal;
	font-style: normal;
}


/**
 * 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 are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}

/* WordPress Presentational Classes*/
/*.aligncenter { display:block; margin:0 auto }
.alignleft { float:left; margin:0 1em 1em 0 }
.alignright { float:right }
.wp-caption { border:1px solid #666; text-align:center; background:#ccc; padding:10px; margin:10px }*/

img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
.alignright {float:right;margin:0 0 1em 1em }
.alignleft {float:left;margin:0 1em 1em 0 }
.aligncenter {display: block; margin-left: auto; margin-right: auto}


html {
	height: 100%;
}

html.admin-bar {
	margin-top:0 !important;
}

body {
	background: #16171c top center no-repeat;
	background-size: cover;
	
	font-family: "Lato",sans-serif;
	font-weight: 300;
	
	color:#bdbdbd;
	
	min-height: 100%;
}

html.bg1 body {
	background-image: url(/wp-content/themes/catfishthai/images/bg1.jpg);
}
html.bg2 body {
	background-image: url(/wp-content/themes/catfishthai/images/bg2.jpg);
}
html.bg3 body {
	background-image: url(/wp-content/themes/catfishthai/images/bg3.jpg);
}

#top {
	height:8px;
	background: #181715;
}

#container {
	margin: 0 auto;
	max-width: 960px;
}

nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
nav a {
	text-decoration: none;
}

#subMainMenu {
	text-align: center;
	clear: both;
}

.page-parent #mainMenu .current-menu-item, .page-parent #mainMenu .current-menu-ancestor, .page-child #mainMenu .current-menu-item, .page-child #mainMenu .current-menu-ancestor {
	font-size: 2em;
	position: absolute;
	top:0;
	left:50%;
	margin-left:-80px;
	
}
.page-parent #mainMenu .current-menu-item img, .page-parent #mainMenu .current-menu-ancestor img, .page-child #mainMenu .current-menu-item img, .page-child #mainMenu .current-menu-ancestor img{
	width:160px;
	height: auto;
	margin-bottom: 0;
}
.home #mainMenu {
	padding-top:20px;
}
#mainMenu {
	width:25%;
	text-align: center;
	float: left;
	padding:20px;
	font-size: 0.750em;
	position: relative;
}

.page-parent #mainMenu, .page-child #mainMenu {
	padding-top: 140px;
	
}
#mainMenu img {
	width:80px;
	display: block;
	margin: 20px auto 5px;
}

#mainMenu li {
	display: inline-block;
	min-width:40%;
	vertical-align: top;
	line-height: 1.1em;
}
#mainMenu a {
	color:#A4A4A4;
}
#mainMenu a:hover, #mainMenu li.current-menu-item a, #mainMenu .current-menu-ancestor a {
	color:#FFF;
}
#subMainMenu a {
	color:#FFF;
	text-transform: uppercase;
}
#subMainMenu a:hover, #subMainMenu li.current-menu-item a {
	border-bottom: 1px solid #FFF;
}
#subMainMenu li {
	display: inline-block;
	margin:20px;
}

#logo img {
	margin:40px 0 20px;
}

nav {
	text-transform: uppercase;
}

hr {
	border: 0;
	border-top:1px solid #333;
	margin:0;
	padding: 0;
}

h1 {
	color:red;
	font-weight: 300;
	font-size: 1.8em;
	margin:1em 0 10px;
}

.scroll :first-child {
	margin-top: 0;
}

h2 {
	color:#999;
	font-weight: 300;
	font-size: 1.4em;
	margin:25px 0 10px;
}

h3 {
	color:#999;
	font-weight: 300;
	font-size: 1em;
	margin:25px 0 5px;
}


strong {
	font-weight: 700;
}

#content {
	background: #000;
	padding: 20px 20px 20px;
	float: right;
	width:65%;
	
}

#content .scroll {
	height: 400px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

#content a {
	color:#FFF;
	text-decoration: none;
	border-bottom: 1px solid #FFF;
}
#content .wp-caption a {
	border:0;
}
#content .wp-caption p {
	margin: 0 0 1em;
}
#content p {
	line-height: 1.5em;
}

#content h1 ~ p, #content h2 ~ p, #content h3 ~ p {
	margin-top: 0;
}

#content :last-child {
	margin-bottom: 0;
}

footer {
	clear: both;
	border-top:1px solid #333;
	text-align: center;
	padding: 20px 20px 15px;
	font-size: 0.875em;
}
footer .red {
	color:red;
	margin:0 10px;
}
footer .phone {
	font-size: 1.286em;
}
footer p {
	margin:0 0 5px;
}
footer a {
	color:#bdbdbd;
	text-decoration: none;
}

/*footer .facebook {
    padding-left: 23px;
    text-decoration: none;
    color:#bdbdbd;
    display: inline-block;
    margin-left: 10px;
    background-size: 16px 16px;
}*/
footer .facebook:before {
	content: "\e600";
}
footer .instagram:before {
	content: "\e601";
}
footer .vimeo:before {
	content: "\e602";
}
footer .social {
	margin:0 1em 1em;
	display: inline-block;
}

footer .social:before {
	text-decoration: none !important;
	font-family: 'catfish';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	
	color:red;
	margin-right: 8px;
	
	font-size: 2em;
}
footer .social:hover:before {
   color:#FFF;
}
#credit {
	margin:30px 0 0;
	font-size: .8em;
	color:#706f6f;
}
#credit a {
	color:#777;
	text-decoration: underline;
}
#credit a:hover {
	color:#999;
}
#credit span {
	color: red;
	margin-right: 10px;
}

ul.images {
	list-style: none;
	padding: 0;
	margin: 0;
}
#content ul.images a {
	text-decoration: none;
	border: 0;
}
ul.images img {
	max-width: 100%;
	height: auto;
}




.home #logo img {
	display: block;
	margin: 0;
	max-width: 350px;
	height: auto !important;
	margin: 40px auto;
	max-width: 80%;
}

.home #mainMenu {
	float:none;
	width: auto;
	font-size:1.2em;
}

.home #mainMenu li { /* This is seperate from below for ie8 Compatability */
	min-width: 0px;
	margin: 0 20px !important;
}

.home #mainMenu li:last-of-type, .home #mainMenu li:first-of-type {
	min-width: 0px;
	margin: 0 20px !important;
}

.home #mainMenu img {
	width:140px;
}

.home footer {
	border-top: 0;
}

.home #top {
	background: #000;
}

.home #mainMenu a img {
	-moz-transition: -moz-transform .2s ease-out;
	-webkit-transition: -webkit-transform .2s ease-out;
	transition: transform .2s ease-out;
}
.home #mainMenu a:hover img {
	-moz-transform:scale(1.1,1.1);
	-webkit-transform:scale(1.1,1.1);
	transform:scale(1.1,1.1);
}

.home.animate body {
	-webkit-animation: bodyinto 4s linear;
  -moz-animation:    bodyinto 4s linear;
  animation:         bodyinto 4s linear;
}

@-webkit-keyframes bodyinto {
  0%   { background-color: #e62e2b;  }
  20%   { background-color: #e62e2b;  }
  100% { background-color: #16171c; }
}
@-moz-keyframes bodyinto {
  0%   { background-color: #e62e2b;  }
  20%   { background-color: #e62e2b;  }
  100% { background-color: #16171c; }
}
@keyframes bodyinto {
  0%   { background-color: #e62e2b;  }
  20%   { background-color: #e62e2b;  }
  100% { background-color: #16171c;  }
}


.home.animate #logo img {
	-webkit-animation: logointro 5s linear;
  -moz-animation:    logointro 5s linear;
  animation:         logointro 5s linear;
}

@-webkit-keyframes logointro {
  0%   { opacity: 0;  }
  30%   { opacity: 0;  }
  100%   { opacity: 1;  }
}
@-moz-keyframes logointro {
  0%   { opacity: 0;  }
  30%   { opacity: 0;  }
  100%   { opacity: 1;  }
}
@keyframes logointro {
  0%   { opacity: 0;  }
  30%   { opacity: 0;  }
  100%   { opacity: 1;  }
}



.home.animate footer {
	-webkit-animation: footerintro 10s 1 linear;
  -moz-animation:    footerintro 10s 1 linear;
  animation:         footerintro 10s 1 linear;
}

@-webkit-keyframes footerintro {
  0%   { opacity:0;  }
  50%   { opacity:0;  }
  100% { opacity: 1; }
}
@-moz-keyframes footerintro {
	0%   { opacity:0;  }
  50%   { opacity:0;  }
  100% { opacity: 1; }
}
@keyframes footerintro {
	0%   { opacity:0;  }
  50%   { opacity:0;  }
  100% { opacity: 1; }
}


.home.animate hr {
	-webkit-animation: hrinto 8s 1 ease-out; 
  -moz-animation:    hrinto 8s 1 ease-out; 
  animation:         hrinto 8s 1 ease-out; 
}

@-webkit-keyframes hrinto {
  0%   {  width:0;  }
  40%   {  width:0;  }
  100% { width:100% }
}
@-moz-keyframes hrinto {
 0%   {  width:0;  }
  40%   {  width:0;  }
  100% { width:100% }
}
@keyframes hrinto {
 0%   {  width:0;  }
  40%   {  width:0;  }
  100% {  width:100% }
}

.home hr {
	margin-top: 40px;
}


.home.animate #mainMenu li:nth-child(1) {
	-webkit-animation: hide 3s 1 linear, buttoninto .8s 1 3s ease-out;
  -moz-animation:    hide 3s 1 linear, buttoninto .8s 1 3s ease-out;
  animation:         hide 3s 1 linear, buttoninto .8s 1 3s ease-out;
}
.home.animate #mainMenu li:nth-child(2) {
	-webkit-animation: hide 3.2s 1 linear, buttoninto .8s 1 3.2s ease-out;
  -moz-animation:    hide 3.2s 1 linear, buttoninto .8s 1 3.2s ease-out;
  animation:         hide 3.2s 1 linear, buttoninto .8s 1 3.2s ease-out;
}
.home.animate #mainMenu li:nth-child(3) {
	-webkit-animation: hide 3.4s 1 linear, buttoninto .8s 1 3.4s ease-out;
  -moz-animation:    hide 3.4s 1 linear, buttoninto .8s 1 3.4s ease-out;
  animation:         hide 3.4s 1 linear, buttoninto .8s 1 3.4s ease-out;
}

@-webkit-keyframes buttoninto {
 0%   {  -webkit-transform: scale(0,0);  }
  80%   {  -webkit-transform: scale(1.1,1.1);  }
  100%   {  -webkit-transform: scale(1,1);  }
}
@-moz-keyframes buttoninto {
 0%   {  -moz-transform: scale(0,0);  }
  80%   {  -moz-transform: scale(1.1,1.1);  }
  100%   {  -moz-transform: scale(1,1);  }
}
@keyframes buttoninto {
 0%   {  transform: scale(0,0);  }
  80%   {  transform: scale(1.1,1.1);  }
  100%   {  transform: scale(1,1);  }
}

@-webkit-keyframes hide {
 0%   {  -webkit-transform: scale(0,0);  }
  100%   {  -webkit-transform: scale(0,0);  }
}
@-moz-keyframes hide {
 0%   {  -moz-transform: scale(0,0);  }
  100%   {  -moz-transform: scale(0,0);  }
}
@keyframes hide {
 0%   {  transform: scale(0,0);  }
  100%   {  transform: scale(0,0);  }
}




.home.animate #top {
	-webkit-animation: topintro 5s 1 linear;
  -moz-animation:    topintro 5s 1 linear;
  animation:         topintro 5s 1 linear;
}
@-webkit-keyframes topintro {
 0%   {  background-color: #9E1A19;  }
 100%   {  background-color: #000;  }
}
@-moz-keyframes topintro {
 0%   {  background-color: #9E1A19;  }
  100%   {  background-color: #000;  }
}
@keyframes topintro {
 0%   {  background-color: #9E1A19;  }
100%   {  background-color: #000;  }
}


@media all and (max-width: 980px) {
	#logo img {
		margin-left: 20px;
	}
}

@media all and (max-width: 850px) {

	#content {
		float: none;
		width: auto;
		padding-top: 20px;
		height: auto;
	}
	#mainMenu {
		float:none;
		width: auto;
		padding:0 0 20px !important;
	}
	.page-parent  #mainMenu .current-menu-item, .page-parent  #mainMenu .current-menu-ancestor, .page-child  #mainMenu .current-menu-item, .page-child  #mainMenu .current-menu-ancestor {
		position: static;
		left: 0;
		margin: 0 10px;
		font-size: 1em;
	}
	#mainMenu li {
		min-width: 0px;
		margin:0 10px;
	}
	#mainMenu li:first-of-type {
		margin-left: 0 !important;
	}
	#mainMenu li:last-of-type {
		margin-right: 0 !important;
	}
	.page-parent  #mainMenu .current-menu-item img, .page-parent  #mainMenu .current-menu-ancestor img, .page-child  #mainMenu .current-menu-item img, .page-child  #mainMenu .current-menu-ancestor img{
		width:80px;
		margin-bottom: 5px;
	}
	#logo img {
		margin: 40px auto 20px;
		display: block;
	}
	
	img.alignright, img.alignleft, img.aligncenter ,.alignright, .alignleft, .aligncenter  {float:none; margin:1em 0 1em}

}









/* 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-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, button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none; }
button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  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; }
  .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-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
  color: white;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.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:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after, .mfp-arrow .mfp-a {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before, .mfp-arrow .mfp-b {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
    border-right: 17px solid white;
    margin-left: 31px; }
  .mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
    margin-left: 25px;
    border-right: 27px solid #3f3f3f; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
    border-left: 17px solid white;
    margin-left: 39px; }
  .mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
    border-left: 27px solid #3f3f3f; }

.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%;
    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; }


