/* CSS Document, однако */
/* Цвета сайта */
/*
    Желтые ссылки:
        HREF:       #fcc450;
        VISITED:    #b38b38;
        HOVER:      #f0f0f0;
    Белые ссылки:
        HREF:       #ffffff;
        VISITED:    #e0e0e0;
        HOVER:      #fcc450;
*/
@media (max-width: 767px) {
    @-ms-viewport {
        width: 520px;
    }
}
* {
    box-sizing: border-box;
}
*:focus {
    outline: none;
}
html.no-scroll {
    position: fixed;
    width: 100%;
    overflow-y: scroll;
}
body {
    min-width: 500px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    font-weight: 400;
    background: #242424;
}
body.if {
    margin: 0;
    color: #f0f0f0;
    background: transparent;
}
body.if.bg {
    background: #242424
}
body.ad {
    margin-top: 40px;
}
div {
    position: relative;
}
figure {
    display: inline;
    margin: 0;
}
figure svg {
    width: 100%;
    height: 100%;
}
pre {
    font-size: 12px;
}
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    max-width: 100%;
    font-weight: 300;
    color: #ffffff;
}
h1 {
    font-size: 36px;
}
h2 {
    font-size: 32px;
}
h3 {
    font-size: 28px;
}
h4 {
    font-size: 24px;
}
h5 {
    font-size: 20px;
}
a {
    color: #fcc450;
    text-decoration: none;
}
a:visited {
    /*color: #d8ae49;*/
    text-decoration: none;
}
a:hover {
    color: #f0f0f0;
    text-decoration: none;
}

a.alternate {
    color: #ffffff;
}
a.alternate:visited {
    color: #f0f0f0;
}
a.alternate:hover {
    color: #fcc450;
}
form {
}
button, .button {
    display: inline-block;
    padding: 10px 20px;
    border: 0;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 17px;
    color: #242424;
    background: #fcc450;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
}
button:hover, .button:hover, .button.active {
    color: #fcc450;
    background: #242424;
    text-decoration: none !important;
}
button small, .button small {
    display: block;
}
button.reset, .button.reset {
    margin-right: 20px;
}
button.full, .button.full {
    width: 100%;
}
select {
    display: block;
    padding: 0 10px;
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    border: 0;
    background: #d0d0d0;
    box-sizing: border-box;
}
input {
    display: block;
    padding: 0 13px;
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    border: 0;
    background: #d0d0d0;
    box-sizing: border-box;
}
textarea {
    display: block;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    color: #e0e0e0;
    background: #242424;
    border: 0;
    resize: vertical;
}
small {
    font-size: 70%;
}
.form-confirm {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 36px;
    height: 36px;
    vertical-align: middle;
}
.form-confirm path {
    fill: #808080;
}
.form-confirm:hover path {
    fill: #fcc450;
}

.site-body {
    margin: 0 auto;
    max-width: 1260px;
    min-width: 430px;
    box-shadow: 0 0 10px #000000;
}
.shareButtons {
    top: 99px;
    right: 108px;
}

/* Generic Blocks */
.page-block {
    margin-bottom: 30px;
}
.page-block.white, .page-block.black {
    /*margin-bottom: 0;*/
    margin-left: -30px;
    margin-right: -30px;
    padding: 30px 30px 20px 30px;
}
.page-block.white {
    color: #111111;
    background: #ffffff;
}
.page-block.black {
    background: #171717;
}
.page-block.media {
    margin: -30px 0 0 0;
    padding: 15px 20px;
    background: #171717;
}
@media (max-width: 768px) {
    .page-block.white, .page-block.black {
        margin-left: 0;
        margin-right: 0;
        padding: 30px 0 20px 0;
    }
    .page-block.media {
        padding: 15px 0;
    }
}
.page-block a {
    text-decoration: none;
}
.page-block a:hover {
    text-decoration: underline;
}
.page-block-shadow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25px;
    background: url('/i/page_block_shadow.png') center bottom repeat-x;
    z-index: +2;
}
.page-block-header {
    display: block;
    width: 100%;
    height: 45px;
    font-size: 20px;
    text-transform: uppercase;
    box-sizing: border-box;
}
.page-block-header a {
    color: #ffffff;
}

/* Generic Blocks */
.blocks-holder {
    display: table;
    width: 100%;
    min-height: 30px;
    font-size: 0;
}
.block-main {
    display: table-cell;
    min-height: 30px;
    vertical-align: top;
}
.block-main.inner {
    padding-right: 30px;
}
.block-right {
    display: table-cell;
    width: 300px;
    min-height: 30px;
    vertical-align: top;
    overflow: hidden;
}
.block-right.inner {
    padding: 20px 20px 0 20px;
    background: #171717;
}
.block-right-holder {
    width: calc(100% + 10px);
}
.block-right-holder.inner {
}
@media(max-width: 1280px) {
    .block-main.newstube {
        display: block;
        overflow-x: hidden;
    }
    .block-right.newstube {
        display: block;
        padding-left: 0;
        width: auto;
    }
}
@media(max-width: 1100px) {
    .blocks-holder {
        display: block;
    }
    .block-main {
        display: block;
        overflow-x: hidden;
    }
    .block-main.inner {
        padding-right: 0;
    }
    .block-right {
        display: block;
        padding-left: 0;
        width: auto;
    }
}
@media (max-width: 768px) {
    .blocks-holder {
        padding-left: 10px;
        padding-right: 10px;
    }
    .blocks-holder.inner {
        padding-left: 0;
        padding-right: 0;
    }
}
.block-separator {
    height: 30px;
}
.block-separator.half {
    height: 15px;
}
.block-expand {
    margin-top: 20px;
    text-align: center;
}
.block-expand.sorted {
    margin-bottom: 30px;
}
.block-expand button {
    margin: 0 10px;
}
.block-expand button.active {
    color: #f0f0f0;
    background: #C54920;
}
@media (max-width: 768px) {
    .block-expand button {
        margin: 0 3px;
        padding: 8px 16px;
        font-size: 14px;
    }
}
.block-header {
    display: block;
    width: 100%;
    height: 30px;
    font-size: 20px;
    color: #ffffff;
    text-transform: uppercase;
    box-sizing: border-box;
}
.block-header.padding {
    padding-left: 40px;
}
.block-header.top {
}
.block-header.big {
    margin-bottom: 30px;
    text-align: center;
}
.block-header.inner {
}
@media (max-width: 1280px) {
    .block-header {
        height: 35px;
    }
    .block-header.padding {
        padding-left: 0;
    }
    .block-header.top {
        margin-top: 30px;
    }
}
@media (max-width: 768px) {
    .block-header.inner {
        margin-left: 20px;
        width: calc(100% - 20px);
    }
}

/* Pagination */
.block-pagination {
    margin: 30px 0;
    font-size: 0;
    text-align: center;
    background: #171717;
}
.block-pagination.white {
    background: #242424;
}
.block-pagination a, .block-pagination span, .block-pagination div {
    display: inline-block;
    margin: 0 5px;
    width: 38px;
    height: 38px;
    line-height: 38px;
    font-size: 20px;
    background: #171717;
    text-decoration: none;
}
@media (max-width: 768px) {
    .block-pagination a, .block-pagination span, .block-pagination div {
        margin: 0 2px;
        width: 34px;
        height: 34px;
        line-height: 34px;
        font-size: 16px;
    }
}
.block-pagination a.paginate:hover {
    background: #505050;
    text-decoration: none;
}
.block-pagination a.paginate_current {
    font-weight: bold;
    color: #242424;
    background: #fcc450;
    text-decoration: none;
}
.block-pagination a.paginate.paginate_pn {
    width: 30px;
}

/* Tables */
.block-table {
    padding: 20px;
    width: 100%;
    font-size: 14px;
    background: #171717;
}
.block-table-holder {
    width: 100%;
    max-width: 100%;
}
.block-table table {
    width: 100%;
    /*min-width: 650px;*/
    background: #171717;
}
.block-table table tr:hover {
    background: #242424;
}
.block-table table td, .block-table table th {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #000000;
}
.block-table table th {
    font-size: 16px;
    background: #101010;
}
@media (max-width: 768px) {
    .block-table {
    }
    .block-table-holder {
        overflow-y: hidden;
        overflow-x: scroll;
    }
}

.block-table-holder::-webkit-scrollbar {
  width: 12px;  /* for vertical scrollbars */
  height: 12px; /* for horizontal scrollbars */
  background: #a00000;
}
.block-table-holder::-webkit-scrollbar-track {
  background: #171717;
}
.block-table-holder::-webkit-scrollbar-thumb {
  background: #fcc450;
}


/* Library: Texts and other sections */
.library.next {
    margin-top: 30px;
}
@media (max-width: 1100px) {
    .library.next {
        margin-bottom: 30px;
    }
}
.library-header {
    padding: 12px 20px;
    color: #fcc450;
    background: #000000;
}
.library-header h1 {
    font-size: 26px;
    
}
.library-sub {
}
.library-sub h2 {
    display: block;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: normal;
    color: #242424;
    background: #fcc450;
}
.library-sub h2 span {
    display: block;
    font-size: 90%;
}
.library-sub a {
    color: #242424;
    text-decoration: underline;
}
.library-sub a:hover {
    color: #000000;
}
.library-sub-flag {
    z-index: 1;
    position: absolute;
    top: 10px;
    right: 15px;
    height: 40px;
}
.library-sub-flag.game {
    top: -25px;
    height: 50px;
}
.library-sub-flag img {
    height: 100%;
}
@media (max-width: 768px) {
    .library-sub-flag {
        height: 34px;
    }
}

