
/* ------------------------------- Basic layout ------------------------------ */

body {
	background:#000;
	font-family:Trebuchet MS, Arial, Helvetica, sans-serif;
	font-size:12pt;
	color:#000;
	text-align:center;
	padding:0px;
	margin:0px;
}
#wrapper {
	width:900px;
	height:601px;
	margin:25px auto 0px;
	text-align:left;
	/* border:1px #fff solid; */
}
.rules {
	text-align:right;
}

.not-found { color:#fff;}

/* ----------------------------- Menu ----------------------------------------  */
a { color:#f00; }

#menu ul {
	list-style:none;
	padding:0px;
	margin-left:19px;
}
#menu ul li {
	float:left;
	margin-right:1px;
	vertical-align:bottom;
	
}
#menu ul li a {
	display:block;
	height:18px; /* height - padding */
	color:#f00;
	padding:40px 0px 0px;
	margin-top:5px;
	/* text-decoration:none;
	font-weight:bold;
	text-align:center; */
  outline:none;
	
}
#menu ul li a#menu-frontpage {
	background:transparent url("/html/images/menu_frontpage.gif") no-repeat 0px 20px;
	width:99px;
}
#menu ul li a#menu-codes {
	background:transparent url("/html/images/menu_codes.gif") no-repeat 0px 20px;
	width:134px;
}
#menu ul li a#menu-music {
	background:transparent url("/html/images/menu_music.gif") no-repeat 0px 20px;
	width:134px;
}
#menu ul li a#menu-mixer {
	background:transparent url("/html/images/menu_mixer.gif") no-repeat 0px 20px;
	width:134px;
}
#menu ul li a#menu-howto {
	background:transparent url("/html/images/menu_howto.gif") no-repeat 0px 20px;
	width:134px;
}
#menu ul li a#menu-winners {
	background:transparent url("/html/images/menu_winners.gif") no-repeat 0px 20px;
	width:98px;
}
#menu ul li a#menu-auhinnad {
	background:transparent url("/html/images/menu_auhinnad.gif") no-repeat 0px 20px;
	width:98px;
}

#menu ul li.active a#menu-frontpage {	background-position:0px 0px; }
#menu ul li.active a#menu-codes {	background-position:0px 0px; }
#menu ul li.active a#menu-music {	background-position:0px 0px; }
#menu ul li.active a#menu-mixer {	background-position:0px 0px; }
#menu ul li.active a#menu-howto {	background-position:0px 0px; }
#menu ul li.active a#menu-winners {	background-position:0px 0px; }
#menu ul li.active a#menu-auhinnad {	background-position:0px 0px; }



#menu ul li a span { display:none; }
/* ------------------------------- Codes' form ----------------------------------- */
#content {
	position:relative;
}
#content-tail {
	width:900px;
	height:81px;
	background:#ff0 url("/html/images/content_tail.png") no-repeat bottom center;
}
#siga-form {
	width:900px;
	/*height:510px;*/ /* 540 - 30 */
	position:relative;
	background:transparent url("/html/images/code_bg.gif") no-repeat top left;
}
#siga-form form { display:block; margin-bottom:0px; }
#siga-form-tail {
	width:900px;
	height:47px;
	background:transparent url("/html/images/code_bg_tail.gif") no-repeat top left;
}

#siga {
	position:absolute;
	top:15px;
	left:128px;
}

.codes #content {
	width:900px;
	/*height:540px;*/ /* 60 px is minimal height */
	/* background:transparent url("/html/images/code-content.png") repeat-y top left; */
	background:transparent url("/html/images/content_bg.gif") repeat-y top left;
	position:static;
	/*padding-bottom:140px;*/
}

.error {
	position:absolute;
	top:150px;
	left:30px;
	background:transparent url("/html/images/error_bublle.gif") no-repeat top left;
	width:166px;
	height:155px;
}
.erName       { background-image:url("/html/images/error_name.gif");  }
.erEmail      { background-image:url("/html/images/error_email.gif"); }
.erCode       { background-image:url("/html/images/error_kood.gif");  }
.erCodeIsUsed { background-image:url("/html/images/error_koodisused.gif");  } 

