﻿/*
Theme Name: Farum Dyreklinik ApS
Theme URI:
Description: Custom theme created by Lars S. Sørensen and SW Solutions for the <a href="http://www.farumdyreklinik.com">Farum Dyreklinik ApS</a> website
Version: 5.0
Author: Lars S. S&oslash;rensen
Author URI: http://swsolutions.dk/
*/

/* ----- CSS ----- */

* {
  margin: 0;
  padding: 0;
  }

img {
  border: 0;
  display: block;
  }

* :focus {
  outline: 0;
  }   
  
/* ----- IDS ----- */

body {
  background: #fff url(images/body.png) repeat-x top left;
  color: #555;
  font: 11px verdana, arial, sans-serif;
  line-height: 1.6em;
  text-align: center;
  }

#container {
  position: relative;
  width: 900px;
  margin: 0 auto;
  text-align: left;
  }
#container:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  }

#header {
  position: relative;
  width: 900px;
  height: 138px;
  margin: 0 auto;
  }
#header:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  }

#logo-1 {
  position: absolute;
  top: 68px;
  left: 0px;
  background: #fff;
  padding: 0 20px;
  }
  
#logo-2 {
  position: absolute;
  top: 40px;
  right: 0px;
  background: #fff;
  padding: 0 20px;
  }
  
#topnav {
  position: relative;
  float: left;
  font-size: 11px;
  text-transform: lowercase;
  line-height: 1.2em;
  padding: 4px 0 0 20px;
  color: #447eb7;
  }

#searchform {
  position: relative;
  float: right;
  font-size: 11px;
  text-transform: lowercase;
  line-height: 1.0em;
  padding: 0 20px 0 0;
  color: #447eb7;
  }
  
#image-1 {
  width: 478px;
  background: #eee;
  margin-bottom: 20px;
  }

#image-2 {
  width: 648px;
  height: 150px;
  background: #eee;
  margin-bottom: 50px;
  }
  
#wrapper-1 {
  text-align: left;
  width: 900px;
  background: transparent url("./images/wrapper-1.png") repeat-y right top;
  }
#wrapper-1:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  }

#wrapper-2 {
  text-align: left;
  width: 900px;
  background: transparent url("./images/wrapper-2.png") repeat-y right top;    
  }
#wrapper-2:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  }
    
#content-1 {
  float: right;
  position: relative;
  width: 476px;
  margin-right: 23px;
  }
  
#content-2 {
  position: relative;
  width:646px;
  margin-left: 41px;
  }
  
#sidebar {
  width:150px;
  padding: 0 20px;
  }  

#leftbar {
  float: left;
  width:150px;
  padding: 0 20px;
  }
#leftbar:after {
  clear: both;
  visibility: hidden;
  content: ".";
  display: block;
  height: 0px;
  }  
  
#footer {
  width: 860px;
  border-top: 4px solid #d2d2d2;
  margin: 20px 20px 20px 20px;
  font-size: 10px;
  }

/* ----- NAVIGATION ----- */

#nav {
  margin: 73px 0 20px 0;
  width: 150px;
  font-family: arial, verdana, sans-serif;
  }

#nav ul {
  list-style:none;
  border-top:1px solid #eee;
  }

#nav ul li {
  display:inline;
  }

#nav ul li a {
  display: block;
  color: #447eb7;
  font-size:12px;
  font-weight: bold;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid #eee;
  }

#nav ul li a:hover {
  color: #fcb600;
  }

#nav ul li.current_page_item a {
  color: #fcb600;
  }

#nav ul li.on a:hover {
  color: #fcb600;
  }

#nav ul ul {
  border-top: none;
  border-bottom:1px solid #eee;
  padding: 5px 0;
  }

#nav ul ul li.page_item a {
  color: #447eb7;
  font-size: 12px;
  font-weight: normal;
  padding: 0 0 0 15px;
  border-bottom: none;
  margin: 2px 0 2px 0;
  background: transparent url(./images/dot-1.png) no-repeat left 6px;
  }

#nav ul ul li.current_page_item a {
  color: #fcb600;
  background: transparent url(./images/dot-2.png) no-repeat left 6px;
  }

#nav ul ul li.page_item a:hover {
  color: #fcb600;
  background: transparent url(./images/dot-2.png) no-repeat left 6px;
  }

/* ----- CLASSES ----- */

.box {
  background: url(images/box.png) repeat-x top left;
  border-top: 1px solid #cdcdcd;
  border-bottom: 1px solid #cdcdcd;
  margin-bottom: 20px;
  padding: 10px;
  }

#content-1 .box {
  margin-top: 20px;
  margin-bottom: 0;
  padding: 0 10px 10px 10px;
  }
  
.thumb {
  width: 150px;
  border-top: 1px solid #cdcdcd;
  border-bottom: 1px solid #cdcdcd;
  padding: 10px 0;
  text-align: center;
  }
  
.right {
  float: right;
  }

.left {
  float: left;
  }

.section {
  margin: 20px 0 0 0;
  }
  
/* ----- LINKS ----- */

a:link {
  color: #447eb7;
  text-decoration: none
  }

a:visited {
  color: #447eb7;
  text-decoration: none
  }

a:hover {
  color: #fcb600;
  text-decoration: underline;
  }

#topnav a:link {
  color: #447eb7;
  text-decoration: none
  }
  
#topnav a:visited, #footer a:visited {
  color: #447eb7;
  text-decoration: none
  }

