@font-face {
    font-family: 'TitilliumWeb-Bold';
    src: url(fonts/TitilliumWeb-Bold.ttf);
}

@font-face {
    font-family: 'TitilliumWeb-SemiBold';
    src: url(fonts/TitilliumWeb-SemiBold.ttf);
}

body {
    font-family: 'TitilliumWeb-SemiBold';
    color: #707070;;	
}

#contents p {
    line-height: 19.5px;
}

#contents a {
    color: #b20000;
    text-decoration: none;
    background-color: transparent;
}

#header {
    border-bottom: 1px solid #d3d3d3;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

#footer{
    width: 100%;
    max-width: 792px;
    height: auto;
    margin: 0 auto;
}

li.courses-list{
    color: #b3181f;
}

.courses-list a {
    color: #fff;

    font-size: 20px !important;

    line-height: 40px;

    text-decoration: none;

}

.arrow_down1 {
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #b32519;
    margin-top: 26px;
    margin-left: -9px;
}
.arrow_down2 {
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #b32519;
    margin-top: 20px;
    margin-left: -9px;
}
.arrow_down3 {
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #b32519;
    margin-top: 14px;
    margin-left: -9px;
}
.arrow_down4 {
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #b32519;
    margin-top: 8px;
    margin-left: -9px;
}
.arrow_down5 {
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #b32519;
    margin-top: 2px;
    margin-left: -9px;
}
#fixed-results h1{
    font-size: 10px;
    line-height: 12px;
    font-weight: 500;
    color: #fff;
    padding: 0 2px;
    text-transform: uppercase;
    margin: 0;
}

.back-button {
    background: #ccc2;
    border: 1px solid #ddd;
    height: 30px;
    width: 75px;
    color: #000;
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 0px;
}

.courses-list-box a {
    color: #c60000;
    font-size: 25px !important;
    text-decoration: none;
}

.user-info a {
    color: #c60000;
    text-decoration: none;
}

#wrapper {
    /*margin: 0px auto;*/
    /*width: 960px;*/
}

.user-info a:hover {
    color: #4285F4;
}

.big_text {
    font-size: 20px;
    margin: 0;
    padding: 0;
}

.no_anchor a {
    color: #707070;
    text-decoration: none !important;
}

#race_times a{
    padding: 0px;
}

#fixed-results{
    border: none; 
    width: 100%;
}

#fixed-results a {
    color: #000000 !important;
    text-decoration: none !important;
}

#fixed-results th{
    width: 4%;
    /*background: linear-gradient(to left, #b32519 96%, #a5a7aa);*/
    background: #b32519;
    box-shadow: 15px 0 15px -15px inset #0c0c0c;
    line-height: 12px;
    border: none;
}

.fixed-results th{
    background: #c60000; 
    border-radius: 8px; 
    width: 10%;
}

.red-text {
    color: #707070;
    text-decoration: none;
}

#all_race_times a{
    display: block;
    font-size: 25px;
    padding: 6px 15px;
}

#all_race_times {
    font-weight: 700;
}

#fixed-results p{
    font-size: 20px;
    margin: 0;
    padding: 0;
}

.bettab_boxes{
    display: inline-block;
    margin: 0 auto 10px 15px;
    padding: 15px;
    text-align: center;
    width: 28%;
    height: 90px;
}

.bettab_boxes a{
    font-weight: 700;
    font-size: 40px;
}

.grey-text{
    color: #707070 !important;
    text-decoration: none;
}

.red {    
    color: #c60000 !important;
    text-decoration: none;
}

.menu_span {
    width: 9.2%;
    display: inline-block;
    text-align: center;
}

.bettab{
    border: 1px solid #790202;
    border-radius: 5px;
    margin: 0 auto;
    width: 100%;
    border: none;
}

#fixed-results td{
    font-size: 20px;
    height: 40px;
}

/*
.custom-button {
    background-color: #b32519;
    border: none;
    color: white;
    padding: 6px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    width: 82px;
}
*/

.custom-button {
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    width: 105px;
    height: 34px;
    line-height: 34px;
    font-size: 15px;
    /*background: linear-gradient(to left, #de4b49 96%, #a5a7aa);*/
    background: #de4b49;
    box-shadow: 15px 0 15px -15px inset #0c0c0c;
     -webkit-box-shadow: 15px 0 15px -15px inset #0c0c0c;
}

#raceCourses{    
    margin-top: 0px;
    padding: 0 20px;
}

#raceCourses li{
    cursor: pointer;
    list-style-type: none;
    margin-bottom: 0px;
}

#raceCourses li a{
    text-decoration: none;
    color: #fff;
}

.courseTime a{
    margin: 10px 0;
}

