* {
    margin: 0;
    padding: 0;
}
a {
    color: #399bca;
}

a img{
    border: 0;
}

.clear{
    clear: both;
}

li {
    list-style-type: none;
}
body{
    background:#ffffff;
    font-size: 12px;
    font-family: Arial;
    background:url("/media/img/bg.jpg") repeat-x top left transparent;
}

#container {
    width: 1005px;
    margin: 0 auto;
    position: relative;
}
#header {
    color:#FFF;
    border:none;
    background: url("/media/img/header_bg.jpg") no-repeat top center transparent;
    
}

#sub_header {
    margin: 0 auto;
    margin-top: 8px;
    width: 990px;
    height: 200px;
}

#logo {
    
}

#logo img {
    margin-top: 9px;
}


#form_search {
    /*float: right;
    padding: 5px;*/
    position: absolute;
    top: 30px;
    right: 5px;
}

#form_search2 {
    width: 405px;
    position: relative;
    margin: 14px auto 0 auto;
}

#form_search2 label {
    font-size: 14px;
    margin-right: 3px;

}

#search_query {
    background:url("/media/img/search_field.jpg") no-repeat scroll center transparent;
    border:0 none;
    color:#333333;
    height:25px;
    padding:2px 4px 2px 30px;
    width:192px;
    position: absolute;
    top: 1px;
    right: 73px;
}

#search_query2 {
    background:url("/media/img/search_field2.jpg") no-repeat scroll center transparent;
    border:0 none;
    color:#333333;
    height:23px;
    padding:2px 4px 2px 30px;
    width:246px;
}

#search_button {
    background:url("/media/img/search_button.jpg") no-repeat scroll center transparent;
    border:0 none;
    height:27px;
    width:62px;
    position: relative;
    top: 1px;
}

#search_button2 {
    background:url("/media/img/search_button.jpg") no-repeat scroll center transparent;
    border:0 none;
    height:27px;
    width:62px;
    position: relative;
    top: 1px;
    margin-left: 10px;
}

#form_box {
    float: right;
    width: 220px;
    height: 152px;
    border: #39a2d3 4px solid;
    margin-top: 15px;
    position: relative;
    background: #f2f2f2; /* for non-css3 browsers */
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f2f2f2)); /* for webkit browsers */
    background: -moz-linear-gradient(top,  #fff,  #f2f2f2); /* for firefox 3.6+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f2f2f2'); /* for IE */
    -moz-box-shadow: 1px 3px 10px #888;
    -webkit-box-shadow: 1px 3px 10px #888;
    box-shadow: 1px 3px 10px #888;

}

#title_form_box {
    margin: 17px 0 10px 10px;
}

#arrow_form_box {
    position: absolute;
    top: 32px;
    right: 3px;
}

#main_content {
    margin-top: 12px;
    padding: 8px;
}


h1 {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 5px;
    border-bottom: 2px solid #2C94C6;
    padding-bottom: 3px;
    color: #005579;

}

h1:first-letter {
  text-transform: uppercase;
}
p {
    margin: 5px 0;
}

#content {
    width: 750px;
    position: relative;
    float: left;
    margin-right: 15px;
}

#content_form {
    margin-top: 35px;
}

#content_form label {
    font-weight: bold;
}

#id_content {
    margin-top: 5px;
    width: 540px;
    border: 1px solid #bfbfbf;
    padding: 5px;
    width: 710px;
    height: 48px;
    margin: 0px;

    border-color: #A6B6BE #A6B6BE #78868C;
    border-style: solid;
    border-width: 1px 1px 2px;
    padding: 2px 5px;
}

#nick_form {
    float: left;
    margin-top: 10px;
}

#nick_form input{
    height: 24px;
    width: 240px;
    border-color: #A6B6BE #A6B6BE #78868C;
    border-style: solid;
    border-width: 1px 1px 2px;
}

#subscriber_form{
    margin-top: 5px;
}

#subscriber_form input {
    height: 24px;
    width: 304px;
    margin-top: 5px;
}

#captcha_form {
    float: left;
    margin-top: 1px;
    position: relative;
}

#captcha_form label{
    margin-left: 37px;
}

#captcha_form input{
    height: 24px;
    width: 70px;
    border-color: #A6B6BE #A6B6BE #78868C;
    border-style: solid;
    border-width: 1px 1px 2px;
    margin-left: 2px;
}

#captcha_form img{
    position: relative;
    top: 7px;
}

