/*
Theme Name: Bay of Islands Education Network
Author: Big Fish Creative
*/

/* ----------------------------------------------------------------
    RESET
-----------------------------------------------------------------*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, main, hgroup, menu, nav, section { display: block; }
html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; background: #000; }
body { line-height: 1; }
ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
:focus { outline: 0;}
[hidden] { display: none; }
html { font-family: sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; }
button::-moz-focus-inner,
input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; }
input[type="text"],
input[type="email"],
input[type="password"],
textarea { -webkit-appearance: none; -webkit-border-radius: 0; border-radius: 0; }
input[type="submit"],
input[type="reset"] { -webkit-appearance: none; }
.input-block-level { display: block; width: 100% !important; min-height: 30px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden;}
.clearfix { display: inline-block; *zoom:1;}
* html .clearfix { height: 1%;} /* Hides from IE-mac \*/
.clearfix { display: block;}

/* ----------------------------------------------------------------
    STRUCTURE
-----------------------------------------------------------------*/

.container { width: 940px; margin: 0 auto; }
.container-1080 { max-width: 1080px; margin: 0 auto; }
.inset { padding: 20px; }
.align-left { float: left; }
.align-right { float: right; }

.col-full { width: 100%; }
.col-half { width: 48%; }
.col-one-third { width: 30.63%; }
.col-two-third { width: 65.33%; }
.col-one-fourth { width: 22%; }
.col-three-fourth { width: 74%; }
.col-one-fifth { width: 16.8%; }
.col-two-fifth { width: 37.6%; }
.col-three-fifth { width: 58.4%; }
.col-four-fifth { width: 79.2%; }
.col-one-sixth { width: 13.33%; }
.col-five-sixth { width: 82.67%; }

.col-full, .col-half, .col-one-third, .col-two-third, .col-three-fourth, .col-one-fourth, .col-one-fifth, .col-two-fifth, .col-three-fifth, .col-four-fifth, .col-one-sixth, .col-five-sixth { display: block; position: relative; margin-right: 4%; margin-bottom: 50px; float: left; }

.col-full { clear: both; float: none; margin-right: 0; }
.col-last { margin-right: 0 !important; clear: right; }

.full-width-section { padding: 0 2%; overflow: hidden; clear: both; max-width: 1900px; margin: 0 auto; }

.feature-half  { width: 49%; margin-right: 2%; margin-bottom: 2%; float: left; position: relative; }
.feature-quarter { float: left; width: 48%; margin-right: 4%; }
.feature-half.last, .feature-quarter.last { margin-right: 0; }

/* ----------------------------------------------------------------
    REPEATABLE PATTERNS
-----------------------------------------------------------------*/

