html
{
    background-image: url(http://www.testwebben.se/599/Images/bg.gif);
    background-position: center top;
    background-repeat: repeat-x; 
    background-color: #ea9137;
}

body
{
    text-align: left;
    margin: 50px 0;
    padding: 0;
}

/* CONTENT (start) --------- */

body, table
{
    font-size: 12px;
    font-family: Trebuchet MS, Verdana, sans-serif;
    color: white;
}

textarea
{
    font-size: 12px;
    font-family: Trebuchet MS, Verdana, sans-serif;
    color: black;
}

table
{
    font-size: inherit;
    font-size: 100%;
}

body, p, li, td
{
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6
{
    color: #ff9933;
    padding: 0em;
    font-weight: bold;
    text-decoration: none;
    line-height: 1.1;
}

h6
{
    font-size: 0.4em;
    margin: 1em 0em 0em 0em;
}

h5
{
    font-size: 0.6em;
    margin: 1em 0em 0em 0em;
}

h4
{
    font-size: 0.8em;
    margin: 1.5em 0em 0em 0em;
}

h3
{
    font-size: 1em;
    margin: 1em 0em 0em 0em;
}

h2
{
    font-size: 1.4em;
    margin: 1em 0em 0em 0em;
}

h1,
.modGallery h2,
.modGuestbook h2,
.modCatalog h2,
.modNewsList h2
{
    text-transform: none;
    letter-spacing: 0.1em;
    font-size: 2em;
    margin: 0em 0em 0em 0em;
}

p
{
    font-size: 1em;
    margin: 0.5em 0em 0em 0em;
}

a,
a:link,
a:hover,
a:visited,
a:active
{
    color:#ff9933;
    text-decoration: underline;
}

a:hover
{
    text-decoration: none;
    color:#ff9933;
}

img
{
    /*border-style: none;*/
}

hr
{
    height: 1px;
    margin: 0.5em 0 1em 0;
    color: gray;
    background-color: gray;
    /* clear: both; */
}

ul,
ol
{
    margin: 1.2em 0em 1.2em 2em;
    padding: 0;
}

ul li,
ol li
{
    margin: 0.2em 0em 0em 0em;
    list-style-position: outside;

}

ul
{
    list-style: url(http://www.testwebben.se/000/Images/) disc;
}

ol
{
    list-style: decimal;
}

table
{
    /*border-collapse: collapse;
    border-spacing:0;
    margin: 1em 0em 0em 0em*/
}

table td
{ 
    /*vertical-align: top;
    padding: 0.2em 0.5em 0.2em 0.3em;
    border: 1px solid black;*/
}

strong
{
    font-weight: bold;
}

em
{
    font-style: italic;
}

blockquote
{
    margin: 0em 3em;
}

/* CONTENT (end) ----------- */

/* FOOTER ------------------ */

#footer
{		
    background: url(http://www.testwebben.se/599/Images/botten.gif);
    background-repeat: no-repeat;
    text-align: center;
    font-size: 10px;
    height: 37px;
    padding: 10px 0 0 0;
    color: white;
}

#footer a,
#footer a:link,
#footer a:hover,
#footer a:visited,
#footer a:active
{
    text-decoration: none;
}
/* LAYOUT ------------------ */

#wrapper
{
    margin: auto;
    width: 800px;
}

#header
{
    width: 640px; 
    height: 129px;
    text-align: center;
    padding: 1px 0 1px 0;
    font-size: 30px;
}

#main
{
    padding: 0;
    background: #000; 

}

#main-content
{
    background: #000;
    padding: 10px;
    clear: both;
}

.clear
{
    clear: both;
    line-height: 0.01;
    border-style: none;
}

/* FORMULÄR ---------------- */

form
{
    margin: 1em 0em 0em 0em;
}

form fieldset
{
    position: relative;
    display: block;
    width: 100%;
    background-color: #dddddd;
    border: 1px #777777 solid;
    padding: 0 0.5em 0.5em 0.5em;
    margin: 1.5em 0em ;
}

form fieldset legend
{ 
    background-color: #777777;
    border: 1px #1d647b solid;
    color: white;
    font-weight: bold;
    font-variant: small-caps;
    font-size: 0.9em;
    padding: 2px 5px;
    margin: 0px 0px 10px 0px;
    position: relative;
    top: -12px;
}

textarea,
input
{
    padding: 0 0.2em;
    
}

textarea
{
    font-size: 83%;
    height: 6em;
    width: 300px;
}

select,
input
{
    font-size: inherit;
    font-size: 100%;
}

button
{
    line-height: 1.1em;
    padding-top: 0.05em;
}

/*NAV ---------------- */

/* NAV---------------- */
/* STANDARD NAV (dropdown css) */ 
/* menu box */
div#nav
{
    height: 21px;
    line-height: normal;
    padding: 6px 0px 0em 100px;
    margin: 0px 0px 0em 0px;
    border-bottom: 1px solid #ccc;
    text-align: left;
}

/* Layout */ 
#dmenu
{
    vbackground-color: transparent; 
    z-index: 20;
}

#dmenu ul
{
    position: absolute;
    z-index: 99;
}

#dmenu li
{
    list-style-type: none;
    float: left;

}

#dmenu,
#dmenu ul,
#dmenu li,
#dmenu ul li
{
    margin: 0;
    padding: 0;
}

#dmenu li a
{
    text-align: left;
    margin: 0 20px; 
}

#dmenu ul a,
#dmenu ul li a:hover
{
    background-image: none;
}

#dmenu a:hover
{

}

#dmenu ul, 
#dmenu ul ul
{
    position: absolute;
} 

#dmenu ul li>ul, 
#dmenu ul ul li>ul
{
    margin-top: -2em;
}

li>ul
{
    top: auto;
    left: auto;
}

#dmenu ul,
#dmenu ul ul,
#dmenu li:hover ul ul, 
#dmenu li:hover ul ul ul,
#dmenu li:hover ul ul ul ul,
#dmenu li:hover ul ul ul ul ul
{
    display:none;
}

#dmenu li,
#dmenu li a,
#dmenu ul a,
#dmenu a:hover,
#dmenu ul a:hover,
#dmenu ul li a:hover,
#dmenu li:hover ul,
#dmenu ul li:hover ul,
#dmenu ul ul li:hover ul,
#dmenu ul ul ul li:hover ul,
#dmenu ul ul ul ul li:hover ul
{
    display: block;
}

/* Admin */ 
#dmenu ul,
#dmenu ul li,
#dmenu ul a,
#dmenu ul li a:hover,
#dmenu ul a:hover
{
    width: 9em;
}

#dmenu ul
{
    margin: -2px 0 !important;
    margin: 0 0 0 0em;
   
}

#dmenu ul ul
{
    margin-left: 10.8em !important;
    margin-left: 8em;
    margin-top: -2.0em !important;
    margin-top: -2.0em;

}

/* level 2 background */
#dmenu ul a
{
    background-color: #000;
	 border: white 1px solid;
} 



/* shadow */
#dmenu ul li a:link,
#dmenu ul li a:visited,
#dmenu ul li a:hover
{

} 


/* highlight */
#dmenu ul li a:link,
#dmenu ul li a:visited,
#dmenu ul li a:hover
{

} 

/* onmouseout */
#dmenu a:link,
#dmenu a:visited,
#dmenu ul a,
#dmenu ul li a
{
    color: white;
} 

/* onmouseout level 2,3 */
#dmenu ul a:link,
#dmenu ul a:visited
{
    color: white;        
} 


/* onmouseover */
#dmenu a:hover,
#dmenu ul a:hover,
#dmenu ul li a:hover
{
    color: #ff9933;
} 

/* current level */
#dmenu li.current a:link,
#dmenu li.current a:visited
{

} 

/* current page */
#dmenu li#current a:link,
#dmenu li#current a:visited
{ 

} 

/* level 1 onmouseover */
#dmenu a:hover,
#dmenu ul a:hover
{

} 

/* level 2,3 onmouseover */
#dmenu ul li a:hover
{
    background: #ff9933;
    color: #000;
        
} 

#dmenu a:link,
#dmenu a:visited,
#dmenu a:hover
{
    font-weight: bold;
    text-transform: none;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.1em;
    /*padding: 2px 0.7em 3px 0.7em;*/
padding: 2px 1em 3px 0.7em;

} 

#dmenu ul li a:link,
#dmenu ul li a:visited,
#dmenu ul li a:hover
{
    font-weight: normal;
} 



/*ÖVRIGT---------------- */

div.imagecaption
{
 
	margin: 2em 1em 1em 1em; 
	text-align: center;

}

div.imagecaption img
{
 	border: 3px double #A74CA6;
}
