@font-face {
    font-family: 'digital-7';
    src: url('../fonts/digital-7-webfont.eot');
    src: url('../fonts/digital-7-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/digital-7-webfont.woff') format('woff'),
    url('../fonts/digital-7-webfont.ttf') format('truetype'),
    url('../fonts/digital-7-webfont.svg#digital-7') format('svg');
    font-weight: normal;
    font-style: normal;
}

body { background-color:#eee; }
#main-content {}

h1,h2,h3,h4,h5,h6 { color:#333; }
h1 a,h2 a,h3 a,h4 a,h5 a,h6 a { color:#666; }
h2 { font-size:25px; }

.navbar { min-height:90px; border-radius: 0px; border-color: transparent; margin-bottom:0px;}
.navbar-inverse { border-bottom:10px solid red; }
.navbar-brand { max-height: 100%; padding:5px; }
.navbar-brand img { width:100%; max-height:90px; }
.navbar-form { border:0px !important; box-shadow: none !important; padding:0px; margin-top:10px;}
.navbar-form input { display:inline-block; width:auto; }
.header { padding:5px; background-color:#eee; min-height:80px; text-align:center; font-weight:bold; font-size:200%; }


.breadcrumb { margin-top:10px; }

.aptgrid { background-color:white; 
    border: 1px solid black;
    border-radius: 5px; 
    margin:10px; 
    padding:10px 0px;
    display:block;}
.aptgrid img { border-radius: 5px;}
.why { margin-top:-40px; background-color:#333; color:white; border-radius: 10px; padding:25px; }
@media (max-width: 768px ) {
    .why{margin-top: 0px;}
}
.why h2 { color:white; margin-top:0px; }

.hero {
    position:absolute;
    left:0px;
    right:0px;
    height:350px;
    background-image:url(../img/header1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    overflow:hidden;
    z-index:-1;
    top:100px;
    color:white;
    padding: 5vw;
    font-size:125%;
}

@media (max-width: 768px ) {
    .hero{background-image:url(../img/headermobile.jpg);}
}

.hero h1 { color:white;}
.hero p { width:40%; margin-top:20px; }
.hero a { background-color:white; border-radius:3px; opacity: .8; font-size:80%; padding:2px 10px; color:red;}
.phone { margin-right:10px; }

@media (max-width: 768px ) {
    .hero{ font-size:100% }
    .hero p { width:100%; }
}

.row.home {
    padding-top:350px;
}

.message {background-color:white; border-radius: 5px; padding:10px}

h1.pagetitle { margin-bottom:10px; font-size:200%; }
h2.calendartitle { display:inline-block; font-size:150%; margin:0px 10px;}

/* overrides for when on single column/smaller device */
@media (min-width: 768px) {
    /*.racelisting .date { font-size:175%; }*/
    /*.racelisting .name { font-size:150%; }*/
}
.racegrid .date { font-size: 100% !important;}

.race .description { font-size:125%; overflow-x: auto }
.race h2 { font-size:125%; }
.race .map { border:1px solid #eee; margin-bottom:3px; }
/*.race .page-header { margin-top:20px; }*/
.race .page-header h1 { margin-top:5px; }

.race.featured { background-color: #eee; border-color: black;}

.filterBar { background-color:#eee; padding:10px; margin-bottom:15px; border-radius: 5px; padding-left:20px; }
.filterBar .labels { font-weight:bold; padding-bottom:5px; }
.filterBar input, .filterBar select { width:100%; }
.filterBar div > div { padding-right:0px; padding-left:5px; }
.filterBar .row { margin-right:0px; }
.filterBar .text-right { padding-top:5px; }

.cal-month-box { background-color:white; }

#sidebar {
    min-width: 140px;
    max-width: 140px;
    float: left;
    height:500px;
    color: white;
    top: 100px;
    position:fixed;
    overflow-y:auto;
    overflow-x:hidden;
}
#footer { padding-top:20px; border-top:15px solid red; margin-top: 20px; margin-bottom:10px; }
#footer .social { padding-top:15px; }

#video-header {
    width: 100%;
    padding: 50px;
    height: 500px;
    margin: 10px 0px 10px 0px;
}

.pull-right{
    display: inline-block;
    float: right;
}

.pull-center{
    display: inline-block;
    text-align:center;
}

.indent{
    margin-left: 2em;
}

/* Styles for the results grid */
/*.grid {*/
    /*height:800px;*/
/*}*/
.grid .ui-grid-viewport{
    overflow: hidden;
    overflow-y: hidden;
}

.large-icon {
    font-size: 3.5em;
}

.large-text {
    font-size: 2em;
}

.medium-icon {
    font-size: 2.5em;
}
.medium-text {
    font-size: 1.5em;
}
.medium-small-text {
    font-size: 1.2em;
}

.black {
    color: black;
}

.blue {
    color: #04519b;
}

.red {
    color: red;
}

.green{
    color: green;
}

.yellow{
    color: yellow;
}

.gray{
    color: gray;
}

.white{
    color: white;
}

.gold{
    color: gold
}
.silver{
    color:silver;
}
.bronze{
    color:saddlebrown;
}

.blue-bg {
    background-color: #04519b;
}

.red-bg {
    background-color: red;
}

.white-bg {
    background-color: white;
}

.bold{
    font-weight: bold;
}

.whiteBack{
    background-color: white; 
    padding: 1px;
}

.blackOutline{
    border:2px black solid; 
    border-radius:8px
}

.blackTransBack{
    background-color:rgba(0, 0, 0, 0.5); 
    padding:15px; border-radius:8px;
}

.outlinedWhiteText{
    font-weight: bold; 
    color:white; 
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* Responsive text */
@media (min-width: 768px) {
    .apt-responsive-text {
        font-size: 12px;
    }
}
@media (min-width: 992px) {
    .apt-responsive-text {
        font-size: 14px;
    }
}
@media (min-width: 1200px) {
    .apt-responsive-text {
        font-size: 18px;
    }
}

/* Responsive text */
@media (min-width: 768px) {
    .apt-responsive-title {
        font-size: 14px;
    }
}
@media (min-width: 992px) {
    .apt-responsive-title {
        font-size: 20px;
    }
}
@media (min-width: 1200px) {
    .apt-responsive-title {
        font-size: 24px;
    }
}

.no-padding{
    padding: 0 0 0 0;
}
.no-margin{
    margin: 0 0 0 0;
}

.photo-search-well{
    margin-left: 0;
    margin-right: 0;
}

.race-info-block{
    padding: 0px 10px 5px 10px;
    margin-top: 10px;
}

.disabled-link{
    pointer-events: none;
    cursor: default;
    color: gray;
}

.img-responsive{
    width: 100%;
}

.fb-share-button{
    background-color: #3B5998;
    color: white;
    font-size: 2em;
}

.ads { padding-right:0px; padding-left:0px; }
.ads h2 { font-size:125%;  margin-bottom:15px; margin-top:15px; padding-bottom:5px; }
.ads img {
    width:100%;
    max-width:200px;
    /*margin-bottom:10px;*/
    border-radius:5px;
    margin: 0 auto 10px;
}
.ads-container { text-align:center;}
.ads-container img {
    width: 50%;
    display: inline-block;
}
.thumbnail > img {
    border-radius: 5px;
}

.border-right{
    border-right: thick solid #f3f3f3;
}

.border-left{
    border-left: thick solid #f3f3f3;
}

.vertical-line {
    width:3px;
    display:inline-block;
    background-color: #F3F3F3;
    height:100%;
}

.horizontal-line {
    height: 1px;
    width:100%;
    display:block; /* for use on default inline elements like span */
    margin: 9px 0;
    overflow: hidden;
    background-color: #aaaaaa;
}

.horizontal-line-apt-blue{
    height: 2px;
    width:100%;
    display:block; /* for use on default inline elements like span */
    margin: 6px 0;
    overflow: hidden;
    background-color: #04519b;
}

.horizontal-line-apt-red{
    height: 2px;
    width:100%;
    display:block; /* for use on default inline elements like span */
    margin: 6px 0;
    overflow: hidden;
    background-color: red;
}

img.banner-img, img.video {
    width:100%;
    border-radius:5px;
    margin-bottom:10px;
}

img.login-logo {
    width:59px;
    height:54px;
    padding-right:5px;
}

img.about-profile {
    display: block;
    max-width: 417px;
    width:auto;
    height:auto;
    max-width:250px;
}

img.race-logo {
    max-width: 100%;
    min-height:200px;
    /*width:200px;*/
}

.race-banner-preview{
    width: 100%;
    height: 400px;
}

.raceHeaderBanner {
    left:0px;
    right:0px;
    height:400px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow:hidden;
    z-index:-1;
    top:100px;
    color:white;
    padding: 5vw;
    font-size:125%;
}

@media (min-width: 626px) and (max-width: 767px) {
    .raceHeaderBanner > .row > div:first-of-type{
        width: 41.6666666667% !important;
    }
    .raceHeaderBanner .row{
        width: 100% !important;
    }
    .blackTransBack{
        width: 100% !important;
    }
    .headerRow{
        text-align: center;
    }
    .headerRow > div:first-of-type{
        display: inline-block;
        float:none;
    }
    .buttonRow{
        text-align: center;
    }
    .buttonRow > div{
        display: inline-block;
        float: none;
    }
}

@media(min-width: 478px) and (max-width:625px){
    .raceHeaderBanner > .row > div:first-of-type{
        width: 50% !important;
    }
    .raceHeaderBanner .row{
        width: 100% !important;
    }
    .blackTransBack{
        width: 100% !important;
    }
    .headerRow{
        text-align: center;
    }
    .headerRow > div:first-of-type{
        display: inline-block;
        float: none;
    }
    .buttonRow{
        text-align: center;
    }
    .buttonRow > div{
        display: inline-block;
        float: none;
    }
}

@media(max-width:477px){
    .headerRow{
        text-align: center;
    }
    .headerRow > div:first-of-type{
        display: inline-block;
        float: none;
    }
    .buttonRow{
        text-align: center;
    }
    .buttonRow > div{
        display: inline-block;
        float: none;
    }
    .raceHeaderBanner{
        font-size:100%;
    }
}

@media(max-width:992px){
    .registrationSpan{
        display: grid !important;
    }
    .registrationSpan > select:first-of-type{
        max-width: 100% !important;
    }
}

img.race-ad-logo {
    min-width: 200px;
    max-width: 100%;
}

.nav-hz {
    display:inline-flex !important;
}

img.details-logo {
    width:24px;
    height:24px;
}

div.manage-race {
    padding-left:10px;
}

.event-details {
    font-size:16px;
}
.resource-details {
    font-size:22px;
}
.resource-details li{
    line-height: 200%;
}
.youtube-video {
    width: 100%;
    margin-bottom: 10px;
}


.input-group-addon.blue-bg {
    color: #FFFFFF;
    background-color: #178acc;
}

/*File input drop box*/
.drop-box {
    font-size:24px;
    background: #F8F8F8;
    border: 5px dashed #178acc;
    width: 200px;
    height: 150px;
    text-align: center;
    padding-top: 25px;
}

.error {
    font-weight: bolder;
}

/** Race Creation Wizard*/
.wizard {
    margin-top: 10px;
}
.wizard a {
    padding: 10px 12px 10px;
    margin-right: 5px;
    background: #efefef;
    position: relative;
    display: inline-block;
}
.wizard a:before {
    width: 0;
    height: 0;
    border-top: 20px inset transparent;
    border-bottom: 20px inset transparent;
    border-left: 20px solid #fff;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
}
.wizard a:after {
    width: 0;
    height: 0;
    border-top: 20px inset transparent;
    border-bottom: 20px inset transparent;
    border-left: 20px solid #efefef;
    position: absolute;
    content: "";
    top: 0;
    right: -20px;
    z-index: 2;
}
.wizard a:first-child:before,
.wizard a:last-child:after {
    border: none;
}
.wizard a:first-child {
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
}
.wizard a:last-child {
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
}
.wizard .badge {
    margin: 0 5px 0 18px;
    position: relative;
    top: -1px;
}
.wizard a:first-child .badge {
    margin-left: 0;
}
.wizard .current {
    background: #044687;
    color: #fff;
}
.wizard .current:after {
    border-left-color: #044687;
}

/*Angular Loading Bar Override for Color*/
#loading-bar .bar {
    background: #FF0C17 !important;
}
#loading-bar .peg {
    -moz-box-shadow: #FF0C17 1px 0 6px 1px;
    -ms-box-shadow: #FF0C17 1px 0 6px 1px;
    -webkit-box-shadow: #FF0C17 1px 0 6px 1px;
    box-shadow: #FF0C17 1px 0 6px 1px;
}
#loading-bar-spinner .spinner-icon {
    border-top-color:  #FF0C17;
    border-left-color: #FF0C17;
}

/*  Card Styling  */

.border-bottom{
    padding-top: 0.3em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid #9d9d9d;
}

.h5{
    font-weight: 600;
    display: block;
    padding-bottom: 1px;
    clear: both;
    font-size: 14px;
    line-height: 14px;
    margin-top: 0;
    margin-bottom: 1px;
    color: #333333;
    text-align: center;
    text-transform: uppercase;

}

.h2{
    font-weight: 700;
    margin-bottom: 1px;
    display: block;
    padding-bottom: 2px;
    clear: both;
    font-size: 24px;
    line-height: 24px;
    margin-top: 0;
    color: #333333;
    text-align: center;
    text-transform: uppercase;
}

.giveaway-thumb{
    /*width: 100px;*/
    height: 200px;
    max-height: 200px;
    max-width:200px;
}

/*  Forms  */
.css-form input.ng-invalid.ng-touched {
    /*background-color: #FFECEC;*/
    background-color: #FFa3a3;
}

.css-form input.ng-valid.ng-touched {
    /*background-color: #E5F2E5;*/
}

.form-control-horizontal {
    width:60%;
}

/* Dashboard */
.chart-container {
    border:1px solid #ccc;
    border-radius:5px;
}
.chart-container canvas {
    margin:5px;
}

.bg-default {
    background-color:#eee;
    padding:5px;
    border-radius: 5px;
}

.racerow {
    margin-bottom:5px;
    margin-left:0px;
    margin-right:0px;
    padding:10px;
    border:1px solid #ccc;
    border-radius: 5px;
    background-color:white;
    width:100%;
    border-collapse: initial;
}
.racerow .calcontainer {
    width:20%;
    border-right:1px solid #ccc;
    vertical-align: top;
    padding-right:10px;
}
.cal {
    padding:0px;
    font-size:150%;
}
.cal span {  padding: 5px; }
.cal .month {
    background-color:#333;
    color:white;
    border-radius: 5px;
}
.racerow .infocontainer {
    vertical-align: top;
    padding-left:10px;
    padding-right:10px;
}
.racerow .infocontainer h4 a { color:#333; }
.racerow .imgcontainer {
    vertical-align: top;
    width:30%;
}
.racerow .imgcontainersmall {
    vertical-align: top;
    width:17%;
}
.racerow.highlight {
    border:1px solid blue;
}
.racerow.highlight .calcontainer {
    border-right:1px solid blue;
}

/* Individual results page */
.yt-container{
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.yt-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.results-header-logo{
    width: 60%;
}
.time-display-font {
    font-family: 'digital-7';
    line-height: 1;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.place-card{
    border:1px solid blue;
}

.individual-result-photo{
    width: 100%;
    position: relative;
    margin: 0.3em 0.5em 0.3em 0.5em;
}

/* User Profile Page */
.profile-image{
    width: 100%;
    /*max-height: 300px;*/
    border: 1px solid gray;
    -webkit-border-radius: 2.5em;
    -moz-border-radius: 2.5em;
    border-radius: 2.5em;
}

.crop-area{
    /*width: 50vw;*/
    height: 60vh;
    overflow: hidden;
    background: #232323;
}

/* Participant row */
.prow {
    margin-bottom:5px;
    margin-left:0px;
    margin-right:0px;
    padding:10px;
    border:1px solid #ccc;
    border-radius: 5px;
    background-color:white;
    width:100%;
    border-collapse: initial;
}
.prow .infocontainer {
    vertical-align: top;
    padding-left:10px;
    padding-right:10px;
}
.prow .infocontainer h4 a { color:#333; }
.prow .imgcontainer {
    vertical-align: top;
    width: 100px;
}
.prow.highlight {
    border:1px solid blue;
}

/* Map Styling */
#map-container{
    padding: 10px;
    border:1px solid #ccc;
    background-color:white;
    border-radius: 5px;
    margin-bottom:15px;
}
#homepage-map {
    width:100%;
    height: 350px;
}

/* Styles for photos and albums */
.thumbnail-holder{
    width: 200px;
    height: 200px;
    position: relative;
}

.bounded-image-200{
    max-width: 200px;
    min-height: 50px;
    max-height: 200px;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    margin:auto;
}

.highlighted-well{
    background-color: #addfee;
}

/* Albums */
.album-list-item{
    padding: 0.25em;
    margin-bottom: 0.5em;
}

.album-list-item :hover, :focus{
    color: #157ab5;
}

.album-list-item.active{
    border: 1px solid #00b3ee;
    border-radius: 0.7em;
    background-color: #00b3ee;
    color: white !important;
    padding: 0.25em;
    margin-bottom: 0.5em;
}
.album-list-item.active .album-name .badge{
    background-color: white;
    color: #00b3ee;
}

.album-preview-container{
    padding: 1em;
    text-align: center;
    overflow: hidden;
}

.album-preview-card{
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    /*border-radius: 1em;*/
    border: 2px solid grey;
    background-color: white;
    cursor: pointer;
}

.album-preview-card:hover{
    border: 2px solid #04519b;
}
.album-preview-title{
    text-align: center;
    /*background-color: rgba(255,255,255,0.75);*/
    padding: 0.25em;
    font-weight: bold;
}
.album-preview-img{
    max-width: 90%;
    max-height: 75%;
}

.album-preview-overlay{
    position: absolute;
    /*overflow: hidden;*/
    /*font-size: 0;*/
    top: 0;
    height: 100%;
    width: 100%;
    color: rgba(0, 0, 0, 0);
    font-size: 0;
    background-color: rgba(255, 255, 255, 0);
    cursor: pointer;
    transition: 0.25s;
}
.album-preview-overlay:hover{
    font-size: 1.5em;
    color: #04519b;
    background-color: rgba(255, 255, 255, 0.80);
}
.album-preview-overlay span{
    width: 80%;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    font-weight: bold;
    position: absolute;
}

.album-image-container{
    border: 1px solid grey;
    padding: 2px;
    background-color: white;
    margin-bottom: 15px;
    border-radius: 0.5em;
}
.album-image-container:hover{
    border: 2px solid #157ab5;
    transform: scale(1.05, 1.05);
}

.album-image{
    width: 100%;
    height: 100%;
    border-radius: 0.5em;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

/* styles for custom modal popup */
.apt-modal{
    background-color: black;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
}

.apt-modal-photo{
    position: absolute;
    transform: translateY(-50%) translateX(-50%);
    top: 50%;
    left: 50%;
    max-width: 90%;
    max-height: 95%;
    border-radius: 0.5em;
}

/* This hides the carousel indicators*/
.carousel-indicators{
    display: none;
}

.margin-1{
    margin: 0.1em;
}

.vertical-center {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.centerBlock{
    display: table;
    margin: 0 auto;
}

.sponsor-grid .sponsor-display{
    margin: 1em;
}

.sponsor-display{
    border: 1px solid lightgray;
    -webkit-border-radius: 1em;
    -moz-border-radius: 1em;
    border-radius: 1em;
    background-color: white;
    margin: 1em;
    padding: 10px;
}

.sponsor-display-img{
    max-width:100%;
    height: 200px;
    width: 200px;
}

.row-equal-height{
    overflow: hidden;
}

.row-equal-height [class*="col-"]{
    margin-bottom: -99999px;
    padding-bottom: 99999px;
}

.modal-min-height{
    position: absolute;
    min-height: 40vh;
}
.modal-content-padded{
    padding: 2em;
}

.user-list-item{
    border: 1px solid gray;
    -webkit-border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    border-radius: 0.5em;
    margin: 0.5em;
    padding: 0.5em;
}

.user-list-item-selected{
    border: 1px solid #04519b;
}

.clickable{
    cursor: pointer;
}

/* Makes a textarea fill the screen width*/
.full-width-textarea{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
}

.waiver-scroll{
    overflow-y: scroll;
    max-height: 60vh;
}

.payment{
    display: -webkit-flex;
    display: flex;
    justify-content: space-evenly;
}

.paymentClosed{
    display: flex; 
    justify-content:space-between; 
    margin-bottom:5px;
}

.paymentOpen{
    display: table; 
    margin-bottom:5px;
}

.paymentOpen div i{
    margin-right: 20px;
}

.paymentsContainer div {
    float:left;
}

.paymentsContainer .blue{
    width:85%;
}

.paymentsContainer .buttonContainer{
    width:15%;
}

.email-table thead {
    background-color: #033c73;
    color: white;
}

.email-table tbody{
    color: #2fa4e7;
}

.col-xxs-1, .col-xxs-2, .col-xxs-3, .col-xxs-4,
.col-xxs-5, .col-xxs-6, .col-xxs-7, .col-xxs-8,
.col-xxs-9, .col-xxs-10, .col-xxs-11, .col-xxs-12 {
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
}

.join-aptiming-header h4{
    text-align: center;
    color: darkblue;
    font-size: 170%;
    
}

.join-aptiming-body{
    font-size: 120%;
}

.join-aptiming-footer{
    font-size: 160%;
    text-align: center;
}

.charity {
    width: 300px;
    height: 225px;
    margin: 10px;
    float: left;
    border: 0px solid #fff;
    overflow: hidden;
    position: relative;
    text-align: center;
    box-shadow: 1px 1px 2px #e6e6e6;
    cursor: default;
}
.charity .mask, .charity .content {
    width: 300px;
    height: 225px;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0
}
.charity img {
    display: block;
    position: relative;
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
}
.charity p {
    font-family: Georgia, serif;
    font-style: bold;
    font-size: 25px;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    bottom: 90px;
    left: 0;
    right: 0;
    color: #fff;
    opacity: 0;
    -webkit-transition: all 0.2s linear;
	transition: all 0.2s linear;
}
.charity .mask {
    opacity: 0;
    background-color: rgba(4,50,100, 0.7); 
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.charity:hover img { 
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
} 
.charity:hover .mask { 
	opacity: 1;
}
.charity:hover p {
    opacity: 1;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    transition-delay: 0.1s;
}

/* CSS to control race details menu colors and sizing */
#race-details-menu .nav-tabs{
    background-color: #fff;
}
#race-details-menu .tab-content{
    background-color:#303136;
    color:#fff;
    padding:5px
}
#race-details-menu .nav-tabs > li > a{
    border: medium none;
}
#race-details-menu .nav-tabs > li > a:hover{
    background-color: #303136 !important;
    border: medium none;
    border-radius: 0;
    color:#fff;
}
#race-details-menu .nav a{
    color: #04519b;
}
#race-details-menu .nav .active a{
    background-color: #fff;
    border-bottom: 5px solid #04519b;
}



@media (max-width: 450px) {
    .col-xxs-1,
    .col-xxs-2,
    .col-xxs-3,
    .col-xxs-4,
    .col-xxs-5,
    .col-xxs-6,
    .col-xxs-7,
    .col-xxs-8,
    .col-xxs-9,
    .col-xxs-10,
    .col-xxs-11 {
        float: left;
    }

    .col-xxs-1 {
        width: 8.333333333333332%;
    }

    .col-xxs-2 {
        width: 16.666666666666664%;
    }

    .col-xxs-3 {
        width: 25%;
    }

    .col-xxs-4 {
        width: 33.33333333333333%;
    }

    .col-xxs-5 {
        width: 41.66666666666667%;
    }

    .col-xxs-6 {
        width: 50%;
    }

    .col-xxs-7 {
        width: 58.333333333333336%;
    }

    .col-xxs-8 {
        width: 66.66666666666666%;
    }

    .col-xxs-9 {
        width: 75%;
    }

    .col-xxs-10 {
        width: 83.33333333333334%;
    }

    .col-xxs-11 {
        width: 91.66666666666666%;
    }

    .col-xxs-12 {
        width: 100%;
    }

    .hidden-xxs {
        display: none !important;
    }
    
}

.demoList{
    max-height: 500px;
    overflow-y: scroll;
}

.ng-modal-overlay {
    /* A dark translucent div that covers the whole screen */
    position:fixed;
    z-index:9999;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:#000000;
    opacity: 0.8;
  }
  .ng-modal-dialog {
    /* A centered div above the overlay with a box shadow. */
    z-index:10000;
    position: fixed;
    width: 50%; /* Default */
  
    /* Center the dialog */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
  
    background-color: #fff;
    box-shadow: 4px 4px 80px #000;
    overflow: scroll;
  }
  .ng-modal-dialog-content {
    padding:10px;
    text-align: left;
  }
  .ng-modal-close {
    position: fixed;
    top: 3px;
    right: 5px;
    padding: 5px;
    cursor: pointer;
    font-size: 120%;
    display: inline-block;
    font-weight: bold;
    font-family: 'arial', 'sans-serif';
  }
/* APT Blue: #04519b */

/* Nav Menu */
.dashboard-menu{
    font-size: 1.4em;
}

.dashboard-menu-item{
    color: white;
    padding: 0.5em 0.5em 0.5em 1em;
    background-color: #04519b;
    /*border: 2px solid #04519b;*/
    border-bottom: 1px solid white;
    cursor: pointer;
    transition: 0.5s;
}

.dashboard-menu-item:hover{
    color: white;
    padding: 0.5em 0.5em 0.5em 1em;
    background-color: red;
}

.dashboard-menu-item.selected{
    color: white;
    padding: 0.5em 0.5em 0.5em 1em;
    transform: translateX(10%);
    background-color: red;
}

/* Stat Cards */
.stat-card{
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    color: white;
    width: 100%;
    height: 100%;
    min-height: 100px;
    padding: 0.5em;
    margin-top: 1em;
}
.stat-card-icon{
    position: absolute;
    font-size: 3em;
    right: 15%;
    top: 20%;
    z-index: 3;
}

/* Link Cards */
.link-card{
    display: inline-block;
    text-decoration: none !important;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;

    border: 2px solid #04519b;
    color: #04519b;
    background-color: white;

    width: 100%;
    height: 100%;
    min-height: 100px;
    padding: 0.5em;
    margin: 0.5em;
    transition: 0.25s;
}
.link-card:hover{
    background-color: #04519b;
    color: white;
}

.link-card div.card-title{
    font-size: 1.6em;
}

.link-card div.link-icon{
    position: absolute;
    right: 10%;
    bottom: 5%;
    font-size: 300%;
}


/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 999;
    height: 10em;
    width: 10em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* Transparent Overlay */
.loading:before {
    content: '';
    display: block;
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.20);
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.loading:not(:required):after {
    content: 'Loading...';
    display: block;
    font-size: 10px;
    width: 12em;
    height: 12em;
    margin-top: -6em;
    margin-left: -6em;
    background: #ffffff url('../img/resources/runner2.gif') no-repeat;
    /*
    -webkit-animation: spinner 1500ms infinite linear;
    -moz-animation: spinner 1500ms infinite linear;
    -ms-animation: spinner 1500ms infinite linear;
    -o-animation: spinner 1500ms infinite linear;
    animation: spinner 1500ms infinite linear;
    */
    border-radius: 0.5em;
    /*
    -webkit-box-shadow: rgba(255, 35, 35, 0.75) 6em 0 0 0, rgba(255, 35, 35, 0.75) 4.4em 4.4em 0 0, rgba(255, 35, 35, 0.75) 0 6em 0 0, rgba(255, 35, 35, 0.75) -4.4em 4.4em 0 0, rgba(255, 35, 35, 0.5) -6em 0 0 0, rgba(255, 35, 35, 0.5) -4.4em -4.4em 0 0, rgba(255, 35, 35, 0.75) 0 -6em 0 0, rgba(255, 35, 35, 0.75) 4.4em -4.4em 0 0;
    box-shadow: rgba(255, 35, 35, 1) 6em 0 0 0, rgba(255, 35, 35, 1) 4.4em 4.4em 0 0, rgba(255, 35, 35, 1) 0 6em 0 0, rgba(255, 35, 35, 1) -4.4em 4.4em 0 0, rgba(255, 35, 35, 1) -6em 0 0 0, rgba(255, 35, 35, 1) -4.4em -4.4em 0 0, rgba(255, 35, 35, 1) 0 -6em 0 0, rgba(255, 35, 35, 1) 4.4em -4.4em 0 0;
    */
}

/* Animation */
/*
@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}*/
.bluegrass-navbar-overrides { 
    min-height: 90px!important; 
    border-bottom:solid #22674a 10px!important; 
    background-color:#efda7e!important; 
    background-image:none!important; 
    color:black!important; 
    font-size: 17px;}
.new-bluegrass-navbar-overrides{
    min-height: 90px!important; 
    border-bottom:solid #36B443 10px!important; 
    background-color:#0037C5!important; 
    background-image:none!important; 
    color:black!important; 
    font-size: 17px;
}
.bluegrass-nav-pills, .bluegrass-nav-pills a{ color: black!important; display:block; vertical-align:middle;}
.new-bluegrass-nav-pills, .new-bluegrass-nav-pills a{ color: white!important; display:block; vertical-align:middle;}
.bluegrass-list-item {display:inline-block!important; vertical-align:middle;}
.bluegrass-offset {margin-top:95px}
.bluegrass-img {display:inline-block!important; vertical-align:middle;width:300px;height:100%;text-align:center}
/*body.body-657 {background-color:#efda7e!important;}*/
.back-button {position:absolute; top:10px; left:10px; color:black; font-size:18px; z-index:1000;}
.bluegrass-footer {
    margin-top:10px;
    width:100%;
    position:relative;
}
.bluegrass-footer-overrides {
    position:relative;
    min-height: 90px!important; 
    background-color:#36B443!important; 
    background-image:none!important; 
    color:white!important; 
    font-size: 12px;
    text-align:center;
    text-transform:uppercase;
    font-weight:bold;
}
.bluegrass-footer-overrides a {color:white!important;}
.bluegrass-contact{text-align:center;}
.bluegrass-footer-list {
    display:inline-block;
    float:none!important;
}
.bluegrass-footer-list a:hover {
    background-color:#efda7e!important;
}