/*  
Theme Name: Simple Static Site - Smashing WordPress Themes version
Theme URI: http://tdh.me/wordpress/simple-static/
Description: A theme meant for simple static websites, hence the name. SMASHING WORDPRESS THEMES VERSION!
Version: 0.9
Tags: light, two-columns, right-sidebar, fixed-width, threaded-comments, translation-ready, custom-header, custom-background, custom-menu, editor-style
Author: Thord Daniel Hedengren
Author URI: http://tdh.me/

	This theme was originally created for use in the book
	Smashing WordPress Themes, written by yours truly.
	
	Read more about my books at http://tdh.me/books/

*/

/* RESET
   ----- */

body, h1, h2, h3, h4, h5, h6, p, form, img, ul, ol, table, tbody, thead, tr, td {
	margin: 0px 0 10px 0px;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}


/* LAYOUT
   ------ */
   
#site {
	width: 100%;	
}

#wrap {
	width: 1030px; /* The full site width */
	margin: 0 auto;
}

#header {
	width: 100%;
	float: center;
}
h1#logo, div#logo {
	width: 750px;
	float: left;
}
div.search {
	width: 320px;
	float: right;
	text-align: right;
}
div#header-blurb { /* The text blurb on the front page header */
	position: absolute;
	width: 260px;
	margin-left: 750px;
	background: url(img/white-50.png);
}
div#header-blurb p {
	padding: 20px;
}

#plate {
	width: 100%;
	float: left;
	background: #fff url(img/right-bg.png) repeat-y top right; /* This is the actual site background */
}

div.top-menu {
	width: 100%;
	float: left;
	background: #191497;
}
div.top-menu ul {}
div.top-menu ul li {
	float: left;
	list-style: none;
	padding: 10px 10px;
}

#custom-header {
	float: center;
	padding: 0px;
	background: #ffffff;
	}
#custom-header img {
	display: center;
}
	
#content {
	width: 715px; 
	float: left;
	padding: 10px 10px 10px 25px;
	
}
div.post, div.page, h1#archive-title {
	padding: 15px 15px 15px 15px;
	margin-bottom: 15px;
} 
div.entry-content, div.entry-meta {
	margin-bottom: 18px;
}
div.entry-meta {
	padding: 200px;
	background: #f6f5ef;
	border: 1px solid #f3ecd2;
	border-width: 1px 0; /* Only top and bottom */
}
	
/* Comments style */
h3#comments {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #888;
}
h3#comments, div.navigation, ol.commentlist, div#respond {
	margin-left: 20px; /* Getting the left column right */
}
ol.commentlist {
	margin-bottom: 20px;
}
li.comment {
	list-style: none;
	margin-top: 10px;
}
li.depth-1 {
	padding-bottom: 10px;
	border-bottom: 1px solid #888; /* Bottom border on top level comments */
}
div.comment-author {}
div.comment-author img.avatar {
	float:left;
	margin-right: 10px;
}
div.comment-meta, div.comment-body p {
	margin-bottom: 10px; /* Adding some space */
}
ul.children {
	margin-left: 20px; /* Left margin for replies in threaded comments */
}
div.reply { /* Reply link in threaded comments */
	padding-top: 5px;
	text-align: right;
	border-top: 1px solid #bfbfbf;
}
div#respond {} /* The reply to comments box */
form#commentform {
	margin-top: 10px;
	padding: 20px 20px 10px 20px; /* We only need 10px bottom */
	background: #f6f5ef;
}
form#commentform p {
	margin-bottom: 10px;
}
form#commentform input {
	margin-right: 10px;
	padding: 3px; /* Some space in the input fields */
	width: 200px;
}
textarea#comment {
	width: 540px;
	padding: 10px;
}

#sidebar-container {
	width: 280px; /* Active sidebar width is 300 px due to right margin */
	float: right;
	background: #dddaf2;
}
ul#sidebar {
	padding-right: 20px; /* The right margin */
}
ul#sidebar li {
	list-style: none;
}
li.widget {
	margin-bottom: 20px;
}
li#postmeta {}
li#postmeta h2 {
	margin-bottom: 4px;
}
li.pagenav {
	background: #f0f4fb;
	padding: 10px;
	margin-bottom: 20px;
	font-weight: bold;
}
li.pagenav ul {
	margin-top: 5px;
}
li.pagenav ul li.page_item {
	margin: 10px 10px 10px 0 !important;
	border-width: 0 0 1px 0;
	text-transform: uppercase;
}
li.pagenav ul li.current_page_item {}
li.latest-box {
	padding: 20px;
	background: #f6f5ef;
}
li.latest-box-story {
	margin-top: 10px;
}
					
