/*
Theme Name: Surf Pacific Standard Responsive
Theme URI: http://www.surfpacific.com.au
Description: A responsive WordPress theme designed and built by Surf Pacific.
Author: Surf Pacific
Author URI: http://www.surfpacific.com.au
Version: 1.1
*/

/*------------------------------------*\
    CONTENTS
\*------------------------------------*/

/*

1. BASE.........Reset and default styles
2. LAYOUT.......Main and unique elements
3. MODULE............Reusable components
4. STATE..................Current states
5. THEME............Branding and colours

*/

/*------------------------------------*\
    1. $BASE
\*------------------------------------*/

html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, capt, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

* {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;	
}

ul, ol { list-style: none; }

body {
    background: #fff;
    font: normal 100%/1.618em "Century Gothic W01", Arial, Helvetica, sans-serif;
    color: #4b575f;
}

/* Give elements the same bottom margin to create consistent vertical rhythm */

p, ul, ol, blockquote, table, hr, iframe, .grid, .cta, .message, .button, .banner, .content, .has-mb, .divider { margin-bottom: 1.618em; } 


/*------------------------------------*\
    $TYPOGRAPHY
\*------------------------------------*/

h1, h2, h3, h4, h5, h6 { font-weight: normal; }

h1, .alpha {
    font-size: 2.125em; /* 34px */
    line-height: 1.235em; /* 42px */
	margin-bottom: 0.618em; /* 21px */
}

h2, .beta {
    font-size: 1.438em; /* 23px */
    line-height: 1.348em; /* 31px*/
	margin-bottom: 0.913em; /* 21px*/
}

h3, .gamma {
    font-size: 1.375em; /* 22px*/
    line-height: 1.421em; /* 27px*/
	margin-bottom: 1.105em; /* 21px*/
	font-weight: 700;
}

h4, .delta {
    font-size: 1.125em; /* 18px*/
    line-height: 1.444em; /* 26px*/
	margin-bottom: 1.167em; /* 21px*/
	font-weight:700;
}

h5, .epsilon {
	font-size: 1em; /* 16px*/
    line-height: 1.5em; /* 24px*/
	margin-bottom: 1.313em; /* 21px*/
}

h6, .zeta {
	font-size: 0.875em; /* 14px*/
	line-height: 1.571em; /* 22px*/
	margin-bottom: 1.5em; /* 21px*/
}

small, .small {
    font-size: 0.875em;
    line-height: 1.4em;
}

.wf {
	font-family:'Century Gothic W01';
	font-weight: 400; /* Normal */
	font-weight:700; /* Bold */
}
/*------------------------------------*\
    $LINKS
\*------------------------------------*/

a:link, a:visited {
    text-decoration: none;
    color: #00a0d1;
    font-weight: bold;
	-webkit-transition: all .1s linear;
       -moz-transition: all .1s linear;
        -ms-transition: all .1s linear;
         -o-transition: all .1s linear;
            transition: all .1s linear;
}

a:hover {
    color: #0086af;
    text-decoration: underline;
    outline: none;
}

a:focus, a:active { outline: none }

a.no-td:hover { text-decoration: none; }

/*------------------------------------*\
    $BUTTONS
\*------------------------------------*/

a.button, button, input[type="submit"] {
	font-size: 1em;
    line-height: 1em;
    padding: 0.75em 1.618em;
    color: #fff;
    -webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 3px #006e90;
	-moz-box-shadow: 0 3px #006e90;
	box-shadow: 0 3px #006e90;
	display: block;
	background: #02a7d9;
}

a.button {
    display: inline-block;
    zoom: 1;
    *display: inline;    
}

a.button:hover, button, input[type="submit"]:hover {
    text-decoration: none;
    color: #fff;
    background-color: #333;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 3px #434e55;
	-moz-box-shadow: 0 3px #434e55;
	box-shadow: 0 3px #434e55;
}

input.search-submit.is-hidden {
	display: none;
}

a.button-alt {
	color: #fff;
	border: 1px solid #fff;
	background: none;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	-webkit-box-shadow: 0 0px;
	-moz-box-shadow: 0 0px ;
	box-shadow: 0 0px ;
}

a.button-alt:hover {
	color: #00a0d1;
	background-color: #fff;
	border: 1px solid #fff;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	-webkit-box-shadow: 0 0px;
	-moz-box-shadow: 0 0px;
	box-shadow: 0 0px;
}

a.button-full {
	width: 100%;
	display: block;
	text-align: center;
	padding-left: 0;
	padding-right: 0;
}

a.button-cta {
	font-size: 2em;
	font-weight: bold;
	margin-bottom: 0.469em;
}

.button + .button { margin-left: 0.75em; }

@media all and (min-width: 43.750em) { /* 700px */

	a.button-full {
		background:#00a0d1;
		font-size:2.188em;
		text-transform: uppercase;
	}
	a.button-full:hover {
		background:#0086af;
	}
}

/*------------------------------------*\
    $FORMS
\*------------------------------------*/

input, select, textarea, button {
    font-family: inherit;
	font-size: inherit; 
    line-height: 1em;
    border: 1px solid #ddd;
	padding: 0.188em 0.313em; /* 3px 5px */
}

input[type="submit"], button {
	-webkit-appearance: none; /* Remove iOS default styles */
    cursor: pointer;
    border: none;
    -webkit-transition: all .1s linear;
       -moz-transition: all .1s linear;
        -ms-transition: all .1s linear;
         -o-transition: all .1s linear;
            transition: all .1s linear;
}

/*------------------------------------*\
    $OTHER ELEMENTS
\*------------------------------------*/

hr {
	border: solid #ddd;
    border-width: 1px 0 0 0;
    clear: both;
	width: 33%;
	margin: 2.5em auto;
}

img, iframe { 
	vertical-align: top; 
	max-width: 100%;
}

/*------------------------------------*\
    2. $LAYOUT
\*------------------------------------*/

.container, .header, .navigation, .main, .footer { width: 100%; }

.top { padding: 1.25em; }
@media all and (min-width: 61.250em) { /* 980px */

	.container { 
		width: 61.250em; /* 980px */
		margin: 0 auto;
	}
	.top {
		padding: 1.25em 0 0 0;
	}
}

.inline-block {
	display:inline-block !important;
	vertical-align:top;
}

