/*Layout*/
body, html {
font-family: verdana;
font-size: 12px;
line-height: 12pt;
background: #ebebeb;
margin:0;
}
/*
#ad1 {
background: url('../e60m5/ad1.png') no-repeat;
background-size: contain;
width:250px;
height:125px;
cursor: pointer;
}
*/
#ad2 {
background: url('../e60m5/akategorijalv.gif') no-repeat;
background-size: contain;
width:250px;
height:125px;
cursor: pointer;
margin-top: 5px;
margin-bottom: 5px;
}

#ad3 {
background: url('../e60m5/250250.svg') no-repeat;
background-size: contain;
width:250px;
height:250px;
cursor: pointer;
margin-top: 5px;
margin-bottom: 5px;
}

#www {
background: url('../e60m5/reklama.svg') no-repeat; 
background-size: contain;
width: 728px; 
height: 90px; 
cursor: pointer;
margin: 6px 0 0 255px;
}

#scroll_ad {
  top: 0;
  margin-top: 1px;
  padding-top: 1px;
  margin-left: 5px;
}


#scroll_ad.fixed {
  position: fixed;
  top: 0;
}

a, visited {
color: #a31e1e;
text-decoration: none;
}

a:hover, a:active {
color: #d85956;
text-decoration: none;
}

h1 {
font-size: 17px;
margin-top: 0;
}

.b10 {
font-size: 10px;
font-weight: bold;
}

.b11 {
font-size: 11px;
font-weight: bold;
}

.b12 {
font-size: 12px;
font-weight: bold;
}

.b13 {
font-size: 13px;
font-weight: bold;
}

.b15 {
font-size: 15px;
font-weight: bold;
}

#wrapper {
	text-align: left;
	margin: 0px auto;
	padding: 6px;
	width: 990px;
	border: 8px solid #ffffff;
	background: white; 
	margin-top: 3px;
}

#header {
border: 1px solid #000000; 
width: 988px; 
height: 162px; 
margin-bottom: 5px; 
background: url('../e60m5/header_bg.png') no-repeat;
}

#clickable_logo {
position: absolute; 
margin-left: 9px; 
margin-top: 5px; 
width: 220px; 
height: 65px; 
cursor: pointer;
}

#top_userinfo {
height: 21px;
margin: 0 0 0 350px;
padding-top: 7px;
color: white;
}

#top_userinfo #logout{ 
font-size: 10px;
color: #eeeeee;
}

#top_userinfo #priv_msg {
background-image: url('../e60m5/envelope_old.gif');
background-repeat: no-repeat;
padding: 0 0 0 18px;
margin: 0 0 0 40px;
cursor: pointer;
color: white;
font-weight: bold;
}

#top_userinfo #priv_msg_none {
color: white;
margin: 0 0 0 20px;
}

#top_userinfo #date_today {
margin-left: 80px; 
font-size: 11px;
}


#forum_search_header {
background: #e7f0f6;
border: 1px solid silver;
padding:8px;
font-size:9px;
}


#solidblockmenu_div {
margin: 8px 0 0 180px;
}

/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */
.solidblockmenu{
margin: 0;
padding: 0;
font-size: 13px;
width: 100%;
height: 30px;
border-left: 1px solid #909090;
}

.solidblockmenu li{
display: inline;
}

.solidblockmenu li a{
float: left;
color: #dfdfdf;
padding: 7px 20px;
text-decoration: none;
border-right: 1px solid #909090;
}

.solidblockmenu li a:hover, .solidblockmenu li .current{
color: #ffffff;
background: #7c7c7c;
}


#side-a {
	float: left;
	width: 170px;
}

#side-a-full {
	float: left;
	width: 675px;
	padding: 0 10px 0 0;	
}

#side-b {
	float: right;
	width: 250px;
	background-color: #ffffff;
}

#side-b center div div, 
#side-b center div a img, 
#side-b center div img, 
#side-b center div embed, 
#side-b center div iframe {
	margin: 0px 0px 5px 0px;
	display:block !important;
}

#side-b center div div embed {
	margin-bottom:0px;
	border:0;
}

#side-b2 {
	float: right;
	width: 300px;
	background-color: #ffffff;
}

#content { 
	float: left;
	width: 540px;
	padding: 0 10px 0 10px;
}

#content_full { 
	float: left;
	width: 805px;
	padding-left: 10px;
}

#footer {
	clear: both;
	margin-top: 20px;
	height: 80px;
	width: 990px;
	margin-left: auto;
	margin-right: auto;
	background: url('../e60m5/footerbg.png') repeat-x;
	color:white;
}

