/*
Theme Name: World Dressage Masters
Theme URI: https://worlddressagemasters.com/
Description: This theme is designed for World Dressage Masters. Any alternation to the code can break functionality. If you have any questions on the functionality of this theme or you want to make changes, please contact the developer.
Author: Lovetown Castle (julia@lovetowncastle.com)
Version: 0.1 2011
*/

* {
	margin:  0;
	padding: 0;
	outline: none;
}

a img {
	border: 0;
	text-decoration: none;
}

body {
	background: #fff;
	font-family: 'Droid Sans', sans-serif;
	font-size: 10pt;
}

.wrap {
	width: 950px;
	margin: 0 auto;
}

.clear {
	clear: both;
}

small {
	font-family: 'Droid Sans', sans-serif;
	font-size: 8pt;
	color: #d6d6d6;
}

div.headline {
	border-top: 1px solid #707070;
	margin-bottom: 25px;
}

div.headline.small {
	width: 70%;
	margin: 30px auto;
}

div.headline.small h2 {
	font-size: 8pt;
	margin-top: -8px;
}

div.headline h2 {
	font-size: 12pt;
	text-transform: uppercase;
	color: #242424;
	text-align: center;
	margin-top: -10px;
}

div.headline h2 span {
	padding: 0 5px;
}

.tagline, .tagline a {
	text-align: center;
	font-size: 8pt !important;
	font-weight: bold;
	margin: -5px 0 5px;
	text-transform: uppercase;
	color: #363940;
	background: none !important;
}

#footer div.headline {
	margin-bottom: 15px;
}

#footer div.headline h2 span {
	background: #fff;
	
}

#footer .tagline {
	color: #726c3f;
	padding: 3px 0;
}

#content div.headline h2 span {
	background: #ffffff;
}

a.readmore {
	text-transform: uppercase;
	font-size: 9pt !important;
	display: block;
	text-align: right;
	margin: 20px 0 10px;
	color: #363940;
	text-decoration: none;
	background: none !important;
}

a.readmore_rank {
	text-transform: uppercase;
	font-size: 9pt !important;
	display: block;
	text-align: right;
	margin: 20px 0 10px;
	color: #363940;
	text-decoration: none;
	background: none !important;
	float: right;
}


a.continue {
	font-size: 9pt;
	display: block;
	text-align: right;
	margin: 10px 0 0;
	color: #F07C34;
	text-decoration: none;
	
}

a.continue:hover {
	text-decoration: underline;
}

.half-column-1, .half-column-2 {
	width: 465px;
}
.half-column-1 {
	margin-right: 10px;
	float: left;
}

.half-column-2 {
	margin-left: 10px;
	float: right;
}

.cursive, .notice {
	font-size: 11pt;
	font-family: 'Droid Sans', sans-serif;
	font-style: italic;
	color: #5F5716;
}

.notice {
	color: #bcb99c;
}

/* @group HEADER */

#header {
	height: 87px;
	background: #242424 url('images/header_bg.png') top left repeat-x;
	border-top: 1px solid #000;
}

#header .wrap {
	height: 87px;
	background: url('images/header_wrap_bg.png') top center no-repeat;
}

#header #identity {
	height: 81px;
	width: 399px;
	position: absolute;
	margin-top: 4px;
	margin-left: -35px;
}

/* @group NAVIGATION */

#navigation {
	width: 620px;
	float: right;
	margin-top: 5px;
	margin-right: -20px;
}

#navigation .nav-item-top a:link, #navigation .nav-item-top a:visited  {
	display: block;
	height: 25px;
	padding: 25px 12px 0 0;
	margin-left: 35px;
	letter-spacing: 1px;
	font-size: 11pt;
	color: #fff;
	font-style: italic !important;
	text-decoration: none;
	font-family: 'Droid Sans', sans-serif;
	position: relative;
	z-index: 110;
}

#navigation .nav-item-top a:hover {
	text-decoration: underline;
}

#navigation .nav-item-top {
	float: left;
}

#navigation .nav-item-top.top a {
	background: url(images/nav-item.png) right 31px no-repeat;
}

#navigation #search-nav {
	float: left;
	padding: 26px 10px 0;
	position: relative;
	z-index: 110;
}