.codes #content #codes-css {
	padding-left:300px;
	padding-top:150px;
}
#osaleda {
	width:542px;
	height:50px;
	position:absolute;
	top:60px;
	left:330px;
	background:transparent url("/html/images/osaleda.png") no-repeat top left;
}
#koodid-label {
	width:542px;
	height:25px;
	background:#fff url("/html/images/koodid_limpa.gif") no-repeat bottom left;
}
#osaleda span,#koodid-label span {
	display:none;
}

.input-area {
	width:582px;
	margin-top:13px;
}
.radio-area {
	width:500px;
	float:right;
	font-size:90%;
}
.input-area label {	float:left; width:82px; height:35px; }
.input-area label span { display: none; }
.input-area label#parisnimi { background:#fff url("/html/images/th_parisnimi.gif") no-repeat top left; }
.input-area label#epost { background:#fff url("/html/images/th_epost.gif") no-repeat top left; }
.input-area input {	float:left; margin-right:10px; }
.fLarge {
	width:355px;
	height:32px;
	background:#fff url("/html/images/input_large.gif") no-repeat top left;
	border:none;
	font-size:18pt;
	padding:3px 15px 0px;
	float:left;
	display:block;
}
.fSmall {
	width:90px;
	height:32px;
	background:#fff url("/html/images/input_small.gif") no-repeat top left;
	border:none;
	padding:3px 15px 0px;
	font-size:16pt;
	float:left;
	text-align:center;
	display:block;
	text-transform:uppercase;
}

.icon {
	width:27px;
	height:27px;
	float:left;
	margin:0px;
	margin-right:15px;
}
.valid{
	background:#fff url("/html/images/icon-valid.gif") no-repeat top left;
}
.invalid {
	background:#fff url("/html/images/icon-invalid.gif") no-repeat top left;
}
#lisa-veel {
	float:right;
	font-weight:bold;
	margin-right:140px;
}

.modal-dialog {
	position:absolute;
	top:270px;
	left:40%;
	padding-right:-200px;
	z-index:640;
	width:400px;
}

.modal-dialog .top-left {
	float:left;
	width:320px;
	height:200px;
	background:transparent url("/html/images/modal-dialog.gif") no-repeat top left;
	padding-left:30px;
	padding-top:20px;
}
.modal-dialog .top-right {
	float:left;
	width:30px;
	height:220px; /* .modal-dialog .top-left height + 20px */
	background:transparent url("/html/images/modal-dialog.gif") no-repeat top right;
}
.modal-dialog .bottom-left {
	float:left;
	width:330px; /* .modal-dialog .top-left height + 10px*/
	height:38px;
	background:transparent url("/html/images/modal-dialog.gif") no-repeat bottom left;
}
.modal-dialog .bottom-right {
	float:left;
	width:50px;
	height:38px;
	background:transparent url("/html/images/modal-dialog.gif") no-repeat bottom right;
}
.modal-shade {
	position:fixed;
	left:0px;
	top:0px;
	width:100%;
	height:100%;
	background-color:#000;
	z-index:232;
	line-height:0px;
	opacity:0.65;
	-moz-opacity:0.65;
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=65);
}

