/** 
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.com
 *
 * Main Layout File
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */
  
* {
	margin: 0;
	padding: 0;
}

body {
	color: #ffffff;
 	font-size: 62.5%; 
	font-family: Verdana, Lucida, sans-serif; 
}

html {
	background: #ffffff url(../images/ailifoto_bg.png) top repeat-x;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}

.clear{
	clear:both;
}

/* CONTAINER
----------------------------------------- */
#BgContainer {
	width: 800px;  
	margin: 0 auto; 
}
#Container { 
	width: 800px;
	padding-bottom: 5px;
	/*background: #fff url(../images/containerbg.gif) repeat-y;*/
}
#Layout {
	width: 760px;
	clear: both;
	overflow: hidden;
	margin: 15px auto;
}
#Content {
	width: 538px;
	float: left; 	
	margin: 0;
	text-align: left;
}
/* HEADER
----------------------------------------- */
#Header { 
 	width: 768px; 
	height: 137px;
 	margin: 0 auto;
	overflow: hidden;
	background: url(../images/ailifoto_logo_header.png) no-repeat top left;
}
 	#Header h1 { 
	  	color: #fff; 
		font-size: 3.2em; 
		font-family: Tahoma, Verdana, sans-serif;
		font-weight: 300;
		padding: 60px 0 0 30px;
	}
	#Header p {
		font-size: 1.4em;
		color: #fff;
		clear: left;
		margin: 0 0 0 100px;
	}

/* MAIN NAVIGATION - TABS
----------------------------------------- */
#Navigation {
	width: 768px;
	margin: 0 auto;
	overflow: hidden;
	font-size: 1.6em;
}
	#Navigation ul { 
 		float: left; 
	}
		#Navigation ul li { 
	 		list-style: none; 
			margin: 0 2px; 
			float: left;
			line-height: 35px;
			display: block;
		}
  			#Navigation ul li a { 
				float: left;
				text-decoration: none;
				display: block; 
				height: 35px; 
				font-size: 1.2em; 
				padding: 0 0 0 10px;
				color: #797e78;
			}
				#Navigation ul li a span {
					text-align: center;
	        		float: left;
					padding-right: 10px;
					height: 35px;
				}
					#Navigation ul li a:hover {
						/*background: #93C7E7 url(../images/hoverTabLeft.gif) no-repeat left top; */
						color: #C6F;
						cursor: pointer;
						text-decoration:underline;
					}
					#Navigation ul li a:hover span {
						/*background: #93C7E7 url(../images/hoverTabRight.gif) no-repeat right top;*/
						cursor: pointer;
					}
					
    			#Navigation ul li a.current,
	    		#Navigation ul li a.section,
	    		#Navigation ul li a.section:hover,
	    		#Navigation ul li a.current:hover { 
				 	/*background: #fff url(../images/activeTabLeft.png) no-repeat left top; */
				 	color: #C6F;
					}
				#Navigation ul li a.current span,
				#Navigation ul li a.section span,
	    		#Navigation ul li a.section:hover span,
				#Navigation ul li a.current:hover span {
					/*background: #fff url(../images/activeTabRight.png) no-repeat right top;*/
					color: #C6F;
				}
    
/* BREADCRUMBS
-------------------------------------------- */
#Breadcrumbs { 
 	color: #B7C0C5;
	text-align: left;
	font-size: 0.9em; 
	margin: 0px 5px 10px 0;
}
	#Breadcrumbs p {
		margin: 0;
	}


/* SIDEBAR
-------------------------------------- */
#Sidebar { 
 	width: 200px; 
	float: right;  
	margin: 10px 10px 0 4px;
	padding: 0;
}
	#Sidebar .sidebarBox {
		padding-bottom: 2px;
		background: #e4e4f9 url(../images/sidebarHeader.gif) no-repeat right top; 
	}
	#Sidebar ul {
		margin: 0px 0px 5px 5px;
	}
		#Sidebar li {
			margin: 8px 5px;
			list-style: none;
		}
	#Sidebar h3 { 
		clear: both; 
		text-transform: capitalize;
		color: #cc66ff;
		font-weight: bold; 
		font-size: 1.4em; 
		margin: 0 0 10px 0;
		line-height: 1.8;
		padding: 1px 0 0 10px;
		/*background: transparent url(../images/sidebarHeaderSub.gif) repeat-x center left;*/
	}
	
	#Sidebar .sidebarBottom {
		height: 12px;
		display: block;
		width: 200px;
		margin: 0 0 0 0;
		background: #c6c6eb url(../images/sidebarBottomBg.gif) no-repeat right bottom;
	}
	#Sidebar a em {
		font-style: normal;
	}
	#Sidebar p {
		font-size: 11px;
	 	clear: both;
	 	margin: 10px 10px 0 10px;
	}
	
