/**
 * responsive.css for Stives.co.uk
 *
 * Contains media queries and fallback styles for various device widths.
 */

#page {
	width: 96.153846%;
	max-width: 86.6666em;
}

.wrap {
	width: 96.153846%;
	max-width: 83.3333em;
}

/* ---------------------------------------------------------------
 * 1. TABLET
 * CSS fallback for device width 768px or below
 * ------------------------------------------------------------ */

@media only screen and (max-width: 840px) {

	.secondary-nav,
	#search-bar,
	#callout-bar,
	#callout-bar.callout-left,
	.brand,
	.header-widget-area,
	#primary,
	#primary.full-width,
	#container,
	#sidebar,
	#sidebar.sb-left,
	.buddyPress #content,
	.three-fourth,
	.two-third,
	.one-third,
	.three-eighth,
	.full-width .three-fourth,
	.full-width .two-third,
	.full-width .one-third,
	.full-width .three-eighth,
	.three-col li,
	.full-width .three-col li {
		float: none;
		width: 100%;
		max-width: 100%;
		margin: 0 0 1.5em;
		display: block;
	}

	.brand {
		margin-bottom: 2em;
	}
	
	.brand-advert {
		position: relative;
		float: left;
		width: auto;
		max-width: 50%;
		margin-top: 5px;
		margin-right: 0px;
		margin-bottom: 0px;
		margin-left: 0px;
		padding-left: 10px;
	}

	#secondary .one-fourth,
	#secondary .one-fourth.last {
		margin-bottom: 0;
	}

	.secondary-nav,
	#callout-bar,
	#callout-bar.callout-left {
		margin-bottom: 0;
		text-align: left;
	}
	
	.secondary-nav,
	#search-bar {
		margin-bottom: 0;
		text-align: left;
		display:none;
	}

	#search-bar .searchbox {
		padding: 0;
		display:none;
	}
	
	#utility-top {
	display: none;
}

	.header-widget-area {
		text-align: left;
		margin-bottom: 0.75em;
	}

	#respond form input[type="text"],
	#respond form textarea,
	#contactform input[type="text"],
	#contactform textarea {
		max-width: 100%;
	}

	.commentlist li li {
		padding-left: 0
	}

	.secondary-nav .sec-menu,
	.primary-nav ul.nav-menu,
	.primary-nav div.nav-menu > ul {
		display: none;
	}

	.primary-nav {
		background: #fff;
		border: none;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
		display: none;
	}

	.primary-nav select {
		display: block;
	}

	.menu-drop {
		position: relative;
	}
	
.search_availability {
	border: 2px solid #FFFFFF;
	float:right;
	margin-left: 10px;
	margin-bottom: 10px;
}

/* HOME PAGE CONTENT */	

#hp_wrapper {
	width: 100%;
	text-align: center;
	display: none;
}

#hp_wrapper_responsive_tablet {
	width: 100%;
	text-align: center;
	display: inline-block;
}

#hp_wrapper_responsive_mobile {
	width: 100%;
	text-align: center;
	display: none;
}

#hp_column1 {
	width:22.9%;
	padding-right: 6px;
	padding-left: 6px;
	display: inline-block;
	vertical-align: top;
}

#hp_column2 {
	width:22.9%;
	padding-right: 6px;
	padding-left: 6px;
	display: inline-block;
	vertical-align: top;
	
}

#hp_column3 {
	width:22.9%;
	padding-right: 6px;
	padding-left: 6px;
	display: inline-block;
	vertical-align: top;
}

#hp_column4 {
	width:22.9%;
	padding-right: 6px;
	padding-left: 6px;
	display: inline-block;
	vertical-align: top;
}

#hp_column5 {
	width:22.9%;
	padding-right: 6px;
	padding-left: 6px;
	display: inline-block;
	vertical-align: top;
}

#hp_column6 {
	width:22.9%;
	padding-right: 6px;
	padding-left: 6px;
	display: inline-block;
	vertical-align: top;
}

#hp_column7 {
	width:22.9%;
	padding-right: 6px;
	padding-left: 6px;
	display: inline-block;
	vertical-align: top;
}

#hp_column8 {
	width:22.9%;
	padding-right: 6px;
	padding-left: 6px;
	display: inline-block;
	vertical-align: top;
}