.library-image {
    display: block;
    width: 100%;
    height: auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.library-image:after {
    display: block;
    padding-top: 56.25%;
    content: '';
}
.library-image.noimage, .library-image.nots {
    display: none;
}
.library-image span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 20px;
    font-size: 14px;
    background: rgba(0, 0, 0, .6);
}
.library-image-track {
    text-align: center;
    background: #000000;
}
.library-image-track img {
    max-width: 100%;
}
.library-text {
    padding: 20px;
    font-size: 16px;
    color: #242424;
    background: #ffffff;
}
.library-text h1, 
.library-text h2, 
.library-text h3, 
.library-text h4,
.library-text h5,
.library-text h6 {
    color: #242424;
}
.library-text p {
    margin-bottom: 20px;
}
.library-text p:last-child {
    margin-bottom: 0;
}
.library-text.old p {
    margin-bottom: 0;
}
.library-text a {
    color: #f8931f;
    text-decoration: underline;
}
.library-text a:hover {
    color: #000000;
}
.library-text audio {
    margin-top: 20px;
    width: 100%;
}
.library-text-image {
    display: block;
    float: left;
    margin: 0 20px 20px 0;
}
.library-text-image img {
    width: 100%;
    max-width: 500px;
}
@media (max-width: 768px) {
    .library-header {
        position: relative;
    }
    .library-header h1 {
        font-size: 22px;
    }
    .library-sub h2 {
        font-size: 15px;
    }
    .library-text-image {
        float: none;
        margin: 0 0 20px 0;
    }
}
@media (max-width: 500px) {
    .library-text-image {
        margin: -20px -20px 20px -20px;
    }
}
.library-gallery {
    padding: 10px;
    text-align: center;
    background: #f0f0f0;
}
.library-gallery-preview {
    position: relative;
    display: inline-block;
    margin: 10px;
    width: calc(20% - 20px);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
}
.library-gallery-preview:after {
    display: block;
    padding-top: 70%;
    content: '';
}
@media (max-width: 990px) {
    .library-gallery-preview {
        width: calc(25% - 20px);
    }
}
@media (max-width: 768px) {
    .library-gallery-preview {
        width: calc(33.33333333% - 20px);
    }
}
.library-gallery-preview span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px 10px;
    font-size: 14px;
    color: #ffffff;
    background: rgba(0, 0, 0, .6);
}
.library-gallery-item {
    margin-top: 20px;
}
.library-gallery-item img {
    max-width: 100%;
}
.library-gallery-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 20px;
    font-size: 15px;
    color: #ffffff;
    background: rgba(0, 0, 0, .6);
}
.library-gallery-item b {
    float: right;
}
.library-gallery-image {
    text-align: center;
    background: #000000;
}

/* Library Races */
.library-race-item {
    display: inline-block;
    margin: 0 30px 30px 0;
    width: calc(33.3333333333% - 30px);
    background: #171717;
}
@media (max-width: 1024px) {
    .library-race-item {
        width: calc(50% - 30px);
    }
}
@media (max-width: 640px) {
    .library-race-item {
        margin-bottom: 10px;
        width: calc(100% - 10px);
    }
}
.library-race-item-series {
    padding: 10px;
    width: 100%;
    height: 60px;
    text-align: center;
}
.library-race-item-series img {
    max-height: 100%;
}
.library-race-item-image {
    width: 100%;
    height: auto;
    background-position: center center;
    background-size: cover;
}
.library-race-item-image:after {
    display: block;
    padding-top: 65%;
    content: '';
}
.library-race-item-name {
    display: block;
    position: absolute;
    padding: 5px 10px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 15px;
    background: rgba(0, 0,  0, .75);
}
.library-race-item-name a {
    display: block;
}
.library-race-item-link {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.library-race-item-data {
    padding: 10px 40px;
    height: 40px;
    line-height: 20px;
    font-size: 16px;
}
.library-race-item-data.car {
    padding-left: 55px;
}
.library-race-item-data figure {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
}
.library-race-item-data figure.car {
    top: 3px;
    width: 34px;
    height: 34px;
}
.library-race-winlap {
    display: block;
}

/* LIBRARY RACE RIGHT -> CHAMPS */
.library-race-right {
    position: relative;
    display: inline-block;
    margin: 8px auto 5px auto;
    padding: 6px 10px 5px 60px;
    width: 100%;
    height: 65px;
    font-size: 14px;
    line-height: 17px;
    background: #000000;
    text-decoration: none !important;
    overflow: hidden;
}
.library-race-right.schedule {
    background: #000000 !important;
    opacity: .5;
}
.library-race-right span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-left: 5px;
    line-height: 20px;
    font-size: 12px;
    color: #a5a5a5;
    background: #111111;
    letter-spacing: 0;
}
.library-race-right:hover {
    background: #242424;
    text-decoration: none !important;
}
.library-race-right:hover span {
    background: #111111;
}
.library-race-right img {
    position: absolute;
    top: 5px;
    left: 5px;
    height: 34px;
}
@media (max-width: 1100px) {
    .library-race-right {
        margin: 8px 10px 5px 10px;
        width: calc(50% - 20px);
    }
}

.library-stats {
    padding: 5px;
    font-size: 0;
    background: #000000;
}
.library-winlap {
    display: inline-block;
    margin: 5px;
    padding: 10px 20px 10px 120px;
    width: calc(50% - 10px);
    height: 85px;
    line-height: 22px;
    font-size: 16px;
    color: #ffffff;
    background: #242424;
    vertical-align: top;
}
.library-winlap-image {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100px;
    height: 65px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.library-stats-block {
    margin-bottom: 1px;
    padding: 10px 20px;
    background: #050505;
}
@media (max-width: 768px) {
    .library-stats {
        padding: 0;
    }
    .library-winlap {
        margin: 1px 0 0 0 ;
        padding-left: 130px;
        width: 100%;
    }
    .library-winlap-image {
        left: 20px;
    }
}

.library-standings {
    
}

.library-race-holder {
    margin: 0 -5px;
}
.library-race-result {
    position: relative;
    display: inline-block;
    margin: 0 5px 10px 5px;
    padding: 6px 70px 5px 105px;
    width: calc(50% - 10px);
    height: 70px;
    text-decoration: none !important;
    background: #000000;
    vertical-align: top;
    overflow: hidden;
}
.library-race-result.combined {
    margin-bottom: 5px;
}
.library-race-result:hover {
    color: #242424;
    background: #303030;
    text-decoration: none !important;
}
@media (max-width: 920px) {
    .library-race-holder {
        margin: 0 10px;
    }
    .library-race-result {
        margin: 0 0 10px 0;
        width: 100%;
    }
}
.library-race-result-combined {
    margin-bottom: 10px;
    padding: 10px 5px 5px 5px;
    background: #111111;
}
@media (max-width: 1100px) {
    .library-race-result-combined {
        padding: 10px 10px 5px 10px;
    }
}

.library-race-image {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 90px;
    height: 60px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.library-race-place {
    position: absolute;
    top: 5px;
    right: 5px;
    padding-left: 20px;
    width: 60px;
    height: 60px;
    line-height: 40px;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: -2px;
    color: #f0f0f0;
    background: #242424;
    text-align: center;
    cursor: help;
}
.library-race-place span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-left: 25px;
    line-height: 18px;
    font-size: 14px;
    letter-spacing: 0;
    color: #000000;
    background: #fcc450;
}
.library-race-place small {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 50px;
    line-height: 40px;
    font-size: 14px;
    color: #fcc450;
    background: #404040;
}
.library-race-name {
    font-size: 16px;
    font-weight: bold;
    color: #fcc450;
}
.library-race-name small {
    display: inline-block;
    margin-top: 2px;
    padding: 3px 6px;
    line-height: 12px;
    font-size: 13px;
    font-weight: bold;
    color: #e0e0e0;
    background: #242424;
}
.library-race-name small.out {
    color: #808080;
}
.library-race-times {
    position: absolute;
    bottom: 5px;
    max-width: 300px;
}
.library-race-times.teams {
    max-width: 260px;
}
@media(max-width: 768px) {
    .library-race-times {
        max-width: 100%;
    }
}
.library-race-times div {
    display: inline-block;
    margin: 2px 2px 0 0;
    padding: 3px 6px;
    line-height: 12px;
    font-size: 13px;
    font-weight: bold;
    color: #e0e0e0;
    background: #242424;
}

/* Teams and Drivers List */
.library-race-result.teams {
    margin-bottom: 20px;
    padding: 5px 0 5px 100px;
    width: calc(100% - 10px);
    height: auto;
    background: #242424;
}
.library-race-result.teams:hover {
    background: #242424;
}
@media (max-width: 768px) {
    .library-race-result.teams {
        width: 100%;
    }
}
.library-team-stats {
    position: absolute;
    top: 10px;
    bottom: 11px;
    left: 10px;
    width: 80px;
    background: #171717;
}
.library-team-year {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    text-align: center;
    background: #fcc450;
}
.library-team-series {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    height: 40px;
    text-align: center;
}
.library-team-series img {
    max-width: 90%;
}
.library-team-name {
    margin: 5px 10px 0px 0;
    padding: 5px 10px;
    font-size: 18px;
    color: #fcc450;
    background: #000000;
}
.library-team-drivers {
}
.library-team-driver {
    position: relative;
    display: inline-block;
    margin: 5px 10px 5px 0;
    padding: 5px 5px 5px 125px;
    width: calc(50% - 10px);
    height: 80px;
    background: #000000;
    text-decoration: none !important;
    vertical-align: top;
}
.library-team-driver:hover {
    background: #171717;
}
@media (max-width: 768px) {
    .library-team-driver {
        width: calc(100% - 10px);
    }
}
.library-team-driver-image {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    width: 110px;
    background: center center no-repeat;
    background-size: cover;
}


/* Library Right / Inner Pages */
.library-right {
    margin-bottom: 30px;
    font-size: 16px;
    vertical-align: top;
}
@media (max-width: 1100px) {
    .library-right {
        display: inline-block;
        width: 50%;
    }
    .library-right.right {
        margin-left: 30px;
        width: calc(50% - 30px);
    }
    .library-right.full {
        width: 100%;
    }
}
@media (max-width: 640px) {
    .library-right {
        display: block;
        width: 100%;
    }
    .library-right.right {
        margin-left: 0;
        width: 100%;
    }
}
.library-right-pn {
    margin: 0 -10px;
    font-size: 0;
}
.library-right-pn.s {
    margin-top: 10px;
}
.library-right-pn a {
    display: inline-block;
    margin: 0 10px;
    padding: 10px;
    width: calc(50% - 20px);
    font-size: 16px;
    text-align: center;
    background: #242424;
    text-decoration: none;
}
.library-right-pn a:hover {
    color: #242424;
    background: #fcc450;
    text-decoration: none;
}
.library-right-pn a.full {
    width: calc(100% - 20px);
}
.library-race-series {
    display: block;
    position: relative;
    margin-top: 5px;
    padding: 10px 15px 10px 70px;
    min-height: 58px;
    line-height: 19px;
    font-size: 16px;
    text-align: right;
    background: #000000;
    text-decoration: none !important;
}
.library-race-series:hover {
    background: #242424;
    text-decoration: none !important;
}
.library-race-series img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    margin: auto;
    width: 50px;
    height: 30px;
}
.library-track-series {
    display: block;
    position: relative;
    margin-top: 5px;
    padding: 8px 13px;
    min-height: 50px;
    font-size: 0;
    background: #000000;
}
.library-track-series img {
    margin: 2px;
    width: 50px;
    height: 30px;
}

