/** 
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.com
 *
 * Main Layout File
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */
  

img { 
	border: 0px; 
}

* {
	margin: 0;
	padding: 0;
}

html {
	margin: 0 auto;
	overflow-y:scroll;
}

body {
	margin: 0 auto;
	height: 100%;
	width: 1000px;
 	font-size: 62.5%; 
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption, th, td {
	text-align: left;
	font-weight: normal;
}

.clear{
	clear:both;
}

/* HOMEPAGE LAYOUT
----------------------------------------- */

#BgContainer {
	width: 1000px;
	margin: 0 auto; 
}

#ContainerLeft {
	position: relative;
	float: left;
	width: 210px;
	height: 100%;
	margin-top: 30px;
	z-index: 3;
}

#ContainerCenter {
	position: relative;
	float: left;
	display: inline;
	width: 150px;
	height: 600px;
	padding-top: 0px;
	background: url(../images/jml-index-bg.gif) repeat-y;
	z-index: 2;
}

#news {
 	clear: both; 
	position: absolute;
	float: left;
	padding-left: 160px;
	width: 154px;
	height: 60px;
}

#specials {
 	clear: both; 
	position: absolute;
	float: left;
	padding-left: 324px;
	width: 182px;
	height: 60px;
}

#ContainerRight {
	position: relative;
	float: left; 
	width: 232px;
	padding-left: 376px;
	height: 100%;
	padding-top: 100px;
	z-index: 1;
}

#Layout {
	margin: 0;
	text-align: left;
}

#Content {
	margin: 0;
	text-align: left;
}

/* PAGE LAYOUT
----------------------------------------- */

#PageContainerLeft {
	float: left;
	width: 210px;
	height: 100%;
	margin-top: 30px;
	background: url(../images/jacks-machinery.gif) no-repeat;
	z-index: 2;
}

#PageContainerCenter {
	float: left;
	display: inline;
	width: 222px;
	height: 700px;
	padding-top: 40px;
	background: url(../images/jml-index-bg.jpg) repeat-y;
}

#PageContainerRight {
	float: left; 
	height: 100%;
	width: 497px;
	padding-top: 100px;
	padding-left: 30px;
	overflow: visible;
	z-index: 1;
}

#UsedPageContainerRight {
	float: left; 
	height: 100%;
	width: 750px;
	padding-top: 113px;
	padding-left: 30px;
	overflow: visible;
	z-index: 1;
}
	


/* MAIN NAVIGATION
----------------------------------------- */
#Menu {
	margin-left: 46px;
	padding-top: 35px;
	color: #003392;
	font-weight: bold;
	font-size: 10px;
	text-decoration: none;
	line-height: 20px;
	letter-spacing: 1px;
}
    
/* CART
-------------------------------------------- */

#cartPosition {
	float: inherit;
	margin-top: 10px;
	margin-left: 46px;
	margin-right: 30px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 18px;
	color: #003392;
	letter-spacing: 1px;
}

p {
	margin-left: 0px;
}

h4 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: normal;
	color: #003392;
	line-height: 30px;
	border-bottom: 1px solid #CCC;
	letter-spacing: 1px;
}

a { 
 	text-decoration: none; 
	color: #003392;
}
    a:hover { 
 		text-decoration: none;
		color: #eb0009;
	}
	
/* SEARCH
-------------------------------------------- */

#SearchBox {
	float: inherit;
	margin-top: 10px;
	margin-left: 40px;	
}
    
/* BREADCRUMBS
-------------------------------------------- */
#Breadcrumbs { 
 	color: #003392;
	text-align: left;
	font-size: 0.9em; 
	margin: 0px 5px 10px 0;
}
	#Breadcrumbs p {
		margin: 0;
	}


/* 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 {
	width: 144px;
	margin: 5px;
}
html #SearchForm_SearchForm .middleColumn {
	float: left;
	width: 144px;
	height: 23px;
	margin: 0 5px 0 0;
	padding: 1px;
	background-color: #e5eaf4;
	
}
	html #SearchForm_SearchForm .middleColumn input.text {
		width: 140px;
		height: 19px;
		border: none;
		color: #666;
	}
html #SearchForm_SearchForm #SearchForm_SearchForm_action_results {
	float: left;
	margin-top: 0px;
}

/* 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 {
	position: relative;
	float: left;
 	clear: both;  
	width: 150px; 
	height: 100px; 
	text-align: left;
	margin-left: 20px;
	padding-top: 15px;
}
  	#Footer p { 
		color: #fff;
		font-size: 11px;
		letter-spacing: 1px;
		line-height: 18px;
		text-align: left;
	}
  		#Footer a { 
	   		color: #fff; 
	   		text-decoration: none;
		}
			#Footer a:hover {
				color: #fff;
				text-decoration: underline;
			}