html {
	scroll-behavior: smooth;
}

body {
	font-family: "Raleway";
	-webkit-font-feature-settings: "lnum";
	-moz-font-feature-settings: "lnum";
	font-feature-settings: "lnum";
}

h1,
h2,
h3,
h4,
h5 {
	font-family: "Playfair Display";
}

section>.row {
	margin: 0;
}

.hero {
	/* Sizing */
	width: 100%;
	/*  height: calc(100vh - 30px);*/
	height: 100vh;
	/* Flexbox stuff */
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
}

#bgvid {
	/*position: absolute; right: 0; bottom: 0;
	min-width: 100%; min-height: 100%;
	width: auto; height: auto; z-index: -100;
	background: url(polina.jpg) no-repeat;
	background-size: cover;
	 top: 0;
	left: 0;
	z-index: 0*/
	background: url(polina.jpg) no-repeat;
	height: 100%;
	left: 0;
	object-fit: cover;
	position: absolute;
	top: 0;
	width: 100%;
}

.hero .container {
	height: 100%;
	position: relative;
	align-items: center;
}

.hero .container-fluid {
	height: 100%;
	background: rgba(0, 0, 0, 0.0);
}

.logo {
	background: url('../images/flexy-travel.svg') no-repeat;
	background-position: center;
	background-size: clamp(100px, 60%, 500px) auto;
	width: 100%;
	height: 50%;
	text-align: left;
	-webkit-filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, .6));
	filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, .6));
	margin: 4% 0;
	left: 0;
}

.payoff {
	color: white;
}

.payoff h1,
.payoff h3 {
	text-shadow: 3px 3px 6px rgba(0, 0, 0, .5);
}

.payoff .button {
	box-shadow: 3px 3px 6px 0px rgba(0, 0, 0, .2);
}

.logo-qg {
	background: url('../images/logo-quality-group.3708d25.svg') no-repeat;
	width: 105px;
	height: 80px;
	position: absolute;
	left: 0;
	bottom: 2rem;
	display: block;
	text-align: left;
}

.logo-aw-white {
	background: url('../images/logo-america-world.2d4cf88.svg') no-repeat;
	width: 230px;
	height: 80px;
	position: absolute;
	right: 0;
	bottom: 2rem;
	display: block;
	text-align: left;
	background-position: center right;
	line-height: 5rem;
	font-size: 0.9rem;
	color: #fff;
}

.payoff.text-center {
	height: calc(100% - 110px);
	position: absolute;
	width: 100%;
	left: 0;
	top: 0;
}

.instruction {
	background-color: #f1efea;
	height: 60px;
	margin-top: -30px;
	border-radius: 30px;
	display: none !important;
}

.instruction .col-12 p {
	padding: 1rem 0 0 0;
	font-size: 0.7rem;
	text-transform: uppercase;
}

.button.gold,
.btn.gold {
	background: #d8a53f;
	border: 0;
	border-radius: 2rem;
	text-align: center;
	color: #fff;
	font-weight: 600;
	display: inline-block;
	margin: 0 auto;
	display: block;
	width: 190px;
}

.button.gold {
	margin-top: 30px;
	padding: 0.5rem 2rem;
}

.btn.gold {
	padding: 0.4rem 1.5rem;
}

.button.white {
	background: rgba(255, 255, 255, 0.5);
}

.hero2 {
	/* Sizing */
	width: 100%;
	height: 70vh;
	background-image: url("../images/bg/bg_footer.jpeg");
	background-attachment: fixed;
	background-size: cover;
	/* Flexbox stuff */
	display: flex;
	justify-content: center;
	align-items: center;
}

.container {
	display: flex;
	justify-content: center;
	/* or inline-flex */
}


.selectBox {
	position: relative;
	width: max-content;
	margin: 30px auto;
}

#islandSelection {
	width: 250px;
}

.selectBox select {
	display: block;
	padding: .6em 2.4em .5em 1.8em;
	margin: 0 auto;
	box-shadow: 0 1px 0 1px rgba(0, 0, 0, .04);
	-webkit-appearance: none;
	background-color: #fff;
	border-radius: 30px;
	text-align: center;
	border: 0;
	max-width: 300px;
}

