body,
input,
select,
textarea {
    font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Tahoma, Arial, sans-serif;
}

body {
    background-color: #f0f0f0;
    font-size: 78%;
    margin: 0;
}

input, select, textarea {
    font-size: 1em;
}

h1, h2, h3, h4 {
    font-family: "franklin gothic medium", Arial, sans-serif;
    color: #476ebe;
}
h1 { font-size: 2.5em; margin-top: 0; border-bottom: 1px dashed #ccc }
h2 { font-size: 2.0em; margin-bottom: 0.2em }
h3 { font-size: 1.5em; margin-bottom: 0.2em }
h4 { font-size: 1.2em; margin-bottom: 0.2em }
h5 { font-size: 1.1em; margin-bottom: 0.2em }
h6 { font-size: 1.0em; margin-bottom: 0.2em }

div#huvudcontainer {
    background-color: #ffffff;
/*
    background-image: url('bakgrund-gradient.jpg');
    background-position: top right;
    background-repeat: no-repeat;
*/
    border: 1px solid #c0c0c0;
    width: 90em;
    height: 100%;
    margin: 0.5em auto;
}

div#menyram {
    width: 11em;
    padding: 1em;
    float: left;
    height: 100%;
}

div#innehall {
    padding: 1em;
    margin-left: 13em;
    margin-right: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
}

div#sidhuvud {
    margin-bottom: 1em;
    padding: 0.5em;
    border-bottom: 1px solid #c0c0c0;
    background-image: url('/bakgrund-sidhuvud.jpg');
}

div#innehall p {
    line-height: 1.5em;
}

div#sidfot {
    clear: both;
    text-align: center;
    margin-bottom: 1em;
}


/*******************************************************************
  Popupfönster
*******************************************************************/

div#popupcontainer {
    padding: 1em;
    margin: 0.5em;
    background-color: #ffffff;
    border: 1px solid #c0c0c0;
}


/*******************************************************************
  Meny
*******************************************************************/

div#meny {
    display: table;
    margin-bottom: 1em;
    padding: 0;
}

div#meny * a {
    color: #0000ff;
    text-decoration: none;
    margin-left: 1px;
    white-space: nowrap;
    padding: 0.1em;
}

div#meny * a:hover {
    background-color: #eee;
    margin-left: 0px;
    border: 1px solid #ddd;
}

div#meny ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    line-height: 150%;
}

div#meny ul li {
    margin-bottom: 0.5em;
}

div#meny ul * ul {
    margin-left: 1em;
    padding-left: 0.3em;
    padding-bottom: 0.3em;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

div#meny ul li ul li {
    margin-bottom: 0;
}


/*******************************************************************
  Tabeller
*******************************************************************/

table thead tr td {
    font-weight: bold;
}

.tabellrad1 {
    background-color: #e8e8e8;
}
.tabellrad2 {
}

.tabellradHover {
    background-color: red;
}

td.rubrik {
    font-weight: bold;
}

/*******************************************************************
  Formulär
*******************************************************************/

table.formular {
    border: 0;
}

.formularObligatorisk, .formularFelmeddelande {
    color: red;
}

.formularSektionsrubrik {
    border: 1px solid #ccc;
    border-left: 0.7em solid #476ebe;
    background-color: #eee;
    padding: 0.2em;
    padding-left: 0.3em;
}

.formularElementrubrik {
    text-align: right;
    vertical-align: top;
    padding: 0.4em;
    padding-left: 1em;
    color: #909090;
}

.formularElementdata {
    text-align: left;
    vertical-align: top;
    padding: 0.4em;
    padding-right: 2em;
}

/*******************************************************************
  Meddelanden
*******************************************************************/

span.felmeddelande, div.felmeddelande {
    color: red;
    background-color: yellow;
    padding: 0.3em;
    border: 1px solid #ccc;
}

span.meddelande, div.meddelande {
    color: green;
    background-color: yellow;
    padding: 0.3em;
    border: 1px solid #ccc;
}

.instruktion, tr.instruktion td {
    background-color: #ff8;
    padding: 0.3em;
    border: 1px solid #ccc;
}

/*******************************************************************
  Diverse
*******************************************************************/

.diskret {
    color: #ccc;
}

table.sort-table td {
    vertical-align: top;
}

/*******************************************************************
   Betalningsorder
*******************************************************************/

table#betalningsorderlista * td {
    padding-right: 1em;
    border-bottom: 1px solid #ccc;
}

/*******************************************************************
   Rapport
*******************************************************************/

div.rapport p {
    margin-top: 0;
    margin-bottom: 0.4em;
}

.rapporteradUppgift {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 0.4em;
}

a.rapportkorrigering {
    font-size: 1em;
}

table.rapportinstruktion * td {
    vertical-align: top;
    padding-left: 1em;
    padding-right: 1em;
}

table.rapportinstruktion * hr {
    color: #ccc;
}

table.rapportinstruktion * h4 {
    margin-top: 0;
}

td.instruktionsstegNr {
    font-size: large;
    padding: 0;
    text-align: center;
}

tr.aktivtsteg td {
    background-color: #fff;
}

td.instruktionsstegNrAktivt {
    font-size: xx-large;
    font-weight: bold;
    padding: 0;
    text-align: center;
    border: 1px solid #ccc;
    background-color: #fff;
}

.rapportformular {
    border: 1px dashed #ccc;
}

.rapportinstruktionfel {
    color: red;
}

@media print {

    div#huvudcontainer { width: 99%; border: none }

    div#menyram,
    div#sidhuvud,
    div#sidfot      { display: none }

    div#innehall    { margin: 0; padding: 0 }

    .skrivInteUt    { display: none }
    
    

}
