/*
Theme Name: DKK-Viby 1.0
Theme URI:
Description: Theme created for the <a href="http://www.dkk-viby.dk">DKK-Viby</a> website
Version: 1.0
Author: Lars S. S&oslash;rensen
Author URI: http://swsolutions.dk/
*/

/* ----- CSS ----- */
* {
  margin: 0;
  padding: 0;
  }
  
* :focus {
  outline: 0;
  }  
  
/* ----- IDS ----- */
body {
  background: #f6f6f6 url(./images/background.gif) repeat-y center top;
  color: #666;
  font: 11px/1.5 verdana, arial, helvetica, sans-serif;
  text-align: center;
  }
  
#container {
  position: relative;
  width: 900px;
  margin: 0 auto 0 auto;
  padding: 0 20px;
  text-align: left;
  }

#topnav {
  font-size: 11px;
  text-transform: lowercase;
  line-height: 1.2em;
  padding: 10px 30px 10px 30px;
  text-align: right;
  }
  
#header {
  margin: 0 auto 0 auto;
  height: 150px;
  width: 840px;  
  text-align: left;
  padding: 0;
  background: #ccc url(./images/header.jpg) no-repeat left top;
  }
#header:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  } 

#logo-1 {
  float: left;
  padding: 50px 0 0px 0px;
  }
  
#logo-2 {
  float: left;
  padding: 20px 20px 21px 20px;
  }
  
#wrapper {
  width: 840px;
  margin: 30px 0 30px 0;
  padding: 0 30px;
  background: url(./images/wrapper.png) repeat-y 619px top;
  }
#wrapper:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  }   

#wrapper_front {
  width: 840px;
  margin: 30px 0 30px 0;
  padding: 0 30px;
  background: url(./images/wrapper_front.png) repeat-y 280px top;
  }
#wrapper_front:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  } 
  
#content {
  float: left;
  width: 559px;
  }
#content:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  }  

#content_front {
  float: left;
  margin-left: 61px;
  width: 338px;
  }
#frontpage:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  }  
  
#map {
  margin-top: 10px;
  width: 559px;
  height: 419px;
  text-align: left;
  } 
  
#footer {
  width: 840px;
  height: 30px;
  border-top: 1px solid #ccc;
  margin: 0 auto;
  color: #888;
  font-size: 10px;
  line-height: 1.1em;
  }
#footer:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  }
  
/* ----- NAVIGATION ----- */
#nav {
  height: 30px;
  width: 800px;
  margin: 0 auto 0 auto;
  padding: 0 20px;
  background: #D6312B url(./images/nav.png) repeat-x top left;
  font-size:13px;
  line-height: 1.0;  
  }
#nav:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  }  
  
#nav ul {
  float: left;
  white-space: nowrap;
  list-style: none;
  }

#nav ul.right {
  float: right;
  }
  
#nav li {
  float: left;
  list-style: none;
  height: 30px;  
  }
  
#nav li a {
  padding: 8px 15px 9px 15px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  display:  block;  
  }

#nav ul.right li a {
  padding-left: 30px;
  background: url(./images/external.gif) no-repeat 15px 10px;
  }
  
#nav ul li a:hover, #nav ul li.current_page_item a:hover, #nav ul li.current_page_parent a:hover {
  color: #fff;
  background-color: #A20000;
  }
  
#nav ul li.current_page_item a, #nav ul li.current_page_parent a {
  color: #333;
  background-color: #fff;
  }

#subnav {
  height: 30px;
  margin: 0px auto;
  background: #fff url(./images/xsubnav.png) no-repeat left top;
  width: 840px;
  border-bottom: 1px solid #ccc;
  }

#subnav ul {
  float: left;
  white-space: nowrap;
  list-style: none;
  }

#subnav li {
  display:  block;
  float: left;
  height: 30px;
  list-style-type: none;
  font-size: 12px;
  text-align: center;
  font-weight: bold;
  margin-right: 20px;
  }

#subnav li a {
  text-decoration: none;
  color:#D6312B;
  line-height: 30px;
  padding: 7px 0 7px 0;
  }

#subnav ul li a:hover, #nav ul li a.hover {
  color: #A20000;
  text-decoration: underline;
  }
  
#subnav li.current_page_item a, #subnav li.current_page_ancestor a {
  color: #333;
  }  
  
/* ----- CLASSES ----- */ 
.sidebar {
  line-height: 1.3em;
  width: 220px;
  }
.sidebar:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  } 

.block {
  }
.block:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  } 
  
.center {
  text-align: center;
  }
  
.right {
  float: right;
  }

.righttext {
  text-align: right;
  }

.left {
  float: left;
  }

.top {
  padding-top: 0;
  margin-top: 10px;
  }
  
.box.top {
  margin-top: 0;
  }
  
