/*
Theme Name: Otway Eco Tours
Author: Oscar Jackson
Author URI: http://www.oscar-jackson.com
Version: 1.0
*/

@import url('css/normalize.css');

body {
	color: #21211f;
	margin: 0;
	background-color: #fffef3;
	font-family: "sofia-pro",sans-serif;
	font-size: 14px;
	line-height: 24px;
}
h2 {
	font-family: "minerva-modern";
	font-size: 30px;
	line-height: 50px;
	font-weight: 400;
	margin: 0 0 20px 0;
}
p {
	letter-spacing: 0.05em;
}

section {
	float: left;
	width: 100%;
}
.block-wrapper {
	float:left;
	padding: 75px;
	display: table;
	transition: 0.4s cubic-bezier(0.55, 0, .1, 1);
}

.block {
	display: table-cell;
}

.align-left {
	text-align: left;
}
.align-center {
	text-align: center;
}
.align-right {
	text-align: right;
}

.align-top {
	vertical-align: top;
}
.align-middle {
	vertical-align: middle;
}
.align-bottom {
	vertical-align: bottom;
}

img.postcard {
	max-width: 100%;
	max-height: calc(80vh - 150px);
}


/* Layout */
.w-half {
	width: calc(50% - 150px);
}
.w-full {
	width: calc(100% - 150px);
}
.h-half {
	height: calc(50vh - 150px);
}
.h-full {
	height: calc(100vh - 150px);
}



/* Header & Footer Menus */
nav#header-menu {
	width: calc(100% - 344px);
	float: left;
	height: 94px;
	overflow: hidden;
}
nav#footer-menu {
	width: calc(100% - 194px);
	float: left;
}
header div.logo i {
	display: none;
}
nav#header-menu ul, nav#footer-menu ul {
	list-style: none;
	padding: 20px;
	margin: 0;
}
nav#footer-menu ul {
	float: right;
}
nav#header-menu li, nav#footer-menu li {
	display: inline-block;
	padding: 15px;
}
nav#header-menu a, nav#footer-menu a {
	text-decoration: none;
	color: inherit;
	-webkit-transition: 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
	transition: 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}
nav#header-menu a:hover, nav#footer-menu a:hover, nav#header-menu a.active, p.schools_tour_title span.toggle-icon:hover::after {
	color: #1a6b5b;
}
header div.logo {
	float:left;
}
header div.logo img {
	width: 300px;
	float: right;
	padding: 22px;	
}
footer div.logo {
	float:left;
}
footer div.logo img {
	width: 150px;
	float: left;
	padding: 10px 22px;	
}

/* About */
section#about {
	background-color: #f6f5e8;
}

div.tour_detail {
	border-top: solid 1px #f6f5e8;
}
div.tour_detail:last-of-type {
	border-bottom: solid 1px #f6f5e8;
}
div.tour_detail:first-of-type {
	margin-top: 30px;
}
p.tour_detail_title {
	font-weight: 700;
	font-size: 12px;
	margin: 6px 0 0 0;
}
p.tour_detail_description {
	font-size: 12px;
	margin: 0 0 6px 0;
}

section#testimonials {
	background-color: #f6f5e8;
}
div.carousel-cell {
	width: 100%;
}
div.carousel-cell h2 {
	padding:0 50px;
	margin-bottom: 30px;
}

div.schools_tour {
	padding-top: 10px;
	margin-top: 10px;
	border-top: solid 1px #f6f5e8;
}
div.schools_tour:first-of-type {
	margin-top: 70px;
}
div.schools_tour:last-of-type {
	padding-bottom: 10px;
	border-bottom: solid 1px #f6f5e8;
}
p.schools_tour_title {
	font-weight: 700;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	position: relative;
}
p.schools_tour_title span.toggle-icon {
	font-family: 'Material Icons';
	font-weight: normal;
	font-style: normal;
	font-size: 20px;
	cursor: pointer;
	position: absolute;
	right: 0;
}
p.schools_tour_title span.toggle-icon::after {
	content: "add_circle_outline";
	-webkit-transition: 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
	transition: 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}
p.schools_tour_title.active span.toggle-icon::after {
	content: "remove_circle_outline";
}

p.schools_tour_detail_title {
	font-weight: 700;
	font-size: 12px;
	margin: 6px 0 0 0;
}
p.schools_tour_detail_description {
	font-size: 12px;
	margin: 0 0 6px 0;
}
.schools_tour_details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.schools_tour_details div.tour_detail:last-of-type {
	border-bottom: none;
}

/* Gift Card Disabled */
section#giftcard, nav#header-menu li#menu-item-54 {
	display: none;
}


/* Gift Card */
section#giftcard {
	border-top: 2px solid #f6f5e8;
}

/* Enquire */
section#enquire {
	background-color: #f6f5e8;
}

section#enquire .block-wrapper.w-full {
width: calc(100% - 400px);
padding: 75px 200px;
}

.nf-form-cont {
	margin-top: 20px;
}

nf-field .nf-field-container {
	float: left;
	clear: initial;
	margin: 0 48px 50px 0;
}
nf-field .nf-field-container.full {
	width: 100%;
	margin-right: 0;
}
nf-field .nf-field-container.half {
	width: calc(50% - 24px);
}
nf-field .nf-field-container.third {
	width: calc(100% / 3 - 32px);
}
nf-field .nf-field-container.last {
	margin-right: 0;
}

