@font-face {
    font-family: AnthologY;
    src: local('AnthologY'), url(../fonts/AnthologY.ttf) format('truetype');
    font-display: swap;
}

body {
    font-family: Calibri;
}

::-webkit-scrollbar {
    width: 12px;
    background-color: #4b4b4b;
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-color: #6d6d6d;
}

.rdt-container {
    flex: 1;
    overflow-y: auto;
}

.rdt-container-margin-0 {
    margin-right: 0;
    margin-left: 0;
}

.rdt-content-container {
    background-color: #ffffffa8;
    padding: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
    border-radius: 8px;
}

.rdt-screenshot {
}

    .rdt-screenshot a img {
        width: 100%;
    }

.rdt-logo-text {
    font-family: AnthologY;
    color: #b90000;
    font-weight: normal;
    text-shadow: 4px 4px 4px #000000;
    font-size: 4em;
    line-height: 0.9;
}

@media (min-width: 544px) {
    .rdt-logo-text {
        font-size: 5em;
    }
}

@media (min-width: 768px) {
    .rdt-logo-text {
        font-size: 6em;
    }
}

@media (min-width: 992px) {
    .rdt-logo-text {
        font-size: 7em;
    }
}

@media (min-width: 1200px) {
    .rdt-logo-text {
        font-size: 8em;
    }
}

.navbar-brand.rdt-text {
    font-family: AnthologY;
    color: #b90000;
    font-weight: normal;
    line-height: 0.8;
    margin: 0 0 0 0;
    text-shadow: 4px 4px 4px #000000;
    transition: color .3s ease-in-out;
    -webkit-transition: color .3s ease-in-out;
    -moz-transition: color .3s ease-in-out;
    -o-transition: color .3s ease-in-out;
    font-size: 1.75em;
}

    .navbar-brand.rdt-text:hover {
        color: #ff0000;
        transition: color .1s ease-in-out;
        -webkit-transition: color .1s ease-in-out;
        -moz-transition: color .1s ease-in-out;
        -o-transition: color .1s ease-in-out;
        cursor: pointer;
    }

@media (min-width: 526px) {
    .navbar-brand.rdt-text {
        font-size: 2em;
    }
}

@media (min-width: 768px) {
    .navbar-brand.rdt-text {
        font-size: 2.5em;
    }
}

.rdt-header-text-line-1 {
    display: inline;
}

@media (min-width: 526px) {
    .rdt-header-text-line-1 {
        display: block;
    }
}

.background-image {
    background-color: #4e4e4e;
    position: fixed;
    z-index: -2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (min-width: 526px) {
    .background-image {
        background-image: url(../img/background.jpg);
        background-size: cover;
        background-position: center;
    }

    .background-mask {
        background-color: darkgray;
        opacity: 0.85;
        position: fixed;
        z-index: -1;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.rdt-app-store-img-sm {
    width: 110px;
}

@media (min-width: 768px) {
    .rdt-app-store-img-sm {
        width: 145px;
    }
}

.btn-webapp {
    white-space: nowrap;
    font-weight: bold;
    padding: 8px 16px;
    background-color: #99000f;
    color: #ffffff;
    border-color: #ff0000;
}

.btn-webapp:hover {
    background-color: #b30012;
    border-color: #ff0000;
    color: #ffffff;
}

.webapp-cta .btn-webapp {
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 1);
}

.bg-rdt-darkgray {
    background-color: #272727;
}

.rdt-navbaritems {
    font-size: larger;
}

    .rdt-navbaritems .nav-item .nav-link {
        color: #ababab;
        transition: color .3s ease-in-out;
        -webkit-transition: color .3s ease-in-out;
        -moz-transition: color .3s ease-in-out;
        -o-transition: color .3s ease-in-out;
    }

        .rdt-navbaritems .nav-item .nav-link:hover {
            color: #ffffff;
            transition: color .1s ease-in-out;
            -webkit-transition: color .1s ease-in-out;
            -moz-transition: color .1s ease-in-out;
            -o-transition: color .1s ease-in-out;
            cursor: pointer;
        }

        .rdt-navbaritems .nav-item .nav-link.rdt-cursor-default:hover {
            cursor: default;
        }

.rdt-dropdown-menu {
    background-color: #000000
}

.rdt-dropdown-menu-item:hover {
    background-color: #000000
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > div:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #ccc;
        margin-top: 7px;
        margin-right: 5px;
    }

    .dropdown-submenu:hover > div:after {
        border-left-color: #fff;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }

.dropdown-toggle:after {
    margin-left: 0.5em;
}

.field-validation-error {
    font-style: italic;
    font-weight: bold;
    color: #ff0000;
}

.rdt-link:hover {
    text-decoration: none;
}

.rdt-event-link-past {
    background-color: #afafaf;
}

.rdt-event-link-date {
    color: #000000;
}

.rdt-event-link-track {
    color: #545454;
    font-size: 1em;
    font-style: italic;
}

.rdt-event-link-name {
    color: #000000;
    font-size: 1.25em;
}

.rdt-event-link-grid {
}

.rdt-event-link-subgrid {
    border-color: rgba(0, 0, 0, 0.5);
    flex-wrap: wrap;
}

.rdt-event-link-subgrid:hover {
    background-color: #b5daff;
}

.rdt-event-link-col1 {
    flex-basis: 120px;
}

.rdt-event-link-col3 {
    color: #8b0000;
}

.rdt-event-link-hide {
    display: none;
}

.rdt-event-link-break {
    flex-basis: 100%;
    height: 0;
}

@media (min-width: 992px) {
    .rdt-event-link-break {
        flex-basis: 0;
    }
}

.class-box-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.class-box {
    border: 1px solid red;
    border-radius: 10px;
    padding: 1%;
    width: 23%;
    margin: 1%;
    background-color: #c5c5c5;
}

.class-box-header {
    text-align: center;
}

.class-box-driver {
    text-align: right;
}

.event-date-track {
    display: flex;
}

.event-date {
    margin-right: 12px;
}

.event-track {
    margin-left: 12px;
}

.event-header {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 16px;
}

.app-tag-line {
    text-align: center;
}

.webapp-cta {
    text-align: center;
    margin: 24px 0;
}

.webapp-cta .btn {
    font-size: 1.25em;
    padding: 12px 32px;
}

.webapp-screenshot-placeholder {
    background-color: #e0e0e0;
    border: 2px dashed #999;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    color: #666;
    margin-bottom: 16px;
}
