/*
Tonuss.lv layout CSS
(c) Tonuss, 2010
Autors: Madars Anzikis, madars@openidea.lv
Dizanis: Edijs Paeglitis
*/
body {
	background: #000;
	padding: 0;
	margin: 0;
}
fieldset, a img {
	border: 0;
}
.clear {
	clear: both;
	font-size: 1px;
	line-height: 0;
	margin: 0;
	padding: 0
}
#wrapper {
	width: 920px;
	margin: 0 auto;
}
#header {
	height: 128px;
	overflow: hidden;
	background: url('http://tonuss.lv/upload/banneri/top.png') no-repeat 50% 100%;
}
#navigation {
	background: url('../img/top-menu.png') no-repeat 0 0;
	height: 42px;
}
#navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
#navigation ul li {
	float: left;
	padding: 0;
	margin: 0;
}
#navigation ul li a {
	float: left;
	padding: 12px 0 10px;
	margin: 0;
	width: 153px;
	text-align: center;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
}
#navigation ul li.selected a {
	color: #FECB00;
}
#navigation ul li a:hover {
	text-decoration: underline;
}
#content-wrapper {
	height: auto !important;
	height: 100px;
	min-height: 100px;
}
#content {
	width: 724px;
	float: left;
  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;  
}
#sidebar {
	float: left;
  padding: 2px 0 0 5px;width:190px;overflow:hidden;   
}
#sidebar .banner {
	text-align: center;
}
#sidebar .banner img {
	padding: 0;
	margin: 0 auto 6px;
	border: 1px solid #ddd;
	width: 160px;
	background: #fff;
}
.bg-index {
	margin: 3px 0 0;
	padding: 0;
	height: auto !important;
	height: 100px;
	min-height: 100px;
	background: #000 url('../img/index-bottom.jpg') no-repeat -8px 0;
  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;  
}
.page-title h2 {
	font-size: 16px;
	line-height: 18px;
	font-weight: bold;
	color: #fff;
	height: 18px;
	padding: 6px 8px 8px;
	margin: 0;
}
.page-title h2 .pager {
	padding: 0;
	font-size: 13px;
	margin: 0 0 0 20px;
	border-right: 1px solid #fff;
}
.style-3 .page-title h2 .pager {
	border-right: 1px solid #03FAFF;
}
.page-title h2 .pager span {
	padding: 0 5px;
	margin: 0;
	border-left: 1px solid #fffE00;
}
.style-3 .page-title h2 .pager span {
	border-left: 1px solid #03FAFF;
}
.page-title h2 .pager span a {
	padding: 0 2px;
	margin: 0;
	color: #fff;
	text-decoration: none;
}
.page-title h2 .pager span.selected a {
	color: #fffE00;
}
.style-3 .page-title h2 .pager span.selected a {
	color: #03FAFF;
}
.page-title h2 {
  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;  
	background: url('../img/h.jpg') no-repeat 0 0;
}
.style-3 .page-title h2 {
	background: url('../img/style-3-h.jpg') no-repeat 0 0;
}
.style-5 .page-title h2 {
	background: url('../img/style-5-h.jpg') no-repeat 0 0;
}
.page-contents {
	padding: 12px 8px;
	background: url('../img/bg1.jpg') repeat 0 0;
	overflow: hidden;
}
.bg-index-inner .page-contents {
	background: transparent;
}
.bg-index-inner .page-title h2 {
	background: transparent;
}
.style-3 .page-contents {
	background: url('../img/bg-style-3.jpg') repeat 0 0;
}
.style-5 .page-contents {
	background: url('../img/bg-style-5.jpg') repeat 0 0;
}
#footer {
	border-top: 1px solid #191919;
	padding: 5px 0;
	margin: 5px 0;
	color: #434343;
}
#footer .left {
	float: left;
	text-align: left;
}
#footer .right {
	float: right;
	text-align: right;
}
#events {
	list-style: none;
	padding: 0;
	margin: 0;
}
#events li {
	float: left;
	width: 345px;
	height: 260px;
	padding: 0;
	margin: 0;
}
.bg-one-inner #events li div.fix {
	background: url('../img/vinjete.png') no-repeat 100% 0;
	float: left;
	width: 320px;
	height: 220px;
	padding: 15px 15px 15px 0;
	margin:  10px 15px 0 0;
	position: relative;
	display: inline;
	overflow: hidden;
}
#events li.first {
	padding-left: 12px;
}
#events li div.inner {
	width: 320px;
	height: 0;
	position: absolute;
	bottom: 0;
	border-bottom: 3px solid #fff;
	left: 0;
}
#events li.bottom div.inner {
	display: none;
}
#events li.first div.inner2 {
	width: 0;
	height: 230px;
	position: absolute;
	right: 0;
	top: 3px;
	border-right: 3px solid #fff;
}
.news-avatar, .news-avatar-large {
	float: left;
	margin: 0 12px 8px 0;
}
#events li h3 {
	padding: 0 0 6px;
	margin: 0;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: bold;
	line-height: 20px;
}
#events li h3 a {
	color: #fff;
	display: block;
}
#events p.date {
	padding: 0;
	margin: 0;
}
.index-col {
	float: left;
	padding: 0;
	margin: 0;
}
#index-col-1 {
	width: 284px;
}
#index-col-2 {
	width: 226px;
}
#index-col-3 {
	width: 214px;
}
/* POLL */
.poll-answers, #poll-questions {
	padding: 0;
	margin: 0;
	list-style: none;
}
.poll-answers li, #poll-questions li {
	background: transparent;
	padding: 1px 0;
	margin: 0;
	font-size: 90%;
}
.poll-answers li span {
	position: absolute;
	font-size: 9px;
	line-height: 9px;
	z-index: 10;
	right: 1px;
	top: -1px;
	color: #fff;
}
.poll-answers li div {
	padding: 0;
	margin: 0 0 2px;
	height: 8px;
	font-size: 1px;
	line-height: 1px;
	position: relative;
}
.poll-answers li div div {
	background: #921;
	padding: 0;
	margin: 0;
	height: 8px;
	z-index: 1;
}
p.poll-bottom {
	margin: 0;
	padding: 5px 0;
}
.poll-archive-box {
	width: 184px;
	height: 300px;
	float: left;
	margin: 0 8px 0 0;
	display: inline;
	overflow: hidden;
	text-align: left;
}
.poll-archive-box .box {
	height: 300px;
	position: relative;
}
.poll-archive-box .box p strong {
	font-size: 90%;
}
/* FORMS */
.form label {
	font-weight: bold;
}
.form fieldset {
	padding: 1em;
	margin: 0 0 1em 0;
}
.form legend {
	font-weight: bold;
	font-size: 1.2em;
}
.form input.text, .form input.title, .form textarea, .form select {
	margin: 0.5em 0;
	border: 1px solid #bbb;
	background: #fff;
}
.form input.text:focus, .form input.smtext:focus, .form input.title:focus, .form textarea:focus, .form select:focus {
	border: 1px solid #666;
}
.form input.text, .form input.title {
	width: 300px;
	padding: 5px;
}
.form input.title {
	font-size: 1.5em;
}
.form textarea {
	width: 390px;
	height: 200px;
	padding: 5px;
}
.form .error, .form .notice, .form .success {
	padding: .8em;
	margin-bottom: 1em;
	border: 2px solid #ddd;
}
.form .error {
	background: #FBE3E4;
	color: #8a1f11;
	border-color: #FBC2C4;
}
.form .notice {
	background: #fff6BF;
	color: #514721;
	border-color: #FFD324;
}
.form .success {
	background: #E6EFC2;
	color: #264409;
	border-color: #C6D880;
}
.form .error a {
	color: #8a1f11;
}
.form .notice a {
	color: #514721;
}
.form .success a {
	color: #264409;
}
/* FORUM */
.forum-table, .forum-table-topic {
	border-collapse: collapse;
	border: 1px solid #1B0C11;
}
.forum-table td, .forum-table-topic td {
	border: 1px solid #1B0C11;
	padding: 4px 8px;
	background: #8D1B57;
	vertical-align: top;
}
.forum-table td img, .forum-table-topic td  img {
  max-width: 560px;
}
.forum-table th {
	background: #4F1430;
	color: #fff;
	border: 1px solid #1B0C11;
	border-bottom: 3px solid #1B0C11;
}
.forum-table-topic .topic td {
	background: #4E1535;
}
.forum-table-topic td.first {
	width: 100px;
}
#forum-latest {
	list-style: none;
	padding: 0 3px;
	margin: 0;
}
#forum-latest li {
	color: #FF0601;
	padding: 6px 1px;
	margin: 0;
	border-bottom: 3px solid #fff;
}
#gallerys, #gallerys-index {
	padding: 0;
	margin: 0;
	list-style: none;
	color: #fff;
}
#gallerys h3, #gallerys p, #gallerys-index h3, #gallerys-index p {
	color: #fff;
	padding: 0;
	margin: 0;
}
#gallerys h3 {
	font-size: 110%;
	height: 28px;
	line-height: 14px;
	padding: 0;
	margin: 0 0 5px 0;
	overflow: hidden;
}
#gallerys-index h3 {
	font-size: 90%;
	height: 26px;
	line-height: 13px;
	padding: 0;
	margin: 0 0 2px 0;
	overflow: hidden;
}
#gallerys p.date {
	font-size: 140%;
}
#gallerys-index p.date {
	font-size: 130%;
}
#gallerys li {
	width: 170px;
	height: 230px;
	position: relative;
	float: left;
	padding: 5px 0 0 7px;
}
#gallerys.images li {
	width: 170px;
	height: 205px;
}
#gallerys li div.inner {
	width: 160px;
	height: 0;
	position: absolute;
	bottom: 0;
	border-bottom: 3px solid #fff;
}
#gallerys li.first div.inner2 {
	width: 0;
	height: 220px;
	position: absolute;
	right: 0;
	border-right: 3px solid #fff;
}
#gallerys.images li.first div.inner2 {
	width: 0;
	height: 190px;
	position: absolute;
	right: 0;
	border-right: 3px solid #fff;
}
#gallerys-index li {
	width: 124px;
	height: 172px;
	position: relative;
	float: left;
	padding: 5px 0 0 10px;
	overflow: hidden;
}
#gallerys-index li.top div.inner {
	width: 116px;
	height: 0;
	position: absolute;
	bottom: 0;
	border-bottom: 3px solid #fff;
}
#gallerys-index li.first div.inner2 {
	width: 0;
	height: 165px;
	position: absolute;
	right: 0;
	border-right: 3px solid #fff;
}
#partners {
	list-style: none;
	padding: 0;
	margin: 10px 0;
}
#partners li {
	float: left;
	width: 200px;
	height: 200px;
	padding: 8px 14px 8px 18px;
	margin: 0 0 10px 0;
	text-align: center;
	position: relative;
	display: inline;
	overflow: hidden;
	background: url('../img/frame.png') no-repeat 19px 0;
}
#partners li img {
	padding: 15px 0 0 0;
}
#partners li div.inner {
	width: 200px;
	left: 20px;
	height: 0;
	position: absolute;
	bottom: 0;
	border-bottom: 3px solid #818568;
}
#partners li.first div.inner2 {
	width: 0;
	height: 196px;
	position: absolute;
	right: 0;
	top: 1px;
	border-right: 3px solid #818568;
}
#comments-list {
	list-style: none;
	padding: 10px 0;
	margin: 0;
}
#comments-list li {
	padding: 5px;
	margin: 0;
}
#comments-list li p.comment-author {
	font-size: 90%;
	padding: 0;
	margin: 0;
}
#comments-block {
	padding: 20px 0;
}
.nextimg {
	float: right;
}
.prewimg {
	float: left;
}
.gallarge {
	text-align: center;
	padding: 5px 0;
}
#smimages {
	text-align: center;
	padding: 5px 0;
	margin: 0;
}
#smimages img {
	border: 1px solid #A23063;
}
#smimages a.sel img {
	border: 1px solid #0098E1;
}
/* twitter posti */
#twitter-posts {
  padding: 7px 0 4px 1px;
}
#twitter-posts ul {
  padding: 4px 0;
  margin: 0;
  list-style: none;
}
#twitter-posts li {
  font-size: 90%;
  padding: 6px 0 6px 2px;
  border-bottom: 1px solid #333;
  margin: 0;
}
#twitter-posts .date {
  font-style: italic;
  color: #ccc;
  padding: 3px 0;
  margin: 0;
  font-size: 90%;
}
