/*

new homepage - 18/02/2019
following meeting with pedro.c and princese
case 00116333

*/



/* quick search box */
.bottomBar .quickSearch {
	/* display: block; */
	padding: 11px 0 0;
}

.googleMapSearch,
.bottomBar .quickSearch form > p, .bottomBar .quickSearch form > span {
	display: none !important;
}

.bottomBar .quickSearch form input {
	color:  #fff;
	width: calc(100% - 65px);
	float: left;
}

.bottomBar .quickSearch form input::-webkit-input-placeholder {
	color: #8f959e;
}

.bottomBar .quickSearch form input:-ms-input-placeholder {
	color: #8f959e;
}

.bottomBar .quickSearch form input::-ms-input-placeholder {
	color: #8f959e;
}

.bottomBar .quickSearch form input::placeholder {
	color: #8f959e;
}

.bottomBar .quickSearch form button {
	float: right;
}



/* booking engine */
#centerblock .flashContainer {
	align-items: flex-end;
}

.flashContainer .bookingGadget {
	width: 100%;
	margin: 0 auto;
	padding: 0;
}

.flashContainer .bookingGadget h2 {
	position: absolute;
	top: -54px;
    left: 15px;
    font-size: 32px;
    display: none;
}

.flashContainer .advancedSearch {
	background: #fff;
	padding-top: 15px;
	overflow: hidden;
}

.flashContainer .selectField {
	margin-top: 12px;
}
.flashContainer .calicon {
	margin-top: 9px;
}

.flashContainer .selectField.dropdownDestination {
	width: 25%;
}

#centerblock .flashContainer .advancedSearch > form > label {
	color: rgba(0,0,0,0.25);
	position: absolute;
	top: 4px;
	font-size: 11px;
	padding-left: 10px;
	width: auto;
}
#centerblock .flashContainer .advancedSearch > form > label[for=checkin] {
	left: 25%;
}
#centerblock .flashContainer .advancedSearch > form > label[for=checkout] {
	left: calc(25% + 7.5% + 15%);
}

#centerblock .flashContainer .selectField .selectdown {
	display: block;
	background: rgba(0,0,0,0.15);
	border-radius: 30px;
	height: 35px;
	line-height: 35px;
	text-indent: 15px;
	font-size: 0.75em;
	border: 1px solid rgba(0,0,0,0.05);
	color: #163f72;
	padding-right: 35px;
	text-overflow: ellipsis;
	overflow: hidden;
	width: 100%;
	box-shadow: none;
}

#centerblock .flashContainer .selectField.small {
	width: 7.5%;
	padding: 0;
}
#centerblock .flashContainer .selectField.small .selectdown {
	padding-right: 0;
	border-radius: 30px 0 0 30px;
	border-right: none;
}

#centerblock .flashContainer .selectField.medium {
	width: 15%;
	padding-left: 0;
}
#centerblock .flashContainer .selectField.medium .selectdown {
	padding-left: 0;
	border-radius: 0 30px 30px 0;
	border-left: none;
}

#centerblock .flashContainer .advancedSearch .centered {
	clear: none;
	float: left;
	width: 30%;
}

#centerblock .flashContainer .advancedSearch button {
	margin: 0 0 15px;
	width: 100%;
}
#centerblock .flashContainer .advancedSearch button span {
	display: block;
}





.flashContainer .bookingGadget.fixed {
	position: fixed !important;
	top: 75px;
	box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.flashContainer .bookingGadget.fixed .advancedSearch {
	background: #21a6df;
}

.flashContainer .bookingGadget.fixed .advancedSearch button span {
	background: #fff;
	color: #21a6df;
	line-height: 45px;
}

#centerblock .flashContainer .bookingGadget.fixed .advancedSearch > form > label {
	color: rgba(255,255,255,0.5)
}

#centerblock .flashContainer .bookingGadget.fixed .selectField .selectdown {
	background: rgba(255,255,255,0.15);
	border-color: rgba(255,255,255,0.05);
	color:  #fff;
}

