/* CSS Document */

@import "/assets/styles/superfish.css";
@import "/assets/styles/meanmenu.css";

body {
    width: 100%;
    margin: 0px;
    padding: 0;
    font-family: helvetica, arial, sans-serif;
    font-size: 14px;
    color: #1e1e1e;
    /*background-image: url(/assets/images/dust_scratches.png);*/
   background:#fff;
}
header, footer, article, section, aside, nav {
    display: block;}

h1 {
    font-size: 2.571em;
    color: #ffd100;
    text-transform: uppercase;
    font-style: italic;
    font-weight: lighter;
    margin: 0px;
    padding: 0 0 1% 0;}

body#home h1 {
    display: none;}

h2 {
    /*text-transform: uppercase;*/
    font-weight: lighter;
    font-size: 1.857em;
    color: #222222;
    padding: 10px 0px 0px 0px;
    margin: 0px;}
#raceListOut h2 {
    padding: 10px 0px 10px 0px;
}

body#home h2, div.sidebar h2 {
    text-transform: uppercase;}

h3 {
    font-size: 1.429em;
    color: #2c4b93;
    font-weight: lighter;}

div.yellowBar {
    transform: skew(-10deg);
    -o-transform: skew(-10deg);
    -moz-transform: skew(-10deg);
    -webkit-transform: skew(-10deg);
    background-color: #ffd100;
    margin-right: -10px;}

p {
    line-height: 1.5em;}

a img {
    border: 0px;}

a:link, a:visited {
    color: #2C4B93;
    text-decoration: none;}

a:hover, a:active, a:focus {
    color: #142F6E;
    text-decoration: none;}

@media only screen and (max-width: 890px) {

    h1 {
        padding: 2% 0;}

}

/* ========== HEADER ========== */
/*Sticky header styles*/
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.sticky + .content {
  padding-top: 102px;
}

header {
    width: 100%;
    text-transform: uppercase;
    overflow: visible;
    position: relative;
    /*background-image: url(/assets/images/dust_scratches.png);*/
   background:#fff;
}

header a:link, header a:visited {
    color: #2c4b93;
    text-decoration: none;}

header a:hover, header a:active, header a:focus {
    color: #000000;
    text-decoration: none;}

#blueBar {
    width: 100%;
    background-color: #2c4b93;
    height: 38px;
    overflow: hidden;
    position: relative;}

#navigationBar {
    position: relative;
    width: 100%;}

ul.socialMedia {
    margin: 11px 0px 0px 0px;
    padding: 0px;
    list-style-type: none;
    float: right;
    display: inline;}

ul.socialMedia li {
    float: left;
    margin: 0px 10px;
    height: 16px;
    width: 16px;
    text-indent: -9999px;}

ul.socialMedia li.facebook {
  background: url('../images/facebook-sm.png') top left no-repeat;
}

ul.socialMedia li.twitter {
  background: url('../images/twitter.png') top left no-repeat;
  background-size: contain;}

ul.socialMedia li a {
    display: block;
    height: 16px;
    width: 16px;}

div.search {
    width:213px;
    height: 38px;
    float: right;
    display: inline;
    line-height: 38px;
    font-size: .857em;
    padding-left: 20px;}

div.search a {
    float: left;}

div.searchIcon {
    background: url('../images/search-icon.png') top left no-repeat;
    height: 15px;
    width: 16px;
    float: left;
    margin: 11px 0 0 10px;}

/* NAVIGATION */

#mainNav {
    background-color: #ffffff;
    width: 100%;
    position: relative;}



/* See superfish.css for styles */

@media only screen and (max-width: 890px) {
    div#logo {
        text-align: center;
        float: none;}
    .sf-menu {
        clear: both;
        margin-right: 10%;}
}

@media only screen and (max-width: 700px) {
    div#logo {
        text-align: left;}
}

/* ========== BANNER ========== */

section#banner {
    width: 100%;
    overflow: hidden;
    border-bottom: 5px solid #222222;
    border-top: 5px solid #222222;}

ul.bxslider {
    margin: 0px;
    padding: 0px;
    text-transform: uppercase;}
/*body#home ul.bxslider li.slide1 {
        background: url('../images/banner-placeholder.jpg') top left no-repeat;}*/

ul.bxslider div.caption {
    background-color: #000000;
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    bottom: 0px;
    width: 80%;
    padding: 30px 10%;}

ul.bxslider div.caption h2 {
    font-size: 2.286em;
    font-weight: bold;
    color: rgba(255, 255, 255, 1);
    position: relative;
    margin: 0px;
    padding: 0px;}

ul.bxslider div.caption h3 {
    color: rgba(255, 209, 0, 1);
    font-size: 1.857em;
    font-style: italic;
    font-weight: lighter;
    padding: 0px;
    margin: 0px;}

ul.bxslider div.caption p {
    color: rgba(255, 255, 255, 1);
    font-size: .857em;
    max-width: 50%;
    float: left;}

ul.bxslider div.caption div.learn-more {
    color: rgba(255, 255, 255, 1);
    text-align: center;
    float: left;
    padding: 2%;}

ul.bxslider div.caption div.learn-more a {
    border-radius: 6px;
    display: block;
    line-height: 32px;
    width: 116px;}

