/*
Theme Name: Segersta
Theme URI: http://segersta.se/
Description: Custom theme for Segersta Equestrian
Version: 1.0
Author: Julia Demchenko
*/

* {
	margin: 0;
	padding: 0;
	outline: none;
}

body {
	font-size: 12px;
	font-family: arial, verdana, sans-serif;
	background: #4e3a2a url('img/bg.jpg');
	color: #4a3628;
}

/* @group general */

#wrap { 
	position: relative;
	width: 900px;
	margin: 0 auto;
	text-align: left; 
}

small {
	font-size: 11px;
	font-style: italic;
	color: #bcb7ad;
	line-height: 2em;
}

.right {
	float: right;
}

.left {
	float: left;
}

hr {
	width: 300px;
	margin: 15px auto;
	height: 1px;
	border: 0;
	background-color: #ded9d0;
	clear: both;
}

strong {
	color: #000;
}

.clear {
	clear: both;
}

.clear_left {
	clear: left;
}

/* @end */

/* @group Header */

#header a#logo { 
	width: 546px;
	height: 58px;
	margin: 30px auto;
	display: block;
	background: transparent url(img/logo.png) no-repeat left; 
}

#header a#logo span {
	display: none;
}

#navigation {
	background: transparent url(img/headernav_bg.gif) repeat-x left;
	height: 90px;
}

#header #nav { float: left; width: 900px; height: 94px; }

#navigation ul {
	background: #e6e1da;
	height: 40px;
}

#navigation ul li {
	list-style-type: none;
	display: inline-block;
	height: 30px;
	padding-top: 10px;
}

#navigation a:link, #navigation a:visited {
	color: #4a3628;
	font-size: 18px;
	text-decoration: none;
	display: block;
	float: left;
	margin: 0 10px 0;
}

#navigation a:hover {
	border-bottom: 1px solid #675549;
}

#navigation li.current_page_item, #navigation li.current-category-ancestor, #navigation li.current-post-ancestor, #navigation li.current-page-ancestor, #navigation li.current-menu-item {
	background: #fff;
	margin-top: -20px;
	border-right: 1px solid #d8c8b4;
	border-left: 1px solid #d8c8b4;
	height: 30px;
	padding-top: 20px;
	
}

#navigation li.current_page_item a:link, #navigation li.current_page_item a:visited,  #navigation li.current-category-ancestor a:link,  #navigation li.current-category-ancestor a:visited, #navigation li.current-post-ancestor a:visited, #navigation li.current-post-ancestor a:link, #navigation li.current-page-ancestor a:link, #navigation li.current-page-ancestor a:visited, #navigation li.current-menu-item a:link, #navigation li.current-menu-item a:visited {
	background: #fff;
}

#navigation li.current_page_item a:hover,  #navigation li.current-category-ancestor a:hover, #navigation li.current-post-ancestor a:hover, #navigation li.current-page-ancestor a:hover, #navigation li.current-menu-item a:hover {
	border-bottom: none;
}

#header #stampholder #stamp a { 
	position: absolute;
	width: 113px;
	height: 113px; 
	top: 45px; 
	left: 800px; 
	background: transparent url('img/stamp.png') no-repeat top left; }

#header #stampholder #stamp a span {
	display: none;
}

/* @end */

/* @group content */

#content {
	color: #4a3628;
	background: #fbfaf8;
	margin: -1px auto;
	width: 860px;
	padding: 10px 20px;
}

#content h3 {
	font-weight: normal;
	font-size: 18px;
	font-family: 'Times New Roman', serif;
}

#content p {
	color: #705d4d;
	margin: 5px 0;
	line-height: 1.6em;
}

#content .post h2.post_title {
	font-size: 12px;
	color: #705d4d;
	line-height: 1.2em;
	margin-top: 10px;
}

#content a:link, #content a:visited {
	color: #dd7200;
}

#content a img {
	border: 0;
}

#content .page_content img, #content .page_content .wp-caption {
	float: right;
	margin-left: 10px;
	margin-bottom: 10px;
}

#content .page_content .wp-caption p {
	text-align: center;
	color: #c4ae9c;
}


#events {
	margin: 10px 0 20px;
}

#news {
	float: left;
	width: 500px;
	margin-right: 10px;
}

#news .post a img {
	margin: 0 0 10px 10px;
}