/* MENU 2 */
	ul#Menu2 a.current,
	ul#Menu2 a:hover{
		color: #F0F;	
		text-decoration:underline;
	}

/* COMMENTS
---------------------------------------- */
#CommentHolder ul {
	list-style: none;
	margin: 20px 0;
}
#PageComments li {
	margin: 5px 0;
	padding: 1px;
	width: 88%;
}
	#PageComments li.odd {
		background: #E8F6FF url(../images/commentBg.png) no-repeat 1% 10%;
		padding-left: 40px;
		padding-right: 10px;
		border-bottom: 2px solid #BCE4FE;
	}
	#PageComments li.even {
		background: #fff url(../images/commentBgAlt.png) no-repeat 99% 10%;
		padding-right: 40px;
		padding-left: 10px;
	}

		#PageComments li.odd p.info {
			color: #3AA0C3;
		}

		.actionLinks li {
		   display: inline;
		   border-right: 1px solid;
		}
			.actionLinks li a {
				padding-right: 3px;
				font-size: 10px;
			}
   			.actionLinks li.last {
      			border-right: none;
   			}

.commentrss {
	background: transparent url(../images/feed-icon-14x14.png) no-repeat;
	padding-left: 20px;
	font-size: 1.1em;
	line-height: 1.6em;
}
#PageCommentsPagination p {
	text-align: center;
	font-size: 1.2em;
}
#PageComments p {
	font-size: 1em;
}
	#PageComments p.info {
		color: #999;
		margin: 0px;
		padding: 0;
		line-height: 1em;
		font-size: 0.9em;
	}

/* SEARCH RESULTS STYLES
------------------------------------------------ */
ul#SearchResults {
	margin: 10px 0;
}
	ul#SearchResults li {
		list-style: none;
		margin: 5px 0;
		font-size: 1em;
	}

/* SEARCH FORM 
-----------------------------------------------*/
html #SearchForm_SearchForm {
	float: right;
	width: 240px;
	margin: 5px;
}
html #SearchForm_SearchForm .middleColumn {
	float: left;
	width: 164px;
	margin: 0 5px 0 0;
	padding: 2px;
	background-color: #d4d4f0;
	
}
	html #SearchForm_SearchForm .middleColumn input.text {
		width: 160px;
		border: none;
		color: #666;
	}
html #SearchForm_SearchForm #SearchForm_SearchForm_action_results {
	float: left;
	margin-top: 2px;
}

/* MESSAGEBOXS
--------------------------------------------- */
.message {
	margin: 15px;
	padding: 5px;
	width: 92%;
	color: #979908;
	border: 4px solid #F7F8B4;
	background: #FFFFEA;
}
span.middleColumn .message {
	margin: 4px 0 0 3px;
}
.required {
	margin: 4px 0 0 3px;
	padding: 5px;
	width: 92%;
	color: #DC1313;
	border: 4px solid #FF7373;
	background: #FED0D0;
}



p#Remember label {
	margin: -24px 0 0 20px;
	text-align: left;
}
.entry {
	border-bottom: 1px solid #eee;
}

.typography #Content p.authorDate {
	color: #444;
	margin-top: -15px;
	}
/* UNSUBSCRIBE NEWSLETTER
------------------------------------------------ */
#Unsubscribe_MailingListForm_MailingListForm{
	min-height:100px;
}

	#Unsubscribe_MailingListForm_MailingListForm p{
		margin:0 !important;
		padding:10px;
	}
		#Unsubscribe_MailingListForm_MailingListForm p label{
			display: inline;
		}
	#Unsubscribe_MailingListForm_MailingListForm label{
		margin:0;
	}


/* FOOTER
----------------------------------------------- */

#Footer { 
 	clear: both;  
/*	width: 800px; */
	margin: 0 auto;
	height: 41px; 
	background: url(../images/ailifoto_footer_bg.png) repeat-x; 
	text-align: center; 
	padding-top: 5px;
	padding-bottom: 5px;
}
#Footer p { 
	color: #797e78;
	font-size: 11px;
	text-align: center;
	padding: 4px;
}

#Footer a { 
	color: #C6F; 
	text-decoration: none;
	font-size: 11px;
}

#Footer a:hover {
	color: #C6F;
	text-decoration: underline;
}

#Footer ul{
	list-style:none;
	display:block;
}

#Footer li{
		margin: 0 auto;
		display: inline-block;
		border-left: 1px solid #C6F;
		padding-left: 5px;
		padding-right: 5px;
}

#Footer li.first{
	border-left: none;
}

#Footer li.current a{
	text-decoration: underline;
}

