#doc {
	margin: 10px auto;
	min-width: 970px;
	width: 970px;
}

/******* body *******/
#sub-header-2 {
	margin-bottom: 5px;
	overflow: hidden;
	border-bottom:1px solid #E3E3E3;
}

#sub-header-2 h4 {
	float: left;
	border: medium none;
}

h4 {
	border-bottom:1px solid #E3E3E3;
	color:#111111;
	
	font-size:131%;
	font-weight:bold;
	padding:3px;
}

.sharing-container {
	margin-bottom: 10px;	
}

#sub-header-2 .sharing-container, #player-actions .sharing-container {
	float: right;
}

#sub-menu-2 {
	margin-top: 10px;
}

#content-body {
	margin: 10px 0;
	padding: 5px;
}

#content-body-container {
	overflow: hidden;
}

.content {
	margin-bottom: 10px;
}

#right-menu {
	box-sizing: border-box;
}

#main-body {
	float: left;
}

/****** tables ******/
.data table {
	background-color:#FFFFFF;
	border-collapse:collapse;
	width:100%;
	margin-bottom: 20px;
}

.data tr {
	background-color:#F8F7F2;
}

.data .title {
	text-align:left;
}

.data td.right {
	text-align: right;
}

.data thead th {
	font-size:93%;
	font-weight:bold;
	padding:4px 8px;
	text-align:right;
}

.data tr.odd {
	background-color:#FFFFFF;
}

tr.odd {
	background:none repeat scroll 0 0 #F8F7F2;
}

.data tbody th, .data td {
	padding:8px;
	text-align:right;
	vertical-align: top;
}

table.tablesorter th.tablesorter-headerAsc, table.tablesorter th.tablesorter-headerDesc {
	background-color: #8dbdd8;
}

table.reskin tr:nth-child(even) {
	background-color: #F8F7F2;
}

table.reskin tr:nth-child(odd) {
	background-color: #fff;
}

a.button_emphasis_reskin, input[type="submit"].button_emphasis_reskin, input[type="submit"].button_emphasis_secondary {
	background-image: url(backgrounds/public/slate.png);
	cursor: pointer;
	display: inline-block;
	background: linear-gradient(to bottom, #676aad, #2e328b);
	background-color: #676aad;
	/* background: #EA8C27; */
	border-radius: 10px;
	background-position: 0 0;
	/* border: 1px solid #fff; */
	transition: .1s;
	padding: 10px !important;
	color: #fff;
	border: 0 !important;
}

a.button_emphasis_reskin:hover, input[type="submit"].button_emphasis_reskin:hover {
	text-decoration: none;
	background: linear-gradient(to bottom, #2e328b, #676aad);
	background-color: #2e328b;
}

a.button_emphasis_reskin:disabled, input[type="submit"].button_emphasis_reskin:disabled, input[type="submit"].button_emphasis_secondary:disabled {
	background: linear-gradient(to bottom, #eee, #999);
	background-color: #eee;
	color: #999;
}

input[type="submit"].button_emphasis_secondary {
	background: linear-gradient(to bottom, #eee, #999);
	background-color: #eee;
	color: #000;
}

input[type="submit"].button_emphasis_secondary:hover {
	background: linear-gradient(to bottom, #999, #eee);
	background-color: #999;
}

/****** forms ******/
.submit-message {
	margin-left: 50px;
	display: none;
}

.submit-message-show {
	display: inline-block;
}

input.cancel {
	margin-left: 10px;
}

form.reskin input, form.reskin select, form.reskin textarea {
	padding: 5px;
	border-radius: 5px;
	border: 1px solid #ccc;
	outline: none;
}

form.reskin input[type=button]:hover, form.reskin input[type=submit]:hover {
	background-color: #000;
	border: 1px solid #000;
	cursor: pointer;
	color: #fff;
}

/****** schedule ******/
#schedule_header .tabs {
    background-color: #FFFFFF;
    border-bottom: 1px solid #DDDDDD;
}

#schedule_header .tabs li {
    float: left;
    margin-right: 1px;
    position: relative;
}

#schedule_header .tabs li span, #schedule_header .tabs li a.active, #schedule_header .tabs li.selected a {
    background-color: #FFFFFF;
    margin-bottom: -1px;
    padding-bottom: 6px;
    position: relative;
}

#schedule_header .tabs li a, #schedule_header .tabs li span {
    background-color: #DDDDDD;
    border-color: #DDDDDD #DDDDDD -moz-use-text-color;
    border-style: solid solid none;
    border-width: 1px 1px 0;
    padding-bottom: 4px;
    top: 0;
}
#schedule_header div.tabs h5, #schedule_header .tabs li a, #schedule_header .tabs li span {
    display: block;
    padding: 5px 25px;
}

