/*
Theme name: Kõrvemaa Matka- ja Suusakeskus
Theme URI: http://www.korvemaa.ee
Version: 2.1
Author: Tarmo Saard
*/


* {
	margin: 0;
	padding: 0;
	}

html, body {
	font: 13px/22px Arial, Helvetica, sans-serif;
	background: #e3f0f7;
	}

#wrapper {
	margin: 0 auto;
	width: 970px;
	background: #FFF;
	}
	
	
/* TYPOGRAPHY */
a {
	color: #007dbd;
	text-decoration: none;
	outline: none;
	}
	
a:hover {
	color: #115777;
	}
	
p {
	margin-bottom: 19px;
	}
	
h1 {
	font: bold 22px Arial, Helvetica, sans-serif;
	margin-bottom: 10px;
	}
	
h2 {	
	font: bold 20px Arial, Helvetica, sans-serif;
	margin-bottom: 10px;
	}
	
h3 {
	font: bold 17px Arial, Helvetica, sans-serif;
	margin-bottom: 12px;
	}
	
h4 {
	font: bold 16px Arial, Helvetica, sans-serif;
	margin-bottom: 13px;
	}
	
h5 {
	font: bold 13px Arial, Helvetica, sans-serif;
	margin-bottom: 14px;
	}
	
h6 {
	font: bold 13px Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	margin-bottom: 11px;
	}
	
	
/* Unordered list */	
.text ul {
	margin: 0px 0px 18px 20px;
	line-height: 22px;
	list-style: inside;
	list-style-image: url(images/bg_ul.jpg);
	}


/* Ordered list */
.text ol {
	margin: 0 0 18px 20px;
	line-height: 22px;
	list-style: inside;
	list-style-type: decimal;
	}
	
/* Blockquote */	
.text blockquote {
	padding-left: 9px;
	border-left: 3px solid #115777;
	color: #686e71;
	}
	
/*** Table ***/
table.prices {
	width: 100%;
	margin: 0 0 20px 0;
	border-collapse: separate;
	border-spacing: 0;
	border-bottom: 1px solid #bfbfbf;
	border-left: 1px solid #bfbfbf;
	}

table.prices th {
	background: #85b10d;
	font-weight: bold;
	color: #FFF;
	}
	
table.prices tr.odd {
	background: #f1f1f1;
	}

table.prices td {
	border-top: 1px solid #bfbfbf;
	border-right: 1px solid #bfbfbf;
	padding: 5px 5px 5px 5px;
	}
	
/* Images */	
.text img {
	padding: 2px;
	border: 1px solid #6d8112;
	}
	
.text img.size-full {
	padding: 0px;
	border: 0;
	}

	
/* LOGO & FLAGS */
#header {
	height: 76px;
	width: 896px; 
	background: #e3f0f7;
	padding: 20px 25px 0px 49px;
	overflow: hidden;
	}
	
#header img {
	border: none;
	}
	
a#logo {
	float: left;
	}
	
	
/* Flags */	
#header ul {
	float: right; 
	margin-top: 30px;
	list-style: none;
	}
	
#header ul li {
	display: inline;
	margin-left: 6px;
	}
	
	
/* MAIN MENU */
#menu {
	float: left;
	position: relative;
	z-index: 300;
	width: 961px;
	height: 39px;
	padding-left: 9px;
	background: url(images/bg_menu.png) 0 0 no-repeat;
	}
	
#menu ul {
	float: left;
	list-style: none;
	}
	
#menu ul li {
	float: left;
	position: relative;
	background: url(images/bg_menu_border.png) right no-repeat;
	}
	
/* Menu items - normal */
#menu ul li a {
	display: block;
	padding-right: 22px;
	font: 12px Verdana, Geneva, sans-serif;
	line-height: 38px;
	text-transform: uppercase;
	color: #FFF;
	}
	
#menu ul li a span {
	display: block;
	padding: 0 0 1px 20px;
	}
	
/* Arrow if has children */
#menu ul li.hassub > a:first-child,
#menu ul li.hassub.current_page_item:hover > a:first-child,
#menu ul li.hassub.current_page_parent:hover > a:first-child,
#menu ul li.hassub.current_page_ancestor:hover > a:first-child {
	background: url(images/bg_menu_arrow_down.png) right 18px no-repeat;
	}

/* Hover */
#menu ul li:hover,
#menu ul li.current_page_item:hover,
#menu ul li.current_page_parent:hover,
#menu ul li.current_page_ancestor:hover {
	background: url(images/bg_menu.png) 0 -78px no-repeat;
	}
	
