/*
Theme Name: oesidk
Theme URI:
Description: Theme created for <a href="http://www.oesidk.dk">Old English Sheepdog Klubben i Danmark</a>
Version: 6.0
Author: Lars S. S&oslash;rensen
Author URI: http://swsolutions.dk/
*/

/* ----- CSS ----- */

* {
  margin: 0;
  padding: 0;
  }

* :focus {
  outline: 0;
  }  
  
/* ----- IDS ----- */

body {
  background: #EFEFEF url(./images/body.png) repeat-x left top;
  color: #555;
  font: 11px  verdana, Tahoma, arial, sans-serif;
  line-height: 1.4em;
  text-align: center;
  }

#container {
  position: relative;
  width: 1002px;
  margin: 20px auto;
  background: #fff url(./images/container.png) repeat-y left top;
  }
#container:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  }

#header {
  width: 960px;
  padding: 0 21px;
  background: #fff url(./images/header.png) no-repeat left top;
  }
#header:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  }

#topnav {
  position: absolute;
  top: 15px;
  right: 10px;
  height: 20px; 
  width: 200px;
  padding: 3px 0px 6px 10px;  
  font-size: 12px;
  line-height: 1.1em;
  color: #777;
  text-transform: lowercase;
  font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif;
  }
  
#searchform {
  position: relative;
  float: right;
  height: 20px;
  background: #fff;
  padding: 0 10px 5px 0px;
  font-size: 11px;
  text-transform: lowercase;
  line-height: 1.0em;
  }
  
#logo {
  position: absolute;
  top: 20px;
  left: 45px;
  }

#wrapper {
  margin: 20px 0;
  padding: 0 21px;
  text-align: left;
  background: #fff url(./images/wrapper.png) repeat-y left top;
  width: 960px;
  }
#wrapper:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  }

#wrapper_front {
  margin: 20px 0;
  padding: 0 21px;
  text-align: left;
  background: #fff url(./images/wrapper_front.png) repeat-y left top;
  width: 960px;
  }
#wrapper_front:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  }
  
#content {
  float: left;
  width:619px;
  }
#content:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  }  

#content_front {
  margin-left: 222px;
  width:398px;
  }
#content-front:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  }

#leftbar {
  float: left;
  width: 200px;
  line-height: 1.3em;
  font: 11px  verdana, Tahoma, arial, sans-serif;  
  }
  
#sidebar {
  float: right;
  width: 300px;
  line-height: 1.3em;
  font: 11px  verdana, Tahoma, arial, sans-serif;
  }

#footer {
  width: 960px;
  color: #555;
  background: #fff url(./images/footer.png) no-repeat left bottom;
  font: 10px Verdana, Tahoma, Arial, Helvetica, sans-serif;
  line-height: 1.2em;
  padding-bottom: 1px;
  padding: 10px 21px 0px 21px;
  height: 30px;
  }


/* ----- NAVIGATION ----- */

#topnav ul {
  float: right;
  margin-top: 1px;
  margin-right: 10px;
  white-space: nowrap;
  list-style: none;
  }

#topnav li:hover, #nav li.hover {
    position:static;
}

#topnav li {
  display:  block;
  float: left;
  list-style-type: none;
  line-height: 11px;
  font-size: 11px;
  font-family: Arial, Verdana, Helvetica, sans-serif;
  font-weight: normal; 
  background: #fff;
  margin-left: 10px;
  background: transparent url(./images/botton2.png) no-repeat left top;
  }

#topnav li a {
  display: block;
  text-decoration: none;
  color: #000;
  background: transparent url(./images/botton1.png) no-repeat right top;
  height: 16px;
  padding: 4px 10px 0 10px;
  }

#topnav span {
  }

#topnav ul li a:hover, #nav ul li a.hover {
  color: #E70008;
  }

#topnav li.current_page_item a, #nav li.current_page_parent a, #nav li.current_page_ancestor a {
  color: #000; 
  }


#nav {
  float: left;
  margin-top: 130px;
  width: 958px;
  background: url(./images/nav.png) repeat-x left top;
  border-left: 1px solid #C2C2C2;
  border-right: 1px solid #C2C2C2;
  }

#nav li:hover, #nav li.hover {
    position:static;
}

  
#nav ul {
  margin-left: 178px;
  float: left;
  white-space: nowrap;
  list-style: none;
  background: url(./images/devider.gif) left center no-repeat;
  padding-left: 2px;
  height: 30px;
  }
  
#nav li {
  float: left;
  list-style: none;
  background: url(./images/devider.gif) right center no-repeat;
  display: block;
  height: 30px;
  }  