#footerlogo {
background: url('../e60m5/footerpower.png') no-repeat;
width:80px;
height:80px;
float:left;
cursor: pointer;
}

#footercopy {
font-size:10px;
float: left;
width:260px;
line-height:10px;
margin:15px 0 0 8px;
}

#footerlinks {
float:left;
width:auto;
margin-top:30px;
}

#footer a:active, #footer a:link, #footer a:visited {
color:white;
}

/*Beidzas layout*/

/*Komentāri*/
a.coments, a:visited.coments {
color: #ab2020;
font-size: 11px;
}
/*Beidzas komentāri*/


/*Kreisā sāna menu*/
/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

#ddblueblockmenu{
border-bottom-width: 0;
width: 170px;
margin: 0 0 5px 0;
line-height: 10pt;
}

#ddblueblockmenu ul{
margin: 0;
padding: 0;
list-style-type: none;
}

#ddblueblockmenu li a{
display: block;
padding: 3px 3px 3px 10px;
width: 155px; /*185px minus all left/right paddings and margins*/
text-decoration: none;
color: white;
background: #b92a26 url(/themes/e60m5/white_dot.gif) no-repeat left bottom;
border-bottom: 1px solid #ffffff;
margin-left: 1px;
font-size: 11px;
font-weight: normal;
}

#ddblueblockmenu li a.folders{
display: block;
padding: 3px 3px 3px 25px;
width: 140px; /*185px minus all left/right paddings and margins*/
text-decoration: none;
color: white;
background: #b92a26 url(../../files/images/icon_folder_with_dot.gif) no-repeat left bottom;
border-bottom: 1px solid #ffffff;
margin-left: 1px;
font-size: 11px;
font-weight: normal;
}

* html #ddblueblockmenu li a{ /*IE only */
width: 170px; /*IE 5*/
width: 155px; /*185px minus all left/right paddings and margins*/
}

#ddblueblockmenu li a:hover {
background-color: #ca4643;
border-left-color: #ffffff;
}

#ddblueblockmenu #selected a{ /*currently selected tab*/
background: #b92a26;
border-left: 1px solid #ffffff;
width: 154px; /*185px minus all left/right paddings and margins*/
}

#ddblueblockmenu div.menutitle{
color: white;
font-weight: bold;
padding: 3px 0 3px 5px;
background: #000000 url(/themes/e60m5/white_dot.gif) no-repeat left bottom;
border-bottom: 1px solid white;
font-size: 11px;
line-height: 13pt;
}
/*Beidzas kreisā sāna menu*/

/*Bloki*/
.side_block_left{
width: 168px;
background: #f8f8f8;
border: 1px solid #d7d7d7;
margin-bottom: 5px;
}

.side_block_right{
width: 248px;
background: #f8f8f8;
border: 1px solid #d7d7d7;
margin-bottom: 5px;
}

.side_block_inner {
padding: 1px 4px 4px 4px;
}
.side_block_inner2 {
padding: 1px 4px 4px 4px;
background: #dddedf;
margin-left: 1px;
border: 1px solid #a7a7a7;
}

.side_block_left h2{
font-size: 13px;
color: #ffffff;
margin-top: 0;
margin-bottom: 1px;
background: #000000;
padding: 4px 4px 4px 10px;
border-bottom: 1px solid #d7d7d7;
}

.side_block_right h2{
font-size: 13px;
color: #ffffff;
margin-top: 0;
margin-bottom: 1px;
background: #000000;
padding: 4px 4px 4px 10px;
border-bottom: 1px solid #d7d7d7;
}

.admin_block{
background: #f8f8f8;
border: 1px solid #d7d7d7;
margin-top: 5px;
padding-bottom: 3px;
}

.admin_block h2{
font-size: 13px;
color: #ffffff;
margin-top: 0;
margin-bottom: 1px;
background: #ad423c;
padding: 4px 4px 4px 10px;
border-bottom: 1px solid #d7d7d7;
}


/*Jauno BMW selectora bloks*/
.jauni_bmw_selector form {
margin: 0;
padding: 0;
}

.jauni_bmw_selector select {
margin: 5px 0 0 0;
font-size: 14px;
width: 170px;
}

.jauni_bmw_selector input {
margin: 5px 0 5px 0; 
background: orange; 
width: 80px; 
height: 22px; 
color: white; 
font-weight: bold; 
border: 1px solid grey;
}
/**/

#icon_add{
background-image: url('../../files/images/icon_add.gif');
background-repeat: no-repeat;
padding: 0 0 0 12px;
margin: 0 3px 0 3px;
cursor: pointer;
font-size: 11px;
}