.selectBox::after {
	content: "▾";
	width: 10px;
	height: 100%;
	vertical-align: middle;
	padding: 0;
	line-height: 40px;
	position: absolute;
	pointer-events: none;
	top: 0;
	right: 16px;
}

.selectBox select * {
	padding: 10px;
	border-bottom: 1px solid #111111;
	display: inline-block;
}

.quote blockquote {
	font-family: "Playfair Display";
	font-size: 1.6rem;
	position: relative;
	text-align: center;
}

#return-to-top {
	position: fixed;
	bottom: 10px;
	right: 8px;
	background: rgba(0, 0, 0, 0.7);
	width: 42px;
	height: 42px;
	text-align: center;
	line-height: 40px;
	display: block;
	text-decoration: none;
	border-radius: 35px;
	transition: all 0.3s ease;
	opacity: 0.2;
	color: #ffffff;
	display: none;
}

#return-to-top:hover {
	background: rgba(0, 0, 0, 0.9);
	transition: all 0.3s ease;
	line-height: 35px;
	opacity: 0.7;
}


.quote blockquote::after,
.quote blockquote::before {
	top: -4rem;
	left: -7rem;
	content: "“";
	width: 100px;
	height: 70px;
	position: absolute;
	font-size: 12rem;
	font-family: "Serif";
	line-height: 13rem;
	color: #cecece;
}

.quote blockquote::after {
	content: "”";
	left: unset;
	top: unset;
	bottom: -4rem;
	right: -7rem;
}

blockquote {
	margin: 90px 0;
}

.island,
.section {
	background: #f4f4f4
}

.island {
	/* Flexbox stuff */
	display: flex;
	justify-content: center;
	align-items: center;
}


.island .container {
	max-width: 980px;
}

.text-island.text-justify {
	padding: 1rem 2rem 1rem 0;
}

.card {
	font-size: 0.9rem;
	line-height: 1.6rem;
	border: 0px solid white;
	border-radius: 1rem;
	box-shadow: 5px 5px 10px 1px rgba(0, 0, 0, 0.05);
	margin-bottom: 20px;
	min-height: 200px;
	transition: 0.5s;
	overflow: hidden;
	padding: 0;
	transition: 0.5s;
	min-height: 450px;
}

.card:hover {
	transform: scale(1.02) !important;
	box-shadow: 5px 5px 20px 1px rgba(0, 0, 0, 0.2) !important;
	transition: 0.5s;
}

.card-header {
	height: 100%;
	background: #000000;
	flex: auto;
}

.card-header::after {
	height: 100%;
	content: " ";
	background-size: cover;
	background-position: center center;
	transition: 0.5s;
	opacity: 1;
	flex: auto;
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
}

.card-header::before {
	height: 100%;
	content: " ";
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0) 70%);
	transition: 0.5s;
	opacity: 1;
	flex: auto;
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 1;
}


/* .card-header:after {
	display: block;
	width: 100%;
	height: 120px;
	position: absolute;
	content: " ";
	background: linear-gradient(rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.0) 100%);
	top: 0;
	left: 0;
	z-index: 0;
	z-index: 0;
} */

.card-header h3 img {
	height: 100%;
	max-width: 300px;
	-webkit-filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, .5));
	filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, .5))
}

.card-header h3 {
	height: 120px;
	background-repeat: no-repeat;
	background-size: 80% 100%;
	background-position: center center;
	z-index: 1;
	position: relative;
	margin: 100px 0 50px;
	text-align: center;
	padding: 10px 0;
	/* background: radial-gradient(closest-side, rgba(110,110,110,0.7), rgba(0,0,0,0)); */
}


#flexy-ny .card-header::after {
	background-image: url('../images/bg/bg_ny.jpg');
}

#flexy-usa .card-header::after {
	background-image: url('../images/bg/bg_usa.jpg');
}

#flexy-caraibi .card-header h3 {
	/* background-image: url('../images/title/caraibi.svg'); */
}

