 /* normalizing */
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section {display: block;}
audio,canvas,video {display: inline-block;*display: inline;*zoom: 1;}
audio:not([controls]) {display: none;}

[hidden] {display: none;}
html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body {margin: 0; background: url(images/body-bg.png) center top repeat; }
body,button,input,select,textarea {font-family: sans-serif;}

a, a:link, a:visited, a:hover { color:#0d6c7d; text-decoration:underline; }
a:focus, a:hover,a:active {outline: none; text-decoration:none;}
h2, h3, h4 { color:#2e2e2e; font-weight:700; }
h1 { font-size:30px; color:#2e2e2e; font-weight:600; }
h2 { font-size:14px; margin:0 0 10px; }
abbr[title] {border-bottom: 1px dotted;}
b, strong {font-weight: bold; }
blockquote {margin: 1em 40px;}
dfn {font-style: italic;}
mark {background: #ff0;color: #000;}
pre,code,kbd,samp {font-family: monospace, serif;_font-family: 'courier new', monospace;font-size: 1em;}
pre {white-space: pre;white-space: pre-wrap;word-wrap: break-word;}
q { quotes: none;}
q:before,q:after {content: '';content: none;}
small { font-size: 75%;}
sub,sup { font-size: 75%;line-height: 0; position: relative; vertical-align: baseline;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}
ul,ol {margin-left: 0;padding: 0 0 0 0;}
dd {margin: 0 0 0 40px;}
nav ul,nav ol {list-style: none;list-style-image: none;}
img { border: 0; -ms-interpolation-mode: bicubic;}
svg:not(:root) {overflow: hidden;}
figure {margin: 0;}
form { margin: 0;}
fieldset {border: 1px solid #c0c0c0;margin: 0 2px; padding: 0.35em 0.625em 0.75em;}
legend { border: 0; padding: 0; white-space: normal; *margin-left: -7px; }
button,input,select,textarea {font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle;}
button,input { line-height: normal; }
input { margin:5px 14px; }
input[type="text"] { border:1px solid #b3b3b3; border-left:3px solid #1ea1b8; padding:6px 8px; -webkit-box-shadow: inset 1px 1px 4px rgba(0, 0, 0, .25); -moz-box-shadow: inset 1px 1px 4px rgba(0, 0, 0, .25); box-shadow: inset 1px 1px 4px rgba(0, 0, 0, .25); width:200px;}
input[type="text"]:focus { border:1px solid #1ea1b8; border-left:3px solid #1ea1b8; }
button,input[type="button"], input[type="reset"], .button, input[type="submit"] { cursor: pointer; width:220px; text-align:center; text-transform:uppercase; padding:6px 10px; border:1px solid #41bacf; font-weight:700; color:#222; font-size:15px; *overflow: visible; background: #1ea1b8;
background: -moz-linear-gradient(top,  #1ea1b8 0%, #5fcfe3 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1ea1b8), color-stop(100%,#5fcfe3));
background: -webkit-linear-gradient(top,  #1ea1b8 0%,#5fcfe3 100%);
background: -o-linear-gradient(top,  #1ea1b8 0%,#5fcfe3 100%);
background: -ms-linear-gradient(top,  #1ea1b8 0%,#5fcfe3 100%);
background: linear-gradient(top,  #1ea1b8 0%,#5fcfe3 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1ea1b8', endColorstr='#5fcfe3',GradientType=0 ); -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, .35); -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, .35); box-shadow: 0 1px 5px rgba(0, 0, 0, .35); -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; 
}
button:hover,input[type="button"]:hover, input[type="reset"]:hover, .button:hover, input[type="submit"]:hover { -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .65); -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, .65); box-shadow: 0 1px 4px rgba(0, 0, 0, .65); }
input[type="checkbox"],input[type="radio"] {box-sizing: border-box; padding: 0; margin:3px 0 3px 14px;  *height: 16px; *width: 16px; }
input[type="radio"] { background:url(images/radio-input.png) left top no-repeat; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box;}
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none;}
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none;}
button::-moz-focus-inner,input::-moz-focus-inner {border: 0; padding: 0;}
textarea {overflow: auto; vertical-align: top; }
table {border-collapse: collapse; border-spacing: 0;}

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; clear:both; }

BODY, HTML{width: 100%; height:100%; color:#000000; font-family: Arial; font-size: 14px; margin:0; padding:0;font-family: 'Open Sans', Arial, Helvetica, sans-serif;}

/*EMUMÄE JOOKS STYLES*/
#wrapper, #innerwrap { margin: 0 auto; height: auto !important; min-height: 100%; padding:0;}
#wrapper { background-image: url(images/content-bg.png); background-position:center top; background-repeat: repeat-y; width:980px;}
#innerwrap { background: url(images/header.jpg) center top no-repeat; width:1100px; margin:0 auto;}

/* HEADER */
#header { width:980px;margin:0 auto;height:233px;padding:0;position:relative;}
	#logo { width:250px;height:100px;position:absolute;left:30px;top:85px; background:url("images/spacer.png") 0 0 repeat;}
	#navigation UL {width:980px;margin:0 0 0 15px;padding:10px 0 0;}
		#navigation li {display:inline-block;*display:inline;*zoom:1;margin:0;padding:0;background:url(images/menu-divider.png) left center no-repeat;}
		#navigation li:first-child {background:none;}
		#navigation li a {font-family: 'Open Sans', Arial, Helvetica, sans-serif;color:#fff;text-transform:uppercase;text-decoration:none;font-size:13px;letter-spacing:-0.03em;float:left;padding:5px 10px 5px 13px;text-shadow:1px 1px 1px rgba(27,120,137,.75);}
		#navigation li.current-menu-item a {font-weight:700;}
		#navigation li:hover a {color:#fefefe;padding:4px 10px 6px 13px;text-shadow:1px 1px 2px rgba(13,67,77,.75);}

/* CONTENT */
#content { width:937px; padding:25px 0 110px; margin:0 0 0 15px;}
	#content H1{border-bottom: 5px solid #1ba2b5; text-transform: uppercase; margin:0 0 15px 0;}
	.maincontent {float:left;width:577px; margin:0 25px 25px 25px;}
		.post, #wrapper .page{padding:25px;}
		 .post p, #wrapper .page p{margin:0 0 10px 0;}
		 .type-page { background: url(images/content-box-pattern.png) center top repeat; }
		 .type-page ol{ margin-left:30px; }
	.type-page.table{ padding:0 25px 25px; }
		 .type-page.table td{ padding:2px 10px; }
		 
	#osalejad th { border-bottom:1px solid #1BA2B5; border-top:1px solid #1BA2B5; background-color:#fff; padding:3px 10px; }
	#osalejad td { border-bottom:1px solid #ccc; }
	#sidebar {float:left; width: 298px}
		#sidebar H3{background: url("images/sidebar-header-bg.png") left bottom no-repeat; margin:0; padding:10px 0 20px 10px;}
		#sidebar a { font-size:12px; color:#2e2e2e; text-decoration:none; }
		#sidebar ul ul { list-style-type:disc; padding:0 0 0 30px; }
			#sidebar ul ul li { font-size:12px; }
			#sidebar ul ul li a { color:#2e2e2e; text-decoration:none; }
		#sidebar #text-2 { background: url(images/register-bg.png) center top no-repeat; width:276px; height:88px; margin:0 auto 40px; text-align:center; }
			#sidebar #text-2 h3 { background:none; font-size:14px; color:#333; font-weight:normal; padding:20px 0 0; margin:0; }
			#sidebar #text-2 a.registreeru { font-size:28px; color:#fff; text-decoration:none; padding:0 0 5px; margin:0; line-height:1; }
			#sidebar #text-2 a.osalejad { font-size:14px; color:#2e2e2e; text-decoration:none; padding:20px 0 0; margin: 40px 0 0 0; text-align:left; float:left; }
		
			#sidebar ul ul li a { color:#2e2e2e; text-decoration:none; }
	form input { font-family: 'Open Sans', Arial, Helvetica, sans-serif; }
		form fieldset { position:relative; border:0 none; padding:0; margin:0; }
		form .radiogroup label:hover { cursor:pointer; }
		form .error { font-size:12px; font-weight:normal; text-transform:none; color:#666; padding:0 10px 0 0; position:absolute; white-space:nowrap; top:12px; left:240px; }
		form td { font-size:14px; font-weight:600; text-transform:uppercase; color:#2e2e2e; padding:0 10px 0 0; position:relative; }
	#sidebar .ngg-widget { text-align:center; }
		#sidebar .ngg-widget img { padding:4px; background-color:#f4e7c0; border:1px solid #e9bf61; }
		#sidebar .ngg-widget img:hover { background-color:#f6f1e2; }
		#sidebar .ngg_images .gallery-link { padding:0 0 0 23px; }
		
	.maincontent .ngg-albumoverview {clear:none;display:inline-block !important;margin-top:0;width:auto;}
		.maincontent .ngg-album-compact {height:auto;margin: 0 !important;padding-right:6px !important;}
			.maincontent .ngg-album-compact h4 {font-size:14px;}
			.maincontent .ngg-album-compactbox {background:none;margin:0 !important;padding:5px 0 0 0 !important;width: 120px;height:auto;}
			#wrapper .maincontent .page .ngg-album-compact p {margin:0;}
			.maincontent .ngg-album-compactbox .Thumb {border: 1px solid #999;height:auto;width:100px;}
	.maincontent .ngg-gallery-thumbnail img { background-color:#FFFFFF; border: 1px solid #ddd; height: 155px; width: 155px; }
		.maincontent .ngg-gallery-thumbnail img:hover { background-color:#DAE4E8; }
/* FOOTER */

#footer {width:917px;padding:12px 0 20px 10px;text-align:center;border-top:1px solid #b7b7b7;clear: both;height:75px; font-size:11px; margin:10px 0 0 25px; background:#FFFFFF;}
	#footer p { margin:0 0 10px; display:inline-block; }
	#footer a { color:#222; }
	#footer a.logo-eas-omaalgatus { width:120px; margin:0 auto; }