@media (max-width: 1100px) {
    .library-race-series,
    .library-track-series {
        margin-top: 0;
    }
}

.library-race-date {
    position: absolute;
    padding: 3px 6px;
    top: 10px;
    right: 10px;
    font-size: 14px;
    color: #ffffff;
    background: rgba(0, 0,  0, .75);
}

.library-driver-stats {
    position: absolute;
    top: 8px;
    right: 8px;
}
.library-driver-stat-item {
    display: inline-block;
    margin-left: 5px;
    padding-top: 22px;
    width: 34px;
    height: 34px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}
.library-driver-stat-item figure {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 20px;
    height: 20px;
}


/* Library Right / News */
.library-news {
    display: inline-block;
    margin: 10px 10px 0 0;
    width: calc(100% - 10px);
    height: 40px;
    border-bottom: 1px solid #000000;
    overflow: hidden;
}
.library-news img {
    position: absolute;
    top: 2px;
    left: 0;
    width: 46px;
}
.library-news-header {
    display: block;
    padding: 0 0 5px 60px;
    width: 100%;
    height: 40px;
    font-size: 14px;
    overflow: hidden;
}
@media (max-width: 1100px) {
    .library-news {
        width: calc(33.33333333% - 15px);
    }
}
@media (max-width: 768px) {
    .library-news {
        width: calc(50% - 15px);
    }
}
@media (max-width: 640px) {
    .library-news {
        width: calc(100% - 10px);
    }
}


/* Library Lists */
.library-list-item {
    display: inline-block;
    margin: 0 30px 30px 0;
    width: calc(25% - 30px);
    background: #171717;
    vertical-align: top;
}
@media (max-width: 1024px) {
    .library-list-item {
        width: calc(33.33333333% - 30px);
    }
}
@media (max-width: 768px) {
    .library-list-item {
        margin: 0 10px 10px 0;
        width: calc(33.33333333% - 10px);
    }
}
@media (max-width: 640px) {
    .library-list-item {
        width: calc(50% - 10px);
    }
}
.library-list-item-name {
    display: block;
    padding: 8px 10px 6px 10px;
    height: 44px;
    line-height: 15px;
    font-size: 15px;
    background: rgba(0, 0,  0, .75);
}
.library-list-item-name a {
    display: block;
}
.library-list-item-image {
    width: 100%;
    height: auto;
    background-position: center center;
    background-size: cover;
}
.library-list-item-image:after {
    display: block;
    padding-top: 67%;
    content: '';
}
.library-list-item-data {
    padding: 8px;
    font-size: 0;
    height: 36px;
    background: rgba(0, 0,  0, .75);
}
.library-list-item-data img {
    margin: 0 2px;
    max-width: 18%;
    height: 20px;
}


/* Site Header */
.site-header {
    width: 100%;
    height: 65px;
    background: #ffffff;
}
.site-logo {
    position: absolute;
    width: 238px;
    height: 65px;
    background: #242424;
}
.site-logo img {
    position: absolute;
    bottom: 0;
    left: 30px;
    width: 165px;
    height: 45px;
}
@media (max-width: 768px) {
    .site-logo img {
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.site-menu {
    position: absolute;
    top: 0;
    left: 260px;
    height: 65px;
    font-size: 0;
}
.site-menu a {
    display: block;
    padding: 10px 20px;
    color: #242424;
    text-decoration: none;
    white-space: nowrap;
}
.site-menu a:hover {
    background: #e0e0e0;
    text-decoration: none;
}
.site-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #242424;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}
.site-menu ul li {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0 8px;
    line-height: 65px;
    font-size: 18px;
    font-weight: 300;
    text-transform: uppercase;
    cursor: default;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.site-menu ul li:hover {
    background: #f0f0f0;
}
.site-menu ul li ul {
    position: absolute;
    display: none;
    top: 65px;
    left: 0;
    background: #f0f0f0;
    z-index: 15;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.site-menu ul li ul li {
    display: block;
    padding: 0;
    min-width: 160px;
    line-height: 22px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.site-menu ul li:hover > ul {
    display: block;
}
.site-menu-mobile-overlay {
    display: none;
    position: fixed;
    z-index: 97;
    top: 65px;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .6);
}
.site-menu-mobile {
    display: none;
    top: 17px;
    width: 40px;
    height: 50px;
    cursor: pointer;
}
#site-menu-mobile {
}
#site-menu-mobile span {
    display: block;
    position: absolute;
    height: 6px;
    width: 50%;
    background: #444444;
    opacity: 1;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
#site-menu-mobile span:nth-child(even) {
    left: 50%;
    border-radius: 0;
}
#site-menu-mobile span:nth-child(odd) {
    left: 0;
    border-radius: 0;
}
#site-menu-mobile span:nth-child(1), #site-menu-mobile span:nth-child(2) {
    top: 0;
}
#site-menu-mobile span:nth-child(3), #site-menu-mobile span:nth-child(4) {
    top: 12px;
}
#site-menu-mobile span:nth-child(5), #site-menu-mobile span:nth-child(6) {
    top: 24px;
}
#site-menu-mobile.open span:nth-child(1),#site-menu-mobile.open span:nth-child(6) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
#site-menu-mobile.open span:nth-child(2),#site-menu-mobile.open span:nth-child(5) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
#site-menu-mobile.open span:nth-child(1) {
    left: 5px;
    top: 8px;
}
#site-menu-mobile.open span:nth-child(2) {
    left: calc(50% - 5px);
    top: 8px;
}
#site-menu-mobile.open span:nth-child(3) {
    left: -50%;
    opacity: 0;
}
#site-menu-mobile.open span:nth-child(4) {
    left: 100%;
    opacity: 0;
}
#site-menu-mobile.open span:nth-child(5) {
    left: 5px;
    top: 18px;
}
#site-menu-mobile.open span:nth-child(6) {
    left: calc(50% - 5px);
    top: 18px;
}
@media (min-width: 990px) {
    #site-menu {
        display: block;
    }
}
@media (max-width: 990px) {
    .site-menu-mobile {
        display: inline-block;
    }
    #site-menu {
        display: none;
    }
    .site-menu {
        width: calc(100% - 370px);
    }
    .site-menu a:hover {
        /*background: transparent;*/
    }
    .site-menu ul {
        z-index: 99;
        position: fixed;
        top: 65px;
        bottom: 0;
        left: 238px;
        right: 0;
        padding: 0;
        background: #242424;
        overflow: auto;
    }
    .site-menu ul li {
        display: block;
        padding: 10px 10px 10px 20px;
        line-height: 40px;
        font-weight: 700;
        background: #f0f0f0;
    }
    .site-menu ul li ul {
        display: block;
        position: relative;
        top: auto;
        padding: 0;
    }
    .site-menu ul li ul li {
        font-weight: 300;
    }
}