#flexy-caraibi .card-header::after {
	background-image: url('../images/bg/bg_caraibi.jpg');

	background-position: center top;
}

#flexy-dubai .card-header h3 {
	/* background-image: url('../images/title/dubai.svg'); */
}

#flexy-dubai .card-header::after {
	background-image: url('../images/bg/bg_dubai.jpeg');
}

#flexy-miami .card-header h3 {
	/* background-image: url('../images/title/miami.svg'); */
}

#flexy-miami .card-header::after {
	background-image: url('../images/bg/bg_miami.jpg');
}

#flexy-bali .card-header h3 {
	/* background-image: url('../images/title/miami.svg'); */
}

#flexy-bali .card-header::after {
	background-image: url('../images/bg/bg_bali.jpg');
}

#flexy-bali .card-header h3 img {
	height: 140%;
}

#flexy-australia .card-header h3 {
	/* background-image: url('../images/title/australia.svg'); */
}

#flexy-australia .card-header::after {
	background-image: url('https://www.flexyaustralia.it/images/destinations/01_newsouthwales.jpg');
}

.payoff-isola {
	position: relative;
	z-index: 1;
	text-align: center;
	color: #ffffff;
	font-size: 1.2rem;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, .9);
	padding: 15px 0;
	background: radial-gradient(closest-side, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
}

.card-island .btn {
	margin-top: -40px;
	box-shadow: 1px 3px 6px 1px rgba(0, 0, 0, 0.15);
	transition: 0.2s;
	position: absolute;
	bottom: 60px;
	left: calc(50% - 85px);
	z-index:10
}

.card-island .btn:hover {
	box-shadow: 1px 6px 9px 3px rgba(0, 0, 0, 0.15);
	transition: 0.2s;
}

.more {
	display: none;
	opacity: 0;
	transition: 0.5s;
}

.card:hover .more {
	/* display: unset;
	opacity: 1;
	transition: 0.5s; */
}

.card-footer {
	background: #111;
	background-image: url("../images/icoSunAlone.svg");
	background-position: right center;
	background-repeat: no-repeat;
	text-align: center;
	padding: 0rem;
	color: #fff;
}

.card-footer a {
	color: #fff;
	padding: 0.4rem;
	display: block;
}


.full .card {
	max-width: 100%;
	position: relative;
	display: block;
	height: 120px;
	min-height: 340px;
}

.full .card-header::after {
	display: none;
	content: unset;
}

.full .card .card-header {
	width: 50%;
	float: left;
	height: 100%;
}

.full .card-body h3 {
	height: 70px;
	background-repeat: no-repeat;
	background-size: 80% 100%;
	background-position: center center;
	z-index: 1;
	position: relative;
	text-indent: -9999px;
	margin: 0;
	filter: brightness(0.1);
}

.full .card-body .btn {
	margin-top: 0px;
}

.full .payoff-isola {
	color: #111111;
}


.full .card .card-body {
	width: 50%;
	float: left;
	padding-top: 0;
	background: url("../images/bg_floreal.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;


}

.full .card .card-footer {
	position: absolute;
	bottom: 0;
	width: 100%;
}

#map-meteo {
	width: 100%;
	height: calc(60vh - 0px);
	justify-content: space-around;
}

#map-meteo .gm-style-iw.gm-style-iw-c {
	max-width: unset !important;
}

ul#monthList {
	display: flex;
	padding: 0;
	list-style: none;
	flex-wrap: wrap;
	justify-content: space-around;
}

ul#monthList li {
	position: relative;
}

a.button.gold.month {
	padding: 0.2rem 1.5rem;
	font-size: 0.8rem;
	margin: 0 2px;
	background: #ffffff;
	border: 1px solid #545454;
	text-transform: uppercase;
	color: #545454;
	width: unset;
}

a.button.gold.month.selected {
	background: #d8a53f;
	color: #ffffff;
	border: 1px solid #d8a53f;
}

a.button.gold.month.selected:after {
	content: " ";
	transform: rotate(45deg);
	width: 22px;
	background: #d8a53f;
	height: 22px;
	position: absolute;
	left: calc(50% - 11px);
	z-index: -1;
	margin-top: 5px;
}