#footer {
	width: 100%;
	float: left;
	padding: 20px 0;
	background-color: #dddaf2;
	font-size: 75%;
}
div.bottom-menu {
	float: left;
	padding: 10px 20px;
}
div.bottom-menu ul {
	width: 920px; /* Full width 960 px -40px padding from div.bottom-menu */
	float: left;
	padding: 10px 0;
	border: 1px solid #d5cba7;
	border-width: 1px 0;
}
div.bottom-menu ul li {
	float: left;
	padding: 0 5px;
	list-style: none;
}
	
div.footer-left {
	width: 640px;
	float: left;
}	
div.footer-left ul {
	padding-left: 20px;
}
div.footer-left ul li {
	list-style: none;
}
	
div.footer-right {
	width: 280px;
	float: right;
}
div.footer-right ul {
	padding-right: 20px;
}
div.footer-right ul li {
	list-style: none;
}

#footer-bottom {
	width: 100%;
	float: left;
}
#footer-bottom p {
	padding: 20px 20px 0 20px;
	text-align:center;
}


/* LINKS
   ----- */

#logo a {
	color: #000;
	text-decoration: none;
}

div.top-menu ul li.menu-item a {
	padding: 10px 10px;
	color: #FFFFFF;
	border-right: 1px solid #f3ecd2;
	text-decoration: none;
	font-weight: bold;
}
div.top-menu ul li.menu-item a:hover {
		color: #fff;
		background: #985;
	}
div.top-menu ul li.menu-item ul.sub-menu li a {
	padding: 10px 8px 0 8px;
	color: #FFFFFF;
	border-right: none;
	text-decoration: none;
	font-weight: bold;
}



div.entry a, h2.entry-title a {
	color: #545E9C;
	text-decoration: none;
}
div.entry a:hover, h2.entry-title a:hover {
	color: #a80;
	text-decoration: underline;
}

div.entry-meta a, ul#sidebar a, div#footer a, li.comment a {
	color: #222;
	text-decoration: none;
}
div.entry-meta a:hover, ul#sidebar a:hover, div#footer a:hover, li.comment a:hover {
	color: #000;
	text-decoration: underline;
}

span.meta-category a {
	color: #887b4c !important;
	text-transform: uppercase;
	font-weight: bold;
}


/* TYPOGRAPHY
   ---------- */
   


body {
	font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
	font-size: 100%;
}

h1#logo, div#logo {
	font-weight: normal;
	font-size: 48px;
	font-variant: small-caps;
}

div#header-blurb p {
	font-style: italic;
	line-height: 24px;
}

div.entry p {
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 1.5em;
}

div.comment-body p, div.entry-meta, li.menu-item, h2.widgettitle, li.latest-box-story h4, input, textarea {
	font-size: 12px;
}

li.menu-item {
	line-height: 12px;
	text-transform: uppercase;
}

div.search, ul#sidebar li, div.reply, div.comment-author, div.comment-meta {
	font-size: 12px;
	margin: 20px 0 20px 20px;
}

li.widget {
	color: #666;
}

li.widget p {
    margin-bottom: 8px;
    line-height: 18px;
}

li.widget_search {
	text-align: right;
}

h1.entry-title, h1#archive-title {
	font-size: 24px;
	line-height: 24px;
}
h1.entry-title {
		margin-bottom: 18px;
}
h1#archive-title {
		margin-bottom: 36px;
}
h1#archive-title span {
	font-weight: normal;
	color: #666;
}

h2.entry-title {
	font-size: 18px;
	line-height: 18px;
	margin-bottom: 4px;
}
.entry-content h2 {
	font-size: 20px;
	line-height: 1.3;
	margin: 1.5em 0 1em 0;
}
.entry-content h3 {
	font-size: 17px;
	line-height: 1.3;
	margin: 1.5em 0 1em 0;
}

h2.widgettitle, li.pagenav {
	text-transform: uppercase;
	margin-bottom: 8px;
}

li.latest-box h3 {
	text-transform: uppercase;
	color: #887b4c;
}

