html, body {padding:0; margin:0; background:#fff;}
body {width:100%; height:100%; background:#fefdca url(/img/inner-bg.jpg) 0 0 repeat-x;}
* {font-family:'Trebuchet MS', Arial; font-size:12px; line-height:18px; color:#3f4f62;}
html {background:#FEFDCA;}

#main {height: 100%; /*top:98px;*/ clear:both; width:100%; position:relative;}
#content {position:relative; width:100%;}
#test {margin:0 18%; padding-top:98px;}
html>body #main {height: auto; min-height: 100%;}

#empty, #footer {height:125px;}
#footer {position: absolute; left: 0; bottom: 0; width:100%; background:#fefdca;}
#footer * {font-size:11px;}
#footer .placeholder {margin:70px 20px 0 30px;}
#footer .projects {float:right; width:448px; background:url(/img/projects-bg.gif) 0 0 no-repeat; margin-top:-14px;}
#footer .projects a {line-height:42px; float:left; padding-left:20px; margin-left:20px; background-repeat:no-repeat; background-position:0 15px;}

#paging {display:table; width:100%; margin-top:-20px;}
#paging * {font-size:11px; float:left; line-height:23px; font-weight:bold;}
#paging span.prev, #paging span.next {}
#paging b {background:url(/img/btn-curr-page.gif) 0 0 no-repeat; color:#455560; padding:0px 8px 2px 9px;}
#paging a {padding:0px 8px 2px 9px; color:#cd0000;}
#paging span {}
#paging .next, #paging .prev {margin:0; padding:0;}
#paging .next {width:10px; background:url(/img/btn-next-page.gif) 0 6px no-repeat; margin-left:3px; text-decoration:none;}
#paging .prev {width:10px; background:url(/img/btn-prev-page.gif) 0 6px no-repeat; margin-right:3px; text-decoration:none;}

#home {border:1px solid #d8dee2; width:998px; height:750px; background:#fefdca url(/img/home.jpg) 0 0 no-repeat; position:relative;}
#home * {text-align:left;}

#logo {display:block; position:absolute; left:28px; top:46px; width:280px; height:50px;}

#userform {float:right; margin-right:106px; padding-top:22px; margin-bottom:18px;}
#userform * {float:left; font-size:11px;}
#userform input {margin-left:5px; font-size:9px; color:#5d728a; border:1px solid #ced4dc; height:17px;}
#userform a {margin-left:20px;}

.logout {padding-left:23px; line-height:17px; background:url(/img/ico-exit.gif) 0 0 no-repeat;}

#nav {clear:right; float:right; margin-right:19px; width:580px;}
#nav a {float:left; height:36px; background-repeat:no-repeat; background-position:0 0;}
#nav a:hover, #nav a.act {background-position:0 -36px;}
#nav a.nav1 {background-image:url(/img/nav-news.gif); width:93px;}
#nav a.nav2 {background-image:url(/img/nav-prize.gif); width:82px;}
#nav a.nav3 {background-image:url(/img/nav-dnevnik.gif); width:216px;}
#nav a.nav4 {background-image:url(/img/nav-world.gif); width:189px;}

table {margin:0; padding:0; border-collapse:collapse;}
td {vertical-align:top; margin:0; padding:0;}
img {border:0;}
h1, h2, h3, p, form, ul {margin:0; padding:0;}
h1, h2 {font:28px Tahoma; line-height:normal; color:#455560; margin-bottom:40px;}
h2 {margin-bottom:20px;}
h3 {font-size:18px; font-weight:normal; color:#455560; margin-bottom:20px;}
p {margin-bottom:20px;}
a, a * {color:#00aeef;}
a {text-decoration:underline;}
a:hover {text-decoration:none;}
big, big * {font-size:14px !important; font-weight:bold; line-height:normal;}
small, small * {font-size:11px !important;}
b {font-weight:bold;}
.fill_it {display:none;}

small, small * {font-size:11px !important; line-height:normal;}
.yellow, .yellow * {color:#a89c32 !important;}
.red, .red * {color:#cd0000 !important;}
.redprize, .redprize * {font-size:13px !important; color:#cd0000 !important;}

.more {width:16px; font-size:12px !important; display:inline !important; zoom:1;/* display: inline-block;*/
background:url(/img/ico-more.gif) 0 3px no-repeat; text-decoration:none;}

.stars {width:200px;}
.stars .star {width:16px; margin-right:0px;}
.stars .star a {border:0;}
.stars .cancel {display:none;}
.stars .nohoveron a {background-position: 0 -32px;}
.stars .nohoveron a:hover {background-position: 0 -32px;}
.stars .nohoveroff a:hover {background-position: 0 0;}

.news {list-style:none;}
.news small {line-height:22px;}
.news img {float:left; margin-left:-43px; margin-right:15px; position:relative;}
.news li {margin-bottom:20px; clear:left; margin-bottom:55px;}
.news a.ttl {display:block; color:#cd0000; font-size:22px; line-height:normal; text-decoration:none;}
.newsarticle, .newsarticle * {font-size:13px !important;}

.article {list-style:none;}

#blog p {clear:left;}
#blog ul {display:table; width:100%; list-style:none; margin-bottom:60px;}
#blog li {float:left; width:260px;}
#blog li div {padding-right:30px;}
#blog .date {padding:0; background:transparent; float:left; margin-left:-90px; position:relative;}
#blog .ttl {font-size:22px; color:#cd0000; text-decoration:none; line-height:24px;}
#blog .comments {display:inline; float:none; display:inline-block; position:relative; top:-7px; margin-left:5px;}
#blog .video {margin-bottom:7px; display:block; position:relative; width:170px; height:134px; overflow:hidden; cursor:pointer;}
#blog .video img {margin:11px 0 0 11px;}
#blog .video div {position:absolute; top:0; left:0; background:url(/img/video.png) 0 0 no-repeat; width:170px; height:134px;}
#blog .first div {background:url(/img/video-first.png) 0 0 no-repeat; width:360px; height:284px;}
#blog .first {width:360px; height:284px;}
#blog .first img {margin:16px 0 0 16px;}

#blog .datetop {}

#paging {clear:both;}

#konkurs {position:absolute; right:-150px; top:100px;}
#konkurs .bg {background:url(/img/konkurs-bg.png) 0 0 no-repeat; width:200px; height:200px;}
#konkurs .placeholder {padding:34px 30px 0; position:relative; z-index:7;}
#konkurs a {position:relative; cursor:pointer;}
#konkurs small {display:block; margin:7px 0 12px;}

#cities {position:absolute; right:-150px; top:100px;}
#cities .bg {background:url(/img/konkurs-bg.png) 0 0 no-repeat; width:200px; height:200px;}
#cities .placeholder {padding:34px 20px 0 39px; position:relative; z-index:7;}
#cities a {position:relative; cursor:pointer;}
#cities small {display:block; margin:7px 0 12px;}

#winnermonth {position:absolute; right:-150px; top:290px; background:url(/img/month-winner.gif) 0 0 no-repeat; width:266px; height:206px;}
#winnermonth .placeholder {padding:115px 30px 0 86px;}
#winnermonth span {display:block; padding-left:12px; color:#000;}

#winner {position:absolute; right:-150px; top:330px; background:url(/img/winner.gif) 0 0 no-repeat; width:266px; height:206px;}
#winner .placeholder {padding:115px 30px 0 86px;}
#winner span {display:block; padding-left:12px; color:#000;}

#winnerweek {position:absolute; right:-150px; top:496px; background:url(/img/week-winner.gif) 0 0 no-repeat; width:227px; height:222px;}
#winnerweek .placeholder {padding:98px 20px 0 48px;}
#winnerweek span {display:block; padding-left:12px; color:#000;}

#sort {display:table; width:100%; margin-bottom:70px;}
#sort * {float:left; display:block;}
#sort a {padding-left:21px; background-position:0 0px; margin-top:9px; background-repeat:no-repeat; font-size:11px; margin-right:18px; float:left; height:26px;}
#sort a.sortall {padding:0;}
#sort a.sortrating {background-image:url(/img/ico-sort-rate.png);}
#sort a.sortvideo {background-image:url(/img/ico-sort-video.png);}
#sort a.sortphoto {background-image:url(/img/ico-sort-photo.png);}
#sort a.sorttext {background-image:url(/img/ico-sort-text.png);}
#sort div {background:url(/img/sort-left.png) 0 0 no-repeat; margin-right:18px; padding:0 0 0 10px;}
#sort div div {background:none; background:#ffffff; margin:0; padding:0; display:block; float:left; height:36px;}
#sort div div a {background-color:#fff; color:#000; text-decoration:none; margin:9px 0 11px; line-height:normal;}
#sort div div.corner {background:url(/img/sort-right.png) 0 0 no-repeat; margin:0; display:block; float:left; width:11px; height:36px;}

#world {}
#world div {margin-bottom:20px; padding-right:130px;}
#world .data {display:table; width:100%;}
.photo {margin-right:10px; margin-bottom:10px; float:left; width:165px; background-position:0 0; background-repeat:no-repeat; cursor:pointer;}
.photo div {background:url(/img/photo-tl.gif) 0 0 no-repeat; padding:0 !important; margin:0 !important;}
.photo div div {background:url(/img/photo-tr.gif) 100% 0 no-repeat;}
.photo div div div {background:url(/img/photo-br.gif) 100% 100% no-repeat;}
.photo div div div div {background:url(/img/photo-bl.gif) 0 100% no-repeat; width:165px; height:129px;}
#world h2 {clear:left;}
#world li {margin-bottom:60px; display:table; width:85%;}
#world .ttl {display:block; clear:left; font-size:22px; color:#cd0000; text-decoration:none; padding:12px 0 8px;}
#world .voting {float:left; font-size:10px; color:#ee1c24;}
#world .voting span {float:left; font-size:10px; color:#69737f; margin-right:10px;}
#world .voting span span {float:none; margin:0;}
#world .voting div {padding-right:0px;}

.worldtext big {font-size:16px !important;}
.worldtext * {font-size:14px;}

.author {float:left; padding-left:15px; line-height:17px; background:url(/img/ico-user.gif) 0 0 no-repeat; font-size:12px; color:#000; margin-right:12px;}
.date {float:left; padding-left:19px; line-height:17px; background:url(/img/ico-time.gif) 0 0 no-repeat; font-size:12px; color:#000; /*color:#a89c32;*/}
.comments {float:left; padding-left:19px; line-height:15px; background:url(/img/ico-comments.gif) 0 1px no-repeat; margin-right:17px;}
span.comments {color:#69737f;}
.comments, .comments * {font-size:10px;}
.addcomment {display:block; float:left; width:195px; height:60px; background:url(/img/btn-addcomment.gif) 0 0 no-repeat; margin-left:-35px; position:relative;}

.commentslist {clear:left; list-style:none; padding-bottom:20px; padding-right:130px;}
.commentslist li {margin-bottom:27px;}
.commentslist div {display:table; width:100%; clear:left; margin-top:5px;}

#registration {}
#registration th {width:150px; text-align:right; vertical-align:top; font-weight:normal;}
#registration td {padding-left:10px; padding-bottom:10px;}
#registration td input {width:212px;}
#registration label.error {color:#cd0000; font-size:11px; margin-left:10px;}

#remind th {width:150px; text-align:right; vertical-align:top; font-weight:normal;}
#remind td {padding-left:10px; padding-bottom:10px;}
#remind td input {width:212px;}
#remind label.error {color:#cd0000; font-size:11px; margin-left:10px;}

.rules {display:block; float:left; width:146px; height:74px; background:url(/img/rules.gif) 0 0 no-repeat; margin-right:169px;}
.join {display:block; float:left; width:210px; height:67px; background:url(/img/join.gif) 0 0 no-repeat;}

#prizes {width:100%;}
#prizes td {width:33%;}
#prizes td * {text-align:left;}
.prize1, .prize2, .prize3 {/*position:absolute; top:60px;*/ padding-top:263px; margin-bottom:40px;}
.prize1 i, .prize2 i, .prize3 i {display:block; font-size:13px;}
.prize1 {/*left:-100px;*/ width:272px; background:url(/img/prize-1.png) 0 0 no-repeat;}
.prize1 i {padding-left:33px;}
.prize2 {/*left:36%;*/ width:255px; background:url(/img/prize-2.png) 0 0 no-repeat;}
.prize2 i {padding-left:11px;}
.prize3 {/*right:-100px;*/ width:224px; background:url(/img/prize-3.png) 0 0 no-repeat;}

#palma-left {position:absolute; left:0; top:224px; width:137px; height:301px; background:url(/img/palma-left.png) 0 0 no-repeat;}
#palma-right {position:absolute; right:0; top:154px; width:498px; height:387px; background:url(/img/palma-right.png) 0 0 no-repeat;} 

#nextpost {position:absolute; color:#ee2e24; width:80px; top:23px; right:0;}
#prevpost {position:absolute; color:#ee2e24; width:80px; top:23px; left:-146px;}
.post h2 {width:80%;}

#addpost {}
#addpost label {float:left; width:140px; margin-left:-150px; text-align:right; position:relative;}
#addpost input, #addpost textarea {width:572px; margin-bottom:10px; line-height:normal;}
#addpost .file {width:288px;}

#content_type {display:table; width:100%;}
#content_type a {margin-right:18px; text-decoration:none; float:left;}
#content_type a.act {background:url(/img/content-type-bg.gif) 0 0 repeat-x;}
#content_type a.act span {display:block; background:url(/img/content-type-left.gif) 0 0 no-repeat; float:left;}
#content_type a.act span span {background:url(/img/content-type-right.gif) 100% 0 no-repeat;}
#content_type a span span span {padding:3px 0 8px 24px; background-position:0 5px; background-repeat:no-repeat;}
#content_type a.act span span span {background-position:9px 4px; padding:3px 10px 8px 32px;}
#content_type a span span span span {border-bottom:1px dashed; line-height:13px; font-size:11px; background:transparent !important; padding:0 !important;}
#content_type a:hover span span span span {border-bottom:0;}
#content_type a.act span span span span {border-bottom:0; color:#455560;}
#content_type a span span span.sortvideo {background-image:url(/img/ico-sort-video.png);}
#content_type a span span span.sortphoto {background-image:url(/img/ico-sort-photo.png);}
#content_type a span span span.sorttext {background-image:url(/img/ico-sort-text.png);}

#FileUpload_wrap, #FileUpload_wrap_labels div {margin:0 !important;}
#FileUpload_wrap_labels a {margin:0 3px; border-bottom:1px dashed; line-height:13px; font-size:11px; text-decoration:none;}

#voting {width:70%;}
#voting .photo {margin-top:18px;}
#voting .photo * {cursor:default !important;}
#voting td {width:165px; padding-bottom:25px; vertical-align:top;}
#voting th {padding-left:24px; padding-bottom:25px; text-align:left; font-weight:normal; color:#62757f; vertical-align:top;}
#voting th a {display:block; margin-top:4px;}
#voting th big {font-size:24px !important; color:#a89c32;}
#voting th big span {font-size:48px !important; color:#a89c32; font-weight:normal; margin-right:10px;}
#voting th p {font-size:24px; color:#cd0000; margin:-4px 0 3px;}