ul.bxslider div.caption div.learn-more a:link,
ul.bxslider div.caption div.learn-more a:visited {
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    border: 2px solid #ffffff;}

ul.bxslider div.caption div.learn-more a:hover,
ul.bxslider div.caption div.learn-more a:active,
ul.bxslider div.caption div.learn-more a:focus {
    color: rgba(254, 239, 170, 1);
    text-decoration: none;
    border: 2px solid #feefaa;}
ul.bxslider img{
    opacity: 0.5;
}
@media only screen and (max-width: 700px) {
    section#banner {
        /*background-color: #222222;*/
        /*background: url('../images/bg-gradient.png') top left repeat-x;*/
        background-color: #0f1725;}
    ul.bxslider img {
        display: none;}
    ul.bxslider div.caption {
        display: inline-block;
        position: relative;
        width: 90%;
        background: none;
        padding: 5% 5%;}
    ul.bxslider li {
        width: 100% !important;
        display: inline-block;}
    ul.bxslider li + li {
        display: none;}
    ul.bxslider div.caption p {
        width: 100%;
        float: none;
        max-width: 100%;}
    ul.bxslider div.caption div.learn-more {
        float: right;}
}

/* ========== BODY ========== */

div#bodyContent {
    padding: 1% 0;
    background: url('../images/bg-gradient.png') top left repeat-x;}

body#home div#bodyContent {
    background: none;}

div#bodyContent div.container {
    width: 98%;
    max-width: 1300px;
    margin:0 auto;}
div#bodyContent div.container:after {
    display: block;
    clear: both;
    content: "";
}

div.breadcrumbs {
    color: #ffffff;
    margin: -1% 0px 10px 0;
    width: 100%;
    padding: 15px 0 1% 0;}

div.breadcrumbs a, div.breadcrumbs span {
    margin: 0 4px;}

div.breadcrumbs a:first-child {
    margin-left: 0px;}

div.breadcrumbs a:link,
div.breadcrumbs a:visited {
    color: #feefaa;}

div.breadcrumbs a:hover,
div.breadcrumbs a:active,
div.breadcrumbs a:focus {
    color: #faf3d4;}

/* HOMEPAGE */


/*body#home div.main h2 {
    font-size: 2.4em;
    color: #2c4b93;
    font-style: italic;
    margin: 0px;
    padding: 10px 0;}*/

body#home div.main h4 {
    margin: 0px 0px 6px 0px;
    padding: 0px;
    font-weight: lighter;
    color: #2C4B93;
    font-size: 1.429em;}

body#home div.main h3 {
    font-size: 1.714em;
    color: #3e3e3e;
    /*float: left;*/
    font-weight: normal;
    margin: 6px 0px 0px 0px;
    padding: 0px;
    border-bottom: 5px solid #2C4B93;}

body#home div.main h2 + h3 {
    margin-top: 20px;}

body#home div.main {
    /*border-bottom: 10px solid #2c4b93;*/
    padding-top: 0;}

div.main {
    /*width: 54%;*/
    display:block;
    /*float: none;*/
    width:100%;
    /*margin-right: 2%;*/
    background-color: #ffffff;
    /*margin: 0% 2%;*/
    min-height: 550px;
    position: relative;}
/*div.wide{
   display:block;
   float: none;
   width:100%;}*/
div.col{
   width:60%;
   display: inline-block;
   float: left;
}
div.buffer{
   display:block;
   margin:0 auto;
   padding:2em;}

article.ft-news-post {
    margin:20px 0;
    border-bottom:solid thin #ccc;
}

article.ft-news-post:after {
    content:"";
    clear: both;
    display: block;
}

article.news-post {
    margin:0 0 20px;
    border-bottom:solid thin #ccc;
}

article.news-post:after {
    content:"";
    clear: both;
    display: block;
}

article p.date {
    margin:0;
}

/*body#results div.main,
body#services div.main,
body#about-us div.main {
    width: 95%;}*/

body#schedule div.main {
    width: 100%;
    padding: 0;
    background-color: transparent;}

div.main div.location {
    text-transform: uppercase;
    font-style: italic;
    /*display: inline;*/
    white-space: nowrap;}

div.main div.location img, div.sidebar div.article div.location img{
   position: absolute;
   top:10px;
   right:10px;
   max-width:50px;}

div.sidebar div.article div.location img{
   top:30px;}

div.main div.date {
    font-style: italic;
    /*display: inline;*/
    float: left;
    margin-right: 4%;}

div.main div.viewResults {
    text-align: center;
    /*padding: 2% 0;*/
    padding: 0;
    text-transform:uppercase;
    /*margin-top: 6px;*/
    margin: 0 0 0 2%;
    width: 23%;
    /*width: 116px;*/
    float: right;
    display: inline;}

div.main div.viewResults a {
    border-radius: 6px;
    display: block;
    line-height: 32px;
    width: 116px;
    float: right;}

