/* Styling the results content */
.results-frame-container {
	font-size: 13px;
	font-family: 'Open Sans', sans-serif;
}

.results-frame-container .results-loading {
	text-align: center;
	padding: 2em 0;
}

.results-frame-container #content h1 {
	color: #999;
	font-size: 22px;
	margin: 1em 0;
}

.results-frame-container #content h2 {
	color: #b8bbb6;
	font-size: 18px;
	margin: 1em 0;
}
.results-frame-container .SectionHeader {
	font-weight: 600;
	width: auto;
	max-width: 200px;
	float: left;
}
.results-frame-container table {
	width: auto;
}
#aspnetForm table {
	font-size: 13px;
}
.results-frame-container td {
	padding-left: 5px;
}
.results-frame-container .DataList td.bold {
	font-weight: 800;
	font-size: 16px;
	color: #b41e45;
	padding-bottom: 5px;
}
.results-frame-container .DataList {
	margin-bottom: 10px;
}
.results-frame-container .PrevNext {
	text-align: center;
}
.results-frame-container .DataList .HorseRow {
	padding-left: 27px;
	padding-bottom: 15px;
}
.results-frame-container #ctl00_ctl00_Body_Main_HList a {
	font-weight: 700;
	color: #000;
	text-decoration: none;
}
.results-frame-container span.bold {
	font-weight: 700;
}
.results-frame-container span.red {
	color: #b41e45;
}
.results-frame-container .DataList .RaceRow a {
	color: #000;
	text-decoration: none;
}
.results-frame-container .DataList .RaceRow a:hover {
	color: #b41e45;
	text-decoration: underline;
}
.result-content button a {
	color: #fff;
	text-decoration: none;
}
.result-content button,
.result-content #searchForm input[type='button'],
.result-content .results-frame-container #aspnetForm input[type='button'],
.result-content .results-frame-container #aspnetForm input[type='submit'] {
	background-color: #b41e45;
	padding: 0.6em 1em;
    /*box-shadow: inset 0 1px 0 #b41e45, inset 0 15px 17px #b41e45, inset 0 -5px 12px #b41e45;
    color: #fff;
    font-weight: 700;
    text-shadow: none;
    border-radius: 5px;*/
}
.results-frame-container .results-back-button {
	background-color: #b41e45;
    color: #fff;
    font-weight: 700;
    text-shadow: none;
    padding: 0.5em 1.5em;
    max-width: 160px;
}
.result-content .datepick-trigger {
	cursor: pointer;
}
#aspnetForm #header {
	background-color: #b41e45;
	font-weight: 800;
	font-size: 16px;
	color: #fff;
	text-align: center;
}
#aspnetForm #gear {
    position: absolute;
    border: 1px solid black;
    background-color: yellow;
    margin: 0px;
    padding: 2px;
    visibility: hidden;
}
#aspnetForm #ctl00_main_racedata .FieldName {
	text-decoration: underline;
}
#aspnetForm #ctl00_main_racedata td a,
#aspnetForm #ctl00_main_racedata a {
	color: #b41e45;
	text-decoration: none;
	cursor: pointer;
}
#aspnetForm a.main-webtech-link {
	color: #b41e45;
	text-decoration: none;
}
#aspnetForm a.main-webtech-link:hover {
	text-decoration: underline;
}
#aspnetForm #ctl00_main_racedata td a:hover,
#aspnetForm #ctl00_main_racedata a:hover {
	text-decoration: underline;
}
#aspnetForm #ctl00_main_racedata .raceDataShowMore {
	font-weight: 700;
	font-size: 16px;
}
#aspnetForm #ctl00_main_racedata .raceDataExpansion {
	padding: 10px;
}
#aspnetForm #ctl00_main_racedata .raceDataExpansion ul {
	padding-left: 20px;
}
#aspnetForm #ctl00_main_racedata .raceDataExpansion li {
	list-style-type: none;
}
#aspnetForm #ctl00_main_racedata .HorseLinkTop3 {
	font-weight: 700;
}
#aspnetForm #ctl00_main_racedata .SireLinkTop3 {
	font-weight: 700;
	color: #b41e45;
}
#aspnetForm .SearchResults a,
#aspnetForm .SearchResults a:hover {
	color: #b41e45;
}
#aspnetForm table#ctl00_ctl00_Body_Main_RList tr:first-of-type a {
	font-weight: 700;
	text-decoration: none;
}
#aspnetForm .Grey {
	background-color: #eee;
}
#aspnetForm table#ownerdata {
	margin-top: 20px;
}
#aspnetForm table#ownerdata .FieldName,
#aspnetForm table.pad span.FieldName {
	font-weight: 700;
	color: #000;
	white-space: nowrap;
}
#aspnetForm .italic {
	font-style: italic;
}
#aspnetForm .raceDataHeading {
	font-size: 16px;
}
/*@media screen and (min-width: 20em) {
	#aspnetForm #sidebar input[type='image'] {
		width: 100%;
		max-width: 260px;
		margin-left: 2px;
		margin-right: 2px;
	}
}
@media screen and (min-width: 35.5em) {
	#aspnetForm #sidebar input[type='image'] {
		width: 49%;
	}
}
@media screen and (min-width: 48em) {
	#aspnetForm #sidebar input[type='image'] {
		width: 24%;
	}
}

#searchForm #search-fields select {
	margin-bottom: 5px;
	width: 75px;
    border: 1px solid #b41e45;
    background: url(asc-black.png) no-repeat right #fff;
	-webkit-appearance: none;
	padding: 5px;
	font-family: 'Open Sans', sans-serif;
}
#searchForm #search-fields #SearchBox input[type='text'],
#searchForm #search-fields #DatePicker input[type='text'] {
	margin-bottom: 5px;
    border: 1px solid #b41e45;
	padding: 5px;
}*/