/* ------------------------------- Content edetabel -------------------------- */
.edetabel #content, .winners #content, .index #content, .music #content, .reeglid #content {
	position:static; /* Hey Bill, good joke man! */
}
.edetabel #edetabel-head {
	width:900px;
	height:163px;
	background:#000 url("/html/images/edetabel_head.png") no-repeat top left;
}
.edetabel #edetabel-content {
	width:900px;
	height:auto;
	background:#000 url("/html/images/edetabel_center.png") repeat-y top left;
	padding-left:25px;
}
.edetabel #edetabel-foot {
	width:900px;
	height:84px;
	background:#000 url("/html/images/edetabel_foot.png") no-repeat top left;
}
.edetabel table, .winners table {
	float:left;
	margin-left:15px;
}
.edetabel table td, .winners table td {
	padding-left:7px;
	font-size:85%;
	vertical-align:top;
}
.song-number {
	color:#c20012;
	font-weight:bold;
	font-size:110%; /* 12pt x 0.85 x 1.1 =~ 11.2pt  */
	width:40px;
	text-align:right;
	
}
.song-author {
	width:80px;
	border-right:1px #fe0 solid;
	display:block;
}
.song-author div {
    width:80px;
    overflow:hidden;
}
.song-name {
	width:120px;
	overflow: hidden;
	border-right:2px #fe0 solid;
}

.song-name div {
    width:120px;
    overflow:hidden;
}

.song-avarage {
	width:60px;
	text-align:center;
	padding-left:0px;
	font-weight:bold;
	border-right:2px #fe0 solid;
}
.song-votes {
	width:54px;
	text-align:center;
	padding-left:0px;
}
/* ------------------------------- Winners ------------------------------------*/
.winners #winners-head {
	width:900px;
	height:232px;
	background:#000 url("/html/images/winners_head.png") no-repeat top left;
	position:relative;
}
.winners #edetabel-content {
	width:900px;
	height:auto;
	background:#000 url("/html/images/winners_content.png") repeat-y top left;
	padding-left:95px;
}
.winners #edetabel-foot {
	width:900px;
	height:95px;
	background:#000 url("/html/images/winners_foot.png") no-repeat top left;
}

.winners table {
	float:left;
	margin-left:35px;
}
.winners table td {
	padding-left:7px;
	font-size:85%;
	vertical-align:top;
}
.winner-date {
	color:#c20012;
	font-weight:bold;
	font-size:110%; /* 12pt x 0.85 x 1.1 =~ 11.2pt  */
	width:40px;
	text-align:right;
}
.winner-name {
	width:155px;
}
.winner-code {
	text-align:center;
	width:80px;
}
.day-winner {
	position:absolute;
	top:100px;
	left:380px;
	font-size:140%;
}

/* ------------------------------- Auhinnad ---------------------------------- */
.auhinnad #content {
	background:transparent url("/html/images/bg-auhinnad.png") no-repeat top left;
	width: 900px;
	height: 538px;
	position:relative;
	color:#fff;
	font-size:13px;
}
.auhinnad .siga-dj {
	position:absolute;
	width:443px;
	top:50px;
	left:40px;
}
.auhinnad .siga-dj p {
	width:390px;
	padding-left:10px;
	line-height:1.25em;
	padding-bottom:0px;
	margin-bottom:0px;
	margin-top:0px;
	padding-top:5px;
}
.auhinnad .siga-miljon {
	position:absolute;
	width:395px;
	top:30px;
	left:460px;
}
.auhinnad .siga-miljon p {
	width:380px;
	padding-left:10px;
	padding-bottom:0px;
	margin-bottom:0px;
	margin-top:0px;
	padding-top:5px;
	line-height:1.25em;
}
/* ------------------------------- Reeglid ----------------------------------- */
.reeglid #content {
	
}
.reeglid .siga-reeglid {
	position:absolute;
	top:10px;
	left:10px;
}
.reeglid #content-head {
    position:relative;
	background:transparent url("/html/images/reeglid-top.png") no-repeat top left;
	width:900px;
	height:150px;
}
.official #content-center div {
    width:600px;
    padding-left:200px;
}
.official #content-center h4 {
    margin:0px auto;
    padding-bottom:10px;
}
.official #content-center ol {
    margin:0px;
    padding:0px;
    font-size:12px;
}
.official #content-center ol li {
    padding:3px;
}
.official #content-center ol li ul.inside-list {
    list-style:none;
    padding-left:20px;
}
.official #content-head {
    background:transparent url("/html/images/ametlikud-reeglid-top.png") no-repeat top left;
}