#schedule_header .tabs li.previous-events-control {
	float: right;
    margin-left: 20px;
    padding: 5px 5px 0 0;
}

#schedule_header .tabs li.ical {
    background: url("icons/ical.png") no-repeat scroll left bottom transparent;
    float: right;
    margin-left: 20px;
    padding-right: 5px;
}

#schedule_header .tabs .ical a {
    background-color: transparent;
    border: medium none;
    padding-bottom: 2px;
}

.tag-container {
	color: #999999;
	font-size: 11px;
}

.notes-container {
	font-size: 11px;
}

#schedule-filter .date-end {
	margin-left: 10px;
}

#schedule-filter input[type=submit] {
	margin-left: 10px;
}

#right-menu #schedule .schedule-header {
	width: 100%;
	display: table;
}

#right-menu #schedule .schedule-day-controls {
	display: table-cell;
}

#right-menu #schedule .schedule-day-date {
	display: table-cell;
}

/****** header-2 ******/
/* not sure why this header is here? */
#header-2 > ul
{
	text-align: center;
	font-size: 13px;
    height: 28px;
    list-style: none outside none;
    margin: 0 0 5px 10px;
    padding: 0;
    width: 100%;
}

ul#top-navigation-bar, #header-2 > ul {
	background-image: url('http://delanoathletics.org/assets/<%= image_path "backgrounds/public/slate.png" %>');
	list-style: none;
	height: 40px;
	padding: 0;
	margin: 0;
}

ul#top-navigation-bar li, #header-2 li {
	display: inline-block;
	margin-top: 13px;
	padding: 0px 15px 0 15px;
	position: relative;
}

ul#top-navigation-bar li a {
	font-size: 120%;
	font-weight: bold;
	text-decoration: none;
}

#header-2a li {
	display: inline-block;
	margin-top: 13px;
	padding: 0px 15px 10px 15px;
	position: relative;
}

#header-2a li > .sub {
	background-color: #fff;
	border-radius: 0 0 5px 5px;
	display: none;
	padding-bottom: 10px;
	position: absolute;
}

#header-2a li:hover > .sub {
	display: block;
	z-index: 999;
}

#header-2a li > .sub > ul {
	display: table-cell;
}

#header-2a li > .sub li {
	margin-top: 5px;
	padding-bottom: 0;
	white-space: nowrap;
}

/****** body ******/
.body-transparent {
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
}

/****** footer ******/
#footer {
	/* background-color: #F7F7F9; */
	font-size: 90%;
	/* box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.2); */
	margin: 10px 0;
	padding: 5px;
}

/****** tags ******/
#tag-header {
	margin-bottom: 10px;
}

/****** players ******/
.current-season-stat .player-name, .current-season-stat.player-name {
	font-weight: bold;
}

.al-select-player .social-container {
	text-align: left;
}

/****** stat filters ******/
#filter-stats-controls {
	margin-bottom: 10px;
}

#filter-stats-controls input, #filter-stats-controls select {
	padding: 5px;
	border-radius: 5px;
	border: 1px solid #ccc;
	outline: none;
}

#filter-stats-controls input.date {
	width: 75px;
}

#filter-stats-controls #filter-dates {
	display: inline-block;
}

#filter-stats-controls #filter-dates span {
	margin: 0 10px;
}

