/*
 * © KasNotiek.lv, 2009
 * www.kasnotiek.lv
 */

/* Main */

* {
	margin: 0;
	padding: 0;
}

body {
	background-color: #fff;
	font-family: Verdana;
	font-size: 11px;
	color: #000;
}

a {
	color: #369;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

img {
	vertical-align: bottom;
	border: 0;
}

a img {
	border: 1px solid #ccc;
	padding: 1px;
}

a:hover img {
	border: 1px solid #555;
}

table {
	border: 0;
	border-spacing: 0;
	border-collapse: collapse;
}

td, th {
	padding: 2px;
}

p {
	line-height: 133%;
	text-align: justify;
}

.clear {
	height: 0;
	font-size: 0;
	clear: both;
}

.hide {
	display: none;
}

.odd td, .odd th {
	background-color: #f5f5f5;
	border-top: 1px solid #ddd;
}

.poga {
	width: auto;
	cursor: pointer;
	background-color: #f9f9f9;
	-moz-border-radius: 3px;
	font-family: Arial;
	font-size: 12px;
	border: 1px solid #ccc;
	padding: 1px 2px;
	text-decoration:none;
	color:#000;
}

.poga:hover {
	background-color: #fff;
	border: 1px solid #aaa;
	text-decoration:none;
}

input, textarea, select {
	font-family: Arial;
	font-size: 12px;
	border: 1px solid #ccc;
	background-color: #fff;
	padding: 1px 2px;
	width: 160px;
}

input:hover, textarea:hover, select:hover {
	border: 1px solid #aaa;
}

input:focus, textarea:focus, select:focus {
	background-color: #fff9ef;
}

textarea {
	overflow: auto;
}

input.c, input.r, input.b, textarea, select {
	width: auto;
}

input.c, input.r, input.b, select {
	cursor: pointer;
}

input.c, input.r {
	vertical-align: middle;
}

input.b {
	background-color: #f9f9f9;
	-moz-border-radius: 3px;
}

input.b:hover {
	background-color: #fff;
}

input.required, textarea.required {
	background-color: #ffcbcb;
	color: #a21212;
	border: 1px solid #eea3a3;
}

h1 {
	color: #dc0000;
	font-size: 14px;
	border-bottom: 1px solid #eee;
	margin-bottom: 10px;
	padding: 0 5px;
	white-space: nowrap;
	overflow: hidden;
}

.contest_title {
	color: #dc0000;
	font-size: 14px;
	border-bottom: 1px solid #eee;
	border-top: 3px solid #eee;
	margin-bottom: 10px;
	padding: 5px 5px;
	font-weight: bold;
	text-align:left;
}

h3 {
	color: #dc0000;
	font-size: 13px;
	border-bottom: 1px solid #eee;
	margin-bottom: 10px;
	padding: 0 5px;
	white-space: nowrap;
	overflow: hidden;
}

h4 {
	font-size: 12px;
	border-bottom: 1px solid #eee;
	margin-bottom: 10px;
	padding: 0 5px;
	white-space: nowrap;
	overflow: hidden;
}

p {
	padding: 2px 5px 8px 5px;
}

ul, ol {
	margin-left: 15px;
}

li {
	padding: 2px 0;
}

.error {
	background-color: #ffcbcb;
	padding: 5px 10px;
	color: #a21212;
	border-top: 2px solid #eea3a3;
	border-bottom: 2px solid #eea3a3;
	margin: 5px 0;
}

.info {
	background-color: #ebffed;
	padding: 5px 10px;
	color: #2e8536;
	border-top: 2px solid #9dcea1;
	border-bottom: 2px solid #9dcea1;
	margin: 5px 0;
}

/* Page structure */

#wrapper {
	width: 990px;
	margin: 0 auto;
	position: relative;
}

#container {
	padding-top: 10px;
}

#sidebar {
	float: left;
	width: 200px;
	padding-right: 10px;
}

#content {
	float: left;
	width: 780px;
}

/* Footer */

#footer {
	border-top: 1px solid #ccc;
	padding: 5px 0 15px 0;
}

#footer ul {
	list-style: none;
	margin: 0;
}

#footer li {
	display: inline;
	padding: 0 5px;
}

/* Header */

#header {
	height: 123px;
	background: url('/images/header_bg.jpg') repeat-x;
	position: relative;
}

