﻿.parallax { 
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.HomeImages {
    width: 100%;
}

.HomeImages img {
    margin: auto;
}

.parImage1 {
    width: 100%;
    height: 100%;
    background-image: url("../Images/Homepage_Banner_Top.jpg");
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
}

.parImage2 {
    height: 600px;
    background-image: url("../Images/Homepage_Banner_Bottom.jpg");
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
}

header
{
    background-color: white;
    padding-bottom: 10px;
}

/*Menu*/

#Menu
{
    /*position: absolute;
    right: 0;*/
    margin-top: 10px;
    display: block;
    font-size: 20px;
    font-family: wrcc;
    border-top: 1px solid grey;
    border-bottom: 1px solid grey;
}

#Menu ul
{
    padding: 0;
    margin: 0;
}

#Menu ul li
{
    display: inline-block;
    text-align: center;
}

#Menu ul li:hover > ul 
{
    display: block;
}

#Menu ul ul
{
    display: none;
    position: absolute;
    right: auto;
    background-color: #E2E2E2;
}

#Menu ul ul li
{
    display: block;
}

#Menu ul li a
{
    color: black;
    text-decoration: none;
    padding: 10px;
    display: block;
}

#Menu ul li a:hover
{
    background-color: grey;
    color: white;
    cursor: pointer;
}

/*Footer*/

footer
{
    padding: 10px;
    background-color: #B8C7D8;
}

#divPrivacy {
    width: 250px;
    margin: auto;
    font-size: 10px;
    text-align: center;
}

#divCopyRight {
    width: 250px;
    margin: auto;
    font-size: 10px;
    text-align: center;
}

.Content
{
    background-color: white;
    padding: 10px;
}

.Content div
{
    vertical-align: top;
}

.RaceNights
{
   list-style: none;
}

.RaceNights li p
{
    display: inline-block;
    width: 48%;
}

.Title
{
    font-size: 2em;
    width: 100%;
    background-color: #18385F;
}

.Title div {
    margin: 10px;
}

.Title a {
    text-decoration: none;
    color: black;
}

#SiteTitle
{
    display: none;
}

#SiteTitleMobile
{
    display: none;
}

.FindUs
{
    width: 49%;
    height: 100%;
}

.FindUs p {
    margin: 10px;
}

.FindUs iframe {
    width: 100%;
    height: 200px;
}

.Events
{
    width: 49%;
}

.EventDesc {
    border-left: 1px solid black;
    margin-left: 5px;
    padding-left: 10px;
}

.EventTitle {
    font-weight: bold;
    vertical-align: top;
}

.EventTitle a
{
    color: #000;
    text-decoration: none;
}

.EventTitle a:hover
{
    color: #17395F;
}

#EventList
{
    list-style: none;
}

#EventList li
{
    padding: 5px;
}

.About
{
    width: 50%;
    height: 100%;
    vertical-align: top;
}

.FacebookLinkList
{
    list-style: none;
}

.FacebookLinkList li
{
    display: inline-block;
}

.About p
{
    margin: 10px;
}

.FooterSection
{
    display: inline-block;
    border-left: 1px solid black;
    height: 100%;
    padding-left: 10px;
    margin-left: 10px;
    vertical-align: top;
}

.FooterSection img
{
    display: block;
}

.CenteredInfo
{
    width: 500px;
    margin: auto;
    padding-bottom: 20px;
    height: 130px;
}

/*Results Page*/
.ResultsList
{
    list-style: circle;

}

.ResultsLink {
    background-color: #18385F;
    color: white;
    font-size: 1.5em;
    padding: 15px;
    display: block;
    width: 250px;
    text-align: center;
    text-decoration: none;
}

/*Drifting Page*/
.parDriftImage1
{
    height: 500px; 
    background-image: url("../RCClasses/Drifting/Images/Drift1.jpg");
    background-position: bottom;
}

.parDriftImage2
{
    height: 500px; 
    background-image: url("../RCClasses/Drifting/Images/Drift2.jpg");
    background-position: bottom;
}

/*Oval Page*/
.ItemList
{
    margin-top: 0px;
}

.PRemoveBottomMargin
{
    margin-bottom: 0px;
}

