/* ================================================================== */
/* ================================================================== */
/* ======================== SITE SPECIFIC =========================== */
/* ================================================================== */
/* ================================================================== */

.content a{
	color:#69904d;
}
.content a:hover{
	color:#79b052;
}
.content a.submit ,
.content a.buttona ,
.content a.buttonb ,
.content a.buttonc {
	color:#FFF !important;
}
nav.top_nav li.active > a{
	color:#79b052;
}
nav.subnav ul li.active>a{
	color:#79b052;
}

#logo{
	width:180px;
}
#logo img{
	position:relative;
	top:-2px;
}

.sayt_result_field.ret_val_nickname{
	font-size:80%;
	margin-top:-2px;
	color:#AAA;
	text-transform:capitalize;
}


.horse_page{
	}
	.horse_back{
		position:relative;
		top:-20px;
	}
	.horse_heading{
		border-bottom:1px dotted #CCC;
		margin-bottom:30px;
		position:relative;
		}
		.horse_head_image{
			border-radius:30px;
			position:absolute;
			top:2px;
			left:0px;
		}
		.horse_h1{
			margin-bottom:5px;
		}
		.horse_head_image +
		.horse_head_details{
			padding-left:70px;
		}
		.horse_sdesc{
			margin-bottom:20px;
		}
		.horse_notowned_note{
			background:#fbf6e7;
			padding:10px;
			padding-left:35px;
			border:1px dotted #dfc780;
			border-radius:5px;
			margin-bottom:20px;
			margin-top:-10px;
			position:relative;
		}
		.horse_notowned_note i{
			color:#dfc780;
			font-size:120%;
			vertical-align:center;
			margin-right:5px;
			position:absolute;
			top:12px;
			left:12px;
		}
	.horse_parents{
			border:1px dotted #CCC;
			border-width:1px 0;
			padding:5px 0 10px;
		}
		.horse_parent{
			display:inline-block;
			width:50%;
		}
		.horse_parent_title{
			display:block;
			font-size:90%;
			color:#AAA;
			margin-bottom:3px;
		}
		.horse_parent_name{
			line-height:30px;
		}
		.horse_parent_name *{
			display:inline-block;
			vertical-align:middle
		}
		.horse_parent_title,
		.horse_parent_name{
			padding:0 20px;
		}
		.horse_parent_name img{
			margin-right:20px;
		}
	.horse_mainimage{
		margin-bottom:10px;
		display:block;
	}
	.horse_media{
		}
		.horse_media_padding{
			padding:0 30px;
		}
		.horse_media_padding h2{
			font-size:120%;
		}
	.horse_foals{
		}
		.foal{
			position:relative;
			padding-left:70px;
			}
		.foal+
		.foal{
			margin-top:20px;
			}
			.foal_image{
				display:block;
				height:50px;
				width:50px;
				background:no-repeat center center #EEE;
				background-size:cover;
				border-radius:3px;
				box-shadow:inset 1px 1px 3px rgba(0,0,0,0.2);
				position:absolute;
				top:0;
				left:0;
			}
			.foal_details{
				display:block;
				}
				.foal_name{
					font-size:120%;
				}
	.horse_news{
		}
		.horse_news_stories{
			}
			.horse_news_story{
				position:relative;
				padding-left:70px;
				}
			.horse_news_story +
			.horse_news_story{
				margin-top:20px;
				}
				.horse_news_story_image{
					display:inline-block;
					height:50px;
					width:50px;
					background:no-repeat center center;
					background-size:cover;
					position:absolute;
					border-radius:3px;
					box-shadow:inset 1px 1px 3px rgba(0,0,0,0.2);
					top:0;
					left:0;
				}
				.horse_story_details{
					position:relative;
					top:-5px;
					}
					.horse_story_title{
						display:block;
						padding:5px;
						margin:0 -5px -5px;
						font-size:120%;
						}
					.horse_story_date{
						display:block;
						font-size:90%;
						color:#aaa;
						}
				
.horse_list.resp_2col{
	text-align:left;
}
.horse_list .col{
	margin-bottom:20px;
	}