.box {
  position: relative;
  float: left;
  height: 134px;
  width: 134px;
  margin-top: 10px;
  margin-right: 10px;
  font: 20px/1.5 verdana, arial, helvetica, sans-serif;
  line-height: 1.3em;
  font-size: 10px;
  text-align: center;
  background: #ccc;
  }

.postit {
  margin-top: 10px;
  padding: 10px;
  background: #ffff8b url(./images/postit.png) no-repeat right top;
  }
  
.contenttext {
  width: 560px;
  }
.contenttext:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  }

.post {
  margin-bottom: 20px;
  }
.post:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  }
  
.date {
  padding-top: 5px;
  padding-bottom: 10px;
  line-height: 1.3em;
  font-size: 10px;
  color: #333;
  }

/* ----- LINKS ----- */ 
a:focus, a:link, a:visited, a:active {
  color: #D6312B;
  text-decoration: none;
  }

#footer a:link, #footer a:visited {
  color: #888;
  text-decoration: none;
  }
  
a:hover, #footer a:hover {
  color:  #A20000;
  text-decoration: underline;  
  }

.box a {
 font-size: 12px;
 font-weight: bold;
 line-height: 1.0em;
 color: #fff;
 }

a.button:focus, a.button:link, a.button:visited, a.button:active {
  display:  block;
  color: #fff;
  background: #D6312B url(./images/button.png) repeat-x center left;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size:11px;
  width:220px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  }
 
a.button:hover {
   background: #A20000 url(./images/button_hover.png) repeat-x bottom;
   text-decoration: none;
  }

a.pdf {
  padding-left:15px;
  background:url(./images/pdf.png) no-repeat 0 70%;
  }
a.xls {
  padding-left:15px;
  background:url(./images/xls.png) no-repeat 0 70%;
  }
a.doc {
  padding-left:15px;
  background:url(./images/doc.png) no-repeat 0 70%;
  }
  
/* ----- PARAGRAPHS ----- */
p {
  padding: 10px 0 0 0;
  }

.box p {
  padding: 5px 0 0 0;
  }

.box1 p, .box3 p {
  padding: 10px 0 0 0;
  }

.postit p {
  padding: 5px 0 0 0;
  }
  
/* ----- IMAGES ----- */
img {
  border-style: none;
  line-height: 0px;
  display: block;
  }

img.centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
  }

img.alignright {
  padding: 4px;
  margin: 0 0 2px 7px;
  display: inline;
}

img.alignleft {
  float: left;
  margin: 10px 30px 15px 0;
  display: inline;
} 

img.wp-smiley {
  display: inline;
  margin-bottom: -4px;
}

img.icon {
  display: inline;
}

table img {
  float: left;
  height: 100px;
  width: 90px;
  margin-right: 15px;
  } 

.sidebar img.centered {
  margin-top: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;  
  }
  
/* ----- HEADINGS ----- */
h1 {
  padding-bottom: 20px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  line-height: 1.0em;
  }

h2 {
  padding-top: 30px;
  font-size: 13px;
  font-weight: bold;
  color: #333;
  padding-bottom: 0px;
  }
  
h3 {
  padding-top: 20px;
  font-size: 11px;
  font-weight: bold;
  color: #333;
  }

.postit h3 {
  padding-top: 0;
  }
  
  
table h4 {
  font-size: 11px;
  font-weight: bold;
  text-transform: none;
  padding: 0;
  padding-top: 0px;
  margin: 0;
  }  

.post h2 {
  padding-top: 10px;
  font-size: 13px;
  font-weight: bold;
  color: #333;
  padding-bottom: 0px;
  }

.sidebar h2 {
  font-size: 12px;
  font-weight: bold;
  color: #333;
  margin-top: 0;
  padding-top: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ccc;
  margin-top: 20px;
  }

.sidebar h2.top {
  padding-top: 0;
  margin-top: 0;
  }
 
.postit h2 {
  margin: 5px 0 0 0;
  padding: 0px;
  font-size: 11px;
  font-weight: bold;
  color: #666;
  border: none;
  }

 #content_front h2 {
   width: 278px;
   font-size: 12px;
   font-weight: bold;
   line-height: 1.2em;
   color: #333;
   margin-top: 0;
   padding-top: 0px;
   padding-bottom: 5px;
   border-bottom: 1px solid #ccc;
  }
  
.box h3 {
  position: absolute;
  margin: 0;
  padding: 4px 0 4px 0;
  width: 134px;
  height: 14px;
  text-align: center;
  top: 112px;
  left: 0px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.0em;
  color: #fff;
  background: url(./images/50.png) repeat left top;
  }
  
/* ----- LIST ----- */
#content ul {
  margin: 10px 0 0 25px; 
  }

#content ul li {
  padding-top: 0;  
  padding-left: 10px;
  padding-bottom: 0;
  }