#nav li a {
  display: block;
  padding: 7px 17px 8px 17px;
  text-decoration: none;
  height: 15px;
  margin-right: 2px;
  color: #000;
  font-weight: bold;
  font-size: 13px;
  font-family:Arial, Helvetica, sans-serif;
  }

#nav li a:link {
  color:#000;
  }

#nav li a:visited {
  color: #000;
  }

#nav li a:hover {
  color: #E70008;
}


#nav li.home a {
  width: 11px;
  background: url(./images/home.png) no-repeat center 10px;
  }

#nav li.home_current_page_item a {
  width: 11px;
  background: url(./images/home.png) no-repeat center 10px;
}

#nav li.home a:hover {
  width: 11px;
  background: url(./images/home_hover.png) no-repeat center 10px;
  }

#nav li ul {
  position: absolute;
  background: none;
  margin: 0;
  left: -999em;
  height: auto;
  width: 154px;
  font-weight: normal;
  padding: 0;
  z-index:10;
  }
#nav ul li li {
  border: none;
  text-align: left;
  background: #F1F1F1;
  
  border-left: 1px #C2C2C2 solid;
  border-right: 1px #C2C2C2 solid; 
  height: auto;
  }
#nav li ul a {
  width: 138px;
  font-weight: normal;
  color: #fff;
  margin: 0;
  height: 15px;
  padding: 7px 0 7px 17px;
  border-bottom: 1px #C2C2C2 solid;
  }

#nav li li a:hover {
  color: #E70008;
  }

#nav li ul ul {
  margin: 0;
  border-top: 1px #C2C2C2 solid;
  }

#nav li ul li ul {
  margin: -31px 0 0 155px;
  }

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
  left: -999em;
  }

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
  left: auto;
  }


#subnav {
  float: left;
  margin-top: 0px;
  height: 20px;
  width: 948px;
  border-left: 1px solid #C2C2C2;
  border-right: 1px solid #C2C2C2;  
  background: url(./images/subnav.png) repeat-x left bottom;
  text-align: left;
  padding-left: 10px;
  padding-top: 10px;
  font: 10px Verdana, Tahoma, Arial, Helvetica, sans-serif;
  }

#subnav ul {
  float: left;
  white-space: nowrap;
  list-style: none;
  height: 12px;
  margin-left: 177px;
  border-left: 1px solid #ccc;
  margin-top: 9px;
  margin-bottom: 9px;
  }

#subnav li {
  display:  block;
  float: left;
  height: 20px;
  list-style-type: none;
  line-height: 12px;
  font-size: 12px;
  font-family: Arial, Verdana, Helvetica, sans-serif;
  text-align: center;
  font-weight: normal;
  }

#subnav li a {
  display: block;
  text-decoration: none;
  color:#000;
  padding: 0 20px;
  border-right: 1px solid #ccc;
  }

#subnav li a:link {
  color:#000;
  }

#subnav li a:visited {
  color: #000;
  }
  
#subnav ul li a:hover, #nav ul li a.hover {
  color: #E70008; 
  }
  
#subnav li.current_page_item a, #subnav li.current_page_ancestor a {
  color: #E70008;
  }  

  
/* ----- CLASSES ----- */

.right {
  float: right;
  }

.left {
  float: left;
  }
  
.center {
  text-align: center;
  }

.small {
  font-size: 11px;
  line-height: 1.3em;
  }
  
.box {
  margin-top: 20px;
  padding: 15px;
  font-size: 11px;
  line-height: 1.3em;
  border: 1px solid #e3e3e3;
  background: #f6f6f6;
  }

.sidebox {
  margin-top: 20px;
  padding-bottom: 10px;
  text-align: left;
  width: 300px;
  background: url(./images/sidebox.png) no-repeat left bottom;
  }

.singlepost {
  padding-top: 10px;
  }
.singlepost:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  }
  
.post {
  padding-top: 10px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e3e3e3;
  margin-bottom: 3px;
  }
.post:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  }
  
.top {
  margin-top: 0;
  }
  
.recent_post {
  padding-top: 20px;
  }

.aligncenter, div.aligncenter, .alignnone , div.alignnone {
  display: block;
  margin-left: auto;
  margin-right: auto;
  }  

.righttext {
  text-align: right;
  }
  
/* ----- LINKS ----- */

a:link {
  color: #E70008;
  text-decoration: none
  }

a:visited {
  color: #E70008;
  text-decoration: none
  }

a:hover {
  color: #E70008;
  text-decoration: underline
  }

a:active {
  color: #E70008;
  text-decoration: none
  }

#footer a:link, #footer a:visited {
  color: #555;
  text-decoration: none
  }
  
p.postinfo a:link, p.postinfo a:visited {
  color: #888;
  text-decoration: none
  }

p.postinfo a:hover {
  color: #E70008;
  text-decoration: underline
  }
  
