/* Home.css for the landing page template only */

#hometiles {
	overflow:auto;
	margin:1em auto;
}

#hometiles a {
	text-decoration: none;
}

#centrecolumn {
	width: auto;
	padding: 0 10px;
}

.container.homebox {
	margin-bottom:3px;
}

.relatedbox.homebox {
	position:relative;
	height: 171px;
	padding:2px;
	background-position:105% 190%;
	width:253px;
	float:none;
	margin-right:3px;
	overflow:hidden;
}

.relatedbox.homebox a {
	color:#fff;
}

.relatedbox.homebox a:hover {
	text-decoration: none;
}

.relatedbox.homebox h2 {
	padding:3px 0 7px 0;
	font-size:1.375em;
}
.boxsummary{
	border-bottom:1px solid #fff;
	bottom:20px;
	left:10px;
	padding-bottom:2px;
	position:absolute;
}
.relatedbox.homebox li {
	margin-bottom:7px;
}

.relatedbox.homebox p {
	padding:0 56px 7px 7px;
	margin:0.5em 0;
}

.relatedbox-icon {
	position:absolute;
	right:7px;
	bottom:7px;
}

.relatedbox.double legend {
	display:none;
}
.relatedbox.double fieldset {
	border:0;
}
.relatedbox.double input {
}

.homebox:hover .colourbox-icon {
	display:none;
}

#homeboxrotator {
	position:relative;
	height: 220px;
	background-position:105% 190%;
	width:auto;
	float:none;
	margin-bottom:7px;
	margin-right:7px;
	overflow:hidden;
}

#homeboxrotator-content {
	position:absolute;
	height:70%;
	width:50%;
	top:0;
	left:0;
	overflow:hidden;
	min-width:200px;
	z-index: 6;
}

#homeboxrotator-content .item {
	display:none;
} #homeboxrotator-content .item.selected {
	display:block;
}

#homeboxrotator-content img {
	display:none;
}

#homeboxrotator-content .item h3 {
	position:relative;
	font-size:1.375em;
	line-height: 1em;
	padding:10px 0 5px 10px;
}

#homeboxrotator-content .item p {
	position:relative;
	margin:0;
	padding:0 5px 5px 10px;
}

#homeboxrotator a {
	color:#fff;
}

#homeboxrotator-controls {
	position:absolute;
	height:30%;
	width:50%;
	left:0;
	bottom:0;
	min-width:200px;
	z-index: 6;
}

#homeboxrotator-controls .controls {
	display:none;
	position:absolute;
	top:0;
	left:10px;
}

#homeboxrotator-controls .controls a {
	background-image: url('../../../images/pagination-unselected.png');
	background-repeat: no-repeat;
	float:left;
	display:block;
	width:14px;
	height:14px;
	margin-right:4px;
}

#homeboxrotator-controls .controls a.selected {
	background-image: url('../../../images/pagination-selected.png');
	display:block;
	width:14px;
	height:14px;
	margin:0 2px;
	margin-right:4px;
}

#homeboxrotator-controls .morenewslink {
	position:absolute;
	bottom: 10px;
	left:10px;
}

#homeboxrotator-background {
	height:100%;
	width:100%;
}

#homeboxrotator-foreground {
	height:100%;
	width:100%;
}

#homeboxrotator-foreground img {
	position:absolute;
	width:auto;
	min-width:100%;
	height:auto;
	min-height:100%;
	background-repeat: repeat;
}

.alpha60 {
    /* RGBa with 0.6 opacity */
    background-color: rgba(0, 0, 0, 0.5);
    /* For IE 8*/
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#55000000', endColorstr='#55000000');
}


/*** Smart Phone ***/
@media all and (min-width: 480px) {
  /* Currently Not Used */
}

/*** Tablet ***/
@media all and (min-width: 720px) {
	#centrecolumn {
		width:707px;
		padding: 0;
	}
	#maincolumn {
		overflow:visible;
	}

	.relatedbox.homebox {
		width:208px;
		float:left;
		background-position:135% 190%;
	}

	.relatedbox.double {
		width:442px;
		background-position:105% 190%;
	}

	#homeboxrotator{
		width:462px;
		float:left;
	}

	#postcodeform {
		margin:65px 0 0.5em 0;
	}

	#postcodequery {
		width:245px;
	}

	#postcodequery.ui-autocomplete-loading {
		background: white url('../../../images/ui-anim_basic_16x16.gif') 260px center no-repeat;
	}
}

/*** Desktop ***/
@media all and (min-width: 1024px){
	#centrecolumn, #centrecolumn.wide {
		width:967px;
		padding: 0;
	}

	.relatedbox.homebox {
		width:222px;
	}

	.relatedbox.double {
		width:442px;
	}

	#homeboxrotator-content {
		width:53%;
	}

	#homeboxrotator-controls {
		width:53%;
	}
}