#navigation #search-nav a {
	display: block;
	height: 18px;
	width: 22px;
	background: url(images/search-nav-na.png) top left no-repeat;
}

#navigation #search-nav a:hover {
	background: url(images/search-nav.png) top left no-repeat;
}

#navigation #search-nav a span {
	display: none;
}

/* @group SUB NAV */

#sub-events, #sub-media, #sub-riders, #sub-news-social, #searchform-nav {
	position: absolute;
	z-index: 100;
	width: 400px;
	height: 250px;
} 

#sub-events  {	
	margin-left: -120px;
}

#sub-media{
	margin-left: -20px;
}

#sub-riders{
	margin-left: 88px;
}

#sub-news-social{
	margin-left: 180px;
}

#searchform-nav {
	background: url(images/searchform-nav-bg.png) top left no-repeat;
	height: 109px;
	width: 310px;
	margin-left: 305px;
}

#searchform-nav form div {
	margin: 64px 0 0 15px;
}

#searchform-nav form div input#s {
	height: 18px;
	width: 180px;
	border: 1px solid #333;
	background: #d5d5d5;
	color: #555;
	margin-right: 10px;
}

#searchform-nav form div label {
	display: none;
}

#searchform-nav form div input#searchsubmit {
	margin-top: 1px;
	float: none;
	display: inline;
}

	
.sub-nav {
	position: relative;
	width: 373px;
	height: 200px;
	background: url('images/sub-menu-bg.png') no-repeat top left;
	padding: 70px 10px 10px 0;
	font-size: 11pt;
}

.sub-nav2 {
	position: relative;
	width: 373px;
	height: 129px;
	background: url('images/sub-menu-bg2.png') no-repeat top left;
	padding: 70px 10px 10px 0;
	font-size: 11pt;
	list-style-type: none;
}

.sub-nav3 {
	position: relative;
	width: 373px;
	height: 129px;
	background: url('images/sub-menu-bg.png') no-repeat top left;
	padding: 70px 10px 10px 0;
	font-size: 11pt;
}

.sub-nav-column {
	margin-top: -8px;
	float: left;
	width: 150px;
	margin-left: 20px;
}

.sub-nav-column h4 {
	font-style: italic;
	font-weight: normal;
	letter-spacing: 1px;
	color: #fff;
	padding-bottom: 5px;
	border-bottom: 1px solid #777;
}

.sub-nav2 .sub-nav-column ul.menu {
	list-style-type: none;
}

.sub-nav2 .sub-nav-column ul.menu li a, .sub-nav .sub-nav-column ul.menu li a {
	display: block;
	margin: 5px 0 5px 0;
	height: 15px;
	font-size: 9pt;
	color: #888888;
	text-decoration: none;
	font-family: 'Droid Sans', sans-serif;
	white-space: nowrap;	
}

.sub-nav2 .sub-nav-column ul.menu li a:hover {
	color:#fff;
}


.sub-nav3 .sub-nav-column ul.menu {
	list-style-type: none;
}

.sub-nav3 .sub-nav-column ul.menu li a, .sub-nav .sub-nav-column ul.menu li a {
	display: block;
	margin: 5px 0 5px 0;
	height: 15px;
	font-size: 9pt;
	color: #888888;
	text-decoration: none;
	font-family: 'Droid Sans', sans-serif;
	white-space: nowrap;	
}

.sub-nav3 .sub-nav-column ul.menu li a:hover {
	color:#fff;
}



.sub-nav .sub-nav-column ul.menu {
	list-style-type: none;
}

.sub-nav .sub-nav-column ul.menu li a, .sub-nav .sub-nav-column ul.menu li a {
	display: block;
	margin: 5px 0 5px 0;
	height: 15px;
	font-size: 9pt;
	color: #888888;
	text-decoration: none;
	font-family: 'Droid Sans', sans-serif;
	white-space: nowrap;	
}

.sub-nav .sub-nav-column ul.menu li a:hover {
	color:#fff;
}

/* @end */

/* @end */

/* @end */

/* @group CONTENT */

/* @group RANKING */

#home-ranking, #home-results {
	margin-top: 20px;
}

/* @end */

/* @group SLIDER */

