/** 
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.com
 *
 * Main Layout File
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */
@font-face {
    font-family: "Droid Serif";
    font-style: normal;
    font-weight: normal;
    src: local("Droid Serif"), local("DroidSerif"), url("http://themes.googleusercontent.com/static/fonts/droidserif/v3/0AKsP294HTD-nvJgucYTaIbN6UDyHWBl620a-IRfuBk.woff") format("woff");
}  
* {
	margin: 0;
	padding: 0;
}

body {
	color: #333;
 	font-size: 62.5%; 
 	margin-bottom:15px;
	margin-top:15px;
	font-family: Georgia; 
}

html {
	background: #ccc;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}

.clear{
	clear:both;
}
#esileht {
	width:142px;
	float:left;
}
#avaleht {
	width:854px;
	background:#A72316;
	padding:0;
	color:#FFF;
}
#avaleht-sisu {
	width:640px;
	background:#A72316;
	padding:15px 10px;
	color:#FFF;
	float:left;
}
#avaleht-events {
width:155px;
background:#bd0221 url(../images/slider.png) repeat right top;
float:right;
padding:15px 10px 15px 25px;
min-height:280px;
}
#nupud {
	width:646px;
	margin-top:25px;
}
#nupp {
    float: left;
    margin: 0 12px 0 0;
    overflow: visible;
    position: relative;
    width: 200px;
		padding:3px;
		background:#FFF;
		height:205px;
		display:inline;
}
#nupp-viimane {
    float: left;
    margin: 0;
    overflow: visible;
    position: relative;
    width: 200px;
		padding:3px;
		background:#FFF;
		height:205px;
		display:inline;
}
.typography h2.nupu-kiri {
    background: url(../images/pealkiri.png) no-repeat scroll 0 3px transparent;
    color: #FFFFFF;
		font-family: "Droid Serif",Georgia,"Times New Roman",Times,serif;
    font-size: 16px;
    line-height: 18px;
    margin: -2px 0 0;
    padding: 12px 2px;
    width: 196px;
		text-align:center;
}
h2.nupu-kiri a,h2.nupu-kiri a:hover {
		text-decoration:none;
		color:#FFF;
		font-family: "Droid Serif",Georgia,"Times New Roman",Times,serif;
}
#nupp p{
	padding:0 4px;
	line-height:18px;
	font-family: "Droid Serif",Georgia,"Times New Roman",Times,serif;
	margin:0 0 18px 0;
	color:#FFF;
}
#nupp-viimane p{
	padding:0 4px;
	line-height:18px;
	font-family: "Droid Serif",Georgia,"Times New Roman",Times,serif;
	margin:0 0 18px 0;
	color:#FFF;
}
#nupp img{
	padding:0;
	margin:0;
}
#nupp .text{
	background:#a72316;
	margin:0;
	padding-top:8px;
	padding-left:8px;
	padding-right:8px;
	min-height: 25px;
}
.text p a{
	color:#FFF;
}
#nupp-viimane .text{
	background:#a72316;
	margin:0;
	padding-top:8px;
	padding-left:8px;
	padding-right:8px;
	min-height: 25px;
}
.typography h2.event-head {
		color: #FFF;
    font-family: "Droid Serif",Georgia,"Times New Roman",Times,serif;
    font-size: 16px;
    line-height: 18px;
    margin: 0 0 10px 0;
}
ul#ImageGalleryEntriesUL{
		list-style:none;
		margin:0;
		padding:0px;
} 
#ImageGalleryEntriesUL li{
		list-style:none;
		float:left;
		margin:0 2px;
		padding:2px;
} 
ul#events li {
		list-style: ;
		color:#FFF;
		font-size: 12px;
		line-height:22px;
    margin:0;
} 
ul#events li a {
		color:#FFF;
		font-size: 12px;
		margin:18px 0;
    text-decoration:none;
} 
ul#events {
		margin: 0 0 10px 15px;
		color:#FFF;
} 
#slider {
	/* You MUST specify the width and height */
	width:702px;
	height:260px;
	position:relative;	
	overflow:hidden;
	float:right;
}
#mask-gallery {	
	overflow:hidden;
	width:520px;	
}
#excerpt li p {
	color:#FFFFFF;	
	line-height: 18px;
	font-size: 12px;
	margin: 0 0 18px 0;
}
#excerpt li h2{
	color:#FFFFFF;	
	line-height: 18px;
	font-size: 16px;
	margin: 0 0 10px 0;
}
#gallery {	
	/* Clear the list style */
	list-style:none;
	margin:0;
	padding:0;
	z-index:0;
	/* width = total items multiply with #mask gallery width */
	width:520px;
	overflow:hidden;
}
#gallery li {
	/* float left, so that the items are arrangged horizontally */
	float:left;
	margin:0;
	padding:0;
}
#mask-excerpt {
	/* Set the position */
	position:absolute;	
	top:0;
	right:0;
	z-index:500;
	/* width should be lesser than #slider width */
	width:190px;
	overflow:hidden;
}	
#excerpt {	
	/* Clear the list style */
	list-style:none;
	margin:0;
	padding:0;	
	/* Set the position */
	z-index:10;
	position:absolute;
	top:0;
	left:0;	
	/* Set the style */
	width:190px;
	background:#bd0221 url(../images/slider.png) repeat right top;
	overflow:hidden;
	font-family:arial;
	font-size:12px;
	color:#fff;	
}
#excerpt li {
	padding:10px 10px 10px 15px;
	background:#bd0221 url(../images/slider.png) repeat right top;
}


