/**
 * Stylesheet for Frontend Website
 */


/* Sticky footer styles
-------------------------------------------------- */

html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 350px;
    background-color: #f0f3f8;
}


/* Custom page CSS
-------------------------------------------------- */


/* Not required for template or sticky footer method. */

body>.container {
    padding: 60px 15px 0;
}

.container .text-muted {
    margin: 20px 0;
}

.container {
    width: 1000px;
}

code {
    font-size: 80%;
}

.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
    outline: none;
    border-color: transparent;
    box-shadow: none;
}

.action-head,
.action-head>.container {
    background-color: transparent;
    margin-bottom: 0px;
    border-radius: 0;
}

.action-head {
    border: 1px solid #6580e9;
    position: absolute;
    top: 0;
    width: 100%;
}

.navbar-default .navbar-nav>.open>a,
.navbar-nav>.open>a:hover {
    background-color: #6580e9 !important;
}

.dropdown-menu,
.dropdown-menu>li>a:hover {
    background-color: #6580e9 !important;
}

.action-logo {
    display: inline-block;
    width: 200px;
    height: 70px;
    line-height: 70px;
}

.action-logo>img {
    width: 100%;
}

.action-head .nav a {
    line-height: 40px;
    color: #fff !important;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    background-color: #333;
    color: #9fa0a0;
    padding: 20px 15px 0px;
    font-size: 12px;
}

#home {
    margin: 0;
    padding: 0;
    width: 100%;
}

#home .head>img {
    width: 100%;
}

#home>.center {
    text-align: center;
    margin-top: 40px;
}

#home>.center>h3>span {
    display: inline-block;
    margin: 0 40px;
}

#home>.center>p {
    color: #A7A7A7;
}

#home>.race {
    width: 1000px;
    margin: 40px auto;
    background-color: white;
    border-radius: 4px;
    background: #fff;
    color: #333;
    box-shadow: 2px 2px 3px #999595;
    display: flex;
    padding: 10px;
}

#home>.race>.left,
#home>.race>.right {
    padding: 15px;
}

#home>.race>.right {
    flex: 1;
}

#home>.race>.left>img {
    border-radius: 4px;
    width: 400px;
    height: 260px;
}

#home>.race>.right>.rule_name>h3 {
    margin-top: 0;
}

#home>.race>.right>.time {
    font-family: 'Microsoft YaHei';
    font-size: 14px;
    color: #808080;
    font-weight: normal;
    margin-top: 14px;
}

#home>.race>.right>.time>h4 {
    margin: 0;
    height: 30px;
    line-height: 30px;
}

#home>.race>.right>.time>h4>span {
    display: inline-block;
    color: #ff8b24;
    margin-left: 15px;
}

#home>.race>.right>.time>a {
    margin-top: 10px;
    padding: 10px 40px;
    background-color: #2d59ff;
}

#home>.race>.right>.time>a>span {
    margin-right: 10px;
}

#details {
    margin: 0;
    padding: 0;
    width: 100%;
}

#details .head {
    background-image: url(../images/bg02.png);
    position: absolute;
    top: 0;
    width: 100%;
    height: 320px;
    z-index: -1;
}

#details .head>img {
    width: 100%;
}

#details>.mian {
    margin-top: 140px;
}

#details>.mian>.title {
    color: #fff;
    margin-bottom: 50px;
}

#details>.mian>.title>p {
    font-size: 18px;
}

#details>.mian>.itme {
    margin: 20px auto;
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 2px 2px 3px #999595;
    padding: 25px;
}

#details>.mian>.itme>.race {
    color: #333;
    display: flex;
}

#details>.mian>.itme>.race>.right {
    margin-left: 30px;
    flex: 1;
}

#details>.mian>.itme>.race>.left>img {
    border-radius: 4px;
    width: 350px;
    height: 228px;
}

#details>.mian>.itme>.race>.right>.rule_name>h3 {
    margin-top: 0;
}

#details>.mian>.itme>.race>.right>.time {
    font-family: 'Microsoft YaHei';
    font-size: 14px;
    color: #808080;
    font-weight: normal;
    margin-top: 8px;
}

#details>.mian>.itme>.race>.right>.time>h4 {
    margin-top: 20px;
    height: 30px;
    line-height: 30px;
}

#details>.mian>.itme>.race>.right>.time>h4>span {
    display: inline-block;
    color: #ff8b24;
    margin-left: 15px;
}

#details>.mian>.itme>.race>.right>.time>a {
    margin-top: 10px;
    padding: 10px 40px;
    background-color: #2d59ff;
}

#details>.mian>.itme>.race>.right>.time>a>span {
    margin-right: 10px;
}

#details>.mian>.itme .but {
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 20px;
    background-color: #2d59ff;
    float: left;
    margin-left: 150px;
    margin-top: -42px;
}

#details .itme>h3 {
    margin-top: 0;
    display: flex;
    display: -webkit-flex;
    align-items: center;
}

#details .itme>h3>span {
    display: inline-block;
    margin-left: 20px;
    line-height: 40px;
}

#details .itme>p {
    margin: 0;
    margin-left: 60px;
    color: #4a4a4a;
    line-height: 30px;
}