#icon_edit{
background-image: url('../../files/images/icon_edit.gif');
background-repeat: no-repeat;
padding: 0 0 0 12px;
margin: 0 3px 0 3px;
cursor: pointer;
font-size: 11px;
}

#icon_delete{
background-image: url('../../files/images/icon_delete.gif');
background-repeat: no-repeat;
padding: 0 0 0 12px;
margin: 0 3px 0 3px;
cursor: pointer;
font-size: 11px;
}

#icon_active{
background-image: url('../../files/images/icon_active.png');
background-repeat: no-repeat;
padding: 0 0 0 12px;
margin: 0 3px 0 3px;
cursor: pointer;
font-size: 11px;
}

#icon_inactive{
background-image: url('../../files/images/icon_inactive.png');
background-repeat: no-repeat;
padding: 0 0 0 12px;
margin: 0 3px 0 3px;
cursor: pointer;
font-size: 11px;
}
/*Beidzas bloki*/

/* Dalījums pa lapām */
.pagination{
padding: 2px;
margin: 12px 0 12px 0;
}

.pagination ul{
margin: 0;
padding: 0;
text-align: left; /*Set to "right" to right align pagination interface*/
font-size: 11px;
}

.pagination li{
list-style-type: none;
display: inline;
padding-bottom: 1px;
}

.pagination a, .pagination a:visited{
padding: 0 4px;
border: 1px solid #d96e6c;
text-decoration: none; 
color: #d96e6c;
}

.pagination a:hover, .pagination a:active{
border: 1px solid #b92723;
color: #000;
background-color: #ffffe0;
}

.pagination li.currentpage{
font-weight: bold;
padding: 0 4px;
border: 1px solid #000000;
background-color: #b92723;
color: #FFF;
}

.pagination li.disablepage{
padding: 0 4px;
border: 1px solid #929292;
color: #929292;
}

.pagination li.nextpage{
font-weight: normal;
}

.pagination li.txt{
color: #424242;
}

* html .pagination li.currentpage, * html .pagination li.disablepage{ /*IE 6 and below. Adjust non linked LIs slightly to account for bugs*/
margin-right: 5px;
padding-right: 0;
}

/* Beidzas dalījums pa lapam */


/*Ziņu formatējums*/
.categorie_list {
float: left;
width: 98%;
border-bottom: 1px silver solid;
margin-bottom: 5px;
padding: 0 4px 5px 4px;
background: #ffffff;
padding-top: 5px;
margin-top: 5px;
line-height: 12pt;
}

.categorie_list a.title, .categorie_list a:visited.title {
font-size: 15px;
font-weight: bold;
}

.categorie_list img.cat_list {
margin: 5px 8px 0 0;
float: left;
border: 1px solid #21578f;
margin-top: 0;
}

.categorie_list h2 {
margin-bottom: 0;
padding-bottom: 0;
margin-top: 0;
padding-top: 0;
}

.categorie_list p.intro {
margin-top: 6px;
}

a.coments, a:visited.coments {
color: #ab2020;
font-size: 11px;
}
/*Beidzas ziņu formatējums*/

/*Erori*/
.error1 {
border: 1px silver solid; 
line-height: 16pt; 
padding: 5px; 
color: red;
}

.error2 {
border: 1px silver solid; 
line-height: 16pt; 
padding: 5px; 
}
/*Beidzas erori*/

/*Placim bilžu pievienošana*/
.is_image {
border: 1px silver solid; 
background: #f8f8f8;
line-height: 16pt; 
padding: 4px;
margin: 7px;
}
.is_image2 {
border: 1px silver solid; 
background: #f4f2c3;
line-height: 16pt; 
padding: 4px;
margin: 7px;
}
/*Placim bilžu pievienošana*/

/*Pogas*/
a.button_delete2, a:visited.button_delete2 {
background: #c81212;
font-size: 9px;
color: white;
padding: 0 3px 0 3px;
text-decoration: none;
border: 1px solid #9c9c9c;
margin: 1px;
}

a.button_edit, a:visited.button_edit {
background: #68a51a;
font-size: 9px;
color: white;
padding: 0 3px 0 3px;
text-decoration: none;
border: 1px solid #9c9c9c;
margin: 1px;
}

a.button_ban, a:visited.button_ban {
background: #000000;
font-size: 9px;
color: white;
padding: 0 3px 0 3px;
text-decoration: none;
border: 1px solid #9c9c9c;
margin: 1px;
}

.button_read_more {
background-image: url(../../files/images/read_more.gif);
background-repeat: no-repeat;
background-position: 0 50%;
padding-left: 20px;
margin-left: 1px;
font-size: 10px;
}

/*Onmousover poga*/
.button2{
padding: 0;
margin: 12px 0 12px 0;
}