#filter-stats-controls #filter-splits {
	display: inline-block;
	margin-left: 50px;
}

#filter-stats-controls #filters-selected {
	margin: 10px 0;
	border-bottom: 1px solid #666666;
	padding-bottom: 10px;
}

#filter-stats-controls #filters-selected li {
	display: inline-block;
	padding: 5px;
	background-color: #f6f6f6;
	border-radius: 5px;
	border: 1px solid #ccc;
	color: #393939;
	font-weight: bold;
	margin-right: 10px;
}

#filter-stats-controls #filters-selected li a {
	color: #EF8C08;
}

#filter-stats-controls #filters-selected li a:hover {
	color: #393939;
	text-decoration: none;
}

#filter-stats-controls #filter_stats {
	
}

#filter-stats-controls #filter_stats:hover {
	cursor: pointer;
	background-color: #F9F9F9;
}

#stats-main-container .loading {
	text-align: center;
	padding: 20px 0;
}

#filter-stats-controls #filter_stats_clear {
	margin-left: 20px;
}

/****** Photos ******/
.image-caption {
	display: none;
}

.image-title {
	font-weight: bold;
	text-align: center;
	margin-bottom: 3px;
}

.image-description {
	text-align: center;
	margin-bottom: 3px;
}

#album-photos-container li {
	display: inline-block;
	padding: 10px;
	width: 31%;
}

#album-photos-container li img {
	max-width: 100%;
}

/****** Checkout ******/
#form-checkout label, #form-checkout div.submit {
	padding-left: 0;
}

#form-checkout li .hint, #form-checkout div.formError {
	padding-left: 12.2em;
}

#form-checkout #total-price-reminder label {
	padding-top: 10px;
}

#form-checkout #total-price-reminder span {
	font-size: 2em;
	font-weight: bold;
}

/****** Registration ******/
#registration-event-details-header #quickInfo {
	float:left;
	margin-right: 100px;
	width: 400px;
}

#registration-event-details-header #quickInfo #dateAddressContainer h4 {
	border: none;
	font-size: 100%;
}

#registration-event-details-header #quickInfo #dateAddressContainer h4 span {
	font-weight: 400;
}

#registerBlock {
	float:left; width: 250px;
}

#registerBlock div {
	text-align: center;
	margin: 10px 0;
}

#registration-events-list .registration-event-info {
	float: left;
}

#registration-events-list .registration-event-times {
	float: right;
}

#registration-events-list .registration-event-title {
	font-weight: bold;
	font-size: 150%;
}

#registration-events-list .registration-event-date {
 	font-weight: bold;
 	color: #333;
}
 
#registration-form-description {
	margin-left: 36px;
	margin-bottom: 10px;
}

#registration-form-price {
	padding: 5px 5px 5px 36px;
	margin-bottom: 10px;
	background-color: #F3F3F3
}

#form-register .checkbox-list {
	float: left;
}
#form-register .checkbox-list div {
	margin-bottom: 5px;
}

#waiver-page .button {
	margin-top: 10px;
}

.page-registration .buttons {
	 margin-left: 2.5em;
}

.page-registration .buttons input {
	margin-left: 11.5em;
	margin-right: 20px;
}

.page-registration p {
	margin: 10px 0;
}

.page-registration .signin-header {
	background-color: #ccc;
    font-size: 1.5em;
    padding: 10px 5px;
}

/****** Cart ******/
#cart-added {
	font-weight: bold;
	color: #009900;
	font-size: 22px;
	padding: 3px 1px 3px 0;
}

.registration-added {
	overflow: hidden;
	margin-bottom: 10px;
}

.registration-added .registration-title {
	float: left;
	padding-top: 10px;
}

.registration-added .registration-for {
	
}

.registration-added .registration-checkout {
	float: left;
	margin-left:200px;
}
.registration-added .registration-checkout div {
	width: 110px;
}

.registration-added .registration-other-options {
	float: left;
	margin-left:20px;
	padding-top: 10px;
}

