/* Tag styling */
* {
    margin: 0;
    padding: 0;
}
a {outline: none;}
	a img {border: none;}
body {
    font-family: verdana, Arial, sans-serif;
    font-size: 12px;
    background-color: #4b4a4d;
    background-image: url('../site_images/bg_grad.png');
    background-repeat: repeat-x;
}
h2 {
	font-family: verdana, Arial, sans-serif;
	font-size: 17px;
}
img.border {border: solid 10px #fff;}
p {
	color: #fff;
	font-size: 13px;
}
table {border-collapse: collapse;}
td {
    padding: 2px 7px 2px 7px;
    text-align: center;
}
td a {color: inherit;}
th {padding: 2px 3px 2px 3px;}
ul {list-style: none;}

/* Id styling */
#about {}
        #about p img {
            float: right;
            margin-left: 15px;
            margin-bottom: 15px;
        }
#bottom {}
    #bottom  img {
        width: 100%;
        height: 15px;
    }
        #bottom img.page-end {background-position: 0px 0px;}
        /* REMOVE THIS ONCE FOOTERS ARE FACTORED INTO A SINGLE EMBED*/
        #bottom img.sub-page-end {background-position: 0px -15px;}
        #bottom img.with-nav {background-position: 0px -15px;}
        #bottom img.without-nav {background-position: 0px -30px;}
#content {width: 960px;}
    #content div.menu-divider {}
#footer {
    font-size: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #ccc;
}
    #footer p,
    #footer a {
        font-size: inherit;
        margin-top: 3px;
        color: inherit;
    } 
#header {
    position: relative;
    z-index: 100;
    width: 100%;
    height: 96px;
}
    #header.home {background-image: url('../site_images/bg_header.jpg');}
    #header a {
        margin: 15px 30px;
        float: left;  
    }
        #header a img {  
            height: 58px;
            width: 309px;
        }
        #header a img.sprites {background-position: 0px -96px;}
#home-about {border-right: 1px dotted #fff;}
    #home-about a {
    	font-size: 10px;
    	color: #fff;
    }
#home-activity {
	padding-right: 0px;
	width: 670px;
	margin-bottom: 25px;
}
#home-event {}
#home-image {
    width: 100%;
    height: 350px;
}
#home-links {}
    #home-links div {
        background-position: -305px -96px;
        width: inherit;
        height: 30px;
        font-size: 13px;
        margin-top: 5px;
    }
        #home-links div a {
            margin: 7px 0px 0px 8px;
            text-decoration: none;
        }
    		#home-links div a img {
        		width: 16px;
        		height: 16px;
        		margin-right: 8px;
        		margin-top: inherit;
        		vertical-align: bottom;
    		}
        	#home-links div a img.facebook {background-position: -505px -96px;}
        	#home-links div a img.twitter {background-position: -522px -96px;}
#login {
    height: 40px;
    float: right;
    display: block;
    margin-right: 15px;
    overflow: hidden;
	color: #fff;
}
	#login a {
		height: 100%;
		float: none;
		margin: 0;
	}
	#login button {
        height: 100%;
        border: none;
        cursor: pointer;
    }
    #login button.login {
        /*Strange issue causes the button to show a white corner if the background image is not specified*/
        background: url('../site_images/sprites.png') -402px -126px no-repeat;
        width: 69px;
    }
    #login div {
    	/*For some reason Safari does not respect 100% height*/
        height: 40px;
        padding-top: 10px;
        padding-right: 5px;
    }
    	#login div p {
    		margin-left: 5px;
    		margin-top: 2px;
    	}
    #login img {height: 100%;}
    #login img.logout {
        /*Strange issue causes the button to show a white corner if the background image is not specified*/
        background: url('../site_images/sprites.png') -479px -126px no-repeat;
        height: 100%;
        width: 80px;
    }
    #login img.sprite {
        background-position: -305px -126px;
        width: 100px;
    }
    #login img.start {
        background-position: -471px -126px;
        width: 5px;
    }    
    #login input[type=text],
    #login input[type=password] {
        width: 92px;
        font-size: 10px;
        border: 1px solid #006685;
        padding: 3px;
        color: inherit;
    }