.button2 a, .button2 a:visited{
padding: 4px 10px;
border: 1px solid #999999;
text-decoration: none; 
color: #686868;
background-image: url('../e60m5/button2_bg.gif');
background-repeat: repeat-x;
font-weight: bold;
}

.button2 a:hover, .button2 a:active{
border: 1px solid #000000;
color: #000000;
}

.button2f a, .button2f a:visited{
border: 1px solid #999999;
}

.button2f a:hover, .button2f a:active{
border: 1px solid #000000;
}

.button3{
padding: 0;
margin: 12px 0 12px 0;
}

.button3 a, .button3 a:visited{
padding: 4px 5px 4px 24px;
border: 1px solid #999999;
text-decoration: none; 
color: #000000;
background: #f5f7f6;
background-image: url('../../files/images/icon_locked.gif');
background-repeat: no-repeat;
background-position: 2% 50%;
font-weight: bold;
}

.button4{
padding: 0;
margin: 0;
font-size: 11px;
}

.button4 a, .button4 a:visited{
padding: 1px 5px 1px 14px;
border: 1px solid #183a76;
text-decoration: none; 
color: #183a76;
background: #cfddf0;
background-image: url('../../files/images/icon_quote2.gif');
background-repeat: no-repeat;
background-position: 3px 50%;
}

.button4 a:hover, .button4 a:active{
border: 1px solid #000000;
color: #000000;
background: #b1c8e5;
background-image: url('../../files/images/icon_quote2.gif');
background-repeat: no-repeat;
background-position: 3px 50%;
}

.button4 a.clear, .button4 a:visited.clear{
padding: 1px 5px 1px 5px;
border: 1px solid #183a76;
text-decoration: none; 
color: #183a76;
background: #cfddf0;
background-repeat: no-repeat;
background-position: 3px 50%;
}

.button4 a:hover.clear, .button4 a:active.clear{
border: 1px solid #000000;
color: #000000;
background: #b1c8e5;
background-repeat: no-repeat;
background-position: 3px 50%;
}

/*Onmousover poga*/

/*Pogas*/

/*Raksti*/
.main_article {
width: 100%;
margin: 0;
padding: 0 0 8px 0;
background: #ffffff;
}

.main_article a.title, .main_article a:visited.title {
font-size: 16px;
font-weight: bold;
padding-top: 0;
margin-top: 0;
line-height: 16pt;
}

.main_article img.cat_list {
float: left;
margin: 0 8px 0 0;
padding: 0;
border: 1px solid black;
}

.main_article p.intro {
margin: 5px 0 0 0;
padding: 0;
}

table.main_article2 {
margin: 0; 
padding: 0; 
border-top: 1px solid #aaaaaa; 
border-bottom: 1px solid #aaaaaa; 
background: #f0f5f8; 
font-size: 11px;
}

table.main_article2 img {
float: left;
padding: 0;
margin: 0 5px 0 0;
border: 1px solid #000000;
}

a.coments, a:visited.coments {
color: #ab2020;
font-size: 11px;
}

.article_top {
float: left;
width: 98%;
border-bottom: 2px silver solid;
background: #f9f9f9;
margin-bottom: 10px;
padding: 5px 3px 5px 3px;
}

.article_top li{
list-style-type: none;
padding-bottom: 5px;
padding-left: 8px;
font-size: 11px;
}

.article_top li.options{
list-style-type: none;
padding-bottom: 4px;
padding-left: 5px;
font-size: 11px;
font-weight: bold;
}

.article_top p.author{
font-size: 11px;
margin-bottom: 0;
}

.article_body {
line-height: 13pt;
}
/*Raksti*/

/*Svaigākās diskusijas*/

.title_block{ 
background-color: #5684b2;
background-image: url('../e60m5/backgrsection2.gif');
background-repeat: repeat-y;
border: 1px #000000 solid;
font-weight: bold;
font-size: 11px;
color: #ffffff; 
padding: 2px 0 2px 5px;
margin-bottom: 4px;
margin-top: 1em;
}

table.forum_last_posts { 
background-color: #fafafa;
border-collapse: collapse;
border-spacing: 0px; 
}

.forum_last_posts td { 
border-bottom: 1px #cfcfcf solid;
text-align: left;
color: #404040;
background-color: #fafafa;
padding: 1px 0 1px 3px;
font-size: 11px;
}

.forum_last_posts td.date {
font-size: 10px;
color: #7f7f7f;
}

.forum_last_posts a.title {
font-weight: bold;
}
/*Svaigākās diskusijas*/

/*Memberu galerija*/
table.last_member_gal { 
border-collapse: collapse;
border-spacing: 0px; 
}