.horse_list_horse{
	display:block;
	position:relative;
	padding-left:100px;
	min-height:100px;
	line-height:100px;
	}
.horse_list_horse+
.horse_list_horse{
	margin-top:30px;
	}
	.horse_list_image{
		display:block;
		height:100px;
		width:100px;
		position:absolute;
		top:0;
		left:0;
	}
	.horse_list_image img{
		border-radius:5px;
	}
	.horse_list_horse_details{
		display:inline-block;
		vertical-align:middle;
		line-height:140%;
		padding-left:20px;
		}
		.horse_list_title{
		}
		.horse_list_description{
			padding-right:20px;
		}
		
.more-button{
	background:#fafafa;
	background:rgba(0,0,0,0.05);
	text-decoration:none !important;
	padding:12px 20px;
	border:1px solid #CCC;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	font-weight:600;
}
.more-button:hover{
	border-color:#AAA;
	background:#EEE;
	background:rgba(0,0,0,0.1);
}
		
.horsenews_tiles{
	padding:5px 0 0;
}
.horsenews_tile{
	padding:0 0 0 200px;
	position:relative;
	min-height:190px;
	}
	.horsenews_story_image{
		display:inline-block;
		height:150px;
		width:200px;
		position:absolute;
		top:20px;
		left:0;
		background:no-repeat center center #EEE;
		background-size:cover;
		border-radius:5px;
		-moz-border-radius:5px;
		-webkit-border-radius:5px;
	}
	.horsenews_story_details{
		padding:20px 0 0 20px;
		}
		.horsenews_story_title{
			font-size:150%;
		}
		.horsenews_story_readmore{
			margin-top:10px;
			display:block;
		}
	.horsenews_banner{
		height:200px;
		background:no-repeat center center #EEE;
		background-size:cover;
	}
	.horsenews_tile_written{
		font-size:90%;
		margin:3px 0 8px;
		color:#AAA;
	}
	.pg_news h1 span{
		font-size:40%;
		color:#AAA;
		font-weight:normal;
		margin-left:10px;
		letter-spacing:0;
	}
	
@media all and (max-width: 550px){
	
	.pg_news .page_padding{
		padding:20px 20px 50px;
		background:#f8f8f8;
	}
	.horsenews_tile{
		padding:0px;
		border:1px solid #EEE;
		border-radius:5px;
		overflow:hidden;
		background:#FFF;
	}
	.horsenews_tile + .horsenews_tile{
		margin-top:30px;
	}
	.horsenews_story_image{
		display:block;
		position:static;
		width:auto;
	}
	.horsenews_story_details{
		padding:20px;
		}
	.horsenews_story_readmore{
		text-align:right;
	}
}

.horsetile{
	line-height:80px;
	}
	.horsetile_image{
		vertical-align:middle;
		height:80px;
		width:80px;
		display:inline-block;
		margin-right:10px;
	}
	.horsetile_details{
		vertical-align:middle;
		display:inline-block;
		line-height:150%;
	}


	
.horsenews_box{
}



.images_box{
		line-height:0;
		margin-bottom:30px;
	}
	.horseimages_tile{
		display:inline-block;
		width:20%;
		padding:5px;
		padding-bottom:20%;
		position:relative;
	}
	.horseimages_image{
		display:block;
		position:absolute;
		top:5px;
		left:5px;
		right:5px;
		bottom:5px;
		background:no-repeat center center #AAA;
		background-size:cover;
		border-radius:5px;
		-moz-border-radius:5px;
		-webkit-border-radius:5px;
	}
	.horseimages_image:hover{
		opacity:0.9;
		box-shadow:1px 1px 3px rgba(0,0,0,0.1);
	}
	@media all and (max-width: 550px){
		.horseimages_tile{
			padding-bottom:50%;
			width:50%;
		}
	}