.courseTimes{
    height: 60px;
    display: inline-block;
    width: 85px;
    text-align: center;
}

.noPadding{
    margin: 0px !important;
}

.socialFeed{
    margin: 1px !important;
}

.courseName{
    float: left;
    width: 230px;
    text-align: center;
    background-color: #b32519;
}

.courseDetails{
    display: inline-block;
    float: left;
    height: 60px;
    line-height: 60px;
}

.courseAll{
    height: 60px;
    line-height: 60px;
    margin: 5px;
}

.meetDate{
    background-color: #f1f2f2;
    width: 355px;
    margin: 0 auto;
    height: 80px;
    border-radius: 20px 20px 0px 0px;
}

.content-button{
    display: inline-block;
    text-transform: none;
    background-color: #f1f2f2;
    width: 192px;
    margin: 0 auto;
    height: 65px;    
    vertical-align: middle;    
    background: linear-gradient(-40deg, #e8e8e8 18%,#fff 48%,#ececec 59%,#e9e9e9 100%);
    line-height: 65px; 
    color: grey;
    text-decoration: none;
    margin-right: 5px;
    font-size: 21px;
}

.time-button{
    font-family: TitilliumWeb-Bold;
    font-weight: 500;
    display: inline-block;
    text-transform: none;
    background-color: #f1f2f2;
    width: 60px;
    margin: 0 auto;
    height: 38px;    
    vertical-align: middle;    
    background: linear-gradient(-40deg, #e8e8e8 18%,#fff 48%,#ececec 59%,#e9e9e9 100%);
    line-height: 38px; 
    color: grey;
    text-decoration: none;
    margin-right: 6px;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 10px;
}

.rating-box{
    text-align:center; 
    font-size: 10px; 
    padding-top: 4px;
    font-family: TitilliumWeb-Bold;
    font-weight: 500;
}

.topButtons{
    padding-bottom: 70px; 
    text-align: center;
    font-size: 18px;
}

.topButtons a:first-child {
     border-radius: 0px 0px 0px 20px; 
}

.topButtons a:last-child {
    border-radius: 0px 0px 20px 0px;
}

.courseTimeTable{
    margin: 0 auto; 
    width: 1130px; 
    font-size: 17px;
}

.centeredText{
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
}

#simplemodal-container .simplemodal-data{
    padding: 4px !important;
}
/*
#simplemodal-container{
    top: 100px !important;
}
*/
#simplemodal-container{
    top: 20px !important;
    background: linear-gradient(-40deg, #e8e7e7 18%,#fff 48%,#ebebeb 59%,#e8e7e7 100%);
}
.message55 {
    margin: 15px 0 0;
    /*color: #b3b3b3;*/
    color: #000000;
    font-size: 16px;
    text-align: center;
}
.message55 a {
    color: #4CAF50;
    text-decoration: none;
}

.login-page {
    width: 360px;
    margin: auto;
}
.login-form {
    position: relative;
    z-index: 1;
    background: #FFFFFF;
    max-width: 365px;
    margin: 0 auto 10px;
    padding: 10px 30px;
    text-align: center;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}
.login-form input {
    font-family: "Roboto", sans-serif;
    outline: 0;
    background: #f2f2f2;
    width: 100%;
    border: 0;
    margin: 0 0 7px;
    padding: 8px;
    box-sizing: border-box;
    font-size: 14px;
}
.login-form button {
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    outline: 0;
    background: #4CAF50;
    width: 100%;
    border: 0;
    padding: 15px;
    color: #FFFFFF;
    font-size: 14px;
    -webkit-transition: all 0.3 ease;
    transition: all 0.3 ease;
    cursor: pointer;
}
.login-form button:hover,.form button:active,.form button:focus {
    background: #43A047;
}
.login-form .message {
    margin: 5px 0 0;
    color: #b3b3b3;
    font-size: 14px;
}
.login-form .message a {
    color: #4CAF50;
    text-decoration: none;
}
.login-form .register-form {
    display: none;
}

#fixed-results .firstTh {
    width: 18%;
}

@media(max-width:560px){
    .banner-div img{
        width: 100%;
    }
}