#sidebar {
	float: right;
	width: 300px;
	padding: 0  0 20px 20px;
}

#sidebar img#promo {
	margin-bottom: 20px;
}

#events h3, #news h2.title {
	font-size: 26px;
	font-weight: normal;
	margin-bottom: 10px;
}

 #sidebar h2.title {
	font-size: 22px;
	font-weight: normal;
	margin-bottom: 10px;
}

#sidebar .sidebar_item {
	margin: 0 0 20px 0;
	padding: 0 20px;
}

#sidebar .sidebar_item ul li {
	margin-left: 20px;
	list-style-type: none;
	line-height: 1.8em;
}

#events h4.scheduler_sidebar_link {
	margin-bottom: 5px;
}

#events div.scheduler_sidebar_text {
	line-height: 1.5em;
}

/* @group staff */

#stafflist {
	padding:  0 10px;
}

#stafflist .staffblock { 
	float: left; 
	display: inline; 
	width: 200px; 
	margin: 0 13px 5px 0;
	min-height: 290px; 
}

#stafflist .staffblock.last {
	margin-right: 0;
}

#stafflist .staffblock .bimg { 
	float: left; 
	display: inline; 
	width: 198px; 
	margin-bottom: 3px; 
}

#stafflist .staffblock .bimg img { 
	border: 1px solid #dfd8cf; 
}

#stafflist .staffblock h5 {
	font-size: 12px; 
	color: #000; 
	font-weight: bold; 
	border-bottom: 1px solid #d8c8b4; 
	padding-bottom: 3px; 
	margin-bottom: 3px; 
}

#stafflist .staffblock h5 a {
	text-decoration: none;
}

#stafflist .staffblock h5 a:hover {
	text-decoration: underline;
}

#stafflist .staffblock p { 
	margin: 0; 
	padding: 0; 
	font-size: 11px;
	line-height: 1.2em;
}

#stafflist .staffblock .horse_price {
	background: #79c100;
	margin: 1px;
	position: absolute;
	padding: 8px;
	color: #fff;
}

.horse_price_big {
	float: right;
	margin: 0 0 10px 10px;
	padding: 20px 30px;
	font-weight: bold;
	color: #fff;
	background: #79c100;
	font-size: 16px;
}

.staffblock .himg {
	width: 200px;
	height: 200px;
	overflow: hidden;
	margin-bottom: 2px;
	border: 1px solid #dfd8cf;
}

.horse_img img {
	border: 1px solid #dfd8cf
}

.horse_img a {
	font-size: 10px;
	position: relative;
	text-decoration: none;
	color: #333 !important;
}

.horse_img a span {
	display: block;
	position: relative;
	margin-top: -15px;
	margin-left: 5px;
}

.sold_label {
	position: absolute;
	z-index: 100;
}

/* @end */

/* @group slideshow */

#slideshow{
	width: 640px;
	padding: 0;
	margin: 0 auto;
	background: #000;
}

#slideshow img {
	margin: 0;
	padding: 0;
	border: none;
	background: #fbfaf8;
}

#controls {
	width: 180px;
	margin: 0 auto;
	text-align: center;
	padding: 10px 0;
}

#controls a:link, #controls a:visited {
	display: block;
	float: left;
	width: 60px;
	text-decoration: none;
	background: #fff;
	padding: 5px 10px;
	border: 1px solid #d8c8b4;
	text-decoration: none;
	text-align: center;
	color: #000;
	font-family: 'Times New Roman', serif;
	font-weight: bold;
	text-transform: uppercase;
}

#controls a#next {
	margin-left: 10px;
}

/* @end */

/* @group preamble */

#content div.subtitle{
	text-transform: uppercase;
	font-family: 'Times New Roman', serif;
	margin: 0 0 10px;
	font-size: 12px;
	color: #a49582;
}

#content div.subtitle_menu li {
	display: inline-block;
	/*border-left: 1px solid;
	border-top: 1px solid;
	border-right: 1px solid;
	padding: 10px 10px 5px 10px;*/
	margin: 0 10px 10px 0;
	color: #d8c8b4;
}

#content div.subtitle_menu li.current_page_item,  #content div.subtitle_menu li.current-category-ancestor{
	/*background-color: #e6e1da;*/
}

