
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizelegibility;

    background: #4f555f; /* for below footer */
}

* {
    font-family: "Source Sans Pro", sans-serif;
}

body {
    background: #fff;
    font-weight: 300;
}

h1, h2, h3, h4,
legend, input, select, textarea, button,
strong, b, a,
.button, .error {
    font-weight: 400;
}

b, strong {
    font-weight: 700;
}

a {
    color: #177fa5;
    cursor: pointer;
    text-decoration: none;

    -webkit-transition: color .6s, background .6s, text-shadow .6s, box-shadow .6s, border-color .6s, opacity .6s;
            transition: color .6s, background .6s, text-shadow .6s, box-shadow .6s, border-color .6s, opacity .6s;
}
    a:hover {
        text-decoration: underline;

        -webkit-transition: color .15s, background .15s, text-shadow .15s, box-shadow .15s, border-color .15s, opacity .15s;
                transition: color .15s, background .15s, text-shadow .15s, box-shadow .15s, border-color .15s, opacity .15s;
    }

a.hover {
    display: inline-block;
    height: 1.1em; /* for underline border */
    border-bottom: 1px solid rgba(0,0,0,0);
}
    a.hover:hover {
        text-decoration: none;
        border-color: #177fa5;
    }


.secondary_cta {
    padding: .75em 5%;
    background: #319eb3;
    color: #fff;

    font-size: 1.5em;
    text-align: center;
    text-transform: lowercase;
}
    .secondary_cta a {
        color: #fff;
        height: 1.075em;
    }
        .secondary_cta a:hover {
            border-color: rgba(255,255,255,.8);
        }


ul.list {
    list-style: none;
    -webkit-padding-start: 1.2em;
}
    ul.list li:before {
        float: left;
        content: "●";
        margin-left: -1em;

        color: #319eb3;
        font-size: .8em;
        line-height: 1.85em;
        opacity: .65;
    }

.preload * {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}


.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1em;
    font-weight: 400;
}

hr.colored {
    border: 0;   /* in order to override TWBS stylesheet */
    height: 5px;
    margin: 30px auto;
    width: 920px;
    max-width: 100%;
    background: rgb(50,157,179);
    background: -moz-linear-gradient(90deg, rgba(50,157,179,1) 0%, rgba(50,157,179,1) 25%, rgba(56,83,192,1) 25%, rgba(56,83,192,1) 50%, rgba(55,132,202,1) 50%, rgba(55,132,202,1) 75%, rgba(36,201,185,1) 75%, rgba(36,201,185,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(50,157,179,1) 0%, rgba(50,157,179,1) 25%, rgba(56,83,192,1) 25%, rgba(56,83,192,1) 50%, rgba(55,132,202,1) 50%, rgba(55,132,202,1) 75%, rgba(36,201,185,1) 75%, rgba(36,201,185,1) 100%);
    background: linear-gradient(90deg, rgba(50,157,179,1) 0%, rgba(50,157,179,1) 25%, rgba(56,83,192,1) 25%, rgba(56,83,192,1) 50%, rgba(55,132,202,1) 50%, rgba(55,132,202,1) 75%, rgba(36,201,185,1) 75%, rgba(36,201,185,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#329db3",endColorstr="#24c9b9",GradientType=1);
  }

#backToTop {
  display: none; 
  position: fixed; 
  bottom: 80px; 
  right: 20px; 
  z-index: 99; 
  border: none; 
  outline: none; 
  background-color: #104cc7; 
  color: white; 
  cursor: pointer; 
  padding: 15px; 
  border-radius: 10px; 
  font-size: 18px; 
}

#backToTop:hover {
  background-color: #555; 
}

.show {
    display: block !important;
}

#header {
    height: 3.7em;
    line-height: 3.5em;

    background: #4f555f;
    position: relative;
    z-index: 100;
}
    #header h1 {
        margin: 0;

        float: left;
    }
        #header h1 img {
            position: relative;
            top: .45em;
        }
        #header h1 a:hover {
            opacity: .75;
        }

    #header #social {
        float: right;
    }
        #header #social a {
            display: inline-block;
            height: 1.7em;
            width: 1.7em;
            line-height: 1.7em;

            margin-top: .85em;
            margin-left: .5em;
            padding: .1em;

            color: #fff;
            border-radius: 2px;

            text-align: center;
        }
            #header #social i:before {
                margin: 0;
            }
            #header #social a:hover {
                background: #eee;
                color: #4f555f;

                text-decoration: none;
            }

@media(max-width:359px) {
    #header #social a {
        width: 1em;
    }
}
@media(max-width:402px) {
    #header #login_logout {
        margin-left: 1em;
    }
}

#content {
    color: #333;
}

.button {
    display: inline-block;
    padding: .25em 1em .35em;

    background: #319eb3;
    border: none;
    border-radius: 1.5em;
    color: #fff;
    text-transform: lowercase;
    cursor: pointer;
}
    .button:hover {
        background: #64adbb;
        box-shadow: 0 0 25px rgba(255,255,255,.15);
        text-decoration: none;
        text-shadow: 1px 1px 3px rgba(0,0,0,.25);
    }

.button[disabled], .button[disabled]:hover {
    background: #4F555F;
    opacity: 0.6;
}

.button.primary {
    font-size: 1.5em;
}

.button-homepage {
    background: #00c777 !important;
}

.fancy-btn {
    display: block;
    width:320px;
    box-sizing: border-box;
    margin: 10px auto;
    padding: 30px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    text-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    background-image: linear-gradient(to right, rgba(50,157,179,1) 0%,rgba(36,201,185,1) 51%, rgba(56,83,192,1) 100%);
}

.fancy-btn:hover {
    background-position: right center; /* change the direction of the change here */
  }