.last_member_gal td { 
border-bottom: 1px #cfcfcf solid;
text-align: left;
color: #404040;
background-color: #fafafa;
padding: 1px 0 1px 3px;
font-size: 11px;
}

.last_member_gal td.date {
font-size: 10px;
color: #7f7f7f;
}

.last_member_gal a.title {
color: #242424;
text-decoration: none;
font-weight: bold;
}

.last_member_gal a:hover, a:active{
color: #c13744;
text-decoration: none;
}
/*Memberu galerija*/

/*Video galerija*/
table.last_video { 
border-collapse: collapse;
border-spacing: 0px; 
}

.last_video td { 
border-bottom: 1px #f1d6b4 solid;
text-align: left;
color: #404040;
background-color: #f9f6eb;
padding: 1px 0 1px 3px;
font-size: 11px;
}

.last_video td.date {
font-size: 10px;
color: #7f7f7f;
}

.last_video a.title {
font-weight: bold;
}
/*Video galerija*/

/*Izceltie sludinājumi*/
.first_page_cars {
float: left; 
cursor: pointer; 
border: 1px solid #bec4c9; 
background: #f4e6c0; 
margin-right: 6px; 
margin-bottom: 5px; 
padding: 3px; 
height: 115px; 
font-size: 11px;
}
/*Izceltie sludinājumi*/

/*Izceltie sludinājumi info*/
.first_page_cars2 {
float: left; 
cursor: pointer; 
border: 1px solid #bec4c9; 
background: #ededed;
margin-right: 6px; 
margin-bottom: 5px; 
padding: 3px; 
height: 115px;
width: 120px;
font-size: 11px;
color: #df2626;
font-size: 16px;
font-weight: bold;
}
/*Izceltie sludinājumi info*/

/*Lapas vidus*/
#middle1 {
background: #f6f6f6;
padding: 15px;
border: 1px solid #014e82;
}

#middle2 {
background: #f5eed4;
padding: 8px;
margin-bottom: 5px;
border: 1px solid #da973f;
}

#middle3 {
background: #f6f6f6;
padding: 15px;
border: 1px solid #b6c9d6;
width: 426px;
margin-right:auto;
margin-left:auto;
}
/*Lapas vidus*/

/*Privātās ziņas*/
table.priv_msgs { 
width: 100%;
border-collapse: collapse;
border: 2px solid #aec7e0;
}

.priv_msgs td { 
background-color: #fafafa;
padding: 1px 0 1px 3px;
font-size: 11px;
border-bottom: 1px solid #aec7e0;
height: 38px;
}

.priv_msgs tr.unread { 
font-weight: bold;
}

.priv_msgs td.titles { 
background-color: #aec7e0;
font-weight: bold;
height: 25px;
}

.priv_msgs a.title {
font-weight: bold;
}
/*Privātās ziņas*/

/*tabulas*/
.table1 {
border-collapse: collapse;
border-spacing: 0px; 
}

.table1 td {
padding: 4px;
border: 1px solid #b4cce4;
}

#table2 {
border: 1px solid white;
border-collapse: collapse;
border-spacing: 0; 
}
#table2 #td1 td {
border: 1px solid white;
background-color: #e2ebf8;
padding: 5px;
}
#table2 #td2 td {
border: 1px solid white;
background-color: #f3f6fb;
padding: 5px;
}
#table2 th {
background-image: url('../e60m5/cellpic3.gif');
height: 30px;
color: white;
padding: 0 5px 0 5px;
}

#table3 {
border: 1px solid #e1e1e1;
border-collapse: collapse;
border-spacing: 0; 
}
#table3 #td1 td {
border: 1px solid #e1e1e1;
background-color: #e2ebf8;
padding: 5px;
}
#table3 #td2 td {
border: 1px solid #e1e1e1;
background-color: #f3f6fb;
padding: 7px;
}
#table3 th {
background-image: url('../e60m5/cellpic3.gif');
border: 1px solid #e1e1e1;
height: 30px;
color: white;
padding: 0 5px 0 5px;
}

#table3 #subfolder {
background-image: url('../e60m5/subfolder.gif');
background-repeat: no-repeat;
padding: 0 0 0 13px;
margin: 0 0 0 4px;
cursor: pointer;
}

#table3 #subfolder2 {
background-image: url('../e60m5/subfolder2.gif');
background-repeat: no-repeat;
padding: 0 0 0 22px;
margin: 0 0 0 4px;
cursor: pointer;
}