nf-field .nf-field-container select {
	cursor: pointer;
}
nf-field .nf-field-container select, nf-field .nf-field-container input {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	outline: none;
	background-color: transparent;
	font-size: inherit;
	border: 0;
	border-radius: 0;
	padding: 10px 0;
	border-bottom: 1px solid #21211f;
	background: none;
}
nf-field .nf-field-container textarea {
	background-color: inherit;
	padding: 10px;
	font-size: inherit;
	resize: vertical;
}
input:-webkit-autofill, input:-webkit-autofill-strong-password {
	background-color: none;
}
.nf-after-field .nf-error-msg {
	position: absolute;
	font-size: 80%;
}
nf-field .nf-field-container input::placeholder {
	color: #21211f;
}
nf-field .nf-field-container.submit input {
	width: 100px;
    margin: 0 auto;
    display: block;
    border: 1px solid;
    cursor: pointer;
    -webkit-transition: 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
	transition: 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}
nf-field .nf-field-container.submit input:hover, nf-field .nf-field-container.submit input:active {
	background-color: #1a6b5b;
	border-color: #1a6b5b;
	color: #fff;
}

/* Calendar */
input.nf-element.datepicker {
	display: none;
}
.field-wrap .pika-lendar table button {
	width: 100%;
}
.field-wrap .pika-lendar .pika-title button {
	width: 18px;
}

section#enquire .pika-single {
	background: none;
	border: none;
	font-family: inherit;
}
section#enquire .pika-single .pika-title {
    border: 1px solid;
    border-bottom: none;
    padding: 7px 10px;
}
section#enquire .pika-label {
    font-size: inherit;
    font-weight: normal;
}
section#enquire .pika-single thead {
	display: none;
}
section#enquire .pika-single .pika-lendar {
	width: 100%;
	margin: 0;
}
section#enquire .pika-single .pika-button {
	text-align: center;
	line-height: 30px;
	padding: 10px;
	color: #21211f;
	background: none;
}
section#enquire .pika-single .pika-table th, .pika-single .pika-table td {
	border: 1px solid #21211f;
}
section#enquire .pika-single .is-today .pika-button {
    color: inherit;
    font-weight: inherit;
    background-color: #fff;
}
section#enquire .pika-single .is-selected .pika-button {
    color: #fff;
    font-weight: inherit;
    background: #1a6b5b;
    box-shadow: none;
    border-radius: 0;
}

/* Fade in on load */
nf-field .nf-field-container {
    -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 1s; /* Firefox < 16 */
        -ms-animation: fadein 1s; /* Internet Explorer */
         -o-animation: fadein 1s; /* Opera < 12.1 */
            animation: fadein 1s;
}
@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}


/* Media Queries */

@media (max-width: 1000px) {
	section#enquire .block-wrapper.w-full {
		width: calc(100% - 150px);
		padding: 75px;
	}
}
@media (max-width: 900px) {
	header div.logo img {
		width: 240px;
		padding: 27px 22px;
	}
	nav#header-menu {
		width: calc(100% - 284px);
	}
}
@media (max-width: 800px) {
	.w-half {
		width: calc(100% - 150px);
	}
}
@media (max-width: 600px) {
	nf-field .nf-field-container.half, nf-field .nf-field-container.third{
		width: 100%;
		margin-right: 0;
	}

}
@media (max-width: 500px) {
	header div.logo {
    	float: left;
		position: absolute;
		width: 100%;
		background-color: #fffef3;
	}
	header div.logo img {
		width: calc(100% - 180px);
	    height: 30px;
	    float: left;
		padding: 22px 20px 18px 20px;
	}
	header div.logo i {
		display: block;
		padding: 20px;
	    float: left;
	    cursor: pointer;
	    font-size: 30px;
	}
	header div.logo i.mobilemenu {
		display: none;
	}
	nav#header-menu {
		width: 100%;
		height: 100vh;
		display: table;
		text-align: center;
		transition: 0.3s ease-in-out;
		transform: translateY(-100vh);
		margin-bottom: calc(-100vh + 70px);
	}
	nav#header-menu.mobilemenu {
		transform: translateY(0vh);
		margin-bottom: 0px;
	}
	nav#header-menu .menu-header-menu-container {
		display: table-cell;
		vertical-align: middle;
	} 
	nav#header-menu li, nav#footer-menu li {
		display: list-item;
	}
	nav#header-menu a {
		font-size: 20px;
	}
	nav#footer-menu {
		width: 100%;
		text-align: center;
	}
	nav#footer-menu ul {
	    float: initial;
	}
	footer div.logo {
		width: 100%;
	}
	footer div.logo img {
		float: initial;
	    display: block;
	    margin: 0 auto;
		padding-top: 60px;
	}
	.w-half, .w-full {
		width: calc(100% - 80px);
	}
	.h-full {
	    height: calc(100vh - 80px);
	}
	section#tours .h-full:nth-of-type(odd), section#schools .h-full:nth-of-type(odd), section#giftcards .h-full:nth-of-type(odd) {
	    height: 30vh;
	}
	.block-wrapper {
		padding: 40px;
	}
	section#tours .block-wrapper:nth-of-type(odd) .align-middle, section#schools .block-wrapper:nth-of-type(odd) .align-top, section#giftcards .block-wrapper:nth-of-type(odd) .align-middle {
		vertical-align: bottom;
	}
	section#tours .block-wrapper:nth-of-type(even) .align-middle, section#schools .block-wrapper:nth-of-type(even) .align-top, section#giftcards .block-wrapper:nth-of-type(even) .align-middle {
		vertical-align: top;
	}
	section#enquire .block-wrapper.w-full {
		width: calc(100% - 80px);
		padding: 40px;
	}
	div.carousel-cell h2 {
	    padding: 0;
	    font-size: 25px;
	    line-height: 40px;
	}
}




