*
{
   margin: 0;
   padding: 0;
   border: 0;
}

html
{
   background: #0f2a4b url(http://www.testwebben.se/5995/Images/217-html-bg.png) repeat-x center top;
}

body
{
   
}

html, body {
   height:100%;
   position:absolute;
   width:100%;
}

/* Content <------------------------------------------------ */


body, select, input, textarea, table
{
   font-family: helvetica, arial, sans-serif;
   font-size: 12px;
   color: #000;
}

table
{
   
}

h1, h2, h3, h4, h5, h6
{
   font-weight: bold;
}

h3
{
   font-size: 14px;
   margin: 15px 0 10px 0;
}

h2
{
   font-size: 16px;
   margin: 15px 0 10px 0;
}

h1, h2#NewsList_ViewArchiveHeader, #ViewContactFormHolder h2
{
   font-size: 20px;
   margin: 0 0 10px 0;
}

p, #smelink_linkbox
{
   margin: 10px 0;
}

a,
a:link,
a:visited,
a:active
{
   color: #153e7e;
   text-decoration: none;
   font-weight: bold;
}

a:hover
{
   text-decoration: underline;
}

ol, ul
{
   
}

#main ul
{
   list-style-type: disc;
   margin: 5px 0 5px 15px;
}

strong
{
   font-weight: bold;
}

em
{
   font-style: italic;
}

hr
{
   height: 1px;
   background: #2556a1;
   color: #2556a1;
}

/* Layout <----------------------------------------------------- */