#hp_title_button_blue {
	color: #FFFFFF;
	font-size: 12px;
	border: 0px solid #FFFFFF;
	background: #0077B0;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	margin-top: 122px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
	width: 100%;
	height: 20px;
}

/* ------------------------------------------------- */

#hp_category_container {
	width: 95%;
	max-height: 100%;
	margin: 0 auto; 
}

#hp_category_thumb {
	max-width: 100%;
    max-height: 100%;
	display: inline-block;
	vertical-align: middle;
}

#hp_category_container img {
	border: 0px solid #FFFFFF;
	max-width: 100%;
    max-height: 100%;
	display: inline-block;
	vertical-align: middle;
}

#hp_category_icon {
	max-width: 100%;
    max-height: 100%;
	display: inline-block;
	vertical-align: middle;
}

#hp_category_icon img {
	width: 200px;
	display: inline-block;
	vertical-align: middle;
}

#hp_category_title {
	color: #FFFFFF;
	font-size: 16px;
	border: 0px solid #FFFFFF;
	background: #0077B0;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	width: 100%;
	height: auto;
	display: inline-block;
	vertical-align: middle;
	margin-top: -26px;
	margin-bottom: 15px;
}

#hp_category_title_icon1 {
	color: #FFFFFF;
	font-size: 16px;
	border: 0px solid #FFFFFF;
	background: #0077B0;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	width: 100%;
	height: auto;
	display: inline-block;
	vertical-align: middle;
	margin-top: 0px;
	margin-bottom: 15px;
}

.hp_category_link {
	color: #FFFFFF;
	text-decoration: underline;
}

.hp_category_link:hover {
	color: #FFFFFF;
	text-decoration: none;
}

/* ADVERT CONTENT */
	
#agency_title {
	color: #000000;
	font-size: 24px;
	line-height: 24px;
}

#agency_subtitle {
	color: #000000;
	font-size: 18px;
	margin-bottom: 10px;
}

#agency_feature_container {
	background-color:#D6D6C4;
	border: 1px solid #FFFFFF;
	padding: 10px;
}

#agency_feature {
	line-height: 18px;
	margin-bottom: 5px;
}

#agency_feature_title {
	color: #34484F;
	font-size: 14px;
	margin-bottom: 2px;
	font-weight: bold;
}

#agency_feature_text {
	color: #34484F;
	font-size: 14px;
}

#head_img_advert {
	background-color: #76b0eb;
	margin-right: 0px;
	margin-left: 0px;
	height: 80px;
	margin-bottom: 0px;
	margin-top: -15px;
	padding-bottom:10px;
}

/* 24:7BOOKING SEARCH DIVS */

#search-location {
	width: auto;
	display: inline;
}

#search-arrival {
	width: 100%;
	height: 30px;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-left: 0px;
	display: inline;
}

#search-los {
	width: 100%;
	height: 30px;
	padding-top: 5px;
	padding-bottom: 5px;
	display: inline;
}

#search-party {
	width: 100%;
	height: 30px;
	padding-top: 5px;
	padding-bottom: 5px;
	display: inline;
}

#search-bedrooms {
	width: 100%;
	height: 30px;
	padding-top: 5px;
	padding-bottom: 5px;
	display: inline;
}

#search-pet {
	width: 100%;
	height: 30px;
	padding-top: 5px;
	padding-bottom: 5px;
	display: inline;
	margin-top: -15px;
}

#search-submit {
	float: left;
	width: 100%;
	margin-top: -45px;
}

#search-row {
	margin-top: 0px;
}

/* 24:7BOOKING SEARCH RESULTS PAGE */

.wp-results {

}

.wp-result {
	background-color:#FFFFFF;
	margin-bottom: 20px;
	padding: 10px;
	border: 1px solid #CCCCCC;
}

.wp-exact-match {

}

.wp-col-1 {
	width: 100%;
	display: block;
	vertical-align: top;
}

.wp-col-1 img {
	width:200px !important;
	height:150px !important;
}

.wp-col-2 {
	width: 70%;
	display: inline-block;
	vertical-align: top;
	color: #532900;
	font-size: 13px;
	line-height: 18px;
	padding-left: 0px;
	padding-right: 10px;
}

