div.clearing {
  clear: both;
}

body, body * {
  margin: 0;
  padding: 0;
}

body {
  background-image: url('../img/wiki_background.jpg');
  background-position: 50% 0;
  background-repeat: no-repeat;
  
  background-color: black;
  font-family: Verdana;
  color: white;
}

a {
  color: white;
}

a:hover {
  color: black;
}

#rightOpts {
  float: right;
}

#wrapper {
  width: 951px;
  margin: 0 auto;
}

h1 a {
  display: block;
  text-indent: -9999px;
  width: 245px;
  height: 101px;
  background: url('../img/tailgatelogo_sized.png') no-repeat;
  margin: 10px auto 0 auto;
}

#topLeft {
  width: 300px;
}

#topCenter {
  width: 370px;
  
}

div #topRight {
  width: 200px;
  margin: 0;
}

#topLeft,
#topCenter {
  float: left;
}

#topAd {
  text-align: right;
  margin: 0 10px 10px 10px;
  padding-top: 10px;
}

a img {
  border: 0;
}

#header h2 {
  font-size: 1em;
  margin: 13px 0;
}

#sports {
  float: left;
  background: black;
}

h3 {
  float: left;
  margin: 4px 20px;
}

h3 a {
  text-decoration: none;
}

h3 a:hover {
  color: red;
}

#contentArea {
  clear: both;
}

#header {
  background-image: url('../img/bgpatternthin.jpg');
  height: 130px;
}

#contentArea {
  background-color: #aaa;
  padding: 8px;
  height: 1%;
}

#content {
  background-color: #fff;
  color: #666;
  padding: 10px 20px;
  font-size: 0.9em;
}

h4 {
  margin: 8px 0 0 0;
  font-size: 1.4em;
  font-weight: normal;
}

#searchField {
  background: url('../img/searchbox.png') no-repeat;
  width: 229px;
  height: 30px;
  float: left;
}

#searchField input {
  position: relative;
  width: 217px;
  height: 18px;
  border: 0;
  top: 6px;
  left: 6px;
}

#searchButtonContainer {
  float: left;
  background: url('../img/searchbutton.png') no-repeat 0 -2px;
  width: 111px;
  height: 36px;
  cursor: pointer;
}

#searchButton {
  display: none;
}

#menu {
  background-color: #666;
  margin-bottom: 10px;
  padding: 4px 10px;
  height: 37px;
  font-size: 0.8em;
}

#addTeam {
  display: block;
  text-indent: -9999px;
  background: url('../img/addteam.jpg') no-repeat;
  width: 94px;
  height: 29px;
  margin: 4px 0;
}

.optsBlock {
  float: left;
  margin-right: 20px;
}

#teams {
  font-weight: bold;
  margin: 11px 8px 0 10px;
}

#teamCount {
  font-weight: bold;
  font-size: 2.4em;
}

.optsBlockTextOnly {
  margin-top: 10px;
}

#teamsBlock div {
  float: left;
}

p {
  margin: 10px 0;
}

#content h4 {
  margin-bottom: 20px;
}

#content form {
  width: auto;
}

#content label {
  display: block;
  width: 200px;
  text-align: right;
  float: left;
  clear: both;
  margin: 10px 10px 0 0;
}

#content .formFields select,
#content .formFields textarea,
#content .formFields input {
  margin: 10px 10px 0 0;
  width: 200px;
}

#content .buttonSet {
  margin-top: 10px;
  width: 413px;
  text-align: right;
}

.displayMessages {
  background-color: #eeffaa;
  border: 1px dashed red;
  padding: 20px 60px;
  margin-bottom: 10px;
  clear: both;
}

.displayMessages ol,
.displayMessages ul {
  list-style-type: none;
}

.displayMessages li {
  margin: 4px 0;
}

.displayMessages li.good:before {
  content: "✔";
  margin-right: 20px;
  color: green;
}

.displayMessages li.bad:before {
  content: "✖";
  margin-right: 20px;
  color: red;
}

#content a {
  color: black;
}

#content a:hover {
  color: blue;
}

#content ol,
#content ul {
  margin-left: 20px;
}

#content ol li,
#content ul li {
  margin-bottom: 4px;
}

#edit #logo {
  float: left;
  width: 200px;
  text-align: center;
  margin-bottom: 16px;
}

#edit #logo img {
  display: block;
  margin: 0 auto;
}

#edit #title #mainText {
  font-size: 1.6em;
}

#edit #venue {
  border-top: 1px dotted #ddd;
  clear: both;
}

#edit #googleMap {
  width: 330px;
  height: 250px;
  float: right;
  margin-right: 60px;
}

#edit #googleMap h4 {
  margin-top: 60px;
  text-align: center;
}

#edit .formFields {
  float: left;
}

#edit #venue .formFields {
  width: 455px;
}

#edit fieldset {
  border: 1px dotted #ddd;
  margin-top: 10px;
  padding: 10px;
}

