/* FONT */
@font-face {
  font-family: 'Rubik-Black';
  src: url('../fonts/Rubik/Rubik-Black.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
} 
@font-face {
  font-family: 'Rubik-Bold';
  src: url('../fonts/Rubik/Rubik-Bold.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
} 
@font-face {
  font-family: 'Rubik-Light';
  src: url('../fonts/Rubik/Rubik-Light.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
} 
@font-face {
  font-family: 'Rubik-Medium';
  src: url('../fonts/Rubik/Rubik-Medium.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
} 
@font-face {
  font-family: 'Rubik-Regular';
  src: url('../fonts/Rubik/Rubik-Regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}  

body {
	position: relative;
	padding: 0;
	margin: 0;
	background: transparent;
	font-family: 'Rubik-Regular';
	color: white;
	font-size: 22px;
}
#wrapper{
	width: 794px;
	height: 539px;
	background: transparent;
	/*background: url('../img/transparency.png');*/
	overflow: hidden;
}

#debug-kit-toolbar{
	display: none;
}
#data{
	width: 794px;
	height: 539px;
	position: relative;
	background: url('../img/red-bg.png') no-repeat;
	background-size: cover;
	/* padding-top: 40px; */
}

video {
	position: absolute;
    left: -5px;
    bottom: -20px;
    height: 108%;
    z-index: 0;
}
.container {
	position: relative;
	z-index: 2;
	padding-top: 40px;
	padding-left: 40px;
	padding-right: 49px;
}

.container::after {
	content: "";
	clear: both;
	display: table;
}

.player-info {
	float: left;
}

.player-info .number {
	display: inline-block;
	background-color: #A71417;
	/* padding-left: 15px;
	padding-right: 15px; */
	width: 0;
	position: relative;
}

.number-hover {
	position: absolute;
	left: 0;
	height: 70px;
	width: 123px;
	background-color: #A71417;
	z-index: 9999;
	display: none;
}

.player-info .number p {
	font-family: 'Rubik-Black';
	font-size: 62px;
	margin: 0;
	position: relative;
	padding-left: 15px;
	visibility: hidden;
}

.player-info .name {
	text-transform: uppercase;
	font-family: 'Rubik-Black';
	font-size: 32px;
	line-height: 1.1;
	margin-top: 10px;
	margin-bottom: 0;
}

.sponsor {
	float: right;
}

.stats {
	position: absolute;
	bottom: 0;
	width: 100%;
	background-color: #A71417;
}

.stats .top {
	font-family: 'Rubik-Bold';
	font-size: 19px;
	background-color: #fee300;
	color: #000;
	text-align: center;
	padding: 8px;
}

.stats .auto {
	background-color: #A71417;
	width: 44.7%;
	float: left;
	border-right: 6px solid #fee300;
	padding-left: 40px;
	padding-top: 14px;
	padding-bottom: 10px;
	position: relative;
}

.stats .auto .bullet {
	position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.stats .auto .icon {
	font-family: 'Rubik-Regular';
	font-size: 19px;
	height: 30px;
}

.stats .auto .icon img {
	/* height: 22px; */
	margin-right: 6px;
}

.stats .icon span {
	display: inline-block;
	transform: translateY(-8px);
}

.stats .auto .value {
	font-size: 19px;
	font-family: 'Rubik-Regular';
}

.stats .auto .value span {
	font-family: 'Rubik-Black';
	font-size: 62px;
	margin-right: 8px;
}

.stats .player {
	background-color: #A71417;
	float: left;
	padding-left: 40px;
	padding-top: 14px;
	padding-bottom: 10px;
}

.stats .player .icon {
	font-family: 'Rubik-Regular';
	font-size: 19px;
	height: 30px;
}

.stats .player .icon img {
	height: 30px;
	margin-right: 6px;
}

.stats .player .value {
	font-size: 19px;
	font-family: 'Rubik-Regular';
}

.stats .player .value span {
	font-family: 'Rubik-Black';
	font-size: 62px;
	margin-right: 8px;
}

/* .stats {
	position: absolute;
	right: -516px;
	bottom: 0;
}

.stats-container {
	position: relative;
	background-color: #A71417;
	min-width: 350px;
	height: 187px;
	padding-left: 10px;
	padding-right: 10px;
}

.stats-container:before {
	content: '';
    position:absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 218px 87px;
    border-color: transparent transparent #A71417 transparent;
    left: -87px;
}

.stats-number {
	font-family: 'Rubik-Black';
	font-size: 95px;
	margin: 0;
	line-height: 1;
	padding-top: 22px;
}

.stats-description {
	font-family: 'Rubik-Medium';
	font-size: 40px;
	margin: 0;
}

.stats-hover {
	background-color: #A71417;
	width: 520px;
	height: 187px;
	position: absolute;
	left: -30px;
	bottom: 0;
	z-index: 4;
	transform: skewX(-22deg);
	-webkit-transform: skew(-22deg);
	-moz-transform: skew(-22deg);
	-o-transform: skew(-22deg);
} */


.text-blue{
	color: #21337E !important;
}
.bg-blue{
	background-color: #21337E !important;
}
.text-red{
	color: #A71417 !important;
}
.bg-red{
	background-color: #A71417 !important;
}
.text-white{
	color: white !important;
}
.bg-white{
	background-color: white !important;
}

.delay-1{
    animation-delay: 0.10s;
}
.delay-2{
    animation-delay: 0.15s;
}
.delay-3{
    animation-delay: 0.20s;
}
.delay-4{
    animation-delay: 0.25s;
}
.delay-5{
    animation-delay: 0.30s;
}
.delay-6{
    animation-delay: 0.35s;
}
.delay-7{
    animation-delay: 0.40s;
}
.delay-8{
    animation-delay: 0.45s;
}
.delay-9{
    animation-delay: 0.50s;
}
.delay-10{
    animation-delay: 0.55s;
}

#transition{
	width: 794px;
	height: 539px;
	position: fixed;
	top: 0;
	left: 0;
	overflow: hidden;
}
#transition .box-blue{
	background-color: #21337E !important;
	width: 800px;
	height: 539px;
	right: -1000px;
	position: absolute;
	transform:skewX(150deg);
}
#transition .box-white{
	background-color: white !important;
	width: 1000px;
	height: 539px;
	right: -1200px;
	position: absolute;
	transform:skewX(150deg);
}
#transition .box-red{
	background-color: #A71417 !important;
	width: 1500px;
	height: 539px;
	right: -1800px;
	position: absolute;
	transform:skewX(150deg);
}