.parOvalImage1
{
    height: 500px; 
    background-image: url("../RCClasses/Oval/Images/Oval4.jpg");
    background-position: bottom;
}

.parOvalImage2
{
    height: 500px; 
    background-image: url("../RCClasses/Oval/Images/Oval5.jpg");
    background-position: top;
}

/*Micros Page*/

.parMicrosImage2
{
    height: 500px; 
    background-image: url("../RCClasses/MicroOffRoad/Images/Micros2.jpg");
    background-position: bottom;
}

.parMicrosImage3
{
    height: 500px; 
    background-image: url("../RCClasses/MicroOffRoad/Images/Micros3.jpg");
    background-position: bottom;
}

/*Fees Page*/

.RaceFees
{
    width: 50%;
}

.MembershipFees
{
    width: 49%;
}

.Data
{
    width: 100%;
    border-spacing: 0;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

.Data tr th, .Data tr td
{
    text-align: right;
    padding: 5px;
}

.Data tr:nth-child(even) 
{
    background-color: #B8C7D8;
}

.Data tr .firstCol
{
    width: 200px;
    text-align: left;
}

/*Classes Page*/
.ClassesContainer
{
    margin: 10px;
}

.RCClassesList
{
    list-style: none;
    padding: 0;
    width: 100%;
}

.RCClassesList li
{
    margin-bottom: 20px;
    display: inline-block;
    width: 49%;
}

.RCClassesList a
{
    text-decoration: none;
    color: black;
}

.Ratios li div:first-child {
    width: 200px;
}

.parMiniImage1 {
    height: 200px;
    background-image: url("../RCClasses/Mini/Images/Class_MiniSmall.jpg");
    background-position: bottom;
    background-repeat: no-repeat;
}

.parGT12Image1 {
    height: 200px;
    background-image: url("../RCClasses/GT12/Images/Class_GT12.jpg");
    background-position: bottom;
    background-repeat: no-repeat;
}

.parLMGT12Image1 {
    height: 200px;
    background-image: url("../RCClasses/LMGT12/Images/Class_LM-GT12Small.png");
    background-position: bottom;
    background-repeat: no-repeat;
}

.parLMP12Image1 {
    height: 200px;
    background-image: url("../RCClasses/LMP12/Images/Class_LMP12Small.jpg");
    background-position: bottom;
    background-repeat: no-repeat;
}

.parMChassisImage1 {
    height: 200px;
    background-image: url("../RCClasses/MChassis/Images/Class_M-ChassisSmall.jpg");
    background-position: bottom;
    background-repeat: no-repeat;
}

.parDriftImage3
{
    height: 200px; 
    background-image: url("../RCClasses/Drifting/Images/Drift3.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parBangersImage1
{
    height: 200px; 
    background-image: url("../RCClasses/Bangers/Images/Bangers1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parStockCarsImage1
{
    height: 200px; 
    background-image: url("../RCClasses/Oval/Images/Oval4.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parMicrosImage1
{
    height: 200px; 
    background-image: url("../RCClasses/MicroOffRoad/Images/Micros1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}



/* Calendar */
.CalendarHeader
{
    padding: 10px;
    font-size: 15px;
    font-weight: bold;
}

.Days
{
    text-align: center;
}

.DayCol
{
    border-width: 1px;
    border-color: #000000;
    width: 100px;
    border-top-style: solid;
    border-bottom-style: solid;
    background-color: #B8C7D8;
}

.DayCell
{
    height: 100px;
    vertical-align: top;
    border-style: solid;
    border-color: #C0C0C0;
    border-width: 1px;
}

.DayCell:hover
{
    border-style: solid;
    border-color: blue;
    border-width: 1px;
    cursor: pointer;
}

.TodayDayCell
{
    background-color: #D6BB44 !important;
}

.DayCellMonth
{
    background-color: #B8C7D8;
}

#divFloat
{
    display: none;
}

/* Contact Us */
.StandardList
{
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.StandardList li div {
    display: inline-block;
    padding: 7px;
    vertical-align: middle;
}

.StandardList li:nth-child(even) {
    border-top: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
}

.CommitteeList li div:first-child {
    width: 120px;
}


/* Race Registration */

.RequiredLabel {
    color: red;
    margin-left: 10px;
}

.ValidatorStyle {
    color: red;
    display: block;
}

.SuccessStyle {
    color: green;
    display: block;
}

.RaceRegistration {
    list-style: none;
    margin-bottom: 10px;
}

.RaceRegistration li {
    margin: 10px;
}

.RaceRegistration li:last-child {
    margin-top: 30px;
}

.RaceRegistration input[type=checkbox] {
    margin: 10px;
}

.RegistrationSuccessful {
    margin: 20px;
    color: green;
}

/* Out of Five */
.OOFComponent {
    margin: 0px;
    text-align: center;
    padding: 0;
}

.OOFComponent .OOFRating {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding: 0;
}

.OOFComponent .OOFRating .OOFDot {
    background-color: transparent;
    border: solid 2px #18385F;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin: 0 5px 0 0;
    padding: 0;
}

.OOFComponent .OOFRating .OOFDot:first-of-type {
    margin: 0;
}

.OOFComponent .OOFRating .OOFFill {
    background-color: #18385F;
}

.OOFComponent .OOFRating .OOFHalfFill {
    background-color: #18385F;
    width: 7px;
    border-radius: 10px 0 0 10px;
    margin-right: 15px;
}

.OOFComponent .OOFRating .OOFHalfFill:after {
    content: "";
    display: block;
    position: relative;
    left: 7px;
    top: -2px;
    width: 8px;
    height: 16px;
    border-radius: 0 10px 10px 0;
    border: solid 2px #18385F;
}

/*Mobile*/
@media screen and (max-width: 479px) {
    #SiteTitleMobile
    {
        text-align: center;
        width: 100%;
        padding: 0;
    }

    #SiteTitleMobile a img
    {
        padding-top: 15px;
    }

    #Menu
    {
        position: relative;
        display: block;
        text-align: center;
    }

    .RaceNights tr td
    {
        padding: 8px;
    }

    .parallax {
        background-attachment: scroll;
        height: 300px;
    }

    .RaceNights li p
    {
        display: block;
        width: auto;
    }

    .RaceNightTime
    {
        margin-left: 30px;
    }

    .RCClassesList li
    {
        width: 100%;
    }

    .RaceRegistration {
        width: 95%;
        text-align: center;
        padding-left: 0px;
    }

    .RaceRegistration input[type=text], select {
        width: 100%;
    }

    .PrivacyPolicy {
        height: auto;
    }

    .AboutImages {
        width: 100%;
    }

}

@media screen and (min-width: 480px) {
    .RaceRegistration input[type=text], select {
        width: 350px;
    }
}

/*Tablet*/
@media screen and (max-width: 1023px) {
    #SiteTitleMobile {
        display: inline-block;
    }

    .RaceNights tr td {
        padding: 8px;
    }

    .parallax {
        background-attachment: scroll;
    }

    .FindUs {
        width: 100%;
    }

    .Times {
        width: 100%
    }

    .Events {
        width: 100%;
    }

    .About {
        width: 100%;
    }

    .CenteredInfo {
        font-size: 12px;
        height: 120px;
        width: 306px;
    }

    #EventList {
        padding-left: 5px;
    }

    .RaceNights {
        padding-left: 5px;
    }

    .RaceFees {
        width: 100%;
    }

    .MembershipFees {
        width: 100%;
    }

    .ClassImages {
        width: 100%;
    }

    .HomeImages .TopImageWide {
        display: none;
    }

    .HomeImages .TopImageNarrow {
        display: block;
    }

    .PrivacyPolicy {
        height: auto;
    }

}

@media screen and (max-width: 1700px) {
    .HomeImages img {
        width: 100%;
    }

}

/*Desktop*/
@media screen and (min-width: 1024px) {
    #SiteTitle {
        display: inline-block;
    }

    .Times {
        width: 50%;
    }

    .HalfScreenWidth {
        vertical-align: top;
        display: inline-block;
        width: 47%;
    }

    .HomeImages .TopImageWide {
        display: block;
    }

    .HomeImages .TopImageNarrow {
        display: none;
    }

}
