#home-leaderboard {
    background: url(../jpg/geometric.jpg) center bottom no-repeat;
    clear: both;
    overflow: hidden;
    background-size:cover;
}

#home-leaderboard #imagewrap {
    margin:0 auto;
    color:white;
    background: rgba(41,41,41,0.9);
}

#home-leaderboard.outerpad #imagewrap {
    padding: 70px 20px;
}

#home-leaderboard-inner {
    margin: 0 auto;
    clear: both;
    overflow: hidden;
    max-width: 1600px;
    position: relative;
    max-height: 340px;
    transition: max-height 0.75s ease-out;
    padding: 70px 20px;
}

#home-leaderboard.outerpad #home-leaderboard-inner  {
    padding: 0;
}

#home-leaderboard-inner > h2 {
    margin: 0 0 25px 0;
}

#home-leaderboard-inner {
    max-width:1200px;
}

#leader-nav {
    margin: 0 0 20px 0;
    padding:0;
    clear:both;
    overflow:hidden;
    list-style: none;
    
}

#leader-nav li {
    margin:0 8px 0 0;
    padding:0;
    float:left;
}

#leader-nav li:first-of-type {
    margin:0;
    float:right;
}

#leader-nav li select {
    border: 1px solid #333;
    background: #555;
    color: white;
    line-height: 26px;
    height: 26px;
    text-transform: uppercase;
    font-family: 'bentonsans';
    padding: 0 10px;
    font-size: 10px;
    width: 131px;
    margin-bottom: 10px;
}

#leader-nav li a {
    line-height: 24px;
    height: 24px;
    text-transform: uppercase;
    font-family: 'bentonsans';
    font-size: 10px;
    display: block;
    border: 1px solid #dc291e;
    background: #dc291e;
    color: white;
    width: 129px;
    text-align: center;
}

#leader-nav li a:hover {
    background: white;
    color:#dc291e;
}

#more-results {
    display:none;
}

#more-results.loading {
    background: url(../gif/ico_loading.gif) no-repeat;
}

#notice {
    font-size:86%;
    padding-left:30px;
    padding: 6px 0 0 0;
    display: block;
}

.info h2 {
    margin: 0 0 20px 0;
    text-transform: none;
    font-size: 20px;
    line-height: 28px;
} 
    
.Site-content {
    background: white !important;
}

#home-leaderboard .f1ms-cta-link {
    clear:both;
    margin:25px auto 0 auto;
}

#home-leaderboard ul.tabs {
    margin:0 0 20px 0;
    padding:0;
    list-style:none;
    text-align: center;
}

#home-leaderboard ul.tabs li {
    display: inline-block;
    text-align: center;
    margin-left: 2px;
}

#home-leaderboard ul.tabs li a {
    color: #dc291e;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #dc291e;
    font-size: 11px;
    text-transform: uppercase;
    display: inline-block;
}

#home-leaderboard ul.tabs li a:hover {
    color: #fff;
    border: 1px solid #fff;
}

#home-leaderboard ul.tabs li a.active,
#home-leaderboard ul.tabs li a.active:hover {
    color: white;
    background: #dc291e;
    border-color: #dc291e;
    cursor:default;
}

#home-leaderboard .more {
    position: absolute;
    left: 50%;
    margin: 0 0 0 -17px;
    bottom: 20px;
}

#notice {
    font-size: 86%;
    padding-left: 30px;
    padding: 6px 0 0 0;
    display: block;
}

.driver-tiles {
    overflow: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom:20px;
    visibility: hidden;
}

.driver-tiles:first-of-type {
    visibility: visible;
}

.driver-tiles:last-of-type {
    padding:0;
}

.driver-tiles li {
    text-align: left;
    margin: 1px;
    white-space: nowrap;
    overflow: hidden;
    background: #151515;
}

.driver-tiles li.heading {
    border-bottom:1px solid;
    margin-bottom:0;
}

.driver-tiles li.heading h2 {
    text-transform:uppercase;
    line-height:30px;
    height:30px;
    text-align:center;
    font-size:12px;
    margin:0;
    font-weight: bold;
}

#heat1 li {
    background:rgba(254,0,128,0.05);
}

#heat1 li:hover {
    background:rgba(254,0,128,0.5);
}

#heat1 .heading {
    border-color:#fe0080;
    background:rgba(254,0,128,0.2);
}

#heat1 h4 {
    color:#fe0080;
}

#heat2 li {
    background: rgba(6,169,162,0.05);
}

#heat2 li:hover {
    background: rgba(6,169,162,0.5);
}

#heat2 .heading {
    border-color:#06a9a2;
    background:rgba(6,169,162,0.2);
}

#heat2 h4 {
    color:#06a9a2;
}

#heat3 li {
    background: rgba(166,160,4,0.05);
}

#heat3 li:hover {
    background: rgba(166,160,4,0.5);
}

#heat3 .heading {
    border-color:#a6a004;
    background:rgba(166,160,4,0.2);
}

#heat3 h4 {
    color:#a6a004;
}

#heat4 li {
    background: rgba(173,10,10,0.05);
}

#heat4 li:hover {
    background: rgba(173,10,10,0.5);
}

#heat4 .heading {
    border-color:#ad0a0a;
    background:rgba(173,10,10,0.2);
}

#heat4 h4 {
    color:#ad0a0a;
}

.driver-tiles a {
    clear: both;
    overflow: hidden;
    display: block;
    color: white;
    padding: 10px;
}

.driver-tiles li img {
    height: 15px;
    float: right;
}

.driver-tiles li h3 {
    margin: 0;
    font-size: 12px;
    font-family: 'bentonsans-bold';
    float: left;
    line-height: 16px;
}

.driver-tiles li h3 span {
    text-transform: uppercase;
    font-weight: bold;
}

.driver-tiles li h4 {
    margin: 0;
    /* color: #dc291e; */
    text-transform: uppercase;
    font-size: 14px;
    float: right;
    line-height: 16px;
    font-family: 'Orbitron';
    font-weight:400;
}


    
@media (min-width: 650px) {
    #notice {
        padding: 0 0 0 30px;
        display: inline;
    }
}

@media (min-width: 768px) {
    #home-leaderboard-inner {
        height: auto;
    }

    #home-leaderboard ul.tabs {
        text-align: left;
        float:right;
    }

    .driver-tiles {
        float: left;
        width: 33.3%;
        margin-bottom:30px;
        visibility: visible;
    }

    .driver-tiles.x4 {
        width: 25%;
    }
    
    #home-leaderboard .more {
        display:none;
    }
}