/*** Second level ***/
#menu ul ul {
	display: none;
	position: absolute;
	width: 200px;
	background: #115676;
	}
	
#menu ul ul li {
	width: 200px;
	background: none !Important;
	border-bottom: 1px solid #3e758f;
	}
	
#menu ul ul li a {
	padding: 10px 20px 11px 20px;
	line-height: 18px;
	color: #FFF !Important;
	}
	
#menu ul ul li a span {
	padding: 0;
	}	
	
/* Second level hover */
#menu ul ul li:hover {
	background: #0a3448 !Important;
	}
	
/* Arrow - second level */
#menu ul ul li.hassub > a:first-child {
	background: url(images/bg_menu_arrow_right.png) right 17px no-repeat!Important;
	}
	
/*** Third level ***/
#menu ul ul ul {
	display: none;
	position: absolute;
	top: 0;
	left: 200px;
	width: 225px;
	background: #146489;
	z-index: 500;
	}
	
#menu ul ul ul li {
	width: 225px;
	}
	
	
/* SLIDER */
#fp_slides {
	float: left;
	width: 970px;
	height: 270px;
	overflow: hidden;
	}
	
	
/* MAIN */
#main {
	float: left;
	width: 935px;
	padding: 0px 5px 0px 30px;
	margin: 5px 0px 0px 0px; 
	background: #FFF url(images/bg_main.jpg) right repeat-y;
	}

	
/* HOMEPAGE CONTENT */
#home {
	float: left;
	width: 626px;
	padding: 22px 29px 21px 0px;
	word-wrap: break-word;
	}

	
/* THREE COLUMNS */
.threecolumn {
	float: left;
	width: 626px;
	padding-top: 6px;
	}
	
.threecolumn ul {
	float: left;
	width: 626px;
	list-style: none;
	}
	
.threecolumn ul li {
	float: left;
	width: 188px;
	padding-right: 15px;
	margin: 0px 15px 35px 0px;
	border-right: 1px solid #d9d9d9;
	}
	
.threecolumn ul li.last {
	margin: 0;
	padding: 0;
	border: 0;
	}
	
.threecolumn img, .column_2 img {
	border: none;
	padding: 0;
	margin-bottom: 12px;
	}
	
.threecolumn h3, .column_2 h3{
	font: bold 15px Arial, Helvetica, sans-serif;
	margin-bottom: 5px;
	}
	
.threecolumn h3 a, .column_2  h3 a {
	color: #64860a;
	}
	
.threecolumn h3 a:hover, .column_2 h3 a:hover{
	color: #4b6300;
	}
	
.threecolumn p, .column_2 p {
	margin-bottom: 9px;
	}
	
a.button {
	float: left;
	font: 11px Verdana, Geneva, sans-serif;
	padding: 3px 10px 4px 9px;
	background: #464a4c;
	color: #FFF;
	}
	
a.button:hover {
	background: #323436;
	color: #FFF;
	}
	
	
/* TWO COLUMN */
.twocolumn {
	float: left;
	width: 626px;
	background: url(images/bg_news.jpg) repeat-y;
	}
	
.twocolumn h4 {
	font: bold 17px Arial, Helvetica, sans-serif;
	margin-bottom: 10px;
	}
	
.column_1 {
	float: left;
	width: 407px;
	margin: -4px 31px 0px 0px;
	}
	
.news {
	float: left;
	width: 407px;
	padding: 6px 0 17px 0;
	}
	
.news_image {
	float: left;
	width: 112px;
	}
	
.news_image img {
	padding: 2px;
	border: 1px solid #64860a;
	}
	
.news_text {
	float: right;
	width: 295px;
	margin-top: -3px;
	}
	
.news_text p {
	margin-bottom: 3px;
	}
	
.news_text h5 {
	margin-bottom: 6px;
	}
	
.column_2 {
	float: right;
	width: 188px;
	margin-top: -4px;
	}


/* DEFAULT PAGE TEMPLATE, SINGLE */
#content {
	float: left;
	width: 626px;
	padding: 22px 29px 21px 0px;
	word-wrap: break-word;
	}
	
/* Webcam */
#content img#mycam  {
	width: 626px;
	overflow: hidden;
	}
	
	
/* GALLERY PAGE TEMPLATE */	
#gallery {
	float: left;
	width: 940px;
	padding: 25px 0 20px 30px;
	}
	
.gallery {
	float: left;
	margin-top: 6px;
	}
	
