html{
  margin:0;
	padding:0;
	height:100%;
}

input:-webkit-autofill {
    color: #2a2a2a !important; /*important not necessary but if they think so ;)*/
}


body {
  margin:0;
	padding:0;
	height:100%;
	background:#3d4282;
	font-family:arial,sans-serif;
  font-size: x-small;
  background-color: #5f6bae;
  background-image: url(../images/bg_repeat.jpg);
  background-repeat: repeat-x;
}

.forum-image {
	max-width:390px;
	/* IE Image max-width */
	width: expression(this.width > 390 ? 390: true);
}

.image_popup {border-style: solid; border-width: 4px; border-color: black; background-color: black;}

.center{margin-left: auto; margin-right: auto;}
.tcenter{text-align: center;}
.testborder{border: 1px solid red;}
.align_left{float: left;}
.align_right{float: right;}
.top{vertical-align: top;}
.global_container {/* Globalais ramis */
	margin:0 auto;
	width:1000px;
	background:#1c1c1d;
	height:100%;
	min-height:100%;
}

.spacer_top_menu_1{width: 2px; height: 1px;}
.spacer_top_menu_2{width: 2px; height: 1px;}

.main_container{margin:0 auto; height:100%; background: white; width:980px;} /* Pats fons-ramis */
.tb_spacer{height: 10px; background: #1c1c1d;}/* Atstarpe augsa un apaksa */
.page_splitter{width: 980px; }/* Lapas sadalitajs 3 kolonnas*/
.column_1{vertical-align: top; width: 165px; text-align: center; background: #1c1c1d;}/* 1. kolonna*/
.column_2{vertical-align: top; border-left: 1px solid #1C1C1D; border-right: 1px solid #1C1C1D;}/* 2. kolonna*/
.column_3{vertical-align: top; width: 165px; background: #1c1c1d;}/* 3. kolonna*/


.content_container{width: 648px; padding-top: 19px; padding-left: 19px; padding-right: 19px; padding-bottom: 9px;}
.content_container_halfwide {width: 813px; padding: 9px;}
.content_container_wide {width: 980px; padding: 10px; }

.bottom_menu{width: 980px; margin-left: auto; margin-right: auto; background:#1c1c1d;}
.bottom_menu_left {width: 165px;}
.bottom_menu_right {width: 165px;}
.bottom_menu_middle {text-align: center; color: white; font-size: 11px; padding-top: 6px; }
.bottom_menu_item a {color: white; text-decoration: none;}
.bottom_menu_item a:hover {color: #2c90cb;}
.bottom_menu_item_inactive a {color: red; text-decoration: none;}
.bottom_menu_item_inactive a:hover {color: #2c90cb;}

.tunt{width: 980px; margin-left: auto; margin-right: auto; background:#1c1c1d; padding-top: 4px;}
.copyrights{width: 980px; margin-left: auto; margin-right: auto; background:#1c1c1d; padding-top: 4px; padding-bottom: 4px; color: grey; text-align: center; font-size: 11px;}

/* Headeri, augsejie ramji vvv */
.header_1 {position:relative; width: 980px; height: 115px; background-image: url(../images/header_bg.jpg);}
.header_2 {width: 980px; height: 40px; background: #2a65b1; color: white; background: url('../images/events_bar_bg.jpg') no-repeat; background-position: center bottom;}
.header_2_td_1{vertical-align: top; width: 36px; vertical-align: middle;}
.header_2_td_2{font-size: 10px;}
.header_2_td_2 a{color: #FFFFFF; text-decoration:none;}
.header_2_date{width: 480px; text-align: right; padding-right: 10px; font-size: 11px;}
.header_home_link{position:absolute; display:block; width: 310px; height: 60px;top:20px;left:35px;}
/* ^^^ */

.banner_box_1 {position: relative; top: 12px; left: 380px; width: 575px; height: 75px;}
.banner_box_2 {margin: 10px 0px 0px 0px; width: 100%;}
.banner_box_3 {border-top: 10px solid white; margin: 0px 0px 10px 0px; display: block; background: #1c1c1d; height: 80px; color: white; font-size: 10px; clear: both;}
.left_ads_table{height: 200px;}
.adv_top_banner{width: 610px; height: 55px;}
.left_banner_table {margin-top: 4px; margin-bottom: 4px;}
.first_article_box {background-color: red; width: 350px; height: 60px; margin-top: 8px; margin-bottom: 8px;}
.text_banner {padding-top: 4px; padding-right: 4px; padding-left: 4px; text-align: left;}
.text_banner a{font-size: 10px; font-weight: bold; color: #ffffff; text-decoration: none;}
.text_banner a:hover {color: #2c90cb;}


/* Augseja izvelne vvv */
.top_menu_container{position: relative; background: url('../images/top_menu_line.jpg') repeat-x; background-position:bottom center; width: 980px; margin-top: -18px; margin-bottom: 0px;}
.top_menu_table {font-size:11px; font-weight: bold; color: #414046; margin-bottom: 2px;} 
.top_menu_on{text-align: justify; height:15px; padding-top: 2px;  background: url('../images/tmenu_on_2.png') repeat-x; background-position: center bottom;}
.top_menu_off{text-align: justify; height:15px; padding-top: 2px; background: url('../images/tmenu_off_2.png') repeat-x; background-position: center bottom;}
.top_menu_off_inactive{text-align: justify; height:15px; padding-top: 2px; background: url('../images/tmenu_off_2.png') repeat-x; background-position: center bottom;}
.top_menu_on a{color: #414046; text-decoration:none;}
.top_menu_on a:hover {color: #000000;}
.top_menu_off a{color: #f0f0f0; text-decoration:none;}
.top_menu_off a:hover {color: #f2d800;}
.top_menu_off_inactive a{color: red; text-decoration:none;}
/* ^^^ */


/* Kreisas puses izvelne*/
.left_menu_table{font-size: 11px; font-weight: bold; color: #f0f0f0; margin-top: 0px; text-align: left;}
.left_menu_item{background: url('../images/left_menu_item_wide_bg.png') no-repeat center right; width: 165px; height: 19px; padding-left: 10px; padding-right: 5px; border: 1px solid #3d393a;}
.left_menu_item_over{background: url('../images/left_menu_item_wide_bg_over.png') no-repeat center right;}
.left_menu_item:hover{color: #2c90cb; background: url('../images/left_menu_item_wide_bg_over.png') no-repeat center right;}
.left_menu_item a{color: #f0f0f0; text-decoration: none;}
.left_menu_item a:hover{color: #2c90cb;}

.left_menu_item_with_color{background: url('../images/left_menu_item_wide_bg.png') no-repeat center right; width: 165px; height: 19px; padding-left: 3px; border: 1px solid #3d393a;}
.left_menu_item_with_color_over{background: url('../images/left_menu_item_wide_bg_over.png') no-repeat center right;}
.left_menu_item_with_color:hover{color: #2c90cb; background: url('../images/left_menu_item_wide_bg_over.png') no-repeat center right;}
.left_menu_item_with_color a{color: #f0f0f0; text-decoration: none;}
.left_menu_item_with_color a:hover{color: #2c90cb;}

.left_menu_subitem{background: url('../images/left_menu_subitem_wide_bg.png') no-repeat center right; width: 165px; height: 19px; padding-left: 15px; padding-right: 10px; border: 1px solid #1c1c1d}
.left_menu_subitem_over{background: url('../images/left_menu_subitem_wide_bg_over.png') no-repeat center right;}
.left_menu_subitem:hover{color: #2c90cb;background: url('../images/left_menu_subitem_wide_bg_over.png') no-repeat center right;}
.left_menu_subitem a{color: #f0f0f0; text-decoration: none;}
.left_menu_subitem a:hover{color: #2c90cb;}

.left_menu_column_1 {display: block; float: left; width: 14px; }
.left_menu_column_2 {display: block; float: left; width: 140px;}

.left_menu_cat{background: url('../images/left_menu_cat_bg.png') no-repeat; width: 165px; height: 60px; font-size: 19px; letter-spacing: -1px;  text-align:center;}
.left_menu_cat a {background: url('../images/left_menu_cat_bg.png') no-repeat; width: 165px; height: 60px; font-size: 19px; letter-spacing: -1px;  text-align:center; text-decoration: none; color: #f0f0f0}

/* ^^^ */

/* Nejaushie sludinaajumi */
.left_ads_container{width: 165px; color: #ffffff;}
.left_ad_table{margin-left: auto; margin-right: auto; margin-top: 10px; color: #ffffff;}
.left_ad_title a{font-size: 10px; color: #ffffff; text-decoration: none;}
.left_ad_title a:hover{color: #2c90cb;}
.left_ad_price a{font-size: 12px; font-weight: bold; color: #ffffff; text-decoration: none;}
.left_ad_price a:hover{color: #2c90cb;}

/* ^^^ */


/* Balsoshana */

.left_poll_container{width: 165px;}
.poll_question{font-size: 11px; font-weight: bold; padding-top: 2px; padding-bottom: 0px;}
.poll_answer{text-align: left; padding-top: 3px; padding-bottom: 2px;}
.poll_answered{text-align: left; padding-top: 3px; padding-bottom: 2px; padding-right: 10px;}
.poll_spacer{height: 5px; font-size: 1px;}
.vote_button {margin: 0; padding: 0; border: 0; width: 160px; height: 19px; background-image: url('../images/vote_button.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px;}
.poll_error {color: #FF0000}
.question_view_results {padding: 4px;}
.question_view_results a {color: white; text-decoration: none }
.question_view_results a:hover {color: #2f8dca; }

/* ^^^ */


/* Jaunumu saturs */
.top_news_table_1{width: 350px; margin-bottom: 10px;}
.top_news_table_1_title a{font-size: 18px; color: #2f8dca; font-weight: bold; text-decoration: none; text-align: left;}
.top_news_table_1_title a:hover {color: #1C1C1D;}
.top_news_table_1_text a{text-align: justify; font-size: 11px; color: #1c1c1d; text-decoration: none;}
.top_news_table_1_image {padding-top: 10px; padding-bottom: 10px;}

.read_news_table_1{width: 610px; text-align: justify; margin-bottom: 10px;}
.read_news_table_1_cat {font-size: 18px; color: #2f8dca; font-weight: bold; text-decoration: none; padding-bottom: 10px;}
.read_news_table_1_cat a {font-size: 18px; color: #2f8dca; font-weight: bold; text-decoration: none; padding-bottom: 10px;}
.read_news_table_1_cat a:hover {color: #1C1C1D;}
.read_news_table_1_title {font-size: 20px; color: #2f8dca; font-weight: bold; text-decoration: none; padding: 20px 0px 0px 0px;}
.read_news_table_1_date {color: #7c7c7c; padding: 0px 0px 10px 0px; font-size: 11px; font-weight:bold;}
.read_news_table_1_text {color: #1c1c1d; font-size: 11px; color: #1c1c1d; text-decoration: none; line-height: 150%}
.read_news_table_1_text a {color: #2f8dca; }
.read_news_table_1_text a:hover {color: #1C1C1D;}
.read_news_table_1_image {}

.link_back{width: 150px; text-align: right;}
.link_back a{color: #2f8dca; text-decoration: none; font-size: 11px; font-weight:bold;}
.link_back a:hover {color: #1C1C1D;}

.image_video_icon {margin-left: 3px;}

/* Link */
a.link:link{color: #2f8dca; text-decoration: none; font-size: 11px; font-weight:bold;}
a.link:hover{text-decoration: underline; color: #1C1C1D;}
a.link:visited{color: #2f8dca; text-decoration: none; font-size: 11px; font-weight:bold;}
a.link:visited:hover{text-decoration: underline; color: #1C1C1D;}
/* ^^^ */


.cal_link{width: 150px;}
.cal_link a{color: #2f8dca; text-decoration: none; font-size: 11px; font-weight:bold;}

.rate_bar{background: url('../images/rate_bg.png') no-repeat; width: 610px; height: 19px; padding-left: 10px; padding-bottom: 10px; color: white;}
.rate_bar img{vertical-align: middle;}
.rate_bar a{color: white; text-decoration: none;}

.top_news_table_2{width: 247px; margin-left: 10px; margin-bottom: 10px;}
.top_news_table_2 a{color: #1c1c1d; text-decoration: none;}
.top_news_table_2_title a{font-size: 11px; font-weight: bold; color: #2f8dca; text-decoration: none;}
.top_news_table_2_title a:hover {color: #1C1C1D;}

.top_news_table_3_container{width: 340px; margin-bottom: 10px;}
.top_news_table_3_1{vertical-align: top; padding-right: 5px;}
.top_news_table_3_2{vertical-align: top; padding-left: 5px;}
.top_news_table_3{width: 170px;}
.top_news_table_3 a{color: #1c1c1d; text-decoration: none; }
.top_news_table_3_title_1{height: 40px; vertical-align: bottom; padding-right: 5px; padding-bottom: 10px;padding-top: 10px;}
.top_news_table_3_title_1 a{font-size: 11px; font-weight: bold; color: #2f8dca; text-decoration: none;}
.top_news_table_3_title_1 a:hover {color: #1C1C1D;}
.top_news_table_3_title_2{height: 40px; vertical-align: bottom; padding-left: 5px;padding-bottom: 10px;padding-top: 10px;}
.top_news_table_3_title_2 a{font-size: 11px; font-weight: bold; color: #2f8dca; text-decoration: none;}
.top_news_table_3_title_2 a:hover {color: #1C1C1D;}

.top_news_archive_td {width: 310px;}
.top_news_archive a{font-size: 11px; font-weight: bold; color: #2f8dca; text-decoration: none;}
.top_news_archive a:hover {color: #1C1C1D;}
.top_news_archive_title {font-size: 18px; font-weight: bold; color: #2f8dca; padding-bottom: 10px;}
.top_news_archive_title a{font-size: 18px; color: #2f8dca;}
/* ^^^ */

/* Komentaru stils*/
.comments_title {font-size: 18px; color: #2f8dca;}
.comments_title_row{width: 610px; border-bottom: dotted 1px gray; padding-bottom: 10px;}
.comment_avatar{width: 100px; padding: 10px 0px 10px 0px;}
.comment_avatar img{margin: 0px 0px 5px 0px;}
.comment_avatar a{font-size: 11px; font-weight: bold; color: #2f8dca; text-decoration: none;}
.comment_text{font-size: 11px; padding: 10px 0px 10px 0px; vertical-align: top;}
.comment_text p{margin: 0px; color: #7c7c7c; font-size: 10px;}
.comment_text a{color: #2f8dca; text-decoration: none; }
.comment_text a:hover{color: #1C1C1D;}
.comment_table{border-bottom: dotted 1px gray; width: 610px;}
.comments_navi {font-size: 11px; font-weight: bold; padding-top: 20px; text-align: center;}
.comments_navi a{font-size: 11px; font-weight: bold; color: #2f8dca; text-decoration: none;}
.comments_navi a:hover {color: #1C1C1D;}
.link_add_com a{font-size: 11px; font-weight: bold; color: #2f8dca; text-decoration: none;}
.link_add_com{text-align: right;}
.comments_textarea{border: 1px solid gray; margin-top: 5px; margin-left: 4px;}
.comments_input{border-bottom: dotted 1px gray; height: 133px;}
.comments_add_wrapper {float: right; margin-right: 5px; margin-top: 5px;}
.comments_add {margin: 0; padding: 0; border: 0; width: 160px; height: 19px; background-image: url('../images/add_button.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px;}

/* ^^^ */

/* Saistitie raksti */
.related_articles_title {display: block; font-size: 18px; color: #2f8dca; width: 610px; border-bottom: dotted 1px gray; padding-bottom: 10px; margin-bottom: 10px;}
.related_articles_list a {font-size: 11px; font-weight: bold; color: #2f8dca; text-decoration: none;}
.related_articles_list a:hover {color: #1C1C1D;}

/* Arhīva mēneši */
.archive_period {font-size: 18px; color: #2f8dca; width: 610px; border-bottom: dotted 1px gray; padding-bottom: 6px; padding-top: 8px;}

/* Labas puses kastes*/
.rh_box_table {color: white; margin-top: 10px;}
.rh_box_table a{color: white; margin-top: 10px; text-decoration: none;}
.rh_box_title{ background: url('../images/side_title_bg.png') no-repeat; width: 165px; height: 19px; text-align: center;}
.rh_forum_late {padding-left: 10px; font-size: 7pt; padding-bottom: 10px;}
.rh_forum_late a{font-size: 11px; font-weight: bold;}
.rh_forum_late a:hover {color: #2c90cb;}
.rh_forum_late_username a {color: #999999;}
.rh_forum_late_date {color: #999999; font-size: 7pt;}
/* ^^^ */

/* Kreisas puses kastes */
.lh_box_table {color: white; margin-top: 10px;}
/* ^^^ */

/* Login panelis */
.login_input{background: url('../images/login_input_bg.png') no-repeat; border: 0px; width: 165px; height: 18px; font-size: 10px; color: #eeeeee; text-align: center;padding-right:0px;padding-left:0px;}
.login_text_1 a{color: #999999; padding-left: 5px; margin-top: 5px; text-decoration: none;}
.login_text_2 a{color: #999999; padding-left: 5px; padding-top: 0px; text-decoration: none;}
.new_messages a {color: red; font-size: 11px; font-weight: bold;}
.login_text_1 a:hover {color: #2c90cb;}
.login_text_2 a:hover {color: #2c90cb;}
.login_button {margin: 0; padding: 0; border: 0; width: 165px; height: 19px; background-image: url('../images/login_button.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px;}
.logout_text {color: white;margin-left: 8px;margin-top: 8px; margin-bottom: 8px;}
.logout_text a {color: white;}
.login_error {color: #FF0000;margin-left: 4px;}
.login_avatar{text-align: center; padding-top: 5px; padding-bottom: 2px; width: 200px;}

.remember_me_text {color: #999999; margin-left: 7px; text-decoration: none;}
.remember_me_checkbox {display: block; width: 20px; height: 10px;float: left; margin-left: 2px;}
/* ^^^ */

/* Ievadlauki */

.data_input{background-color: white; border-width: 1px; border-style: solid; border-color: #3d393a; width: 165px; height: 18px; font-size: 11px; text-align: center;}
.data_input_num{width: 60px; }
.data_input_day{width: 40px; }
.data_input_month{width: 100px; }
.data_input_year{width: 60px; }
.data_input_area{width: 340px; height: 150px; text-align: left; font-family: arial;}
.select_option{background-color: white; }

/* Registreshanas/profils/personigie iestatijumi */
.reg_box_container{margin: 10px; width: 610px; min-height: 350px; padding-top: 20px; margin-left: auto; margin-right: auto; border: 0px solid gray; background: #1c1c1d url('../images/form_reg_bg.jpg') no-repeat}
.reg_box_row{width: 350px; height: 20px; margin-left: auto; margin-right: auto; margin-top: 7px; border: 0px solid white;}
.reg_box_label{color: #ffffff; float: left; width: 150px; padding-top: 3px;} 
.reg_box_inform{color: #ffffff;}
.reg_box_agreet{color: #ffffff; float: left;}
.reg_box_agreet a {color: #2f8dca;}
.reg_box_agreeb{float: left;}
span.checkbox {width: 19px; height: 25px; padding: 0 0 0 0; background: url('../images/checkbox_sm.png') no-repeat; display: block; margin-top: -5px; }
.reg_button {margin: 0; padding: 0; border: 0; width: 165px; height: 19px; background-image: url('../images/register_button.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px;}
.success_message{font-size:12px;font-weight:bold;color:#009900}
.error_message{font-size:12px;font-weight:bold;color:#ff0000}
.renew_box_container{margin: 10px; width: 610px; min-height: 150px; padding-top: 20px; margin-left: auto; margin-right: auto; border: 0px solid gray; background: #1c1c1d url('../images/form_reg_bg.jpg') no-repeat}
.change_password_box_container{margin: 10px; width: 610px; min-height: 185px; padding-top: 20px; margin-left: auto; margin-right: auto; border: 0px solid gray; background: #1c1c1d url('../images/form_reg_bg.jpg') no-repeat}
.accept_button {margin: 0; padding: 0; border: 0; width: 165px; height: 19px; background-image: url('../images/button_accept.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px;}
.renew_button {margin: 0; padding: 0; border: 0; width: 165px; height: 19px; background-image: url('../images/button_atj_pasw.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px;}

#recaptcha_image {margin-left: auto; margin-right: auto; width: 300px}

/* ^^^ */

/* Aktivizeshana/profils/personigie iestatijumi */
.act_box_container{margin: 10px; width: 610px; min-height: 230px; padding-top: 20px; margin-left: auto; margin-right: auto; border: 0px solid gray; background: #1c1c1d url('../images/form_edit_profile_bg.jpg') no-repeat}
.act_box_row{width: 500px; min-height: 20px; margin-left: auto; margin-right: auto; margin-top: 7px; border: 0px solid white;}
.act_box_label{color: #ffffff; float: left; width: 150px; padding-top: 3px;} 
.act_box_inform{color: #ffffff;}
.act_box_agreet{color: #ffffff; float: left;width: 150px;}
.act_box_agreeb{float: left;}
.act_button {margin: 0; padding: 0; border: 0; width: 165px; height: 19px; background-image: url('../images/activate_button.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px;}
.edit_profile_button {margin: 0; padding: 0; border: 0; width: 165px; height: 19px; background-image: url('../images/edit_profile_button.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px; margin-left: auto; margin-right: auto;}
.save_button {margin: 0; padding: 0; border: 0; width: 165px; height: 19px; background-image: url('../images/save_button.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px;}
.send_pm {margin: 0; padding: 0; border: 0; width: 83px; height: 19px; background-image: url('../images/button_send_pm.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px; margin-left: auto; margin-right: auto;}
.send_email {margin: 0; padding: 0; border: 0; width: 83px; height: 19px; background-image: url('../images/button_send_email.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px; margin-left: auto; margin-right: auto;}

/* ^^^ */

/* Gadiijuma foto stils */
.rnd_img_container{margin-top: 10px;}
/* ^^^ */

/* Galerijas stils */
.clean_padding{padding: 17px 0px 44px 0px;}
.b_gal_sort_title{width: 200px; float: left; font-size: 14px; font-weight: bold; text-align: right; padding: 0px 0px 0px 0px; margin-right: 10px;}
.b_gal_sort_option{float: left;}
.b_gal_sort_option select{font-size: 11px; color: white; background: #1c1c1d; border: 1px solid #3d393a; }
.b_gal_container{width: 100%;}
.gal_page{margin-right: auto; margin-left: auto; float: left; border: 1px solid #3d393a; color: #cfcfcf; background: #1c1c1d; margin: 2px 2px 2px 2px; padding: 5px 14px 5px 14px; background: url('../images/box_button_bg.png') repeat-x; cursor: pointer;}
.gal_page a{text-decoration: none;}
.gal_page:hover{background: url('../images/box_button_bg_over.png') repeat-x;}

.active a{color: #cfcfcf;}
.innactive {color: #707070; cursor: auto;}
.innactive a{color: #707070; cursor: auto;}

.b_gal_page_width{width: auto;}
.b_gal_box{position: relative; border: 1px solid #1c1c1d; padding: 20px; height: 80px; margin-top: 2px; margin-bottom:2px; margin-left: 2px; margin-right: 2px;}
.b_gal_box:hover{border: 3px solid #2f8dca; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;}
.b_gal_txt{margin-left: 20px; width: 430px;}
.b_gal_txt strong a{font-size: 18px; color: #2f8dca; text-decoration: none;}
.b_gal_txt strong a:hover{color: #1c1c1d;}
.b_gal_txt span {font-size: 11px;}
.b_gal_link {font-size: 11px; font-weight: bold; position: relative; display:block;width:100%}
.b_gal_link a{color: #2f8dca; text-decoration: none; }
.b_gal_link a:hover{color: #1c1c1d;}
.b_gal_rating{display:block;width:108px;float: left;}
.b_gal_rating img{border: 0px;}
.b_gal_rating img:hover{border: 0px;}
.b_gal_spacer{height: 20px;}
.b_gal_box_item{position: relative; display: block; border: 1px solid #1c1c1d; height: 76px; width: 120px;  margin: 2px; padding: 10px 2px 10px 13px;}
.b_gal_box_item:hover{border: 3px solid #2f8dca; margin: 0px;}
.gal_item_title{display: block; font-size: 18px; color: #2f8dca; font-weight: bold; width: 440px; }
.gal_item_title a {color: #2f8dca; text-decoration: none; }
.gal_item_title a:hover {color: #1C1C1D;}
.gal_link_back {display: block; width: 160px; text-align: right; margin-top: 8px;}
.gal_link_back a{color: #2f8dca; text-decoration: none; font-size: 11px; font-weight:bold;}
.gal_link_back a:hover {color: #1C1C1D;}
.gal_h_spacer{width: 15px;}
.gal_v_spacer{display: block; height: 15px; clear: both;}
.b_gal_box_comment_count {display: block; position:absolute; top: 10px; left: 127px; min-width: 11px; padding-right: 2px; padding-left: 2px; border-style: solid; border-width: 1px; background-color: white;text-align: center}
.b_gal_box_comment_count a {color: #2f8dca; text-decoration: none;}
.b_gal_box_comment_count a:hover {color: #1C1C1D;}
.b_video_box_comment_count {display: block; position:absolute; top: 29px; left: 118px; min-width: 13px; padding-right: 2px; padding-left: 2px; border-style: solid; border-width: 1px; background-color: white;text-align: center}
.b_video_box_comment_count a {color: #2f8dca; text-decoration: none;}
.b_video_box_comment_count a:hover {color: #1C1C1D;}
.b_gal_box_rating_box {display: block; position:absolute; top: 32px; left: 127px; min-width: 11px; padding-right: 2px; padding-left: 2px; border-style: solid; border-width: 1px; border-color: black; background-color: white;text-align: center; color: white}
.b_gal_box_rating_star {position:absolute; top: 32px; left: 128px; border-width: 0px; width: 14px; height: 14px;}
.b_gal_box_rating_box_top {display: block; position:absolute; top: 10px; left: 127px; min-width: 11px; padding-right: 2px; padding-left: 2px; border-style: solid; border-width: 1px; border-color: black; background-color: white;text-align: center; color: white}
.b_gal_box_rating_star_top {position:absolute; top: 10px; left: 128px; border-width: 0px; width: 14px; height: 14px;}

.random_image {border: 0px; }
.random_video {position:relative; border: 0px; }
.layer_over_video {position:absolute; top: 0px; left: 0px; }
.layer_over_video_small {position:absolute; top: 20px; left: 20px; }

.image_slider_layout {}
.image_slider_image {cursor: pointer; padding-right: 1px; padding-left: 1px; margin-top: 2px; border-width: 0px;}
.image_slider_current_image {cursor: pointer; border-style: solid; border-color: #2f8dca; border-width: 2px;}
.image_area {position: relative;}
#image_nav_left a {display: block; position: absolute; width: 47%; height: 100%; top: 0px; left: 2%; background: url('../images/nav_bg.png') no-repeat; background-position: left center; cursor: pointer;}
#image_nav_left a:hover {display: block; position: absolute; width: 47%; height: 100%; top: 0px; left: 2%; background: url('../images/nav_ar_left.png') no-repeat; background-position: left center; cursor: pointer;}
#image_nav_right a {position: absolute; width: 47%; height: 100%; top: 0px; left: 50%; background: url('../images/nav_bg.png') no-repeat; background-position: right center; cursor: pointer;}
#image_nav_right a:hover {position: absolute; width: 47%; height: 100%; top: 0px; left: 50%; background: url('../images/nav_ar_right.png') no-repeat; background-position: right center; cursor: pointer;}

/* ^^^ */

.img_slider_page a{text-decoration:none;color:#2f8dca;font-weight:bold;padding:3px};

/* Sludinajumu stils */

.adv_container{width: 100%;}
.adv_box{position: relative; border: 1px solid #1c1c1d; padding: 10px; height: 150px; width: 120px; margin:3px;}
.banner_box{padding: 0px; height: 170px; width: 140px;}
.adv_box:hover{border: 3px solid #2f8dca; margin: 1px;}
.adv_h_spacer{width: 6px;}
.adv_v_spacer{display: block; height: 10px; clear: both;}
.adv_image{display: block;}
.adv_price{float: right; text-align: right; color: #ffffff; margin-right: 0px; margin-top: -30px; padding: 3px 7px 3px 7px; font-size: 14px; font-weight: bold; background: url('../images/40_transp.png');}
.adv_del_icon {position: absolute; top: 1px; left: 130px;}

.adv_sponsor{position: absolute;}
.adv_descr a{width: 120px;display: block; font-size: 11px; color: #1c1c1d; text-decoration: none; text-align: justify;}
.adv_descr a:hover{color: #2f8dca;}
.adv_sm_spacer{height: 95px; font-size: 1px;}
.adv_spec{border: 4px solid #1c1c1d; margin: 0px;}
.adv_spec a{font-weight: bold;}
.adv_spec a:hover{color:#ff0000;}
.adv_box_spec:hover{border: 4px solid #ff0000; margin: 0px;}
.spec_price{background: #ff0000;}

.adv_legend{font-size: 9px; padding: 5px 0px 0px 5px;}
.adv_search_table{background: #1c1c1d; font-size: 10px; width: 610px; color: #eeeeee;}
.adv_form {padding: 0px; margin: 0px;}
.adv_form input {font-size: 11px; color: #ffffff; text-align: center; }
.adv_form select {font-size: 11px; color: #ffffff; text-align: center; margin: 0px; padding: 0px;}
.adv_form option {font-size: 11px; color: #ffffff; text-align: center; margin: 0px;}
.adv_form_pad{padding: 20px 20px 20px 20px;}
.adv_search {background: #0f0f0f; border: 1px solid #3d393a;}
.adv_search_sm {background: #0f0f0f; border: 1px solid #3d393a;}
.adv_search select{background: #0f0f0f; border: 1px solid #3d393a; height: 14px;}
.adv_search option{background: #0f0f0f; }
.adv_search_drop{background: #0f0f0f; border: 1px solid #3d393a; height: 16px;}
.adv_select_option {font-size: 11px; color: #fff; vertical-align: middle;}
.adv_short{width: 30px;}
.adv_medium{width: 83px;}
.adv_wide{width: 80%;}

.adv_input_spacing{padding: 0px 0px 5px 5px;}
.adv_button{}
.adv_menu a{display: block; width: 160px; height: 32px; font-size: 20px; color: #2f8dca; font-weight: bold; text-decoration: none; padding-top: 7px;}
.adv_menu a:hover{color: #ffffff;}

.adv_search_button {display: block; margin: 0; padding: 0; border: 0; width: 50px; height: 40px; background-image: url('../images/adv_search_button.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px;}

.ads_tabs{padding-left: 20px; display: block; margin-bottom: 0px; background: url('../images/adv_tab_shadow.png') no-repeat; background-position: left bottom;}
.ads_tab{display: inline-block; font-family: arial; width: 80px; text-align: center; font-size: 15px; font-weight: bold; margin-left: 2px; margin-top: 7px; padding-top: 5px; background: url('../images/adv_tab_bg.png') no-repeat; font-smooth: always;}
.ads_tab_active{background: #1c1c1d; font-size: 18px; background: url('../images/adv_tab_active_bg.png') no-repeat; width: 90px;}
.ads_tabs a{color: #ffffff; text-decoration: none;}
.ads_tabs a:hover{color: #2f8dca;}

.mad_box_container{margin: 10px; width: 610px; min-height: 150px; padding-top: 20px; margin-left: auto; margin-right: auto; border: 0px solid gray; background: #1c1c1d url('../images/form_edit_profile_bg.jpg') no-repeat}
.mad_box_row{width: 500px; min-height: 20px; margin-left: auto; margin-right: auto; margin-top: 7px; border: 0px solid white;}
.mad_box_label{color: #ffffff; float: left; width: 150px; padding-top: 3px;} 
.mad_box_inform{color: #ffffff;}
.mad_box_agreet{color: #ffffff; float: left;width: 150px;}
.mad_box_agreeb{float: left;}
.mad_container{width: 610px;}
.mad_td_images{background: #1c1c1d; padding: 20px 20px 0px 0px; text-align: center; vertical-align: top;}
.mad_td1{background: #1c1c1d; padding: 20px 20px 0px 0px; text-align: center; vertical-align: top;}
.mad_td2{background: white; padding: 20px 20px 0px 0px; text-align: center;width:45%; vertical-align: top;}
.mad_td3{background: white; padding: 20px 0px 0px 20px; text-align: center;width:55%; vertical-align: top;}
.mad_td_buttons{background: white; padding: 20px 20px 0px 0px; text-align: center; vertical-align: top;}
.mad_carfoto{margin-bottom: 3px;}
.mad_smcarfoto_margin{margin-right: 6px;cursor:pointer}
.mad_smcarfoto_default_margin{margin-right: 6px}
.mad_smcarfoto{margin-right: 0px; cursor:pointer}
.mad_smcarfoto_default{margin-right: 0px}
.off_mad_smcarfoto_cont{margin-left: auto; margin-right: auto;}
.off_mad_del a {color: #2f8dca; text-decoration: none;}
.mad_car_desc{margin-bottom: 20px;}
.mad_desc_title{margin-left: 20px; width: 100px; text-align: left; vertical-align: top;}
.mad_desc_value{font-size: 12px; margin-left: 20px; font-weight: bold; text-align: left;}
.mad_desc_value a{color: #2f8dca; text-decoration: none;}
.mad_desc_text_title{margin-left: 20px; width: 100%; text-align: left; vertical-align: top;}
.mad_desc_text_value{font-size: 12px; margin-left: 20px; font-weight: bold; text-align: left;}
.mad_table {font-size: 11px; width: 100%;}
.mad_table_td_data {padding: 5px 5px 5px 5px; color: #1c1c1d; }
.mad_table_td_data:hover {color: #2f8dca;}
.mad_table_td_header {padding: 5px 5px 5px 5px; background: #464A4B; color: white;  font-weight: bold; }
.mad_table_tr td {border-bottom: 1px dotted grey; cursor: pointer;}


.mad_price{position: relative; float: right; text-align: right; color: #ffffff; padding: 3px 10px 3px 10px; margin-top: -80px; font-size: 34px; font-weight: bold; background: url('../images/40_transp.png');}
.mad_sponsor{position: absolute; margin: 20px;}
.mad_mimg{padding: 8px; background: #1c1c1d;}
.mad_adit_img {position: relative; margin: 3px; width: 93px; display: block; float: left;}
.mad_adit_img:hover{border: 3px solid #2f8dca; margin: 0px;}
.mad_img_del {margin: 3px; width: 93px; display: block; float: left; text-align: center;}
.mad_img_del a {color: #2f8dca; text-decoration: none;}
.mad_img_del_icon {position: absolute; top: 3px; left: 80px;}

.mad_specs{width: 303px;}
.mad_txt{width: 293px; padding-left: 10px;}
.mad_txt_txt{font-size: 11px; font-weight: bold; color: #1c1c1d; padding-top: 5px; text-align: justify;}
.mad_sp_spacer{height: 30px;}
.mad_specs_2{font-size: 11px; font-weight: bold; color: #1c1c1d;} 
.search_button {margin: 0; padding: 0; border: 0; width: 165px; height: 19px; background-image: url('../images/search_button.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px;}
.continue_button {margin: 0; padding: 0; border: 0; width: 165px; height: 19px; background-image: url('../images/button_continue.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px;}
.edit_button {margin: 0; padding: 0; border: 0; width: 165px; height: 19px; background-image: url('../images/button_edit.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px;}
.publish_button {margin: 0; padding: 0; border: 0; width: 165px; height: 19px; background-image: url('../images/button_pub_ad.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px;}
.unpublish_button {margin: 0; padding: 0; border: 0; width: 165px; height: 19px; background-image: url('../images/button_stop_ad.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px;}
.prolong_button {margin: 0; padding: 0; border: 0; width: 165px; height: 19px; background-image: url('../images/button_prolong_ad.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px;}

.mad_box_img_row{width: 585px; min-height: 20px; margin-left: auto; margin-right: auto; margin-top: 7px; border: 0px solid white;}
.mad_edit_adit_img {position: relative; margin: 2px; width: 93px; display: block; float: left;}
.mad_edit_smcarfoto_margin{margin-right: 2px;}
.mad_edit_smcarfoto_default_margin{margin-right: 2px}

.mad_sms_td {font-size:11px; vertical-align: top; padding-bottom: 10px;}
/* ^^^ */

/* Kalendaara stils */
.cal_table{width: 610px; margin-top: 20px;}

.cal_month1{background: #30d4e8; vertical-align: middle;width: 22px;}
.cal_month2{background: #02a7ca; vertical-align: middle;width: 22px;}
.cal_month3{background: #a5bd2d; vertical-align: middle;width: 22px;}
.cal_month4{background: #b2e619; vertical-align: middle;width: 22px;}
.cal_month5{background: #6dcd20; vertical-align: middle;width: 22px;}
.cal_month6{background: #00c117; vertical-align: middle;width: 22px;}
.cal_month7{background: #b2e91f; vertical-align: middle;width: 22px;}
.cal_month8{background: #ffc40d; vertical-align: middle;width: 22px;}
.cal_month9{background: #ff7800; vertical-align: middle;width: 22px;}
.cal_month10{background: #7d4a5b; vertical-align: middle;width: 22px;}
.cal_month11{background: #48428a; vertical-align: middle;width: 22px;}
.cal_month12{background: #015aff; vertical-align: middle;width: 22px;}

.cal_td1{width: 30px; padding-left: 3px;}
.cal_td2{width: 15px; padding-top: 5px; padding-bottom: 5px;}
.cal_td3 {width: 400px; padding-top: 5px; padding-bottom: 5px;}
.cal_td3_past a{font-size: 11px; font-weight: bold; color: #848484; text-decoration: none; }
.cal_td3_past a:hover{color:#1c1c1d;}
.cal_td3_present a{font-size: 11px; font-weight: bold; color: #ff3000; text-decoration: none; }
.cal_td3_present a:hover{color:#1c1c1d;}
.cal_td3_future a{font-size: 11px; font-weight: bold; color: #2f8dca; text-decoration: none; }
.cal_td3_future a:hover{color:#1c1c1d;}
.cal_td4{padding-top: 5px; padding-bottom: 5px;}
.cal_tr1{background: #f0f4f7; border-bottom: 1px dotted gray;}
.cal_tr2{background: #ffffff; border-bottom: 1px dotted gray;}
/* ^^^ */

/* Pasakums */
.ev_table{width: 610px; margin-top: 20px;}
.ev_desc{width: 125px; color: #999999;}
.ev_title{font-size: 20px; color: #2f8dca; font-weight: bold; text-decoration: none; padding: 0px 0px 0px 0px;}
.ev_info{color: #2f8dca; font-size: 11px; font-weight:bold; padding-top: 2px; padding-bottom: 2px;}
.ev_info a{color: #2f8dca; text-decoration: none; font-size: 11px; font-weight:bold;}
.ev_info a:hover{color: #1c1c1d;}
.ev_pic{width: 150px; vertical-align: middle; text-align: center;}
/* ^^^ */

/* Profilu stils */
.profile_container{width: 610px;}
.prof_foto{position: relative; margin-bottom: 20px; }
.prof_foto a {color: #2f8dca; text-decoration: none;}
.prof_carfoto{margin-bottom: 3px; width: 420px; height: 280px;}
.prof_smcarfoto_margin{margin-right: 6px;cursor:pointer}
.prof_smcarfoto_default_margin{margin-right: 6px}
.prof_smcarfoto{margin-right: 0px; cursor:pointer}
.prof_smcarfoto_default{margin-right: 0px}
.prof_smcarfoto_cont{margin-left: auto; margin-right: auto;}
.prof_avatar{}
.prof_fotobg1{background: #1c1c1d; padding: 20px; text-align: center;}
.prof_fotobg2{background: #1c1c1d; padding: 20px 20px 0px 0px; text-align: center;}
.prof_fotobg2 a {color: #2f8dca; text-decoration: none;}
.prof_t1{margin-left: 0px; color: #999999;}
.prof_t2{font-size: 12px; margin-left: 0px; font-weight: bold; color: #2f8dca;}
.prof_t2 a {color: #2f8dca; text-decoration: none;}
.prof_t2 a:hover {color: white; }
.prof_t3{margin-left: 20px; color: #ffffff; width: 80px; text-align: left; vertical-align: top;}
.prof_t4{font-size: 12px; margin-left: 20px; font-weight: bold; color: #ffffff; text-align: left;}
.prof_t4 a{color: #2f8dca; text-decoration: none;}
.prof_car_title{font-size: 20px; color: #2f8dca; font-weight: bold; text-decoration: none; padding: 0px 0px 20px 0px;}
.prof_car_desc{margin-bottom: 20px;}
.prof_car_img {position: relative;}
.prof_upl {margin-left: auto; margin-right: auto; margin-bottom: 10px;color: #4f5050;}
.prof_upl a {color: #2f8dca; text-decoration: none;}
.prof_avatar_del_icon {position: absolute; top: 5px; left: 115px;}
.prof_car_del_icon {position: absolute; top: 3px; left: 66px;}
/* ^^^ */

/* Komentari virsrakstos */
.title_comment_count a{font-size:10px; font-weight: bold; color: grey}
.title_comment_count a:hover {color: #1C1C1D;}
/* ^^^ */

/* Notikumu slīdrāde */
#events_scroller{width: 400px;height: 25px;padding: 5px;}

#events_scroller a {color: #FFFFFF; text-decoration:none;}

/* Arhivs */
.archive_row{width: 608px; border-top: dotted 1px gray; padding-top: 10px;}
.archive_title a {font-size: 14px; color: #2f8dca;text-decoration:none; font-weight: bold;}
.archive_title a:hover {color: #1C1C1D;}

.to_top a {color: #2f8dca; text-decoration: none;}
.to_top a:hover {color: #1C1C1D;}

.event_category {font-size: 14px; color: #2f8dca;font-weight: bold;}
.event_year_sep {width: 610px; margin-top: 14px; padding-top: 10px; border-top: dotted 1px gray; }
.event_year {font-size: 14px; color: #2f8dca;font-weight: bold;}


/* Augšuplāde */
.upload_popup {background: url('../images/dialog_upload_bg.png') no-repeat center center; width: 610px; height: 200px;}
.upload_popup_layout {position: relative; top: 100px; left: 220px;}
.upload_label {font-size: 10px; color: grey;}
.upload_popup_input {width: 350px; }
.upload_button_layout {margin-top: 12px; margin-left: -3px;}
.upload_button {margin: 0; padding: 0; border: 0; width: 107px; height: 19px; background-image: url('../images/upload_button.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px;}
.cancel_button {margin: 0; padding: 0; border: 0; width: 107px; height: 19px; background-image: url('../images/cancel_button.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px;}

/* Dzēšana */
.delete_popup {background: url('../images/dialog_delete_bg.png') no-repeat center center; width: 300px; height: 191px;}
.delete_popup_layout {margin-top: 20px; width: 100%}
.delete_label {width: 200px; text-align: center; font-size: 14px; color: black;}
.delete_button_layout {margin-top: 125px; margin-left: 38px;}
.delete_button {margin: 0; padding: 0; border: 0; width: 107px; height: 19px; background-image: url('../images/delete_button.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px;}
.cancel_button_2 {margin: 0; padding: 0; border: 0; width: 107px; height: 19px; background-image: url('../images/cancel_button_2.png'); background-repeat: no-repeat; cursor: pointer; text-indent:-9999px; font-size: 0px; display:block; line-height: 0px;}

/* Dzimšanas un vārda dienu slīdrāde */
#days_scroller{float: right;width: 380px; height: 14px; padding: 0px;}

#days_scroller a {color: #FFFFFF; text-decoration:none; font-weight: bold;}

/* Foruma stilu korekcija */
select {
	font-size: 11px;
}

#timezone {
	font-size: 10px;
}