::selection { background: #16acc5; color: #fff; }
::-moz-selection { background: #16acc5; /* Firefox */ color: #fff; }
::-webkit-selection { background: #16acc5; /* Safari */ color: #fff; }
::-webkit-input-placeholder { color: #868686; }
:-moz-placeholder { /* Firefox 18- */ color: #868686; }
::-moz-placeholder {  /* Firefox 19+ */ color: #868686; }
:-ms-input-placeholder { color: #868686; }

html, body { background: #fff; height:100%; }

/* FORMS */

fieldset { border: 1px solid #bababa; padding: 20px; width: auto; background: #fff; }
label { line-height: 22px; cursor: pointer; display: inline-block; padding-bottom: 5px; font-family: 'Signika', sans-serif; clear: both; width: 100%; }
label.list-items { cursor: default; }
.required-field { color: #40c1cb !important; font-size: 16px; font-style: normal; font-family: 'Signika', sans-serif !important; }
input, select, textarea { font-family: 'Varela Round', sans-serif; font-size: 16px; line-height: 22px; color: #164a6c; }
textarea { height: 90px; }
input[type="text"], input[type="email"], input[type="password"], input[type="date"], select, textarea {  display: block; outline: 0; font-family: 'Lato', sans-serif; }
input[type="text"], input[type="email"], input[type="password"], input[type="date"], textarea { width: 94%; padding: 10px 14px; background: #f6fbff; border: 1px solid #164a6c; }
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="date"]:focus, textarea:focus { -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; background: #eafcff; border-color: #16acc5; color: #16acc5; }
input[type="submit"] { -webkit-border-top-left-radius: 20px; -webkit-border-bottom-right-radius: 20px; -moz-border-radius-topleft: 20px; -moz-border-radius-bottomright: 20px; border-top-left-radius: 20px; border-bottom-right-radius: 20px; -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; outline: none; border: none; cursor: pointer; background: #16acc5; font-family: 'Signika', sans-serif; font-size: 18px; color: #fff; padding: 12px 25px; float: left; clear: both; overflow: hidden; margin: 20px 0; }
input[type="submit"]:disabled, input[type="submit"]:disabled:hover { cursor: not-allowed; background-color: #bababa; }
input[type="submit"]:hover, input[type="submit"]:active { background: #40c1cb; }
input#contact-captcha { width: 85px; }
.wpcf7-form .wpcf7-not-valid { border: 1px solid red; background: #ffe7e7; }
div.wpcf7-response-output { margin: 2em 0 1em 0 !important; padding: 10px 15px !important; border-width: 1px !important; background: #fffef0 !important; font-size: 16px !important; line-height: 22px; color: #656565 !important; }
div.wpcf7-validation-errors { border: 1px solid #ff0000 !important; background: #ffe7e7 !important; color: red !important; text-shadow: none; }
span.wpcf7-not-valid-tip { font-size: 14px !important; font-style: italic; width: 240px !important; padding: 3px 8px; color: red !important; text-shadow: none; font-weight: 400; }
div.wpcf7-mail-sent-ok { background: #f1ffeb !important; color: #398F14 !important; }

form .col-half, form .col-one-third { margin-bottom: 0; }
.col-half input { width: 87%; }
.col-one-third input { width: 80%; }

/* LISTS */

ul, ol, dl { margin: 0 0 35px 20px; }
ul { list-style: disc; }
ol { list-style: decimal; }
ul li, ol li { margin-bottom: 8px; }
.list-reset { margin: 0; padding: 0; list-style: none; }

/* IMAGES */

img { max-width: 100%; height: auto; }
.background { background-repeat: no-repeat; background-position: 50% 50%; background-position: 50% 50%\9 !important; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; -webkit-backface-visibility: hidden; overflow: hidden; }
.rounded { -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }

/* BUTTONS */

.btn { font-family: 'Signika', sans-serif; background: #16acc5; display: inline-block; padding: 8px 20px; font-size: 22px; line-height: 32px; color: #fff; -webkit-border-top-left-radius: 20px; -webkit-border-bottom-right-radius: 20px; -moz-border-radius-topleft: 20px; -moz-border-radius-bottomright: 20px; border-top-left-radius: 20px; border-bottom-right-radius: 20px; -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; outline: none; border: none; cursor: pointer; }
.btn:hover, .btn.active, .btn:active { background: #164a6c; color: #fff; }
.btn.large { font-size: 40px; line-height: 46px; background: #f2ec33; color: #164a6c; font-weight: 700; padding: 30px 40px; -webkit-border-top-left-radius: 40px; -webkit-border-bottom-right-radius: 40px; -moz-border-radius-topleft: 40px; -moz-border-radius-bottomright: 40px; border-top-left-radius: 40px; border-bottom-right-radius: 40px; }
.btn.large strong { color: #14acc4; -webkit-transition: color 0.3s ease-in-out; -moz-transition: color 0.3s ease-in-out; -o-transition: color 0.3s ease-in-out; transition: color 0.3s ease-in-out; }
.btn.large.dark { background: #164a6c; }
.btn.large:hover, .btn.large:active { background: #16acc5; color: #fff; }
.btn.large:hover strong { color: #fff; }
.btn.transparent { border: 2px solid #fff; background: url(gfx/transparency-white.png) repeat 0 0; background: rgba(255,255,255,0.3); padding: 12px 50px; font-size: 32px; line-height: 36px; text-shadow: 1px 1px 0 rgba(0,0,0,0.3); }
.btn.transparent:hover, .btn.transparent:active { background: #16acc5; color: #fff; border-color: #16acc5; }
.btn.dark { background: #164a6c; color: #f2ec33; }

/* SECTIONS */

.coloured-bg { background: #f2ec33; color: #164a6c; }
.dark-bg { background: #164a6c; color: #f2ec33; }

.rounded-topleft { -webkit-border-top-left-radius: 70px; -moz-border-radius-topleft: 70px; border-top-left-radius: 70px; overflow: hidden; }
.rounded-bottomright { -webkit-border-bottom-right-radius: 70px; -moz-border-radius-bottomright: 70px; border-bottom-right-radius: 70px; overflow: hidden; }

.feature-text { display: table; width: 100%; height: 100%; }
.feature-text div { display: table-cell; vertical-align: middle; padding: 30px 60px; }
.feature-text p { font-family: 'Signika', sans-serif; font-size: 48px; line-height: 50px; font-weight: 700; margin-bottom: 40px; }
.feature-text strong { color: #16acc5; }

/* MODALS */

.modal-dialog { width: 600px; }
.modal-open { overflow: hidden; }
.modal { display: none; overflow: hidden;  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 10050; -webkit-overflow-scrolling: touch; outline: 0; background: rgba(0,0,0,0.6); }
.modal.fade .modal-dialog { -webkit-transform: translate3d(0, -25%, 0); transform: translate3d(0, -25%, 0); -webkit-transition: -webkit-transform 0.3s ease-out; -moz-transition: -moz-transform 0.3s ease-out; -o-transition: -o-transform 0.3s ease-out; transition: transform 0.3s ease-out; }
.modal.in .modal-dialog { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
.modal-open .modal { overflow-x: hidden; overflow-y: auto; }
.modal-dialog { position: relative; margin: 2% auto 0 auto; }
.modal-content { position: relative; background: #fff; -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); background-clip: padding-box; outline: 0; text-align: left; }
.modal-content iframe { margin-bottom: 0; }
.modal-content .close { position: absolute; top: 0; right: -40px; outline: none; display: block; border: none; cursor: pointer; background: transparent; border-bottom: 3px solid transparent; padding: 2px 2px 3px 2px; }
.modal-content .close .fa-times { font-size: 25px; line-height: 25px; color: #fff; }
.modal-content .close:hover { border-color: #fff; }
.modal-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1040; background-color: #3e3f54; }
.modal-backdrop.fade { opacity: 0; filter: alpha(opacity=0); }
.modal-backdrop.in { opacity: 0.9; filter: alpha(opacity=90); }
.modal-header { min-height: 16.42857143px; }
.modal-header img { width: 100%; }
.counter { float: right; clear: both; margin-right: 20px; }
.counter li { float: left; margin-bottom: 0 !important; }
.counter a { display: block; text-indent: -5000px; width: 18px; height: 17px; padding: 6px 6px 2px 6px; background-repeat: no-repeat; background-position: center 6px; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; filter: alpha(opacity=70); -moz-opacity: 0.7; -khtml-opacity: 0.7; opacity: 0.7; -webkit-transition: opacity 0.2s ease-in-out; -moz-transition: opacity 0.2s ease-in-out; -o-transition: opacity 0.2s ease-in-out; transition: opacity 0.2s ease-in-out; background-image: url(gfx/icon-thumbs-up.png); }
.counter a:hover { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100); -moz-opacity: 1; -khtml-opacity: 1; opacity: 1; }
.counter span { color: #fff; font-size: 12px; }
.modal-title { margin: 0; line-height: 1.42857143; }
.modal-body { position: relative; padding: 0 30px 50px 30px; clear: both; color: #fff; }
.modal-body h3, .modal-body h5 { color: #fff; }
.modal-body .project-meta { margin-bottom: 30px; }
.modal-body .project-meta h5 { margin-bottom: 5px; }
.modal-body a { color: #fff; }
.modal-body .more a:hover { border-color: #fff; color: #fff; }
.modal-scrollbar-measure { position: absolute; top: -9999px; width: 50px; height: 50px; overflow: scroll; }

/* ----------------------------------------------------------------
    TYPOGRAPHY
-----------------------------------------------------------------*/

body { font-family: 'Lato', sans-serif; font-weight: 400; font-size: 18px; line-height: 28px; color: #164a6c; }

p, blockquote, table, fieldset, form { margin-bottom: 20px; }
#page-content p:first-of-type { font-family: 'Signika', sans-serif; font-weight: 700; font-size: 24px; line-height: 30px; }

strong { font-weight: bold; }
em, cite { font-style: italic; }
small { font-size: 11px; font-style: italic; }
caption { text-align: left; }

.kicker { font-size: 28px; line-height: 38px; margin-bottom: 0; }

.centered { text-align: center;}
.upper { text-transform: uppercase; }
.lower { text-transform: none; }

/* HEADINGS */

h1, h2, h3, h4, h5, h6 { font-family: 'Signika', sans-serif; color: #164a6c; text-transform: uppercase; font-weight: 700; margin-bottom: 15px; }
h1 { font-size: 50px; line-height: 52px; }
h2 { font-size: 40px; line-height: 46px; }
h3 { font-size: 32px; line-height: 38px; }
h4 { font-size: 22px; line-height: 26px; text-transform: none; }
h5 { font-size: 18px; line-height: 20px; }
h6 { font-size: 14px; line-height: 18px; }
#page-title h1 { margin-bottom: 40px; }
.section-heading { margin-bottom: 60px; padding: 30px 0 20px 0; border-bottom: 1px solid #164a6c; text-align: center; }

/* LINKS */

a { text-decoration: none; color: #16acc5; -webkit-transition: color 0.15s ease-in-out; -moz-transition: color 0.15s ease-in-out; -o-transition: color 0.15s ease-in-out; transition: color 0.15s ease-in-out; }
a:hover, a:active { color: #96d9eb; }

/* ----------------------------------------------------------------
    MASTHEAD
-----------------------------------------------------------------*/

#masthead { background: #fff; width: 100%; }

	/* LOGO */
	
	#logo { padding: 30px 0 20px 0; float: left; }
	#logo a { display: block; }
	
	/* CONTACT */
	
	#header-contact { float: right; margin-top: 20px; font-size: 17px; }
	
	/* MAIN MENU */
	
	#main-nav { float: right; margin-top: 15px; }
	#responsive-nav { display: none; }
	#menu-main-navigation { list-style: none; padding: 0; margin: 0; }
	#menu-main-navigation li { float: left; margin: 0; position: relative; }
	#menu-main-navigation li > a { font-family: 'Signika', sans-serif; display: block; font-size: 17px; line-height: 22px; padding: 15px; color: #2d5873; -webkit-border-top-left-radius: 20px; -webkit-border-top-right-radius: 20px; -moz-border-radius-topleft: 20px; -moz-border-radius-topright: 20px; border-top-left-radius: 20px; border-top-right-radius: 20px; font-weight: 700; }
	#menu-main-navigation li#menu-item-222 { display: none; }
	#menu-main-navigation li#menu-item-33 a { padding-right: 0; }
	#menu-main-navigation li:hover a, #menu-main-navigation li.current-menu-item a, #menu-main-navigation li.current-menu-parent > a, #menu-main-navigation li.current-page-ancestor > a, .single-itinerary #menu-main-navigation li#menu-item-30 > a { color: #16acc5; }
	#menu-main-navigation ul.sub-menu { -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2); -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2); box-shadow: 0 3px 3px rgba(0,0,0,0.2); display: none; margin: 0; list-style: none; padding: 0; position: absolute; top: 48px; left: 0px; width: 214px; z-index: 99999; border: 1px solid #e2e2e2; border-top: none; }
	#menu-main-navigation ul.sub-menu li { margin: 0; border-bottom: 1px solid #fff; }
	#menu-main-navigation ul.sub-menu li:last-child { border-bottom: none; }
	#menu-main-navigation ul.sub-menu a, #menu-main-navigation li.current_page_item ul.sub-menu a { background: #fff; color: #2d5873; font-size: 16px; font-weight: normal; height: auto; line-height: 20px; padding: 12px 15px; width: 184px; text-transform: none; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; }
	#menu-main-navigation li:hover ul.sub-menu a:hover, #menu-main-navigation li:hover ul.sub-menu li.current-menu-item a, #menu-main-navigation li:hover ul.sub-menu li.current-page-ancestor a { background: #16acc5; color: #fff; border-color: #fff; }
	#menu-main-navigation li:hover > ul { display: block; }
	
/* ----------------------------------------------------------------
    MAIN CONTENT
-----------------------------------------------------------------*/

#main-content { padding: 50px 0; background: #fff; overflow: hidden; }

	/* HOME */

	#hero-overlay { display: table; width: 100%; height: 100%; }
	#hero-overlay-text { display: table-cell; position: relative; vertical-align: middle; text-align: center; }
	#hero-overlay-text h2 { color: #fff; width: 60%; margin: 0 auto 30px auto; font-size: 60px; line-height: 62px; text-shadow: 1px 1px 0 rgba(0,0,0,0.3); }
	
	#itineraries { padding-top: 2%; }
	#itinerary-intro .feature-text p { margin-bottom: 0; }
	
	.feature a { line-height: 0; display: block; }
	.feature img { width: 100%; }
	.feature-overlay { height: 100%; }
	.feature-overlay:before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #164a6c; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"; filter: alpha(opacity=40); -moz-opacity: 0.4; -khtml-opacity: 0.4; opacity: 0.4; -webkit-transition: opacity 0.3s ease-in-out; -moz-transition: opacity 0.3s ease-in-out; -o-transition: opacity 0.3s ease-in-out; transition: opacity 0.3s ease-in-out; }
	.feature a:hover .feature-overlay:before { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); -moz-opacity: 0; -khtml-opacity: 0; opacity: 0; }
	.feature a:hover span { background: #14acc4; color: #fff; }
	.feature a:hover strong { color: #fff; }
	.feature a.btn { display: inline-block; }
	.feature-overlay .btn-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: table; }
	.feature-overlay .btn-wrapper div { display: table-cell; vertical-align: middle; text-align: center; }
	
	#itinerary-3 .teaser-overlay:before { -webkit-border-bottom-right-radius: 70px; -moz-border-radius-bottomright: 70px; border-bottom-right-radius: 70px; overflow: hidden; }
	
	#home-content { margin-bottom: 60px; overflow: hidden; }
	#home-content header { border-bottom: 1px solid #164a6c; margin-bottom: 40px; }
	#home-content h1 { margin-bottom: 30px; }
	#home-content .col-half { margin-bottom: 20px; }
	#home-partners { border-bottom: 1px solid #164a6c; padding-bottom: 40px; }
	#register { clear: both; }
	
	#itinerary-1 img, #itinerary-1 .feature-overlay:before { -webkit-border-top-left-radius: 70px; -moz-border-radius-topleft: 70px; border-top-left-radius: 70px; }
	#itinerary-4 img, #itinerary-4 .feature-overlay:before { -webkit-border-bottom-right-radius: 70px; -moz-border-radius-bottomright: 70px; border-bottom-right-radius: 70px; }
	#itinerary-details { float: right; }
	#itinerary-title { border-bottom: 1px solid #164a6c; padding-bottom: 10px; }
	#itinerary-meta { margin-bottom: 40px; }
	#itinerary-meta li { margin-bottom: 0; }
	#itinerary-meta strong { color: #16acc5; font-family: 'Signika', sans-serif; font-size: 20px; }
	#itinerary-meta p { margin: 0; padding: 2px 0 5px 0; }
		
	#itinerary-call-to-action { margin-bottom: 30px; }
	#itinerary-call-to-action .feature-text { display: block; width: auto; height: auto; }
	#itinerary-call-to-action .feature-text div { display: block; padding: 45px; }
	#itinerary-call-to-action .feature-text p { font-size: 36px; line-height: 40px; }
	
	.sidebar-image { float: left; margin-bottom: 30px; line-height: 0; position: relative; }
	#sidebar-image-2, #sidebar-image-3 { width: 210px; }
	#sidebar-image-2 { margin-right: 30px; }
	.sidebar-image .image-info { display: block; position: absolute; bottom: 0; right: 0; padding: 3px 6px; background: #164a6c; background: rgba(45,88,115,0.5); }
	.sidebar-image i { color: #fff; }
	.sidebar-image a:hover .image-info { display: none; }
	
	/* WHO WE ARE */
	
	#gallery-toggle { margin-bottom: 30px; }
	#gallery { width: 100%; overflow: hidden; padding: 10px 0 20px 0; }
	#gallery li { margin-bottom: 30px !important; }
	#gallery a { display: block; line-height: 0; color: #fff; }
	.gallery-thumb-overlay { display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5; background: #164a6c; background: rgba(45,88,115,0.5); }
	.gallery-thumb-overlay-wrap { display: table; width: 100%; height: 100%; text-align: center; }
	.gallery-thumb-overlay-wrap div { display: table-cell; vertical-align: middle; }
	.gallery-thumb-overlay-wrap i { font-size: 30px; }
	
	#website-link { padding: 20px 0; }
	
	#network { padding-top: 40px; }
	#network-list { padding-top: 20px; }
	#network-list li { display: inline; }
	#network-list a { margin: 0 20px 20px 0; }
	
	/* RESOURCES */
	
	.post-password-form label { display: block; }
	.post-password-form input[type="password"] { width: 200px; margin-bottom: 10px; }
	.post-password-form input[type="submit"] { clear: both; margin-top: 0; }
	#resources li { margin-bottom: 0; }
	#resources a { padding: 6px 5px; display: inline-block; }
	#resources a i { color: #164a6c; padding-right: 5px; }
	
	.accordion { border: 1px solid #164a6c; border-top: none; margin: 40px 0; }
	.ui-accordion .ui-accordion-header { display: block; cursor: pointer; position: relative; padding: 12px 30px; zoom: 1; border-top: 1px solid #164a6c; padding-left: 60px; margin-bottom: 0; }
	.ui-accordion .ui-accordion-header span { position: absolute; left: 20px; }
	.ui-accordion .ui-accordion-header span:before { font-family: FontAwesome; content: '\f138'; padding-right: 10px; float: left; display: block; }
	#itinerary-days .ui-accordion .ui-accordion-header span:before { font-size: 30px; }
	.ui-accordion .ui-accordion-header.ui-state-active span:before { content: '\f13a'; }
	.ui-accordion .ui-accordion-header:hover, .ui-accordion .ui-state-active { background: #16acc5; color: #fff; }
	.ui-accordion .ui-accordion-content { padding: 30px; border-top: 0; overflow: auto; zoom: 1; height: auto; }
	
	/* ENQUIRIES */
	
	.checkbox-group,
	#subjects label,
	#requirements label,
	#acceptance label { display: inline-block; width: auto; }
	.checkbox-group span,
	#subjects label span,
	#requirements label span { color: #164a6c; font-family: 'Lato', sans-serif; }
	.checkbox-group span.wpcf7-list-item,
	#subjects span.wpcf7-list-item,
	#requirements span.wpcf7-list-item { margin: 0 15px 10px 0; font-size: 16px; }
	#acceptance a { border-bottom: 1px dotted #16acc5; }
	#acceptance a:hover { border-color: #fff; }
	
/* ----------------------------------------------------------------
    CALL TO ACTION
-----------------------------------------------------------------*/

#call-to-action { padding: 30px 0; }
#call-to-action h2, #call-to-action a { display: inline-block; }
#call-to-action h2 { margin-right: 20px; padding-top: 10px; }
#call-to-action a { position: relative; top: -8px; }
	
/* ----------------------------------------------------------------
    FOOTER
-----------------------------------------------------------------*/

#global-footer .container-1080 { border-top: 1px solid #164a6c; padding: 40px 0 30px 0; overflow: hidden; }
#global-footer div { margin-bottom: 0; }
	
	#footer-logo img { width: 80%; }
	
	#menu-footer-navigation { font-family: 'Signika', sans-serif; margin: 0; padding: 0; list-style: none; float: right; } 
	#menu-footer-navigation li { display: inline; }
	#menu-footer-navigation a { color: #164a6c; display: inline-block; padding: 4px 6px; font-weight: 700; }
	#menu-footer-navigation a:hover, #menu-footer-navigation li.current-menu-item a, #menu-footer-navigation li.current-page-ancestor a { color: #16acc5; }

/* ----------------------------------------------------------------
    BACK TO TOP
-----------------------------------------------------------------*/

#back-to-top { display: none; z-index: 999; position: fixed; width: 50px; height: 50px; top: auto; left: auto; right: 30px; bottom: 30px; cursor: pointer; }
#back-to-top span { position: absolute; left: -5000px; }
#back-to-top .icon { padding: 0; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; background-color: #16acc5; color: #fff; display: inline-block; height: 50px; width: 50px; text-align: center; line-height: 50px; -webkit-transition: background 0.2s ease-in-out; -moz-transition: background 0.2s ease-in-out; -o-transition: background 0.2s ease-in-out; transition: background 0.2s ease-in-out; }
#back-to-top:hover .icon, #back-to-top:active .icon { background-color: #96d9eb; }

.ie8 #logo { width: 255px; height: 89px; }

a.btn.contact {
	font-size: 17px;
}

.facebook {
	display: block;
  width: 48px;
  height: 48px;
  background: url(gfx/FB-Button.svg);
	background-size: 100%;
	margin-right: 10px;
	transition: 0.3s;
}

.facebook:hover {
	display: block;
  background: url(gfx/FB-Rollover.svg);
	background-size: 100%;
	transition: 0.3s;
}

div#header-contact {
	display: flex;
	flex-direction: row;
	align-items: center;
}

@media only screen and (max-width: 513px) {
	div#header-contact {
		flex-direction: column;
		align-items: flex-end;
	}

	.facebook {
		margin-bottom: 10px;
	}
}

@media only screen and (max-width: 400px) {
	div#header-contact {
		display: none;
	}
}

@media only screen and (min-width: 513px) {
	li#menu-item-728 {
		display: none;
	}
}