#footer a:hover {
  color: #E70008;
  text-decoration: underline
  }

a.email {
  padding-left:15px;
  background:url(./images/email.gif) no-repeat 0 70%;
  }

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%;
  }
a.web {
  padding-left:15px;
  background:url(./images/web.gif) no-repeat 0 70%;
  }
  
/* ----- PARAGRAPHS ----- */

p {
  padding-top: 10px;
  }

p.postinfo {
  padding-top: 0;
  font-size: 10px;
  color: #888;
  }
  
.sidebox p {
  padding: 10px 16px 0px 16px;
  }

#footer p {
  padding-top: 0px;
  }

p.caption {
  padding-top: 5px;
  font-size: 11px;
  line-height: 1.1em;
  font-style: normal;
  }

.contactleft p {
  padding: 0;
 }

#sidebar address {
  padding: 10px 10px 0 10px;
  }

li p {
  padding-top: 0px;
  }
  
/* ----- HEADINGS ----- */

h1 {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  padding-top: 0px;
  margin-bottom: 20px;
  }

h2 {
  font-size: 14px;
  font-weight: bold;
  color: #444;
  padding-top: 10px; 
  margin-top: 20px;
  }
  
.text h2 {
  font-size: 14px;
  padding-top: 0;
  margin-top: 0;
  padding-bottom: 2px;
  font-weight: normal;
  }

h3 {
  font-size: 11px;
  font-weight: bold;
  color: #444;
  padding: 20px 0px 0px 0px;
  }

.box h3 {
  font-size: 11px;
  font-weight: bold;
  color: #444;
  padding: 0px 0px 0px 0px;
  }
  
.sidebox h2 {
  font-family: Arial, Verdana, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
  line-height: 13px;
  margin-top: 0px;
  padding: 16px 16px 0px 16px;
  background: url(./images/sidebox-h1.png) no-repeat left top;
  }

#sidebar h2 {
  font-family: Arial, Verdana, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
  line-height: 13px;
  margin-top: 0px;
  padding: 4px 16px 5px 16px;
  background: url(./images/nav.png) repeat-x left bottom;
  border-left: 1px solid #C2C2C2;
  border-right: 1px solid #C2C2C2;
  border-top: 1px solid #C2C2C2;
  color: #000;
  }
  
h4 {
  font-size: 12px;
  font-weight: bold;
  padding-top: 20px;
  }

table h4 {
  font-size: 11px;
  font-weight: bold;
  padding-top: 20px;
  margin: 0;
  }


li h4 {
  font-weight: normal;
  }
  
address {
  padding-top: 15px;
  }

/* ----- IMAGES ----- */

img {
  border-style: none;
  line-height: 0px;
  display: block;
  }

table.gallery img {
  float: left;
  height: 100px;
  width: 90px;
  padding-right: 20px;
  }
  
#sidebar img {
  }

#sidebar img.noborder {
  border: none;
  margin: 0;
  }

#sidebar img.no-border {
  border: none;
  }

.contenttext img {
  margin-top: 20px;
  }

#rotator img {
  min-height: 225px;
  width: 300px;
  }
  
#sidebar img.aligncenter {
  margin-top: 20px;
  }
  
/* ----- LIST ----- */

#content dl {
  padding-top: 0;
  }

#content dt {
  padding-top: 10px;
  font-weight: normal;
  padding-left: 0px;
  }

#content dd {
  padding-top: 0px;
  padding-left: 20px;
  }

.sidebox dl {
  padding: 5px 16px 0 16px;
  }

.sidebox dt {
  padding-top: 5px;
  font-weight: normal;
  padding-left: 0px;
  }

.sidebox dd {
  padding-top: 0px;
  padding-left: 15px;
  }
  
#content ul {
  margin-top: 10px;
  margin-left: 20px;
  padding-left: 0px;
  }

#content ul li {
  padding-left: 5px;
  padding-top: 0px;
  }

.sidebox ul {
  margin-top: 10px;
  margin-left: 31px;
  padding-left: 0px;
  }

.sidebox ul li {
  padding-left: 5px;
  padding-top: 0px;
  }
  
.sidebox ul.cat_list {
  list-style: none;
  margin: 10px 16px 0 16px;
  border-top: 1px solid #E3E3E3;
  }
.sidebox ul.cat_list li {
  border-bottom: 1px solid #E3E3E3;
  margin-bottom: 0px;
  padding: 0;
  }
.sidebox ul.cat_list li a, .sidebox ul.cat_list  li a:visited {
  display: block;
  padding: 2px 10px;
  }
.sidebox ul.cat_list li a:hover {
  background: #eee;
  text-decoration: none;
  }