#header .cities {
	list-style: none;
	position: absolute;
	top: 41px;
	left: 281px;
	width: 709px;
	height: 40px;
	margin: 0;
	z-index: 2;
	font-weight: bold;
}

#header .cities li {
	float: left;
	font-weight: bold;
}

#header .cities a {
	display: block;
	padding: 14px 8px 0 8px;
	height: 26px;
	color: #fff;
	font-weight: bold;
}

#header .cities ul {
	position: absolute;
	margin: 0;
	top: 40px;
	right: 0;
	background-color: #b90101;
	list-style: none;
	padding: 5px 0;
	width: 160px;
	display: none;
	font-weight: bold;
}

#header .cities ul li {
	float: none;
	padding: 2px 10px;
	font-weight: bold;
}

#header .cities ul a {
	display: inline;
	padding: 0;
	font-weight: bold;
}

#header .categories {
	list-style: none;
	position: absolute;
	top: 82px;
	left: 0;
	width: 990px;
	height: 40px;
	margin: 0;
	z-index: 1;
	font-weight: bold;
}

#header .categories li {
	float: left;
	position: relative;
}

#header .categories a {
	display: block;
	padding: 14px 10px 0 10px;
	height: 26px;
	color: #fff;
}

#header .categories ul {
	list-style: none;
	background-color: #dc0000;
	padding: 10px 0;
	border-top: 1px solid #000;
	position: absolute;
	top: 40px;
	left: 0;
	display: none;
	margin: 0;
}

#header .categories .open ul, #header .cities .open ul {
	display: block;
	margin: 0;
}

#header .categories ul li {
	float: none;
	padding: 3px 10px;
}

#header .categories ul a {
	display: inline;
	padding: 0;
	height: auto;
	white-space: nowrap;
}

#header .active {
	border-color: #fff;
	border-style: solid;
	border-width: 0 1px 0 1px;
}

#header ul .active {
	border: 0;
}

#header .active a {
	font-weight: bold;
}

#header .categories .active ul a, #header .cities .active ul a {
	font-weight: normal;
}

#header .categories .active ul .active a, #header .cities .active ul .active a {
	font-weight: bold;
}

#header .search {
	position: absolute;
	top: 9px;
	left: 290px;
	width: 700px;
	z-index: 3;
}
#header .googletrans {
	position: absolute;
	top: 1px;
	left: 800px;
	width: 100px;
	z-index: 3;
}

#header .search input.t {
	width: 415px;
}

#header a img, #header a:hover img {
	border: 0;
	padding: 0;
}

/* Sidebar */

#sidebar .block {
	border: 1px solid #ccc;
	margin-bottom: 5px;
}

#sidebar .block h2 {
	font-size: 12px;
	padding: 2px 5px;
	background-color: #d2e7ff;
}

#sidebar .block .content {
	padding: 5px;
}

#sidebar .block ul {
	list-style: none;
	margin: 0;
}

#sidebar .block li {
	padding: 3px 0 3px 20px;
}

#sidebar p {
	padding: 0;
}

#banner a img, #banner a:hover img {
	border: 0;
	padding: 0;
}

/* Events listing */

table.events {
	width: 100%;
	background: none !important;
}

table.events td {
	padding: 2px;
}

table.events td {
	border-top: 1px solid #eee;
}

/* Forms */

table.form {
	width: 100%;
	margin-bottom: 15px;
}

table.form th {
	text-align: left;
	padding-left: 10px;
	width: 150px;
}

table.form tr td, table.form tr th {
	border-bottom: 1px solid #eee;
}

table.form tr.last td, table.form tr.last th {
	border: 0;
}

table.form th, table.form td {
	padding: 4px 5px;
}

table.form th span {
	color: #f00;
	text-transform: uppercase;
}

table.form ul {
	list-style: none;
	line-height: 20px;
	margin: 0;
}

table.form td img {
	margin-right: 10px;
}

fieldset {
	padding: 10px;
	border: 1px solid #eee;
	margin-bottom: 10px;
}

fieldset legend {
	padding: 0 5px;
	background-color: #fff;
	color: rgb(51, 102, 153);
}

/* Login */

#login p {
	clear: both;
}