.reeglid #content-center {
	background:transparent url("/html/images/reeglid-center.png") repeat-y top left;
	width:900px;
}
.reeglid #content-center p {
	margin:0px 120px;
	padding:0px 0px 0px;
	font-size:13px;
}
.reeglid #content-tail {
	background:transparent url("/html/images/reeglid-tail.png") no-repeat top left;
	width:900px;
	height:87px;
}
/* ------------------------------- Voting menu ------------------------------- */
/* Song details */


.jargmine-lugu, .eelmine-lugu {
	float:left;
}
.eelmine-lugu a {
  display:block;
	width:150px;
	height:65px;
	background:transparent url("/html/images/eelmine_lugu.gif") no-repeat top left;
	outline:none;
}
.eelmine-lugu a:hover {
	background-image:url("/html/images/eelmine_lugu_hover.gif");
}
.eelmine-lugu a span {
	display:none;
}

.voting {
  float:left;
	width:459px;
	height:58px;
	padding-left:126px;
	padding-top:17px;
}
.voting img {
	float:left;
	border:none;
}
#total-votes {
	float:left;
	color:#fff;
}
#vote-points {
	font-size:200%;
	display:block;
	text-align:center;
	margin-left:15px;
}
#vote-count {
  font-size:80%;
	display:block;
	text-align:center;
	margin-left:15px;
}
#vote-remaing {
	padding-left:333px;
	color:#3f9e42;
	font-size:80%;
	float:left;
}

.jargmine-lugu a {
  display:block;
	width:150px;
	height:65px;
	background:transparent url("/html/images/jargmine_lugu.gif") no-repeat top left;
	outline:none;
}
.jargmine-lugu a:hover {
	background-image:url("/html/images/jargmine_lugu_hover.gif");
}
.jargmine-lugu a span {
	display:none;
}

/* ------------------------------- How to  ---------------------------------- */
.howto #content {
    background:transparent url("/html/images/bg-auhinnad.png") no-repeat top left;
	width: 900px;
	height: 538px;
	position:relative;
	color:#fff;
	font-size:13px;
}
.howto .video-tutorial {
    position:absolute;
    left:10px;
    top:60px;
}
.howto .separator {
    position:absolute;
    top:57px;
    left:607px;
}
.howto .speaking-pork {
    position:absolute;
    top:57px;
    left:624px;
}
.howto .lesson-text {
    position:absolute;
    top:250px;
    left:624px;
    /* border:1px solid white; */
    width:260px;
    height:150px;
}
.howto .lesson-text h3 {
    color:#ed1c24;
    margin:0px;
    padding:0px;
    padding-bottom:5px;
}
.howto .lesson-text p {
    color:#fe0;
    padding:0px;
    margin:18px 0px 0px;
    font-size:12px;
    line-height:1.25em;
}
.howto .tutorial-menu {
    position:absolute;
    top:400px;
    left:624px;
    /* border:1px solid white; */
    width:260px;
    height:100px;
    text-align:center;
}
.howto .tutorial-menu img {
    border:none;
}
/* ------------------------------- Helpers ---------------------------------- */
/* Wea are all loving Internet Exporer :-) */
.clearer:after {
    content: ".";
    display: block;
    height: 0px;
    clear: both;
    visibility: hidden;
}
.dummy {
	float:left;
}

#loading{
    position:absolute;
    left:45%;
    top:40%;
    padding:2px;
    z-index:20001;
    height:auto;
    width:140px;
    display:none;
}
#loading img {
    margin-bottom:5px;
    margin-top:5px;
}

#loading .loading-indicator{
    background:white;
    border:solid 1px #777777;
    color:#555;
    font:bold 13px tahoma,arial,helvetica;
    padding:10px;
    margin:0;
    text-align:center;
    height:auto;
}