#horsemedia_gallery{
	background:#111;
	box-shadow:inset 0 0 30px #000;
}
#horsemedia_gallery_container{
	max-width:1300px;
	padding:50px 20px 60px;
	margin:0 auto;
}
#horsemedia_gallery_intro{
	padding-bottom:30px;
}
#horsemedia_gallery_intro h1{
	color:#444;
	font-weight:normal;
	font-size:300%;
	margin:10px 0 10px;
}
	
#gallery_image_box{
		text-align:left;
	}
	#gallery_image_box .col {
		padding:5px;
	}
	#gallery_image_box .col a{
		display:block;
		position:relative;
		overflow:hidden;
		background:#FFF;
		line-height:0;
		padding-bottom:70%;
		overflow:hidden;
		position:relative;
		background:#111;
		border:1px solid #111;
		border-radius:3px;
	}
	#gallery_image_box .col a:hover img{
		opacity:0.9;
	}
	#gallery_image_box .col img{
		width:100%;
		box-shadow:inset 1px 1px 3px rgba(0,0,0,0.5);
		position:absolute;
	}
	#gallery_image_box .gallery_image_title{
		position:absolute;
		bottom:0;
		left:0;
		right:0;
		padding:15px;
		color:#FFF;
		background:#000;
		background:rgba(0,0,0,0.5);
		line-height:120%;
		font-size:13px;
	}
	#gallery_image_box .col a:hover .gallery_image_title{
		background:rgba(0,0,0,0.9);
	}
	
#imageviewer_background{
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background:#000;
	background:rgba(0,0,0,0.89);
	z-index:11000;
	}
	#imageviewer_holder{
		position:fixed;
		top:0;
		left:0;
		right:0;
		bottom:0;
		z-index:11001;
		line-height:100%;
		margin:0 auto;
		max-width:980px;
		overflow:hidden;
	}
	#imageviewer_content{
		line-height:100%;
	}
	#imageviewer_content{
		position:absolute;
		top:60px;
		left:20px;
		bottom:60px;
		right:20px;
	}
	#imageviewer_mainimage_holder{
		position:absolute;
		top:0;
		left:0;
		right:0;
		bottom:0;
	}
	#imageviewer_mainimage{
		position:absolute;
		top:0px;
		left:0;
		right:0;
		bottom:0;
		background:no-repeat center center ;
		background-size:contain;
	}
	#imageviewer_loader{
		background:url('images/site/popuploader.gif') no-repeat center center rgba(0,0,0,0.9);
		height:50px;
		width:50px;
		margin-left:-25px;
		margin-top:-25px;
		position:absolute;
		top:50%;
		left:50%;
		opacity:0.5;
		border-radius:25px;
		z-index:11001;
	}
	#imageviewer_mainimage_holder .mainimage_title{
		position:fixed;
		top:0;
		left:0;
		right:0;
		padding:0 50px;
		height:50px;
		line-height:50px;
		color:#FFF;
		font-size:120%;
		font-weight:600;
		z-index:11015;
	}
	#imageviewer_mainimage_holder .mainimage_title span{
		display:inline-block;
		vertical-align:middle;
		line-height:120%;
	}
	#imageviewer_mainimage_holder .mainimage_horses{
		position:fixed;
		bottom:5px;
		left:0;
		right:0;
		padding:0 50px;
		line-height:50px;
		color:#AAA;
		font-size:90%;
		z-index:11015;
	}
	#imageviewer_mainimage_holder .mainimage_horses a{
		vertical-align:middle;
		display:inline-block;
		padding:5px;
		line-height:40px;
		padding:0 10px;
		margin-left:5px;
		white-space:nowrap;
		text-align:left;
	}
	#imageviewer_mainimage_holder .mainimage_horses .horsesiniamge_intro{
		line-height:100%;
		display:none;
	}
	#imageviewer_mainimage_holder .mainimage_horses a span{
		white-space:normal;
		vertical-align:middle;
		display:inline-block;
		line-height:100%;
	}
	#imageviewer_mainimage_holder .mainimage_horses a:hover{
		background:#222;
		border-radius:5px;
		text-decoration:none;
	}
	#imageviewer_mainimage_holder .mainimage_horses img{
		vertical-align:middle;
		margin-right:10px;
		width:30px;
		border-radius:15px;
	}
	#imageviewer_exit,
	#imageviewer_next,
	#imageviewer_prev{
		position:fixed;
		top:0;
		bottom:0;
		width:100px;
		color:#FFF;
		z-index:11010;
	}
	#imageviewer_prev{
	}
	#imageviewer_exit{
		font-size:150%;
		right:0px;
		top:0px;
		bottom:auto;
		height:50px;
		text-align:center;
		line-height:50px;
		z-index:11020;
	}
	#imageviewer_exit:hover{
		cursor:pointer;
		background:rgba(0,0,0,0.5);
	}
	#imageviewer_next:hover,
	#imageviewer_prev:hover{
		background:rgba(0,0,0,0.5);
		cursor:pointer;
	}
	#imageviewer_next i,
	#imageviewer_prev i{
		position:absolute;
		top:50%;
		margin-top:-50px;
		line-height:100px;
		color:#EEE;
		font-size:40px;
		text-align:center;
		right:0;
		left:0;
	}
	#imageviewer_next:hover i,
	#imageviewer_prev:hover i{
		color:#FFF;
	}
	#imageviewer_next{
		right:0;
	}
	#imageviewer_prev{
		left:0;
	}