.wp-col-3 {
	width: 25%;
	display: inline-block;
	vertical-align: top;
	color: #532900;
	font-size: 13px;
	border-left: 1px solid #CCCCCC;
	padding-left: 10px;
	padding-bottom: 100px;
	margin-top: -150px;
}

.wp-col-3 button{
	margin-top: -20px;
}

.wp-description {
	margin-top: 10px;
	color: #532900;
	font-size: 12px;
	line-height: 18px;
}

.wp-col-2 h2 {
	font-size: 20px;
	margin-left: -5px;
	line-height: 22px;
}

.wp-col-2 a {
	color: #EB7810;
}

.wp-col-2 a:hover {
	color: #EB7810;
	text-decoration: underline;
}

.wp-col-3 h2 {
	font-size: 25px;
	margin-left: -5px;
}

.wp-special-offer {
	color: #0099CC;
}

.wp-phone {
	margin-top: 10px;
	color: #532900;
	font-size: 12px;
	line-height: 18px;
}

.wp-results .wp-date-warning {
	color: #9F6000;
	background-color: #FEEFB3;
	padding: 4px;
	margin-top: 0em;
	margin-bottom: -5px;
}

.wp-more-results {

}

}

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {

.search-advanced {
	display: block;
}

#search-submit {
	display:inherit;
	margin-top: 3px;
}

}


/* ---------------------------------------------------------------
 * 2. MOBILE
 * CSS fallback for device width 480px or below
 * ------------------------------------------------------------ */

@media only screen and (max-width: 600px) {

	.two-col li,
	.entry-grid {
		float: none;
		width: 100%;
		max-width: 100%;
		margin: 0 0 1.5em;
		display: inline-block;
	}

	.column,
	.full,
	.three-fourth,
	.two-third,
	.half,
	.one-third,
	.three-eighth,
	.full-width .column,
	.full-width .full,
	.full-width .three-fourth,
	.full-width .two-third,
	.full-width .half,
	.full-width .one-third,
	.full-width .three-eighth,
	.entry-list-left,
	.entry-list-right,
	.notes-left,
	.notes-right {
		float: none;
		margin: 0;
		width: 100%;
		max-width: 100%;
		display: inline-block;
		text-align: left;
	}
	
	.full-width .one-fourth,
	#secondary .one-fourth,
	#secondary .one-fourth.last,
	.one-fourth,
	.full-width .one-fourth {
		float: left;
		width: 50%;
		display: inline-block;
	}
	
	.full-width .one-fourth-ad,
	#secondary .one-fourth-ad,
	#secondary .one-fourth-ad.last,
	.one-fourth-ad,
	.full-width .one-fourth-ad {
		float: left;
		width: 100%;
		display: inline-block;
	}

	.entry-list-left {
		margin-bottom: 1.5em;
	}

	.flex-caption h1,
	.flex-caption h2,
	.entry-list h3 {
		font-size: 1.5em;
		line-height: 1.333;
		margin-bottom: 0.6666em;
	}

	ul.thumb-style {
		padding: 0;
	}

	ul.thumb-style li {
		float: none;
		width: 100%;
		margin: 0;
		padding: 0.75em 0;
		border-bottom: 1px solid #e9e9e9;
	}

	ul.thumb-style li:last-child {
		border: none;
	}

	ul.thumb-style li h4 {
		font-size: 1em;
		line-height: 1.5;
		margin: 0;
	}

	ul.thumb-style li a.rp-thumb {
		display: none;
	}

	.option-panel {
		display: none;
	}
	
	#footer {
	margin-left: 10px;
	margin-right: 10px;
}

.brand {
	max-width: 80%;
	margin: 0 0 2.25em;
}

.brand-advert {
		position: relative;
		float: left;
		width: auto;
		max-width: 80%;
		margin-top: 5px;
		margin-right: 0px;
		margin-bottom: 0px;
		margin-left: 0px;
		padding-left: 10px;
	}

#head_img {
	background-color: #FFF;
	margin-right: 0px;
	margin-left: 0px;
	height: 163px;
	background-image: url(images/banner.jpg);
	background-repeat: repeat-x;
	background-position: top;
	margin-bottom: 0px;
}

.lcp_thumbnail {
	float: left;
	width:98% !important;
	height:auto !important;
	overflow: hidden;
	clear: both;
	border: 3px solid #FFFFFF;
}

.search_availability {
	border: 2px solid #FFFFFF;
	float:left;
	margin-right: 50px;
	margin-bottom: 10px;
}

