#scoreboard {
	margin: 0 auto 20px;
	max-width: 1600px;
	width: 100%;
}
#scoreboard #scoreboard-locked-message {
	background-color: #72ADAD;
	color: white;
	display: block;
	padding: 3px 0;
	text-align: center;
	text-transform: uppercase;
}
#scoreboard #close-container {
	background-color: red;
	color: white;
	display: none;
	text-align: center;
	text-transform: uppercase;
}
#scoreboard #close-container.visible {
	display: block;
}
#scoreboard .loading-bar {
	text-align: center;
	font-size: 24px;
	font-weight: bold;
}
#scoreboard .loading-bar img {
	background: #fff;
	border: 0px solid #fff;
	border-radius: 3px;
	display: inline-block;
	margin-top: 5px;
	padding: 5px;
}
#scoreboard h1 {
	font-size: 1.5em;
}
#scoreboard h2 {
	font-size: 1.3em;
}
#scoreboard h3 {
	font-size: 1.1em;
}
#scoreboard h4 {
	font-size: 0.9em;
	line-height: 1.1em;
	margin: 0;
}
@media only screen and (min-width: 736px) {
	#scoreboard h1 {
		font-size: 2.1em;
	}
	#scoreboard h2 {
		font-size: 1.8em;
	}
	#scoreboard h3 {
		font-size: 1.4em;
	}
	#scoreboard h4 {
		font-size: 1.2em;
		line-height: 1.5em;
		margin: 0;
	}
}
#scoreboard .tabs-container a {
	text-align: center;
}
#scoreboard .fourth, #scoreboard .third, #scoreboard .half {
	box-sizing: border-box;
	display: block;
}
@media only screen and (min-width: 736px) {
	#scoreboard .fifth {
		float: left;
		width: 20%;
	}
	#scoreboard .fourth {
		float: left;
		width: 25%;
	}
	#scoreboard .third {
		float: left;
		width: 33.33%;
	}
	#scoreboard .half {
		float: left;
		width: 50%;
	}
}
#scoreboard .fifth h1 a, #scoreboard .fourth h1 a, #scoreboard .third h1 a, #scoreboard .third h2 a, #scoreboard .third a h2, #scoreboard h2 a, #scoreboard .half ul{
	display: block;
	padding: 5px 20px;
	width: 100%;
}
#scoreboard .fifth h1 a {
	padding: 5px 10px;
}
#scoreboard .third ul, #scoreboard .half ul, #scoreboard .unlocked-message, #scoreboard .unlocked-message-arial {
	display: block;
	padding: 0 20px;
	width: 100%;
}
#scoreboard .unlocked-message {
	margin: 0 0 5px;
}
#scoreboard .half ul ul {
	padding: 0;
}
#scoreboard .half p {
	margin-bottom: 0;
}
#scoreboard .full {
	clear: both;
	width: 100%;
}
#scoreboard .full .team-name, #scoreboard .full .team-score, #scoreboard .full.class-row, #scoreboard .full.day-row {
	padding: 5px 20px;
}
#scoreboard .day-title .day-wrapper, #scoreboard .day-title .day-points-wrapper, #scoreboard .day-title .day-points-achieved {
	display: inline-block;
	margin-right: 10px;
}
#scoreboard .full.day-row {
	border-bottom: none;
}
#scoreboard .day-title .day-wrapper {
	width: 55px;
}
#scoreboard .day-title .day-points-wrapper {
	width: 40px;
}
@media only screen and (min-width: 736px) {
	#scoreboard .day-title .day-wrapper {
		width: 100px;
	}
	#scoreboard .day-title .day-points-wrapper {
		width: 50px;
	}
}
#scoreboard ul {
	margin-bottom: 0;
}
#scoreboard .team-row {
	display: block;
	height: 74px;
}
#scoreboard .day-row {
	display: block;
	height: 40px;
	vertical-align: middle;
}
#scoreboard .team-row *{
	display: inline-block;
	vertical-align: middle;
	width: calc(100% - 144px);
}
#scoreboard .team-avatar-wrapper {
	height: 74px;
	overflow: hidden;
	width: 89px;
	margin-right: 15px;
}
#scoreboard .team-position {
	margin-right: 15px;
	width: 25px;
}
#scoreboard .team-avatar {
	/*width: 91px;*/
	width: 74px;
	height: 74px;
}
@media only screen and (min-width: 736px) {
	#scoreboard .team-row {
		display: block;
		height: 100px;
	}
	#scoreboard .day-row {
		display: block;
		height: 40px;
		vertical-align: middle;
	}
	#scoreboard .team-row *{
		display: inline-block;
		vertical-align: middle;
		width: calc(100% - 203px);
	}
	#scoreboard .team-avatar-wrapper {
		height: 100px;
		overflow: hidden;
		width: 123px;
		margin-right: 20px;
	}
	#scoreboard .team-position {
		margin-right: 20px;
		width: 40px;
	}
	#scoreboard .team-avatar {
		/*width: 123px;*/
		width: 100px;
		height: 100px;
	}
}
#scoreboard ul li img {
	max-width: 100%;
}
#scoreboard .mission {
	position: relative;
}
#scoreboard .day-item-name, #scoreboard .day-item-code, #scoreboard .day-item-points, #scoreboard .day-item-drive-times {
	background-color: transparent;
	color: #5b5b5b;
	font-family: atkinscd, 'Source Sans Pro', sans-serif;
	font-size: 22px;
	text-align: left;
	padding: 0;
}
#scoreboard .day-item-code .actual-code, #scoreboard .day-item-code .actual-code+.desktop+.mobile { display: none;}
#scoreboard .day-item-name { font-size: 25px; }
#scoreboard .mission .day-item-name { margin-left: 90px; }
#scoreboard .mission .day-item-code {
	position: absolute;
	top: 7px;
	right: 20px;
	width: auto;
}
/*html.mobile #scoreboard .mission .day-item-code {*/
#scoreboard .mission .day-item-code {
	position: relative;
	top: initial;
	right: initial;
	margin-left: 90px;
}
#scoreboard .day-item-code strong, #scoreboard .day-item-points strong { font-weight: normal; }
#scoreboard .day-item-code .point-value, #scoreboard .day-item-points .point-value { display: inline-block; width: 40px; text-align: right; }