.imgBackground{
    background-image: url(https://oleoleracing.com/wp-content/uploads/2019/07/oleoleracing-bg4.jpg);
    background-position: center;
    width: 100%;
    height: 550px;
    background-repeat: no-repeat;
}
@media (max-width: 480px) { 
    
    .topButtons a{
        width: 96%;
    }
    
    .meetDate{
        width: 97%;
    }
    
    .topButtons a:first-child {
        border-radius: 20px 20px 0px 0px; 
    }
    
    .topButtons a:last-child {
        border-radius: 0px 0px 20px 20px;
    }
    
    .content-button{
        height: 50px;
        line-height: 50px;
    }
    
    .time-button{
        width: 50px;
    }
    
    #raceCourses li{
        height: 118px;
    }
    
    .arrow_down1{
        display: none;
    }
    
    .arrow_down2{
        display: none;
    }
    
    .arrow_down3{
        display: none;
    }
    
    .arrow_down4{
        display: none;
    }
    
    .arrow_down5{
        display: none;
    }
    
    .imgBackground{
        background-image: url(https://oleoleracing.com/wp-content/uploads/2019/07/oleoleracing-bg4Mob.jpg);
        background-position: center;
        width: 100%;
        height: 475px;
        background-repeat: no-repeat;
    }
    .noPortrait{
        display: none;
    }
    .courseDetails{
        display: block;
        float: unset;
        height: 40px;
        line-height: 40px;
    }
    
    .courseName{
        float: unset;
        margin-left: 0px;
        width: 100%;
    }
    
    .courseAll {
        height: auto;
        line-height: normal;
    }
    
    #raceCourses {
        width: 100%;
        padding: 0px;
    }
    
    .imageTextInside{
        width: 100%;
    }
    
    .imgBackground2{
        min-height: 400px;
    }
    
    #raceCourses li{
        font-size: 14px;
    }
    .courseTimeTable{
        width: 100%; 
    }
    .courseTimes{
        height: 40px;
        width: 50px;
    }
    
    #fixed-results h1{
        font-size: 7px;
    }
    
    #fixed-results p{
        font-size: 10px;
    }
    
    #fixed-results td{
        font-size: 10px;
    }
    
    #fixed-results .firstTh {
        width: 14%;
    }
    
} 

@media (min-width: 481px) and (max-width: 520px) { 
    #raceCourses li{
        height: 118px;
    }
    
    .topButtons a{
        width: 96%;
    }
    
    .topButtons a:first-child {
        border-radius: 20px 20px 0px 0px; 
    }
    
    .topButtons a:last-child {
        border-radius: 0px 0px 20px 20px;
    }
    
    .time-button{
        width: 50px;
    }
    
    .content-button{
        height: 50px;
        line-height: 50px;
    }
    
    .arrow_down1{
        display: none;
    }
    
    .arrow_down2{
        display: none;
    }
    
    .arrow_down3{
        display: none;
    }
    
    .arrow_down4{
        display: none;
    }
    
    .arrow_down5{
        display: none;
    }
    
    #fixed-results h1{
        font-size: 7px;
    }
    
    #fixed-results p{
        font-size: 10px;
    }
    
    #fixed-results td{
        font-size: 10px;
    }
    
    #fixed-results .firstTh {
        width: 14%;
    }
    
}

@media (min-width: 481px) and (max-width: 980px) { 
    
    .topButtons a{
        width: 96%;
    }
    
    .topButtons a:first-child {
        border-radius: 20px 20px 0px 0px; 
    }
    
    .topButtons a:last-child {
        border-radius: 0px 0px 20px 20px;
    }
    
    .time-button{
        width: 50px;
    }
    
    .content-button{
        height: 50px;
        line-height: 50px;
    }
    
    .arrow_down1{
        display: none;
    }
    
    .arrow_down2{
        display: none;
    }
    
    .arrow_down3{
        display: none;
    }
    
    .arrow_down4{
        display: none;
    }
    
    .arrow_down5{
        display: none;
    }
    
    .imgBackground{
        background-image: url(https://oleoleracing.com/wp-content/uploads/2019/07/oleoleracing-bg4Tab.jpg);
        background-position: center;
        width: 100%;
        height: 511px;
        background-repeat: no-repeat;
    }
    .courseDetails{
        display: block;
        float: unset;
        height: 40px;
        line-height: 40px;
    }
    
    .courseName{
        float: unset;
        margin-left: 0px;
        width: 100%;
    }
    
    .courseAll {
        height: auto;
        line-height: normal;
    }
    
    #raceCourses {
        width: 100%;
        padding: 0px;
    }
    
    .imageTextInside{
        width: 100%;
    }
    
    .imgBackground2{
        min-height: 400px;
    }
    
    #raceCourses li{
        font-size: 14px;
    }
    .courseTimeTable{
        width: 100%; 
    }
    .courseTimes{
        height: 40px;
        width: 50px;
    }
    
    #fixed-results h1{
        font-size: 7px;
    }
    
    #fixed-results p{
        font-size: 10px;
    }
    
    #fixed-results td{
        font-size: 10px;
    }
    
    #fixed-results .firstTh {
        width: 14%;
    }
    
}