/*------------------------------------*\
   $HEADER
\*------------------------------------*/
	.header-full {
		z-index: 999999;
		position:relative;
		background: rgba(255,255,255,0.9);
		left: 0;
		right: 0;
	}
	.page-id-9 .header-full {
		position: relative;
	}
@media all and (min-width: 43.750em) { /* 700px */
	h2.contact-tablet {
		position: absolute;
		top: 1.4em;
		right: 6em;
		font-weight: 700;
		color: #00a0d1;
	}
	.header-full {
		position: absolute;
	}
}
@media all and (min-width: 61.250em) { /* 980px */
	.contact {
		width: 100%;
	}
	.header .contact h2 {
		font-weight: 700;
		color: #00a0d1;
		font-size: 1.375em;
	}
	.header ul, .header li, .header p {
		display: inline-block;
		vertical-align:top;
	}
	.page-template-default .header-full, .blog .header-full, .single .header-full {
		margin: 0px 0px 23.5em;
	}
}
/*------------------------------------*\
    
	$TOUCH NAV
	
	Only displayed on touch devices
	
\*------------------------------------*/

.nav-touch-toggle {
	position: absolute;
	top: 50%; 
	right: 1em;
	margin-top: -22px;
	width: 45px;
	height: 45px;
	text-indent: -9999em;
	background: url(images/sprite.png) -400px -200px no-repeat;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
	
	.nav-touch-toggle {
		background: url(images/sprite@2x.png) -400px -200px no-repeat;			
		background-size: 600px 800px;
	}
		
}

.nav-touch-top {
	padding: 1em 1.25em; 
	position: relative;
}

.nav-touch-search { width: 75%; }

.nav-touch-close { 
	position: absolute;
	top: 50%;
	right: 1em;
	width: 24px;
	height: 24px;
	margin-top: -12px;
}

.nav-touch {
	width: 100%;
	display: block;
}

.nav-touch a {
	display: block;
	width: 100%;
	background-color: #fff;
	color: #808080;
	border-top: 1px solid #eee;
	font-weight: normal;
	padding: 0.625em;
	text-align: center;
}

.nav-touch a:hover, .nav-touch .current-menu-item > a {
	text-decoration: none;
	color: #fff;
	background-color: #00a0d1;
}
@media all and (max-width: 61.188em) { /* 980px */
	nav img {
		display: none;
	}
}
/*------------------------------------*\
    $FULL SIZE NAV
\*------------------------------------*/

@media all and (min-width: 61.250em) { /* 980px */
	
	.nav-primary li {
		position: relative;
		z-index: 500;
	}
	
	.nav-primary > li { float: left; }
	
	.nav-primary a {
		padding: 0;	
		border: none;
		color: #444;
		line-height: 3em;
		padding: 0 1.8em;
		text-align: left;
	}

	.nav-primary li:hover > a {
		background: none;
		color: #00a0d1;
		text-decoration: underline;
	}

	.nav-primary li:hover > ul { display: block }
	
	/*------------------------------------*\
		$2ND LEVEL
	\*------------------------------------*/
	
	.nav-primary ul, .nav-primary ul li { width: 28.125em; }
	.sub-menu img {
    display: inline-block;
    text-align: right;
    vertical-align: top;
	}
	.sub-menu .page-title {
	    width: 55%;
	    display: inline-block;
	    vertical-align: middle;
	    padding: 1.78em 0.5em;
	    font-size: 1.125em;
	    font-weight: normal;
	}
	.sub-menu li.menu-item-1190 .page-title, .sub-menu li.menu-item-1198 .page-title {
		padding:1em 0.5em;
	}
	.nav-primary ul {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		float: left;
		z-index: 99999;
		-webkit-box-shadow: 0px 5px 5px rgba(0,0,0,0.25);
		   -moz-box-shadow: 0px 5px 5px rgba(0,0,0,0.25);
				box-shadow: 0px 5px 5px rgba(0,0,0,0.25);   
	}
	
	.nav-primary ul a {
		background:#f1f1f1;
		color: #4b575f;
		line-height: 1.4em;
		padding: 0.5em 0.875em;
		width: 100%;
		height: auto;
		border-bottom: 1px solid #999;
	}
	
	.nav-primary ul :hover > a {
		background: #14a0d2;
		color: #fff;
	}
	
	/*------------------------------------*\
		$3RD LEVEL
	\*------------------------------------*/
	
	.nav-primary ul ul {
		left: 100%;
		top: 0;
	}
	
	/*------------------------------------*\
		$1ST LEVEL CURRENT
	\*------------------------------------*/
	
	.nav-primary li.current_page_item > a, .nav-primary li.current-menu-item > a, .nav-primary .current-page-ancestor > a {
		color: #00a0d1;
		text-decoration: underline;
	}

	* html .nav-primary li.current_page_item a, * html .nav-primary li.current-menu-ancestor a, * html .nav-primary li.current-menu-item a, * html .nav-primary li.current-menu-parent a, * html .nav-primary li a:hover {
		background-color: #808080;
		color: #fff;
	}
	
	/*------------------------------------*\
		$2ND LEVEL CURRENT
	\*------------------------------------*/
	
	.nav-primary ul li.current-menu-item > a, .nav-primary ul li.current-menu-parent > a { 
		background-color: #1188b3;
		color: #fff;  
	}
	.nav-primary ul li.current-menu-item:hover ul li a {
		background: #f1f1f1;
		color: #4b575f;
	}
	.nav-primary ul li.current-menu-item:hover ul li:hover a:hover {
		background: #14a0d2;
		color: #fff;
	}
}

/*------------------------------------*\
    $CAROUSEL
\*------------------------------------*/

.feature { 
	position: relative; 
	overflow: hidden;
	height: 32.375em;
	/* margin-top: -5.875em; */
}

.feature-content, .banner-content {
	position: absolute;
	top: 0;
	/* height: 24em; */
	left: 5%;
	width: 40%;
	color: #fff;
	background-color: rgba(75, 87, 95, 0.8);
	text-align: center;
	padding: 2.5em 0.2em;
}

.feature-content {
	height: 25em;
	margin-top: 5.875em;

}

.banner-content {
	height:21.063em;
}

.feature-heading, .banner-heading {
	color: #fff;
	font-size: 1.750em;
	line-height: 1.2em;
	font-weight: 700;
}