div.main div.viewResults a:link,
div.main div.viewResults a a:visited {
    color: #2c4b93;
    text-decoration: none;
    border: 2px solid #2c4b93;}

div.main div.viewResults a:hover,
div.main div.viewResults a:active,
div.main div.viewResults a:focus {
    color: #6585cf;
    text-decoration: none;
    border: 2px solid #6585cf;}

div.main div.image {
    display: inline;
    float: left;
    width: 39%;
    margin: 0 1% 0 0;}

div.main div.image img {
    width: auto;
    min-height: 105px;
    max-height: 105px;}

div.main div.info {
    /*display: inline;
    width: 54%;
    margin: 0 0 0 1%;
    float: left;*/
    width: 75%;
    display: inline;
    float: left;}

div.main div.article {
   position:relative;
    border-bottom: 1px solid #dadada;
    /*margin-bottom: 20px;*/
    clear: both;
    display: inline-block;
    padding-bottom: 10px;}

div.main div.article:last-child {
    border-bottom: 0px;}

div.main div.article-half{
   clear: none;
   float: left;
   width: 48%;
   margin: 0 2% 1em 0;
   min-height: 500px;
}
div.main div.article-half:last-child{
   border-bottom: 1px solid #dadada;}

div.main div.article-half img.banner{
   margin:0.5em 0 0 0;
   width: 100%;}

div.main div.article-half .services-content{
   min-height: 280px;}

div.main div.article-half .gallery{
   margin: 1.15em 0 1em 1em;
   float: right;
   width: 45%;
}
div.main div.article-half .gallery img{
   width:100%;}

@media only screen and (max-width: 800px) {
   div.main div.article-half{
      clear: none;
      float: none;
      width: 100%;
      margin: 0 0 1em 0;
      min-height:inherit;
   }
}
@media only screen and (max-width: 500px) {
   div.main div.article-half .gallery{
      margin: 1.15em 0 1em 0;
      float: none;
      width: 100%;
   }
}

body#home div.main div.article {
   display: inline-block;
   width: 96%;
   padding: 10px 2%;
   border-bottom: 1px solid #DADADA;}

div.main div.olderEvents {
    text-align: right;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 50px;}

div.main div.olderEvents a:link,
div.main div.olderEvents a:visited {
    color: #3e3e3e;
    text-decoration: none;}

div.main div.olderEvents a:hover,
div.main div.olderEvents a:active,
div.main div.olderEvents a:focus {
    color: #000000;
    text-decoration: none;}

@media only screen and (max-width: 500px) {
    div.main div.info {
        width: 100%;
        float: none;}
    div.main div.viewResults {
        width: 100%;
        display: block;
        float: none;
        margin-top: 6px;}
    div.main div.viewResults a {}
}

/*div.partner {
        margin-bottom: 4px;
        width: 100%;
        font-size: 1.429em;}

div.partner a {
        background-color: #dadada;
        width: 96%;
        padding: 2%;
        display: inline-block;}

div.partner a:link,
div.partner a:visited {
        color: #2c4b93;
        text-decoration: none;}

div.partner a:hover,
div.partner a:active,
div.partner a:focus {
        color: #142f6e;
        text-decoration: none;
        background-color: #bfbfbf;}

div.partner a img {
        float: left;
        margin-right: 10px;
        width: 40%;
        max-width: 250px;}*/

div.partner {
    margin: 1% 0% 0 0;
    /*width: 200px;*/
    width: 30%;
    height: 63%;
    display: inline-block;
    font-size: 1.1em;
    text-align: center;}

div.partner-homepage{
    margin: 0 3% 1% 0;
    /*min-height: 75px;*/
    display: inline-block;
    /*font-size: 1.1em;*/
    /*text-align: center;*/}
div.partner-homepage img {
    /*max-width: 168px;
    max-height: 80px;*/}

#partner-slider.owl-carousel .owl-item{
   text-align: center;}
#partner-slider.owl-carousel .owl-item h5{
   margin-bottom:0.5em;
   padding-bottom:0.5em;
   font-size:1.15em;
   border-bottom:1px solid #dadada;}
#partner-slider.owl-carousel .owl-item img{
   margin: 0 auto;
   width: 75%;}

.qd_editable_group div {
    vertical-align: middle;
}
div.partner a {
    /*background-color: #dadada;*/
    /* width: 184px; */
    /*min-height: 137px;
    width: 74%;
    height: 63%;
    display: block;
    padding: 0 8%;
    border-radius: 20px;*/
}

.clients{
    height: auto;
    text-align: center;
    overflow:hidden;
}
.clients h3 {
   margin-left: auto;
   margin-bottom:0;
   font-weight: bold;
   margin-right: auto;
   background: #2c4b93;
   color: white;
   line-height: 45px;
   border-bottom: 4px solid #ffd101;
}
div#adv_search {
    background: #dadada;
    padding: 10px 0px 10px 13px;
    margin: 5px 0 5px 0;
}
@media only screen and (max-width: 800px) {
    .clients,.box.followUs {display:none}
    }
div.partner-homepage a:hover {
}
div.partner-homepage a {
}
.img-link-container{
    padding: 10% 0;
    display: inline-block;
}

div.partner a:link,
div.partner a:visited {
    color: #2c4b93;
    text-decoration: none;}
/*
div.partner a:hover,
div.partner a:active,
div.partner a:focus {
    color: #142f6e;
    text-decoration: none;
    background-color: #bfbfbf;}*/

div.partner a img {
    max-width: 198px;
    margin-bottom: 12px;
    max-height: 115px;
}

/*@media only screen and (max-width: 1394px) {
        div.partner {
                width: 47%;}
}

@media only screen and (max-width: 943px) {
        div.partner {
                width: 100%;}
}

@media only screen and (max-width: 815px) {
        div.partner {
                width: 47%;}
}

@media only screen and (max-width: 500px) {
        div.partner {
                width: 100%;}
}*/

