body {
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    border-collapse: collapse;
    text-align: center;
}

.gray {
    color: #DDD;
}

table {
    line-height: 1.6em;
    font-size: 1.25em;
    border-collapse: collapse;
    text-align: center;
    white-space: nowrap;
    cursor: default;
}

th {
    font-weight: normal;
    color: #111;
    padding: 10px 10px;
    border-bottom: 1px dotted #ccc;
}

td {
    color: #111;
    padding: 5px 6px 5px 6px;
}
/*
	td.headcol {
		position: absolute;
	}
*/
    td:nth-child(2), th:nth-child(2) {
        text-align: left;
        padding: 5px 0px 5px 2px;
    }

    td:nth-child(9) {
        border-right: 1px dotted #ccc;
        padding: 5px 9px 5px 4px;
    }

    td:nth-child(8) {
        padding: 5px 6px 5px 9px;
    }

    td:nth-child(3n+12) {
        border-right: 1px solid gray;
    }

tr:nth-child(3n) {
    border-bottom: 1px solid gray;
}

.hover {
    background-color: #eee;
}

.team-number {
    cursor: pointer;
}

.popup {
    position: relative;
    background: #FFF;
    padding: 20px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
}

a.popup-link {
    text-decoration: none;
}

.space {
    margin-left: 0.5em;
}

#first, #second {
    font-size: 24px;
    padding-top: 20px;
}

#first {
    float: left;
    width: 40%;
}

#second {
    float: center;
}

#score {
    float: left;
    width: 20%;
    padding-top: 22px;
    font-size: 42px;
}

#top {
    height: 100px;
    border-bottom: 1px dotted;
}

#results {
    padding-top: 10px;
    font-size: 24px;
    line-height: 1.6em;
    min-height: 250px;
}

.pointer {
    cursor: pointer;
}

.tourLabel {
    width: 13%;
    float: left;
    font-weight: bold;
}

.left {
    width: 35%;
    float: left;
    text-align: right;
}

.center {
    width: 4%;
    float: left;
    text-align: center;
}

.right {
    width: 48%;
    float: left;
    text-align: left;
}

.littleB {
    font-size: 80%;
    line-height: 80%;
}

.mfp-close {
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    opacity: 0.3;
    font-style: normal;
    font-size: 28px;
    font-family: Arial, Baskerville, monospace;
    text-align: right;
}

    .mfp-close:hover, .mfp-close:focus {
        opacity: 0.6;
    }

    .mfp-close:active {
        top: 1px;
    }

.boldText {
    font-weight: bold;
}

li {
    list-style: none;
}

.container {
    min-width: 600px;
    min-height: 400px;
    position: fixed;
    width: auto;
    background-color: rgb(255, 255, 255);
    z-index: 9999;
    box-shadow: 0px 0px 20px rgb(50, 50, 50);
}

.mask {
    height: 543px;
    position: fixed;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    /*background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.3);*/
    background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.3);
    opacity: 0.99;
    z-index: 9999;
}

.win {
    background: #B9FFAB;
}

.draw {
    background: #FCFFBA;
}

.lose {
    background: #FF8880;
}

.self {
    background: lightgray;
}

.clickable {
    cursor: pointer;
}

.footer {
    background: #eeeeee;
    margin: 10px;
    padding: 5px;
    float: left;
}

.footer ul {
	overflow-x:hidden;
	white-space:nowrap; 
}

.footer ul li{
	display: inline; 
	padding-right: 15px;
}

.container ul {
    margin: 0;
    padding: 0;
}

/*.spinner {
    background: url(spinner.gif) no-repeat center center rgba(0, 0, 0, 0.3);
}*/

.scoreBack {
    margin: 5px;
}

.header {
    background: #eeeeee;
    margin: 10px;
    float: left;
    width: 550px;
}

    .header tr td:first-child {
        text-align: right;
    }

    .header tr td:last-child {
        text-align: left;
    }

#floatingTitle {
    background: #eeeeee;
    border: 2px solid gray;
    right: 10px;
    top: 10px;
    position: fixed;
}

    #floatingTitle tr td:first-child {
        min-width: 260px;
        text-align: right;
    }

    #floatingTitle tr td:last-child {
        min-width: 260px;
        text-align: left;
    }

.derbyContainer {
   background: url(flame_large.png);
    background-repeat: no-repeat;
    background-position: 230px 35px;
}

.derby {
    background: url(flame.png);
    background-repeat: no-repeat;
    background-position: 8px 0px;
}

.dot {
    width: 10px;
    height: 10px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin-left: 13px;
    background: gray;
}

.not-important {
    color: #999999; 
}

/* ANIMATION SPINNER */

.spinner-container {width: 66px;height: 66px;background: none;left:48%; top:48%; position:absolute;}
.spinner-square {width:20px; height:20px; margin:1px; -webkit-animation-name: blinking; -webkit-animation-duration: 0.84s; animation-name: blinking; animation-duration: 0.84s; animation-iteration-count: infinite; animation-timing-function: linear; float: left; background-color: #ccc; opacity: 0.2; }

@-webkit-keyframes blinking {0% {opacity: 1;}50% {opacity: 0.2;}100% {opacity: 1;}}
@keyframes blinking {0% {opacity: 1;}50% {opacity: 0.2;}100% {opacity: 1;}}

.spinner-top-left {animation-delay: 0s;}
.spinner-top-center {animation-delay: 0.805s;}
.spinner-top-right {animation-delay: 0.690s;}
.spinner-center-left {animation-delay: 0.115s;}
.spinner-center-center {animation-delay: 0s;}
.spinner-center-right {animation-delay: 0.690s;}
.spinner-bottom-left {animation-delay: 0.230s;}
.spinner-bottom-center {animation-delay: 0.345s;}
.spinner-bottom-right {animation-delay: 0.460s;}