.gallery-item {
	float: left;
	margin: 0 32px 32px 0;
	padding: 2px;
	border: 1px solid #6d8112;
	}
	
/* Gallery caption */	
.gallery-caption {
	float: left;
	padding-top: 5px;
	width: 150px;
	margin-bottom: -30px;
	font-size: 12px;
	}
	
/* Gallery thumbnail resize */
.gallery a img.attachment-thumbnail {
	float: left;
	margin: -17px 0 -20px 0;
	border: none;
	padding: 0;
	}
	
.gallery dt.gallery-icon {
	width: 150px;
	overflow: hidden;
	}
	
	
/* NEWSLETTER PAGE TEMPLATE */
.cf5 {
	float: left;
	width: 626px;
	}
	
.cf5 p {
	margin-bottom: 10px;
	}
	
.cf5 p label {
	float: left;
	width: 150px;
	}
	
table.register {
	width: 100%;
	}
	
table.register th {
	text-align: left;
	font-weight: normal;
	width: 30%;
	}
	
table.register td {
	padding-top: 5px;
	padding-bottom: 5px;
	vertical-align: top;
	}
	
.subheading {
	padding-top: 15px;
	color: #79980f;
	}
	
table.register td.first {
	width: 30%;´
	}
	
table.register td.second {
	width: 15%;
	padding-top: 10px;
	}
	
table.register td.third {
	width: 30%;
	}
	
table.register td label {
	padding-left: 3px; /* Fix radio buttons */
	}
	
table.register td.fourth {
	padding-top: 10px;
	}
	
.medium {
	width: 200px;
	padding: 2px 0px 2px 2px;
	background: #FFF;
	border: 1px solid #007dbd;
	}
	
.medium:focus {
	background: #FFF;
	border: 1px solid #21a121;
	outline: none;
	}
	
textarea.medium {
	font: 13px Arial, Helvetica, sans-serif;
	}
	
.small, .extra {
	width: 50px;
	padding: 2px 0px 2px 2px;
	background: #FFF;
	border: 1px solid #007dbd;
	}
	
.small:focus, .extra:focus {
	background: #FFF;
	border: 1px solid #21a121;
	outline: none;
	}
	
.send {
	background: #1c5180;
	color: #FFF;
	border: none;
	padding: 2px 3px;
	cursor: pointer;
	}
	
.send:hover {
	background: #00466a;
	}
	
.send:active {
	background: #007dbd;
	}
	

/* SIDEBAR */
#sidebar {
	float: right;
	width: 280px;
	background: url(images/bg_sidebar_top.jpg) top no-repeat;
	}
	
#sidebar h4 {
	font: bold 17px Arial, Helvetica, sans-serif;
	margin-bottom: -2px;
	}
	
#sidebar a.seemore {
	margin-left: 10px;
	}

	
/* SIDEBAR MENU */
ul#menu-sidebar {
	float: left;
	width: 242px;
	padding: 0px 20px 20px 15px;
	list-style: none;
	}
	
ul#menu-sidebar li {
	list-style: none;
	}
	
ul#menu-sidebar a {
	float: left;
	width: 242px;
	height: 52px;
	text-indent: -9999px;
	}
	
	
/* Asukoht - button */
li.asukoht a {
	background: url(images/bg_shortway.jpg) 0px 0px no-repeat;
	}
	
li.asukoht a:hover {
	background: url(images/bg_shortway.jpg) 0px -52px no-repeat;
	}
	
/* Veebikaamera - button */
li.veebikaamera a {
	background: url(images/bg_shortway.jpg) 0px -104px no-repeat;
	}
	
li.veebikaamera a:hover {
	background: url(images/bg_shortway.jpg) 0px -156px no-repeat;
	}

/* Broneeri - button */
li.broneerimine a {
	background: url(images/bg_shortway.jpg) 0px -208px no-repeat;
	}
	
li.broneerimine a:hover {
	background: url(images/bg_shortway.jpg) 0px -260px no-repeat;
	}
	
/* Ürituste pildid - button */
li.uritustepildid a {
	background: url(images/bg_shortway.jpg) 0px -312px no-repeat;
	}
	
li.uritustepildid a:hover {
	background: url(images/bg_shortway.jpg) 0px -364px no-repeat;
	}
	
/* Uudiskiri - button */
li.liituuudiskirjaga a {
	background: url(images/bg_shortway.jpg) 0px -416px no-repeat;
	}
	
li.liituuudiskirjaga a:hover {
	background: url(images/bg_shortway.jpg) 0px -468px no-repeat;
	}