#ranking ul{
	list-style: none;
	padding: 0;
	margin: 0;
}
#ranking ul li{
	margin: 0 0 4px;
	background: white;
	color: black;
}
#ranking ul li.header{
	background: transparent;
	color: white;
}
#ranking ul li.relegation{
	background: #333;
	color: white;
}
#ranking ul li > div{
	display: inline-block;
	padding: 6px;
}
#ranking ul li > div.title{
	width: 70%;
	text-align: left;
}
#ranking ul li > div.rank{
	width: 7%;
	text-align: center;
}
#ranking ul li > div.team{
	width: 62%;
	text-align: left;
	padding-left: 0;
}
#ranking ul li > div.games{
	width: 7%;
	text-align: center;
}
#ranking ul li > div.goals{
	width: 7%;
	text-align: center;
}
#ranking ul li > div.points{
	width: 7%;
	text-align: center;
}
#ranking ul li > div.team > img{
	width: 40px;
	margin-top: -5px;
	margin-bottom: -5px;
	margin-right: 20px;
}

#totomat{
	line-height: 60px;
}
#totomat h1{
	text-align: center;
	text-transform: uppercase;
	/* margin: 10px 0 30px; */
	line-height: 40px;
}
#totomat h1 small{
	font-size: 22px;
	font-family: 'Rubik-Light';
	text-align: center;
	margin: 0;
	padding: 0;
}
#totomat .row{
	background: white;
	color: black;
	margin-bottom: 10px;
	
}
#totomat .row > div{
	display: inline-block;
}
#totomat .row > div.team{
	width: 43%;
}
#totomat .row > div.team img.logo{
	width: 50px;
	margin: 5px 10px;
}

#totomat .row > div.home-team{
	text-align: right;
}
#totomat .row > div.home-team img.logo{
	float:right;
}
#totomat .row > div.away-team img.logo{
	float:left;
}
#totomat .row > div.score{
	font-family: 'Rubik-Bold';
	background: #333;
	color: white;
	padding: 0 10px;
	width: 10%;
	text-align: center;
}