#table4 {
border: 1px solid #cfcfcf;
border-collapse: collapse;
border-spacing: 0; 
}
#table4 #td1 td {
border: 1px solid #cfcfcf;
background-color: #cfcfcf;
padding: 5px;
}
#table4 #td2 td {
border: 1px solid #cfcfcf;
background-color: #f4f4f4;
padding: 5px;
}
#table4 th {
background-image: url('../e60m5/cellpic3.gif');
border: 1px solid #e1e1e1;
height: 30px;
color: white;
padding: 0 5px 0 5px;
}

#table4 p {
font-size: 10px;
margin: 0;
line-height: 9pt;
}

#table5 {
border-spacing: 1px; 
}
#table5 #td1 td {
background-color: #d0e1f1;
padding: 3px;
}
#table5 #td1b td {
background-color: #d0e1f1;
padding: 5px;
}
#table5 #td2 td {
background-color: #ecf2f7;
padding: 5px;
}
#table5 #td3 td {
background-color: #adc6dd;
height: 5px;
}
#table5 #td4 td {
background-color: #ecf2f7;
height: 24px;
padding: 1px;
}
#table5 th {
background-color: #42729d;
height: 26px;
color: white;
padding: 0 5px 0 5px;
}

#table5 #post_time{
background-image: url('../../files/images/posticon.gif');
background-repeat: no-repeat;
padding: 0 0 0 14px;
margin: 0 0 0 4px;
font-size: 9px;
}

#table6 {
width: 100%;
border-collapse: collapse;
border: 2px solid #aec7e0;
}

#table6 td {
background-color: #fafafa;
padding: 5px;
font-size: 11px;
border-bottom: 1px solid #aec7e0;
height: 38px;
}

#table7 {
border-collapse: collapse;
border-spacing: 0; 
}
#table7 td {
background-color: #eaf0f5;
padding: 5px;
text-align: center;
border: 1px solid #ffffff;
}
#table7 th {
background-color: #42729d;
height: 26px;
color: white;
padding: 0 5px 0 5px;
text-align: center;
border: 1px solid #ffffff;
}
/*Tabulas*/

/*Galerija*/
.gallery{
margin-left: 0;
background: #f7f7f7;
margin-top: 5px;
border: 1px solid #e1e1e1;
}

.borderit img{
border: 3px solid #bbbbbb;
margin-top: 10px;
}

.borderit:hover img{
border: 3px solid #f7c53f;
}

.borderit:hover{
color: #f7c53f; /* irrelevant definition to overcome IE bug */
}

.borderit2 img{
border: 3px solid #bbbbbb;
margin-top: 2px;
}

.borderit2:hover img{
border: 3px solid #f7c53f;
}

.borderit2:hover{
color: #f7c53f; /* irrelevant definition to overcome IE bug */
}

.borderit3 img{
border: 1px solid #999999;
}

.borderit3:hover img{
border: 1px solid #000000;
}

.borderit3:hover{
color: #000000; /* irrelevant definition to overcome IE bug */
}
/* Beidzas Galerija */

/*Blockquotes*/
.quoting {
border: 1px solid #9d9d9d; 
background: #ffffff;
padding: 0 8px 8px 8px; 
margin: 8px; 
}
/*
.quoting:first-line {
font-style: italic;
}
*/
/*Blockquotes*/

/*Placis*/
#placis_search_form {
background: #f6f6f6;
padding: 2px;
border: 1px solid #014e82;
font-size: 11px;
}

#placis_search_form select {
font-size: 11px;
border: 1px solid #014e82; 
margin: 0;
padding: 0;
}

#placis_search_form input {
font-size: 11px;
border: 1px solid #014e82; 
margin: 0;
padding: 0;
}

#placis_advert_list {
float: left;
width: 100%;
border: 1px solid #808080;
background: #f9fbfc;
margin-bottom: 5px;
padding: 0;
}

#placis_advert_list h2 {
font-size: 11px;
background: red;
margin: 0;
}

#placis_advert_list img.thumbnail {
float: right;
margin: 2px;
border: 1px solid black;
}
/*Placis*/

.back_menu {
font-size: 15px;
font-weight: bold;
margin-top: 10px;
}

/*Foruma palagu samazinatjs*/
.postbody {
	padding: 0;
	line-height: 1.48em;
	color: #333333;
	width: 620px;
}


.attach-image {
	margin: 3px 0;
	width: 620px;
	max-height: 100%;
	overflow: auto;
}

.attach-image img {
/*	cursor: move; */
	cursor: default;
}

.picinforum {
	max-width: 630px; 
	overflow: auto; 
	overflow-y:hidden;
}

/*Jaunu BMW katalogs*/