#comment_submit {
    background-image: url(/media/img/green_submit2.jpg);
    width: 146px;
    height: 29px;
    margin-top: 7px;
    margin-left: 9px;
    border: 0 none;
    cursor: pointer;
}

#comments_list {
    margin-top: 9px;
    color: #333333;
    font-size: 14px;
    margin-bottom: 16px;
    border-top: 2px solid #2c94c6;
}

#comments_list h2 a{
    font-size: 14px;
    text-decoration: none;
    color: #005579;
}

#comments_list li{
    display: block;
    padding: 19px 15px 19px 0;
    border-bottom: 1px solid #e5e5e5;
    list-style-type: none;
}

#comments_list li img{
    float: left;
    padding-right: 30px;
}
#comments_list p{
    float: left;
    margin: 0;
    width: 430px;
    overflow: auto;
    margin-top: 10px;
}

#comments_list li.last{
    border-bottom: none;
}

.gradient {
    background:#f5fbfc;
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f5fbfc));
    background-image: -moz-linear-gradient(top, #ffffff, #f5fbfc);
}

#right_column {
    float: left;
    width: 224px;
}

#right_column h3{
    /*display: block;
    background: #6ec1f1;
    color: white;
    border-bottom: #5ea5ce solid 1px;
    border-top: #abdbf7 solid 1px;
    border-left: #abdbf7 solid 1px;
    border-right: #abdbf7 solid 1px;
    -webkit-border-top-right-radius:8px;
    -webkit-border-top-left-radius:8px;
    -moz-border-radius-topright:8px;
    -moz-border-radius-topleft:8px;
    border-top-left-radius:8px;
    border-top-right-radius:8px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
    height: 22px;
    padding-left: 14px;
    padding-top: 6px;*/
}

#last_comments ul{
    display: block;;
    color: #333333;
    font-size: 12px;
    padding: 15px;
    border-left: 1px solid #d9ddde;
    border-right: 1px solid #d9ddde;
    border-bottom: 1px solid #d9ddde;
}

#last_comments ul li{
    display: block;
    padding: 5px;
    border-bottom: 1px solid #d9ddde;
    list-style-type: none;
}

#last_comments h2{
    font-size: 14px;
    margin-bottom: 5px;
    color: #333333;
}

#last_comments h2 a{
    font-size: 14px;
    color: #333333;
    text-decoration: none;
}

#last_comments ul li.last{
    border: none;
}

#codes_in_village ul{
    display: block;;
    color: #333333;
    font-size: 12px;
    padding: 15px;
    border-left: 1px solid #d9ddde;
    border-right: 1px solid #d9ddde;
    border-bottom: 1px solid #d9ddde;
    height: 464px;
    overflow: auto;
}

#codes_in_village ul li{
    display: block;
    padding: 5px;
    border-bottom: 1px solid #d9ddde;
    list-style-type: none;
}

#codes_in_village h2{
    font-size: 14px;
    margin-bottom: 5px;
    color: #333333;
}

#codes_in_village h2 a{
    font-size: 14px;
    color: #333333;
    text-decoration: none;
}

#codes_in_village ul li.last{
    border: none;
}

#last_themes ul, #recommended ul{
    display: block;;
    color: #333333;
    font-size: 12px;
    border-top: 2px solid #2C94C6;
    margin-top: 9px;
    padding-top: 10px;
    /*border-left: 1px solid #d9ddde;
    border-right: 1px solid #d9ddde;
    border-bottom: 1px solid #d9ddde;*/
}

#last_themes ul li, #recommended ul li{
    display: block;
    padding: 5px 0 2px 4px;
    border-bottom: 1px solid #d9ddde;
    list-style-type: none;
}

#last_themes h2, #recommended h2{
    font-size: 14px;
    margin-bottom: 5px;
    color: #333333;
}

#last_themes h2 a, #recommended h2 a{
    font-size: 12px;
    color: #333333;
    text-decoration: none;
    font-weight: normal;
}

/*#last_themes ul li.last, #recommended ul li.last{
    border: none;
}*/

#random_themes {
    font-size: 12px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
    color: #292929;
}

#random_themes ul{
    margin-top: 5px;
    display: inline;
}

#random_themes ul li {
    display: inline;
    color: #333333;
    font-size: 12px;
    list-style-type: none;
    line-height: 30px;
    margin: 0 5px;
}

#random_themes ul li a{
    color: #333333;
    font-size: 12px;
    text-decoration: none;

}