.bookingGadget.fixed .calicon {
	color: #fff;
}




.yui-panel-container {
	top: 0 !important;
	left: 0 !important;
}

.bottomBar.fixed {
	position: fixed;
	top: 75px;
	left: 0;
}


/* banner legend */
#centerblock .flashContainer .gcb_image_legend {
	font-size: 36px;
	line-height: 120%;
	bottom: auto;
	top: 40%;
	left: 20%;
	right: 20%;
}

#centerblock .flashContainer .gcb_image_legend b {
	font-weight: 700;
	color: #21a6df;
}

#centerblock .flashContainer .gcb_image_legend u {
	font-size: 18px;
	padding: 10px 20px;
	border: 1px solid #fff;
	text-decoration: none;
}





@-webkit-keyframes popping {
	0% {
		top: -60px;
	}
	30% {
		top: -50px;
	}
	90% {
		top: -65px;
	}
}

@keyframes popping {
	0% {
		top: -60px;
	}
	30% {
		top: -50px;
	}
	90% {
		top: -65px;
	}
}


@-webkit-keyframes popping2 {
	0% {
		top: -30px;
	}
	30% {
		top: -25px;
	}
	90% {
		top: -32.5px;
	}
}


@keyframes popping2 {
	0% {
		top: -30px;
	}
	30% {
		top: -20px;
	}
	90% {
		top: -33px;
	}
}


/* special promocode alert */
.flashContainer .bookingGadget:before {
	content: "As melhores ofertas em Portugal";
    position: absolute;
    top: -60px;
    left: 75%;
    padding: 5px 20px;
    background: #fff;
    border-radius: 5px;
    font-size: 0.8em;
    pointer-events: none;
	-webkit-animation: popping infinite 2.5s;
	        animation: popping infinite 2.5s;
}
body.lang-en .flashContainer .bookingGadget:before {
	content: "The best hotel deals in Portugal";
}
body.lang-de .flashContainer .bookingGadget:before {
	content: "Finden Sie die besten Hotelangebote in Portugal";
}
body.lang-fr .flashContainer .bookingGadget:before {
	content: "Les meilleures offres d'hôtels en Portugal";
}
body.lang-es .flashContainer .bookingGadget:before {
	content: "Las mejores ofertas de hoteles en Portugal";
}

.flashContainer .bookingGadget:after {
	content: "";
	position: absolute;
    top: -30px;
    left: calc(75% + 20px);
	width: 0px;
    height: 0px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
    pointer-events: none;
    -webkit-animation: popping2 infinite 2.5s;
            animation: popping2 infinite 2.5s;
}
body.lang-en .flashContainer .bookingGadget:after {
	right: calc(5% + 125px);
}





@media all and (max-width: 768px) {
	#centerblock .flashContainer .advancedSearch > form > label,
	#centerblock .flashContainer .selectField.small,
	#centerblock .flashContainer .selectField.medium,
	.flashContainer .calicon {
		display: none;
	}

	.flashContainer .selectField.dropdownDestination {
		width: 55%;
	}
	#centerblock .flashContainer .advancedSearch .centered {
		width: 45%;
	}
	.flashContainer .bookingGadget h2 {
		right: 15px;
		font-size: 20px;
		top: -34px;
		display: none;
	}
}

@media all and (max-width: 480px) {
	.advancedSearch button span {
		padding: 0 10px;
	}
	.flashContainer .bookingGadget h2 {
		right: 15px;
		font-size: 15px;
		top: -24px;
	}

	#centerblock .flashContainer .gcb_image_legend {
		top: 40%;
		left: 10%;
		right: 10%;
		font-size: 30px;
		transform: translateY(-50%);
	}

	.flashContainer .gcb_navigation {
		top: 45%;
	}

	.flashContainer .bookingGadget:before,
	.flashContainer .bookingGadget:after {
		content: none !important;
	}
}















