@import 'mixins.less';

.small-font {
	font-size: .9em !important;
}

.smaller-font {
	font-size: .8em !important;
}

.contact-details {
	font-size: 20px !important;
	/*margin: 20px 9px 0 0 !important;*/
}

#main-nav ul {
	margin-top: 20px !important;
}

@media only screen and (min-width: @max-resolution) {
	#main-nav ul {
		margin-top: 35px !important;
	}
}

@media only screen and (max-width : @max-mobile-resolution) {
	#search {
		display: none;
		margin-bottom: 12px;
	}
	
	#search.always-visible {
		display: block;
	}


	#filter-box {
		display: none;
	}
}

.search-page, .offers-page {
	.no-availability-msg {
		color: #666;
		margin-top: 10px;
		text-align: center;
		.font(Regular, 16px);

		a {
			color: @blue;
		}
	}

	@media only screen and (max-width : @max-mobile-resolution) {
		.no-availability-msg {
			border-bottom: solid 1px #e1e1e1;
			margin-top: 0;
		}
	}

	.header {
		border-bottom: solid 1px #e1e1e1;
		color: #666;
		text-align: center;
		.regular-font;
		&.mobile {
			display: none;
		}

		span.em {
			font-weight: 700 !important;
			.font(Italic, 16px);
		}

		a {
			color: @blue;
		}
	}
	
	
	.header.checkout-also {
		text-align: left;
		padding-bottom: 16px;
	}

	#search-nav {
		border-top: solid 1px #e1e1e1;
		list-style: none;
		margin: 10px 0 0 0;
		padding: 8px;

		li {
			background-color: #e1e1e1;
			cursor: pointer;
			display: inline-block;
			font-size: 16px;
			line-height: 30px;
			padding: 0 10px;	
			&:hover, &.selected {
				background-color: #035ebb;
				color: white;

				a {
					color: white;
				}
			}

            a {
                color: @blue;
            }
		}
	}
}


.offers-page .header {
	margin-top: 10px;	
}

.fulscreen-popup-wrap {
	display: none;
}

@media only screen and (max-width : @max-mobile-resolution) {

	.search-page, .offers-page {

		.header {
			display: none;
			&.mobile, &.checkout-also {
				display: block;
			}

			.row {
				margin-bottom: 10px;

				#sort-select {
					float: left;
					padding: 4px 10px;
					max-width: 160px;
				}

				.total {
					color: @dark-blue;					
					line-height: 20px;					
					.font(Medium, 16px);					
				}

				nav.mobile {
					clear: both;
				}
			}
		}
	}
	
	
	.search-page {
		.resultset-control {
			text-align: center;
			
			select, a, .sort-wrap {
				float: none !important;
				display: inline-block;
				width: 32%;
				border: 1px solid @blue;
				box-sizing: border-box;
				height: 38px;
				vertical-align: middle;
				margin-right: 2%;
			}
			
			a {
				color: @blue;
				line-height: 36px;
			}
			
			.sort-wrap {
				margin-left: 0;
				position: relative;
			}
			
			select {
				margin-left: -34%;
				opacity: 0;
				cursor: pointer;
			}
			
			
			a:last-of-type {
				margin-right: 0;
			}
			
			i {
				margin-left: 0.5em;
			}
		}
		
	}
	
	.in-popup {
		display: block !important;
	}
	
	
	#filter-box.in-popup h3 {
		display: none;
	}
	
	
	.fulscreen-popup-wrap {
	
		position: absolute;
		top: 0;
		right: 0;
		left: 0;
		background: #fff;
		z-index: 9999;
		padding: 10px;
		min-width: 300px;
		min-height: 100%;
		box-sizing: border-box;
	
		&.active {
			display: block;
		}
		
		#filter-box {
			width: 100%;
			max-width: 400px;
			margin: auto;
			box-sizing: border-box;
			float: none;
			
			
			& .filters {
				li {			
					text-align: right;
			
					label {
						width: auto;
						float: none;
						margin-right: 0.5em;
					}
				}				
				
				li.price-range-filter {
				
					label {
						display: block !important;
						margin: 0 0 10px;
						text-align: center;
					}
					
				}			
			}
			
			
			.noUi-handle {
				width: 30px;
				height: 30px;
				border-radius: 36px;
				top: -12px;
				left: -15px;
			}
			
			
			.noUi-handle::before, .noUi-handle::after {
				height: 14px;
				top: 7px;
				left: 11px;
				width: 2px;
			}
			
			.noUi-handle::after {
				left: 16px;
			}
			
			
			.noUi-target {
				width: 90%;
				margin: auto;
			}
			
			.noUi-value-horizontal {
				padding-top: 10px;
			}
			
		}


		#filter-box, .heading {
			width: 100%;
			max-width: 400px;
			margin: auto;
		}
		
		
		.heading {
		
			overflow: hidden;
			text-align: center;			
			margin-bottom: 10px;			
			
			.clear, .close, h3 {
				font-size: 18px;
				font-family: 'Din Text Pro Medium', 'Din Display Cyrillic Medium', sans-serif;
				font-weight: normal;
			}
			
			.clear, .close {
				display: block;
				color: @blue;
			}
					
			.clear {
				float: left;
			}
			
			.close {				
				float: right;
			}
			
			h3 {
				margin: 0;
			}
		
		
		}
		
		
		.footer {
			text-align: center;
			margin-top: 10px;
			
			button {
				background-color: @yellow;
				border: none;
				display: inline-block;
				color: @dark-blue;
				font-size: 18px;
				line-height: 18px;				
				height: 40px;
				text-transform: uppercase;
				font-family: 'Din Text Pro Medium', 'Din Display Cyrillic Medium', sans-serif;
				font-size-adjust: 0.5;
				font-style: normal;
				font-weight: normal;
				padding: 0 20px;								
			}
		}
		
		
		
		
	}
	
	
	
}




