/* --------------------------------------------------
file: main.css
website: www.calliaghstownridingcentre.com
version: 1.0
created: 02/01/07
author: Benoit Brochier
contact: http://www.webmedia.ie
---------------------------------------------------*/



/* COLOURS ---------------------

background light blue: #75A8D2
background dark blue: #355E88
footer liner blue: #089DEA
footer text blue: #1F4574
footer footBann blue: #B1CAE1
menu BG Blue: #1F4574

title box blue: #8EB2D4

*/


/* FONTS -------------------------------------------- */

body {
font-family: Century Gothic, Trebuchet MS, Verdana, Arial, sans-serif;
font-size:12px;
}

html {
padding:0;
margin:0;
}

p {
padding:0 6px 0 0;
margin:0;
}

h1 {
margin:0;
padding:0;
text-indent:-9000px;
font-size: 0px;
}

h2 {
margin:0 0 10px 0;
padding:0 0 0 8px;
font-size:14px;
font-weight:bold;
color:#1F4574;
background-color:#8EB2D4;
background-image:url(images/titleLeft.jpg);
background-repeat:no-repeat;
background-position:left;
display:block;
height:21px;
line-height:21px;
width:657px;
float:left;
}

h3 {


}

.endTitle {
height:21px;
width:4px;
background-image:url(images/titleRight.jpg);
float:left;
}


/* LINKS -------------------------------------------- */

a {
color:#4A80B3;
text-decoration:underline;
}

a:hover {
text-decoration:none;
}

.noBorder {
margin:0;
padding:0;
border:none;
}

.linkFooter {
color:#1F4574;
text-decoration:underline;
}

.linkFooter:hover {
text-decoration:none;
}

.linkWebmedia {
color:#089DEA;
text-decoration:none;
}

.linkWebmedia:hover {
text-decoration:underline;
}

.linkSitemap {
color:#1F4574;
text-decoration:underline;
font-size:11px;
}

.side {
text-decoration:none;
margin:0 0 10px 0;
padding:0 0 0 8px;
font-size:14px;
font-weight:bold;
color:#1F4574;
background-image:url(images/subMenuBG.jpg);
display:block;
height:21px;
line-height:21px;
width:143px;
float:left;
}

.side:hover {
background-image:none;
background-color:#E7EFF6;
}

.sideNohover {
text-decoration:none;
margin:0 0 10px 0;
padding:0 0 0 8px;
font-size:14px;
font-weight:bold;
color:#1F4574;
background-image:url(images/subMenuBG.jpg);
display:block;
height:21px;
line-height:21px;
width:143px;
float:left;
}

.moreTitle {
text-decoration:none;
margin:0 0 10px 0;
padding:0 0 0 8px;
font-size:14px;
font-weight:bold;
color:#1F4574;
background-color:#8EB2D4;
background-image:url(images/titleLeft.jpg);
background-repeat:no-repeat;
display:block;
height:21px;
line-height:21px;
width:656px;
float:left;
}


.sideActive {
text-decoration:none;
margin:0 0 10px 0;
padding:0 0 0 8px;
font-size:14px;
font-weight:bold;
color:#1F4574;
background-image:none;
display:block;
height:21px;
line-height:21px;
width:143px;
float:left;
}

.googlemap {
border-bottom: #1F4574 1px dashed;
border-left: #1F4574 1px dashed;
border-right: #1F4574 1px dashed;
border-top: #1F4574 1px dashed;
margin: 0px 0px 0px 15px;
}


/* GENERAL LAYOUT ----------------*/

body {
text-align: center;
margin:0;
padding:0;
background:#75A8D2;
background-image:url(images/tiler_bg.jpg);
background-repeat:repeat-x;
}


#wrapper {
width: 957px;
margin: 0 auto;
padding: 0;
text-align:left;
background:#FFFFFF;
background-image:url(images/tiler_content.jpg);
}


/* TOPPER ----------------------*/

#topper{
margin:0;
padding:0;
height:155px;
}

#topper a {
margin:0;
padding:0;
border:none;
}

#topGradLeft {
background-image:url(images/topGradLeft.jpg);
width:38px;
height:155px;
float:left;
}

#topper img {
float:left;
border:none;
margin:0;
padding:0;
}

#topLogo {
margin:0;
padding:0;
float:left
}