/* Kõrvemaa Facebookis - button */
li.facebook a {
	background: url(images/bg_shortway.jpg) 0px -520px no-repeat;
	}
	
li.facebook a:hover {
	background: url(images/bg_shortway.jpg) 0px -572px no-repeat;
	}
	
/* Looduskool - button */
li.looduskool a {
	background: url(images/bg_shortway.jpg) 0px -624px no-repeat;
	}
	
li.looduskool a:hover {
	background: url(images/bg_shortway.jpg) 0px -676px no-repeat;
	}
	
	
/* SIDEBAR - SUBMENU */
#sidebar img {
	border: none;
	margin-bottom: 10px;
	}
	
.banner {
	float: left;
	width: 242px;
	padding: 20px 0 0 20px;
	}

ul.submenu {
	float: left;
	width: 245px;
	padding: 19px 15px 30px 20px;
	list-style: none;
	font-weight: bold;
	}
	
ul.submenu a {
	color: #6d8112;
	}
	
ul.submenu a:hover {
	color: #115777;
	}
	
ul.submenu ul {
	list-style: inside;
	list-style-image: url(images/bg_submenu_ul.jpg);
	}
	
ul.submenu ul:hover {
	list-style-image: url(images/bg_submenu_ul_hover.jpg);
	}
	

/* FOOTER */
#footer {
	width: 930px;
	height: 284px;
	margin: 0 auto;
	padding: 32px 10px 0px 30px;
	background: #e3f0f7 url(images/bg_footer.jpg) top no-repeat;
	}
	
#footer h4 {
	font: bold 17px Arial, Helvetica, sans-serif;
	margin-bottom: 10px;
	}
	
#footer a {
	color: #0d435c;
	border-bottom: 1px dotted #0d435c;
	}
	
#footer a:hover {
	color: #d01107;
	border-bottom: 1px dotted #d01107;
	}
	
#footer ul {
	float: left;
	width: 188px;
	list-style: none;
	padding-right: 31px;
	}
	
#footer ul li {
	margin-bottom: 7px;
	}
		
#footer_services {
	float: left;
	width: 657px;
	padding-right: 18px;
	}
	
#footer_contact {
	float: right;
	width: 255px;
	}
	
#footer_contact ul {
	float: left;
	padding: 0;
	width: 255px;
	}

	
/* INSERT GALLERY */
.gallery {
	}
	
.gallery-item {
	float: left;
	}
	
.gallery img {
	border: 1px solid #cfcfcf;
	padding: 5px; 
	border: 1px #6d8112 solid;
	margin: 0 25px 15px 0;
	}
	
.gallery-caption {
	margin-left: 0;
	}
	
	
/* CORRECT IMG ALIGN */
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	margin: 0px 0px 2px 10px;
	padding: 2px;
	border: 1px #6d8112 solid;
	display: inline;
	}

img.alignleft {
	padding: 2px;
	margin: 0 10px 2px 0;
	border: 1px #6d8112 solid;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
	
img.size-full {
	margin-bottom: 10px;
	}
	
	
/* EDIT BUTTON FOR ADMIN ONLY */
#home a.post-edit-link, #content a.post-edit-link, #gallery a.post-edit-link {
	float: left;
	padding: 4px 10px 4px 9px;
	margin: -10px 0px 17px 0px;
	background: #49801c;
	font: 12px Arial, Helvetica, sans-serif;
	color: #FFF;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	}
	
/* Edit button - hover */	
#home a.post-edit-link:hover, #gallery a.post-edit-link:hover, #gallery a.post-edit-link :hover {
	background: #43751a;
	}
	
/* Edit button - active */
#home a.post-edit-link:active, #gallery a.post-edit-link:active {
	background: #5e9523;
	padding: 5px 10px 3px 9px;
	}
	
/* Edit button - homepage news */
#home .news a.post-edit-link {
	float: none;
	padding: 0px 0px 0px 9px;
	margin: 0px 0px 0px 5px;
	background: none;
	color: #49801c;
	border-left: 1px solid #666;
	}
	
#home .news a.post-edit-link:hover {
	color: #2b4b10;
	}
	
#home .news a.post-edit-link:active {
	color: #5e9523;
	}
	
	
/* CLEARFIX */
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
	}
	 
.clearfix { 
	display: inline-block; 
	}
	
* html .clearfix { 
	height: 1%; 
	}
	
.clearfix { 
	display: block; 
	}
	
	
/* CLEAR */	
.clear {
	clear: both;
	}