#menu {
    height: 32px;
    position: relative;
    width: 100%;
    background: url('../site_images/bg_menu.gif') repeat-x
}
    #menu li {height: 32px;}
        #menu li a {height: inherit;}
            #menu li a img {height: inherit;}
        #menu li > ul {
            display: none;
            position: absolute;
            width: 175px;        
            z-index: 100;
        }
        #menu li > ul:hover, #menu li:hover > ul {display: block;}
            #menu li ul li {
                padding: 10px 0px 0px 10px;
                height: 26px;
                float: none;
                display: block;
            }
            #menu li ul li:hover {background-color: #0083ab;}
                #menu li ul li a {
                    color: #0083ab;
                    text-decoration: none;
                }
                #menu li ul li:hover a {color: #fff;}
    #menu li img.home {
        background-position: 0px 0px;
        width: 79px;    
    }
    #menu li:hover img.home,
    #menu li img.home-select {background-position: 0px -64px;}
    #menu li img.about {
        background-position: -79px 0px;
        width: 146px;        
    }
    #menu li:hover img.about,
    #menu li img.about-select {background-position: -79px -64px;}
    #menu li img.news {
        background-position: -225px 0px;
        width: 77px;
    }
    #menu li:hover img.news,
    #menu li img.news-select {background-position: -225px -64px;}
    #menu li img.syndicates {
        background-position: -302px 0px;
        width: 115px;
    }
    #menu li:hover img.syndicates,
    #menu li img.syndicates-select {background-position: -302px -64px;}
    #menu li img.results {
        background-position: -417px 0px;
        width: 90px;
    }
    #menu li:hover img.results,
    #menu li img.results-select {background-position: -417px -64px;}
    #menu li img.entries {
        background-position: -507px 0px;
        width: 92px;
    }
    #menu li:hover img.entries,
    #menu li img.entries-select {background-position: -507px -64px;}
#shadow {
    width: 980px;
    background: url('../site_images/shadow_sides.png') repeat-y;
    padding: 0px 10px 0px 10px;
}
#sub-nav {
	margin-bottom: 20px;
	overflow: auto;
}
	#sub-nav a.button {
		float: left;
		margin-right: 5px;
	}
	#sub-nav a.button img {height: 28px;}
	#sub-nav a.button img.calendar {width: 76px;}
	#sub-nav a.button img.chart {width: 55px;}
	#sub-nav a.button img.comments {width: 202px;}
	#sub-nav a.button img.entries {width: 62px;}
	#sub-nav a.button img.financial {width: 146px;}
	#sub-nav a.button img.news {width: 49px;}
	#sub-nav a.button img.pedigree {width: 70px;}
	#sub-nav a.button img.photos {width: 62px;}
	#sub-nav a.button img.profile {width: 62px;}
	#sub-nav a.button img.results {width: 63px;}
	#sub-nav a.button img.stable {width: 82px;}
	#sub-nav a.button img.updates {width: 67px;}
	#sub-nav a.button img.videos {width: 53px;}
	#sub-nav a.button img.workouts {width: 79px;}
#sub-page {width: 100%;}
	#sub-page p img.border {border: 10px solid #fff;}
	#sub-page.with-nav {background: url('../site_images/bg_sub_page.gif') repeat-y;}
	#sub-page.without-nav {background-color: #717073;}
    
    	#sub-page div.page-content {width: 100%;}
    	#sub-page div.page-content-without-nav {width: 100%;}
    
    	#sub-page.with-nav div.page-content {width: 750px;}
    	#sub-page.without-nav div.page-content {width: 900px;}
    
    	#sub-page.without-nav div.page-content-without-nav {width: 900px;}
    #sub-page p {margin-top: 30px;}
    #sub-page ul.side-nav {
        width: 150px;
        margin: 10px 0;
        padding: 0;
    }
        #sub-page ul.side-nav li {
            border-top: 1px solid #e5e5e5;
            border-bottom: 1px solid #e5e5e5;
            padding-top: 10px;
            padding-bottom: 10px;
            width: inherit;
        }
            #sub-page ul.side-nav li a {
                margin-left: 10px;
                text-decoration: none;
            }
    #sub-page img.about-title {
        width: 342px;
        background-position: 0px 0px;
    }
    #sub-page img.join-title{
        width: 156px;
        background-position: 0px -32px;
    }
    #sub-page img.entries-title{
        width: 161px;
        background-position: -156px -32px;
    }
    #sub-page img.syndicates-title{
        width: 246px;
        background-position: 0px -64px;
    }
    #sub-page img.results-title{
        width: 166px;
        background-position: 0px -96px;
    }
    #sub-page img.news-title{
        width: 114px;
        background-position: -166px -96px;
    }
#top {width: 960px;}
#wrapper {
    width: 980px;
    margin: 0px auto 5px auto;
}