/* CONTAINER
----------------------------------------- */
#web {
	width:880px;
	background:#FFF;
	padding-left:10px;
	padding-right:10px;
	padding-bottom:20px;
	margin-left:auto;
	margin-right:auto;
	-webkit-box-shadow: 0px 0px 8px #5c5c5c;
	-moz-box-shadow:    0px 0px 8px #5c5c5c;
	box-shadow:         0px 0px 8px #5c5c5c;
}
#header {
	background:#FFF url(../images/header.png) top center no-repeat;
	height: 168px;
  padding-top: 20px;
}
#menu {
	background: transparent url(../images/menubg.png) top center no-repeat;
	height:52px;
    	margin-top: 120px;
    	padding-left: 153px;
    	width: 727px;
	float:right;
}
#sisu {
	background: transparent;
	padding: 13px 13px 13px 13px;
	width:854px
}
img.esipilt {
	margin:15px 42px 0px 0px;
}
img.viimane {
	margin:15px 0px 0px 0px;
}
/* HEADER
----------------------------------------- */
#logo {
	width:150px;
	padding-left:6px;
	float:left;
	position:absolute;
	height:210px;
	top:25px;
	z-index:2;
}
#logo a img{
	border:none;
}
#Content {
	width:575px;
	min-height:200px;
	margin-top:10px;
	float:right;
}
#members{
	float: right;
    font-size: 18px;
    padding: 60px 50px 0 0;
    position: absolute;
    text-align: right;
    width: 830px;
		z-index:1;
		}
#members a { text-decoration:none; }
span#memberboard {
		padding:6px 12px;
		border: 4px #FFF solid;
		background:#A72316;
		color:#FFF;
		text-decoration:none;
		-moz-box-shadow: 0px 0px 2px 1px #999999;
    -webkit-box-shadow: 0px 0px 2px 1px #999999;
    box-shadow:0px 0px 2px 1px #999999;

		}
		
/* MAIN NAVIGATION - TABS
----------------------------------------- */
#menu ul { 
	float: left; 
	margin-right: 0px;
	margin-top: 11px;
	background-color: #be0022;
}
#menu ul li { 
	list-style: none; 
	margin: 0 0 0 0;
	padding: 0 0 0 1px;
	float: left;
	line-height: 41px;
	display: block;
	background: transparent url(../images/menu-div.png) left bottom no-repeat;
}
#menu ul li a { 
	float: left;
	text-decoration: none;
	display: block; 
	height: 41px; 
	font-size: 1.4em;
	font-weight:500;
	padding: 0 24px 0 24px;
  font-family: "Droid Serif",Georgia,"Times New Roman",Times,serif;
	color: #fff;
	text-transform:uppercase;
}
#menu ul li a {
	background: #be0022 url(../images/menu-act.png) right bottom repeat-x;
    text-decoration: none;
	height: 41px;
}
#menu ul li a:hover {
	background: #96011b url(../images/menu-hov.png) right bottom repeat-x;
    text-decoration: none;
	height: 41px;
}
					
#menu ul li a.current,
#menu ul li a.section,
#menu ul li a.section:hover,
#menu ul li a.current:hover { 
    background: #96011b url(../images/menu-hov.png) right bottom repeat-x;
    text-decoration: none;
	line-height: 41px;
}
#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: 260px; 
	float: left;  
	margin: 10px 15px 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: 11px; 
    	margin: 1px 0 5px 4px;
        list-style: none;
    }
    	ul#Menu2 li a {
						font-family: "Droid Serif",Georgia,"Times New Roman",Times,serif;
            display: block;
            width: 250px;
            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:250px; 
      	}
      	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 {
	background: #333;
	height:70px;
	width:858px;
	text-align:center;
	margin:0 11px;
}
  	#jalus p { 
		color: #fff;
		font-size: 12px;
		text-align: center;
		padding-top:20px;
	}
  		#jalus a { 
	   		color: #fff; 
	   		text-decoration: none;
		}
			#jalus a:hover {
				color: #fff;
				text-decoration: underline;
			}