#slide-area, #secondary_nav {
	background: #D3D3D3;
	border-bottom: 1px solid #b5b093;
}

#slider-wrap {
	height: 420px;
	width: 950px;
	color: #fff;
}

#slider-wrap #slider div.slide {
	height: 420px;
	width: 950px;
}

.slide-title {
	margin: 150px 100px 0 0;
	text-align: right;
	font-size: 24pt;
	font-style: italic;
	letter-spacing: 2px;
}


.slide-title strong {
	color: #333;
	font-size: 36pt;
}

.slide-title h3 {
	font-size: 58pt;
}

.slide-title strong, .slide-title h3 {
	text-transform: uppercase;
	letter-spacing: -3px;
	line-height: 0.5em;
	margin-bottom: -15px;
}

.slide a.slide-more:link, .slide a.slide-more:visited, .slide a.slide-more:hover {
	float: right;
	margin: 210px 30px 0 0;
	text-decoration: none;
	display: block;
	z-index: 10;
	width: 52px;
	height: 52px;
}


#slider-wrap #slider div.slide .slide-video {
	width: 650px;
	margin: 0 auto;
	z-index: 1;
}

.slide a.iframe {
	text-decoration: none;
}

a .slide-video-title {
	position: absolute;
	width: 950px;
	text-align: center;
	margin-top: 80px;
	z-index:20;
	color: #363940;
	font-size: 38pt;
}

a .slide-video-title span {
	color: #F07C34;
	font-size: 30pt;
	letter-spacing: -2px;
}

.bx-pager {
	margin-top: -15px;
	margin-left: 450px;
	text-align: center;
	position: absolute;
	z-index: 999;
}

.bx-pager a {
	display: inline-block;
	margin: 0 2px;
	width: 10px;
	height: 10px;
	background: #b9b6ac;
	-moz-border-radius: 10px;
	border-radius: 10px;
	text-indent: -3000px;
}

.bx-pager a.pager-active {
	background: #f4f1e3;
}

.bx-prev, .bx-next {
	position: absolute;
	margin-top: -210px;
	color: #dedcce;
	background: #EB7B41;
	padding: 10px;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.bx-prev:hover, .bx-next:hover {
	color: #F07C34;
	background: #f4f1e3;
}

.bx-prev {
	margin-left: -45px;
}

.bx-next {
	margin-left: 960px;
}

/* @end */

/* @group FACEBOOK */

#facebook {
	margin-top: 20px;

}

.fb-discussion {
	margin-bottom: 20px;
}

#facebook-albums {
	margin: 40px 0;
}

#facebook-albums .fb-album-thumb {
	float: left;
	margin: 0 5px;
}

#facebook-albums .fb-album-thumb a {
	display: block;
	text-decoration: none;
	width: 180px;
	height: 150px;
	overflow: hidden;
}

#facebook-albums a img {
	min-height: 150px;
	min-width: 180px;
	max-width: 250px;
	max-height: 250px;
}

#facebook-albums .fb-album-thumb span {
	display: block;
	margin-top: 0;
	width: 170px;
	padding: 5px;
	height: 35px;
	background: #363940;
	color: #fff;
	font-style: italic;
	font-size: 10pt;
	
}

/* @end */

/* @group YOUTUBE */

#youtube {
	margin-top: 20px;
	width: 465px;
	float: left;
	
}

.youtubeFeederplaylist {
	padding: 0!important;
	background: #cfc583 !important;
	border: none !important;
}

.youtubeVideo {
	margin-bottom: 0 !important;
	background: #363940 !important;
	padding-bottom: 5px !important;
}

.youtubeFeederplaylist ul {
	float: none !important;
	width: 465px !important;
	display: block;
	background: #cfc583 !important;
}

.youtubeFeederPlaylistList li {
	background: #9c9c9c !important;
}

.youtubeFeederplaylist ul li {
	display: inline-block !important;
	padding: 10px 17px !important;
	margin: 0 auto !important;
	border: none !important;
	width: 121px !important;
}

.youtubeFeederplaylist ul li.currentvideo {
	background: #363940 !important;
}

.youtubeFeederplaylist ul li .youtubeTitle {
	display: none;
}

