/*
Theme Name: Perth Inflight Catering
Description: Custom Wordpress theme
Author: Milkable


---------------------------------------
BASIC STUFF AND TYPOGRAPHY
------------------------------------ */

html { overflow-y: scroll; }
article, aside, figure, footer, header, hgroup, nav, section { display: block; }
.touch body { -webkit-text-size-adjust: none; }
:focus { -moz-outline-style: none; outline: none; }

body {
	margin: 0;
	font-size: 14px;
	line-height: 26px;
	font-family: 'Klavika',Helvetica,Arial,sans-serif;
	letter-spacing: 1px;
	color: #0c345c;
	-webkit-font-smoothing: antialiased;
}

p {
	
}

a {
	text-decoration: none;
	outline: none;
	color: inherit;
}
a:hover {
	text-decoration:underline;
}
a img {
	border: 0;
}

#content img {
	max-width: 100%;
}

h1 {
	font: normal normal 25px/35px 'Belgrano',Helvetica,Arial,sans-serif;
	margin: 10px 0 10px 0;
	color: #d5232f;
	text-transform: uppercase;
	letter-spacing: 1px;
}

h2 {
	font: normal normal 26px/33px 'Belgrano',Helvetica,Arial,sans-serif;
	margin: 16px 0 6px 0;
}

h3 {
	font: normal normal 20px/33px 'Belgrano',Helvetica,Arial,sans-serif;
	margin: 10px 0 5px 0;
}


/* ------------------------------------
HEADER
------------------------------------ */

header {
	text-align: center;
	padding: 18px 0;
	background: white;
	position: fixed;
	left:0;
	top:0;
	width: 100%;
	z-index: 999;
	height: 110px;
	box-shadow: 0 0 16px rgba(0,0,0,0.1);
	-webkit-transition: left 0.3s ease-in-out;
	-moz-transition: left 0.3s ease-in-out;
	-ms-transition: left 0.3s ease-in-out;
	-o-transition: left 0.3s ease-in-out;
	transition: left 0.3s ease-in-out;
}
#spacer {
	height: 146px;
}


/* ------------------------------------
GENERAL LAYOUT
------------------------------------ */

#wrapper {
	position: relative;
	background: white;
	z-index: 1;
	left:0;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.showmenu #wrapper {
	left:0;
}

#content p strong {
	color: #d5232f;
	font-family: 'Belgrano',Helvetica,sans-serif;
}

#content {
	
}
.inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 80px 20px;
}
.module {
	font-size: 18px;
	line-height: 30px;
	background-size: cover;
}
.ie7 #content a {
	color: white;
}
.module_inner {
	max-width: 960px;
	padding: 60px 20px;
	margin: 0 auto;
	transition: all 0.3s ease-out;
	opacity: 0;
	-moz-transform: scale(1) rotate(0deg) translateX(40px) translateY(0px) skewX(0deg) skewY(0deg);
	-webkit-transform: scale(1) rotate(0deg) translateX(40px) translateY(0px) skewX(0deg) skewY(0deg);
    -o-transform: scale(1) rotate(0deg) translateX(40px) translateY(0px) skewX(0deg) skewY(0deg);
    -ms-transform: scale(1) rotate(0deg) translateX(40px) translateY(0px) skewX(0deg) skewY(0deg);
    transform: scale(1) rotate(0deg) translateX(40px) translateY(0px) skewX(0deg) skewY(0deg);
}
.touch .module_inner, .module_inner.reveal {
	opacity: 1;
	-moz-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
	-webkit-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
    -o-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
    -ms-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
    transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
}

.module .leftcol {
	float: left;
	width: 21%;
	margin-right:11%;
}
.module .rightcol {
	float: left;
	width: 68%;
}
.module.blue {
	background: url(_inc/img/bg_blue.png) no-repeat center center;
	color: white;
	background-size: cover;
	background-attachment: fixed;
}
.module.red {
	background: url(_inc/img/bg_red.png) no-repeat center center;
	color: white;
	background-size: cover;
	background-attachment: fixed;
}
.module.red h1 {
	color: white;
}
.module.white {
	background: url(_inc/img/bg_white.png) no-repeat center center;
	background-size: cover;
	background-attachment: fixed;
}
.touch .module.blue, .touch .module.red, .touch .module.white {
	background-attachment: scroll;
}

