
@media screen,handheld
{
    html
    {
        background-image: url('bg.png');
        background-position: top;
        background-repeat: repeat-x;
        background-color: rgb(66,74,82);
        font-family: "helvetica neue" ,helvetica,arial,tahoma,verdana,sans-serif;
        font-size: 0.8em;
        height: 100%;
    }

    body
    {
        background-color: #FFFFFF;
        border-left: 1px solid black;
        border-right: 1px solid black;
        margin: 0px auto;
        min-height: 100%;
        max-width: 950px;
    }

    div.header
    {
        background-image: url('stuklogo2.png');
        background-position: 2% 50%;
        background-repeat: no-repeat;
        border-bottom: 1px solid black;
        border-top: 1px solid black;
        min-height: 90px;
        
    }

    div.user
    {
        float: right;
        margin-right: 15px;
        margin-top: 20px;
        text-align: right;
        z-index: -1;
    }

    div.header h1
    {
        margin-top: 30px;
        position: absolute;
        text-align: center;
        width: 950px;
        z-index: 0;
    }

    div.menu
    {
        background: rgb(25,94,162);
        border-bottom: 1px solid black;
    }

    div.menu ul
    {
        color: white;
        font-weight: bold;
        margin: 0;
        padding: 5px 0px 5px 4px;
    }

    div.menu ul.tili
    {
        float: right; /*padding: 0px 0px 0px 0px;*/
        padding-right: 0px;
    }

    div.menu ul li
    {
        display: inline;
        margin-left: -4px;
    }

    div.menu ul li a
    {
        border-right: 1px solid white;
        border-left: 1px solid white;
        color: white;
        padding: 5px 20px 5px 20px;
        text-decoration: none;
    }

    div.menu ul li a:hover
    {
        background-color: rgb(229,242,234);
        color: black;
    }

    div.menu ul li.active a, div.menu ul li.active a:hover
    {
        background-color: rgb(0,130,45);
        color: white;
        text-decoration: underline;
    }
    div.validation-summary-errors li {
        list-style: none;
    }
}

div.viestiAikarajaVirhe {
    border: #f5c2c7;
    border-radius: 0.25rem;
    background-color: #f8d7da;
    margin: 0rem auto;
    margin-bottom: 2rem;
    max-width: 750px;
    padding: 1rem 1rem;
    color: #842029;
    font-weight: bold;
}

div.content {
    margin: 0px;
    padding: 15px 15px 0px 15px;
}

div.otsikot
{
    margin: 0px auto;
    max-width: 750px;
    padding-bottom: 20px;
}

div.otsikot h2
{
    display: inline;
    font-size: 1.3em;
    padding: 0px 20px 0px 0px;
}
div.otsikot h3
{
    display: inline;
    font-size: 1em;
    padding: 0px 20px 0px 0px;
}
div.otsikot h2, div.otsikot h3
{
    margin: 0px 0px 20px 0px;
}

div.otsikot h2 a, div.otsikot h2 a
{
    text-decoration: none;
}
div.otsikot h3 a 
{
    text-decoration: none;
    color: rgb(0,76,152);
}
div.otsikot h2 a.active, div.otsikot h3 a.active
{
    color: rgb(0,130,45);
    text-decoration: underline;
}

div.lahetetty
{
    border: 2px dashed rgb(0,130,45);
    background-color: rgb(171, 207, 183);
    margin: 0px auto;
    margin-bottom: 30px;
    max-width: 750px;
    padding: 0px 10px;
}
div.uutinen
{
    border: 2px dashed rgb(231,139,0);
    margin: 0px auto;
    margin-bottom: 30px;
    max-width: 750px;
    padding: 0px 10px;
}

div.form
{
    border: 2px dotted rgb(216,208,144);
    margin: 20px auto;
    max-width: 750px;
    min-height: 250px;
    padding: 0px 10px;
}

div.formAsiakirjalista
{
    border: 2px dotted rgb(216,208,144);
    margin: 20px auto;
    max-width: 750px;
    min-height: 250px;
    padding: 0px 20px;
}

div.form_150
{
    border: 2px dotted rgb(216,208,144);
    margin: 20px auto;
    max-width: 750px;
    min-height: 150px;
    padding: 0px 10px;
}

div.form_150_noDot 
{
    border: 0px;
    margin: 20px auto;
    max-width: 750px;
    min-height: 15px;
    padding: 0px 10px;
}

div.form_NoBorder
{
    border-width: 0px;
    margin: 20px auto;
    max-width: 750px;
    padding: 0px 10px;
}

div.puolikas
{
    max-width: 500px;
}

div.buttons
{
    float: right;
    margin: 10px 0px;
}