.site-user {
    position: absolute;
    right: 0;
    height: 65px;
    font-size: 0;
    overflow: hidden;
}
.site-enter {
    margin: 20px 30px 0 0;
    width: 300px;
    height: 45px;
    line-height: 48px;
    font-size: 26px;
    color: #000000;
    text-align: center;
    text-transform: uppercase;
    background: #f8931f;
    cursor: pointer;
}
.site-enter:hover {
    color: #ffffff;
    background: #242424;
}
.site-enter span,
.site-enter ins {
    display: inline-block;
    min-width: 26px;
    height: 45px;
    vertical-align: top;
}
.site-enter ins img {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 26px;
    height: 26px;
    border-radius: 2px;
    opacity: .7;
}
@media (max-width: 1100px) {
    .site-enter {
        margin-right: 0;
        width: 280px;
    }
}
@media (max-width: 768px) {
    .site-enter {
        margin-top: 0;
        width: 130px;
        height: 65px;
        line-height: 65px;
    }
    .site-enter span {
        display: block;
        height: auto;
        line-height: 40px;
    }
    .site-enter ins {
        height: 18px;
    }
    .site-enter ins img {
        position: relative;
        width: 18px;
        height: 18px;
    }
}

.site-exit {
    display: inline-block;
    width: 31px;
    height: 65px;
    background: url('/i/ico_exit.png') center center no-repeat #e0e0e0;
    cursor: pointer;
}
.site-exit:hover {
    background-color: #f8931f;
}
.site-avatar {
    display: inline-block;
    width: 65px;
    height: 65px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.site-user-data {
    display: inline-block;
    width: 234px;
    height: 65px;
    text-align: right;
    color: #444444;
    cursor: pointer;
    text-transform: uppercase;
}
.site-user-data:hover {
    background: #f0f0f0;
}
.site-user-data a {
    text-decoration: none;
}
.site-user-name {
    position: absolute;
    top: 10px;
    right: 30px;
    font-size: 14px;
}
.site-user-name a {
    display: block;
    font-size: 12px;
    color: #f8931f;
    text-decoration: none;
}
.site-user-name a:hover {
    color: #111111;
    text-decoration: none;
}
.site-user-info {
    position: absolute;
    bottom: 8px;
    right: 30px;
    font-size: 12px;
    font-weight: 300;
    color: #808080;
}
.site-user-messages {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    padding: 5px 10px;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none;
    background: #d0d0d0;
}
.site-user-messages:hover {
    background: #f8931f;
}

@media (max-width: 1100px) {
    .site-user {
        padding-right: 30px;
    }
    .site-exit {
        width: 40px;
    }
    .site-user-data {
        display: none;
    }
}
@media (max-width: 990px) {
    .site-user-data {
        display: inline-block;
        width: 200px;
    }
    .site-user-name {
        right: 15px;
    }
    .site-user-info {
        right: 15px;
    }
    .site-user-info span {
        display: none;
    }
}
@media (max-width: 768px) {
    .site-user {
        padding-right: 0;
    }
    .site-avatar {
        width: 70px;
    }
    .site-user-data {
        display: none;
    }
    .site-exit {
        width: 60px;
    }
}

/* Top Stories */
.top-story-holder {
    display: table;
    width: 100%;
    font-size: 0;
    overflow-x: hidden;
    overflow-y: hidden;
}
.top-story-main {
    display: table-cell;
    height: 500px;
    vertical-align: top;
    transition: margin-bottom .2s linear;
}
.top-story {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-decoration: none !important;
}
.top-story.active {
    display: block;
}
.top-story-image {
    display: block;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.top-story-announce {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 40px 15px 130px;
    padding: 15px 40px 15px 40px;
    min-height: 54px;
    color: #ffffff;
    background: rgba(0,0,0,0.65);
}
.top-story:hover > .top-story-announce {
    color: #fcc450;
    text-decoration: none;
}
.top-stroy-icon {
    position: absolute;
    top: 15px;
    top: -90px;
    left: 40px;
    box-sizing: border-box;
    background: rgba(0,0,0,0.65);
    padding: 2px 10px;
    
}
.top-stroy-icon img {
    width: 120px;
    /*height: 40px;*/
}
.top-story-header {
    padding-bottom: 10px;
    font-size: 26px;
    font-weight: 700;
}
.top-story-text {
    font-size: 16px;
}

.top-story-links {
    display: table-cell;
    width: 330px;
    height: 420px;
    vertical-align: top;
    overflow: hidden;
    box-sizing: border-box;
}
.top-story-links-holder {
    padding-left: 30px;
    max-height: 500px;
}
.top-story-links-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 34px;
    width: 2px;
    height: 100%;
    background: #808080;
}
.top-story-link {
    display: inline-block;
    padding-left: 30px;
    width: 100%;
    vertical-align: top;
    box-sizing: border-box;
}
.top-story-link ins {
    position: absolute;
    top: 10px;
    left: -2px;
    width: 14px;
    height: 14px;
    background: #cccccc;
    border-radius: 50%;
    box-sizing: border-box;
}
.top-story-link ins ins {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 10px;
    height: 10px;
    background: #242424;
    border-radius: 50%;
    box-sizing: border-box;
}
.top-story-link ins.active {
    background: #ffffff;
}
.top-story-link ins.active ins {
    background: #ffdb66;
    border: 2px solid #242424;
}
.top-story-link article {
    display: block;
    padding: 10px;
    width: 100%;
    height: 100%;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    box-sizing: border-box;
}
.top-story-link article:hover {
    color: #fcc450;
    background: #000000;
}
.top-story-link article span {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #cccccc;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .top-story-holder {
        display: block;
        height: auto;
    }
    .top-story-main {
        display: block;
        margin-bottom: 115px;
        width: 100%;
        height: auto;
    }
    .top-story-main:after {
        display: block;
        padding-top: 43%;
        content: '';
    }
    .top-story-announce {
        position: relative;
        margin-bottom: 70px;
    }
    .top-story-links-holder {
        padding-left: 0;
    }
    .top-story-links {
        display: block;
        width: calc(100% + 10px);
        height: auto;
    }
    .top-story-links-line {
        display: none;
    }
    .top-story-link {
        margin-right: 10px;
        margin-bottom: 10px;
        padding: 0;
        width: calc(33.33333333% - 10px);
        height: 76px;
        background: #303030;
    }
    .top-story-link div {
        max-height: 40px;
        overflow: hidden;
    }
    .top-story-link.hide {
        display: none;
    }
    .top-story-link ins {
        left: auto;
        right: 10px;
    }
}

@media (max-width: 768px) {
    .top-story-main {
        margin-bottom: 100px;
    }
    .top-story-announce {
        padding: 15px 20px 15px 20px;
    }
    .top-stroy-icon {
        position: absolute;
        top: 12px;
        top: -67px;
        left: 15px;
    }
    .top-stroy-icon img {
        width: 84px;
        height: 48px;
    }
    .top-story-header {
        font-size: 18px;
        margin-bottom: 5px;
    }
    .top-story-text {
        font-size: 14px;
    }
    .mainArea {
        padding: 0;
    }
    .top-story-main:after {
        padding-top: 50%;
    }
    
    
    .top-story-links-holder {
        padding: 0 10px;
    }
    .top-story-link {
        width: calc(50% - 10px);
    }
}

/* Home News */
.news-holder {
    width: 100%;
    font-size: 0;
}
.news-holder.library {
    width: calc(100% + 30px);
}
@media (max-width: 1280px) {
    .news-holder {
        width: calc(100% + 30px);
    }
}
.news-item {
    display: inline-block;
    margin-right: 30px;
    margin-bottom: 30px;
    width: calc(25% - 30px);
    font-size: 12px;
    background: #ffffff;
    vertical-align: top;
}
.news-item.newstube {
    width: calc(33.3333333333% - 30px);
}
@media (max-width: 1280px) {
    .news-item {
        width: calc(25% - 30px) !important;
    }
    .news-item.off {
        display: none;
    }
}
@media (max-width: 1100px) {
    .news-item {
        width: calc(33.33333333% - 30px) !important;
    }
    .news-item.off {
        display: inline-block;
    }
}
@media (max-width: 640px) {
    .news-holder, .news-holder.library {
        width: calc(100% + 10px);
    }
    .news-item {
        margin-right: 10px;
        margin-bottom: 10px;
        width: calc(50% - 10px) !important;
    }
}
.news-image {
    display: block;
    width: 100%;
    height: auto;
    background-position: top center;
    background-size: cover;
}
.news-image:after {
    display: block;
    padding-top: 73.7%;
    content: '';
}
.news-data {
    display: block;
    background: #f0f0f0;
    height: 90px;
}
.news-data-title {
    padding: 15px 20px 0 20px;
    max-height: 50px;
    overflow: hidden;
}
.news-data-title a {
    line-height: 18px;
    font-size: 16px;
    color: #252525;
}
.news-data-date {
    position: absolute;
    left: 20px;
    bottom: 14px;
    width: 145px;
    line-height: 17px;
    font-size: 10px;
    color: #808080;
    text-transform: uppercase;
}
.news-data-stats {
    position: absolute;
    bottom: 15px;
    right: 20px;
}
.news-data-stats-item {
    float: right;
    margin-left: 10px;
    padding-left: 22px;
    line-height: 17px;
    font-size: 10px;
    font-weight: 700;
    color: #808080;
}
.news-data-stats-item figure {
    position: absolute;
    left: 0;
    width: 17px;
    height: 17px;
}
.news-data-series {
    position: absolute;
    bottom: 80px;
    right: 5px;
    padding: 3px;
    background: rgba(0,0,0,0.8);
}
.news-data-series img {
    width: 70px;
    height: 40px;
}
@media (max-width: 1100px) {
    /*.news-data {*/
        /*position: absolute;*/
        /*bottom: 0;*/
        /*width: 100%;*/
        /*background: rgba(255, 255, 255, .75);*/
    /*}*/
}
@media (max-width: 640px) {
    .news-data {
        position: relative;
        bottom: auto;
        height: 60px;
    }
    .news-data-title a {
        line-height: 16px;
        font-size: 14px;
    }
    .news-data-date {
        display: none;
    }
    .news-data-stats {
        display: none;
    }
    .news-data-series {
        bottom: 50px;
    }
}

