@import url(https://fonts.googleapis.com/css?family=Orbitron:400,500,700,900);

html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

/*@import url(http://fonts.googleapis.com/css?family=Audiowide);*/
/*@import url(http://fonts.googleapis.com/css?family=Electrolize);*/
/*@import url(http://fonts.googleapis.com/css?family=Offside);*/
/*@import url(http://fonts.googleapis.com/css?family=Krona+One);*/
.navbar-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 400;
}

#navbar .user_avatar {
    height: 18px;
    border: 1px solid rgb(51, 51, 51);
    border-radius: 3px;
    padding: 0px;
}

#main_dropdown .dropdown-menu {
    min-width: 220px !important;
}

.sw_logo, .sw_logo_alt {
    display: inline-block;
}

.sw_logo span:nth-child(1) {
    color: white;
}

.sw_logo span:nth-child(2) {
    color: #FE2E2E;
}

.sw_logo_alt span:nth-child(1) {
    color: grey;
}

.sw_logo_alt span:nth-child(2) {
    color: #FE2E2E;
}

.profile_link .driver_avatar {
    height: 18px;
    border: 1px solid rgb(51, 51, 51);
    border-radius: 3px;
    padding: 0px;
}

.profile_link .driver_avatar.avatar_medium {
    height: 36px;

}

a:hover {
    text-decoration: none;
}

h1, h2, h3, h4, h5 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 400;
}

body {
    padding-top: 70px;
    padding-bottom: 30px;
}

.navbar .container {
    width: auto;
}

.steam_avatar {
    width: 56px;
    border: 0px solid black;
    background-color: grey;
    border-radius: 18px;
    padding: 1px;
    margin: 2px;
}

.steam_avatar_wrapper {
    display: inline-block;
}

.gameserver_online_button .server_name {
    display: inline-block;
    width: 80%;
    max-height: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gameserver_online_button {
    width: 100%;
    max-height: 45px;
}

.gameserver_info {
    margin-top: 13px;
    width: 100%;
    min-height: 1200px;
}

.gameserver_info_content table tr:first-child td, th {
    vertical-align: bottom;
    border-bottom: 2px solid #ddd;
    border-top: 0;
    font-weight: bold;
    line-height: 1.42857143;
}
@media (min-width: 768px) {
    .session-detail-header dt{
        width: 90px;
    }
    .session-detail-header dd{
        margin-left: 110px;
        margin-bottom: 5px;
    }
}
.popover{
    max-width: 100% !important; /* Max Width of the popover (depending on the container!) */
}
.ac-car-tooltip {

}
.ac-car-image-container {
    width: 450px;
}

.ac-car-image {
    max-width: 245px;
}

.ac-track-tooltip {

}
.ac-track-image-container {
    width: 450px;
}

.ac-track-image-container .ac-track-image {
    max-width: 245px;
}

.ac-track-container {
    max-width: 115px;
}

.ac-track-image {
    width: 100%;
    display: inline-block;
}

.ac-track-name {
    font-family: 'Orbitron', sans-serif;
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
}

.lap-time {}
.personal-best { color: #a44afb !important; }
.session-best { color: #a44afb !important; }
.better-than-personal-avg { color: #009900;  }
.slower-than-personal-avg { color: #C27E3A; }
.bad { color: red; } /*slower than 107%*/

.lap-chart {
    min-height: 400px;
}

.gap-chart {
    min-height: 550px;
}

#visualizer_container path {
    fill: none;
    stroke: #000;
    stroke-width: 3px;
}

#visualizer_container circle {
    fill: steelblue;
    stroke: #fff;
    stroke-width: 3px;
}

#visualizer_container .lap-svg {
    max-width: 600px;
    max-height: 500px;
}

.lap-counter-view {
    display: inline-block;
    margin-left: 10px;
}


.list-group-horizontal .list-group-item {
	display: inline-block;
}
.list-group-horizontal .list-group-item {
	margin-bottom: 0;
	margin-left:-4px;
	margin-right: 0;
}
.list-group-horizontal .list-group-item:first-child {
	border-top-right-radius:0;
	border-bottom-left-radius:4px;
}
.list-group-horizontal .list-group-item:last-child {
	border-top-right-radius:4px;
	border-bottom-left-radius:0;
}

.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}

.footer {
    position: absolute;
    font-size: 7pt;
    bottom: 0;
    width: 100%;
    background-color: #f5f5f5;
    border-top: 0.75pt solid grey;
    padding-top: 10px;
    /* margin-bottom: 30px; */
    background-image: linear-gradient(to bottom,#3c3c3c 0,#222 100%);
    padding-bottom: 7px;
}

.footer p {
    margin-bottom: 0px;
    margin-top: 4px;
}

.share-button {
    margin-left: -15px;
    transform: scale(0.7);
}

.search_bar {
    padding-left: 20px;
    padding-right: 15px;
    width: 300px;
    margin:0 auto;
    background: #EFEFEF;
    margin-top: -36px;
    padding-top: 25px;
    border-radius: 10px;
}

.search_bar form {
    height: 37px;
}