#foot_menu {
    margin: 7px 0;
    color: #6f6f6f;
    font-size: 12px;
    text-align: center;
}

#foot_copy {
    margin: 7px 0 35px 0;
    color: #6f6f6f;
    font-size: 12px;
    text-align: center;
}

.date, .nick{
    color: #999999;
	font-size: 12px;
}

.errorlist{
    color: #F56228;
}

.captcha_error {
    float: right;
}

#search_result li {
	margin-bottom: 10px;
}

#search_result a{
    color: #333333;
    text-decoration: underline;
    font-size: 14px;
}

#search_result a{
    color: #5EA5CE;
	text-decoration: underline;
	font-size: 14px;
	
}

#id_name {
	margin: 0px 9px;
	width: 178px;
	height: 51px;
	padding: 2px 20px 2px 2px;
        border-top: 1px solid #a6b6be;
        border-left: 1px solid #a6b6be;
        border-right: 1px solid #a6b6be;
        border-bottom: 2px solid #78868c;
}

#form_box_submit {
    background: url("/media/img/green_submit.jpg") no-repeat top left transparent;
    width: 84px;
    height: 29px;
    overflow: hidden;
    text-indent: -9999px;
    border: 0;
    position: absolute;
    right: 15px;
    bottom: 10px;
}

#fancybox-inner input {
	height: 30px;
}

#no_entries{
	margin: 40px auto;
	width: 100%;
	text-align: center;
        background-color: #fffdc0;
}
#sitemap{
	margin-bottom: 20px;
}

#sitemap li{
	padding: 5px;
}

#map_canvas_header {
    background: url(/media/img/map_head_bg.jpg) repeat-x 0 0;
    height: 26px;
    width: 555px;
    -moz-border-radius-topleft:4px;
    -moz-border-radius-topright:4px;
    -webkit-border-top-left-radius:4px;
    -webkit-border-top-left-radius:4px;
    border-top-right-radius:4px;
    border-top-left-radius:4px;
    margin-top: 20px;
}

#map_canvas_header h4{
    margin-left: 20px;
    padding-top: 5px;

}

#company_add_form label {
    width: 100px;
    display: block;
    float: left;
    text-align: right;
    clear: both;
    margin: 5px;
    padding: 5px 0;
    height: 20px;
}

#company_add_form {
    margin-bottom: 40px;
}

#company_add_form p input{
    width: 300px;
    margin: 5px;
    padding: 5px 0;
    height: 20px;
}

#company_add_form input{
    width: 150px;
    margin: 5px 5px 5px 150px;
    padding: 5px 0;
    height: 30px;
}

#company_add_form select{
    width: 300px;
    margin: 5px;
    padding: 5px;
    height: 30px;
}

#company_add_form .errorlist {
    margin-left: 115px;
}

#repeated_search {
    height: 56px;
    background-color: #f3f3f3;
    border-top: 1px solid #a0b2ba;
    border-bottom: 1px solid #a0b2ba;
    margin: 30px 0;
    position: relative;
}

#form_answer {
    height: 126px;
    width: 724px;
    border: #39a2d3 4px solid;
    margin-top: 45px;
    padding: 13px;
    position: relative;
    background: #f2f2f2; /* for non-css3 browsers */
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f2f2f2)); /* for webkit browsers */
    background: -moz-linear-gradient(top,  #fff,  #f2f2f2); /* for firefox 3.6+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f2f2f2'); /* for IE */
    -moz-box-shadow: 1px 3px 10px #888;
    -webkit-box-shadow: 1px 3px 10px #888;
    box-shadow: 1px 3px 10px #888;
}

#your_answer {
    background: url(/media/img/twoja_odp.png) no-repeat top right;
    height: 26px;
    width: 135px;
    position: absolute;
    top: 20px;
    left: 20px;
}

#type_here {
    background: url(/media/img/title_form_box.png) no-repeat top right;
    height: 26px;
    width: 80px;
    position: absolute;
    top: 20px;
    right: 66px;

}

#error_1 {
    color: red;
    font-weight: bold;
    position: absolute;
    top: 10px;
    left: 170px;
    width: 435px;
}

#error_2 {
    color: red;
    font-weight: bold;
    position: absolute;
    top: 25px;
    left: 170px;
    width: 435px;
}

#recommended {
    margin-top: 12px;
}

#recommended  h3{
    margin-top: 20px;
    color: #005579;
}
