/*
 * Compatibility layer for existing page content.
 *
 * Every site's front page, hotels page and flights page content is raw HTML
 * pasted directly into the WP editor (not a PHP template) and depends on
 * Sydney's Bootstrap-style grid classes (.container, .col-lg-*) plus a small
 * set of section classes below. These rules port that support so existing
 * (and future, copy-pasted-from-boilerplate) page content keeps working
 * without being rewritten when a site switches to this theme.
 */

.block {
	text-align: center;
}

.home section {
	margin-right: -5%;
	margin-left: -5%;
	padding: 50px 0;
}

.page-template section {
	padding: 15px 0;
	margin: 0;
}

.home section .container {
	text-align: center;
}

section.flights {
	min-height: 400px;
}

section.background {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

section.dark {
	background-color: #eee;
}

section h2,
section h3 {
	text-align: center;
}

section h3 {
	margin-bottom: 40px;
	padding-bottom: 16px;
	position: relative;
}

section h3::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 3px;
	background-color: #0073aa;
	border-radius: 2px;
}

section h3.white {
	color: #fff;
	text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
}

section h3.white::after {
	background-color: #fff;
}

section.why h3 {
	padding-bottom: 0;
	border-bottom: none;
	margin: 0 0 50px;
}

section.why .block {
	margin-bottom: 20px;
}

.why ul {
	text-align: center;
	list-style: none;
}

.why li {
	line-height: 35px;
}

.icon-block {
	text-align: center;
	background-color: #fff;
	border-radius: 14px;
	border: none;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
	padding: 32px 24px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icon-block:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.icon-block h3 {
	margin-bottom: 0;
	padding-bottom: 0;
}

.icon-block h3::after {
	content: none;
}

.icon-block a {
	display: block;
}

.icon-block i {
	font-size: 44px;
	margin-bottom: 12px;
	display: inline-block;
}

.icon-blocks .container {
	display: flex;
	justify-content: center;
	flex-flow: wrap;
}

.icon-blocks .col-lg-4 {
	padding: 20px;
}

.fa-plane-departure {
	color: #555;
}

.fa-hotel {
	color: #1ebe3c;
}

.fa-ship {
	color: #006799;
}

.offers div {
	margin-bottom: 15px;
}

.mobile-only {
	display: none;
}

@media only screen and (max-width: 1024px) {
	.mobile-only {
		display: block;
	}
}

input,
select,
textarea {
	width: 100%;
}

.wpcf7-submit {
	width: auto;
}

.newsletter label {
	color: #fff;
}

div.wpcf7-mail-sent-ok {
	max-width: 1170px;
	background-color: #398f14;
	color: #fff;
	border: 2px solid #398f14;
	margin: 30px auto;
}

@media (min-width: 1200px) {
	.container {
		max-width: 1270px;
	}
}

@media (max-width: 1199px) {
	.col-lg-3 {
		margin-bottom: 20px;
	}
}