@media only screen and (min-width: 1220px) {
    div.partner {
        width: 20%;}
}

@media only screen and (max-width: 800px) {
    div.partner {
        width: 47%;}
}

@media only screen and (max-width: 500px) {
    div.partner {
        width: 100%;}
}
#adv_search{
    display:none;
}
/* ========== SIDEBAR ========== */

div.sidebar {
    width: 38.5%;
    display: inline-block;
    float: right;
    /*margin-left: 2%;*/}

div.sidebar div.heading,div.heading {
    background-color: #2c4b93;
    overflow: hidden;
    height: 40px;
    line-height: 40px;}

div.sidebar h2, div.heading h2 {
    margin: 0;
    /*padding: 2px 8px 0px 8px;*/
    padding:0 1em;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    float: left;}

div.heading h2 a:link,
div.heading h2 a:visited,
div.heading h2 a:hover,
div.heading h2 a:active,
div.heading h2 a:focus {
    color: #ffffff;
    text-decoration: none;}

div.sidebar h3,div.heading h3 {
    font-size: 1.2em;
    float: left;
    display: inline;
    margin: 0 0 4px 0;
    padding: 0px;
    width: 64%;}

div.sidebar div.box {
    margin-bottom: 14px;
    /*border: 1px solid #dadada;*/
    background-color: #ffffff;}

div.heading div.yellowBar {
    width: 30%;
    float: right;
    height: 40px;}

div.sidebar div.itemContainer{
   border-right: 1px solid #dadada;
   border-bottom: 1px solid #dadada;
   border-left: 1px solid #dadada;}

div.sidebar div.article {
   position: relative;
   padding: 10px 2%;
   width: 92%;
   display: inline-block;
   border-bottom: 1px solid #dadada;
   margin: 0 2%;}

div.sidebar div.article:last-child {
   border-bottom: 0px;}

div.sidebar div.image {
    float: left;
    display: inline;
    margin: 0 2% 0 0;
    width: 30%;}

div.sidebar div.image img {
    width: 100%;}

div.sidebar div.info {
    /*width: 68%;
    float: left;
    display: inline;*/
    width: 100%;}

div.sidebar div.info div.location {
    clear: left;
    float: left;
    margin-top: 4px;}

div.sidebar div.date {
    width: 35%;
    margin: 0 0 0 1%;
    float: right;
    text-align: right;
    font-style: italic;}

div.sidebar p.summary {
    clear: both;
    margin: 0px;
    padding: 6px 0px;}

div.sidebar div.viewInfo {
    text-align: center;
    /*padding: 2% 0 2% 0;*/
    padding: 0px;
    text-transform:uppercase;
    font-size: .8em;
    float: right;}

div.sidebar div.viewInfo a {
    border-radius: 6px;
    display: block;
    line-height: 22px;
    width: 90px;}

div.sidebar div.viewInfo a:link,
div.sidebar div.viewInfo a a:visited {
    color: #2c4b93;
    text-decoration: none;
    border: 2px solid #2c4b93;}

div.sidebar div.viewInfo a:hover,
div.sidebar div.viewInfo a:active,
div.sidebar div.viewInfo a:focus {
    color: #6585cf;
    text-decoration: none;
    border: 2px solid #6585cf;}

div.sidebar div.tweets {
    padding: 0 2%;}

div.sidebar div.tweets iframe {
    width: 100%;}

div.sidebar ul.socialMedia {
    margin: 0px;
    padding: 0px;}

div.sidebar ul.socialMedia li.twitter {
    background: url('../images/twitter-lg.png') top left no-repeat;
    height: 25px;
    width: 32px;
    margin: 7px 17px 0px 0px;}

div.sidebar ul.socialMedia li.facebook {
    background: url('../images/facebook.png') top left no-repeat;
    height: 25px;
    width: 32px;
    margin: 7px 17px 0px 0px;}

div.sidebar ul.socialMedia li.twitter a {
    height: 25px;
    width: 32px;
    transform: skew(10deg);}

div.contactBtns {
    display: none;}

body#contact div.contactBtns {
    display: block;
    margin-bottom: 14px;}

body#contact div.contactBtns div.roadRaceQuote,
body#contact div.contactBtns div.trackFieldQuote,
body#contact div.contactBtns div.crossCountryQuote {
    width: 96%;
    height: 80px;
    margin: 2%;
    overflow: hidden;
    background-color: #222222;
    font-size: 1.1em;}

body#contact div.contactBtns div a {
    display: block;
    width: 100%;
    height: 80px;
    text-transform: uppercase;
    font-style: italic;
    position: relative;
    z-index: 2;}

body#contact div.contactBtns div a:link,
body#contact div.contactBtns div a:visited {
    color: #FFD100;
    text-decoration: none;}

body#contact div.contactBtns div a:hover,
body#contact div.contactBtns div a:active,
body#contact div.contactBtns div a:focus {
    color: #e2a002;}

body#contact div.contactBtns div a span {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 1;}

div.contactBtns div.roadRaceQuote {
    background: url('../images/road-race-quote.jpg') bottom left no-repeat;}

div.contactBtns div.trackFieldQuote {
    background: url('../images/track-and-field-quote.jpg') 0 -6px no-repeat;}