#catalogue_main {
	width: 100%;
}
	#catalogue_main h1 {
		margin-bottom: 5px;
	}
	#catalogue_main h1 a {
		color: black;
		text-decoration: none;
	}
	#catalogue_main p.description {
		font-size: 13px;
		display: inline;
		margin-bottom: 3px;
	}
	#catalogue_main table {
		width: 100%;
		border-collapse: collapse;
	}
	#catalogue_main td {
		border-bottom: 1px solid #e1e1e1;
		text-align: center;
	}
	#catalogue_main .producers_main a {
		font-size: 13px;
	}

	#catalogue_main td.helper {
		background-color: #1570a1;
		color: white;
		width: 20px;
		border-bottom: none;
	}
	#catalogue_main td.top, #catalogue_main td.bottom {
		background-color: #1570a1;
		color: white;
		width: 20px;
		text-align: right;
		padding: 20px 4px 0 0;
		border-bottom: none;
	}
	#catalogue_main tr.shadowed {
		background-color: #f3f6f9;
	}
	#catalogue_main td.bottom {
		padding: 0 4px 20px 0;
		border-bottom: none;
		background-image: url('../../files/images/white_corner2.gif');
		background-position: left bottom;
		background-repeat: no-repeat;
	}
	#catalogue_main td.top {
		background-image: url('../../files/images/white_corner.gif');
		background-position: left top;
		background-repeat: no-repeat;
	}
	#catalogue_main td.title {
		background-color: #1570a1;
		color: white;
		text-align: left;
		border-bottom: none;
	}
	#catalogue_main th.title {
		background-color: #65a5c8;
		color: white;
		font-weight: normal;
		padding: 2px;
		border-top: 1px #E1E1E1 solid;
		text-align: center;
	}
	
	
	#catalogue_main div.list ul, #catalogue_main div.list li {
		padding: 0;
		margin: 0;
		list-style-type: none;
	}
	#catalogue_main div.list ul li {
		float: left;
		width: 120px;
		padding: 5px 0; /*pagaidu, paarvietot uz a!*/
	}
	#catalogue_main div.list ul li a {
		display: block;
		text-decoration: none;
	}
	#catalogue_main table td.model {
		text-align: left;
	}
	#catalogue_main table td.specs {
		font-size: 11px;
	}
	
#imgplayer {
	border: 1px solid #2466a3;
	/*border-bottom: none;*/
	width: 330px;
	float: left;
	display: inline;
	margin: 0 10px 10px 0;
	background-image: url('../../files/images/imgplayer/background.gif');
	background-position: bottom left;
	background-repeat: repeat-x;
}
	#imgplayer .menu {
		height: 26px;
	}
		#imgplayer .menu p {
			width: 160px;
			padding: 4px 4px 0 4px;
			margin: 0;
			font-size: 13px;
			text-align: center;
		}
		#imgplayer .menu ul, #imgplayer .menu li {
			margin: 0;
			padding: 0;
			list-style-type: none;
		}
		#imgplayer .menu li, #imgplayer .menu p {
			float: left;
		}
	#imgplayer_link {
		float: left;
		width: 250px; 
		text-align: center;
		padding: 0;
		margin: 0 6px;
	}

#calc { /*liizinga kalkulators modelju galerijaam*/
	border: 2px solid #a0a0a0;
	text-align: left;
	background-color: #f5f5f5;
}
#calc table {
	width: 100%;
}
#calc .description {
	border-bottom: 2px solid #e1e1e1;
	background-color: #f8f9cA;
	margin: 0;
	padding: 4px 6px;
}
#calc h2 {
	font-size: 18px;
	font-weight: bold;
	border-bottom: 2px solid #0f355a;
	padding: 5px 16px;
	margin: 0;
}
#calc h2.lease {
	background-image: url('../img/layout/db_lease.jpg');
	background-position: center right;
	background-repeat: no-repeat;
}
#calc h3 {
	font-size: 14px;
	text-align: left;
	padding: 0 8px;
}
#calc th {
	text-align: left;
	padding: 2px 4px 2px 10px;
	color: black;
}

#calc th.main {
	text-align: left;
	padding: 2px 4px 2px 10px;
	color: #000000;
	font-size: 11px;
	font-weight: normal;	
}

#calc th.total {
	text-align: left;
	padding: 2px 4px 2px 10px;
	color: #af0e0e;
	font-size: 18px;
	font-weight: bold;
}

#calc td.total {
	color: #af0e0e;
	font-size: 18px;
	font-weight: bold;
}