@media all and (min-width: 43.750em) { /* 700px */
	.banner-content {
		padding:7em 0.2em;
	}
	.feature-buttons a.button {
		text-transform:uppercase;
		display:block;
		margin: 0 0.5em 0.688em 0.5em;
		font-weight: normal;
	}

}
@media all and (min-width: 61.250em) { /* 980px */

	.feature {
		height: 49.188em;
		overflow: hidden;
		/* margin-top: -11.750em; */
}

	.feature .container {
		position: absolute;
		top: 0;
		left: 50%;
		margin-left: -30.625em;
	}
	.feature-content {
		height: 50.438em;
		left:0;
		padding-top: 11.75em;
		width:29.625em;
	
		top: 0;
		bottom: 0;
}
	.feature-buttons a.button {
		width: 45%;
		display: inline-block;
		font-size: 0.875em;
	}
	.feature-heading, .banner-heading {
		font-size:2.188em;
		text-transform:uppercase;
	}
	.banner-content {
		padding:4em 0.2em;
	}
}

/*------------------------------------*\
    $FLEXSLIDER
\*------------------------------------*/

.flexslider {
	margin: 0; 
	padding: 0;
}

.flexslider .slides > li { display: none; }

.flexslider .slides img {
	display: block;
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: -30.625em; /* Half of width - 980px */
	max-width: none;
	width: auto;
}

.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-js .slides > li:first-child { display: block; }

@media all and (min-width: 61.250em) { /* 980px */

	.flexslider .slides img {
		margin-left: -60em; /* Half of width - 1920px */
	}

}

/*------------------------------------*\
    $DIRECTION NAV - ARROWS
\*------------------------------------*/

ul.flex-direction-nav { margin-bottom: 0; }

.flex-direction-nav a {
    width: 24px;
    height: 24px;
    display: block;
    position: absolute;
	top: 50%;
	left: 5%;
	margin-top: -12px;
    z-index: 100000;
    cursor: pointer;
    text-indent: -9999px;
    background: url(images/sprite.png) -600px -800px no-repeat;
}

.flex-direction-nav a.flex-next {
	left: auto;
	right: 5%;
	background-position: -300px -100px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
	
    .flex-direction-nav a {
    	background-image: url(images/sprite@2x.png) -800px -600px;
		background-size: 600px 800px;
	}
	
}

/*------------------------------------*\
    $CONTROL NAV - DOTS
\*------------------------------------*/

ol.flex-control-nav {
	position: absolute;
	left: 35px;
	bottom: 24px;
	line-height: 1;
	width: 37%;
	z-index: 999;
	text-align: center;
}

.flex-control-nav li {
    margin: 0 5px;
    display: inline-block;
    zoom: 1;
    *display: inline;
	text-indent: -9999em;
}

.flex-control-paging li a {
    width: 20px;
    height: 20px;
    display: block;
    background:url(images/sprite.png) -400px -300px no-repeat;
    cursor: pointer;
	-webkit-border-radius: 100%;
	   -moz-border-radius: 100%;
	        border-radius: 100%;
}

.flex-control-paging li a.flex-active {
    background:url(images/sprite.png) -500px -300px no-repeat;
    cursor: default;
}

@media all and (min-width: 61.250em) { /* 980px */
	ol.flex-control-nav {
		width: 48.5%;
		position: relative;
		left: auto;
	}
	.flexslider-nav {
		width: 61.250em;
		left: 50%;
		margin-left: -30.625em;
		position: absolute;
		text-align: center;
		top: 81%;
	}

}

/*------------------------------------*\
    $PROMO
\*------------------------------------*/

.promo {
	margin: 0 1.250em;
	z-index: 500;
	position: relative;
	background: #fff;
}

.promo a { display: block; } 