#content div.subtitle_menu li a {
	text-decoration: none;
	text-transform: uppercase;
	font-family: 'Times New Roman', serif;
	font-size: 12px;
	display: block;
	color: #dd7200;
}

#content div.subtitle_menu li a:hover {
	text-decoration: underline;
}

#content div.subtitle_menu li.current_page_item a, #content div.subtitle_menu li.current-category-ancestor a {
	color: #a49582;
}

#content div.subtitle_menu li.current_page_item a:hover, #content div.subtitle_menu li.current-category-ancestor a:hover {
	text-decoration: none;
}

#content div.preamble.frontpage {
	width: 360px;
}


#content .leftcolumn {
	width: 600px;
}

#content div.preamble {
	padding: 15px 0;
	margin-bottom: 20px;
	border-top: 1px solid #d8c8b4;
	border-bottom: 1px solid #d8c8b4;
}

#content a.button {
	display: block;
	float: left;
	background: #fff;
	padding: 5px 10px;
	margin: 5px 0 5px 0;
	border: 1px solid #d8c8b4;
	text-decoration: none;
	text-align: center;
	color: #000;
	font-family: 'Times New Roman', serif;
	font-weight: bold;
	text-transform: uppercase;
}

#content div.preamble h1 {
	font-size: 60px;
}

#content div.preamble h2 {
	font-size: 42px;
}

#content div.preamble p {
	font-family: 'Times New Roman', serif;
	font-size: 16px;
	line-height: 1.3em;
}

/* @end */



/* @end */

/* @group Footer */

#footer { 
	clear: both;
	width: 900px;
	margin: 0 auto;
	padding-top: 10px;
	padding-bottom: 20px;
	font-size: 1.15em;
}

#footer p { 
	text-align: center;
	margin: 0 0 8px 0;
	padding: 0;
	color: #fff;
} 

#footer p a { 
	color: #fff;
}

#footer p a:hover { 
	text-decoration: none;
}

/* @end */

/* @group Calendar */

/* @group courses */

.category-courses table {
	width: 300px;
	float: right;
	border-collapse: collapse;
	margin: 0 0 0 20px;
}

.category-courses table td {
	padding: 4px;
}

.category-courses table tr.alt {
	background: #f4eee7;
}

.category-courses ul {
	margin: 5px 0 5px 10px;
	line-height: 1.6em;
	list-style-type: none;

}

.category-courses {
	margin: 0 10px;
}


/* @end */

#tec-content .tec-event-meta {
	float: left;
}

#tec-content .post h3{
	margin: 10px 0 5px;
	line-height: 1.4em;
}

#tec-content #tec-event-meta {
	float: left;
	width: 200px;
	line-height: 1.4em;
	padding-bottom: 10px;
}

#tec-content #tec-event-meta dt {
	font-weight: bold;
}

#tec-content #tec-event-meta dd {
	margin-left: 10px;
}

#tec-content .entry {
	float: left;
	width: 600px;
	padding-right: 20px;
	margin-right: 20px;
	border-right: 1px solid #d8c8b4;
}

#tec-events-calendar-header {
	text-align: center;
}

#tec-events-calendar-header span.tec-month-nav span.tec-next-month, #tec-events-calendar-header span.tec-month-nav span.tec-prev-month {
	margin: 0 20px;
}



table#big.tec-calendar {
	width: 100%;
	height: 450px;
	border-collapse: collapse;
	margin-top: 10px;
	margin-bottom: 10px;
}

table#big.tec-calendar tr td {
	padding: 10px;
	width: 14%;
	height: 100px;
	text-align: center;
	vertical-align: top;
	border: 1px solid #d8c8b4;
	

}

table#big.tec-calendar div.daynum {
	font-size: 18px;
	color: #d8c8b4;
}


table#big.tec-calendar thead th {
	font-size: 16px;
	text-align: center;
	padding: 10px 0;
	background: #d8c8b4;
}




/* @end */

/* @group Horse Profile */

.hp_left {
	max-width: 300px;
	margin: 0 20px 20px 0;
	float: left;
}

.hp_right {
	margin: 0;
}

.hp_right span.label {
	display: inline-block;
	font-weight: bold;
	font-style: italic;
	width: 70px;
}

.video {
	width: 480px;
	margin: 0 auto 20px auto;
}

/* @end */


