@font-face {
    font-family: 'Calibri';
    src: url('../fonts/Calibri.ttf');
}


/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font-family: 'Calibri', Helvetica, Helvetica Neue, Arial !important;
    background-image: url(../img/backgroundV3.png);
    background-origin: content-box;
    background-size: 100%;
    background-position-x: 50%;
}

.main {
    font-size: 20px;
}

@media(max-width: 400px) {
    .main {
        font-size: 16px !important;
    }
    .scores-icon-timer {
        width: 20px !important;
        height: 20px !important;
    }
    .scores-icon-trophy {
        width: 20px !important;
        height: 20px !important;
    }
}

@media(max-width: 300px) {
    .main {
        font-size: 12px !important;
    }
    .scores-icon-timer {
        display: none;
    }
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}


/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
    border-bottom: 20px solid #222222;
}

.footer-container,
.main aside {
    border-top: 20px solid #222222;
}

.header-container,
.footer-container,
.main aside {
    background: #333333;
}

.title {
    color: white;
}


/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    color: white;
    background: #222222;
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: underline;
}


/* ==============
    MOBILE: Main
   ============== */

.main {
    /*    padding: 30px 0;*/
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}


/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.hline {
    background-image: url(../img/Line.png);
    height: 2px;
    background-color: 2px;
    margin: 2px 0px 2px 0px;
    clear: both;
    opacity: .7;
}

.scores-icon-trophy {
    font-weight: bold;
    align-content: center;
    vertical-align: middle;
    height: 32px;
    margin: .1em;
    background-size: contain;
}

.scores-icon-timer {
    width: 32px;
    height: 32px;
    vertical-align: bottom;
}

.scores-time {
    white-space: nowrap;
}

.trophy-0 {
    background-image: url(../img/Icon_Pos1.png);
	background-position: center;
	background-repeat: no-repeat;
}

.trophy-1 {
    background-image: url(../img/Icon_Pos2.png);
	background-position: center;
	background-repeat: no-repeat;
}

.trophy-2 {
    background-image: url(../img/Icon_Pos3.png);
	background-position: center;
	background-repeat: no-repeat;
}


/*    --------------------------------------------------
	:: General
	-------------------------------------------------- */

.content h1 {
    text-align: center;
}

.content .content-footer p {
    color: #6d6d6d;
    font-size: 12px;
    text-align: center;
}

.content .content-footer p a {
    color: inherit;
    font-weight: bold;
}

.buemi-logo {
    transform: scale(.8);
}

.redbull-logo {
    margin-bottom: 1em;
    margin-top: .6em;
    transform: scale(.9);
}

@media(max-width: 400px) {
    .redbull-logo {
        width: 95%;
        margin-bottom: 1em;
        margin-top: .6em;
        transform: scale(.9);
    }
}

.content-row {
    min-height: 800px;
}

.hidden {
    display: none;
}


/*	--------------------------------------------------
	:: Info column
	-------------------------------------------------- */

.infocolumn{
	background:rgba(43,214,217,0.8);
	height:100vh;
}

.capital{
	text-transform: uppercase !important;
}

.infoTitle{
	font-size: 30px;
	font-weight: bold;
	margin-top: 50px;
	padding-left: 30px !important;
}
.infoText{
	font-size: 20px;
	padding-left: 30px !important;
	width:220px;
}

.infoDates{
	font-size: 25px;
	font-weight: bold;
	padding-left: 30px !important;
	margin-top:25px;
}

.white{
	color:white;
}

.infoLine{
	padding: 0px !important;
	height: 2px;
	width: 232px;
	background-color: rgba(255,255,255,1);
	margin-bottom:20px;
	float:right;
}

.vlive{
	position:fixed;
    bottom:0px;
    right:0;
	color:white;
	font-size: 10px;
	text-align: center;
	padding-top:10px;
}


/*	--------------------------------------------------
	:: Table Filter
	-------------------------------------------------- */

.panel {
    border: none !important;
    border-radius: 0px;
    background-color: transparent !important;
}
.panel-body{
	padding-left:0px !important;
	padding-right:0px !important;
}

.panel .btn-group {
    margin: 15px 0 30px;
}

.panel .btn-group .btn {
    transition: background-color .3s ease;
}

.table-scores {
    color: #fff;
    /*	border-bottom: 1px solid #eee;*/
}

.table-scores thead tr th {
    border-bottom: 0px !important;
	padding: 0px !important;
	padding-bottom: 15px !important;
}

.table-scores thead tr th:first-of-type {
    text-align: center;
}

.table-scores tbody tr td {
    border-top: 0px !important;
}

@media(max-width: 200px) {
    .table-scores thead tr th,
    .table-scores tbody tr td {
        font-size: 1.4em;
        display: table-row;
        line-height: 2em !important;
        text-align: center;
    }
}

.table-scores tbody tr:hover {
    /*	background-color: #eee;*/
}

.table-scores td.scores-position {
    text-align: center;
    width: 10%;
	padding: 0px;
	padding-top: 15px;
}

.table-scores td.scores-username {
    width: 60%;
	padding: 0px;
	vertical-align: bottom;
}

.table-scores td.scores-time {
    width: 15%;
	padding: 0px;
	vertical-align: bottom;
}

.table-scores .scores-spacer td{
	padding: 0px;
}

.table-scores tr.template {
    display: none;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {
    /* ====================
    INTERMEDIATE: Menu
   ==================== */
    nav a {
        float: left;
        width: 27%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }
    nav li:first-child a {
        margin-left: 0;
    }
    nav li:last-child a {
        margin-right: 0;
    }
    /* ========================
    INTERMEDIATE: IE Fixes
   ======================== */
    nav ul li {
        display: inline;
    }
    .oldie nav a {
        margin: 0 0.7%;
    }
}

@media only screen and (min-width: 768px) {
    /* ====================
    WIDE: CSS3 Effects
   ==================== */
    .header-container,
    .main aside {
        -webkit-box-shadow: 0 5px 10px #aaa;
        -moz-box-shadow: 0 5px 10px #aaa;
        box-shadow: 0 5px 10px #aaa;
    }
    /* ============
    WIDE: Menu
   ============ */
    .title {
        float: left;
    }
    nav {
        float: right;
        width: 38%;
    }
    /* ============
    WIDE: Main
   ============ */
    .main article {
        float: left;
        width: 57%;
    }
    .main aside {
        float: right;
        width: 28%;
    }
}

@media only screen and (min-width: 1140px) {
    /* ===============
    Maximal Width
   =============== */
    .wrapper {
        width: 1026px;
        /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}


/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a,
    a:visited {
        text-decoration: underline;
    }
    a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}