#checkout-page .total-price {
	overflow: hidden;
	margin-bottom: 10px;
	text-align: right;
	padding-right: 10px;
}

#checkout-page #trouble-checking-out {
	margin-left: 20px;
}

#checkout-page .refunds {
	overflow: hidden;
}

#checkout-page .refunds > div {
	float: left;
}

#checkout-page .refunds > div:first-child {
	width: 10em;
	margin-right: 1em;
}

#checkout-page .refunds > div label {
	padding-left: 5px;
	float: none;
}

#checkout-page .refunds > div a {
	font-weight: normal;
	margin-left: 5px;
}

.confirmation-section {
	margin-bottom: 10px;
}

.confirmation-section li {
	overflow: hidden;
}

.confirmation-label {
	float: left;
	width: 100px;
	font-weight: bold;
}

.confirmation-data {
	float: left;
	width: 100px;
	margin-right: 50px;
}

.confirmation-header .confirmation-label.email {
	width: 200px;
}

.confirmation-registration {
	margin-bottom: 20px;
}

.confirmation-registration li {
	padding: 10px;
}

/****** Mobile ******/
.mobile-show {
	display: none;
}

/****** Location ******/
#location-actions {
	margin: 5px 0;
}

.address-block {
	margin-bottom: 10px;
}

/****** Line Score ******/
.line-score-container {
	margin-left: auto;
	margin-right: auto;
	width: 500px;
	padding-bottom: 5px;
}

.baseball-line-score .final-score-only {
	text-align: center;
	font-size: 15pt;
}

.baseball-line-score .team-container {
	float: left;
}

.baseball-line-score .team-container li {
	float: left;
	clear: none;
	padding-right: 5px;
}

.baseball-line-score .team-container li div {
	text-align: center;
	padding: 2px 0px;
	height: 20px;
	margin: 1px;
}

.baseball-line-score .team-container li div:first-child {
	height: 15px;
}

.baseball-line-score .innings-container {
	float: left;
}

.baseball-line-score .innings-container li {
	float: left;
	width: 24px;
	clear: none;
}

.baseball-line-score .innings-container li div {
	text-align: center;
	padding: 2px 0px;
	height: 20px;
	background-color: #F8F7F2;
	margin: 1px;
}

.baseball-line-score .innings-container li div:first-child {
	background-color: #666666;
	color: white;
	height: 15px;
}

.baseball-line-score .final-container {
	float: left;
	padding-left: 5px;
}

.baseball-line-score .final-container li {
	float: left;
	width: 24px;
	clear: none;
}

.baseball-line-score .final-container li div {
	text-align: center;
	padding: 2px 0px;
	height: 20px;
	background-color: #F8F7F2;
	margin: 1px;
}

.baseball-line-score .final-container li div:first-child {
	background-color: #666666;
	color: white;
	height: 15px;
}

/****** Events Widget ******/
table.standard.events-widget td {
	vertical-align: top;
	padding-bottom: 5px;
	padding-top: 5px;
}

table.events-widget td.result {
	white-space: nowrap;
}

/****** Poll Widget ******/
#poll-container img {
	margin-top: 3px;
	max-width: 100%;
}

/****** League ******/
.league-left-news {
	overflow: hidden;
}

.league-left-news > div {
	float: right;
	width: 48%;
}

.league-left-news > div:first-child {
	float: left;
}

.league-left-news .schedule-day-controls {
	float:left;
	margin-right: 5px;
	padding-top: 3px;
	margin-top: 2px;
}

.league-left-news .schedule-day-date {
	float:left;
	margin-right: 5px;
	padding-top: 3px;
}

.league-left-news .schedule-day-date h3 {
	font-size: 150%;
	margin-bottom: 5px;
}

/****** News ******/
.post-list-element {
	padding-bottom: 10px;
  	border-bottom: 1px solid #e3e3e3;
  	overflow: hidden;
}

.post-list-element-image {
	float: left;
	width: 150px;
}

.post-list-element-text {
	float: left;
	width: 600px;
}