#HideText {
	display: none;
}

/* HOME PAGE CONTENT */	

#hp_wrapper_responsive_tablet {
	width: 100%;
	text-align: center;
	display: none;
}

#hp_wrapper_responsive_mobile {
	width: 100%;
	text-align: center;
	display: inline-block;
	margin-top: -40px;
}

#hp_column1 {
	width:45.4%;
	padding-right: 6px;
	padding-left: 6px;
	display: inline-block;
	vertical-align: top;
}

#hp_column2 {
	width:45.4%;
	padding-right: 6px;
	padding-left: 6px;
	display: inline-block;
	vertical-align: top;
}

#hp_title_button_blue {
	color: #FFFFFF;
	font-size: 12px;
	border: 0px solid #FFFFFF;
	background: #0077B0;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	margin-top: 110px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
	width: 100%;
	height: 20px;
}

#hp-link {
	font-size: 18px;
	color: #0099CC;
	text-align: center;
	height: 100px;
}

.hp_videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}

.hp_videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 86%;
	height: 86%;
	padding-top: 3px;
	padding-right: 4px;
	padding-bottom: 4px;
	padding-left: 3px;
	border: 1px solid #FFFFFF;
	background: #F5AD6B;
}

#hp_video_caption {
	margin-top: -20px;
	width: 86%;
}

#hp_video_link {
	color: #FFFFFF;
	font-size: 15.4px;
	border: 1px solid #FFFFFF;
	background: #0077B0;
	float: left;
	padding: 5px;
	margin-top: 5px;
	margin-bottom: 10px;
	text-align: center;
	width: 85.5%;
}

#hp_left {
	background-color: #F5AD6B;
	padding-top: 15px;
	padding-right: 15px;
	padding-bottom: 5px;
	padding-left: 15px;
	width: 100%;
	height: 280px;
	color: #532900;
	font-size: 14px;
	margin-top: -100px;
}
	
/* ADVERT CONTENT */
	
#agency_feature_container {
	background-color:#D6D6C4;
	border: 1px solid #FFFFFF;
	padding: 10px;
	margin-top: 20px;
	max-width: 100%;
}

#agency_headings {
	font-size: 20px;
	line-height: 1.2;
	margin-bottom: 0.6em;
	color: #FFFFFF;
	background-color:#8ea1bf;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 15px;
}

#agency_text {
	color: #000000;
	font-size: 14px;
	line-height: 20px;
}

.agency_button_blue {
    background: #0077b0 none repeat scroll 0 0;
    border: 1px solid #ffffff;
    color: #ffffff;
    float: left;
    font-size: 14px;
    margin: 0;
    padding: 8px;
    position: relative;
    text-align: center;
    text-decoration: underline;
    width: 94%;
}

.agency_button_orange {
    background: #f5ad6b none repeat scroll 0 0;
    border: 1px solid #ffffff;
    color: #ffffff;
    float: left;
    font-size: 14px;
    margin: 0;
	margin-top: 10px;
	margin-bottom: 10px;
    padding: 8px;
    position: relative;
    text-align: center;
    text-decoration: underline;
    width: 94%;
}

#head_img_advert {
	background-color: #76B0EB;
	margin-right: 0px;
	margin-left: 0px;
	height: 80px;
	margin-bottom: 0px;
	margin-top: -15px;
}

/* 24:7BOOKING SEARCH */

/* search form on the templates */
.search-form-padding .search {
	padding: 1em 10px 0em 10px;
	margin: 1em 10px -20px 10px;
}

#button-highlight {
	float: left;
	border: 8px solid transparent;
	border-radius: 5px 5px 5px 5px;
	background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.15);
	margin-right: 3em;
	margin-top: -65px;
	margin-left: 0px;
}

.search .help {
	top: 25px;
}
	
/* 24:7BOOKING SEARCH DIVS */

#gap-reducer {
	margin-top: -20px;
}

.search-form-padding .search {
    margin: 1em 10px -20px;
    padding: 1em 0px 0;
}

#search-location {
	width: 100%;
	float: left;
}

#search-arrival {
	width: 60%;
  /*height: 30px;*/
	padding-top: 0px;
	padding-bottom: 0px;
	float: left;
	display: inline-block;
}