#topSlide {
background-image:url(images/topSlideBG.gif);
width:602px;
float:left;
padding: 27px 14px 19px 14px;
color:#4A80B3;
margin:0;
}

#slideShow {
width:600px;
height:70px;
background-color:#FFFFFF;
border: solid 1px #AEC8E0;
padding:5px 0 5px 0;
margin: 0 0 5px 0;
}

#slideShow img {
margin-left:5px;
}


#topGradRight {
background-image:url(images/topGradRight.jpg);
width:38px;
height:155px;
float:left;
margin:0;
padding:0;
}

#gallery {
float:left;
}

#flags {
float:right;
}

#flags img {
margin-right:4px;
}


/* MENU ----------------------*/


#menu{
background-image:url(images/menuGradFull.jpg);
background-position:left;
background-repeat:no-repeat;
float:left;
width:957px;
height:37px;

}

#menu ul{
margin:0;
padding:0 0 0 38px;
list-style:none;
height:37px;
}

#menu li{
float:left;
}

#menu li a {
display:block;
float:left;
height:37px;
padding: 0 11px 0 11px;
text-decoration:none;
background-color:#1F4574;
background-image:url(images/menuSeparator.jpg);
background-repeat:no-repeat;
color: #ffffff;
font-size:12px;
line-height:37px;
font-weight:bold;
letter-spacing:1px;
}

#menu li a:hover {
background-color:#4D86BB;
}

#menu li.active a{
background-color:#4D86BB;
}



#menu li a.home {
background-image:url(images/menuLeft.jpg);
padding: 0 13px 0 15px;
}

#menu li a.home:hover {
background-image:url(images/menuLeftOn.jpg);
}

#menu li.active a.home{
background-color:#4D86BB;
background-image:url(images/menuLeftOn.jpg);
}



#menu li a.sales {
background-image:url(images/menuRight.jpg);
padding: 0 17px 0 17px;
}

#menu li a.sales:hover {
background-image:url(images/menuRightOn.jpg);
}

#menu li.active a.sales {
background-image:url(images/menuRightOn.jpg);
}


/* SUBMENU ----------------------*/

#sideBox ul{
margin:0 0 10px 0;
padding:0;
list-style:none;
}

#sideBox li a {
display:block;
height:21px;
width:143px;
padding: 0 0 0 8px;
text-decoration:none;
background-image:url(images/subMenuBG.jpg);
background-repeat:no-repeat;
color: #ffffff;
font-size:14px;
line-height:21px;
font-weight:bold;
color:#1F4574;
margin:0 0 10px 0;
}

#sideBox li a:hover {
background-image:none;
}

#sideBox li.active a{
background-image:none;
}


/* GENERAL CONTENT LAYOUT ----------------------*/


#contentGradLeft{
background-image:url(images/contentGradLeft.jpg);
width:38px;
height:418px;
float:left;
}

#contentRight{
float:left;
width:691px;
margin:13px 0 0 0;
}

#mainContentBox{
background-image:url(images/homeWelcomeTop.jpg);
background-repeat:no-repeat;
background-position:top;
background-color:#E7EFF6;
padding:10px 10px 10px 10px;
margin:0;
}

#mainContentBox form {
width:505px;
}

#sideBox{
width:152px;
overflow:hidden;
background-image:url(images/homeSideBoxTop.jpg);
background-repeat:no-repeat;
background-position:top;
background-color:#E7EFF6;
padding:10px 12px 0 13px;
margin: 0 13px 0 0;
}

#sideBox input {
float:right;
}


#contentLeft{
float:left;
margin-top:13px;
}

#contentGradRight{
background-image:url(images/contentGradRight.jpg);
width:38px;
height:418px;
float:left;
}



/* IMAGES ----------------------*/

#mainTitleBox img{
background-color:#FFFFFF;
padding:5px;
border:solid 1px #AEC8E0;
margin:0 10px 10px 11px;
float:right;
}

#mainContentBox img{
background-color:#FFFFFF;
padding:5px;
border:solid 1px #AEC8E0;
margin:5px 10px 5px 10px;
}

#homeSideBox img{
background-color:#FFFFFF;
padding:5px;
border:solid 1px #AEC8E0;
margin-bottom:10px;
float:right;
}

#homeSideBox input {
float:right;
}


#sideBox img{
background-color:#FFFFFF;
padding:5px;
border:solid 1px #AEC8E0;
margin-bottom:10px;
}