#searchForm {
	display: flex;
	align-items: flex-end;
	border: 1px solid #dedede;
	padding: 1em;
}

#searchForm .form-field select, 
#searchForm .form-field textarea,
#searchForm .form-field input {
	max-width: 200px;
	min-width: 100px;
	width: 100%;
}

#searchForm .form-fields {
	display: flex;
	flex: 1;
}

#searchForm .form-fields .form-field {
	margin-right: 1em;
}

#searchForm .search-fields {
	flex: 1;
}

#searchForm .search-fields select,
#searchForm .search-fields input {
	width: calc((100% / 3) - 10px);
}

#searchForm .by {
	font-size: 12px;
}

#searchForm .form-footer {
	text-align: right;
}

#searchForm #help-button {
	margin-left: 20px;
}

#aspnetForm #root {
	display: flex;
}

#aspnetForm #content {
	flex: 1;
	padding: 2em 2em 0 0;
	padding-right: 2em;
}

#aspnetForm #sidebar {
	padding: 2em 0 0 0;
}

@media only screen and (max-width: 1000px) {
	#aspnetForm #sidebar {
		display: block;
		margin: 0;
	}
}

@media only screen and (max-width: 800px) {
	#searchForm {
		display: block;
	}

	#searchForm .form-fields {
		display: block;
	}

	#searchForm .form-fields .form-field {
		margin-right: 0;
	}

	#aspnetForm #sidebar {
		display: none;
	}

	#searchForm select {
		min-width: 165px;
	}

	#searchForm .form-field {
		margin-bottom: 0.5em;
	}
}

@media only screen and (max-width: 600px) {
	#searchForm .form-field select,
	#searchForm .form-field input {
		width: calc((100% / 2) - 12px);
	}

	#searchForm #SEARCH {
		margin-top: 0.5em;
		width: 100%;
		max-width: none;
	}
}

#aspnetForm #sidebar input[type=image] {
	display: block;
	max-width: 250px;
}

#aspnetForm a {
	color: #b41e45;
}

#aspnetForm a:hover {
	text-decoration: underline;
}