#login label {
	float: left;
	font-weight: bold;
	width: 60px;
	overflow: hidden;
	text-align: right;
	text-transform: lowercase;
	margin-bottom: 4px;
}

#login input.t {
	float: left;
	margin-left: 5px;
	width: 110px;
	margin-bottom: 4px;
}

#login input.b {
	margin-left: 65px;
}

/* Pages */

ul.pages {
	margin: 0;
	margin-bottom: 20px;
	list-style: none;
}

ul.pages li {
	float: left;
	padding: 2px 4px;
	margin-right: 2px;
	border: 1px solid #eee;
}

ul.pages li.active {
	border-color: #fff;
	font-weight: bold;
}

/* Event */

#event .author img {
	margin-bottom: 10px;
}

#event .author, #event .description {
	width: 370px;
	float: left;
	margin-right: 20px;
}

#event .clear {
	height: 20px;
}

#event h2 {
	font-size: 14px;
}

#event .author h2 {
	margin: 20px 0 3px 0;
}

#event .description h2 {
	margin-bottom: 15px;
}

#event ul {
	list-style: none;
	margin: 0;
	margin-bottom: 15px;
}

#event ul strong {
	color: #dc0000;
}

#event .description li {
	font-size: 12px;
}

#event p {
	padding-left: 0;
	padding-right: 0;
}

#event .author .suggest li {
	padding: 3px 20px;
}

/* Tools */

#tools {
	list-style: none;
	border-bottom: 1px solid #eee;
	margin: 0;
	margin-bottom: 5px;
	padding-bottom: 5px;
}

#tools li {
	padding: 3px 20px;
}

/* Icons */

ul.iconset {
	list-style: none;
	margin: 0;
	margin-bottom: 10px;
}

ul.iconset li {
	padding: 3px 0 3px 20px;
}

.edit-profile {
	background: url('/images/icons/edit-profile.png') no-repeat 0 1px !important;
}

.stats {
	background: url('/images/icons/stats.png') no-repeat 0 1px !important;
}

.media {
	background: url('/images/icons/multimedia.png') no-repeat 0 1px !important;
}

.go-email {
	margin-top: 10px;
	background: url('/images/icons/go-email.png') no-repeat 0 1px !important;
}

.logout {
	margin-top: 10px;
	background: url('/images/icons/logout.png') no-repeat 0 1px !important;
}

.add-event {
	background: url('/images/icons/silk/calendar_add.png') no-repeat 0 1px !important;
}

.events {
	margin-top: 10px;
	background: url('/images/icons/silk/calendar.png') no-repeat 0 1px !important;
}

.admin {
	margin-top: 10px;
	background: url('/images/icons/admin.gif') no-repeat 0 1px !important;
}

.edit {
	background: url('/images/icons/edit.png') no-repeat 0 1px !important;
}

.delete {
	background: url('/images/icons/delete.gif') no-repeat 0 1px !important;
}

.ifrype {
	background: url('/images/icons/ifrype.png') no-repeat 0 1px !important;
}

.comments {
	background: url('/images/icons/comment.png') no-repeat 0 1px !important;
}

.send {
	background: url('/images/icons/email.png') no-repeat 0 1px !important;
}

.move {
	background: url('/images/icons/move.png') no-repeat 0 1px !important;
}

.photo {
	background: url('/images/icons/silk/image.png') no-repeat 0 1px !important;
}

.photo-add {
	background: url('/images/icons/silk/image_add.png') no-repeat 0 1px !important;
}

.video {
	background: url('/images/icons/silk/film.png') no-repeat 0 1px !important;
}

.video-add {
	background: url('/images/icons/silk/film_add.png') no-repeat 0 1px !important;
}

.audio {
	background: url('/images/icons/silk/ipod_cast.png') no-repeat 0 1px !important;
}

.audio-add {
	background: url('/images/icons/silk/ipod_cast_add.png') no-repeat 0 1px !important;
}

.link {
	background: url('/images/icons/silk/link.png') no-repeat 0 4px !important;
}

.gallery {
	background: url('/images/icons/silk/folder_image.png') no-repeat 0 2px !important;
}

.news {
	background: url('/images/icons/silk/book_open.png') no-repeat 0 4px !important;
}

.change-password {
	background: url('/images/icons/silk/key.png') no-repeat 0 1px !important;
}

.contests {
	background: url('/images/icons/silk/star.png') no-repeat 0 1px !important;
}