@media all and (max-width: 550px){
	
	#imageviewer_mainimage_holder .mainimage_title{
		font-size:90%;
	}
	#imageviewer_exit,
	#imageviewer_next,
	#imageviewer_prev{
		width:50px;
	}
}
	
.stable_top_sections{
	padding:180px 10px 0;
	background:url('http://loguestown2.byali.co.uk/images/site/barns_cover.jpg') no-repeat center center #EEE;
	background-size:cover;
}
.stable_top_sections a{
	background:#f5f5f5;
	background:rgba(255,255,255,0.9);
	display:inline-block;
	padding:8px 15px;
	margin-top:10px;
	border:1px solid #FFF;
	margin-bottom:-1px;
}
.stable_top_sections a.forsale{
	color:red;
}
.stable_top_sections a.active{
	background:#FFF;
	text-decoration:none !important;
	color:#222;
	cursor:default;
}

.stockindex_description{
	padding-bottom:30px;
	margin-bottom:20px;
	border-bottom:1px dotted #CCC;
}
.nonefound{
	text-align:center;
	color:#AAA;
	font-size:90%;
	display:block;
	padding:20px;
}
.topfilters{
	margin-bottom:30px;
	}
	.topfilters_title{
		margin-right:10px;
		color:#AAA;
	}
	.topfilters ul,
	.topfilters li{
		display:inline-block;
		padding:0;
		margin:0;
		}
		.topfilters li{
			margin-right:5px;
			margin-top:5px;
			}
			.topfilters a{
				display:block;
				padding:7px 10px;
				border-radius:4px;
				border:1px solid #CCC;
				}
			.topfilters a:hover{
				text-decoration:none;
				}
			.topfilters li.active a{
				border-color:#AAA;
				background:#f5f5f5;
				}
				