.error {
    padding: .5em;
    margin-bottom: .5em;

    background: #f2dede;
    color: #a94442;
}


.person {
    padding: 0 2%;
    text-align: center;

    margin-bottom: 3em;
}
    .person img {
        display: block;
        width: 80%;
        max-width: 200px;

        margin: 0 auto;

        border-radius: 100%;
    }

    .person .name {
        margin: .35em;

        font-size: 1.5em;
        text-align: center;
    }

    .person .description,
    .person ul {
        line-height: 1.5em;
    }


#footer {
    margin-top: 5em;
    padding: 2em 15% 3em;

    background: #4f555f;

    font-size: .9em;
    text-align: center;
}
    #footer #links {
        display: block;
    }
    #footer a {
        margin-right: .75em;
        margin-bottom: 1em;

        color: #fff;
        font-weight: 300;
    }
        #footer a:hover {
            border-color: #ccc;
        }

.desktop {
    display: none;
}

@media (min-width: 480px) {
    .button.primary {
        font-size: 1.8em;
    }

    #footer {
        padding: 2em 5% 3em;
    }
        #footer a {
            margin-right: 1.35em;
        }
}

@media (min-width: 640px) {
    .mobile {
        display: none;
    }
    .desktop {
        display: block;
    }

    .button.primary {
        font-size: 2em;
    }
}

@media (min-width: 800px) {
    .button.primary {
        font-size: 2.1em;
    }
}



#cssmenu li a {
    display: block;
    font-weight: normal;
    line-height: 35px;
    margin: 0px;
    padding: 4px 25px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
}

#cssmenu li li {
    display: block;
    float: none;
    margin: 0px;
    padding: 0px;
    width: 225px;
}

.dropdown-menu-2, .dropdown-menu-2 li {
    width: 235px !important;
}

#cssmenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#cssmenu {
    border: none;
    border: 0px;
    margin: 0px;
    padding: 0px;
    padding-left: 180px;
    font: 67.5% "Lucida Sans Unicode", "Bitstream Vera Sans", "Trebuchet Unicode MS", "Lucida Grande", Verdana, Helvetica, sans-serif;
    font-weight: bold;
    width: auto;
}

#cssmenu li ul {
    background: #333333;
    display: none;
    height: auto;
    padding: 0px;
    margin: 0px;
    border: 0px;
    position: absolute;
    width: 225px;
    z-index: 200;
}

#cssmenu > ul > li {
    position: relative;
}

#cssmenu > ul > li > a > span:first-child{
    font-size: 2em;
    text-transform: uppercase;
}

#cssmenu > ul > li > a {
    line-height: 1.2;
}

#cssmenu li {
    float: left;
    padding: 0px;
}

#cssmenu li > a {
    color: #FFFFFF;
}

#cssmenu li > a:hover, #cssmenu ul li:hover > a {
    background: #2580a2;
    color: #FFFFFF;
    text-decoration: none;
}

#cssmenu li:hover li a {
    background: none;
}

#cssmenu li:hover ul {
    display: block;
}

#cssmenu li ul a {
    display: block;
    height: 35px;
    font-size: 1.45em;
    font-style: normal;
    margin: 0px;
    padding: 0px 10px 0px 15px;
    text-align: left;
    text-transform: lowercase;
}

#cssmenu ul ul a {
    color: #cccccc;
}

#cssmenu li ul a:hover, #cssmenu li ul li:hover > a {
    background: #2580a2;
    border: 0px;
    color: #ffffff;
    text-decoration: none;
}

#content .centered {
    text-align: center;
}

#content .centered form {
    text-align: left;
}

#content .breadcrumbs {
    font-weight: normal;
    text-align: center;
}

#content .breadcrumbs .breadcrumb {
    display: inline-block;
    margin: 1em;
}

#content .breadcrumbs .breadcrumb.active {
    font-weight: bold;
    color: #319eb3;
}

#content .breadcrumbs .breadcrumb.done {
    font-weight: bold;
}

#content .breadcrumbs .breadcrumb:before {
    content: '>> ';
}

#content h2.standout {
    color: #ffffff;
    background-color: #319eb3;
    margin-bottom: 0;
}

.featured-race {
    width: 30%;
    margin: 1.5%;
    padding: 0;
    display: inline-block;
    background-color: #f0f0f0;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
    height: 0;
    padding-bottom: 30%;
}

.featured-race a {
    margin: 0;
    padding: 0 0 100%;
    width: 100%;
    overflow:hidden;
    display: inline-block;
    height: 0;
}

.featured-race a h2:before {
    content: '';
    padding:50% 0;
    margin: 0;
    float:left;
}

.featured-race a h2 {
    margin: 0;
    width: 100%;
    color: #ffffff;
    background-color: #319eb3;
}

.featured-race .free {
    color: #ffffff;
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 20px;
    background-color: #319eb3;
    border-radius:50%;
    float: right;
    margin-bottom: 7px;
    margin-right: 7px;
    position: absolute;
    text-align: center;
    right: 0;
    bottom: 0;
}

#feature_box {
    text-align: left;
    margin-top: 0;
}

.featuredrace-select {
    margin-top:1.5em !important;
    border:3px solid;
    border-radius:15px;
    padding:8px;
    width:60% !important;
    max-width:60%;
    margin:30% auto 0 auto !important;
    background-color:rgba(255,255,255,0.1) !important;
}

.featuredrace-select:hover {
    background-color: rgba(255, 255, 255, 0.5) !important;
}

main.container {
    padding-top: 0.3em !important;
}

@media (max-width: 767px){
    #racery-for-blog {
            height: 1477px !important;
            }
}

@media (min-width: 768px){
    #racery-for-blog {
            height: 1178px !important;
            }
}