#content ol {
  margin-top: 10px;
  margin-left: 35px;
  padding-left: 0px;
  }

#content ol li {
  padding-left: 0px;
  padding-top: 5px;
  }

#sidebar ol {
  margin-top: 10px;
  margin-left: 30px;
  margin-right: 10px;
  }

#sidebar ol li {
  margin-top: 0px;
  margin-left: 0px;
  padding-left: 0px;
  }

#content ul.postspermonth {
  margin-top: 10px;
  padding-left: 0px;
  margin-left: 0px;
  list-style-type: none;
}

#content ul.postspermonth li {
  padding-left: 10px;
  margin-left: 0px;
}

/* ----- TABLES ----- */

table {
  margin: 10px 0 0 0;
  width: 100%;
  border-collapse: collapse;
  border-bottom: 1px #e3e3e3 solid;
  }
   
table td {
  background: #fff url('./images/table_linerule.gif') repeat-y left;
  padding: 2px 10px;
  text-align: left;
  vertical-align: top;
  border: none;
  border-top: 1px #e3e3e3 solid;
  line-height: 1.3em;
  }
tr.alt td {
  background-color: #fff;
  }

table thead th {
  background: #f4f4f4;
  padding: 2px 10px 2px 10px;
  text-align: left;
  vertical-align: top;
  border: none;
  line-height: 1.3em;
  font-weight: bold;
  border-top: 1px #e3e3e3 solid;
  }
  
table thead td {
  padding: 2px 10px 2px 10px;
  vertical-align: top;
  background: #f4f4f4 url('./images/table_linerule.gif') repeat-y left;;
  font-weight: bold;
  vertical-align: top;
  border: none;
  border-top: 1px #e3e3e3 solid;
  }
  
table th {
  background: #fff;
  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;
  }

table.list {
  border-bottom: none;
  }
  
table.list th {
  background: none;
  padding: 0 10px 10px 0;
  border: none;
  }  

table.list td {
  background: none;
  padding: 0 0 10px 0;
  border: none;
  }

table.gallery {
  border: none;
  margin: 0;
  }
  
table.gallery th {
  background: none;
  padding: 10px 0 10px 0;
  border: none;
  }  

table.gallery td {
  background: none;
  padding: 10px 0 10px 0;
  border: none;
  width: 399px;
  }
  
#sidebar table {
  margin-top: 7px;
  margin-left: 0px;
  width: 100%;
  border-collapse: collapse;
  border: none;
  }

#sidebar td {
  margin: 0;
  padding: 0;
  }

#sidebar th {
  background: none;
  padding: 3px 0 0 16px;
  font-weight: normal;
  vertical-align: top;
  border: none;
  }

#sidebar td {
  background: none;
  padding: 3px 16px 0 0;
  text-align: right;
  vertical-align: top;
  border: none;
  }
  
/* ----- wp-calendar ----- */

#searchform input {
  text-align: left;
  border: none;
  color: #444;
  font-size: 11px;
  font-family: Arial, Verdana, Helvetica, sans-serif;
  text-align: center;
  line-height: 11px;
  }
#searchform .text {
  height: 16px;
  width:236px;
  margin: 0;
  background: #f3f3f3 url(./images/search2.png) no-repeat right top;
  padding: 3px 2px 1px 2px;
  text-align: left;
  }

#searchform .submit {
  clear: none;
  height: 20px;
  width: 50px;
  margin-left: 10px;
  background: #f3f3f3 url(./images/search1.png) no-repeat left top;
  color: #000;
  line-height: 11px;
  font-size: 11px;
  font-family: Arial, Verdana, Helvetica, sans-serif;
  text-align: center;
  text-transform: lowercase;
  cursor: pointer;
  } 

#searchform .submit:hover {
  color: #E70008;
  } 
  
.header span,.footer span {
  padding: 0 10px;
  color: #fff;
  }
 

#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;
  }

/* ----- Smart Archives ----- */

#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; 
  }
  
/* ----- Pagebar ----- */
.pagebar {
   margin-top: 20px;
   margin-right: 0.1em;
   background: #fff;
   text-decoration: none;
   text-align: center;
   font: 11px  verdana, Tahoma, arial, sans-serif;
 }
 
.pagebar a, .pageList .this-page {
   border: 1px solid #d5d5d5;
   text-decoration: none;
   padding: 0.2em 0.5em;
   }
 
.pagebar a:visited {
   border: 1px solid #d5d5d5;
   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 #d5d5d5;
   padding: 0.2em 0.5em;
   font-weight: bold;
   background: #fff;
   color: #000;
   }
 
.pagebar a:hover {
   border-color: #E70008;
   }
   
strong.search-excerpt {
  background-color: #555;
  color: #fff;
  }    