.horse_forsale{
	border:1px solid #CCC;
	margin-bottom:50px;
	box-shadow:1px 1px 3px rgba(0,0,0,0.1);
	position:relative;
	background:#fafafa;
}
.horse_forsale.witharrow:after, .horse_forsale.witharrow:before {
	top: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.horse_forsale.witharrow:after {
	border-color: rgba(245, 245, 245, 0);
	border-top-color: #fafafa;
	border-width: 10px;
	left: 50%;
	margin-left: -10px;
}
.horse_forsale.witharrow:before {
	border-color: rgba(204, 204, 204, 0);
	border-top-color: #cccccc;
	border-width: 11px;
	left: 50%;
	margin-left: -11px;
}

.horse_forsale_image{
	position:absolute;
	top:0;
	left:0;
	bottom:0;
	width:40%;
	background:no-repeat center center #EEE;
	background-size:cover;
	cursor:pointer;
}
.horse_forsale_info{
	padding:30px;
}
.horse_forsale_info h1{
	font-size:30px;
}
.horse_forsale_info h1 i{
	margin-right:10px;
	color:#AAA;
	font-size:90%;
}
.horse_forsale_image + .horse_forsale_info{
	padding-left:45%;
}


.en_cpmainholder_padding form{
	padding:20px;
	border:1px solid #CCC;
	margin-bottom:100px;
	background:#f5f5f5;
}


@media all and (max-width: 550px){
	.horse_forsale_image{
		position:static;
		height:200px;
		width:auto;
	}
	
	.horse_forsale_image + .horse_forsale_info{
		padding-left:30px;
	}
	
	.forsale_request_row{
		text-align:center;
	}
	
}

.horse_request_preview{
		display:block;
		margin:20px auto 0;
		width:150px;
	}
	.horse_request_preview_image{
		display:block;
		height:150px;
		border-radius:75px;
		text-align:center;
		border:5px solid #FFF;
		box-shadow:0 0 1px 1px #CCC;
		}
	.horse_request_preview_text{
			display:block;
			padding-top:20px;
			text-align:center;
		}
		
.home_bignews_link{
	display:block;
	position:relative;
}
.home_bignews_box{
	display:block;
	padding:70px 0;
	line-height:0;
	position:relative;
	z-index:15;
}

.pg_ .banner{
	height:500px;
	background-color:#DDD;
}

.newsbanner{
	background:no-repeat center center #222;
	background-size:cover;
	box-shadow:0 0 5px 0px #rgba(0,0,0,0.3);
}
.home_bignews_intro{
	display:inline-block;
	color:#AAA;
	padding:5px 10px 8px;
	text-transform:uppercase;
	font-size:12px;
	position:relative;
	line-height:100%;
}
.home_bignews_text_row{
	display:block;
}
.home_bignews_text{
	display:inline-block;
	color:#FFF;
	padding:6px 10px 8px;
	font-size:230%;
	line-height:100%;
}
.home_bignews_cover{
	background:rgba(0,0,0,0.5);
	position:absolute;
	color:#aaa;
	left:0;
	top:0;
	right:0;
	bottom:0;
	z-index:5;
	-webkit-transition: background 0.3s ease;                  
	-moz-transition: background 0.3s ease;                 
	-o-transition: background 0.3s ease;   
	-ms-transition: background 0.3s ease;          
	transition: background 0.3s ease;
}

.pg_ .newsbanner:hover .home_bignews_cover{
	background:rgba(0,0,0,0.6);
}
.home_bignews_text i{
	color:#AAA;
	margin-left:5px;
	font-size:70%;
	-webkit-transition: all 0.3s ease;                  
	-moz-transition: all 0.3s ease;                 
	-o-transition: all 0.3s ease;   
	-ms-transition: all 0.3s ease;          
	transition: all 0.3s ease;
}
.home_bignews_box:hover i{
	color:#999;
	margin-left:15px;
}
.home_bignews_date{
	display:inline-block;
	padding:4px 10px 5px;
	font-size:13px;
	line-height:100%;
	color:#AAA;
}

.horse_images {
	line-height:0;
}
.horse_images a{
	display:inline-block;
	line-height:80px;
	border:1px solid #FFF;
}
.horse_images a img{
	vertical-align:middle;
}

.header_pad{
	position:relative;
}
.social-links{
	position:absolute;
	top:0;
	right:0;
	display:block;
}
.social-links a{
	display:inline-block;
	line-height:55px;
	padding:0 20px;
	color:#AAA;
	-webkit-transition: color 0.3s ease;                  
	-moz-transition: color 0.3s ease;                 
	-o-transition: color 0.3s ease;   
	-ms-transition: color 0.3s ease;          
	transition: color 0.3s ease;
}
.social-links a i{
	font-size:135%;
}
.social-links a:hover{
	background:#EEE;
	color:#222;
}
@media all and (max-width: 800px){
	.social-links{
		display:none;
	}
}
@media all and (max-width: 700px){
	.social-links{
		display:block;
		position:absolute;
		right:50px;
	}
}