.offers-page {

	h2 {
		color: @blue;
		font-size: 22px;
		margin: 0;
		.medium-font;
	}
}

#breadcrumbs {
  	float: right;
    line-height: 17px;
    margin-top: -11px;
    /*position: relative;
    top : 2px;*/
    vertical-align: bottom;
    width: 650px;
}

@media only screen and (min-width: @max-resolution) {
	#breadcrumbs {
		display: none;
	}
}

@media only screen and (min-width: @max-resolution) {
	#breadcrumbs {
		width: 840px;
	}
}

 #breadcrumbs a {
  color : #007DC3;
  font-size : 14px;
  font-family: 'Din Text Pro Regular','Din Display Cyrillic Medium',sans-serif;
}

 #breadcrumbs a:hover {
  color : #000;
}

#map_search_dates_accommodation {
	background-color : @blue;
	float: left;
	/*height: 380px;*/
	margin-bottom : 19px;
	padding: 10px 20px 0 20px;
	width: 250px;

	legend {
		border-bottom: 1px solid #409cd0;
		color : #fff;
		height: 20px;
		line-height : 20px;
		padding-bottom : 8px;
		text-align: center;
		text-transform : uppercase;
		width : 100%;
		.font(Bold, 16px);
	}

	fieldset {
		border-bottom: 1px solid #409cd0;
		padding-bottom: 10px;
		width: 100%;
		float: left;
	}

	#mapNameSearch {
		font-size: 14px;
		padding: 5px;
		width: 155px;
		float: left;
		border: none;
		min-height: 18px;
		position: relative;
		color: #888;
		background: #fff;
		.regular-font;
	}

	.input {
		margin-top: 10px;
		position: relative;
		float: left;
		width: 100%;
		height: 30px;
		
		label {
			color: #fff;
			float: left;
			font-size: 14px;
			line-height: 30px;
			width: 85px;
			.medium-font;
		}

		select {
			color: #888;
			width: 163px;
		}
	}

	#input-dateless {
		float: left;
		margin: 5px 0px 5px;
		text-align: center;
		width: 100%;
		
		label {
			cursor: pointer;
			font-size: 14px;
			line-height: 13px;
			color: #fff;
			.medium-font;
		}		
	}

	.submit-row {
		text-align: center;

		button {
			position: relative;
			display: inline-block;
			color: #00366e;
			font-size: 18px;
			line-height: 18px;
			width: 185px;
			height: 40px;
			border: none;
			background-color: #fcb034;
			text-transform: uppercase;
			.medium-font;
			padding-left: 42px;
			padding-right: 0px;

			&:hover {
				color: #fff;
				background-color: #ff9e00;

				&:before {
					background-color: #da6c00;
				}
			}

			&:before {
				position: absolute;
				top: 0;
				bottom: 0;
				left: 0;
				padding-top: 11px;
				padding-bottom: 11px;
				padding-left: 3px;
				content: "\f002";
				font-family: 'FontAwesome', sans-serif;
				text-align: center;
				background-color: #f39700;
				width: 37px;
				text-align: center;
				vertical-align: middle;
			}
		}
	}
}

#close_map_search {
	background-color: #fcb034;
	border: none;
	color: #00366e;
	line-height: 18px;
	padding: 11px 40px;
	text-transform: uppercase;
	vertical-align: middle;
	.font(Medium, 18px);
	&:hover {
		color: #fff;
		background-color: #ff9e00;
	}
}


#map_search_container .map-type-switch {
	left: 320px;
}