#scoreboard .mission-icons {
	margin-top: 7px;
	/* margin-right: 15px; */
	float: left;
	width: 40px;
	text-align: center;
}
#scoreboard .mission-icons img {
	margin-left: 10px;
	height: 22px;
}
#scoreboard .day-item-drive-times {
	margin-left: 91px;
	font-size: 19px;
}

#scoreboard .day-item-drive-times strong {
	margin-right: 20px;
	font-weight: normal;
}
#scoreboard .day-item-drive-time-attribute {
	display: inline-block;
	margin-right: 10px;
}
#scoreboard .clear {
	clear: both;
}
#scoreboard .day-details-description {
	padding: 5px 20px;
}
#scoreboard ul > li {
	padding:5px 20px;
	margin: 0 -20px;
}
#scoreboard .missions + ul > li:nth-child(odd),
#scoreboard .bonuses + ul > li:nth-child(odd),
#scoreboard .tracks + ul > li:nth-child(odd),
#scoreboard .penalties + ul > li:nth-child(odd),
#scoreboard .score-plus + ul > li:nth-child(odd),
#scoreboard .highway-cards-positive + ul > li:nth-child(odd),
#scoreboard .highway-cards-negative + ul > li:nth-child(odd),
#scoreboard .day-starting + ul > li:nth-child(odd),
#scoreboard .day-finishing + ul > li:nth-child(odd),
#scoreboard .day-missions + ul > li:nth-child(odd),
#scoreboard .day-bonuses + ul > li:nth-child(odd),
#scoreboard .day-tracks + ul > li:nth-child(odd) {
	background: rgba(255,255,255,0.3);
}
.tabs-container > div:nth-of-type(1) h1{
	background: #858558;
	color: white;
}
.tabs-container > div:nth-of-type(2) h1{
	background: #996;
	color: white;
}
.tabs-container > div:nth-of-type(3) h1{
	background: #a6a678;
	color: white;
}
.tabs-container > div:nth-of-type(4) h1{
	background: #b3b38d;
	color: white;
}
.tabs-container > div:nth-of-type(5) h1{
	background: #C9C9A1;
	color: white;
}
#scoreboard #gps-iframe {
	display: none;
	width: 100%;
}
#scoreboard .tabs-container .active {
	background: #666663;
	text-decoration: underline;
}
#scoreboard .team-row, #scoreboard .class-row, #scoreboard .loading-bar {
	background: #bababa;
	background: -moz-linear-gradient(top, #bababa 0%, #eaeaea 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bababa), color-stop(100%,#eaeaea));
	background: -webkit-linear-gradient(top, #bababa 0%,#eaeaea 100%);
	background: -o-linear-gradient(top, #bababa 0%,#eaeaea 100%);
	background: -ms-linear-gradient(top, #bababa 0%,#eaeaea 100%);
	background: linear-gradient(to bottom, #bababa 0%,#eaeaea 100%);
}
#scoreboard .class-row {
	text-align: center;
}
#scoreboard .scoring-day-details {
	display: none;
}
#scoreboard .day-row-title, #scoreboard .full.day-row {
	background: #abd5d5;
	vertical-align: middle;
}
#scoreboard .day-row-title:nth-child(even), #scoreboard .full.day-row.even {
	background: #bddfdf;
}
#scoreboard .scoring-day-details {
	background: #ddd;
}
#scoreboard .missions h2, #scoreboard .day-missions {
	background: #8181ff;
	color: white;
	height: 38px;
}
#scoreboard .missions + ul, #scoreboard .day-missions + ul {
	background: #cdc1ff;
}
#scoreboard .reveallists {
	color: #8181ff;
	font-weight: bold;
	list-style: disc;
	margin-left: 20px;
}
#scoreboard .reveallists p {
	color: #483949;
	font-weight: normal;
}
#scoreboard .tracks h2, #scoreboard .day-tracks{
	background: #b0b;
	color: white;
	height: 38px;
}
#scoreboard .tracks + ul, #scoreboard .day-tracks + ul {
	background: #faf;
}
#scoreboard .bonuses h2, #scoreboard .day-bonuses{
	background: #f63;
	color: white;
	height: 38px;
}
#scoreboard .bonuses + ul, #scoreboard .day-bonuses + ul {
	background: #fb9;
}
#scoreboard .penalties h2 {
	background: #b00;
	color: white;
	height: 38px;
}
#scoreboard .penalties + ul {
	background: #f66;
}
#scoreboard .highway-cards-negative h2 {
	background: #b00;
	color: white;
	height: 38px;
}
#scoreboard .highway-cards-negative + ul {
	background: #f66;
}
#scoreboard .score-plus h2, #scoreboard .day-starting{
	background: #9c3;
	color: white;
	height: 38px;
}
#scoreboard .score-plus + ul, #scoreboard .day-starting + ul {
	background: #bf6;
}
#scoreboard .highway-cards-positive h2 {
	background: #9c3;
	color: white;
	height: 38px;
}
#scoreboard .highway-cards-positive + ul {
	background: #bf6;
}
#scoreboard .day-finishing {
	background: #b00;
	color: white;
	height: 38px;
}
#scoreboard .day-finishing + ul {
	background: #f66;
}
#scoreboard .mobile {
	display: block;
}
#scoreboard .desktop {
	display: none;
}
@media only screen and (min-width: 736px) {
	#scoreboard .mobile {
		display: none;
	}
	#scoreboard .mobile {
		display: block;
	}
	#scoreboard .day-row {
		height: 50px;
	}
	#scoreboard .day-finishing,
	#scoreboard .score-plus h2,
	#scoreboard .highway-cards-positive h2,
	#scoreboard .highway-cards-negative h2,
	#scoreboard .day-starting,
	#scoreboard .missions h2,
	#scoreboard .day-missions,
	#scoreboard .tracks h2,
	#scoreboard .day-tracks,
	#scoreboard .bonuses h2,
	#scoreboard .day-bonuses,
	#scoreboard .penalties h2{
		height: 56px;
		padding-top: 5px;
	}
}