#calc label {
	padding: 2px 4px 2px 1px;
	text-align: left;
	display: block;
	float: left;
	margin-bottom: 2px;
}
#calc br {
	clear: left;
}
#calc input, #calc select {
	width: 70px;
	background-color: #EDEDED;
	border: 1px solid black;
	font-size: 11px;
}
#calc input.km {
	width: 40px;
	background-color: #EDEDED;
	border: 1px solid #af0e0e;
	font-size: 11px;
	text-align: center;
}
#calc .box {
	width: 1.2em;
	background-color: #f5f5f5;
	border: none;
}
#calc label.selector {
}
.calc_push {
cursor: pointer;
}

.side_block_right4{
width: 300px;
background: #f8f8f8;
margin-top: 10px;
padding-bottom: 5px;
}

.side_block_right4 h2.ha2{
font-size: 13px;
color: #ffffff;
margin-top: 0;
margin-bottom: 5px;
background: #517fae;
padding: 4px 4px 4px 10px;
border: 1px solid #d7d7d7;
}

#catalogue_main .submodel th {
	font-weight: normal;
	padding: 0;
	margin: 0;
	border-bottom: 1px solid #e1e1e1;
}
#catalogue_main .submodel h2 {
	font-size: 13px;
	margin: 0;
	padding: 2px;
	text-align: left;
}
#catalogue_main .submodel tr {
	border: 1px #bcbcbc solid;
}
#catalogue_main .submodel td, #catalogue_main .submodel th {
	text-align: left;	
	padding: 4px 4px 4px 10px;
}
#catalogue_main .submodel td {
	text-align: left;
}

/*user llokup*/
p.normal, p.over {
	margin: 0;
	padding: 2px;
	cursor: pointer;
	font: 12px Verdana;
}
p.normal {
	color: #000;
	background: #fafafa;
}
p.over {
	color: #fff;
	background: #517fae;
}
#divLookup {
	border: 1px solid #cfcfcf;
	width: 140px;
	position: relative;
	background: #fafafa;
	
}
/*lookup end*/

/* ######### CSS for Shade Tabs. Remove if not using ######### */

.shadetabs{
padding: 3px 0;
margin-left: 0;
margin: 0;
list-style-type: none;
text-align: left; /*set to left, center, or right to align the menu as desired*/
}

.shadetabs li{
display: inline;
margin: 0;
}

.shadetabs li a{
text-decoration: none;
position: relative;
z-index: 1;
padding: 3px 7px;
margin-right: 3px;
border-top: 1px solid #aeaeae;
border-right: 1px solid #aeaeae;
border-left: 1px solid #aeaeae;
background-color: #b2b2b2;
color: black;
}

.shadetabs li a:hover{
color: black;
}

.shadetabs li a.selected{ /*selected main tab style */
position: relative;
background-color: #6a6a6a;
color: white;
}

.shadetabs li a.selected:hover{ /*selected main tab style */
text-decoration: none;
color: white;
}

.countrytabs_content {
border-top: 3px solid #6a6a6a;
padding-top: 2px;  
margin-top: -1px;
}

.tabcontent{
display:none;
}

@media print {
.tabcontent {
display:block !important;
}
}

/*Serčerim*/
.shadetabs2{
padding: 3px 0;
margin-left: 0;
margin: 0;
list-style-type: none;
text-align: left; /*set to left, center, or right to align the menu as desired*/
}

.shadetabs2 li{
display: inline;
margin: 0;
}

.shadetabs2 li a{
text-decoration: none;
position: relative;
z-index: 1;
padding: 5px 16px;
margin-right: 1px;
background-color: #dddddd;
color: black;
}

.shadetabs2 li a:hover{
color: black;
}

.shadetabs2 li a.selected{ /*selected main tab style */
position: relative;
background-color: #8db8d5;
}

.shadetabs2 li a.selected:hover{ /*selected main tab style */
text-decoration: none;
}

.countrytabs_content2 { 
margin-bottom: 1em; 
margin-top: 1px;
background: #8db8d5;
padding: 10px;
}

.tabcontent2{
display:none;
}

@media print {
.tabcontent2 {
display:block !important;
}
}
/*Beidzas serčeris*/

/*indexSearch formām*/
.index_search_form {
margin: 0;
}

.index_search_form_input{
margin: 0; 
width: 150px; 
font-size: 11px; 
background: url('../../files/images/icon-lupe.gif') no-repeat #ffffff; 
background-position: 1% 50%; 
padding-left: 18px; 
border: 1px solid black;
}

.index_search_form_submit{
margin: 0 3px 0 0; 
background: #ba2824; 
width: 65px; 
color: white; 
font-size: 11px; 
border: 1px solid #f1f1f1;
}
/*indexSearch formām*/

/*Foruma linki*/
.postlink {
	text-decoration: none;
	border-bottom: 1px solid #3b86b9;
}

/*Meklētais vārds*/
span.searchword{
background-color: yellow;
}