.promo-item-heading { margin-bottom:  0.75em; text-align: center; font-size: 1.063em; background: #4b575f; color: #fff; padding: 0 1.1em;font-weight: 700;}

.promo-item p {
    font-size: 0.875em;
    line-height: 1.5em;
    padding-top: 1em;
    color: #fff;
}

@media all and (min-width: 30em) { /* 480px */
	.promo-item-heading {
		font-size:1.250em;
		padding: 0.3em 2em;
	}
	.promo-item-visible {
		padding: 0 2em;
	}
}

@media all and (min-width: 43.750em) { /* 700px */

	.promo {
		margin-top: -1.625em;
		border: 12px solid #fff;
	}
	.promo-item-heading {
		font-size:1em;
		text-transform: none;
		padding: 0.3em 1.2em;
		font-weight: normal;
	}
	.promo-item-visible {
		padding: 0;
	}
}

@media all and (min-width: 61.250em) { /* 980px */
	.promo-item-hidden {
		opacity: 0;
		position: absolute;
		z-index: 2;
		top: 0;
		right: 0;
		bottom: 32px;
		left: 0;
		padding: 12em 2em 0;
		background-color: #0569b3;
		background-color: rgba(0,160,209,0.7);
		text-align:center;
	}
	.promo-item-visible { position: relative; }
	.promo-item-body {
		position:relative;
		width:14.375em;
	}
	.promo {
		margin-left: -0.750em;
		margin-right: -0.750em;
	}
	.promo br {
		display:none;
	}
}

/*------------------------------------*\
    $BANNER
\*------------------------------------*/

.banner {
    width: 100%;
    height: 21.063em;
	position: relative;
	background-position: 50% 0;
	background-repeat: no-repeat;
	background-size: cover;
}

@media all and (min-width: 43.750em) { /* 700px */
	.banner {
		margin-bottom:0;
	}

}

@media all and (min-width: 61.250em) { /* 980px */

	.banner { 
		background-size: auto; 
		height: 34.125em;
		position: relative;
		top: 0px;
	}

	.banner-content { 
		position: relative; 
		height: 23.6em;
		top: 10.52em;
		left:0;
		padding: 4em 2em;
	}

	.single .content-heading, .blog .content-heading, .category .content-heading {
		margin-top: 1.618em;
	}

}

/*------------------------------------*\
    $CONTENT
\*------------------------------------*/

.content { padding: 0 1.25em; }

h1.home-title {
    color: #00a0d1;
    font-weight: 700;
}

h1.home-title span {
    font-weight: normal;
}

.content-heading {
	background: #00a0d1;
	color: #fff;
	padding: 1em 1.25em;
	margin-bottom: 1.618em;
}

.content-heading h1.page-title {
	margin:0;
	text-transform: uppercase;
	font-weight: 700;
	font-size:1.5em;
}

.divider {
	height:3px;
	width:53%;
	background:#00a0d1;
}

.wp-video {
	display: block;
}

@media all and (min-width: 43.750em) { /* 700px */

	.content { padding: 0 1.875em; }
	.wp-video {display:relative;}
	h1.home-title {
		text-align: center;
	}

	.divider {
		width: 25%;
	}

}

@media all and (min-width: 61.250em) { /* 980px */

	.content {
		float: left;
		padding: 0;
		width: 65%; /* 640px */
	}
	
	.content-right { float: right; }
	
	.content-full { 
		float: none;
		width: 100%;
	}

	.grid-alpha {
		margin-bottom: 3em;
	}

	.palm-whole .home-01.grid-alpha, .home-03.grid-alpha, .home-05.grid-alpha {
	    width: 70%;
	    float: right;
	}
	.palm-whole .grid-item.grid-beta, .grid-item.grid-beta {
	    display: inline-block;
	    width: 273px;
	}
	.home-02.grid-item.grid-alpha, .home-04.grid-alpha {
	    width: 70%;
	}
	.content-heading {
		background: none;
		color: #00a0d1;
		padding: 0;
		margin-bottom: 1.618em;
	}
	.divider {
		width: 18%;
	}

	h1.home-title br {
		display: none;
	}
	p.home-subtitle {
		text-align: center;
		padding: 0 9em;
	}
}

/*------------------------------------*\
    $CONTENT TABLES
\*------------------------------------*/

.content table {
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-collapse: collapse;
}

.content table th {
	color: #fff;
	padding: 0.313em 0.616em;
	text-align: left;
}

.content table td {
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    padding: 0.313em 0.616em;
}

/*------------------------------------*\
    $CONTENT LISTS
\*------------------------------------*/

.content ul, .content ol { margin-left: 1em; }

.content ul { list-style: disc; }

.content ol { list-style: decimal; }

.content li { margin-bottom: 0.875em; }

.content li > ul, .content li > ol { 
    margin-top: 0.625em; 
    margin-bottom: 0;
}

@media all and (min-width: 43.750em) { /* 700px */

	.content ul, .content ol { margin-left: 2.625em; } /* 42px */

}

/* Styling for call to action links */

a.cta {
	clear: both;
	color: #fff;
    display: block;
    padding: 1em 1.618em;
	line-height: 1.4em;
    background-color: #808080;
    -webkit-transition: all .25s ease-in-out;
	   -moz-transition: all .25s ease-in-out;
	        transition: all .25s ease-in-out;
}

a.cta:hover { 
	text-decoration: none;
	background-color: #454545;
}

@media all and (min-width: 43.688em) { /* 699px */
	
	/* Two column list */

	ul.list-double {
		margin-left: 0;
		margin-bottom: 1em;
		clear: both;
		overflow: hidden;
	}
	
	ul.list-double li {
		float: left;
		width: 40%;
		margin-left: 10%;
	}

}

/* Page lists displayed with [list-pages] and [child-pages] */

ul.child-pages, ul.list-pages {
	list-style: none;
	margin-left: 0;
	border-top: 1px solid #ddd;
}

ul.child-pages li, ul.list-pages li { 
	border-bottom: 1px solid #ddd; 
	margin-bottom: 0;
}

ul.child-pages a, ul.list-pages a { 
	display: block; 
	padding: 0.616em 0.313em;
}

ul.child-pages a:before, ul.list-pages a:before {
	content: '';
	display: inline-block;
	zoom: 1;
	*display: inline;
	vertical-align: middle;
	width: 24px;
	height: 24px;
	background: url(images/sprite.png) -100px -200px no-repeat;   
	margin-right: 0.5em; 
	float: right;	
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
	
    ul.child-pages a:before, ul.list-pages a:before {
        background-image: url(images/sprite@2x.png) -100px -200px no-repeat;
		background-size: 600px 800px;
    }
	
}

/*------------------------------------*\
    $BLOCKQUOTE
\*------------------------------------*/

blockquote {
	position: relative;
	padding: 0 1.618em;
	font-size: 1.125em;
	line-height: 1.618em;
	text-align: center;
}

blockquote:before {
	content: '“';
	display: block;
	text-align: center;
	font-size: 7em;
	line-height: 0;
	padding: 0.35em 0 0.15em 0;
	font-family: Georgia, "Times New Roman", Times, serif;
}

blockquote p:last-child { margin: 0 }

/*------------------------------------*\
    $PULLQUOTE
\*------------------------------------*/

.pull-quote {
	font-size: 1.125em;
	border: double #ddd;
	border-width: 4px 0;
	padding: 1em 0;
}

@media all and (min-width: 43.750em) { /* 700px */

	.pull-quote {
		float: right;
		width: 33%;
		margin: 0 0 1em 1.618em;
	}	

}

/*------------------------------------*\
	$MESSAGES
\*------------------------------------*/

.message {
    padding: 0.875em 1.618em;
    border: 1px solid;
    color: #555;
}

.note {
	background: #fcffc5;
	border-color: #fbffa3;
}

.highlight {
	background: #A9E8FA;
	border-color: #79dbf7;
}

.warning {
    background-color: #ef1000;
    border-color: #cf0000;
    color: #fff;
}

/*------------------------------------*\
    $BLOG
\*------------------------------------*/

.post-divider {
    display: block;
    height: 1px;
    background: #ddd;
    width: 50%; 
	margin: 3em auto;

}

.post-meta p {
	font-size: 0.875em;
	line-height: 1.4em;
}

.post-navigation {
    font-size: 0.875em;
    line-height: 1.5em;
    border-top: 1px solid #ddd;
    padding: 1em 0;
}

.archive-navigation {
    display: block;
    clear: both;
    padding: 1em 0;
    text-align: center;
    border-top: 1px solid #ddd;
}

.archive-navigation span, .archive-navigation a {
    padding: 3px 6px;
    border: 1px solid #ddd;
	-webkit-border-radius: 2px;
     -opera-border-radius: 2px;
     -khtml-border-radius: 2px;
 	   -moz-border-radius: 2px;
            border-radius: 2px;
    
}

.post-share h5 {
    font-size: 0.875em;
	line-height: 1.5em;
    text-transform: uppercase;
}

@media all and (min-width: 43.750em) { /* 700px */

	.post-share h5 {
		float: left;
		margin: 0 0.616em 0 0;
	}

}

#___plusone_0 { vertical-align: top !important; }

/*------------------------------------*\
    $CONTENT IMAGES
\*------------------------------------*/

.alignright, a.alignright, .alignleft, a .alignleft, .aligncenter, a .aligncenter, .alignnone, a.alignnone, .wp-caption {
	padding: 8px;
	background-color: #fff;
    border: 1px solid #ddd; 
}

@media all and (max-width: 25.000em) { /* 400px */

	img.alignright, img.alignright { 
		max-width: 50%;
		height: auto; 
	}

}

.alignright, a.alignright {
    float: right;
    margin: 0 0 1.618em 1.618em; /* 0 0 26px 26px */
}

.alignleft, a.alignleft {
    float: left;
    margin: 0 1.618em 1.618em 0; /* 0 26px 26px 0 */
}

.aligncenter, a .aligncenter {
    display: block;
    margin: 0 auto 1.618em auto; /* 0 auto 26px auto */
}

.alignnone, a .alignnone {
    display: block;
    margin-bottom: 1.618em; /* 26px */
}

img.no-image-border {
	padding: 0;
	border: none;
}

.wp-caption { margin-bottom: 1.618em; /* 26px */ } 

.wp-caption img {
    border: none;
    margin: 0;
    padding: 0;
}

.wp-caption p.wp-caption-text {
    font-size: 0.875em; /* 14px */
    line-height: 1.4em; /* 19px */
    margin: 0.357em 0 0 0; /* 5px 0 0 0 */
	padding: 0.714em 0 0.357em 0; /* 10px 0 5px 0 */
	text-align: center;
}

#gallery-1 img {
    border: 1px solid #ddd !important;
    background: #fff;
    padding: 8px;
}