.views {
	background: url('/images/icons/silk/eye.png') no-repeat 0 1px !important;
}

.webcam {
	background: url('/images/icons/silk/camera.png') no-repeat 0 3px !important;
}

/* Calendar */

#calendar table {
	width: 100%;
}

#calendar td {
	text-align: center;
}

#calendar .days {
	margin-top: 5px;
}

#calendar .holiday, #calendar .holiday a {
	color: #dc0000;
}

#calendar .active {
	font-weight: bold;
	background-color: #eee;
}

/* Media */

#media_new {
	width: 320px;
	float: right;
	padding-left: 10px;
}

#media_new .content img {
	padding: 2px;
	margin-right: 10px;
}

#media_new .item img, #media_new .item ul {
	float: left;
}

#media_new .item ul {
	list-style: none;
	margin: 0;
	width: 140px;
}

#media_new .item li {
	padding: 0;
}

#media_new .item a.title {
	font-weight: bold;
}

#media_new .item .clear {
	height: 10px;
}

#media_new .item p {
	padding: 0;
}

#media_content {
	float: left;
	width: 570px;
}

#media_content ul.details {
	list-style: none;
	margin: 10px 0;
}

#media_content .description {
	padding: 5px;
	border: 1px solid #eee;
	margin-top: 5px;
}

#media_sidebar {
	float: right;
	width: 200px;
	padding-left: 10px;
}

#videos ul {
	list-style: none;
	margin: 0;
}

#videos img {
	padding: 1px;
}

#videos .item {
	float: left;
	margin-right: 15px;
	width: 127px;
	overflow: hidden;
	white-space: nowrap;
}

#videos .clear {
	height: 15px;
}

.media_edit {
	width: 100%;
}

#event_media {
	margin-bottom: 20px;
}

#event_media img {
	margin-right: 10px;
}

/* Search */

#search .spinner {
	width: 200px;
	margin: 0 auto;
	padding: 10px;
	background-color: #f5f5f5;
	border: 1px solid #ccc;
	text-align: center;
}

#search .spinner p {
	text-align: center;
}

#search .contents {
	display: none;
}

/* Comments */

#comments .content {
	display: none;
}

#comments .spinner {
	height: 26px;
	background: #fff url('/images/spinner_black_white.gif') no-repeat 10px 5px;
}

#comments form {
	position: relative;
}

#comments form .spinner {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
}

/* News */

#news_item a.fancy img {
	float: left;
	margin-right: 10px;
}

#news_item .body {
	font-weight: bold;
}

#news_item .clear {
	height: 10px;
	margin-bottom: 10px;
	border-bottom: 1px dashed #ccc;
}

#news_index .top {
	float: left;
	width: 250px;
	padding-right: 10px;
}

#news_index .top p {
	padding-left: 0;
	padding-right: 0;
}

#news_index .top img {
	margin-bottom: 5px;
}

#news_index .top a.title {
	font-size: 12px;
	font-weight: bold;
}

#news_index ul.latest {
	float: left;
	width: 500px;
}

/* Suggestions */

#suggestions .item {
	padding: 0;
	margin-right: 8px;
	float: left;
}

#suggestions .clear {
	height: 8px;
}

/* Profiles */

#profiles .profile {
	float: left;
	width: 250px;
	height: 80px;
	margin-right: 7px;
	padding: 1px;
	border: 1px solid #ccc;
	overflow: hidden;
	text-align: left;
}

#profiles .clear {
	height: 7px;
}

#profiles a img {
	border: 0;
	padding: 0;
	float: left;
	margin-right: 5px;
}

#profiles a:hover img {
	border: 0;
}

#profiles .over {
	border: 1px solid #555;
}

#profiles a.title {
	font-weight: bold;
}

/* Webcams */

#webcam .tmp {
	display: none;
}

/* RATER PLUGIN */
.ui-rater>span {vertical-align:top;}
.ui-rater-rating {margin-left:.8em}
.ui-rater-starsOff, .ui-rater-starsOn {display:inline-block; height:10px; background:url(/images/stars.gif) repeat-x 0 0px;width:50px;}
.ui-rater-starsOn {display:block; max-width:50px; top:0; background-position: 0 -10px;}
.ui-rater-starsHover {background-position: 0 -20px!important;}