/****** Contact Us ******/
#contact-us-form .captcha {
	margin-left: 14em;	
}

/****** Depthchart ******/
.depthchart-display {
	background: url('backgrounds/field_depth_baseball.png') no-repeat scroll 0 0 transparent;
	min-height: 320px;
	position: relative;
	float: left;
	width: 600px;
}

.depthchart-list {
	float: left;
	width: 150px;
}

/****** Tables ******/
.table-header {
	background-image: url('backgrounds/public/slate.png');
	font-weight: bold;
	padding: 10px;
}

/****** Stats ******/
.data .game-log thead th, .data .career-stats thead th, .data .split-stats thead th, .data .standings thead th, table.staff_list thead th {
	color: #000;
	background-color: #F8F7F2;
	text-align: right;
	padding: 5px;
	white-space: nowrap;
}

.data .game-log td, .data .career-stats td, .data .split-stats td, .data .standings td, table.staff_list td {
	padding: 5px;
}

.data .game-log tr.stats-career, .data .career-stats tr.stats-career {
	background-color: #fff;
	border-top: 1px solid #000;
}

.data .split-stats thead th.title {
	text-align: left;
}

/****** Player News ******/
.player-news-list {
	/*list-style: disc outside none;
	padding-left: 15px;
	padding-top: 5px; */
}

.player-news-list li {
	margin: 5px 0;	
}

.player-news-list span {
	color: #666666;
	margin-left: 5px;
}

/****** Win/Loss Records ******/
table.win-loss, table.win-loss-shortened {
	margin-bottom: 10px;
}

table.standard.win-loss td, table.standard.win-loss th {
	padding: 5px;
}

table.standard.win-loss tr.footer {
	background-color: #fff;
	border-top: 1px solid #000;
}

table.win-loss thead th {
  color: #000;
  background-color: #F8F7F2;
}

/****** Standings ******/
 table.standings {
 	margin-bottom: 20px;	
 }
 
 /****** Location ******/
#page-location-details #map_canvas {
	width: 100%;
	height: 400px;
}

#page-location-details #directions-panel {
	width: 100%;
	height: 100%
}

/****** Poll ******/
#page-poll img {
	max-width: 100%;
}

#page-poll .poll-container {
	width: 465px;
}

/****** Stats - Leaders ******/
#stats-leaders-page .stats-leader-box-container-category.two {
	width: 49%;
}

#stats-leaders-page .stats-leader-box-container-category.three {
	width: 33%;
}

/****** Stats ******/

.hitting-stats tfoot th, .pitching-stats tfoot th, .fielding-stats tfoot th {
	background-color: #fff;
    border-top: 1px solid #000;
    font-weight: bold;
}

/****** Stats - Record Book ******/
.stats-leader-box-header-sub {
	overflow:hidden;
	padding: 5px;
}

.stats-leader-box-header-sub .avatar-container {
	float: left;
	margin-right: 10px;
	width: 160px;
	font-weight: bold;
}

.stats-leader-box-header-sub .player-container {
	float: left;
	text-align:
	center;
	height: 145px;
	width: 100%;
}

.stats-leader-box-header-sub .player-container.has-avatar {
	width: 185px;	
}

.stats-leader-box-header-sub .player-stat, .stats-leader-box-header-sub .team-stat {
	font-size: 175%;
	margin-top: 15px;
	font-weight: bold;
}

.stats-leader-box-header-sub .player-name {
	font-size: 150%;
}

.stats-leader-box-header-sub .team-container {
	float: left;
	text-align: center;
	width: 100%;
	height: 75px;
}

.recordbook-list {
	overflow: hidden;
}

.recordbook-list .recordbook-leaders {
	width: 240px;
	float: left;
	margin-right: 10px;
}

.recordbook-list .recordbook-leaders > div {
	overflow:hidden;
	padding: 5px;
}

.recordbook-list .recordbook-leaders .counter {
	float: left;
	width: 20px;
	margin-top: 35px;
	font-size: 175%;
	color: #830201;
	font-weight: bold;
}

