/*
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 18px 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);
	}
	
*+html .text ul {
	list-style-image: url(images/bg_ul_ie.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;
	}

	
/* Images */	
.text img {
	padding: 2px;
	border: 1px solid #6d8112;
	}

	
	
	
/* LOGO & FLAGS */
#logo {
	width: 970px; 
	height: 98px;
	background: #e3f0f7;
	}
	
	
/* Logo */	
#logo h2 {
	float: left;
	width: 194px;
	height: 68px;
	margin: 20px 0 0 48px;
	background: url(images/bg_logo_winter.jpg) no-repeat;
	}
	
#logo h2 a {
	display: block;
	height: 68px;
	text-indent: -9999px;
	}
	
	
/* Flags */	
#logo ul {
	float: right; 
	margin: 59px 25px 0 0;
	list-style: none;
	}
	
#logo ul li {
	display: inline;
	margin-left: 6px;
	}
	
#logo ul li a img {
	border: none;
	}
	
	
	
	
/* MAIN MENU */
#menu {
	position: relative;
	z-index: 300;
	width: 930px;
	height: 44px;
	padding: 0 10px 0 30px;
	background: url(images/bg_menu_winter.jpg) no-repeat;
	}
	
#menu ul {
	float: left;
	list-style: none;
	}

#menu ul li {
	float: left;
	position: relative;
	background: url(images/bg_menu_buttons_winter.jpg) 0px 0px repeat-x;
	}

/* First level buttons */
#menu ul li a {
	display: block;
	padding: 17px 19px 13px 20px;
	font: 12px Verdana, Geneva, sans-serif;
	color: #FFF;
	text-transform: uppercase;
	}
	
/* First level hover */
#menu ul li:hover, #menu ul li.page_item.hassub:hover {
	background: url(images/bg_menu_buttons_winter.jpg) 0px -88px repeat-x;
	}
	
	
/* First level arrow */	
#menu ul li.hassub > a:first-child { 
	background-image: url(images/bg_menu_arrow.gif);
	padding-right: 29px; 
	background-position: 90% 23px; 
	background-repeat: no-repeat; 
	}
	
/* Current page */	
#menu ul li.current_page_item > a:first-child {
	background: url(images/bg_menu_buttons_winter.jpg) 0px -44px repeat-x;
	}

	
/* Drop down */	
#menu ul li ul {
	display: none;
	position: absolute;
	width: 225px;
	background: #0a3244;
	}
	
#menu ul li ul li {
	width: 225px;
	}
	
#menu ul ul li a {
	padding: 12px 10px 13px 19px;
	background: #0a3244;
	border-bottom: 1px solid #074868;
	}
	
/* Drop down - current page */
#menu ul ul li.current_page_item > a:first-child {
	background: #0a3244;
	border-bottom: 1px solid #074868;
	}
	
/* Drop down hover */
#menu ul li ul li a:hover, #menu ul ul.chilren li.page_item a:hover {
	background: #072431 !Important;
	}
	
	
	
	
/* SLIDER */
#fp_slides {
	float: left;
	position: relative;
	width: 970px;
	height: 300px;
	overflow: hidden;
	}
	
#fp_slides p {
	float: right;
	position: absolute;
	bottom: 20px;
	right: 15px;
	z-index: 200;
	height: 20px;
	}
	
#fp_slides p a {
	display: block;
	float: left;
	height: 20px;
	width: 20px;
	background: #000000;
	margin-right: 5px;
	}
	
#fp_slides p a.act {
	background: #2c519d;
	}
	
/* #fp_slides img {
	position: absolute;
	display: none;
	width: 970px;
	height: 300px;
	} */
	
	
	
	
/* 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: 635px;
	padding: 22px 20px 0px 0px;
	}
	
	
	
	
/* HOME NEWS */
.news {
	float: left;
	width: 635px;
	padding: 6px 0 19px 0;
	}
	
.news label {
	float: left;
	width: 110px;
	}
	
.news fieldset {
	float: right;
	width: 525px;
	margin-top: -2px;
	border: none;
	}
	
.news p {
	margin-bottom: 3px;
	}
	
.news h5 {
	margin-bottom: 6px;
	}




/* DEFAULT PAGE TEMPLATE, SINGLE */
#content {
	float: left;
	width: 635px;
	padding: 22px 20px 19px 0px;
	}
	
	
	
/* 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: 645px;
	}
	
.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 h3 {
	margin-bottom: -2px;
	}

	
/* 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;
	}


/* Broneeri - button */
li.broneeri a {
	background: url(images/shortway_broneeri.jpg) 0px 0px no-repeat;
	}
	
li.broneeri a:hover {
	background: url(images/shortway_broneeri.jpg) 0px -52px no-repeat;
	}
	

/* Kalender - button */
li.kalender a {
	background: url(images/shortway_kalender.jpg) 0px 0px no-repeat;
	}

li.kalender a:hover {
	background: url(images/shortway_kalender.jpg) 0px -52px no-repeat;
	}


/* Asukoht - button */
li.asukoht a {
	background: url(images/shortway_asukoht.jpg) 0px 0px no-repeat;
	}
	
li.asukoht a:hover {
	background: url(images/shortway_asukoht.jpg) 0px -52px no-repeat;
	}
	
	
/* Ürituste pildid - button */
li.pildid a {
	background: url(images/shortway_pildid.jpg) 0px 0px no-repeat;
	}
	
li.pildid a:hover {
	background: url(images/shortway_pildid.jpg) 0px -52px no-repeat;
	}
	
	
/* Kõrvemaa Facebookis - button */
li.facebook a {
	background: url(images/shortway_facebook.jpg) 0px 0px no-repeat;
	}
	
li.facebook a:hover {
	background: url(images/shortway_facebook.jpg) 0px -52px no-repeat;
	}
	
	
/* Uudiskiri - button */
li.uudiskiri a {
	background: url(images/shortway_uudiskiri.jpg) 0px 0px no-repeat;
	}
	
li.uudiskiri a:hover {
	background: url(images/shortway_uudiskiri.jpg) 0px -52px no-repeat;
	}
	
	
/* Ilm - button */
li.ilm a {
	background: url(images/shortway_ilm.jpg) 0px 0px no-repeat;
	}
	
li.ilm a:hover {
	background: url(images/shortway_ilm.jpg) 0px -52px no-repeat;
	}
	
	
	
	
/* SIDEBAR - SUBMENU */
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);
	}
	
	
/* IE 7 fix */	
*+html ul.submenu ul {
	list-style-image: url(images/bg_submenu_ul_ie.jpg);
	}
	
*+html ul.submenu ul:hover {
	list-style-image: url(images/bg_submenu_ul_ie_hover.jpg);
	}
	



/* FOOTER */
#bottom {
	float: left;
	width: 970px;
	height: 6px;
	margin-right: -20px;
	background: #e3f0f7 url(images/bg_footer.jpg) top no-repeat;
	}

#footer {
	height: 50px; 
	width: 930px;
	margin: 0 auto;
	padding: 35px 10px 40px 30px;
	font: 12px/20px Arial, Helvetica, sans-serif;
	}
	
#footer ul {
	list-style: none;
	border-left: 3px solid #89cff7;
	padding-left: 10px;
	}
	
ul.footer_1 {
	float: left;
	width: 340px;
	}
	
ul.footer_2 {
	float: left;
	width: 275px;
	}
	
ul.footer_3 {
	float: right;
	width: 262px;
	}

	


/* 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;
	}
	
	
	
	
/* 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;
	}