#search-los {
	width: 40%;
  /*height: 30px;*/
	float: left;
	padding-top: 0px;
	padding-bottom: 0px;
	display: inline-block;
}

#search-label-hide {
	display: none;
}

#search-party {
	width: 32%;
  /*height: 30px;*/
	float: left;
	padding-top: 0px;
	padding-bottom: 0px;
	margin-right: 2px;
	display: inline-block;
}

#search-bedrooms {
	width: 45%;
  /*height: 30px;*/
	float: left;
	padding-top: 0px;
	padding-bottom: 0px;
	margin-right: 2px;
	display: inline-block;
}

#search-pet {
	width: 21%;
  /*height: 30px;*/
	float: left;
	padding-top: 0px;
	padding-bottom: 0px;
	display: inline-block;
	margin-top: 0px;
	margin-left: -5px;
}

#search-submit {
	width: 50%;
	float: right;
	margin-top: 70px;
}

#button-highlight input {
	padding: 0px 10px;
	width: 80px;
	height: 38px;
}

.search-advanced {
	width: auto;
	display: inherit;
}

#hp-content-hide {
	display: none;
}


/* 24:7BOOKING SEARCH RESULTS PAGE */

.wp-results {

}

.wp-result {
	background-color:#FFFFFF;
	margin-bottom: 20px;
	padding: 10px;
	border: 1px solid #CCCCCC;
}

.wp-exact-match {

}

.wp-pagination {
	margin: 1em 0 5em 0;
}

.wp-order_by_view {
	width: 240px;
	float: right;
	text-align: right;
	margin-top: 10px;
	margin-bottom: 10px;
}

.wp-col-1 {
	width: 100%;
	vertical-align: top;
}

.wp-col-1 img {
	width:100% !important;
	height:auto !important;
}

.wp-col-2 {
	width: 100%;
	vertical-align: top;
	color: #532900;
	font-size: 13px;
	line-height: 18px;
	padding-left: 0px;
	padding-right: 0px;
	border-right: 0px solid #CCCCCC;
}

.wp-col-3 {
	width: 100%;
	vertical-align: top;
	color: #532900;
	font-size: 13px;
	border-left: 0px solid #CCCCCC;
	border-top: 1px solid #CCCCCC;
	padding-top: 10px;
	padding-left: 0px;
	margin-top: 20px;
	text-align:center !important;
}

.wp-col-3 h2 {
	
	text-align:center !important;
}

.wp-col-3 button{
	margin-top: -20px;
}

.wp-description {
	margin-top: 10px;
	color: #532900;
	font-size: 13px;
	line-height: 18px;
}

.wp-col-2 h2 {
	font-size: 20px;
	margin-left: -5px;
	line-height: 20px;
}

.wp-col-2 a {
	color: #EB7810;
}

.wp-col-2 a:hover {
	color: #EB7810;
	text-decoration: underline;
}

.wp-col-3 h2 {
	font-size: 25px;
	margin-left: -5px;
}

.wp-special-offer {
	color: #0099CC;
}

.wp-phone {
	margin-top: 10px;
	color: #532900;
	font-size: 13px;
	line-height: 18px;
}

.wp-results .wp-date-warning {
	color: #9F6000;
	background-color: #FEEFB3;
	padding: 4px;
	margin-top: 1em;
	margin-bottom: -5px;
}

.wp-more-results {

}

}

/* ---------------------------------------------------------------
 * 3. MOBILE PORTRAIT AND LANDSCAPE
 * CSS fallback for device width 480px or below
 * ------------------------------------------------------------ */

/* Portrait */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
  
#hp_category_container {
	width: 95%;
	max-height: 100%;
	margin: 0 auto; 
}

#hp_category_thumb {
	max-width: 100%;
    max-height: 100%;
	display: inline-block;
	vertical-align: middle;
}

#hp_category_container img {
	border: 0px solid #FFFFFF;
	max-width: 100%;
    max-height: 100%;
	display: inline-block;
	vertical-align: middle;
}

#hp_category_icon {
	max-width: 100%;
    max-height: 100%;
	display: inline-block;
	vertical-align: middle;
}

#hp_category_icon img {
	width: 200px;
	display: inline-block;
	vertical-align: middle;
}