#page_banner {
	height: 200px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}
.touch #page_banner {
	background-attachment: scroll;
}

.contact_left, .contact_right {
	float: left;
	width: 47%;
	margin-right:6%;
}
.contact_left {
	text-align: justify;
}
.contact_right {
	margin-right: 0;
}


/* ------------------------------------
HOMEPAGE
------------------------------------ */

#homebanner {
	position: relative;
	height: 600px;
	background: white;
}
#homebanner .slides > li {
	height: 600px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	overflow: hidden;
}
.hero_banner {
	text-align: center;
}
.hero_banner img {
	margin: -180px auto 0 auto;
	max-width: 100%;
	top:50%;
	position: relative;
}
.flex-control-nav { display: none; }
.flex-direction-nav li a {
	position: absolute;
	width: 58px;
	height: 58px;
	background: url(_inc/img/prev.png) no-repeat center center;
	top:50%;
	left:25px;
	margin-top:-29px;
	text-align: left;
	font-size: 1px;
	text-indent: -9999px;
}
.flex-direction-nav li a.flex-next {
	left: auto;
	right: 25px;
	background: url(_inc/img/next.png) no-repeat center center;
}

.home #content {
	background: #012349 url(_inc/img/bg_blue.png) no-repeat center center;
	background-attachment: fixed;
	background-size: cover;
	color: white;
	padding:80px 0;
}
.touch .home #content {
	background-attachment: scroll;
}
.home #content .inner {
	padding: 0 20px;
	position:relative;
	top:50%;
}

.home h1 {
	text-align: center;
	font-size: 32px;
	line-height: 38px;
	background: url(_inc/img/underline.png) no-repeat bottom center;
	padding-bottom:23px;
	margin-bottom:40px;
}
.home_content {
	font-size: 25px;
	line-height: 54px;
	text-align: center;
	font-family: 'Belgrano',Helvetica,Arial,sans-serif;
	letter-spacing: 2px;
	max-width: 560px;
	margin: 0 auto;
}
p.findoutmore {
	margin: 0;
	line-height: 20px;
	font-size: 12px;
}
p.findoutmore a {
	color: #d5232f;
	text-transform: uppercase;
	letter-spacing: 1px;
}
a#scrolldown {
	position: absolute;
	width: 58px;
	height: 58px;
	background: url(_inc/img/down.png) no-repeat center center;
	display: block;
	bottom:30px;
	left:50%;
	margin-left:-29px;
}


/* ------------------------------------
NAVIGATION
------------------------------------ */

nav {
	max-width: 960px;
	padding: 0 20px;
	margin: 0 auto;
}

.menu {
	
}

nav .menu > ul {
	list-style:none;
	margin:0;
	padding:0;
}

nav .menu > ul > li {
	list-style: none;
	margin: 0;
	padding: 0;
	display:inline-block;
	position:relative;
	height:100px;
	vertical-align: middle;
}

nav .menu > ul > li > a {
	font:normal normal 16px/normal 'Belgrano',Helvetica,Arial,sans-serif;
	text-decoration: none;
	display: inline-block;
	padding: 40px 28px;
	overflow: hidden;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #014165;
}

nav .menu > ul > li > a:hover, nav .menu > ul > li:hover > a, nav .menu > ul > li.current_page_item > a, nav .menu > ul > li.current_page_parent > a {
	color: #ae2334;
}

nav .menu > ul > li#menu-item-20 {
	height: 110px;
}
nav .menu > ul > li.menu-item-20 > a {
	width: 202px;
	height: 107px;
	text-align: left;
	text-indent: -9999px;
	color: white;
	background: url(_inc/img/logo@2x.png) no-repeat center center;
	background-size: 202px 107px;
	padding: 0;
	margin: 0 45px 0 32px;
}
.ie8 nav .menu > ul > li.menu-item-20 > a, .ie7 nav .menu > ul > li.menu-item-20 > a {
	background: url(_inc/img/logo.png) no-repeat center center;
}

nav .menu .children {
	display: none;
}

.ie7 nav .menu > ul > li > a, .ie7 nav .menu > ul > li { display:block;float:left; }


/* MOBILE NAV */