#youtube-channel {
	height: 40px;
	margin-top: 10px;
	padding: 15px 0 5px 55px;
	background: url('images/youtube-icon.png') left center no-repeat;
	/*border-top: 1px solid #867d35;
	border-bottom: 1px solid #867d35;*/
}

#youtube-channel a:link, #youtube-channel a:visited {
	letter-spacing: 2px;
	color: #f07c34;
	text-decoration: none;
	font-style: italic;
	font-weight: bold;
}

#youtube-channel a:hover {
	background: #e7e4d0;
}

#related_videos {
	margin-bottom: 40px;
}

#main_video {
	float: left;
	width: 489px;
	height: 275px;
	padding: 12px 12px 13px;
	background: #cfc583;
}

.video_thumb {
	float: left;
	width: 100px;
	padding: 12px 32px 13px 32px;
	background: #e4e4d4;
}

.video_thumb img {
	width: 100px;
}

/* @end */

/* @group NEWS */

.announcements {
	min-height: 150px;
}

.announcement, .announcements-all {
	margin: 0 0 15px 0;
	clear: left;
}

.announcements-all .date {
	font-family: 'Droid Sans', sans-serif;	
	font-size: 9pt;
	color: #c6bb75;
	display: block;
	float: left;
	width: 85px;
	margin-right: 15px;
	padding: 2px 0;
	/*border-bottom: 2px dotted #d1cba2;*/
}


.announcements-all h3 a:link, .announcements-all h3 a:visited {
	color: #444;
	font-size: 14pt;
	line-height: 1.1em;
	font-style: italic;
	font-weight: normal;
	float: left;
	text-decoration: none;
	padding: 2px;
	width: 520px;
}

.announcements-all h3 a:hover {
	text-decoration: underline;
}

.news-item, .search-item {
	float: left;
	padding: 5px;
	height: 155px;
	margin-bottom: 20px;
}

.news-item {
	width: 455px;
	background: #f1f2f4;	
}

.search-item {
	width: 100%;
}



.news-item:hover, .search-item:hover {
	background: #ebebeb;
}

.news-item a.news-thumb, .search-item a.news-thumb {
	width: 150px;
	height: 150px;
	display: block;
	overflow: hidden;
	float: left;
	border: 1px solid #ebebeb;
}

.search-item .post-type {
	display: inline-block;
	background: #cbcabc;
	font-family: 'Droid Sans', sans-serif;
	font-size: 8pt;
	color: #fff;
	padding: 2px 10px;
	margin-bottom: 10px;
}

search-item:hover .post-type {
	background: #777;
}

.news-item .news-thumb-info {
	float: left;
	width: 280px;
	margin-left: 10px;
	min-height: 150px;
}

.search-item .news-thumb-info {
	float: left;
	width: 420px;
	margin-left: 20px;
	min-height: 150px;
}

.news-item .news-thumb-info h3 a, .search-item .news-thumb-info h3 a {
	font-weight: bold;
	display: block;
	font-size: 12pt;
	color: #333;
	margin: 5px 0;
	font-style: italic;
	text-decoration: none;
}

.search-item .news-thumb-info h3 a {
	margin: 10px 0 5px 0;
}

.news-item .news-thumb-info p, .search-item .news-thumb-info p {
	font-family: 'Droid Sans', sans-serif;
	color: #666;
	line-height: 1.2em;
	font-size: 9pt;
}

.news-item:hover .news-thumb-info h3 a, .news-item .news-thumb-info h3 a:hover, .search-item .news-thumb-info h3 a:hover, .search-item:hover .news-thumb-info h3 a  {
	color: #555;
}

.news-item .news-thumb-info .date, .search-item .news-thumb-info .date {
	display: block;
	margin-top: 5px;
	font-size: 9pt;
	color: #999;
}

.news-item.left_thumb {
	margin-right: 10px;
}

.news-item.right_thumb {
	margin-left: 10px;
}

/* @end */

/* @group CONTENT COLUMN */

/* @group Partners */

ul#partners-page {
	padding: 0;
	margin: 0 !important;
}

ul#partners-page li {
	margin: 0 !important;
	padding: 0 !important;
	list-style-type: none;
	list-style-position: inside;
	clear: left;
}