#wrapper
{
   min-height: 100%;
   width: 1010px;
   background: url(http://www.testwebben.se/5995/Images/217-wrapper-bg.png) repeat-y center top;
   margin: 0 auto;
}

#header
{
   width: 960px;
   margin: 0 auto;
   position: relative;
   padding: 10px 0 0 0;
}

#logo
{
   z-index: 9;
}

#main
{
   min-height: 200px;
   overflow: auto;
   width: 960px;
   padding: 70px 0 20px 0;
   margin: 0 auto;
}

#main-content
{
   float: left;
   width: 660px;
   min-height: 200px;
   padding: 20px;
   background: url(http://www.testwebben.se/5995/Images/217-main-content-bg.png) no-repeat;
}

#clearfooter
{
   clear:both;
   height:51px;
}

#footer
{
   position: relative;
   bottom: 0;
   width: 960px;
   height: 28px;
   padding: 10px 0 10px 0;
   margin: -51px auto 0 auto;
   color: #000;
   border-top: 3px dotted #153e7e;
   line-height: 1em;
}

#footer a
{
   color: #000;
   font-weight: normal;
}

a#smelink_linkbox
{
   float: right;
}

/* Navigering <---------------------------------------------------- */

#nav-container
{
   
}

#nav
{
   clear: both;
   height: 60px;
   margin: -10px 0 0 20px;
   width: 946px;
   background: url(http://www.testwebben.se/5995/Images/217-nav-bg.png) no-repeat center center;
   padding: 5px 12px;
   z-index: 999;
   position: absolute;
}

/* Alla nivåer */
#dmenu a:link,
#dmenu a:visited,
#dmenu a:hover
{
   font-weight: normal;
   text-decoration: none;
   color: #fff;
   font-size: 14px;
}

#dmenu
{
   z-index: 20;
   float: left;
   border-left: 1px solid #75491e;
   border-right: 1px solid #9f6c3b;
}

#dmenu ul
{
   
}

#dmenu li
{
   float: left;
}

#dmenu,
#dmenu ul,
#dmenu li,
#dmenu ul li
{
   
}

#dmenu li a
{
   text-align: center;
   padding: 21px 18px 22px 18px;
   margin-top: 1px;
   border-left: 1px solid #9f6c3b;
   border-right: 1px solid #75491e;
   text-transform: none;
}

#dmenu li,
#dmenu li a,
#dmenu ul a
{
   display: block;
}

/* Admin */
/* Aktuell nivå, 1*/
#dmenu li.current a:link,
#dmenu li.current a:visited,
#dmenu li.current ul li.current a:link,
#dmenu li.current ul li.current a:visited
{
   color: #fff;
   background: #7b4e22;
}

/* Nivå 1, onmouseover */
#dmenu li a:hover
{
   color: #fff;
   background: #8a5a2c;
}

/*DropDown ska inte visas*/
#dmenu ul li
{
   display:none;
}

/* Nav undersida <--------------------------------- */

#subnav
{
   float: left;
   background: url(http://www.testwebben.se/5995/Images/217-subnav-bg.png) no-repeat;
   padding: 20px;
   margin: 0 20px 0 0;
   width: 200px;
   min-height: 200px;
}

#subMenuHeader
{
   display: none;
}

#dmenu ul li
{
   display:none;
}

ul#detachedSubMenu
{
   padding-top: 0;
   margin-top: 0;
   margin-left: 0;
}

ul#detachedSubMenu li
{
   list-style-type: none;
}

ul#detachedSubMenu li a
{
   display: block;
   padding: 8px 10px;
   margin: 3px 0;
   width: 180px;
   text-decoration: none;
   text-transform: none;
   background: url(http://www.testwebben.se/5995/Images/217-subnav-a-bg.png) no-repeat;
   color: #666;
}

ul#detachedSubMenu li a:hover
{
   background: url(http://www.testwebben.se/5995/Images/217-subnav-a-bg-hovercurrent.png) no-repeat;
}

ul#detachedSubMenu ul li a:hover
{
   background: transparent;
}

ul#detachedSubMenu ul li.active a:hover
{
   background: transparent;
}

ul#detachedSubMenu li.active a
{
   color: #2556a1;
   background: url(http://www.testwebben.se/5995/Images/217-subnav-a-bg-hovercurrent.png) no-repeat;
}

ul#detachedSubMenu ul
{
   margin: 0 0 0 0;
}

ul#detachedSubMenu ul li a
{
   text-transform: none;
   padding: 4px 0px 4px 10px;
   color: #666;
   border-bottom: 0;
   margin-left: 0;
   background: transparent;
}

ul#detachedSubMenu ul li a:hover
{
   color: #333;
   background: transparent;
}

ul#detachedSubMenu ul li.active a
{
   color: #2556a1;
   background: transparent;
}

ul#detachedSubMenu ul li.active a:hover
{
   background: transparent;
   color: #2556a1;
}


ul#detachedSubMenu li.not-empty a
{
   background: url(http://www.testwebben.se/5995/Images/217-subnav-a-bg-notempty.png) no-repeat;
}

ul#detachedSubMenu li.not-empty a:hover
{
   background: url(http://www.testwebben.se/5995/Images/217-subnav-a-bg-hover-notempty.png) no-repeat;
}

ul#detachedSubMenu li.active-not-empty a
{
   background: url(http://www.testwebben.se/5995/Images/217-subnav-a-bg-current-notempty.png) no-repeat;
   color: #2556a1;
}

ul#detachedSubMenu li.active-not-empty a:hover
{
   background: url(http://www.testwebben.se/5995/Images/217-subnav-a-bg-current-notempty.png) no-repeat;
   color: #2556a1;
}

/* Nyhetsfunktion <---------------------------------- */

ul.NewsList li
{
   margin: 10px 0 10px -15px;
   list-style-type: none;
}

/* Sökfunktion <------------------------------------- */

#search
{
   position: absolute;
   right: 20px;
   top: 5px;
}

#search input
{
   background: transparent url(http://www.testwebben.se/5995/Images/204-search-bg.png) no-repeat;
   width: 190px;
   height: 16px;
   padding: 5px;
}

#search button
{
   background: transparent url(http://www.testwebben.se/5995/Images/204-button-bg.png) no-repeat;
   width: 50px;
   height: 28px;
   font-size: 13px;
   color: #333;
   font-family: helvetica, arial, sans-serif;
}

#search button:hover, #search button:active
{
   background: transparent url(http://www.testwebben.se/5995/Images/204-button-bg-hover.png) no-repeat;
   cursor: pointer;
}

#search button:active
{
   position: relative;
   top: 1px;
   left: 1px;
}


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

#mContactForm
{
   margin:0 0 20px 0;
}
#mContactForm input, #mContactForm textarea
{
   background:#fff;
   border: 1px solid #ddd;
   margin: 0 0 5px 0;
   padding: 2px;
   width:195px;
   height:1.5em;
   overflow:hidden;
}

#mContactForm input:hover, #mContactForm textarea:hover
{
   border:1px solid #ccc;
}

#mContactForm input:focus, #mContactForm textarea:focus
{
   border:1px solid #bbb;
}

#mContactForm textarea
{
   height: 100px;
}

#mContactForm button
{
   background:#153e7e;
   color: #fff;
   font-size: 1em;
   padding: 2px 5px;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   float: left;
   font-family: helvetica, arial, sans-serif;
}

#mContactForm button:hover
{
   background: #0d2f65;
   cursor:pointer;
}

#mContactForm td
{
   text-align: left;
}

#contactFormErrorSpan
{
   position: relative;
   bottom: 8px;
}