li.latest-box-story p {
	margin: 4px 0 0 0;
	color: #666;
	line-height: 12px;
}

li.pagenav ul { /* Fix for Pages lacking proper h2 */
	text-transform: none;
	margin-bottom: 0;
	font-weight: normal;
}

span.meta-category {
	color: #666;
}

div.comment-author, div.comment-meta {
	line-height: 16px;
}

li.widget-area-empty {
	color: red;
}

input {
	font-style: italic;
}

.entry-content ul, .entry-content ol {
	font-size: 15px;
	line-height: 1.6;
	margin: 1.5em 0 1.5em 25px;
}

.entry-content table {
	margin: 1.5em 0;
}
.entry-content table tr td {
	font-size: 15px;
	line-height: 1.6;
}

.entry-content table.execcommittee {
	border-collapse: collapse;
}
.entry-content table.execcommittee tr td {
	padding: 5px 10px;
	font-size: 12px;
	border: 1px solid #191497;
	vertical-align: top;
}
.entry-content table.execcommittee tr.row1 td.col1 {
	background-color: #f0f4fb;
	text-align: left;
	width: 50%;
}
.entry-content table.execcommittee tr.row2 td.col1 {
	background-color: #dddaf2;
	text-align: left;
}

.entry-content table.execcommittee tr td[colspan="2"] {
	background-color: #ac9cd8;
	text-align: center;
}

.entry-content table.syria2006 {
	width: 560px;
}
.entry-content table.syria2006 tr td {
	font-size: 12px;
	line-height: 1.4;
}

.maresmilk {
	border-collapse: collapse;
	margin: 1.5em 0;
	width: 560px;
}
.maresmilk th, .maresmilk td {
	padding: 2px 4px;
	font-size: 12px !important;
	line-height: 1.2 !important;
	border: 1px solid #191497;
	text-align: center;
}
.maresmilk th {
	background-color: #dddaf2;
}
.maresmilk td {
	vertical-align: middle;
}

.entry-content center {
    display: block;
    font-size: 12px;
    margin: 1.5em 0;
}

/* WORDPRESS STYLES
   ---------------- */

img.alignleft, div.alignleft {
	float:left;
	margin: 0 15px 9px 0;
}

img.alignright, div.alignright {
	float:right;
	margin: 0 0 9px 15px;
}

.wp-caption {
	padding: 1px 1px; 
	border: 0px solid #bfbfbf;
	font-size: 12px;
	color: #888;
	font-style: italic;
	text-align:center;
}

p.wp-caption-text {
	margin: 10px 0 0 0;
	padding: 0;
	line-height: 14px;
}
div.entry p.wp-caption-text {
	font-size: 11px;
	line-height: 1.3;
	margin: 0;
}

div.gallery {
	margin-bottom: 14px;
}
dl.gallery-item {}
dt.gallery-icon {}
	img.attachment-thumbnail {
		border:0;
	}
dd.gallery-caption {
	margin-top: 8px;
	font-size: 12px;
	color: #888;
	font-style: italic;
}


/* RAM List */
ul.ram-list{
	list-style-type: none;
	margin: 0 0 1em 0;
	padding: 0;
}
ul.ram-list li {
	line-height: 1;
	padding-bottom: 5px;
	border-bottom: 1px solid #dddaf2;
	margin-bottom: 7px;
}
ul.ram-list .flag {
	width: 80px;
	display: inline-block;
}
ul.ram-list .country {
	width: 100px;
	display: inline-block;
	font-weight: bold;
}
ul.ram-list .isocode {
	width: 40px;
	display: inline-block;
}
ul.ram-list .studbook {
	width: 40px;
	display: inline-block;
}
/* WAHO Trophy Winners sidebar */
ul#sidebar .SlideshowWidget .slideshow_description a {
	color: #ccc;
	text-decoration: none;
}
ul#sidebar .SlideshowWidget .slideshow_description a:hover {
	color: white;
}
ul#sidebar .SlideshowWidget .slideshow_description h2 {
	font-size: 16px;
	padding-bottom: 5px;
}
ul#sidebar .SlideshowWidget .slideshow_description p {
	font-size: 14px;
	padding-top: 0;
}
/* Sidebar Country list */
ul#RAList li {
    line-height: 1.6;
    margin: 0 10px;
}
