/** 
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.com
 *
 * Main Layout File
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */
  
* {
	margin: 0;
	padding: 0;
}

body {
	color: #333;
 	font-size: 62.5%; 
 	margin-bottom:0px;
	font-family: Georgia, "Times New Roman", Times, serif; 
}

html {
	background: #FFFFFF url(../images/background.jpg) no-repeat top center;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}

.clear{
	clear:both;
}

/* CONTAINER
----------------------------------------- */
#web {
	margin-left:auto;
	margin-right:auto;
	width:920px;
	background: transparent url(../images/header.jpg) no-repeat;
}
#header {
	height:145px;
	padding:0px 0 0px 0;
}
#header a img {
	border:none;
}
#searchmenu {
	height:45px;
	background-color: #A72316;
}
#menu {
	float:left;
	width:920px;
	height:45px;
	background-color: #A72316;
}
#search {
	float:right;
	width:224px;
	height:40px;
	background-color:#A72316;
}
#Layout {
	width: 880px;
	clear: both;
	overflow: hidden;
	margin: 15px auto;
}
#Content {
	width: 631px;
	float: right; 	
	margin: 0;
	text-align: left;
}
img.esipilt {
	margin:15px 42px 0px 0px;
}
img.viimane {
	margin:15px 0px 0px 0px;
}
.theme-default #slider {
    margin:0;
    width:920px; /* Make sure your images are the same size */
    height:285px; /* Make sure your images are the same size */
}
/* HEADER
----------------------------------------- */
#Header { 
 	width: 768px; 
 	margin: 0 auto;
	overflow: hidden;
	background: #58ade1 url(../images/header.gif) repeat-x left center;
}
 	#Header h1 { 
	  	color: #fff; 
		font-size: 3.2em; 
		font-family: Tahoma, Verdana, sans-serif;
		font-weight: 300;
		padding: 20px 0 0 30px;
	}
	#Header p {
		font-size: 1.4em;
		color: #fff;
		clear: left;
		margin: 0 0 0 100px;
	}

/* MAIN NAVIGATION - TABS
----------------------------------------- */
#menu ul { 
	float: left; 
	margin-right: 10px;
	background-color: #A72316;
}
#menu ul li { 
	list-style: none; 
	margin: 0 0 0 0; 
	float: left;
	line-height: 45px;
	display: block;
}
#menu ul li a { 
	float: left;
	text-decoration: none;
	display: block; 
	height: 45px; 
	font-size: 1.2em; 
	padding: 0 18px 0 18px;
	color: #fff;
	text-transform:uppercase;
}
#menu ul li a {
	background-color: #A72316;
    background-image: url(../images/superfish-li-background.png);
    background-position: right bottom;
    background-repeat: no-repeat;
    text-decoration: none;
	height: 45px;
}
#menu ul li a:hover { 
    background-image: url(../images/nupp.jpg);
    background-position: right bottom;
    background-repeat: repeat-x;
    text-decoration: none;
	height: 45px;
}
#menu ul li a:hover{
    background-image: url(../images/nupp.jpg);
    background-position: right bottom;
    background-repeat: repeat-x;
    text-decoration: none;
}
					
#menu ul li a.current,
#menu ul li a.section,
#menu ul li a.section:hover,
#menu ul li a.current:hover { 
    background-image: url(../images/nupp.jpg);
    background-position: right bottom;
    background-repeat: repeat-x;
    text-decoration: none;
	line-height: 45px;
}
#menu ul li a.current span,
#menu ul li a.section span,
#menu ul li a.section:hover span,
#menu ul li a.current:hover span {
}
    
/* BREADCRUMBS
-------------------------------------------- */
#Breadcrumbs { 
 	color: #B7C0C5;
	text-align: left;
	font-size: 0.9em; 
	margin: 0px 5px 10px 0;
}
	#Breadcrumbs p {
		margin: 0;
	}