/* Home YouTube */
.home-youtube {
    margin: 1px -4px 0 -4px;
    width: calc(100% + 8px);
    font-size: 0;
}
.home-youtube-item {
    display: inline-block;
    margin: 0 4px 6.5px 4px;
    width: calc(100% - 8px);
    height: 168px;
    opacity: 1;
    overflow: hidden;
}
.home-youtube-item iframe {
    position: absolute;
    top: -16px;
    width: 100%;
    height: 200px;
}
@media (max-width: 1280px) {
    .home-youtube {
        margin: 1px 0 0 -10px;
        width: calc(100% + 20px);
    }
    .home-youtube-item {
        margin: 0 10px 20px 10px;
        width: calc(33.3333333333% - 20px);
        height: auto;
    }
    .home-youtube-item:after {
        display: block;
        padding-top: 51%;
        content: '';
    }
    .home-youtube-item iframe {
        top: 0;
        height: 100%;
    }
    .home-youtube-item.off {
        display: none;
    }
    
}
@media (max-width: 1100px) {
    .home-youtube-item {
        width: calc(50% - 20px);
    }
}
@media (max-width: 690px) {
    .home-youtube-item {
        width: calc(100% - 20px);
    }
}


/* Home Gallery */
.home-images {
    margin: -4px -4px 0 -4px;
    width: calc(100% + 8px);
    font-size: 0;
}
.home-images-item {
    display: inline-block;
    margin: 4px;
    width: calc(16.6666666666% - 8px);
    height: auto;
    background-size: cover;
    opacity: 1;
}
.home-images-item:after {
    display: block;
    padding-top: 72%;
    content: '';
}
@media (max-width: 1100px) {
    .home-images-item {
        display: inline-block;
        width: calc(20% - 8px);
    }
}
@media (max-width: 768px) {
    .home-images-item {
        display: inline-block;
        width: calc(25% - 8px);
    }
}
.home-images-hidden {
    display: none;
}
@media (max-width: 1100px) {
    .home-images-hidden {
        display: inline-block;
    }
}

/* RACING RESULTS */
.standings-holder {
    margin: 0 -20px;
    font-size: 0;
}
.standings {
    display: inline-block;
    padding: 0 20px 20px 20px;
    width: 16.6666666666%;
    font-size: 14px;
}
@media (max-width: 1100px) {
    .standings {
        width: 33.33333333%;
    }
}
@media (max-width: 768px) {
    .standings-holder {
        margin: 0 -10px;
    }
    .standings {
        width: 50%;
    }
}
@media (max-width: 640px) {
    .standings {
        width: 50%;
    }
}
.standings td {
    padding-bottom: 5px;
    width: 1px;
}
.standings td.name {
    width: auto;
}
.standings-header {
    margin-bottom: 10px;
    height: 30px;
    line-height: 30px;
    font-size: 20px;
}
.standings-header img {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0; 
    width: 50px;
    height: 28px;
    margin: auto;
}

/* RACING SCHEDULE */
.upcoming {
    margin: 30px -30px 0 -30px;
    padding: 20px 0;
    font-weight: 300;
    color: #ffffff;
    text-align: center;
    background: #f0f0f0;
}

.upcoming-title {
    padding: 0 0 20px 0;
    text-transform: uppercase;
}
.upcoming-holder {
    margin: 0 15px;
    font-size: 0;
}
.upcoming-holder.inner {
    margin: 0 -10px;
    font-size: 0;
}
.upcoming-item {
    display: inline-block;
    padding: 0 10px;
    width: 20%;
    height: 110px;
    color: #ffffff;
}
.upcoming-item.jumper {
    display: none;
}
.upcoming-item-holder {
    position: absolute;
    top: 0;
    bottom: 20px;
    left: 10px;
    right: 10px;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    background: #222222;
    text-align: right;
}
.upcoming-item-holder.inner {
    background: #111111;
}
.upcoming-item img {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 53px;
    height: 30px;
}
.upcoming-item span {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
}
@media (max-width: 1100px) {
    .upcoming-item {
        width: 33.33333333%;
    }
    .upcoming-item.jumper {
        display: inline-block;
    }
}
@media (max-width: 768px) {
    .upcoming-holder {
        margin: 0 10px;
        padding-bottom: 20px;
    }
    .upcoming {
        margin: 30px 0 0 0;
        
    }
    .upcoming-item {
        padding: 0 5px;
        width: calc(50% - 5px);
    }
    .upcoming-item-holder {
        position: absolute;
        top: 0;
        bottom: 10px;
        left: 5px;
        right: 5px;
    }
}

/* SELECTORS AND FILTERS */
.upcoming-selector {
    display: table;
    padding: 20px;
    width: 100%;
    background: #171717;
}
.upcoming-selector-click {
    display: table-cell;
    padding: 10px;
    text-align: center;
    cursor: pointer;
}
.upcoming-selector-click img {
    width: 100%;
    max-width: 120px;
}
.upcoming-selector-click:hover {
    background: #000000;
}
.upcoming-selector-click.active {
    background: #444444;
}
@media (max-width: 1100px) {
    .upcoming-selector {
        display: block;
        padding: 12px;
        text-align: center;
    }
    .upcoming-selector-click {
        display: inline-block;
        width: 25%;
    }
}
@media (max-width: 640px) {
    .upcoming-selector {
        padding: 12px;
    }
    .upcoming-selector-click img {
        width: 90px;
    }
}


/* PAGE FILTER */
.library-filter {
    display: table;
    padding: 20px;
    width: 100%;
    font-size: 0;
    background: #171717;
}
.library-filter-block {
    display: table-cell;
    padding-right: 20px;
    vertical-align: top;
}
.library-filter-block.click {
    padding: 0;
    width: 80px;
}
.library-filter-buttons {
    width: 240px;
    text-align: right;
}
@media (max-width: 768px) {
    .library-filter-block, .library-filter-block.click {
        display: block;
        margin-bottom: 10px;
        padding: 0;
        width: 100%;
    }
    .library-filter-buttons {
        margin-top: 20px;
        width: 100%;
        text-align: center;
    }
}
/* LETTERS FOR USERS */
.library-filter-letter {
    display: inline-block;
    margin: 5px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    text-align: center;
    background: #000000;
}
.library-filter-letter.active {
    color: #242424;
    background: #fcc450;
}
.library-filter-letter:hover {
    color: #f0f0f0;
    background: #242424;
    text-decoration: none !important;
}

/* SCHEDULE */
.results-holder {
    width: calc(100% + 10px);
    font-size: 0;
}
/*
@media (max-width: 1100px) {
    .results-holder {
        width: calc(100% + 30px);
    }
}
*/
.result-item {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
    width: calc(25% - 10px);
    background: #444444;
    vertical-align: top;
}
@media (max-width: 1280px) {
    .result-item {
        width: calc(33.33333333% - 10px);
    }
}
@media (max-width: 767px) {
    .result-item {
        margin-right: 10px;
        margin-bottom: 10px;
        width: calc(50% - 10px);
    }
}
.result-item-href {
    position: absolute;
    z-index: +1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.result-item-image {
    width: 100%;
    background-position: center center;
    background-size: cover;
}
.result-item-image:after {
    display: block;
    padding-top: 80%;
    /*padding-top: 105%;*/
    content: '';
}
.result-item-image:hover a {
    color: #ffffff;
}
.result-item-image:hover span {
    background: #111111;
}
.result-item-series {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 66px;
    height: 40px;
    background: rgba(0, 0,  0, .75);
}
.result-item-series img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 50px;
    height: 30px;
}
.result-item-race {
    display: block;
    position: absolute;
    padding: 5px 10px;
    bottom: 35px;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 15px;
    background: rgba(0, 0,  0, .75);
}
.result-item-race a {
    display: block;
    text-decoration: none !important;
}
.result-item-date {
    position: absolute;
    padding: 3px 6px;
    top: 10px;
    right: 10px;
    font-size: 14px;
    color: #ffffff;
    background: rgba(0, 0,  0, .75);
}
.result-item-data {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 10px 10px 35px;
    height: 35px;
    font-size: 14px;
    color: #fcc450;
    background: #000000;
}
.result-item-data.car {
    padding-left: 52px;
}
.result-item-data figure {
    position: absolute;
    top: 1px;
    bottom: 0;
    left: 10px;
    margin: auto;
    width: 18px;
    height: 18px;
}
.result-item-data figure.car {
    width: 34px;
    height: 34px;
}

.result-item-data-info {
    position: absolute;
    top: 0;
    left: 0;
}
.result-item-data-track {
    position: absolute;
    top: 20px;
    lefT: 0;
}

