/* Ride 412 - classic early-2000s motorsports website */
/* Simple fixed-width layout, old-school borders and solid colours. */

body {
    margin: 0;
    padding: 0;
    background: #252a31;
    color: #222222;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
}

a {
    color: #a20d16;
    text-decoration: underline;
}

a:hover {
    color: #111111;
    text-decoration: none;
}

#page {
    width: 900px;
    margin: 18px auto;
    background: #ffffff;
    border: 1px solid #080b10;
}

#topline {
    height: 22px;
    line-height: 22px;
    padding: 0 12px;
    background: #111820;
    color: #c5cbd1;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 1px;
}

#topline span:last-child {
    float: right;
}

#header {
    height: 124px;
    background: #202a35;
    border-bottom: 5px solid #a20d16;
    color: #ffffff;
    overflow: hidden;
}

#logo {
    float: left;
    width: 330px;
    height: 100px;
    margin: 12px 0 0 20px;
    border-right: 1px solid #53606b;
}

.logo-main {
    margin-top: 9px;
    color: #ffffff;
    font-family: Arial Black, Impact, sans-serif;
    font-size: 57px;
    font-weight: 900;
    font-style: italic;
    line-height: 58px;
    letter-spacing: -4px;
}

.logo-main span {
    color: #d51b27;
}

.logo-sub {
    margin-left: 4px;
    color: #b7c0c8;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 1px;
}

#header-right {
    float: right;
    width: 490px;
    padding: 25px 22px 0 0;
    text-align: right;
}

.header-small {
    color: #aeb8c1;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 2px;
}

.header-big {
    margin: 7px 0;
    color: #ffffff;
    font-family: Arial Black, Impact, sans-serif;
    font-size: 25px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 1px;
}

.header-rule {
    height: 2px;
    margin: 7px 0;
    background: #a20d16;
}

#nav {
    height: 34px;
    padding-left: 9px;
    background: #d9dde0;
    border-bottom: 1px solid #a8adb1;
}

#nav a {
    display: inline-block;
    height: 34px;
    padding: 0 17px;
    color: #202830;
    font-size: 10px;
    font-weight: bold;
    line-height: 34px;
    text-decoration: none;
    border-right: 1px solid #b8bdc1;
}

#nav a:hover,
#nav a.current {
    background: #a20d16;
    color: #ffffff;
}

#ticker {
    height: 27px;
    padding: 0 12px;
    background: #f0f0f0;
    border-bottom: 1px solid #d0d0d0;
    color: #454545;
    font-size: 9px;
    line-height: 27px;
    letter-spacing: .3px;
}

#ticker strong {
    color: #a20d16;
}

#content {
    padding: 17px 16px 22px 16px;
    background: #ffffff;
}

#main {
    float: left;
    width: 590px;
}

#sidebar {
    float: right;
    width: 245px;
}

.section-title,
.side-title {
    height: 25px;
    margin: 0 0 12px 0;
    padding: 0 9px;
    background: #26323d;
    border-left: 5px solid #a20d16;
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    line-height: 25px;
    letter-spacing: 1px;
}

.welcome {
    min-height: 210px;
    margin-bottom: 20px;
    line-height: 1.65;
}

.welcome p {
    margin: 8px 0;
}

.welcome-image {
    position: relative;
    float: left;
    width: 245px;
    height: 155px;
    margin: 0 14px 8px 0;
    background: #303943;
    border: 5px solid #e0e0e0;
    outline: 1px solid #b8b8b8;
}

.welcome-image:before {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    height: 5px;
    background: #a20d16;
    transform: skew(-28deg);
}

.welcome-image:after {
    content: "412";
    position: absolute;
    right: 17px;
    bottom: 13px;
    color: #ffffff;
    font-family: Arial Black, Impact, sans-serif;
    font-size: 65px;
    font-style: italic;
    font-weight: 900;
    letter-spacing: -5px;
}

.image-caption {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;
}

.image-caption span {
    color: #ed2632;
}

.intro {
    padding-top: 2px;
}

.small-note {
    color: #777777;
    font-style: italic;
}

.story {
    margin-bottom: 20px;
    padding: 3px 10px 10px 10px;
    border: 1px solid #d2d2d2;
    background: #f7f7f7;
    line-height: 1.6;
}

.story-heading,
.news-heading {
    margin-top: 8px;
    color: #a20d16;
    font-size: 11px;
    font-weight: bold;
}

.news-item {
    margin: 0 0 13px 0;
    padding: 0 0 12px 0;
    border-bottom: 1px dotted #b8b8b8;
    line-height: 1.55;
}

.news-date {
    color: #777777;
    font-size: 9px;
    font-weight: bold;
}

.news-heading {
    margin-top: 3px;
    color: #222222;
}

.news-item p {
    margin: 5px 0;
}

.side-title {
    margin-bottom: 0;
}

.side-box {
    margin-bottom: 17px;
    padding: 9px 10px;
    border: 1px solid #c9cdd0;
    border-top: 0;
    background: #f4f5f6;
    line-height: 1.55;
}

.side-box a {
    display: block;
    padding: 4px 0;
    border-bottom: 1px dotted #c4c4c4;
    font-weight: bold;
}

.side-box p {
    margin: 3px 0 8px 0;
}

.side-box hr {
    height: 1px;
    border: 0;
    background: #d0d0d0;
}

.side-banner {
    height: 105px;
    padding-top: 12px;
    background: #202a35;
    border-bottom: 4px solid #a20d16;
    color: #ffffff;
    text-align: center;
    font-family: Arial Black, Impact, sans-serif;
    font-style: italic;
}

.side-banner div {
    font-size: 16px;
    letter-spacing: 4px;
}

.side-banner strong {
    display: block;
    margin-top: -8px;
    color: #e21c2a;
    font-size: 52px;
    line-height: 53px;
}

.side-banner small {
    color: #c6cbd0;
    font-family: Verdana, Arial, sans-serif;
    font-size: 8px;
    font-style: normal;
    letter-spacing: 2px;
}

.clear {
    clear: both;
}

#footer {
    padding: 13px 15px;
    background: #202a35;
    border-top: 4px solid #a20d16;
    color: #c3c8cd;
    font-size: 9px;
    line-height: 1.8;
}

#footer a {
    color: #ffffff;
}

.footer-links {
    margin-top: 3px;
}

.footer-small {
    margin-top: 7px;
    color: #87929c;
    font-size: 8px;
}

/* A narrow-screen fallback; the original desktop layout remains fixed-width. */
@media screen and (max-width: 930px) {
    #page {
        width: 100%;
        margin: 0;
        border: 0;
    }

    #logo {
        width: 38%;
        margin-left: 12px;
    }

    #header-right {
        width: 52%;
        padding-right: 12px;
    }

    #main {
        width: 66%;
    }

    #sidebar {
        width: 29%;
    }

    .welcome-image {
        width: 40%;
    }
}

@media screen and (max-width: 620px) {
    #header {
        height: auto;
        min-height: 115px;
    }

    #logo {
        float: none;
        width: auto;
        height: auto;
        margin: 7px 12px;
        border: 0;
    }

    .logo-main {
        font-size: 48px;
    }

    #header-right {
        display: none;
    }

    #nav {
        height: auto;
        padding: 0;
    }

    #nav a {
        padding: 0 10px;
    }

    #main,
    #sidebar {
        float: none;
        width: auto;
    }

    #sidebar {
        margin-top: 20px;
    }

    .welcome-image {
        width: 38%;
    }
}
