/* Large desktop */
@media (min-width: 1200px) { 
	#header #nav > ul li {width:13.6%;}
	#header #nav > ul li:nth-child(3) {margin-right:170px; }
	#header #nav > ul li:nth-child(3) {width:14%; }

	#elredall_banner .caption { top:60px; }
	#elredall_banner .flex-direction-nav a { top:200px; }
	/* CASES */
	.menuCasa { width:341px; }
	/* .single-is_casa .galeriaCasa a { width:25%;} */

	.single-is_casa .nomsCasa { width: 50%; }
}
 
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) { 

	#header { height:auto; padding-bottom: 0 !important; }
	.language_switcher .segueix { display: none; }
	.container + .site_container { margin-top: 50px !important; }
	#logoContainer { top:-80px; position: absolute; }
	#header #nav { position:relative; margin-top: 70px; }
	#header #nav > ul { padding: 0; }
	#header #nav > ul li:nth-child(3) { margin-right: 0; border-right: 1px solid #D8D8D8; }
	#header #nav > ul li:nth-child(4) { width: 19%; }
	#header #nav > ul li { width:15.8%; }
	#header #nav > ul li a { font-size: 12px; }

	#elredall_banner .flex-direction-nav a { top:140px; }
	#elredall_banner .flex-direction-nav .flex-next { right:10px; }
	#elredall_banner .flex-direction-nav .flex-prev { left:10px; }
	#elredall_banner .caption { background:#532d1d; height:180px; border: 6px solid #1C1D1C; padding: 2px;  }
	#elredall_banner .caption .caption-body { border:2px solid #1C1D1C; height:176px; }


	/* Reserves */
	.mgl_reserves .title { margin: -55px auto 0 !important; }	
	.mgl_reserves h3 { line-height: 18px; }
	.mgl_reserves label { float:none; width: 100%; clear: both; }
	.mgl_reserves input[type="text"], .mgl_reserves select { width: 100%; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; height: 32px; }
	.mgl_reserves .xxx_date_box button { top:32px; }

	/* CASES */
	.single-is_casa .casa-cont > .span8 { width: 100%; clear: both; float: none; margin-left: 0 !important; }
}
 
/* Landscape phone to portrait tablet */
@media (max-width: 767px) { 

	#header { height:auto; }
	#header #nav { position:relative; margin-top: 70px; }
	#header #nav > ul { padding: 0; }
	#header #nav > ul li:nth-child(3) { margin-right: 0; border-right: 1px solid #D8D8D8; }
	#header #nav > ul li:nth-child(4) { width: 19%; }
	#header #nav > ul li { width:15.8%; }
	#header #nav > ul li a { font-size: 12px; }

	#elredall_banner .flex-direction-nav a { top:50%; }
	#elredall_banner .flex-direction-nav .flex-next { right:10px; }
	#elredall_banner .flex-direction-nav .flex-prev { left:10px; }
	#elredall_banner .caption { background:#532d1d; border: 6px solid #1C1D1C; padding: 2px;  }

	/* CASES */

	.single-is_casa .casa-cont > .span8 { width: 100%; clear: both; float: none; margin-left: 0 !important; }
	
}
 
/* Landscape phones and down */
@media (max-width: 480px) { 

	body { padding: 0 10px !important; }

	#header { height:auto; }
	#logoContainer { border: none; box-shadow: none; top: 0; }
	#logoContainer .logo { border:none;  }

	.segueix { display: none; }
	#header #nav { position:relative; margin-top: 0; min-height: 110px; }
	#header #nav > ul li {width:50%; border:none !important; float: left; margin-bottom: 20px;}
	#header #nav > ul li:nth-child(2) { margin-right: 0; float: right; }
	#header #nav li a { height:auto; text-align:center; height: auto; }
	#nav li a span { display:none; }
	#elredall_banner .caption { top:auto; bottom:20px; width: 100%; box-sizing:content-box;	-webkit-box-sizing:border-box; right: 0; border:none; padding: 0; }

	#elredall_banner .caption .slide_body { display: none; }
	#elredall_banner .caption { height: auto; }
	#elredall_banner .caption .caption-body { height:auto; }
	#elredall_banner .caption .btn { position: relative; }

	/* CASES */

	.cases .is_casa { float:none !important; clear: both; width: 100% !important; }

	/* SINGLE CASA */
	.single-is_casa .nomsCasa li { float:none !important; clear: both; width: 100% !important; margin-bottom: 10px; }
	.ui-datepicker-multi-3 .ui-datepicker-group { width:100% !important; }
	#serveis.section-container { display: none; }

	.mgl_infoCases_widget { text-align: center; }
	.mgl_infoCases_widget .row-fluid.header { text-align: center; }


	/* Reserves */
	#loader .loading .loading_text { width: 90% !important; }
	.mgl_reserves .mgl_reserves_widget { padding: 20px 12px 0 !important; }
	.mgl_reserves label { width: 100%; }
	.mgl_reserves input[type="text"], .mgl_reserves select { width: 100%; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; height: 32px; }
	.xxx_date_box button { top: 32px; }

	.xxx_result { text-align: center; }
	.xxx_result .xxx_booking_item { width: 100% !important; float: none !important; }
	.xxx_result .xxx_booking_item .xxx_image, .xxx_result .xxx_booking_item .xxx_text, .xxx_result .xxx_pricing  {
		width: 100% !important; clear: both !important; float: none !important;
	 }
	.xxx_result .xxx_booking_item .xxx_image img { width: 100%; }
	.xxx_result ins { display: block; text-align: center; margin-bottom: 10px; }
	.xxx_avai .xxx_button.xxx_book, .xxx_avai #xxx_button_pay, .xxx_avai .xxx_pay_button { margin-bottom: 10px; }
	.xxx_avai label { width: 100% !important; float: none !important; clear: both !important; }
	.xxx_pnr_details .xxx_form_element { margin-bottom: 0 !important; }
}

@media (max-width: 355px) { 
	.mgl_reserves .title { margin: -55px auto 0 !important; }
}

@media (min-width: 481px) and (max-width: 766px) { 
	#elredall_banner .caption { height:180px;  }
	#elredall_banner .caption .caption-body { border:2px solid #1C1D1C; height:176px; }

	/* Reserves */
	.mgl_reserves .title { margin: -55px auto 0 !important; }

}