/*
Theme Name: DBS
Author: http://webdizainers.lv
*/

* {
	margin: 0;
	padding: 0;
}
body {
	color: #3b3b3b;
	font: 11px/140% Verdana, Helvetica, Arial, sans-serif;
	text-align: center;
	background: #d8d8d8 url(images/bgnd.jpg) 0 0 repeat-x;
}	
#container {
	background-repeat: no-repeat;
	background-position: left bottom;
	z-index: 0;
	margin: 0 auto;
	width: 900px;
	position: relative;
	text-align: left;
}

.nav {
	
	padding-top: 20px;
	margin-left: 90px;
}

#topnav {
	position: relative;
	z-index: 100;
	margin-bottom: 20px;
	background-color: #333333;
	width: 900px;
	height: 30px;
}

#nav {
	position: relative;
	z-index: 60;
}

#nav1 {
	position: relative;
	z-index: 50;
}

#topnav ul.menu {
	margin-left: 10px;
}
#header {
	border-bottom-color: #df262a;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	background-color: #2a2a2a;
	width: 900px;
	height: 144px;
}
#content {
	background-position: 0px 0px;
	background-image: url(images/bgnd-content.jpg);
	background-repeat: repeat-x;
	margin-bottom: 20px;
	background-color: white;
	width: 900px;
}
#contentinner {
	padding-bottom: 20px;
}

.services {
	margin-top: 2px;
	clear: both;
	margin-left: 90px;
	width: 745px;
}

.services ul {
	float:left;
	display:block;
	padding:0 0 10px 0;
	margin:0;
}

.services ul li {
	float:left;
	display:block;
	width:170px;
	padding:0 15px 0 0;
}


.breadcrumb {
	margin-bottom: 20px;
	margin-top: 30px;
	margin-right: 90px;
	margin-left: 90px;
	padding: 5px;
	background-color: white;
	color: #5e5e5e;
}
#mainbody {
	padding-left: 90px;
	margin-right: 25px;
	margin-bottom: 20px;
	width: 535px;
	float: left;
}
#jaunumi {
	border-top: #ebebeb 1px solid;
	padding: 10px 0 15px 90px;
	width: 260px;
	float: left;
}
	
	#jaunumi h1 {
		font-weight: 600;
		font-size:20px;
	}

#home-contact {
	padding-right: 83px;
	padding-left: 13px;
	width: 120px;
	float: right;
}
#banner {
	text-align: right;
	width: 300px;
	float: right;
}
#side {
	margin-bottom: 20px;
	margin-top: 50px;
	width: 160px;
	float: left;
}
#side ul {
	list-style-type:none;
	margin: 0;
}

#side .cd-fb-like-widget{
	height: 520px;
}
#sponsors {
	margin-bottom: 30px;
	margin-left: 35px;
	clear: both;
}

table#table-rows {
	padding: 0px;
	margin: 0px;
}
table#table-rows td {
	padding-bottom: 3px;
	padding-top: 3px;
	border-bottom-color: #c1c1c1;
	border-bottom-width: 1px;
	border-bottom-style: solid;
}

/* absolutes */

#logo {
	z-index: 1;
	width: 220px;
	position: absolute;
	top: 102px;
	left: 70px;
}
#lang {
	text-align: right;
	width: 70px;
	position: absolute;
	top: 5px;
	right: 30px;
	z-index: 1000;
}

#lang span {
	margin-left: 5px;
}


#footer {
	margin-bottom: 30px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	color: #949494;
	width: 900px;
}
.clr {
	clear: both;
}
img {
	border-style: none;
	border-width: 0px;
}

/* Poligons */
.video-float {
	margin-bottom: 10px;
	margin-left: 20px;
	float: right;
}

/* Slider plugin */
.slideTitle {
	background-image: url(images/arrow-down.gif);
	background-repeat: no-repeat;
	background-position: 0px 2px;
	padding-left: 20px;
	font-size: 1.2em;
}
.slideTitleLink {
	margin-bottom: 5px;
	margin-top: 5px;
	display: block;
}
.slideBox {
	margin-bottom: 10px;
}