div.contactBtns div.crossCountryQuote {
    background: url('../images/cross-country-quote.jpg') 0 -28px no-repeat;}

@media only screen and (max-width: 815px) {
    div.main {
        display: inline-block;
        float: none;
        margin: 0 0 20px 0;
        width: 100%;
        min-height: inherit;}
    body#schedule div.main {
        width: 100%;
        padding: 0;}
    div.sidebar {
        display: block;
        float: none;
        margin: 0px;
        width: 100%;}
}


/* ========== FOOTER ========== */

div#footerBlueBar {
    width: 100%;
    background-color: #2c4b93;
    height: 30px;
    border-top: 8px solid #ffd100;}

div#footerContent {
    width: 90%;
    margin: 0 auto;
    position: relative;
    text-transform: uppercase;
    color: #ffffff;
    padding: 2% 5%;
    font-size: 0.857em;
    display: inline-block;
    background-color: #222222;}

div#footerContent nav#footerNav {
    width: 50%;
    float: left;}

div#footerContent a:link,
div#footerContent a:visited {
    color: #ffd100;
    text-decoration: none;}

div#footerContent a:hover,
div#footerContent a:active,
div#footerContent a:focus {
    color: #fce477;
    text-decoration: none;}

div#footerContent p {
    margin: 0px;
    padding: 0px;
    font-style: italic;
    color: #ffd100;
    display: inline;
    width: 100%;}

div#footerContent p a {
    margin: 0px 1%;}

div#footerContent p a:first-child {
    margin-left: 0px;}

div#footerContent div.copyright {
    display: inline-block;
    width: 50%;
    text-align: right;
    float: left;}

div#footerContent div.copyright span.nobreak {
    white-space: nowrap;}

@media only screen and (max-width: 982px) {
    div#footerContent nav#footerNav {
        width: 100%;
        float: none;
        text-align: center;
        margin-bottom: 4px;}
    div#footerContent div.copyright {
        width: 100%;
        float: none;
        text-align: center;}
}

/* ========== FORMS ========== */

form {
    /*margin-top: 26px;*/
}
div.oneline form[name^="RESULTS_Search"] {
    margin: 14px 3px 0 3px;
}
form#Contact_Form.index {
    padding-top: 20px;}

form fieldset {
    border-top: 2px solid #2C4B93;
    border-bottom: 0px;
    border-left: 0px;
    border-right: 0px;
    margin-bottom: 10px;}

form fieldset.submit {
    border-top: 0px;
    margin-bottom: 0px;}

form fieldset legend {
    color: #2C4B93;
    font-size: 1.429em;
    font-weight: lighter;}

form fieldset ol {
    margin: 4px 0 0 0;
    padding: 0px;
    list-style-type: none;}

form fieldset ol li {
    width: 46%;
    display: inline;
    float: left;
    padding: 4px 4% 4px 0;
    height: 44px;}

form fieldset ol li.fullwidth {
    width: 100%;
    margin: 0px;
    padding: 4px 0px;
    height: auto;}

form fieldset ol li.fullwidth.radio, form fieldset ol li.fullwidth.select {
    padding: 8px 0px;}

form fieldset ol li.fullwidth label {
    width: auto;
    display: inline;}

form#Contact_Form.index fieldset ol li label,
form fieldset ol li label {
    display: block;
    width: 100%;}

form fieldset ol li input,
form fieldset ol li textarea,
form fieldset ol li select {
    display: block;
    width: 100%;}

form fieldset ol li input[type="radio"] {
    width: auto;
    display: inline;}

form fieldset ol li.fullwidth select {
    width: auto;
    display: inline;}

input#hp1q {
    display: none;}

input.Submit {
    position: relative;
    width: 106px;
    margin: 15px 0 0 38%;}

span.required {
    color: #b00303;
    font-weight: bold;
    margin-left: 2px;}

label.error {
    color: #b00303;
    font-size: .857em;
    text-align: right;
    margin-top: 1px;
    width: 100%;}

p.success {
    font-weight: bold;
    border: 1px solid #E2A022;
    background-color: #f3c161;
    padding: 10px 8px 8px 8px;}

p.indexpg {
    margin-top: 0px;}

p.error {
    font-weight: bold;
    border: 1px solid #B00303;
    background-color: #e79b9b;
    padding: 10px 8px 8px 8px;}

p.requiredNote {
    padding: 10px 0px;}

form#Contact_Form.index p.requiredNote {
    padding: 0px;}

@media only screen and (max-width: 540px) {
    form fieldset ol li {
        width: 100%;
        display: block;
        padding: 4px 0px;}
}

/* ========== TABLES ========== */