.recordbook-list .recordbook-leaders .avatar-container {
	float: left;
	margin-right: 10px;
	width: 100px;
	margin-top: 15px;
}

.recordbook-list .recordbook-leaders .avatar-container img {
	max-width: 100%;
}

.recordbook-list .recordbook-leaders .player-container {
	float: left;
	text-align: center;
	width: 210px;
	height: 110px;
}

.recordbook-list .recordbook-leaders .player-container.has-avatar {
	width: 100px;
}

.recordbook-list .recordbook-leaders .player-container div:first-child {
	font-size: 125%;
	margin-top: 25px;
	font-weight: bold;
}

.recordbook-list .recordbook-leaders .player-container div.player-name {
	font-size: 100%;
}

.recordbook-list td.rank {
	width: 1%;
	padding-right: 0
}

.recordbook-list .recordbook-leaders .team-container {
	float: left;
	text-align: center;
	height: 75px;
	width: 210px;
}

.stats-leader-box table.recordbook thead {
	display: none;
}

.recordbook-list .recordbook-leaders .team-container div:first-child {
	font-size: 200%;
	margin-top: 25px;
}

/****** Photos ******/
.albums {
	overflow: hidden;
}

.albums .album-cover {
	float: left;
	width: 120px;
	text-align: center;
	margin: 2px 5px 10px 5px;
	height: 200px
}


/****** Teams ******/
#team-info-header {
	box-shadow: 0 4px 2px -2px rgba(0,0,0,0.3);
	background-color: #fff;
	margin-bottom: 10px;
	padding: 10px;
}

#team-info-header > div {
	display: table-cell;
	vertical-align: top;
}

#team-info-header .logo {
	padding-right: 20px;
}

#team-info-header .logo img {
	border-radius: 5px;
}

#team-info-header .info h4 {
	font-size: 2em;
	padding-left: 0;
	border: 0;
	
	/* redoing team header */
	display: table-cell;
    border-right: 1px solid #000;
    padding-right: 10px;
    margin-right: 10px;
}

#team-info-header .info .record {
	display: table-cell;
	font-size: 1.5em;
	padding-left: 10px;
	padding-top: 5px;
}

#team-info-header.no-elements .info > div, #team-info-header.no-elements .info > ul {
	display: inline-block;
}

#team-info-header.league-info-header .info h4 {
	border-right: 0;
}

#team-info-header .sub li.division-header-menu {
	margin: 10px 0 5px 0;
    width: 100%;
    box-sizing: border-box;
}

#header-2 #team-info-header li {
	font-size: 1.25em;
	padding: 0 30px 0 0;
}

#header-2 #team-info-header li:hover {
	/* border-bottom: 3px solid #000000; */	
}

#header-2 #team-info-header li a {
	color: #000;
}

#team-info-header .info .website {
	display: table-cell;
	padding-left: 10px;
    margin-left: 10px;
    vertical-align: middle;
}

#team-info-header .info .website img {
	width: 36px;
}

#header-2 #team-info-header li .sub {
	background-color: #fff;
	/* border-top: 1px solid transparent; */
}

#header-2 #team-info-header .sub ul li a {
	color: #000;
	font-size: .75em;
}

#header-2 #team-info-header .sub {
	background-image: 0
}

#header-2 #team-info-header li span {
	color: #000;
	font-size: .75em;
}

#header-2 #team-info-header li a:hover {
	color: #000;
}
 
/****** Tablesaw Overrides ******/
/* 
.tablesaw-bar .tablesaw-advance:first-child, .tablesaw-advance.minimap:nth-child(2) {
	display: none !important;
}

.tablesaw-stack td .tablesaw-cell-content .tablesaw-cell-label {
	display: none;
}

.tablesaw-sortable th.tablesaw-sortable-head button {
	text-align: right;
}

.tablesaw-sortable .tablesaw-sortable-head button:after {
	top: 10px;
}
*/

@media (max-width: 39.9375em) {
	.tablesaw-cell-content {
	    max-width: none;
	    display: inline-block;
	}
}