ul#partners-page ul div.partner-logo {
	width: 200px;
	height: 200px;
	padding: 5px 10px;
	float: left;
	color: #F07C34;
	font-size: 9pt;
}

ul#partners-page div.partner-logo a {
	width: 200px;
	height: 150px;
	background: #f1f2f4;
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}

ul#partners-page div.partner-logo a img {
	max-width: 180px;
	max-height: 100px;
}

/* @end */

#secondary_nav {
	margin: 0 0 10px 0;
	padding: 15px 0;
}

#secondary_nav ul {
	list-style-type: none;
}

#secondary_nav ul li {
	display: inline-block ;
	margin-right: 15px;
}

#secondary_nav ul li a:link, #secondary_nav ul li a:visited {
	font-family: 'Droid Sans', sans-serif;
	font-size: 10pt;
	padding: 7px 5px 5px 5px;
	color: #6e6b55;
	-moz-border-radius: 5px;
	border-radius: 5px;
	text-decoration: none;
	display: block !important;
	float: left;
}

#secondary_nav ul li a:hover {
	background: #dedcce;
}

#secondary_nav ul li.current-menu-item a {
	color: #fff;
}

#between-posts {
	margin: 15px 0;
}

#between-posts .post-nav {
	width: 300px;
	color: #706526;
}

#between-posts .post-nav a:link, #between-posts .post-nav a:visited, #content-column .post-body a:link, #content-column .post-body a:visited, td.name a:link, td.name a:visited, .events-prev h3 a, #event-info a, #event-venue a {
	color: #363940;
	font-size: 11pt;
	font-style: italic;
	line-height: 1.1em;
	letter-spacing: 1px;
	text-decoration: none;
	font-family: 'Droid Sans', sans-serif;
}

#between-posts .post-nav a:hover, #content-column .post-body a:hover, #event-info a:hover, #event-venue a:hover {
	background: #f4f3e9;
}

td.name a:hover {
	text-decoration: underline !important;
	background: none !important;
}

#between-posts #prev-post {
	float: left;
}

#between-posts #next-post {
	float: right;
	text-align: right;
}

#content-column .headline.single {
	margin: 0 auto;
}

#content #content-column {
	width: 680px;
	float: left;
	padding-bottom: 20px;
}

#content-column h2.post-title {
	text-align: center;
	font-size: 38pt;
	width: 650px;
	letter-spacing: -2px;
	line-height: 0.8em;
	color: #363940;
	margin: 20px 0;
}

#comment-box {
	margin: 40px 0 0;
}

#content-column .post-comments {
	margin-top: 10px;
}

#content-column h2.post-title span {
	color: #444;
}

#content-column .post-body {
	clear: both;
	margin: 15px 0 30px;
}

#content-column .post-body blockquote p {
	font-size: 13pt;
	padding: 10px;
	margin: 20px 0;
	font-style: italic;
	text-align: center;
	font-family: 'Droid Sans', sans-serif;
}

#content-column .post-body p, #event-venue p {
	margin: 10px 0;
	font-size: 10pt;
	color: #444;
	line-height: 1.4em;
	font-family: 'Droid Sans', sans-serif;
}

#content-column .post-body ul {
	margin: 10px 0 20px 20px;
}

#content-column .post-body ul li {
	font-family: 'Droid Sans', sans-serif;
	text-decoration: none;
	font-style: italic;
	font-size: 12pt;
	padding-left: 5px;
	margin: 5px 0 5px 25px;
	list-style-type: decimal-leading-zero;

}

#content-column .post-body h3 {
	font-style: italic;
}



#content-column .post-images {
	margin: 40px 0;
	text-align: center;
}


#content-column .documents {
	padding: 25px 50px;
	background: #f2f1e5;
	-moz-border-radius: 15px;
	border-radius: 15px;
	width: 70%;
	margin: 0 auto;
}

#content-column form#searchform div {
	clear: both;
	margin: 30px 0;
}

#content-column form#searchform div input#s {
	width: 520px;
	background: #fff;
	border: 1px solid #b1ad8e;
}

#content-column form#searchform div input#searchsubmit {
	margin: 12px 0 0 10px;
	float: none;
}

.text-content-column {
	margin-left: 170px;
	padding: 0 20px;
}