/* SIDEBAR
-------------------------------------- */
#Sidebar { 
 	width: 267px; 
	float: left;  
	margin: 10px 0 10px 0;
	padding: 0;
}
	#Sidebar .sidebarBox {
		margin: 5px 0 5px 0;
		padding: 2px 0 2px 0;
		background: #A72316; 
	}
	#Sidebar ul {
		margin: 2px 0 5px 3px;
	}
		#Sidebar li {
			margin: 8px 2px;
			list-style: none;
		}
	#Sidebar h3 { 
		clear: both; 
		text-transform: lowercase;
		color: #fff;
		font-weight: 700; 
		font-size: 1.4em; 
		margin: 0 0 10px 0;
		line-height: 1.8;
		padding: 1px 0 0 10px;
		background: transparent center left;
	}
	
	#Sidebar .sidebarBottom {
		display: block;
		width: 200px;
		margin: 0 0 10px 0;
		background: transparent;
	}
	#Sidebar a em {
		font-style: normal;
	}
	#Sidebar p {
		font-size: 11px;
	 	clear: both;
	 	margin: 10px 10px 0 10px;
	}
	
	/* MENU2 */
    ul#Menu2 li { 
    	font-size: 0.9em; 
    	margin: 1px 0 5px 4px;
        list-style: none;
    }
    	ul#Menu2 li a {
            display: block;
            width: 260px;
            font-size: 1.2em;
            height: 1.8em;
            line-height: 1.8em;
            color: #FFF;
      	}
			ul#Menu2 li em {
				padding-left: 8px;
				display: block;
			}
				ul#Menu2 li li em {
					padding-left: 0;
				}
      	/* Level 1 
      	- We use 3 elements for the nav to get 3 background images applied.
            * span - topleft rounded corner
            * em - bottomleft rounded corner
            * a - arrow on the right
            <a><span><em></em></span></a>
      	*/
      	ul#Menu2 li a:hover,
      	ul#Menu2 li a.current,
      	ul#Menu2 li a.current:hover {
        	background: transparent right center;
        	color: #FFF;
			cursor: pointer;
            text-decoration: none;
      	}
	  	ul#Menu2 li a.current {
	  		font-weight: 700;
	  	}
      	ul#Menu2 li a.section,
      	ul#Menu2 li a.section:hover {
            background: transparent;
            font-weight: 700;
            width: 193px; 
      	}
      	ul#Menu2 li a.levela:hover span,
      	ul#Menu2 li a.current span,
      	ul#Menu2 li a.section span,
      	ul#Menu2 li a.section:hover span,
      	ul#Menu2 li a.current:hover span {
			background: transparent left top;
			display: block;
			width: 100%;
			height: 100%;
		} 
		ul#Menu2 li a.levela:hover em,
		ul#Menu2 li a.current em,
		ul#Menu2 li a.section em,
		ul#Menu2 li a.section:hover em,
		ul#Menu2 li a.current:hover em {
        	background: transparent;
			display: block;
			width: 100%;
            height: 100%;
      	}
      		ul#Menu2 li ul {
            	height: 100%;
            	position: relative;
            	margin: -4px 0 0 0;
            	width: 193px;
            	padding: 4px 0 10px 0;
            	background: transparent;
      		}
      			ul#Menu2 li ul li {
            		padding: 0;
            		font-size: 0.8em;
            		margin: 2px 0 0 0;
      			}
      				ul#Menu2 li ul li ul {
            			background: transparent;
            			margin-left: 0;
      				}	
      
					ul#Menu2 li li a.current,
      				ul#Menu2 li li a.section,
      				ul#Menu2 li li a.section:hover,
      				ul#Menu2 li li a.current:hover {
            			color: #FFF;
            			font-weight: 700;
            			background: transparent;
      				}
      					ul#Menu2 li li ul {
            				margin: 0 0 0 10px;
            				padding: 0;
            				width: 175px;
      					}
      					ul#Menu2 li li ul .roundWhite {
            				margin-bottom: -10px;
      					}
      			
			/* Sub Menu */
      		ul#Menu2 li a.levelb {
            	font-size: 1.7em;
            	text-indent: 8px;
            	width: 188px;
		background: transparent;
            	margin-left: 10px;
      		}
	  		ul#Menu2 li a.levelb:hover,
      		ul#Menu2 li li a.current,
      		ul#Menu2 li li a.current:hover,
      		ul#Menu2 li li a.section,
      		ul#Menu2 li li a.section:hover {
            	background: transparent;
            	text-decoration: none;
            	display: block;
            	color: #fff;
      		}
      		ul#Menu2 li a.levelb:hover span,
      		ul#Menu2 li li a.current span,
      		ul#Menu2 li li a.current:hover span,
      		ul#Menu2 li li a.section span,
      		ul#Menu2 li li a.section:hover span {
            	background: transparent;
            	display: block;
            	width: 100%;
            	height: 100%;
      		} 	
      		ul#Menu2 li a.levelb:hover em,
      		ul#Menu2 li li a.current em,
      		ul#Menu2 li li a.current:hover em,
      		ul#Menu2 li li a.section em,
      		ul#Menu2 li li a.section:hover em {
            	background: transparent;
            	display: block;
            	width: 100%;
            	height: 100%;
      		}

/* 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 #ddd;
		}
			.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;
	margin: 8px 0;
}
	#PageComments p.info {
		color: #999;
		margin: 0px;
		padding: 0;
		line-height: 1em;
		font-size: 0.9em;
	}


#PageCommentInterface_Form_PostCommentForm_action_postcomment {
	margin-bottom: 20px;
}

/* SEARCH RESULTS STYLES
------------------------------------------------ */
ul#SearchResults {
	margin: 10px 0;
}
	ul#SearchResults li {
		list-style: none;
		margin: 5px 0;
		font-size: 1em;
	}

/* SEARCH FORM 
-----------------------------------------------*/
#SearchForm_SearchForm {
	float: right;
	width: 209px;
	padding:12px 5px 8px 10px;
}
#search input.action {
background-color: #A72316;
    background-image: url("../images/search.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    border: medium none;
    height: 20px;
    margin-left: 5px;
    margin-top: -4px;
    width: 13px;
}
	#SearchForm_SearchForm .middleColumn {
		float: left;
		width: 174px;
		margin: 0 5px 0 0;
		padding: 1px;
	}
	
		#SearchForm_SearchForm .middleColumn input.text {
			width: 170px;
			border: none;
			color: #666;
		}
		
	#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
----------------------------------------------- */

#jalus { 
 	clear: both;  
	width: 920px; 
	height: 220px; 
	background: #100e0f url(../images/footer.jpg) repeat-x top center;
	text-align: center;
	color: #fff;
	font-size: 12px;
	text-align: center;
	padding-top:30px;
}
#jalus h1.webs { 
	color: #fff;
	font-weight:300;
	font-size: 22px;
}
	}
  	#jalus p { 
		color: #fff;
		font-size: 16px;
		text-align: center;
		padding-top:15px;
	}
  		#jalus a { 
	   		color: #fff; 
	   		text-decoration: none;
		}
			#jalus a:hover {
				color: #fff;
				text-decoration: underline;
			}