#edit legend {
  font-size: 1.4em;
  margin: 0 10px;
}

#edit #leftCol {
  float: left;
  width: 550px;
}

#edit #rightCol {
  float: right;
  margin-left: 10px;
}

#edit #rightCol fieldset {
  height: 100%;
}

#edit #cols {
  margin-top: 16px;
  padding-top: 6px;
  border-top: 1px dotted #ddd;
  clear: both;
}

#edit #help table td {
  border: 0;
  padding: 8px;
}

#edit #help table {
  width: 100%;
  border-collapse: collapse;
  border: 0;
}

#edit #help fieldset h4 {
  margin: 0;
}

#edit #help fieldset>h2.firstItem,
#edit #help fieldset>h5.firstItem {
  margin: 6px 0 10px 0;
}

#edit #help fieldset>h2,
#edit #help fieldset>h5 {
  margin: 20px 0 10px 0;
  font-size: 1.5em;
  border-bottom: 1px dotted #ddd;
}

#edit #leftCol h2.firstItem,
#edit #leftCol h5.firstItem {
  border-top: 0;
  padding-top: 0;
}

#edit #leftCol h2,
#edit #leftCol h5 {
  border-top: 1px dotted #ddd;
  padding-top: 10px;
  margin: 10px 0 4px 0;
}

#edit #leftCol textarea {
  width: 500px;
  height: 200px;
}

#edit #saveDiscard a,
#edit #saveDiscard input {
  display: block;
  margin: 16px auto;
  text-align: center;
  width: 130px;
}

#edit dd {
  margin-top: 10px;
  margin-left: 210px;
  width: 100%;
  white-space: nowrap;
}

#edit dt {
  text-align: right;
  float: left;
  font-weight: bold;
  width: 200px;
  margin: 10px 10px 0 0;
}

#edit dl {
  float: left;
}

.view div.wikiData h4,
.view div.wikiData h5 {
  margin: 0 !important;
  padding: 0 !important;
}

#gallery > h2,
#conferenceTeams > h2,
#freeTexts > h2 {
  /* font-size: 2em; */
  margin: 20px 0 10px 0;
  border-top: 1px dotted #ddd;
}

#freeTexts > h2 {
  padding: 5px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
  margin: 10px 0;
}

table thead {
  font-weight: bold;
}

table td {
  padding: 4px;
  border-right: 1px solid #ddd;  
  text-align: center;
}

table tr.oddRow td {
  background-color: #eee;
}

table tr.highlightRow td {
  background-color: #fcc;
}

#footer {
  font-size: 0.8em;
  text-align: center;
  padding: 8px;
  color: #ddd;
  float: left;
  margin-left: 100px;
}

#footer .footElement {
  float: left;
}

#footer .footPadRight {
  margin-right: 20px;
}

#footer a {
  color: #ddd;
  display: block;
  float: left;
}

#footer a:hover {
  color: #666;
}

.footElement {
  margin-top: 10px;
}

#footer .withImg {
  margin-top: 0;
}

#footer .withImg a {
  width: 32px;
  height: 32px;
  border: 4px solid black;
}

#footer .withImg a:hover {
  border: 4px solid white;
}

.fieldNote {
  margin-left: 160px;
}

#content .formFields textarea.bigger {
  width: 400px;
  height: 200px;
}

#content .formFields input.bigger {
  width: 400px;
}

#freeTexts {
  clear: both;
  float: left;
  width: 740px;
}

#freeTexts ol li,
#freeTexts ul li {
  margin-left: 12px;
}

#freeTextLinks {
  float: left;
  width: 100%;
  background-color: #666;
  margin: 8px 0;
}

#freeTextLinks a {
  color: white;
  float: left;
  display: block;
  border-left: 1px solid white;
  padding: 0 0 0 16px;
  margin: 8px 0 8px 16px;
}

#freeTextLinks a.firstItem {
  border-left: 0;
  margin-left: 0;
}

#freeTextLinks a:hover {
  color: black;
}

#shareLinks {
  float: right;
}

#about h5 {
  font-size: 1.2em;
}

#aboutDonate {
  float: right;
  text-align: center;
  margin: 40px;
}

#aboutDonate form {
  margin-top: 20px;
}

#drivingDirections {
  clear: both;
}

#galleryView {
  display: none;
  text-align: center;
  float: left;
  width: 100%;
  margin-top: 10px;
  background-color: #eee;
  border: 1px dotted #666;
  clear: both;
}

#galleryView img{
  margin-top: 10px;
  border: 8px solid white;
}

#galleryView span {
  display: blocK;
  color: black;
}

#galleryView span.galleryImgTitle {
  font-weight: bold;
}

#galleryView span.galleryImgDescription {
  margin-bottom: 10px;
}

#homePage h1 span {
  font-size: 1.6em;
  color: #9f0100;
}