#content-column .documents a:link, #content-column .documents a:visited {
	display: block;
	padding-left: 30px;
	height: 19px;
	padding-top: 5px;
	margin-bottom: 10px;
	background: url('images/pdf-icon.png') center left no-repeat;
}

#content-column .documents a:hover {
	text-decoration: underline;
}

#content #sidebar {
	width: 250px;
	float: right;
}

#class_sponsor {
	margin-bottom: 15px;
	text-align: center;
	padding-bottom: 20px;
}

#class_sponsor img {
	max-width: 150px;
	margin: 0 0 20px;
	max-height: 75px;
}

#content #sidebar ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.share-this {
	margin: 30px 0;
}

.share-this .fb-like {
	margin: 0 auto;
	width: 250px;
	padding-left: 25px;
	background-color: #ffffff;
	margin-top: -10px;
}

.share-this .fb-like div.gplusone, .share-this .fb-like div.fblikebtn {
	display: inline-block;
}
.share-this .fb-like #___plusone_ {
	margin-top: 3px;
}

.share-this hr {
	height: 1px;
	background: #242424;
	border: 0;
	width: 100%;
}

.share-this .rss-this h2 a {
	text-decoration: none;
	background: #fff;
	color: #242424;
	padding-left: 10px;
}

.share-this .rss-this h2 span {
	background: #fff;
}

#rank-badge {
	border-top: 1px solid #867d35;
	margin: 45px 0;
	visibility: hidden;
}

#rank-badge h3 {
	background: url('images/rank-badge.png') center center no-repeat;
	text-align: center;
	color: #dfddbf;
	height: 65px;
	margin-top: -40px;
	font-size: 24pt;
	font-style: italic;
	font-weight: normal;
	padding: 13px 0 0 0;
}

.post-thumb {
	width: 150px !important;
	height: 150px !important;
	overflow: hidden !important;
	float: left !important;
	margin: 0 20px 20px 0 !important;
	display: table-cell;
	text-align: center;
	vertical-align: bottom;
	border: 1px solid #242424;
}

.post-body .post-images {
	float: left;
	margin-top: 0 !important;
}

#content-column .post-images .post-thumb {
	float: none !important;
	display: inline-block !important;
}

.post-thumb a img {
	border: 0 !important;
	text-decoration: none !important;
}

.post-thumb img {
	height: 150px !important;
	margin: 0;
	padding: 0;
	border: 0 !important;
}

.gmap {
	float: none;
	clear: both;
	border: 1px solid #242424;
	margin-bottom: 20px;
}



/* @end */



#content {
	padding-top: 30px;
	color: #352f0a;
}

.middle-layer {
	background: #f1f2f4;
	padding: 20px 0 ;
	border-top: 1px solid #e2e2cd;
}

.middle-layer div.headline h2 span {
	background: #f1f2f4 !important;
	
}

.quater-column {
	width: 230px;
	float: right;
	margin: 20px 0 10px 10px;
}

/* @group Sidebar Event */

#event-info, #event-venue  {
	margin-bottom: 28px;
}

#event-info p, #event-venue p {
	margin: 5px 0;
}

#event-info .event-date {
	font-size: 18pt;
	color: #a19139;
}

#event-info .event-location {
	font-size: 14pt;
	color: #555;
}

#event-venue .event-thumb {
	width: 150px;
	margin: 0 auto 10px;
}


/* @end */

/* @group TABLES */

table.ranking {
	width: 100%;
	margin-top: 20px;
	font-family: 'Droid Sans', sans-serif;
	color: #555;
}

table.ranking tr.alt {
	background-color: #ebebeb;
}

table.ranking tr td {
	padding: 5px;
}

td.rank {
	width: 20px;
	text-align: right;
}

td.horse {
	font-size: 9pt;
}

td.flag, td.starts {
	text-align: center;
}

tr th {
	color: #242424;
	font-size: 10pt;
	font-weight: normal;
	border-bottom: 1px solid;
	padding-bottom: 10px;
	text-align: left;
}

tr th.name {
	text-align: center;
}

tr th.points {
	min-width: 50px;
}

/* @end */



/* @end */

/* @group FOOTER */