/* Tags For Everything and Page */
.tag-holder {
    padding: 20px;
    background: #171717;
}
.tag {
    display: inline-block;
    position: relative;
    padding: 5px 10px 5px 30px;
    line-height: 20px;
    font-size: 14px;
    color: #fcc450;
    background: url('/i/icon-tag.svg') 8px center no-repeat #202020;
    background-size: 14px 14px;
    cursor: pointer;
}
.tag:hover {
    background-color: #303030;
}
.tag figure {
    position: absolute;
    top: 7px;
    left: 8px;
    width: 14px;
    height: 14px;
}
.tag.nodelete {
    color: #f0f0f0;
    background-color: #202020;
    cursor: default;
}
.tag-block {
    display: inline-block;
    position: relative;
    margin: 10px 5px 0 0;
    height: 30px;
    background: #00a000;
}
.tag-block.a {
    padding-left: 30px;
}
.tag-remove {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    background: #a00000;
    cursor: pointer;
}

.tags-image-bg {
    padding: 30px;
    text-align: center;
    background-color: #000000;
}
.tags-image-top {
    position: relative;
    display: inline-block;
    max-width: 1024px;
    color: #f0f0f0;
    text-align: center;
}
.tags-image-top:hover {
    color: #fcc450;
}
.tags-image-top img {
    max-width: 100%;
}
.tags-image-top-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 10px 20px;
    font-size: 24px;
    font-weight: 300;
    text-align: left;
    background: rgba(0, 0, 0, .7);
}
@media (max-width: 767px) {
    .tags-image-top-info {
        bottom: 12px;
        left: 12px;
        right: 12px;
    }
}
.tags-image-top-info-flag {
    position: absolute;
    bottom: 10px;
    right: 20px;
}
.tags-image-top-info-flag img {
    height: 30px;
}

/* Related Stuff Holder */
.related {
    margin-bottom: 30px;
    font-size: 0;
    text-align: center;
}
.related-button {
    display: inline-block;
    margin: 0 5px;
    padding: 10px 20px;
    width: 130px;
    font-size: 18px;
    color: #f0f0f0;
    background: #303030;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
}
.related-button:hover {
    color: #fcc450;
}
.related-button.active {
    color: #242424;
    background: #fcc450;
}
.related-button.disabled {
    opacity: .5;
}
.related-submit {
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    font-size: 18px;
    color: #fcc450;
    background: #242424;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
}
.related-submit:hover {
    color: #242424;
    background: #fcc450;
}
.related-submit.commentary {
    margin-bottom: 30px;
}

.related-form {
    display: none;
    padding: 66px 0 0 0;
    width: 100%;
    min-height: 220px;
    font-size: 16px;
    background: #242424;
}
.related-form-holder, .related-form textarea {
    padding: 0 20px 20px 20px;
    width: 100%;
    min-height: 140px;
    font-size: 16px;
}
.related-form-holder.images {
    padding: 0 10px 10px 10px;
}
.related-form-holder.videos {
    display: table;
    padding-top: 4px;
}
.related-form-format {
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    padding: 10px 18px;
    height: 46px;
    line-height: 26px;
    background: #000000;
}
.related-form-counter {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px 20px;
    height: 46px;
    line-height: 26px;
    font-size: 12px;
}
.related-form-preview-hide {
    display: none;
    padding: 20px;
    background: #101010;
}
.related-form-preview {
    padding-top: 20px;
    width: 100%;
    border-top: 2px solid #202020;
}
.related-form-preview-text {
    padding: 20px 0;
}
.related-image-holder {
    display: inline-block;
    padding: 10px;
    width: 25%;
    vertical-align: top;
}
.related-image-holder textarea {
    padding: 10px;
    min-height: 100px;
    font-size: 14px;
    background: #101010;
}
.related-tags {
    padding: 5px 10px;
    width: 100%;
    font-size: 14px;
    color: #fcc450;
    background: #171717;
    border: 0;
}
.related-image-preview {
    width: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.related-image-preview:after {
    display: block;
    padding-top: 65%;
    content: '';
}
@media (max-width: 1100px) {
    .related-image-holder {
        width: 33.33333333%;
    }
}
@media (max-width: 768px) {
    .related-form-holder.images {
        padding: 0 0 10px 0;
    }
    .related-image-holder {
        width: 50%;
    }
}

.related-video-image, .related-video-info, .related-video-tags {
    display: table-cell;
    vertical-align: top;
}
.related-video-image {
    width: 420px;
}
.related-video-tags {
    width: 300px;
}
.related-video-image-holder {
    width: 420px;
    height: 240px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.related-video-info {
    padding: 0 20px;
}
@media (max-width: 1100px) {
    .related-video-image, .related-video-info, .related-video-tags {
        display: block;
        padding: 10px 0;
        width: auto;
    }
    .related-video-image-holder {
        width: 100%;
        background-size: contain;
    }
}

.related-tag-suggest {
    display: none;
    position: absolute;
    z-index: +1;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 278px;
    background: rgba(0, 0, 0, .7);
    overflow: hidden;
}
.related-tag-suggest.video {
    top: 26px;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
}
@media (max-width: 1100px) {
    .related-tag-suggest.video {
        top: -200px;
        bottom: auto;
        height: 210px;
    }
}
.related-tag-suggest li {
    margin: 0;
    padding: 5px 10px 5px 30px;
    font-size: 14px;
    color: #f0f0f0;
    background: url('/i/icon-tag.svg') 8px center no-repeat;
    background-size: 14px 14px;
    list-style: none;
    cursor: pointer;
}
.related-tag-suggest li:hover {
    color: #fcc450;
    background-color: #404040;
}

/* Media Gallery */
.media-holder {
    margin: -5px -10px 0 -10px;
    font-size: 0;
}
.media-item {
    position: relative;
    display: inline-block;
    margin: 10px;
    width: calc(16.66666666666667% - 20px);
    font-size: 14px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #000000;
    cursor: pointer;
}
.media-item:after {
    display: block;
    padding-top: 72%;
    content: '';
}
@media (max-width: 768px) {
    .media-holder {
        margin: 0 10px;
    }
    .media-item {
        margin: 5px;
        width: calc(33.333333333333% - 10px);
    }
}

.media-item.videos {
    margin-bottom: 50px;
    width: calc(25% - 20px);
}
@media (max-width: 1024px) {
    .media-item.videos {
        margin: 5px 5px 50px 5px;
        width: calc(33.333333333333% - 10px);
    }
}
@media (max-width: 768px) {
    .media-item.videos {
        width: calc(50% - 10px);
    }
}

.media-item-play {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 40px;
    height: 40px;
}
.media-item-play path {
    fill: rgba(255, 255, 255, .5);
}

.media-item:hover .media-item-play path {
    fill: rgba(252, 196, 80, .8);
}
.media-player {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .9);
    overflow: auto;
}
.media-player-holder {
    margin: 0 auto;
    max-width: 1260px;
}
.media-player-code {
    padding: 30px 0;
    width: 100%;
}
.media-player-code iframe {
    display: block;
    margin: 0 auto;
    max-width: 100% !important;
}
.media-player-close {
    display: block;
    margin: 0 auto 30px auto;
    padding: 10px 20px;
    width: 160px;
    font-size: 18px;
    color: #242424;
    background: #fcc450;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
}
.media-player-close:hover {
    color: #fcc450;
    background: #242424;
}
@media (max-width: 768px) {
    .media-player-code {
        height: calc(100vh - 49px - 38px);
    }
    .media-player-close {
        position: absolute;
        bottom: 30px;
        left: 0;
        right: 0;
        margin: auto;
    }
}
.media-item-link {
    position: absolute;
    bottom: -44px;
    left: 0;
    right: 0;
    padding: 10px 12px; 
    height: 50px;
    font-size: 14px;
    color: #242424;
    background: #f0f0f0;
    overflow: hidden;
}
.media-item-link:hover {
    text-decoration: underline;
}


/* Game */
.game-leagues {
    display: table;
    width: 100%;
    background: #171717;
}
.game-leagues a {
    display: table-cell;
    padding: 20px 5px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
}
.game-leagues a span {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    color: #fcc450;
    text-decoration: none !important;
}
.game-leagues a:hover {
    background: #1c1c1c;
}
.game-leagues a.active {
    background: #000000;
}
.game-leagues a img {
    max-width: 90px;
}
@media (max-width: 768px) {
    .game-leagues a img {
        width: 50px;
    }
    .game-leagues a span {
        font-size: 14px;
    }
}

.game-result {
    display: block;
    position: relative;
    margin-top: 10px;
    padding: 10px 15px;
    min-height: 58px;
    font-size: 14px;
    background: #000000;
    text-decoration: none !important;
}
.game-result-info {
    margin: 5px 0 10px 0;
    height: 40px;
    font-weight: bold;
    text-align: center;
}
.game-result-info img {
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 50px;
    height: 30px;
}
.game-result-info span {
    position: absolute;
    bottom: -10px;
    right: -5px;
    width: 40px;
    height: 40px;
    line-height: 41px;
    font-size: 26px;
    color: #f0f0f0;
    background: #242424;
}
.game-result-info div {
    position: absolute;
    bottom: -10px;
    right: 35px;
    font-size: 0;
}
.game-result-info div small {
    display: inline-block;
    margin-right: 5px;
    width: 20px;
    height: 40px;
    line-height: 42px;
    font-size: 14px;
    color: #fcc450;
    background: #404040;
}

.game-track {
    padding-right: 80px;
}
.game-track img {
    z-index: 2;
    position: absolute;
    top: 7px;
    right: 0;
    height: 51px;
}

.game-choices {
    margin: -20px;
    padding: 10px;
    font-size: 0;
    text-align: center;
    background: #171717;
}
@media (max-width: 768px) {
.game-choices {
    padding: 20px 5px;
}
}
.game-choice {
    display: inline-block;
    margin: 20px;
    width: calc(33.3333333333% - 40px);
    height: auto;
    background-color: #2a2a2a;
    background-image: url('https://www.racinghub.net/i/noDriverImage.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    border-top: 40px solid #000000;
    border-bottom: 40px solid #fcc450;
}
.game-choice.selected {
    background-size: cover;
    background-position: center center;
}
.game-choice:after {
    content: '';
    display: block;
    padding-top: 130%;
}
.game-choice-option {
    z-index: 1;
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    font-weight: bold;
    font-style: oblique;
    color: #242424;
    background-color: #fcc450;
}
.game-choice-click {
    z-index: 2;
    position: absolute;
    top: -40px;
    bottom: -40px;
    left: 0;
    right: 0;
    padding-top: 12px;
    font-size: 16px;
    font-weight: bold;
    color: #f0f0f0;
    cursor: pointer;
}
.game-choice-click:hover {
    background-color: rgba(0, 0, 0, .2);
}
.game-choice-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 10px;
    height: 30px;
    line-height: 32px;
    font-size: 14px;
    color: #fcc450;
    background-color: rgba(0, 0, 0, .75);
}

@media (max-width: 768px) {
    .game-choice {
        margin: 5px;
        width: calc(33.3333333333% - 10px);
        border-top: 30px solid #000000;
        border-bottom: 30px solid #fcc450;
    }
    .game-choice-option {
        bottom: -30px;
        height: 30px;
        line-height: 30px;
        font-size: 16px;
    }
    .game-choice-click {
        top: -30px;
        bottom: -30px;
        padding-top: 8px;
        font-size: 12px;
    }
}

.game-modal {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .9);
    overflow: auto;
}
.game-modal-holder {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    max-width: 1260px;
    height: 100%;
    max-height: 100%;
    background: rgba(0, 0, 0, .1);
}
.game-modal-body {
    position: absolute;
    top: 98px;
    bottom: 100px;
    left: 0;
    right: 0;
    padding: 5px;
    font-size: 0;
    overflow: auto;
}
@media (max-width: 768px) {
    .game-modal-body {
        top: 89px;
    }
}
.game-modal-close {
    display: block;
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: auto;
    padding: 10px 20px;
    width: 160px;
    font-size: 18px;
    color: #242424;
    background: #fcc450;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
}
.game-modal-close:hover {
    color: #fcc450;
    background: #242424;
}