#homePage h1 {
  font-size: 1.1em;
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px dotted #999;
}

.miniTeam .lastItem {
  margin-right: 0;
}

.miniTeamLink {
  width: 264px;
  float: left;
  margin-right: 12px;
  padding: 10px;
  text-align: center;
}

.miniTeam {
  width: 264px;
  float: left;
  border: 1px solid #999;
  margin-top: 10px;
  margin-right: 12px;
  padding: 10px;
}

.miniTeam .logo {
  float: left;
  margin-right: 10px;
}

.miniTeam .mainTextHolder {
  float: left;
  font-size: 0.7em;
  width: 200px;
}

.miniTeam .mainTextHolder .mainText h1 {
  font-size: 1.8em !important;
}

.miniTeam .venue {
  clear: both;
}

.miniTeam h2 {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.miniTeam h4 {
  font-size: 1em;
}

.miniTeam dd {
  margin-top: 10px;
  margin-left: 140px;
  width: 100%;
  white-space: nowrap;
}

.miniTeam dt {
  text-align: right;
  float: left;
  font-weight: bold;
  width: 130px;
  margin: 10px 10px 0 0;
}

.miniTeam dl {
  float: left;
  font-size: 0.6em;
}

.miniTeam .googleMap {
  margin-left: 35px;
}

.miniTeam .googleMap .placeHolder {
  width: 150px;
  height: 75px;
  text-align: center;
  margin-top: 35px;
  margin-left: 25px;
}

#homePage .twoCol {
  margin-top: 10px;
  border-top: 1px dotted #999;
}

.firstCol ,
.secondCol {
  margin-top: 10px;
  
}

.miniPhoto {
  float: left;
  text-align: center;
  margin-right: 20px;
}

.miniPhoto table {
  width: 180px;
  border-collapse: collapse;
  border: 0;
}

.miniPhoto .imageHolder td {
  border: 1px solid #999;
  height: 180px;
}

.miniPhoto .imageTitle td {
  border: 0;
}

.miniPhoto .imageTitle p {
  font-size: 0.7em;
}

.twoCol {
  clear: both;
}

.twoCol .firstCol {
  width: 600px;
  float: left;
}

.twoCol .secondCol {
  width: 290px;
  float: left;
}

#sponsors h2 {
  text-align: left;
}

#sponsors {
  text-align: center;
}

#sponsors p a {
  font-weight: bold;
}

#sponsors p {
/*  border: 1px solid #999; */
  padding: 10px 4px;
}

.secondCol h2,
.firstCol h2 {
  margin-bottom: 10px;
}

#homePage #donate p {
  margin: 10px auto 10px auto;
  width: 90%;
}

#homePage #donate div p a {
  display: block;
  width: 100%;
  text-align: center;
}

#homePage #donate {
  text-align: center;
}

#homePage #donate div a {
  display: block;
  float: left;
}

#homePage #donate div p {
  float: left;
  margin-left: 10px;
  width: 50%;
}

#homePage #donate div p span {
  font-size: 1.8em;
  font-weight: bold;
}

#content #twitter_update_list {
  list-style-type: none;
  margin-left: 0;
}

.aTwit {
  font-size: 0.8em;
}

.aTwit .dt {
  font-weight: bold;
  float: left;
  width: 100px;
  height: 100%;
  color: black;
}

table#twitter_update_list td,
table#twitter_update_list {
  border: 0;
  vertical-align: top;
  font-size: 0.9em;
  text-align: left;
}

table#twitter_update_list td.dt {
  width: 100px;
  font-weight: bold;
  color: black;
}

table#teamList {
  border: 0;
}

table#teamList td {
  vertical-align: top;
  text-align: left;
  border: 0;
}

table#teamList td ul {
  margin-bottom: 20px;
}

#content .formFields select#linkedTeams {
  width: 400px;
}

#ads {
  float: right;
}

#ads ul {
  list-style-type: none;
  margin: 0;
}

#presidentLogo h2 {
  text-align: left;
}

#presidentLogo h3 {
  text-align: left;
  margin: 4px 0;
  float: none;
}

#presidentLogo img {
  margin: 4px auto;
}

#presidentLogo {
  text-align: center;
}

#presidentLogo a {
  display: block;
  text-align: center;
  margin: 4px 0;
}

#trophyIcon {
  float: right;
  margin: 2px 6px 0 0;
}

.awardText,
.awardImage {
  float: left;
  margin: 10px;
}

.award {
  float: left;
  clear: both;
  border-bottom: 1px solid #ddd;
  width: 100%;
}

.awards .firstItem {
  margin-top: 10px;
  border-top: 1px solid #ddd;
}

.awardImage img.greyed {
  opacity:0.2;
  filter:alpha(opacity=20);
}

.sportDescription {
  font-size: 1.1em;
}

.formFields hr {
  margin: 20px;
  border: 0;
  border-top: 1px solid #ddd;
}