#mobile_nav {
	display: none;
}
#mobile_logo img {
	float: left;
	width: 100px;
	width: 120px;
	margin: 14px 0 0 12px;
}
#nav_toggle {
	float: right;
	display: block;
	padding: 31px 28px;
}
#nav_toggle img {
	width: 25px;
}

#mobile_menu {
	display: none;
	position: fixed;
	top:0;
	right:0;
	width: 180px;
	z-index: 0;
	background: url(_inc/img/nav_bg.png) no-repeat top right;
	background-size: 240px auto;
	height: 100%;
	font-size: 17px;
	line-height: 20px;
	font-family: 'Belgrano',Helvetica,sans-serif;
	text-align: center;
	padding: 15px 30px;
}
#mobile_menu ul, #mobile_menu li {
	margin: 0;
	padding: 0;
	list-style: none;
}
#mobile_menu a {
	color: white;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 26px 0;
	border-bottom:2px solid #ad2333;
	display: block;
}
#mobile_menu ul > li:last-child a {
	border-bottom:none;
}
#mobile_menu .menu-item-20 { display: none; }


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

footer {
	background: #f7f3f2;
}
#footer_inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 55px 20px 20px 20px;
}
.footer_col {
	float: left;
	width: 30%;
	margin-right:5%;
	text-align: center;
	font-size: 12px;
	line-height: 24px;
	font-family: 'Belgrano',Helvetica,sans-serif;
	margin-bottom:40px;
	background: url(_inc/img/footer_border.png) repeat-x top center;
	padding-top:40px;
}
.footer_col.last {
	margin-right:0;
}
footer strong {
	color: #ae2334;
}
#pre_footer {
	height: 330px;
	background: url(_inc/img/clouds.jpg) no-repeat center center;
	background-size: cover;
	background-attachment: fixed;
}
.touch #pre_footer {
	background-attachment: scroll;
}
.page-id-13 #pre_footer {
	display: none;
}


/* ------------------------------------
FORMS
------------------------------------ */

input[type='text'], select, textarea {
	font: 16px 'Klavika',Helvetica,Arial,sans-serif;
	letter-spacing: 1px;
	padding: 8px 0;
	width: 100%;
	margin: 4px 0;
	color: white;
	background: transparent;
	border:none;
	border-top:2px solid white;
	border-bottom:1px solid white;
	border-radius: 0;
	resize: none;
	-webkit-font-smoothing: antialiased;
	-webkit-appearance: none;
	-webkit-box-sizing: border-box;
	       -moz-box-sizing: border-box;
	            box-sizing: border-box;
}
textarea {
	height: 120px;
}
.gform_ajax_spinner {
	vertical-align: middle;
	margin: 0 8px;
}

input[type=submit], button {
	font-size: 24px;
	font-family: 'Belgrano',Helvetica,sans-serif;
	background: transparent;
	color: #d5232f;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding:8px 0;
	-webkit-appearance: none;
	border:0;
	outline:0;
	cursor: pointer;
}

.gform_wrapper ul, .gform_wrapper li {
	list-style: none;
	margin: 0;
	padding: 0;
}
.gfield_error input[type='text'] {
	border-top-color: red;
	border-bottom-color: red;
}
.validation_message { display: none; }
.validation_error {
	color: red;
	line-height: 24px;
	font-size: 15px;
}
.gform_footer {
	text-align: right;
}
.acf-map {
	height: 500px;
}


/* ------------------------------------
EVERYTHING ELSE, MISCELLANEOUS STUFF
------------------------------------ */

.alignright {
	clear: right;
	float: right;
	margin: 0px 0px 20px 60px;
}

.alignleft {
	clear: left;
	float: left;
	margin: 0px 60px 20px 0px;
}

.wp-caption-text {
	font-size: 18px;
	line-height: 23px;
	margin-top: 3px;
	text-align: center;
}

a {-webkit-tap-highlight-color:#9ce2ff;}
::-moz-selection{background: #9ce2ff !important;}
::selection {background: #9ce2ff !important;}

::-webkit-input-placeholder { color: white; }
:-moz-placeholder { color: white; }
::-moz-placeholder { color: white; }
:-ms-input-placeholder { color: white; }


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

}

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

}

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

}


