body {
    background: url(/assets/images/mobile-background-truck.jpg) no-repeat;
    background-size: 100% auto;
    display: flex;
    font-family: "Helvetica Neue", HelveticaNeue, "Arimo", sans-serif;
    min-height: 100vh;
    flex-direction: column;
	  background-size: cover;
        background-attachment: fixed;
}

body.loggedin {
	 background: url(/assets/images/mobile-background.jpg) no-repeat;
}
@media (min-width: 768px) {
     body {
        background: url(/assets/images/background-compl-truck.jpg) no-repeat;
        background-size: cover;
        background-attachment: fixed;
    }
	
	body.loggedin {
        background: url(/assets/images/background-compl.jpg) no-repeat;
    }
}
body > .container {
    flex: 1;
}
header {
    background: #e4e6e6;
}

.logo img {max-width:120px;}

footer {
    background: #353c45;
}
#vocational-logo {
    margin-top: 6px;
}
#ranking {
    min-height: 45rem;
}
.vh-70 {height: 70vh}

.loginform {
	background-color: rgba(0, 0, 0, 0.2);
    padding: 4%;
	max-width: 400px;
    margin: 0 10%;
}



@media (min-width: 768px) {
    #ranking {
        background: #fff;
    }
}
#truck {
    position: absolute;
    margin-left: -80px;
    margin-top: -220px;
    width: 50%;
}
@media (min-width: 576px) {
    #truck {
    }
}
@media (min-width: 768px) {
    #truck {
        margin-left: -110px;
        margin-top: 120px;
        width: 130%;
    }
}
@media (min-width: 1200px) {
    #truck {
        margin-left: -95%;
        width: 170%;
    }
}
h2 {
    font-size: 1rem;
    font-weight: 700;
}
h2:before, h2:after {

    content: '';
    display: inline-block;
    height: 7px;
}
h2:before {
    background: url(/assets/images/bar-left.svg) no-repeat;
    background-size: cover;
    margin-right: .5rem;
    width: 22px;
}
h2:after {
    background: url(/assets/images/bar-right.svg) no-repeat;
    background-size: cover;
    margin-left: .5rem;
    width: 405px;
}
h3 {
    font-size: 1.125rem;
    font-weight: 700;
}
.container {
    max-width: 940px;
}
.table tr td,
.table tr th {
    padding: .3rem;
    text-align: center;
}
.table tr:nth-child(odd) td {
    background: #333;
    color: #fff;
}
.table tr td span {
    display: inline-block;
    height: 18px;
    width: 19px;
    vertical-align: text-bottom;
	float:left;
	padding-left:5px;
}


td.up > span, td.down > span {
	position: relative
}

#ranking table > tbody > tr > td:nth-child(2) > img {
	border: 1px solid white;
}

.table tr:nth-child(even) td.up span {
    background: url(/assets/images/up-icon-green.png) no-repeat;
}
.table tr:nth-child(even) td.down span {
    background: url(/assets/images/down-icon-red.png) no-repeat;
}
.table tr:nth-child(odd) td.up span {
    background: url(/assets/images/up-icon-green.png) no-repeat;
}
.table tr:nth-child(odd) td.down span {
    background: url(/assets/images/down-icon-red.png) no-repeat;
}

.table tr.user-rank:nth-child(odd) td {
    color: white !important;
	background-color: #1c488f;
}

.table tr.user-rank:nth-child(even) td {
	background-color: rgba(28,72, 143,0.3);
	color: #1c488f;
}

.table img {
    width: 20px;
}

a, a:visited, a:focus {color:black;}

.btn {
    border: 2px solid #333;
    border-radius: 0;
    padding: .1rem;
}
.btn-dark, .btn-dark:visited, .btn-dark:focus {
    background: #333;
	color:#fff;
}
.form-control {
    border-radius: 0;
}