.game-driver-select {
    display: inline-block;
    margin: 5px;
    width: calc(20% - 10px);
    background-color: #000000;
    cursor: pointer;
}
.game-driver-select:hover .game-driver-select-name {
    color: #242424;
    background-color: #fcc450;
}
.game-driver-select:hover .game-driver-select-image {
    opacity: .85;
}
@media (max-width: 1100px) {
    .game-driver-select {
        width: calc(25% - 10px);
    }
}
@media (max-width: 768px) {
    .game-driver-select {
        width: calc(33.3333333333% - 10px);
    }
}
@media (max-width: 500px) {
    .game-driver-select {
        width: calc(50% - 10px);
    }
}
.game-driver-select-image {
    height: auto;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.game-driver-select-image:after {
    content: '';
    display: block;
    padding-top: 120%;
}
.game-driver-select-name {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 7px 10px;
    
    font-size: 14px;
    background-color: rgba(0, 0, 0, .75);
}
.game-modal-places-holder {
    z-index: 2;
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: rgba(0, 0, 0, .5);
}
.game-modal-places {
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    margin: auto;
    padding: 10px;
    width: 370px;
    max-width: 370px;
    text-align: center;
    background-color: #000000;
}
.game-modal-places-head {
    margin: -10px -10px 10px -10px;
    text-align: left;
}
.game-modal-places-head h1 {
    font-size: 24px;
}
.game-modal-places-head h2 {
    font-size: 16px;
}
.game-modal-place {
    display: inline-block;
    margin: 5px;
    width: 60px;
    height: 60px;
    line-height: 62px;
    font-size: 28px;
    color: #fcc450;
    background-color: #242424;
    cursor: pointer;
}
.game-modal-place:hover {
    color: #242424;
    background-color: #fcc450;
}
.game-modal-places-close {
    margin: 10px auto;
}



/* Comments on the Website / Global */
.comments {
    font-size: 16px;
    background: #171717;
}
.comment {
    padding: 20px 0;
    border-top: 2px solid #202020;
}
.comment-header {
    padding: 10px;
    background: #202020;
}
.comment-avatar img {
    width: 50px;
    height: 50px;
}
.comment-text, .comment-reply-text {
    margin-top: 20px;
}
.comment-text {
    margin-bottom: 20px;
}
.comment-replies {
    background: #121212;
    transition: height .2s ease-in-out;
}
.comment-reply {
    padding: 20px;
    border-bottom: 2px solid #171717;
}
.comment-reply-header {
    padding: 10px;
    background: #202020;
}
.comment-reply-avatar img {
    width: 30px;
    height: 30px;
}
.comment-info, .comment-reply-info {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 80px;
    margin: auto;
    height: 42px;
    font-size: 22px;
}
.comment-reply-info {
    left: 60px;
    height: 32px;
    font-size: 16px;
}
.comment-info img, .comment-reply-info img {
    margin: 0 3px 3px 0;
    width: 16px;
    height: 16px;
    vertical-align: middle;
}
.comment-info span, .comment-reply-info span {
    display: block;
    font-size: 12px;
}
.comment-rating {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 15px;
    margin: auto;
    width: 70px;
    height: 20px;
}
.comment-answer {
    display: none;
    padding: 20px;
    background: #121212;
}
.comment-answer-image img {
    width: 30px;
    height: 30px;
}
.comment-answer input {
    position: absolute;
    top: 20px;
    left: 60px;
    padding: 0 10px;
    width: calc(100% - 80px);
    height: 30px;
    font-size: 14px;
    color: #f0f0f0;
    background: #242424;
    border: 0;
}
.comment-answer-show {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100px;
    margin: auto;
    padding: 0 10px;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
    color: #fcc450;
    background: #303030;
    text-transform: uppercase;
    cursor: pointer;
}
.comment-answer-show:hover {
    color: #242424;
    background: #fcc450;
}
@media (max-width: 768px) {
    .comment {
        padding-left: 20px;
        padding-right: 20px;
    }
    .comment-avatar img {
        width: 40px;
        height: 40px;
    }
    .comment-info {
        left: 65px;
        height: 36px;
        font-size: 18px;
    }
    .comment-reply-info {
        left: 55px;
        height: 32px;
        font-size: 16px;
    }
    .comment-reply {
        padding: 15px;
    }
    .comment-reply-avatar img {
        width: 30px;
        height: 30px;
    }
    .comment-reply-text {
        margin-top: 15px;
    }
}

/* Top Navigation and Search */
.navigation {
    padding: 0 30px;
    min-height: 31px;
    font-size: 18px;
}
.navigation a {
    display: inline-block;
    padding: 7px 10px 6px 10px;
    height: 31px;
    line-height: 18px;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    background: #404040;
    text-decoration: none;
    text-transform: uppercase;
    border-right: 1px solid #242424;
    vertical-align: top;
}
.navigation a:hover {
    color: #faac38;
    background: #505050;
    text-decoration: none;
}
.navigation a:visited {
    color: #ffffff;
}
.navigation a.active {
    background: #fcc450;
    color: #242424;
}

.search {
    position: absolute;
    z-index: 5;
    top: 0;
    right: 30px;
    width: 300px;
    height: 31px;
    background: #404040;
    transition: width linear .1s;
}
.search input {
    margin: 0;
    padding: 0 15px;
    width: 100%;
    height: 31px;
    line-height: 31px;
    font-size: 14px;
    color: #fcc450;
    background: none;
    border: 0;
    box-sizing: border-box;
}
.search-close {
    position: absolute;
    z-index: 6;
    top: 3px;
    right: 3px;
    width: 25px;
    height: 25px;
    cursor: pointer;
    transition: all 0.3s;
}
.search-close:hover {
    -moz-transform: scale(1.6);
    -webkit-transform: scale(1.6);
    transform: scale(1.6);
}
.search-close-button path {
    fill: #202020;
}
.search-close-button:hover path {
    fill: #fcc450;
}
.search-results {
    display: none;
    position: absolute;
    width: 100%;
    min-height: 30px;
    background: #000000;
}
.search-header {
    padding: 10px 20px;
    font-weight: bold;
    color: #ffffff;
    border-bottom: 1px solid #242424;
}
.search-header.error {
    color: #d00000;
}
.search-item {
}
.search-item a {
    display: block;
    padding: 10px 20px;
    border-bottom: 1px solid #242424;
    transition: padding linear .2s;
}
.search-item a:hover {
    padding: 10px 20px 10px 30px;
    background: #171717;
}
@media (max-width: 1100px) {
    .search {
        width: 280px;
    }
}
@media (max-width: 768px) {
    .navigation {
        padding: 0 10px;
    }
    .search {
        right: 10px;
        width: 120px;
    }
}

/* Race Series Championships */
.champ-selector {
    display: table;
    padding: 20px;
    width: 100%;
    background: #171717;
}
.champ-selector-click {
    display: table-cell;
    padding: 10px;
    text-align: center;
    cursor: pointer;
}
.champ-selector-click img {
    max-width: 99px;
}
.champ-selector-click:hover {
    background: #000000;
}
.champ-selector-click.active {
    background: #444444;
}
@media (max-width: 1100px) {
    .champ-selector {
        display: block;
        padding: 12px;
        text-align: center;
    }
    .champ-selector-click {
        display: inline-block;
        width: 25%;
    }
}
@media (max-width: 767px) {
.champ-selector-click img {
    max-width: 90px;
}
}

/* PopUP */
.pop-up {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 96;
    display: none;
}
.pop-up-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .9);
    z-index: 97;
}
.pop-up-area {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    max-width: 1260px;
    min-height: 420px;
    border-radius: 0;
    z-index: 98;
}
.pop-up-overlay {
    position: absolute;
    z-index: 99;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .8);
}
.pop-up-body-loader {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 66px;
    height: 66px;
}
.pop-up-body {
    width: 100%;
    height: 420px;
    max-height: 420px;
    overflow: auto;
}
.pop-up-frame {
    width: 100%;
    min-height: 420px;
}
.pop-up-zone {
    margin-top: 30px;
    padding: 20px;
    background: #242424;
}
.pop-up-zone.registered {
    margin: 0;
    padding: 0;
    height: calc(100vh - 110px);
    background: transparent;
}
.pop-up-buttons {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    margin: auto;
    height: 30px;
    font-size: 0;
}
.pop-up-buttons a {
    display: inline-block;
    margin-left: 10px;
    padding: 6px 10px 4px 10px;
    line-height: 20px;
    font-size: 16px;
    font-weight: 400;
    color: #fcc450;
    background: #242424;
    text-transform: uppercase;
}
.pop-up-buttons a:hover {
    color: #242424;
    background: #fcc450;
}
@media (min-width: 1260px) {
    .pop-up-buttons {
        right: 0;
    }
}
@media (max-width: 768px) {
    .pop-up-area {
        height: 100vh;
        min-height: 100vh;
    }
    .pop-up-body {
        height: calc(100vh - 70px);
        max-height: calc(100vh - 70px);
    }
    .pop-up-frame {
        width: 100%;
        height: calc(100vh - 70px);
        min-height: calc(100vh - 70px);
    }
}
.pop-up-close {
    display: block;
    margin: 0 auto 30px auto;
    padding: 10px 20px;
    width: 160px;
    font-size: 18px;
    color: #242424;
    background: #fcc450;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
}
.pop-up-close.relative:hover {
    background: #000000;
}
.pop-up-close:hover {
    color: #fcc450;
    background: #242424;
}
@media (max-width: 768px) {
    .pop-up-close {
        position: absolute;
        bottom: 100px;
        left: 0;
        right: 0;
        margin: auto;
    }
    .pop-up-close.relative {
        position: relative;
        bottom: auto;
        margin: 0 auto 30px auto;
    }
}