table {
    width: 100%;
    border-bottom: 5px solid #ffd101;
    background-color: #f4f2f3;}

table.results {
    margin: 10px 0px 20px 0px;}

table thead tr th.center,
table tbody tr td.center {
    text-align: center;}

table thead tr th {
    background-color: #2d4b93;
    color: #ffffff;
    padding: 10px;
    text-align: left;}

div.resultsEntries table thead tr th {
    cursor: pointer;}

div.resultsEntries table thead tr th:hover {
    /*background-color: #3d5dac;*/
    background-color: #6585d3; }

table tbody tr td {
    padding: 10px;
    vertical-align: top;}

table tbody tr td.date,
table tbody tr td.location {
    white-space: nowrap;
}

table tbody tr td.name {
    color: #2C4B93;
    font-weight: bold;}

table tbody tr td.name  p.summary {
    font-weight: normal;
    color: #1E1E1E;
    padding-bottom: 0px;
    margin-bottom: 0px;}

tr:nth-child(odd) {
    background-color: #f4f2f3;}

tr:nth-child(even) {
    background-color: #dadada;}

table thead tr th.more-info {
    text-align: center;}

table tbody tr td.more-info a {
    padding: 0 0 4px 0;
    display: block;
    text-align: center;
    white-space: nowrap;}

table tbody tr td.more-info a:last-child {
    padding: 0px;}

@media only screen and (max-width: 890px) {
    table.results {
        /*font-size: .714em;*/
        font-size: .786em;}
    table.results thead tr th,
    table.results tbody tr td {
        padding: 10px 2px;}
}
@media only screen and (max-width: 540px) {
    .results .tablet, .results .screen{
        display:none;
    }
}@media only screen and (max-width: 700px) {
    .results .screen{
        display:none;
    }
}
@media only screen and (max-width: 540px) {
    .results .tablet, .results .screen{
        display:none;
    }
}
@media only screen and (max-width: 200px) {
    table.results {
        font-size: 1em;}
    table.results thead tr th {
        padding: 10px;}

    table.results tbody tr td {
        padding: 10px 10px 10px 45%;
        min-height: 16px;}

    table, thead, tbody, th, td, tr {
        /*display: inline;*/
    }
    table thead {
        display:block;
    }
    .ie9 thead, .ie9 tbody, .ie9 th, .ie9 td, .ie9 tr {
        display: inline;
    }
    thead tr {
        position: relative;
        top: 0px;
        left: 0px;
        /*		top: -9999px;
                        left: -9999px;*/
    }
    .ie9 thead tr {
        position: relative;
        top: 0px;
        left: 0px;}

    table thead tr th.center,
    table tbody tr td.center {
        text-align: left;}

    tr {
        /*margin-bottom: 10px;*/
        border-bottom: 2px solid #a7a7a7;}

    tr:last-child {
        border-bottom: 1px solid #ffd101;}

    table tbody tr td {
        /* Behave  like a "row" */
        border: none;
        position: relative;
        padding-top: 10px;}

    tr:nth-child(odd) td {
        border-bottom: 1px solid #ffffff;}

    tr:nth-child(even) td {
        border-bottom: 1px solid #F4F2F3;}

    .ie9 table tbody tr td {
        padding-left: 0px;
        padding-top: 0px;}

    td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 10px;
        left: 6px;
        width: 40%;
        padding-right: 10px;
        white-space: nowrap;}

    table thead tr th.more-info,
    table tbody tr td.more-info a {
        text-align: left;}

    table td.more-info {
        margin-bottom: 10px;}

    /*
    Label the data
    */
    table.schedule td:nth-of-type(1):before { content: "Date"; }
    table.schedule td:nth-of-type(2):before { content: "Event"; }
    table.schedule td:nth-of-type(3):before { content: "Location"; }
    table.schedule td:nth-of-type(4):before { content: "More Information"; }

    table.results td:nth-of-type(1):before { content: "Place"; }
    table.results td:nth-of-type(2):before { content: "Name"; }
    table.results td:nth-of-type(3):before { content: "Sex"; }
    table.results td:nth-of-type(4):before { content: "Age"; }
    table.results td:nth-of-type(5):before { content: "Bib Number"; }
    table.results td:nth-of-type(6):before { content: "Time"; }
    table.results td:nth-of-type(7):before { content: "Pace"; }
    table.results td:nth-of-type(8):before { content: "City"; }
    table.results td:nth-of-type(9):before { content: "State"; }
    table.results td:nth-of-type(10):before { content: "Division Place"; }

    .ie9 table.schedule td:nth-of-type(1):before,
    .ie9 table.results td:nth-of-type(1):before { content: normal; }
    .ie9 table.schedule td:nth-of-type(2):before,
    .ie9 table.results td:nth-of-type(2):before { content: normal; }
    .ie9 table.schedule td:nth-of-type(3):before,
    .ie9 table.results td:nth-of-type(3):before { content: normal; }
    .ie9 table.schedule td:nth-of-type(4):before,
    .ie9 table.results td:nth-of-type(4):before { content: normal; }
}

/* ========== PHOTOS ========== */

div.individual-photo {
    margin: 2px 0px 6px 10px;
    float: right;
    clear: right;
    width: 30%;
    max-width: 350px;
    min-width: 100px;
    font-size: 0.857em;
    line-height: 1em;
    padding-bottom: 4px;
}
div.individual-photo-left {
    margin: 2px 0px 6px 10px;
    float: left;
    clear: left;
    width: 30%;
    max-width: 350px;
    min-width: 100px;
    font-size: 0.857em;
    line-height: 1em;
    padding-bottom: 4px;
}
h2 + div.individual-photo,h2 + div.individual-photo-left {
    margin-top: 12px;}
div.individual-photo + div.individual-photo,div.individual-photo-left + div.individual-photo-left {
    margin-top: 0px;}
div.individual-photo img,div.individual-photo-left img {
    display: block;
    margin: 0 0 4px 0;
    width: 100%;
    max-width: 350px;
    min-width: 100px;
}
div.individual-photo cite,div.individual-photo-left cite {
    color: #545454;
}

/* ========== RACE RESULTS ========== */

div.oneline form fieldset {
    border: 0px;
    margin: 0px;
    padding: 0px 0px 6px 0px;}

div.oneline form fieldset select {
    margin-right: 4px;
}
div.oneline select[name^="id"] {
    width:50%
}
div.oneline #id{
    width: 85%;
}
div.oneline form fieldset input {
    margin-right: 2px;}

ul.raceListing {
    margin: 10px 0px;
    padding: 0px;
    list-style-type: none;
    font-size: 1.143em;}

ul.raceListing li {
    padding: 2px 0px;}

div.race-information {
    margin: 10px 0px 16px 0px;}

div.race-logo {
    float: right;
    width: 30%;
    max-width: 250px;
    min-width: 120px;
    padding: -1px 0 10px 0;}

div.race-logo img {
    width: 100%;}

/*@media only screen and (max-width: 540px) {
        div.race-logo {
                display: block;
                width: 40%;
                float: none;}
}*/
div.paging {
    margin-left: 15px;
}
div.paging p.numresults {
    font-size: 0.857em;
    margin-bottom: 2px;}

div.paging p.pages {
    font-weight: bold;}

div.paging p.pages strong {
    background-color: #2C4B93;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 3px 1%;
    display: inline-block;}

div.paging a {
    background-color: #DADADA;
    border: 1px solid #ffffff;
    padding: 3px 1%;
    display: inline-block;}
.paging strong {
    padding: 3px 1%;
    background: #2d4b93;
    color: white;
    border: 1px solid #2d4b93;
    display: inline-block;
}

table.results + div.paging p:first-child {
    display: none;}

p.return-to-races {
    margin-top: 30px;}


.print-results {
    position: absolute;
    top:10px;
    right: 30px;
}

.print-results:before {
    content:url(/assets/images/print-icon.png);
    vertical-align: bottom;
    margin-right:3px;
}

.print-results :after{
    display: block;
    content: '';
    clear: both;
}

@media only screen and (max-width: 940px) {
    .print-results {
        display: none;
    }
}

#fb-root {
    display: none;
}

/* To fill the container and nothing else */

.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
    width: 100% !important;
}

.result-btn button {
    background-color: #2c4b93;
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    border: 1px solid #2c4b93;
    padding: 5px 10px;
    /*margin-top: 2px;*/
}

.result-btn button:hover {
    cursor: pointer;
    background-color: #4561A1;
}

@media only screen and (min-width: 940px) {
    .result-btn {
        /*margin-right: 95px;*/
    }
}

.raceTitle{
    float:left;
}
.fullResults {
    width: 50%;
}
#select {
    display:none;
}
td.date {
    width: 171px;
}
@media only screen and (max-width: 540px) {
 /**   .raceTitle{
        zoom:1.5;
    }
**/
    table tbody tr td.date,
    table tbody tr td.location {
        white-space: inherit;
    }

    th.loc, td.location{
        display: none;
    }
    th.info, th.more-info, td.more-info {
        display: none;
    }
    td.date {
        width: auto;
    }
    .fullResults {
        width: 100%;
    }
    /*Styles for year dropdown*/
    .sel-year{
        position:relative;
    }
    #select{
        display:block;
        width:235px;
        height:20px;
        border:1px solid #999;
        padding:5px;
        margin-left: auto;
        margin-right: auto;
    }
    .toc-odd{
        position:absolute;
        top:32px;
        background:#f1f1f1;
        display:none;
    }
    .toc-odd li{
        padding:5px 10px;
    }
    .toc-odd.level-1 {
      margin-top:2em;
        padding-bottom: 10px;
    }
    .result-btn li {
        display: block;
    }
    #select{
        text-align: center;
        background-color: #2d4b93;
        color:white;
    }
    .results tbody{
        font-size: 11pt;
    }
}
.resultsTemplateHeader {
    font-weight:bold;
}
.urlsRaces{
    float:left;
    font-weight:normal;
}.urlsRacesRight{
    float:right;
    font-weight:bold;
    font-size: 14pt;
    padding-bottom: 10px;
}
@media only screen and (max-width: 540px) {
    .urlsRacesRight{
        font-size: 11pt;
    }
}
.hyphen1, .hyphen2,.hyphen3{
    display:none;
    margin-right:7px;
}
.hyphen1 {
    margin-left:7px;
}
.resultsURL{
    display:none;
}
.teamHeader {
    font-weight: bold;
}
table.xc-team {
    border-bottom: 0px;
    margin-bottom: -10px;
}

nav#buttonNav{
  display: inline-block;
}