/* Class styling */
.blue {background-color: #00abdf;}
.blue-text {color: #00abdf;}
.bold {font-weight: bold;}
.center-text {text-align: center;}
.clear {clear: both;}
.dark-blue {background-color: #0083ab;}
.dark-blue-text {color: #0083ab;}
.dark-gray {background-color: #717073;}
.dark-gray-text {color: #717073;}
.error {color: #f00;}
.page-content {margin: 10px 0px 30px 30px;}
.page-content-without-nav {margin: 10px 0px 30px 30px;}
.page-end-sprites {
    background-image: url('../site_images/page_end_sprites.png');
    background-repeat: no-repeat;
}
.home-left, .home-right {margin: 25px 0px 30px 30px;}
.home-left {
    width: 640px;
    padding-right: 29px;
}
.home-right {
    width: 200px;
    margin-right: 30px;
}
.lite-gray {background-color: #ececed;}
.lite-gray-text {color: #ececed;}
.float-inline {
    display: inline;
    float: left;
}
.sprite {
    background-image: url('../site_images/sprites.png');
    background-repeat: no-repeat;
}
.text-size {font-size: 13px;}
.title {
    display: block;
    font-size: 20px;
    padding-bottom: 3px;
    font-family: georgia, serif;
}
.title-sprites {
    background-image: url('../site_images/title_sprites.png');
    background-repeat: no-repeat;
    height: 32px;
}
.white {background-color: #fff;}
.white-text {color: #fff;}


#about p.news-excerpt {
	margin-top: 15px;
	padding-bottom: 25px;
	border-bottom: solid 5px #b9b9bd;
}
#about p.news-excerpt-last {
	margin-top: 15px;
	padding-bottom: 0px;
	margin-bottom: 0px;
}
#about a {color: inherit;}
#about h2 {font-weight: bold;}
#about h2 a {text-decoration: none;}
#about h2 a:hover {text-decoration: underline;}
.hiddenFields {display: none;}
.align-right {
	float:right;
	margin: 0 0 15px 15px;
}
.align-left {
	float:left;
	margin: 0 15px 15px 0;
}

/* Syndicates Styling*/

.syndicate-column-container {
	display: block;
	width: 900px;
	overflow: auto;
}
.syndicate-left-column {
	width: 435px;
	margin-right: 30px;
}
.syndicate-right-column {width: 435px;}
.syndicate-column-image {
	width: 140px;
	margin-right: 15px;
	border: solid 5px #fff;
}
.syndicate-column-text {width: 270px;}
.syndicate-spacer {
	width: auto;
	height: 30px;
	clear: both;
}
.syndicate-ul {
	list-style: square;
	margin-left: 30px;
	line-height: 1.5;
}

/* Horse Profile styling */

.horse-profile-container {
	display: block;
	width: 900px;
	overflow: auto;
}

.horse-profile-image {
	float: left;
	display: inline;
	width: 240px;
	margin-right: 30px;
	border: solid 10px #fff;
}

.horse-profile-text {
	float: left;
	display: inline;
	width: 610px;
}

.horse-photo {
	margin-right: 30px;
}

.horse-photo img {
	border: solid 10px #fff;
}

/* Table styling */

.table-data {
	text-align: left;
	margin-left: 0px;
	margin-right: auto;
}

.table-data-workout {
	text-align: left;
}

.table-data-full {
	width: auto;
}

.table-data th {
	padding: 5px;
	text-align: left;
}

.table-data td {
	padding: 5px;
	text-align: left;
}

.table-data th.text-align-center {
	text-align: center;	
}

.table-data td.text-align-center {
	text-align: center;	
}

.table-data th.text-align-right {
	text-align: right;	
}

.table-data td.text-align-right {
	text-align: right;	
}

.table-data-header-blue {
	background-color: #00abdf;
	color: #fff;
}

.table-data-row-white {
	background-color: #fff;
	color: #666;
	text-align: left;
}

.table-data-row-grey {
	background-color: #ececed;
	color: #666;
	text-align: left;
}
.text-align-center {text-align: center;}
.text-align-right {text-align: right;}
.separator {
	margin-top: 20px;
	height: 5px;
	width: 100%;
	background-color: #ececed;
	margin-bottom: 20px;
}

div.update-block {
	background-color: #fff;
	color: #666;
	width: 900;
	padding: 13px 15px 14px 15px;
	margin: 0px 0px 0px 0px;
	line-height: 1.5;
}

div.update-block-alt {
	background-color: #ececed;
	color: #666;
	width: 900;
	padding: 13px 15px 14px 15px;
	margin: 0px 0px 0px 0px;
	line-height: 1.5;
}