#hp_category_title {
	color: #FFFFFF;
	font-size: 14px;
	border: 0px solid #FFFFFF;
	background: #0077B0;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	width: 100%;
	height: auto;
	display: inline-block;
	vertical-align: middle;
	margin-top: -40px;
	margin-bottom: 15px;
}

#hp_category_title_icon1 {
	color: #FFFFFF;
	font-size: 14px;
	border: 0px solid #FFFFFF;
	background: #0077B0;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	width: 100%;
	height: auto;
	display: inline-block;
	vertical-align: middle;
	margin-top: 0px;
	margin-bottom: 15px;
}

.hp_category_link {
	color: #FFFFFF;
	text-decoration: underline;
	z-index: 99;
}

.hp_category_link:hover {
	color: #FFFFFF;
	text-decoration: none;
}

}

/* Landscape */

@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
  
#hp_category_container {
	width: 200px;
	max-height: 100%;
	margin: 0 auto; 
}

#hp_category_thumb {
	max-width: 200px;
    max-height: 150px;
	display: inline-block;
	vertical-align: middle;
}

#hp_category_container img {
	border: 0px solid #FFFFFF;
	max-width: 200px;
    max-height: 150px;
	display: inline-block;
	vertical-align: middle;
}

#hp_category_icon {
	max-width: 150px;
    max-height: 150px;
	display: inline-block;
	vertical-align: middle;
}

#hp_category_icon img {
	width: 200px;
	display: inline-block;
	vertical-align: middle;
}

#hp_category_title {
	color: #FFFFFF;
	font-size: 16px;
	border: 0px solid #FFFFFF;
	background: #0077B0;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	width: 200px;
	height: auto;
	display: inline-block;
	vertical-align: middle;
	margin-top: 5px;
	margin-bottom: 15px;
}

#hp_category_title_icon1 {
	color: #FFFFFF;
	font-size: 16px;
	border: 0px solid #FFFFFF;
	background: #0077B0;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	width: 200px;
	height: auto;
	display: inline-block;
	vertical-align: middle;
	margin-top: 5px;
	margin-bottom: 15px;
}

.hp_category_link {
	color: #FFFFFF;
	text-decoration: underline;
}

.hp_category_link:hover {
	color: #FFFFFF;
	text-decoration: none;
}

}

/* ----------- Galaxy ----------- */

/* Portrait and Landscape */
@media screen 
  and (device-width: 320px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 2) {

#hp_category_title {
	color: #FFFFFF;
	font-size: 12px;
	border: 0px solid #FFFFFF;
	background: #0077B0;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	width: 100%;
	height: auto;
	display: inline-block;
	vertical-align: middle;
	margin-top: 15px;
	margin-bottom: 15px;
}

}


/* ----------- iPhone 6 ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) { 

#hp_category_title {
	color: #FFFFFF;
	font-size: 12px;
	border: 0px solid #FFFFFF;
	background: #0077B0;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	width: 100%;
	height: auto;
	display: inline-block;
	vertical-align: middle;
	margin-top: -27px;
	margin-bottom: 15px;
}

#hp_category_title_0 {
	color: #FFFFFF;
	font-size: 12px;
	border: 0px solid #FFFFFF;
	background: #0077B0;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	width: 100%;
	height: 200px;
	display: inline-block;
	vertical-align: middle;
}

}

/* Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) { 

#hp_category_title {
	color: #FFFFFF;
	font-size: 12px;
	border: 0px solid #FFFFFF;
	background: #0077B0;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	width: 100%;
	height: auto;
	display: inline-block;
	vertical-align: middle;
	margin-top: -47px;
	margin-bottom: 15px;
}

}

/* ----------- iPhone 6+ ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3) { 

#hp_category_title {
	color: #FFFFFF;
	font-size: 12px;
	border: 0px solid #FFFFFF;
	background: #0077B0;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	width: 100%;
	height: auto;
	display: inline-block;
	vertical-align: middle;
	margin-top: -14px;
	margin-bottom: 15px;
}

}

/* Landscape */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 

#hp_category_title {
	color: #FFFFFF;
	font-size: 12px;
	border: 0px solid #FFFFFF;
	background: #0077B0;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	width: 100%;
	height: auto;
	display: inline-block;
	vertical-align: middle;
	margin-top: -36px;
	margin-bottom: 15px;
}

}

/* HOME PAGE CATEGORIES */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 667px)  { 
  