a#siteby {
	display: block;
	background:url(http://www.milkable.me/siteby/siteby_pos@2x.png) no-repeat top left;
	background-size:97px 21px;
	width:97px;
	height:21px;
	opacity:0.6;
	font-size:1px;
	text-align: left;
	text-indent: -9999px;
	margin: 30px auto;
}
a#siteby:hover { opacity:1; }
.ie8 a#siteby, .ie7 a#siteby { background:url(http://www.milkable.me/siteby/siteby_pos.png) no-repeat top left; }


/* ------------------------------------
MEDIA QUERIES
------------------------------------ */

@media screen and (max-width:1200px) {
	.acf-map {
		height: 300px;
	}
	.hero_banner img {
		width: 800px;
	}
}
@media screen and (max-width:959px) {
	nav .menu > ul > li > a {
		padding: 40px 16px;
	}
	nav .menu > ul > li.menu-item-20 > a {
		margin: 0 15px 0 12px;
	}
	#homebanner, #homebanner .slides > li {
		height: 450px;
	}
	#pre_footer {
		height: 250px;
	}
	.module .leftcol {
		width: 24%;
		margin-right:6%;
		padding-top:20px;
	}
	.module .rightcol {
		width: 68%;
	}
}

@media screen and (max-width:767px) {
	body {
		font-size: 12px;
		line-height: 19px;
	}
	header, #spacer {
		height: 80px;
		padding: 0;
	}
	.home_content {
		font-size: 14px;
		line-height: 28px;
		letter-spacing: 1px;
	}
	.flex-direction-nav {
		display: none;
	}
	.home h1 {
		font-size: 18px;
		line-height: 25px;
		margin-bottom:20px;
	}
	h1 {
		font-size: 19px;
		line-height: 23px;
	}
	h2 {
		font-size: 13px;
		line-height: 24px;
	}
	.inner {
		padding: 20px;
	}
	.home #content {
		padding: 15px 20px 25px 20px;
		height: auto !important;
	}
	.home #content .inner {
		margin-top:0 !important;
		top:0 !important;
		padding: 0;
	}
	#homebanner, #homebanner ul.slides > li {
		height: 300px !important;
	}
	a#scrolldown, nav {
		display: none;
	}
	#mobile_nav {
		display: block;
	}
	#pre_footer {
		height: 210px;
	}
	#footer_inner {
		padding:20px 40px;
	}
	.footer_col {
		font-size: 10px;
		line-height: 19px;
		float: none;
		width: auto;
		margin: 0;
		padding: 30px 0 20px 0;
	}
	#page_banner {
		height: 100px;
	}
	.module {
		font-size: 14px;
		line-height: 21px;
	}
	.module_inner {
		padding: 20px;
	}
	.module .leftcol, .module .rightcol {
		width: auto;
		float: none;
		margin: 0;
		padding: 10px 0 0 0;
		text-align: center;
	}
	.module img:not(.gform_wrapper img) {
		width: 100px;
		height: auto;
	}
	.alignright, .alignleft {
		float: none;
		margin: 10px 0 30px 0;
	}
	.page-id-11 .alignright.wp-caption img {
		float: left;
		margin-bottom:30px;
		width: 100px;
		height: auto;
	}
	.page-id-11 .alignright.wp-caption .wp-caption-text {
		float: left;
		margin: 60px 0 0 12px;
	}
	.page-id-11 .module_inner > p {
		clear: both;
	}
	.wp-caption {
		width: auto !important;
	}
	.wp-caption-text {
		text-align: left;
		font-size: 14px;
	}
	.showmenu #wrapper {
		left:-240px;
	}
	.showmenu header {
		left:-240px;
	}
	#mobile_menu {
		display: block;
	}
	.contact_left, .contact_right {
		float: none;
		width: auto;
		margin-right:0;
		margin-bottom:30px;
	}
	.acf-map {
		display: none;
	}
	.hero_banner img {
		top: 65%;
	}
	.page-id-9 .leftcol img {
		width: 100px;
	}
}

@media screen and (max-width:480px) {
	.page-id-11 .alignright.wp-caption .wp-caption-text {
		width: 152px;
		margin-top:50px;
	}
	#homebanner, #homebanner ul.slides > li {
		height: 250px !important;
	}
	.hero_banner img {
		
	}
}