#gallery-1 img:hover { border: 1px solid #808080 !important }

/*------------------------------------*\
    $SIDEBAR
\*------------------------------------*/

@media all and (min-width: 61.250em) { /* 980px */

	.sidebar {
		float: right;
		width: 29.5%; /* 289px */
		margin-top: -5em;
	}	
	.sidebar a.button {
		width: 100%;
		text-transform: uppercase;
		font-size: 1.1em;
	}
	.sidebar .divider {
		margin: 1.5em 0;
		width: 50%;
	}
	.single .sidebar, .blog .sidebar, .category .sidebar {
		margin-top: -4em;
	}
}

.sidebar > div, .sidebar-blog > div { margin-bottom: 2em; }

.sidebar-heading { 
	font-size: 1.188em;
	line-height: 1.3em;
	margin-bottom: 0.5em;
	color: #00a0d1;
	font-weight:normal;
}

.sidebar-heading span {
	font-weight:700;
}

/*------------------------------------*\
    $ISLAND
\*------------------------------------*/

.island {
	padding: 1em 1.168em;
	color: #fff;
}

.island-heading { color: #fff; }

/*------------------------------------*\
    $UI LIST
\*------------------------------------*/

.ul-list {
    list-style: none;
    border-top: 1px solid #ddd;
	margin: 0;
}

.ui-list li { border-bottom: 1px solid #ddd; }

.ui-list a {
    display: block;
    padding: 0.616em 0.313em;
	line-height: 1.4em;
	font-weight: normal;
}

.ui-list a:hover, .ui-list .current_page_item a { 
	text-decoration: none; 
	background: #4b575f;
	color: #fff;
	border-right: 10px solid #00a0d1;
}

/*------------------------------------*\
    $SEARCH
\*------------------------------------*/

.form-search { position: relative; }

.form-search .search-input { 
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0.5em 0.313em 0.5em 2.5em;
	color: #666;
	border: 1px solid #ddd;
	-webkit-border-radius: 20px;
	   -moz-border-radius: 20px;
	        border-radius: 20px;
}

.form-search:before {
	content: '';
	position: absolute;
	top: 50%;
	left: 1em;
	margin-top: -8px;
	z-index: 1;
	display: inline-block;
	zoom: 1;
	*display: inline;
	width: 16px;
	height: 16px;
	background: url(images/sprite.png) -200px -100px no-repeat;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
	
    .form-search:before {
    	background-image: url(images/sprite@2x.png) -200px -100px;
		background-size: 600px 800px;
	}
	
}

/*------------------------------------*\
    $SIDEBAR - LEFT
\*------------------------------------*/

.sidebar-left { 
	padding: 0 1em; 
	margin-bottom: 1em;
}

.sidebar-left .contact-detail {
    padding: 1em 0;
    border-bottom: 1px solid #ddd;
}

.sidebar-left h4 {
    font-size: 1em;
    line-height: 1em;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}

.sidebar-left .icon { vertical-align: top; }

.sidebar-left p, .sidebar-left table {
    font-size: 1.1em;
    line-height: 1.4em;
    margin: 0;
}

.sidebar-left p + p { margin: 10px 0 0 0 }

.sidebar-left .is-day, .sidebar-left .is-time { width: 50%; }

@media all and (min-width: 43.750em) and (max-width: 61.188em) { /* 700px - 979px */

	.sidebar-left table { width: 50%; }
	
}

@media all and (min-width: 61.250em) { /* 980px */

	.sidebar-left {
		float: left;
		width: 18.750em; /* 300px */
		padding: 0;
		margin-bottom: 1em;
		font-size: 1.1em;
	}

	.sidebar-left { font-size: 1em; }
	
	.sidebar-left p, .sidebar-left table { font-size: 1em; }
		
	.sidebar-left h4 { margin-bottom: 0.875em; }
	
}

/*------------------------------------*\
    $FOOTER
\*------------------------------------*/

.footer {
    clear: both;
	text-align: center;
	padding: 1.25em;
}

.footer-body {
	font-size: 0.75em;
    line-height: 1.4em;
}

.footer p, .footer a { color: #777; }

.footer a { font-weight: normal; }

.footer a:hover { color: #444 }

@media all and (max-width: 43.688em) { /* 699px */

	.footer { margin-bottom: 5em; } /* Height of call now button */

}





/*------------------------------------*\
    3. $MODULE
\*------------------------------------*/ 

/*------------------------------------*\
    $NAV
\*------------------------------------*/ 

ul.nav, .nav ul { 
    list-style: none; 
    margin: 0;
    padding: 0;
}

.nav li { float: left; }

.nav a { display: block; }

ul.nav-stacked li { float: none; }

/*------------------------------------*\
    $HELPER
\*------------------------------------*/

.clr { clear: both }

.left { float: left }

.right { float: right }

.text-center { text-align: center; }

.text-right { text-align: right; }

.upper { text-transform: uppercase; }

.lower { text-transform: lowercase;}

.under { border-bottom: 1px solid; }

.spaced { letter-spacing: 2px; }

.no-mb { margin-bottom: 0; }

.is-relative { position: relative; }

.inline-block {
    display: inline-block;
    zoom: 1;
    *display: inline;
}

.cf:before, .cf:after, .grid:before, .grid:after, .main:before, .main:after, .content:before, .content:after, .nav-primary:before, .nav-primary:after, .container:before, .container:after, .top:before, .top:after, .navigation:before, .navigation:after {
    content: " ";
    display: table;
}

.cf:after, .grid:after, .main:after, .content:after, .nav-primary:after, .container:after, .top:after, .navigation:after { clear: both; }

.cf, .grid, .main, .content, .nav-primary, .container, .top, .navigation { *zoom: 1; }

/*------------------------------------*\
    $GRID
\*------------------------------------*/ 

.grid { margin-left: -0.813em; }

.grid-item {
    display: block;
    float: left;
    padding-left: 0.813em;
    width: 100%;
}

@media all and (min-width: 18.750em) {

	.palm-whole .grid-item { width: 100%; }
	
	.palm-halves .grid-item { width: 50%; }
	
	.palm-thirds .grid-item { width: 33.3333333%; }
	
	.palm-fourths .grid-item { width: 25%; }
	
	.palm-fifths .grid-item { width: 20%; }

}

@media all and (min-width: 43.750em) and (max-width: 61.250em) {

	.lap-whole .grid-item { width: 100%; }
	
	.lap-halves .grid-item { width: 50%; }
	
	.lap-thirds .grid-item { width: 33.3333333%; }
	
	.lap-one-two-thirds .lap-one-third { width: 33.3333333%; }
	
	.lap-one-two-thirds .lap-two-thirds { width: 66.666667%; }
	
	.lap-fourths .grid-item { width: 25%; }
	
	.lap-fifths .grid-item { width: 20%; }
	
}

@media all and (min-width: 61.250em) { 

	.desk-whole .grid-item { width: 100%; }

	.desk-halves .grid-item { width: 50%; }
		
	.desk-thirds .grid-item { width: 33.3333333%; }
	
	.desk-one-two-thirds .desk-one-third { width: 33.3333333%; }
	
	.desk-one-two-thirds .desk-two-thirds { width: 66.666667%; }
	
	.desk-fourths .grid-item { width: 25%; }
	
	.desk-fifths .grid-item { width: 20%; }

}

/*------------------------------------*\
    $ICONS
\*------------------------------------*/

.icon {
    display: inline-block;
    zoom: 1;
    *display: inline;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    background: url(images/sprite.png) 0 0 no-repeat;   
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
	
	.icon {
		background: url(images/sprite@2x.png) 0 0 no-repeat;			
		background-size: 600px 800px;
	}
		
}

.icon-m {
	width: 23px;
	height: 24px;
}

.icon-l {
	width: 76px;
	height: 71px;
}

/*------------------------------------*\
    $ROW 1
\*------------------------------------*/

.icon-phone { background-position: 0 0; }
.icon-fax { background-position: -100px 0; }
.icon-email { background-position: -200px 0; }
.icon-address { background-position: -300px 0; }
.icon-hours { background-position: -300px -300px; }
.icon-payment { background-position: -500px 0; }
.page-template-page-contact-php .icon-hours { background-position: -400px 0; }
/*------------------------------------*\
    $ROW 2
\*------------------------------------*/

.icon-info { background-position: 0 -100px; }
.icon-file { background-position: -100px -100px; }
.icon-search { background-position: -200px -100px;}
.icon-cross { background-position: -300px -100px;}
.icon-tick { background-position: -400px -100px;}
.icon-user { background-position: -500px -100px;}

/*------------------------------------*\
    $ROW 3
\*------------------------------------*/

.icon-arrow-left { background-position: 0 -200px;}
.icon-arrow-right { background-position: -100px -200px;}
.icon-arrow-down { background-position: -200px -200px;}
.icon-arrow-up { background-position: -300px -200px;}
.icon-facebook-map {background-position:-200px -300px;}

.icon-callus { background-position: -500px -200px;}
.icon-appointment { background-position: 0 -300px;}
.icon-location { background-position: -100px -300px;}

.icon-01 {background-position: 0 -400px;}
.icon-02 {background-position: -100px -400px;}
.icon-03 {background-position: -200px -400px;}
.icon-04 {background-position: -300px -400px;}

.icon-facebook {background-position: -400px -400px;}
.icon-googleplus {background-position: -500px -400px;}

.icon-facebook:hover {background-position: 0 -500px;}
.icon-googleplus:hover {background-position:-100px -500px;}

.icon-refer {background-position:-200px -500px; height:55px;width:67px; margin-right:0.5em;}

/*------------------------------------*\
    $EXTERNAL ICONS
\*------------------------------------*/
.logo {width: 13.938em;}

.map-details .icon {
	width: 5%;
	margin: 0 2%;
}

.icon-surf {
	background: url(http://www.surfpacific.com/sprite-logo.png);
	width: 137px;
	height: 34px;
	background-position: 0 0;
}
@media all and (min-width: 30em) { /* 480px */

	.logo {
		width:20.063em;
	}
}

@media all and (max-width: 61.188em) { /* Up to 979px */

	.icon-surf {
		display: block;
		margin: 1em auto 0 auto;
	}	

}

@media all and (min-width: 61.250em) { /* 980px */

	.icon-surf { margin-left: 1em; }	
	.logo {
		width:100%;
	}
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
	
    .icon-surf {
		background-position: -100px 0;			
		background-size: 300px 100px;
	}
	
}

/*------------------------------------*\
    $INLINE LIST
\*------------------------------------*/

.list-inline { list-style: none; }

.list-inline li { display: inline; }

.list-inline a {
    display: inline-block;
    zoom: 1;
    *display: inline;
}

/*------------------------------------*\
    $ICON LIST
\*------------------------------------*/

.list-icon { font-size: 0; }

.list-icon li { margin-left: 0.625px; }

.list-icon li:first-child { margin-left: 0; }

/*------------------------------------*\
    $ACCORDION LIST
\*------------------------------------*/

.list-accordion {
	margin-left: 0;
	border-top: 1px solid #ddd;
}

.list-accordion-title { 
	font-size: 1em;
	line-height: 1.3em;
	margin-bottom: 0;
	padding: 0.625em 0.313em; 
	border-bottom: 1px solid #ddd; 
}

.list-accordion-title.open { border-bottom: none; }

.list-accordion-title a { display: block;  }

.list-accordion-content {
	padding: 0.313em;
	border-bottom: 1px solid #ddd;
}

.icon-collapse {
	display: inline-block;
	zoom: 1;
	*display: inline;
	vertical-align: middle;
	width: 24px;
	height: 24px;
	background: url(images/sprite.png) -200px -200px no-repeat;   
	margin-right: 0.5em; 
	float: right;
}	
	
.open .icon-collapse { background-position: -300px -200px; }

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
	
    .icon-collapse {
        background-image: url(images/sprite@2x.png) -200px -200px no-repeat;
		background-size: 600px 800px;
    }
	
}

/*------------------------------------*\
    $CALL NOW
\*------------------------------------*/

.call-now {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 999;
}

.call-now a { 
	display: block;
	text-align: center;
	margin-bottom: 0;
	font-size: 1.125em;
	text-transform: uppercase;
	background: #4b575f;
	padding: 1em;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

.call-now a:hover {
	background:#3c464c;
}

/*------------------------------------*\
    
    $SIDR

	Slide out sidebar for touch devices

\*------------------------------------*/

.sidr {
    display: none;
    position: absolute;
    position: fixed;
    top: 0;
    height: 100%;
    z-index: 999999;
    width: 280px;
    overflow-x: none;
    overflow-y: auto;
}

.sidr.right {
    left: auto;
    right: -280px;
}

.sidr.left {
    left: -280px;
    right: auto;
}

.sidr input[type="submit"] {
	display:none;
}

/*------------------------------------*\
    $NEWSLETTER SUBSCRIPTION
\*------------------------------------*/

.subscribe {
    text-align: center;
    padding: 1em 2em;
    background: #4b575f;
    color: #fff;
}

h3.footer-content-heading span {
	font-weight: normal;
}

.form-subscribe input { 
	margin-bottom: 0.313em; /* 5px */
	width: 48%;
	font-size: 1em;
	line-height: 1em;
	display: inline-block;
}

.form-subscribe input[type="text"] { padding: 0.5em; }

.form-subscribe input[type="submit"] { padding: 0.75em; width: 25%; }


@media all and (min-width: 61.250em) { /* 980px */
	.subscribe-content {
		display: inline-block;
		width: 26%;
	}
	.subscribe-form {
		display: inline-block;
		width: 73%;
	}
	form#subForm {
		text-align: left;
	}
	.form-subscribe input {
		width:36%
	}
	.subscribe-full {
		background: #4b575f;
	}
	.subscribe {
		text-align:left;
		padding:1em 0;
	}
	.form-subscribe input[type="text"] {
		background: none;
		color: #fff;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
	}
	.subscribe h3 {
		margin-bottom:0;
	}
}


/*------------------------------------*\
    4. $STATE
\*------------------------------------*/

.is-hidden { display: none; }

@media all and (max-width: 43.688em) { /* 489px */

	.palm-is-hidden { display: none; }

}

@media all and (min-width: 43.688em) and (max-width: 61.188em) { /* 699px to 979px */

	.lap-is-hidden { display: none; }

}

@media all and (min-width: 61.250em) { /* 980px */

	.desk-is-hidden { display: none; }

}

.no-transition {
	-webkit-transition: none;
       -moz-transition: none;
        -ms-transition: none;
         -o-transition: none;
            transition: none;
}





/*------------------------------------*\
    5. $THEME
\*------------------------------------*/

/*------------------------------------*\
    $COLOURS
\*------------------------------------*/

/* Brand primary and secondary colours */
.bpc { color: #808080; }
.bsc { color: #454545; }

.text-white { color: #fff; }
.text-light { color: #eee; }
.text-neutral { color: #808080; }
.text-dark { color: #333; }

::selection {
    background: #1dbdef;
    color: #fff;
    text-shadow: none;
}

/*------------------------------------*\
    $BACKGROUNDS
\*------------------------------------*/

/* Brand primary and secondary background colours */
.bpb { background-color: #808080; }
.bsb, .island { background-color: #454545; }

.bg-light { background-color: #eee; }
.bg-neutral { background-color: #808080; }
.bg-dark { background-color: #333; }

/*------------------------------------*\
    $MAP FOOTER
\*------------------------------------*/
.map {
	padding: 2.063em 1.25em;
	background: #4b575f;
	color: #fff;
}

.map a.button {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 3px #006e90;
	-moz-box-shadow: 0 3px #006e90;
	box-shadow: 0 3px #006e90;
	display: block;
	background: #02a7d9;
	font-size: 0.938em;
	padding: 0.75em 0.5em;
	text-transform: uppercase;
	margin-bottom:0;
}

.map a.button:hover {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 3px #434e55;
	-moz-box-shadow: 0 3px #434e55;
	box-shadow: 0 3px #434e55;
	background:#5b6973;
}

.map-details li {
	margin-bottom: 1em;
}

.icon-hidden-mobile {
	display:none;
}

@media all and (min-width: 30em) { /* 480px */
	.icon-hidden-mobile {
		display:inline-block;
	}
	.map-details li {
		background:#dbdddf;
		margin-bottom: 0.2em;
		padding: 1em 0;
		-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		border-radius: 4px;
	}
	.map a.button {
		display:inline-block;
		width: 89%;
		margin: 0;
	}
	.open-hours {
		background: #dbdddf;
		margin-bottom: 0.5em;
		padding: 1em 2%;
		-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		border-radius: 4px;
		color: #4b575f;
	}
	.map-details ul {
		margin-bottom: 0;
	}
	.open-hours table {
		padding: 0 10%;
	}
}

@media all and (min-width: 43.750em) { /* 700px */
	.map {
		background: url(images/map-footer.jpg) -635px 0 no-repeat;
		padding: 0;
		position: relative;
		height: 579px;
	}
	.map-details li, .open-hours {
		background-color: rgba(255, 255, 255, 0.8);
	}
	.map-details {
		width: 54%;
		position: absolute;
		top: 0.7em;
		left: 1.5em;
	}
	.open-hours {
		padding: 0.5em 0 0 0;
	}
	.open-hours table {
		margin-bottom: 0;
	}
	.map a.button {
		width: 84%;
	}
	.map-details .icon {
		width: 8%;
	}
}
@media all and (min-width: 61.250em) { /* 980px */
	.map {
		background:url(images/map-footer.jpg) 50% 0 no-repeat;
	}
	.map-details {
		position: relative;
		width: 39%;
	}

}
/*------------------------------------*\
    $Associates
\*------------------------------------*/

@media all and (min-width: 43.750em) { /* 700px */
	.associates {
	    background: #4b575f;
	}
	.associates li {
	    display: inline-block;
	    padding: 0 1em;
	}
	.associates li img {
	    height: 1.438em;
	}
	.associates ul {
	    margin-bottom: 0;
	    padding: 2em 3em;
	}
}
@media all and (min-width: 61.250em) { /* 980px */
	.associates {
		margin-bottom: 1.618em;
	}
	.associates ul {
		padding: 2em 0;
	}
	.associates li {
		padding: 0 0.8em;
	}
	.associates li img {
		height: 100%;
	}
}
/*------------------------------------*\
    $Feed
\*------------------------------------*/
.feed {
    padding: 1em 4.125em;
}
.feed .divider {
    width: 30%;
    margin: 2em 0;
}

.feed a.button {
	float:right;
}
.feed h4.feed-item-heading {
	font-weight:700;
	margin-bottom:0;
}
.feed p {
	margin-bottom:0;
}
@media all and (min-width: 61.250em) { /* 980px */

	.feed p {
		margin-bottom: 1.618em;
	}
	.feed {
		padding: 3.125em 0;
	}
	.feed-text {
		display: inline-block;
		width: 51%;
		margin-left: 2%;	
	}
}

/*------------------------------------*\
    $Breadcrumb
\*------------------------------------*/

.breadcrumb-full {
	background:#4b575f;
	color:#fff;
	margin-bottom:0;
}

.breadcrumb-full a {
	color:#fff;
}

.breadcrumb {
	padding: 1em 1.50em;
	font-size: 0.875em;
}

@media all and (min-width: 61.250em) { /* 980px */
	.breadcrumb-full {
		margin-bottom: 1.618em;
	}
	.breadcrumb {
		padding: 0.5em 0;
	}
}

/*------------------------------------*\
    $TRANSLATE
\*------------------------------------*/

.translate {
	position: relative;
	float: left;
	margin-left: 10em;
	margin-top: 0.25em;
}

.icon-flag, .translate-toggle i {
	margin-right: 0.25em;
	border: 1px solid #3b6e99;
	width: 20px;
	height: 14px;
}

.translate-content li {
    display: block;
    text-align: left;
}
ul.translate-links {
    width: 100%;
}

.icon-flag-british {background-position: -300px -500px;}
.icon-flag-greek {background-position: -400px -500px;}
.icon-flag-vietnamese {background-position: -500px -500px;}
.icon-flag-german {background-position: 0 -600px;}
.icon-flag-swedish {background-position: -100px -600px;}
.icon-flag-spanish {background-position: -200px -600px;}
.icon-flag-french {background-position: -300px -600px;}
.icon-flag-italian {background-position: -400px -600px;}
.icon-flag-chinese {background-position: -500px -600px;}
.icon-flag-indonesia {background-position: 0 -700px;}
.icon-flag-malay {background-position: -100px -700px;}
.icon-flag-japanese {background-position: -200px -700px;}
.icon-flag-hindi {background-position: -300px -700px;}

.translate a:hover { text-decoration: none; }

.translate-content {
	position: absolute;
	top: 100%;
	z-index: 9999;
	background-color: #fff;
	width: 13em;
	border: 1px solid #3b6e99;
	-webkit-border-radius: 0 0 4px 4px;
       -moz-border-radius: 0 0 4px 4px;
	        border-radius: 0 0 4px 4px;
}

.translate-toggle {
	display: block;
	text-transform: uppercase;
	border: 1px solid #3b6e99;
	padding: 0.4em 0.3em 0.3em 0.3em;
	font-size: 0.9em;
	line-height: 1em;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	        border-radius: 4px;
}

.icon-toggle {
	width: 9px;
	height: 5px;
	background-position: 0 -700px;
	border: none;
	margin-left: 0.25em;
}

.translate-toggle.is-open {
	background-color: #3b6e99;
	color: #fff;
}

.is-open .icon-toggle {
	background-position: -500px -600px;
}

.translate-links a {
	display: block;
	padding: 0.313em;
	font-size: 1em;
	line-height: 1em;
	font-family: 'DIN Next W01 Regular', Arial, Helvetica, sans-serif;
}

.translate-links a:hover {
	background-color: #3b6e99;
	color: #fff;
}

@media all and (max-width: 43.750em) { /* 700px */

	#google_translate_element { display: none !important; }
	
	.goog-te-banner-frame { display: none !important;}

	body { top: 0px !important; }	
}

.goog-te-gadget-simple {
	background: url(images/flag.jpg) 5px 50% no-repeat;
	padding-left: 3em;
}

a.goog-te-menu-value { 
	color: #3b6e99;
	text-transform: uppercase;
}

a.goog-te-menu-value:hover { text-decoration: none; }

.goog-te-gadget-simple .goog-te-menu-value { color: #3b6e99; }

.goog-te-menu-value span { padding: 0 2px; }

.mejs-container {
  width: 100% !important;
  height: auto !important;
  padding-top: 57%;
}
.mejs-overlay, .mejs-poster {
  width: 100% !important;
  height: 100% !important;
}
.mejs-mediaelement video {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100% !important;
  height: 100% !important;
}
.mejs-container, .mejs-embed, .mejs-embed body {
background:transparent!important;
}