#content ul.postTabs {
  margin: 5px 0 10px 0;
  list-style: none;  
  }

#content ul.postTabs li {
  background: none;
  padding-top: 5px;  
  padding-left: 5px;
  padding-bottom: 0;
  }
  
#content ul.link {
  margin: 0 0 0 0;
  list-style: none;
  }

#content ul.link li {
  background:url(./images/arrow.png) no-repeat top left;
  padding-top: 10px;
  padding-left: 28px;
  padding-bottom: 0px;
  }

#content ul#smart-archives-block {
  list-style: none;
  margin: 10px 0 0 0;
  }

#content ul#smart-archives-block li {
  padding-top: 0;  
  padding-left: 0;
  padding-bottom: 0;
  }

#content ul#smart-archives-block li strong {
  padding-right: 10px;
  }
  
#smart-archives-list ul {
  list-style: none;
  margin: 0; 
  }

#smart-archives-list ul li {
  padding-top: 0;  
  padding-left: 15px;
  padding-bottom: 0;
  }

span.post_date {
  padding-right: 10px; 
  }
  
.sidebar ul {
  list-style: none;
  margin: 10px 0 0 0;
  }

.sidebar ul li {
  padding-left:15px;
  padding-top: 0px;
  background:url(./images/arrow.png) no-repeat left -2px;
  }
  
dt {
  padding-top: 15px;
  color: #333;
  font-weight: bold;
  }

dl {
  padding-top: 0px;
  }

dd {
 padding-top: 2px;
  padding-left: 20px;  
  }

.sidebar dt {
  padding-top: 5px;
  color: #777;
  font-weight: bold; 
  }

.sidebar dl {
  padding-top: 5px;
  font: 11px/1.2 verdana, arial, helvetica, sans-serif;  
  }

.sidebar dd {
  padding-top: 0px;
  padding-left: 15px;
  }
  
address {
  padding-top: 10px;
  padding-left: 30px;
  line-height: 1.3em;
  }

/* ----- TABLES ----- */
table {
  margin: 10px 0 0 0;
  width: 100%;
  border-collapse: collapse;
  border-bottom: 1px #e1e1e1 solid;
  }
  
#rightbar table {
  margin: 0;
  }
  
table td {
  background: #f6f6f6 url('./images/table_linerule.gif') repeat-y left;
  padding: 2px 10px;
  text-align: left;
  vertical-align: top;
  border: none;
  border-top: 1px #e1e1e1 solid;
  line-height: 1.3em;
  }
tr.alt td {
  background-color: #fff;
  }

table thead th {
  padding: 2px 0 2px 10px;
  vertical-align: top;
  background: #fff;
  font-weight: bold;
  vertical-align: top;
  border: none;
  }
  
table thead td {
  padding: 2px 0 2px 10px;
  vertical-align: top;
  background: #fff;
  font-weight: bold;
  vertical-align: top;
  border: none;
  }
  
table th {
  background: #f6f6f6;
  padding: 2px 10px 2px 10px;
  text-align: left;
  vertical-align: top;
  border: none;
  border-top: 1px #e3e3e3 solid;
  line-height: 1.3em;
  font-weight: normal;
  }
tr.alt th {
  background: #fff;
  }

table th.title {
  background: #fff;
  padding: 20px 10px 5px 0;
  text-align: left;
  vertical-align: top;
  border: none;
  border-top: 1px #e3e3e3 solid;
  line-height: 1.3em;
  font-weight: normal;
  color: #000;
  }
table th.top {
  border: none;
  padding-top: 0;
  }
  
#topnav span {
  padding: 0 10px;
  }

table.list {
  margin: 0;
  border: none;
  }

table.list th {
  background: none;
  padding: 15px 0 0 0;
  border: none;
  font-weight: bold;
  }
  
table.list td {
  background: none;
  padding: 15px 0 0 0;
  border: none;
  width: 280px;
  }
    
/* ----- Pagebar ----- */
.pagebar {
  margin-top: 30px;
  margin-right: 0.1em;
  text-decoration: none;
  padding-top: 0;
  text-align: center;
  }

.pagebar a, .pageList .this-page {
  border: 1px solid #ccc;
  text-decoration: none;
  padding: 0.2em 0.5em;
  background: #fff;
  }

.pagebar a:visited {
  border: 1px solid #ccc;
  text-decoration: none;
  padding: 0.2em 0.5em;
  }

.pagebar .break {
  padding: 2px 6px;
  border: none;
  background: #fff;
  text-decoration: none;
  }

.pagebar .this-page {
  border: 1px solid #ccc;
  padding: 0.2em 0.5em;
  font-weight: normal;
  background: #fff;
  color: #000;
  }

.pagebar a:hover {
  background: #fff;
  text-decoration: underline;
  }