/* home link replaced by icon */
#menu-item-711 a, #menu-item-712 a, #menu-item-375 a {
	background: transparent url(images/home.png) no-repeat 5px 7px;
	margin-right: 2px;
	width: 1px;
	text-indent: -2000em;
}
#jaunumi li {
	margin-bottom: 10px;
}

/* typography */
#top {
	color: #a0a0a0;
	width: 900px;
	height: 30px;
}
#mainbody {
	text-align: justify;
}
ul, ol {
	margin-left: 2em;
	margin-bottom: 1em;
	margin-right: 0;
	margin-top: 0;
}
p {
	margin-bottom: 10px;
}
h1 {
	margin-bottom: 16px;
	font-weight: normal;
	font-size: 18px;
	line-height: 24px;
	font-style: normal;
	color: #2b2b2b	;
}
h2 {
	font-style: normal;
	font-weight: normal;
	margin-bottom: 5px;
	line-height: 24px;
	font-size: 16px;
	color: #8e8e8e;
}
h3 {
	font-style: normal;
	font-weight: normal;
	font-size: 14px;
	line-height: 16px;
	color: #666666;
	padding-bottom: 8px;
}
h4 {
	padding-top: 10px;
	margin-bottom: 5px;
	font-size: 12px;
	line-height: 16px;
	color: #393939;
}
table.contentpaneopen h4 { /* hack to fix joomla layout */
	margin-top: 5px;
	font-style: normal;
	font-weight: normal;
	font-size: 12px;
	line-height: 16px;
	color: #393939;
}
.small {
	font-size: 10px;
}
.small a:link, .small a:visited {
	color: #df262a;
	text-decoration: none;
	font-size: 10px;
}
strong, b {
	color: #000;
}

a:link, a:visited {
	color: #df262a;
	text-decoration: none;
}
a:active, a:hover {
	color: black;
}

/* Superfish module - repeated in this style sheet because it is after the superfish.css to fix a colour */
.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color: #b8b8b8;
}

#header p { /* FCK puts a p tag around images */
	padding: 0px;
	margin: 0px;
}

/* Admin menu */
#footer a:link, #footer a:visited {
	padding-left: 5px;
	color: #7d7d7d;
	font-style: normal;
	font-weight: normal;
	background: none;
}
#footer a:hover, #footer a:active {
	color: #ed1909;
}
#footer #current>a {
	padding-bottom: 3px;
	padding-top: 1px;
	color: #ed1909;
}
ul.menu {
	display: inline;
	margin-left: 0px;
	list-style-type: none;
}
#footer li {
	display: inline;
	margin-right: 1em;
}

#partners {
	width:720px;
	margin:auto;
	display:block;
	text-align:center;
	
}

.partnersbox {
	width:720px;
	margin-top:30px;
	border-bottom:#dadada 1px solid;
	border-top:#dadada 1px solid;
	padding:10px 0 10px 0;
}

#partners table {
	margin:auto;
	width:720px;
}

#content .gallery {
	margin: 0 auto 18px;
}
#content .gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
#content .gallery img {
	border: 2px solid #cfcfcf;
}
#content .gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
#content .gallery dl {
	margin: 0;
}
#content .gallery img {
	border: 10px solid #f1f1f1;
}
#content .gallery br+br {
	display: none;
}
#content .attachment img { /* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}

#partners td {
	width: 20%;
}

#bkategorija {
	display: none;
	height: 300px;
	width: 460px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -150px 0 0 -230px;
	border: 7px solid #bababa;
}

#bkategorija #flyer {
	background: url(images/300x300-lv.jpg) top left #000000;
	height: 300px;
	width: 460px;
	display: block;
}

#bkategorija #close {
	position: absolute;
	padding: 3px;
	top: 0;
	right: 0;
	z-index: 10000;
	color: #FFFFFF;
	background-color: #000000;
}