.homeDarkBox img{
background-color:#FFFFFF;
padding:5px;
border:solid 1px #AEC8E0;
margin-bottom:10px;
}

.homeDarkBoxLast img{
background-color:#FFFFFF;
padding:5px;
border:solid 1px #AEC8E0;
margin-bottom:10px;
}

.imgNoBorder {
margin:0;
padding:0;
border:none;
}

/* HOMEPAGE LAYOUT ----------------------*/


#homeContentLeft{
float:left;
width:691px;
margin-top:13px;
}

#homeContentRight{
float:left;
margin-top:13px;
padding-left:13px;
font-family: Century Gothic, Trebuchet MS, Verdana, Arial, sans-serif;
font-size:10px;
}


#mainTitleBox{
background-image:url(images/homeWelcomeTop.jpg);
background-repeat:no-repeat;
background-position:top;
background-color:#E7EFF6;
padding:10px 10px 10px 10px;
margin:0; 
}

.endMainTitleBox{
background-image:url(images/HomeWelcomeBottom.jpg);
background-repeat:no-repeat;
background-position:top;
width:691px;
height:6px;
}

#homeSideBox{
width:152px;
overflow:hidden;
background-image:url(images/homeSideBoxTop.jpg);
background-repeat:no-repeat;
background-position:top;
background-color:#E7EFF6;
padding:10px 12px 0 13px;
}


#enquiry {
background-color:#E7EFF6;
padding-left:45px;
}

#feedback {
background-color:#E7EFF6;
padding-left:45px;
}

#feedback form {
width:450px;
}

.endHomeSideBox{
background-image:url(images/homeSideBoxBottom.jpg);
background-repeat:no-repeat;
background-position:top;
width:177px;
height:6px;
}

.homeDarkBox{
margin:13px 13px 0 0;
width:221px;
float:left;
}

.homeDarkBoxLast{
margin:13px 0 0 0;
width:221px;
float:left;
}

.darkBox{
background-image:url(images/homeDarkBoxTop.jpg);
background-repeat:no-repeat;
background-position:top;
background-color:#ACBDCF;
padding:13px 13px 13px 13px;
font-size:14px;
font-weight:bold;
color:#1F4574;
border-bottom: solid 1px #19538B;
}

.darkBoxText{
background-image:url(images/homeDarkBoxBottom.jpg);
background-repeat:no-repeat;
background-position:bottom;
background-color:#D9E3ED;
padding:13px 13px 13px 13px;
}

/* FOOTER ----------------------*/

#footer {
background-image:url(images/footer.jpg);
background-repeat:no-repeat;
background-position:bottom;
height:215px;
padding:0 38px 0 38px;
color:#1F4574;
font-family:Arial, Helvetica, sans-serif;
font-size:10px;
line-height:14px;
clear:both;
}

.footerLinks {
padding:2px 0 0 0;
}

#footer img {
border:none;
}

#footer span {
color:#000000;
font-size:12px;
}

#footBann {
height:70px;
background-image:url(images/footBann.jpg);
background-repeat:no-repeat;
background-position:top;
padding-left:80px;
/*border-bottom: solid 1px #089DEA;*/
margin-bottom: 8px;
}

#footBann img {
margin-right:68px;
border:none;
}

.footRight {
float:right;
padding:20px 10px 0 0;

}

.footLeft {
float:left;
padding:20px 0 0 10px;
}

.right {
float:right;
}

.left {
float:left;
}

.clear {
clear:both;
}

.debug {
color:#E7EFF6;
}

/* TEXT */

.newsTitleHome {
font-family: Century Gothic, Trebuchet MS, Verdana, Arial, sans-serif;
font-size:11px;
font-weight: bold;
color:#1F4574;
}

.newsTitle {
font-family: Trebuchet MS, Verdana, Arial, sans-serif;
font-size:13px;
font-weight: bold;
color:#38628C;
}

/*LIGHTBOX */

#lightbox{
	position: absolute;
	top: 40px;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}

#imageContainer{
	padding: 10px;
	}

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(images/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(images/nextlabel.gif) right 15% no-repeat; }


#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	}

#imageData{
	padding:0 10px;
	}
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	filter:alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;
	}
	

.clearfix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
	}

* html>body .clearfix {
	display: inline-block; 
	width: 100%;
	}

* html .clearfix {
	/* Hides from IE-mac \*/
	height: 1%;
	/* End hide from IE-mac */
	}	