.result-btn li{
    display: inline;
  float: left;
  margin: 0.25em;
}
.result-btn ul {
    list-style-type: none;
  /*display: inline-block;*/
  width: 100%;
  margin: 0;
  padding: 0;
}
.result-btn button {
    width: 75px;
}
h5.race_event {
    display:none;
    margin-bottom: 0;
    font-style: italic;
}
.featured {
    color: goldenrod;
}
.secondaryRace {
    float:left;
}
.hideSecondaryRace {
    display:none;
}p.summary {
    display: inline;
    float: left;
}.print-link {
    margin: 0px 0 18px 91%;
}
.teamRaceResults:after{
    content: 'Team Scores';
}
.teamRaceUrls:after{
    content: '&type=team';
}
.secondaryRace:after{
    content: ' Individual Results';
}
.article.featured-event{
    width:45% !important;
    font-size: 8pt;
}
@media only screen and (max-width: 500px) {
    .article.featured-event {
        margin-left: 4px;
        margin-right: 4px;
	width: 100% !important;
    }
    .article.featured-event .image{
	width:100% !important;
    }
    .article.featured-event .viewResults{
	width:80%;
    }
}
header .logo {
    position: absolute;
    top: -25px;
    z-index: 999;
}
#logo img {
    height:84px;
}
div#logo {
    float: left;
    margin-left: 3%;
}@media only screen and (max-width: 800px) {
    /*#featuredDiv {
      display:none
   }*/
   body#home #mainContent, body#home #sidebarContent{
      display: flex;
      flex-flow: column;}
   body#home #sidebarContent #recentResultsDiv{
      order: 1;}
   body#home #sidebarContent #spacerDiv{
      order: 2;}
   body#home #sidebarContent #featuredDiv{
      order: 3;}
   
   body#home div.main div.article{
      width:96% !important;}
}
#featuredDiv,#recentResultsDiv{
    border-right: 1px solid #dadada;
    border-bottom: 1px solid #dadada;
    border-left: 1px solid #dadada;
}
#spacerDiv{
    /*background-image: url(/assets/images/dust_scratches.png);*/
   background:#fff;
   height: 10px;
}
@media only screen and (max-width: 345px) {
    #logo img {
        position: absolute;
        top: 7px;
        left: -11px;
   }
}
div#eventYearHeader {
    margin-top: 9px;
	margin-left: 15px;
}
#eventYearHeader h2 {
    width: 50%;
    display: inline;
}
#eventYearHeader select {
    float: right;
    margin: 0 5em 0 0;
}
@media only screen and (max-width: 550px) {
   #eventYearHeader select {
    margin: 0 2em 0 0;
    max-width: 88%;
   }
}
#eventsSearchInput {
    float:right;
    width: 41%;
    font-size: 16px;
    padding: 9px 20px 8px 40px;
    border: 1px solid #ddd;
    margin-right: 5px;
}