div.footer
{
    background-color: #FFFFFF;
    min-height: 15px;
}

h1
{
    font-size: 1.75em;
    margin: 10px auto;
}

h1, h2 a:hover, h3
{
    color: rgb(0,130,45);
}

h2, h2 a
{
    color: rgb(0,76,152);
}

h2 a
{
    text-decoration: none;
}

h3
{
    font-size: 1.3em;
}

div.form h2
{
    text-align: center;
}

div.center
{
    margin: 0px auto;
    text-align: center;
    width: 295px;
}

label
{
    display: block;
    float: left;
    font-weight: bold;
    margin-top: 5px;
    text-align: right;
    vertical-align: baseline;
    width: 130px;
}

label.list
{
    display: inline;
    float: none;
    text-align: left;
    vertical-align: baseline;
}

input[type="text"], input[type="password"]
{
    display: block;
    float: left;
    font-weight: normal;
    margin: 0px 5px 12px 5px;
    padding: 3px;
    vertical-align: baseline;
    width: 140px;
}

input[type="submit"]
{
    font-weight: normal;
    margin: 0px 0px 0px 10px;
    vertical-align: baseline;
}

br.form
{
    clear: both;
}

p
{
    margin: 10px auto;
}

p.kapea
{
    max-width: 600px;
}

p.form
{
    display: block;
    float: left;
    margin: 5px 5px 12px 5px;
    min-width: 130px;
    max-width: 250px;
}

table, th, td
{
    border: 0px;
    border-collapse: collapse;
    vertical-align: top;
}

td.asemointi
{
    padding-right: 25px;
}

table.data
{
    border-collapse: collapse;
    margin: 10px auto;
    width: 773px;
}

table.data, table.data td, table.data th
{
    border: 1px solid rgb(0,130,45);
}

table.asiakirjaList
{
    /*     border: 1px solid rgb(0,130,45); 	border-collapse: collapse; 	margin: 10px auto;*/
    width: 730px;
    padding: 15px;
}

table.asiakirjaList td, table.asiakirjaList th, table.asiakirjaList thead, table.asiakirjaList tfoot
{
    border: 0px solid rgb(0,130,45);
    border-collapse: collapse;
    color: black;
    text-decoration: none;
    white-space: nowrap;
}


table.data td, table.data th
{
    padding: 3px 10px;
}

table.data th.selected
{
    background-color: rgb(216,208,144);
}

table.data th a
{
    color: black;
}

table.data a
{
    color: rgb(0,76,152);
    font-weight: bold;
    text-decoration: none;
}

table.data tr.active, table.data tr.active a
{
    background-color: rgb(0,130,45);
    color: white;
    font-weight: bold;
}

table.data a.active
{
    text-decoration: underline;
}

table.data tr.odd
{
    background-color: #E5F0F8;
}

td.center
{
    text-align: center;
}


/**/
table.hetu
{
    border-collapse: collapse;
    margin: 10px auto;
    width: 730px;
}

table.hetu, table.hetu td, table.hetu th
{
    border: 1px solid rgb(0,130,45);
}

table.hetu td, table.hetu th
{
    padding: 3px 10px;
}

table.hetu th.selected
{
    background-color: rgb(216,208,144);
}

table.hetu th a
{
    color: black;
}

table.hetu a
{
    color: rgb(0,76,152);
    font-weight: bold;
    text-decoration: none;
}

table.hetu tr.active, table.hetu tr.active a
{
    background-color: rgb(0,130,45);
    color: white;
    font-weight: bold;
}

table.hetu a.active
{
    text-decoration: underline;
}

table.hetu tr.odd
{
    background-color: #E5F0F8;
}