#footer {
	background: #242424 url('images/footer-bg.png') repeat-x top;
	padding-bottom: 20px;
}

#footer .wrap {
	background: url('images/footer-wrap-bg.png') top center no-repeat;
	padding-top: 40px;
}

#footer #partners {
	float: left;
	width: 450px;
}

#footer #partners li {
	list-style-type: none;
	margin: 0 5px 5px 0;
	float: left;
	text-align: center;
	background: #fff;
}

#footer #partners li a {
	display: table-cell;
	width: 220px;
	height: 100px;
	vertical-align: middle !important;
}

#footer #partners li img {
	max-width: 150px;
	max-height: 50px;
}

#footer h3 a:link, #footer h3 a:visited {
	color: #6e6b55;
	font-family: 'Droid Sans', sans-serif;
	font-style: italic;
	font-size: 15pt;
	text-decoration: none;
	font-weight: normal;
	letter-spacing: 1px;
	margin-left: 5px;
	padding: 0 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

#footer h3 a:hover, #footer ul li a:hover {
	background: #c6c2a2;
}

#footer ul {
	font-family: 'Droid Sans', sans-serif;	
	list-style-type: none;
	float: left;
	margin: 10px 20px 0 0;
	padding: 0 5px;
}

#footer ul li a:link, #footer ul li a:visited {
	display: block;
	font-size: 10pt;
	padding: 2px 5px;
	color: #6e6b55;
	-moz-border-radius: 5px;
	border-radius: 5px;
	text-decoration: none;
	
}

#footer h4 {
	font-weight: normal;
	color: #fff;
	font-size: 12pt;
	margin-bottom: 5px;
	padding: 0 5px;
}

#social, #copy {
	width: 230px;
	float: right;
	margin-left: 20px;
}

#copy {
	color: #fff;
	font-family: 'Droid Sans', sans-serif;
}

#copy p {
	line-height: 1.6em;
	font-size: 9pt;
	margin: 7px 0;
}

#copy a {
	color: #fff;
}
#copy a:hover {
	text-decoration: none;
}

#copy h3 {
	margin: 15px 0 5px;
}

#social #social-icons{
	margin-bottom: 40px;
	text-align: center;
}

#social #social-icons a {
	text-decoration: none;
	margin: 0 5px;
}

.nsu-form {
	margin-top: -10px !important;
	padding: 0 !important;
}

#newsletter li {
	list-style-type: none;
}

input.nsu-field, form#searchform input#s {
	width: 216px;
	padding: 5px;
	border: 0;
	font-size: 12pt;
	font-family: 'Droid Sans', sans-serif;
	margin: 7px 0;
}

input.nsu-field {
	margin-bottom: 15px;
}

.nsu-form label, .widget_newsletter_signup_widget p, form#searchform label  {
	font-weight: normal !important;
	color: #fff;
	font-style: italic;
	font-size: 11pt;
}

.nsu-form input, form#searchform input#searchsubmit {
	float: right;
}

/* button newsletter */


.nsu-submit {
	margin-top: -10px !important;
	padding: 0 !important;
}

#newsletter li {
	list-style-type: none;
}

input.nsu-submit, form#searchform input#s {
	margin-top: 1px !important;
	width: 226px;
	height: 28px;
	padding: 5px;
	border: 0;
	font-size: 12pt;
	font-family: 'Droid Sans', sans-serif;
	color: #242424;
	margin: 7px 0;
}

input.nsu-submit {
	margin-bottom: 10px;
}

.nsu-submit label, .widget_newsletter_signup_widget p, form#searchform label  {
	font-weight: normal !important;
	color: #867d35;
	font-style: italic;
	font-size: 11pt;
}


/* @group SIDEBAR */

li.widget {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

h2.widgettitle {
	text-align: center;
	margin: 10px 0 20px;
}

#sidebar .zframe-flickr-wrap-ltr {
	margin-left: 45px;
}

#sidebar ul, #footer-sidebar ul {
	margin: 0 !important;
	padding: 0 !important;
	list-style-type: none;
}

.sidebar-block {
	margin-bottom: 50px;
	margin-top: 40px;
}

.sidebar-block li  {
	margin: 10px 0;
	list-style-type: decimal-leading-zero;
	padding-left: 5px;
	margin-left: 25px;
	color: #EB7B41;
}