#eventsList {
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: absolute;
    left: 68%;
    display:none;
}
@media only screen and (max-width: 550px) {
    #eventsList {
        left: 35%;
        display:none;
        top: 2%;
    }
}
#eventsList li a {
    border: 1px solid #ddd;
    margin-top: -1px; /* Prevent double borders */
    background-color: #f6f6f6;
    padding: 12px;
    text-decoration: none;
    font-size: 18px;
    color: black;
    display: block
}

#eventsList li a:hover:not(.header) {
    background-color: #eee;
}
.search-link{
    display:block;
}
.bios .article {
    width: 49%;
    display: inline-table !important;
    padding: 0 0 0 1%;
    border-bottom:none !important;
}
.bios img {
    border-radius: 25px;
}

@media only screen and (max-width: 800px) {
   .bios .article{
      width:100%;
      padding: 0;
   }
}

/* HOMEPAGE ALTERATIONS - 09/13/19 */
body#home div.col{
  width:100%;
  display:block;
  float:none;}
body#home #featuredDiv, body#home #recentResultsDiv{
  width:60%;
  display:inline-block;
  float:left;
  clear:left;
  margin-bottom:1em;}
body#home .upcomingEvents, body#home .followUs{
  border-right:1px solid #dadada;
  border-bottom:1px solid #dadada;
  border-left:1px solid #dadada;
  width:38.5%;
  display:inline-block;
  float:right;
  clear:right;
  margin-bottom:1em;}
body#home div.main h3{
  margin: 0px 0px 6px 0px;
  padding: 0px;
  font-weight: lighter;
  color: #2C4B93;
  font-size: 1.429em;
  border-bottom: 0;}
body#home div.main .upcomingEvents div.info{
  width: 100%;}
body#home div.main .upcomingEvents h3{
  font-size: 1.2em;
  float: left;
  display: inline;
  margin: 0 0 4px 0;
  padding: 0px;
  width: 64%;}
body#home div.main .upcomingEvents div.date{
  width: 35%;
  margin: 0 0 0 1%;
  float: right;
  text-align: right;
  font-style: italic;}
body#home div.main .upcomingEvents div.info div.location{
  clear:both;
  margin-top: 4px;}
body#home div.main .upcomingEvents div.article:last-child{
  border-bottom:0;}

@media only screen and (max-width:815px){
  body#home #banner{
    display:none;}
  body#home #mainContent #featuredDiv, body#home #mainContent #recentResultsDiv, body#home #mainContent .upcomingEvents, body#home #mainContent .followUs{
    float:none;
    width:100%;
    display:block;}
  body#home #mainContent .followUs{
    display:none;}
  body#home #mainContent{
    display:flex;
    flex-flow:column;}
  body#home #mainContent #recentResultsDiv{
    order:1;}
  body#home #mainContent .upcomingEvents{
    order:2;}
  body#home #mainContent #featuredDiv{
    order:3;}
  body#home #mainContent .followUs{
    order:4;}
  body#home div.main div.article{
      width:96% !important;}
}