@media print
{
    html
    {
        font-family: "helvetica neue" ,helvetica,arial,tahoma,verdana,sans-serif;
        font-size: 0.75em;
        border: 0px none white;
    }
    
    div.otsikot h2
    {
        margin: 0px 0px 0px 0px;
    }

    div.otsikot h2 a, h2 a
    {
        text-decoration: none;
    }

    div.otsikot h2 a.active
    {
        color: black;
        text-decoration: none;
    }

    div.form, div.formAsiakirjalista, div.form_150, div.form_NoBorder, div.formAsiakirjalista wide
    {
        border: 0px none white;
        margin: 0px auto;
        max-width: 750px;
        min-height:0px;
        padding: 0px 10px 5px 0px;
    }

    h1, h2 a:hover, h3, h2, h2 a
    {
        color: black;
    }

    div.center
    {
        margin: 0px auto;
        text-align: center;
        width: 295px;
    }

    label
    {
        display: block;
        float: left;
        font-weight: bold;
        margin-top: 0px;
        text-align: left;
        vertical-align: baseline;
        width: 130px;
    }

    label.list
    {
        display: inline;
        float: none;
        text-align: left;
        vertical-align: baseline;
    }

    input[type="text"]
    {
        border: none;
        display: block;
        float: left;
        font-weight: normal;
        margin: 0px 5px 0px 5px;
        padding: 3px;
        vertical-align: baseline;
        width: 200px;
    }


    table, th, td, table.data, table.data td, table.data th, table.hetu, table.hetu td, table.hetu th
    {
        border: 0px none white;
    }

    table.asiakirjaList td, table.asiakirjaList th, table.asiakirjaList thead, table.asiakirjaList tfoot
    {
        border: 0px none white;
        color: black;
        text-decoration: none;
    }

    table.data th.selected, table.data tr.odd, table.data th.selected
    {
        background-color: white;
    }

    table.data th a
    {
        color: black;
    }

    table.data a
    {
        color: black;
        font-weight: bold;
        text-decoration: none;
    }

    table.data tr.active, table.data tr.active a
    {
        background-color: white;
        color: white;
        font-weight: bold;
    }

    table.data a.active
    {
        text-decoration: none;
    }

    table.hetu
    {
        border-collapse: collapse;
        margin: 0px auto;
        width: 730px;
    }

    table.hetu tr.active, table.hetu tr.active a, table.hetu a, table.hetu th a, table.hetu a.active, table.hetu tr.odd, a
    {
        background-color: white;
        color: white;
        font-weight: bold;
        text-decoration: none;
    }

    div.user, div.header, div.menu, input[type="submit"], input[type="button"], input[type="reset"], img, .addAsiakirja, .no-print
    {
        display:none;   
        margin: 0px 0px 0px 0px;
        padding: 0px 0px 0px 0px;
    }
}


/* custom.css */
#FileUploadErrors ul, #FileUploadErrors ol
{
    margin: 0;
    padding: 0;
    list-style-type: none;
}
#FileUploadErrors ul 
{
    margin: 0 0 1em 0;
}

p.error
{
    color: Red;
    font-weight: bold;
}

p.success 
{
    color: green;
    font-weight: bold;
}
.uploadForm label{ display: inline;float: none;width: auto;}
table.OmatTiedot { width: 100%; }
table.OmatTiedot p.form { max-width: 200px; width: inherit; }

/* viestit.css */
div.message {
    border: 1px solid rgb(0,130,45);
    padding: 0px 5px;
}

div.messages h3 {
    margin-top: 8px;
}

.kirjoittaja {
    float: left;
    font-weight: bold;
    width: 175px;
}

.paivaViestit {
    color: rgb(66,74,82);
    float: right;
    font-style: italic;
    font-weight: bold;
    padding-right: 18px;
}

.liite {
    background-image: url('attach.png');
    background-position: right;
    background-repeat: no-repeat;
}

.alku {
    color: rgb(104,110,117);
}

.message p {
    margin: 3px 0px;
}

.message p.sisalto {
    margin: 30px auto 15px auto;
    max-width: 650px;
}

textarea {
    height: 10em;
    margin-bottom: 5px;
    width: 54em;
}

#TilausLisatiedot {
        height: 5em;
        margin-top: 2px;
        margin-bottom: 2px;
        width: 54em;
}

#TilausisatiedotLabel {
    text-align: left;
    width: 500px;
}

.ui-widget-overlay {
    background: #eeeeee url(/Content/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png) 50% 50% repeat;
    opacity: .80;
    filter: Alpha(Opacity=80);
}

.ui-widget-header {
    border: 1px solid #aed0ea;
    background: #deedf7 url(images/ui-bg_highlight-soft_100_deedf7_1x100.png) 50% 50% repeat-x;
    color: #222222;
    font-weight: bold;
}

.ui-widget-header .ui-icon {
    background-image: url(images/ui-icons_72a7cf_256x240.png);
    margin-left: -8.5px;
    margin-top: -8.5px;
}

.ui-widget-content {
    border: 1px solid #dddddd;
    background: #f2f5f7 url(images/ui-bg_highlight-hard_100_f2f5f7_1x100.png) 50% top repeat-x;
    color: #362b36;
}

.ui-widget-content a {
    color: #362b36;
}

.ui-widget input, 
.ui-widget select, 
.ui-widget textarea, 
.ui-widget button {
    font-family: "helvetica neue",helvetica,arial,tahoma,verdana,sans-serif;
    font-size: 1em;
}

/*.ui-widget-overlay {
    width: 100%;
    height: 100%;
    z-index: 1001;
}

.ui-widget-content {
    z-index: 1002;
}*/