/* LOGIN & REGISTER AREA */
.login-social {
    margin: 0 -10px;
    font-size: 0;
}
.login-social-button {
    display: inline-block;
    margin: 0 10px;
    width: calc(33.33333333% - 20px);
    height: 60px;
    font-size: 18px;
    background: #000000;
    vertical-align: top;
    cursor: pointer;
}
.login-social-button.facebook {
    background: #35447D;
}
.login-social-button.facebook:hover {
    background: #3b5a9a;
}
.login-social-button.twitter {
    background: #2597CB;
}
.login-social-button.twitter:hover {
    background: #25a8e0;
}
.login-social-button.google {
    background: #BA312F;
}
.login-social-button.google:hover {
    background: #ce3633;
}
.login-social-button img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    width: 40px;
    height: 40px;
    margin: auto;
}
@media (max-width: 750px) {
    .login-social-button {
        display: block;
        margin-bottom: 20px;
        width: calc(100% - 20px);
    }
}
.login-social-button span {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    margin: auto;
    height: 20px;
    line-height: 20px;
}
.login-social-button.off {
    opacity: .5;
    cursor: default;
}

.login-racinghub {
    margin-bottom: 20px;
    padding: 20px;
    background: #000000;
}
.login-racinghub-logo {
    float: left;
    width: 140px;
}
.login-racinghub-logo img {
    margin: -5px auto;
    width: 46px;
    height: 46px;
}
.login-racinghub-input {
    float: left;
    padding: 0 0 0 20px;
    width: calc(50% - 70px - 70px);
}
.login-racinghub-input input.error {
    background: rgba(180, 0, 0, .35);
}
.login-racinghub-button {
    float: left;
    margin-left: 20px;
    padding: 6px 20px;
    width: 120px;
    height: 40px;
    line-height: 24px;
    font-size: 18px;
    color: #242424;
    background: #fcc450;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
}
.login-racinghub-button:hover {
    color: #fcc450;
    background: #242424;
}
.login-racinghub-button:disabled {
    opacity: .5;
    cursor: default;
}
@media (max-width: 768px) {
    .login-racinghub-logo {
        width: 46px;
    }
    .login-racinghub-input {
        width: calc(50% - 23px);
    }
    .login-racinghub-button {
        float: none;
        margin-top: 20px;
        margin-left: 0;
        width: 100%;
    }
}

.login-register {
    display: block;
    float: left;
    margin: 0 0 20px 0;
    width: calc(50% - 10px);
}
.login-register.full {
    width: 100%;
}
.login-register.left {
    margin-right: 10px;
}
.login-register.right {
    margin-left: 10px;
}
.login-register-text {
    position: absolute;
    top: 1px;
    bottom: 1px;
    right: 1px;
    width: 190px;
    font-size: 12px;
}
.login-register-button {
    float: left;
    padding: 6px 20px;
    width: calc(100% + 0px);
    height: 40px;
    font-size: 18px;
    color: #242424;
    background: #fcc450;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
}
.login-register-button:hover {
    color: #fcc450;
    background: #242424;
}
.login-register-button:disabled {
    opacity: .5;
    cursor: default;
}
@media (max-width: 768px) {
    .login-register {
        width: 100%;
    }
    .login-register.left, .login-register.right {
        margin-left: 0;
        margin-right: 0;
    }
    .login-register-button {
        float: none;
        margin-left: 0;
        width: 100%;
    }
}

.login-report {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 75px;
    text-align: center;
}
.login-icon {
    padding: 0 5px 0 10px;
    height: 38px;
    line-height: 40px;
}
.login-icon.red {
    background: rgba(200, 0, 0, .9);
}
.login-icon.green {
    background: rgba(0, 200, 0, .9);
}

/* Administrative */
#svg-icons-cache {
    display: none;
}

#admin-top {
    position: fixed;
    z-index: 99999999;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 100px 10px 20px;
    min-height: 40px;
    line-height: 20px;
    color: #242424;
    background: rgba(252, 196, 80, .8);
}
.admin-top-a {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    margin: auto;
    height: 30px;
}
.admin-top-a a {
    display: inline-block;
    margin-left: 10px;
    padding: 5px 10px;
    height: 30px;
    background: #000000;
}
.admin-top-a a:hover {
    background: #242424;
}

#addon-dimensions {
    /*display: none;*/
    position: fixed;
    z-index: 99999999;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px 0;
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    background: rgba(0, 0, 0, .8) none repeat scroll 0 0;
}


/* Globals */
.margin-minus {
    font-size: 0;
}
@media (max-width: 1100px) {
    .margin-minus {
        margin-left: -10px;
        margin-right: -10px;
    }
}
.home-news-adjust {
    margin-bottom: 10px !important;
}
@media (max-width: 1100px) {
    .home-news-adjust {
        margin-top: -10px !important;
    }
    .hide {
        display: none !important;
    }
}
.hidden {
    display: none !important;
}
.overflow {
    overflow: auto !important;
}
.nooverflow {
    overflow: visible !important;
}
.noselect {
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}
.nopadding {
    padding: 0 !important;
}
.nomargin {
    margin: 0 !important;
}
.clear {
    clear: both !important;
}
.uppercase {
    text-transform: uppercase !important;
}
.text-center {
    text-align: center !important;
}

.m-top {
    margin-top: 30px !important;
}
.m-top-zero {
    margin-top: 0 !important;
}
.m-bottom-zero {
    margin-bottom: 0 !important;
}
.m-bottom {
    margin-bottom: 30px !important;
}

.p-top-zero {
    padding-top: 0 !important;
}
.p-bottom-zero {
    padding-bottom: 0 !important;
}

.p-none {
    padding: 0 !important;
}

/* Scroll Bar */
.scroller {
    scrollbar-width: thin;
    scrollbar-color: #f8931f rgba(0, 0, 0, .6);
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}
.scroller::-webkit-scrollbar {
    width: 6px;
    background-color: transparent;
}
.scroller::-webkit-scrollbar-thumb {
    background-color: #f8931f;
}
.scroller::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, .6);
}

.c-black, .c-black path {
    color: #111111 !important;
    fill: #111111 !important;
}
.c-white, .c-white path {
    color: #ffffff !important;
    fill: #ffffff !important;
}
.c-yellow, .c-yellow path {
    color: #fcc450 !important;
    fill: #fcc450 !important;
}
.c-red, .c-red path {
    color: #d00000 !important;
    fill: #d00000 !important;
}
.c-gray, .c-gray path {
    color: #808080 !important;
    fill: #808080 !important;
}