.sidebar-block li a {
	font-size: 12pt;
	font-family: 'Droid Sans', sans-serif;
	color: #363940;
	text-decoration: none;
	font-style: italic;
}

.sidebar-block li a:hover {
	text-decoration: underline;
}

/* @end */

/* @end */

/* @group RIDERS */

.events-prev {
	width: 210px;
	float: left;
	margin: 17px;
	font-family: 'Droid Sans', sans-serif;
	font-size: 9pt;
	
}
.events-prev h3 {
	font-weight: normal;
	margin: 10px 0 5px;
}

.events-prev.marginright {
	margin-right: 18px;
	margin-left: 0;
}

.events-prev.marginleft {
	margin-left: 18	px;
	margin-right: 0;
}


.events-prev .post-thumb {
	float: none;
	margin: 0 auto;
	width: 210px !important;
	text-align: center;
	border: 1px solid #c2b561;
}

#all_riders .rider-prev {
	width: 150px;
	float: left;
	margin: 20px;
}

#all_riders .rider-prev .post_thumb {
	float: none;
	margin: 0;
}

#all_riders .rider-prev h3 {
	text-align: center;
}

#all_riders .rider-prev h3 a {
	font-size: 12pt;
	color: #363940 !important;
	font-weight: normal;
	font-style: italic;
	text-decoration: none;
}

.all-riders-rank {
	background: url('images/rank-badge.png') center center no-repeat;
	width: 78px;
	position: absolute;
	z-index: 20;
	margin: -60px 0 0 36px;
	text-align: center;
	color: #dfddbf;
	height: 65px;
	font-size: 24pt;
	font-style: italic;
	font-weight: normal;
	padding: 13px 0 0 0;
}

.pagination {
	margin: 40px 0;
	text-align: center;
}

.pagination a:link, .pagination a:visited, .flickr-page:link, .flickr-page:visited {
	display: inline-block;
	background: #F07C34;
	color: #fff !important;
	padding: 3px 10px;
	margin: 0 3px;
	font-size: 14pt;
	font-style: italic;
	text-decoration: none;
	-moz-border-radius: 15px;
	border-radius: 15px;
}

.pagination a:hover, .flickr-page:hover {
	background: #8e8b72 !important;
}

.pagination .current, .flickr-page-cur {
	font-size: 14pt;
	font-style: italic;
	text-decoration: none;
	margin: 0 5px;
	color: #777;
}

.breadcrumbs {
	float: left;
}

#cat_dropdown {
	float: right;
}

.custom-gallery-0 .afg-cell {
display: inline-block;
}

.afg-page{
color:#363940;
}

.afg-img{
margin-top: 15px;}

.gda-link{
	text-transform: uppercase;
	font-size: 9pt !important;
	text-align: left;
	margin: 20px 0 10px;
	color: #363940;
	text-decoration: none;
	background: none !important;
	float: left;
}

.fullwith{
	width: 960px;
	display: block;
}
/*@end */

.ui-tabs-hide {
	display: none;
}

.ui-tabs-nav {
	clear: both;
}

.ui-tabs-panel {
	clear: both;
	padding-top: 10px;
}

.ui-tabs-nav li {
	display: block;
	float: left;
	margin-right: 20px;
	padding: 10px;
}

.ui-state-default.ui-state-active {
	background: #f1f2f4;
}

.ui-state-default.ui-state-active a {
	color: #242424;
}

.ui-state-default a {
	color: #999999;
	text-decoration: none;
}

.ui-tabs-panel table, .startorder table {
	width: 100%;
	border-spacing:0;
	border-collapse:collapse;
}

.ui-tabs-panel table thead, .startorder table thead {
	color: #555555;
	font-family: 'Droid Sans', sans-serif;
}

.ui-tabs-panel table tbody td, .startorder table tbody td {
	padding: 5px;
}

.ui-tabs-panel {
	padding: 10px;
	background: #f1f2f4;
}

.ui-tabs-panel a {
	text-decoration: none;
}

.ui-tabs-panel table a, .startorder table a {
	color: #f07c34;
}

.ranking {
	min-height: 200px;
}

.current_page_item a {
	color: #fff !important;
}