/* 
    Document   : style
    Created on : Jan 29, 2008, 8:44:15 PM
    Author     : Samuli Muuvila
    
    Description:
        Master stylesheet for Vaalikone.
*/


/* #################################
   Elements                       */

html, body {
    height: 100%;
}

body { 
  background-color: #fff; 
  color: #333; 
  background-image: url(bg_body.png);
  background-repeat: repeat-x;
  margin: 0px;
  padding: 0px;
}

body, p, ol, ul, td {
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 13px;
  line-height: 18px;
}

/* #################################
   Layout                         */

div.banner {
    width: 872px;
    height: 170px;
    margin-left: 0px ;
    margin-top: 230px;
    margin-right: 436px;
    margin-bottom: 0px;
    background-image: url(/images/naantali_ylabanner.png);
    background-repeat: none;
}
   
.wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -3em; /* the bottom margin is the negative value of the footer's height */
        width: 985px;
}

#content {
  padding-top: 0px;
  margin:0px 0px 35px 0px;
}


.footer, .push {
	height: 3em; /* .push must be the same height as .footer */
}

.footer {
    background-image: url(bg_footer.png); 
    background-repeat: repeat-x;
    color:#fff;
    padding-top:18px;
    text-align:center;
}

#toolbar {
    clear: both;
    text-align: right;
    font-size: 11px;
   
}

pre {
  background-color: #eee;
  padding: 10px;
  font-size: 11px;
}

.left, div.tab-left {
    float: left;
    margin-right: 25px;
}


/* #################################
   Forms                         */

input, select {
    border:1px solid #ccc;
    background-color: #eee;
    font-size: 14px;
    padding: 3px 3px 3px 5px;
}

.nappi {
    border: 1px solid #555;
    color: #cc0000;
    background-color: #fff;
}

label {
    font-size: 10px;

}

/* #################################
   candidate                      */
   
.candidate {
    float: left;
    width: 158px;
    height: 275px;
    margin-right: 5px;
    padding-top: 2px;
}

.candidate:hover {
    background-image: url(bg_candidate.png);
    background-repeat: repeat-x;
}

.candidateimg {
    height: 208px;
    text-align: center;
}

.candidatenr {
    font-size: 11px;
    margin-top: 3px;
    background-image:url(bg_candidateNr.png);
    width: 26px;
    float:left;
    margin-right:7px;
    text-align:center;
    padding-top:2px;
    background-repeat: repeat-x;
    height: 40px;
    color:#fff;
}

.candidatename {
    font-size:11px;
    padding-top:2px;
}

img.ehdokas {
    border: 2px solid #fff;
    margin-bottom: 0px;
    margin-top: 0px;
}

img.ehdokasnorm {
    border: 2px solid #efefef;
    margin-bottom: 0px;
    margin-top: 0px;
    display: block;
}

img.ehdokas:hover {
    border: 2px solid #fff;
}

div.editlinks {
    font-size: 10px;   
}

/* #################################
   Text                           */

h1 {
    color: #cc0000;
    font-family: Georgia,'Times New Roman',times,serif;
    letter-spacing: -1px;
    padding: 0px 0px 13px 0px;
    border: 0px 0px 0px 0px;
    font-size: 25px;
    margin: 20px 0px 0px 0px;   
}

h2 {
    color: #444;
    font-family: Arial, Georgia,'Times New Roman',times,serif;
    letter-spacing: -1px;
    font-size: 25px;
    margin-bottom: 10px;  
}

h3 {
    font-family: Arial, Georgia,'Times New Roman',times,serif;
    letter-spacing: -1px;
    font-weight: normal;
    line-height: 25px;
    font-size: 17px;
    margin: 10px 0px 3px 0px;
}

a { color: #cc0000; text-decoration: none; }
a:visited { color: #666; text-decoration: none; }
a:hover { color: #555; background-color:#efefef; text-decoration: none; }

/* Links for Sorting */

ul.sort {
    margin: 500px;
    padding-left: 120px;
    padding-top: 120px;
    list-style: none;
    display: inline;
}

div.tab-right
{
    top: 145px;
    left: 50px;
    position: relative;
    font-weight: bold;
    display: inline;
}

div.tab-left{
    top: 145px;
    left: 20px;
    position: relative;
    font-weight: bold;
    display: inline;
}

div.tab-center{
    top: 145px;
    left: -80px;
    right: 20px;
   position: relative;
    font-weight: bold;
    display: inline;
}

li.none,
li.tablesort_none,
li.tablesort_asc,
li.tablesort_desc,
li.logout,
li.new{
    display: inline;
    padding-left: 14px;
    line-height: 25px;
    margin-right: 4px;
    margin-left: 0px;
    background-repeat: no-repeat;
    background-position: 0 1px;
}
li.tablesort_none {
    background-image: url(icon_sort_none.png);
    }

li.tablesort_asc {
    background-image: url(icon_sort_asc.png);
}

li.tablesort_desc {
    background-image: url(icon_sort_desc.png);
}

li.logout {
    background-image: url(01.png);
    background-position: 0 3px;
}

li.new {
    background-image: url(03.png);
    background-position: 0 3px;
}

ul.sort a:visited { color: #cc0000; text-decoration: none; }

/* #################################
   Default list                   */

ul {
    display: block;
    margin-left: 0px;
    padding-left: 25px;
}

li {
   list-style-type: square;
   padding-left: 4px;
   margin-left: 8px;
   margin-bottom:4px;
}
/* Calendar properties */

table.kalenteri {
    border: 1px solid #efefef;
    padding: 20px;
}

td.lista {
    padding: 5px;
    text-align: left;
  background-color: #f7f6f6;
  font-weight: bold;
}
td.lista1 {
    padding: 10px;
    text-align: left;
}
li.calendar {
   list-style-type: square;
   padding-left: 4px;
    display: inline;
}

/* #################################
   Error messages                 */

.fieldWithErrors {
    padding: 1px;
    background-color: #cc0000;
    display: table;
  }

.errorExplanation {
  width: 100%;
  border: 2px solid #red;
  padding: 0px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
  background-color: #ccc;
  }

  .errorExplanation h2 {
    text-align: left;
    font-weight: bold;
    padding: 5px 5px 5px 15px;
    font-size: 12px;
    background-color: #c00;
    color: #fff;
  }

  .errorExplanation p {
    color: #333;
    margin: 15px;
  }

  .errorExplanation ul li {
    font-size: 12px;
    list-style: square;
    margin-left: 35px;
  }
  
.vo-h1 {
    font-family: "Trebuchet MS", Verdana, Geneva, "Times New Roman";
	color: #000000;
	font-size: 26px;
	font-weight: bold;
        padding: 30px;
}
.vo-h2 {
        color:#e20030;

        font-size:18px;
        font-family: "Trebuchet MS", Verdana, Geneva;
}
.vo-h3 {font-size: 16px; font-family: "Trebuchet MS", Verdana, Geneva; color: #0070A3; font-weight: bold; font-style: italic;}
.vo-h4 {font-size: 12px; color: #000000; font-family: Georgia, "Times New Roman", Times, serif;}