.gm-style .gm-style-iw-c,
.gm-style-iw-d {
	height: unset !important;
	max-height: unset !important;
}


.infoMap2 {
	width: 220px;
	min-height: 190px;
	text-align: center;
}

.infoMap2 .row {
	margin: 0;
}

.infoMap2 h3 {
	font-size: 1.3rem;
}

.icoWeather {
	width: 60px;
	height: 70px;
	background: url("../images/icoSun.svg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	margin: auto;
}

.icoWeather.icoStorm {
	background: url("../images/icoStorm.svg");
}

.icoWeather.icoCloudy {
	background: url("../images/icoCloudy.svg");
}

.infoMap2 .button {
	margin-top: 6px;
	margin-bottom: 8px;
}

span.tempType {
	display: block;
	font-size: 0.7rem;
	font-weight: 400;
	margin: 10px 0;
}

span.tempValue {
	font-size: 2rem;
	display: block;
}

.aw-logo {
	width: 26%;
	margin-right: 2rem;
}

.image {
	background-size: cover;
	background-position: center center;
	min-height: 150px;
}

footer {
	background: #111111;
	color: #d8d8d8;
	font-size: 0.8rem;
}

footer h4 {
	font-family: Raleway;
	font-size: 1rem;
	color: #ffffff;
}

footer a {
	color: #ffffff;
}

footer a:hover {
	color: #d8a53f;
}

.astoi {
	text-align: center;
}

.astoi img {
	width: 100%;
	max-width: 600px;
}

.carousel-inner,
.carousel-item {

	width: 100%;
	height: 100%;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.carousel-inner {
	opacity: 0.9;
}

#carouselExampleFade {
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
	top: 0;
	left: 0;
	z-index: -1;
	background-color: #000000;
	;
}

@media (max-width: 750px) {
	h1 {
		font-size: 2rem;
	}

	.payoff.text-center h1 {
		font-size: 1.5rem;
	}

	.payoff.text-center h3 {
		font-size: 1.3rem;
		margin: 18px 0;
	}

	.hero2 {
		background-attachment: initial;
		background-size: cover;
	}

	#bgvid {
		display: none;
	}

	.logo {
		top: calc(30% - 80px);
	}

	.instruction {
		background: transparent;
		height: unset;
		width: 100%;
		flex-direction: column;
		position: absolute;
		bottom: 0;
		z-index: 99;
		color: white;
		font-weight: bold;
	}

	.quote .container .p-5 {
		padding-top: 1rem !important;
	}

	.quote blockquote {
		font-size: 1.5rem;
	}

	.quote blockquote::after,
	.quote blockquote::before {
		top: 0px;
		left: -4rem;
		content: "“";
		width: 4rem;
		height: 38px;
		position: absolute;
		font-size: 7rem;
		font-family: "Serif";
		line-height: 6rem;
		color: #cecece;
	}

	.quote blockquote::after {
		left: unset;
		top: unset;
		bottom: -3rem;
		right: -4rem;
	}

	.text-island.text-justify {
		padding: 1rem 1.5rem 0.5rem 1.5rem;
	}

	.card {
		border-radius: 1rem 1rem;
		overflow: hidden;
		font-size: 0.8rem;
	}

	.card-body {
		padding: 1.25rem 0.75rem;

	}

	.text-island h3 {
		text-align: center;
	}

	section.island>.container-fluid>.row {
		flex-direction: column-reverse;
	}

	.more {
		display: unset;
		opacity: 1;
	}


	.full .card .card-header,
	.full .card .card-body {
		width: 100%
	}

	.full .card {
		height: unset;
		padding-bottom: 40px;
		position: relative;
	}

	.full .card .card-header {
		height: 200px;
	}

	.full .card-body h3 {
		position: absolute;
		z-index: 999;
		top: 0;
		left: 0;
		width: 100%;
		filter: unset;
	}

	.full .payoff-isola {
		position: absolute;
		top: 70px;
		left: 0;
		width: 100%;
		color: #ffffff;
	}

	.full .card-header::after {
		display: block;
		content: " ";
	}


}