#topnav a:hover, #footer a:hover {
  color: #fcb600;
  text-decoration: none;
  }

#header a {
  color: #447eb7;
  text-decoration: none
  }

#logo-1 a, #logo-2 a {
  text-decoration: none;
  } 

#footer a:link, #footer a:visited {
  color: #555;
  text-decoration: none
  }
  
#footer a:hover {
  color:#555;
  text-decoration: underline;
  }
  
/* ----- PARAGRAPHS ----- */

p {
  padding-top: 10px;
  }

#footer p {
  padding-top: 2px;
  }

#leftbar p {
  padding-top: 5px;
  line-height: 1.4em;
  }

p.postinfo {
  padding-top: 10px;
  padding-bottom: 10px;
  font-style: italic;
  }

li p {
  padding-top: 0px;
  }
  
/* ----- HEADINGS ----- */

h1 {
  position: absolute;
  font-family: arial, verdana, sans-serif;
  font-size: 22px;
  font-weight: bold;
  text-transform: none;
  color: #fff;
  top: 139px;
  left: 0px;
  padding: 10px;
  background: url(./images/50.png) repeat top left;
  width: 628px;
  margin-bottom: 60px;
  }

#content-1 h1 {
  width: 458px;
  top: 314px;
 }
 
h2 {
  font-size: 13px;
  font-weight: bold;
  text-transform: none;
  padding-top: 20px;
  }

#leftbar h2 {
  padding: 0;
  }
  
h3 {
  font-size: 13px;
  font-weight: bold;
  text-transform: none;
  padding-top: 20px;
  }
  
h4 {
  font-size: 11px;
  font-weight: bold;
  text-transform: none;
  padding-top: 20px;
  }

li h4 {
  padding-top: 10px;
  }

table h4 {
  padding-top: 0;
  }
  
/* ----- IMAGES ----- */
  
table img {
  float: left;
  height: 100px;
  width: 100px;
  }  

/* ----- LIST ----- */

dl {
  padding-top: 5px;
  }

dt {
  padding-top: 10px;
  font-weight: bold;
  padding-left: 0px;
  }

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

#content-2 ul, #content-2 ol {
  padding-top: 10px;
  }
  
#content-2 li {
  margin-left: 20px;
  padding: 0 0 0 10px;
  }

#articles h3 { font-size: 1.1em; font-weight: bold; text-transform: none; color: #666; padding: 0; margin-top: 30px;}
#articles ul { list-style: none; border-top: 1px solid #eee; margin: 5px 0 0 0; padding: 0; font-size: 11px;}
#articles ul li { padding: 0; margin: 0; border-bottom: 1px solid #eee; }
#articles ul li a, #sws-links .sws-links-list ul li a:visited { display: block; padding: 2px 10px; }
#articles ul li a:hover { background: #f6f6f6; text-decoration: none;}

/* ----- TABLES ----- */
table.lean {
  margin-top: 15px;
  margin-left: 0px;
  width: 100%;
  border-collapse: collapse;
  border-top: 1px #cdcdcd solid;
  border-right: none;
  border-left: none;
  }

table.lean td {
  background: #ECF0F3;
  padding: 1px 10px;
  border-bottom: 1px #cdcdcd solid;
  text-align: right;
  }

table.lean th {
  padding: 1px 0 1px 10px;
  vertical-align: top;
  background: #ECF0F3;
  font-weight: normal;
  border-bottom: 1px #cdcdcd solid;
  text-align: left;
  }

table.foto {
  margin-left: 0px;
  width: 100%;
  border-collapse: collapse;
  border-right: none;
  border-left: none;
  }

table.foto td {
  padding-top: 20px;
  background: #fff;
  text-align: left;
  vertical-align: top;
  }

table.foto th {
  padding-top: 20px;
  padding-right: 20px;
  vertical-align: top;
  background: #fff;
  font-weight: normal;
  }
  
.box table {
  margin-top: 5px;
  width: 100%;
  border-collapse: collapse;
  border: none;
  }

.box td {
  text-align: right;
  }

.box th {
  vertical-align: top;
  font-weight: normal;
  text-align: left;
  }
  
span {
  padding: 0 10px;
  }
  
#searchform input {
  text-align: left;
  vertical-align: middle;
  margin-top: 2px;
  background: #fff;
  width:103px;
  border: 1px solid #cdcdcd;
  font: normal 11px Verdana, Arial, sans-serif;
  line-height: 1.0em;
  }

#searchform .button {
  clear: none;
  width: 40px;
  vertical-align: top;
  margin-top: 1px;
  margin-left: 5px;
  padding: 0 0 0px 0;
  background: #447eb7;
  color: #fff;
  line-height: 1.0em;
  font: normal 10px Verdana, Arial, sans-serif;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  } 

#searchform .button:hover {
  background: #fcb600;
  } 
  
strong.search-excerpt {
  color: #fcb600;
  }
  
/* ----- Pagebar ----- */
.pagebar {
  margin-top: 20px;
  margin-right: 0.1em;
  background: #fff;
  text-decoration: none;
  text-align: center;
  }

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

.pagebar a:visited {
  border: 1px solid #eee;
  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 #eee;
  padding: 0.2em 0.5em;
  font-weight: bold;
  background: #fff;
  color: #fcb600;
  }

.pagebar a:hover {
  border-color: #fcb600;
  }