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

/* global begin */
.vertical-center {
	min-height: 100vh;
	display: flex;
	align-items: center;
}

.loading {
	position: relative;
}

.loading::after {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	background-color: #ffffff;
	opacity: 0.5;
	cursor: progress;
	z-index: 1;
}

.modal-body.loading {
	min-height: 100px;
}

.modal-body.loading::before {
	content: '';
	width: 40px;
	height: 40px;
	position: absolute;
	top: calc(50% - 20px);
	left: calc(50% - 20px);
	background-color: #000000;	
	border-radius: 100%;  
	-webkit-animation: sscaleout 1.0s infinite ease-in-out;
	animation: scaleout 1.0s infinite ease-in-out;
}

@-webkit-keyframes scaleout {
	0% {
		-webkit-transform: scale(0)
		
	}
	100% {
		-webkit-transform: scale(1.0);
		opacity: 0;
	}
}

@keyframes scaleout {
	0% { 
		-webkit-transform: scale(0);
		transform: scale(0);
	}
	100% {
		-webkit-transform: scale(1.0);
		transform: scale(1.0);
		opacity: 0;
	}
}

UL.reset {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

svg.inline {
	margin-right: 7px;
}

.alert.alert-icon {
	padding-left: 2.25rem;
}

.alert.alert-icon > svg {
	position: absolute;
	top: 15px;
	left: 10px;
}

.hide {
	display: none;
}

.table-hover TBODY TR {
	cursor: pointer;
}

.fixed-width-80 {
	width: 80px;
}

.fixed-width-120 {
	width: 120px;
}

.table-striped-invers tbody tr:nth-of-type(2n+2) {
    background-color: rgba(0,0,0,.05);
}

/* bug with *last-child no margin */
.modal-header .close:last-child {
	margin-bottom: -1rem !important;
}

/* bug with *last-child no margin */
.card-header-tabs:last-child {
	margin-bottom: -.75rem !important;
}

/* bug with *last-child no margin */
.nav-tabs .nav-item:last-child {
	margin-bottom: -1px !important;
}

.align-center {
	text-align: center;
}

.no-shadow {
	text-shadow: none;
}
/* global end */

/* theme begin */
BODY {
	width: 100%;
	font-family: 'Lato', Arial;
	word-wrap: break-word;
	overflow-x: hidden;
}

.bg-image {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0px;
	left: 0px;
	background-image: url('../Images/rasen.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	z-index: 1;
}

.bg-image:after {
	content: '';
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0px;
	left: 0px;
	background-color: rgba(0,0,0,0.5);
	z-index: 2;
}

.wholediv {
	padding-top: 40px;
	width: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 10;
}

.wholediv-home {
	padding-top: 0px;	
}

.nav-btn {
	padding: 10px;
	width: 64px;
	height: 50px;
	position: absolute;
	left: -64px;
	top: 0px;	
	cursor: pointer;
	display: block;
	z-index: 15;
}

.nav-btn SPAN {
	margin-bottom: 6px;
	height: 6px;
	width: 100%;
	background: #ffffff;
	display: block;
}

ASIDE {
	width: 80vw;
	height: 100%;
	position: fixed;
	right: -80vw;
	top: 0px;
	display: block;
	-webkit-transition: all 300ms cubic-bezier(0.000, 0.000, 0.580, 1.000);
	-moz-transition: all 300ms cubic-bezier(0.000, 0.000, 0.580, 1.000);
	-o-transition: all 300ms cubic-bezier(0.000, 0.000, 0.580, 1.000);
	transition: all 300ms cubic-bezier(0.000, 0.000, 0.580, 1.000);
	color: #ffffff;
	z-index: 10;
}

ASIDE:after {
	content: '';
	width: 11px;
	height: 100%;
	position: absolute;
	left: 0px;
	top: 0px;
	-webkit-box-shadow: inset 4px 0px 5px -4px rgba(51,51,51,1);
	-moz-box-shadow: inset 4px 0px 5px -4px rgba(51,51,51,1);
	box-shadow: inset 4px 0px 5px -4px rgba(51,51,51,1);
}

.nav-open ASIDE {
	-ms-transform: translate(-80vw, 0px);
    -webkit-transform: translate(-80vw, 0px);
	transform: translate(-80vw, 0px);
}

.nav-open ASIDE:before {
	content: '';
	width: 20vw;
	height: 100%;
	position: absolute;
	left: -20vw;
	top: 0px;
}

ASIDE .aside-inner {	
	min-height: 100%;
	background: #6c985d;
}

NAV > UL > LI + LI {
	border-top: 1px solid #edf4ec;
}

NAV > UL > LI > A, NAV > UL > LI > A:hover {
	padding: 0.8rem;
	display: block;
	color: #ffffff;
	text-transform: uppercase;
	text-decoration: none;
}

.content {
	padding: 10px;
	color: #ffffff;
	text-shadow: 1px 1px #212529;
}

.content .card {
	color: #212529;
	text-shadow: none;
}
/* theme end */

/* ext begin */
.login {
	margin: 0px auto;
	margin-top: 10%;
	width: 350px;
}

.login > .card {
	width: 100%;
}

.login .logo {
	background: #333333;
	color: #ffffff;
	text-align: center;
	font-size: 1.25rem;
}

.login .avatar {
	margin: 0px auto;
	width: 100px;
	height: 100px;
	position: relative;
	border-radius: 100px;
	background-color: #e9ecef;
	font-size: 4.5rem;
	color: #5a6268;
	overflow: hidden;
}

.login .avatar svg {
	position: absolute;
	left: calc(50% - 31px);
	bottom: 0px;
}

.game-list > .item {
	padding-top: 10px;
	padding-bottom: 10px;
}

.game-list > .item > * {
	float: left;
	text-align: center;
}

.game-list IMG, .game-show IMG {
	margin: 0px auto;
	margin-bottom: 5px;
	width: auto;
	max-height: 50px;
	display: block;
}

/* union berlin */ 
#team114 {
    margin-top: 14px;
	width: 100px !important;
	height: auto !important;
	
}

.game-list .national-team IMG, .game-show.national-team IMG {
	max-height: 25px;
}

.game-list .seperator > SPAN:first-child, .game-show .seperator > SPAN:first-child {
	margin-bottom: 8px;
	line-height: 1em;
	font-size: 2.5rem;
	font-weight: bold;
	display: block;
}

.game-list .first-team, .game-list .second-team, .game-show .first-team, .game-show .second-team {
	font-size: 0.75rem;
}

.game-list .game-kickoff {
	padding-top: 5px;
}

.game-list .game-kickoff > * {
	display: block;
}

.game-list .kickoff-date {
	margin-bottom: 2px;
	font-size: 0.75rem;
	font-weight: 400;
}

.game-list .kickoff-time {
	margin-bottom: 3px;
	line-height: 1em;
	font-size: 1.25rem;
	font-weight: bold;
}

.game-list .userbet {
	font-size: 1.125rem;
	font-weight: normal;
	text-shadow: none;
}

.game-list > .game-pending > * {
	width: 30%;
}

.game-list > .game-pending > .seperator {
	width: 10%;
}

.game-list > .game-processing > * {
	width: 30%;
}

.game-list > .game-processing > .seperator {
	width: 40%;
}

.game-show .row {
	text-align: center;
}

.bet-ranking TABLE {
	width: 100%;
	text-align: center;
	color: #212529;
	text-shadow: none;
	background-color: #ffffff;
}

.bet-ranking TABLE TR TH {
	padding-top: 10px;
	padding-bottom: 10px;
	background: #212529;
	border-bottom: 1px solid #32383e;
	color: #ffffff;
}

.bet-ranking TABLE TR TH:first-child,
.bet-ranking TABLE TR TD:first-child {
	padding-left: 5px;
	padding-right: 5px;
	width: 20px;
}

.bet-ranking TABLE TR TH:nth-child(2),
.bet-ranking TABLE TR TD:nth-child(2) {
	text-align: left;
}

.bet-ranking TABLE TR TH:nth-child(3),
.bet-ranking TABLE TR TD:nth-child(3) {
	text-align: center;
}

.bet-ranking TABLE TR TH:last-child,
.bet-ranking TABLE TR TD:last-child {
	padding-right: 10px;
}

.bet-ranking TABLE TR TD {
	padding-top: 10px;
	padding-bottom: 10px;
	background: #ffffff;
    border-top: 1px solid #dee2e6;
}

.bet-ranking TABLE TBODY TR:nth-child(odd) TD {
	background: rgba(0,0,0,.05);
}

.bet-ranking TABLE TR TD.score {
	width: 7%;
}

.bet-ranking TABLE TR TD IMG {
	max-width: 100%;
	height: auto;
	display: inline-block;
	opacity: 0.25;
}

.bet-ranking TABLE TR TD IMG.remaining {
	opacity: 1;
}

.bet-ranking.teamranking TR TD.teams {
	text-align: right;
}

.scrollwrapper-200 {	
	max-height: 150px;
	overflow-y: scroll;
}

TABLE.userbets {
	width: 100%;
}

TABLE.userbets .label {
	width: 60%;
}

TABLE.userbets .value {
	width: 40%;
	text-align: right;
}

.event-list {
    display: flex;
    flex-wrap: wrap;
}

.event-list .item {
    margin-right: 10px;
    margin-bottom: 10px;
    flex-basis: calc(50% - 5px); 
}

.event-list .item:nth-child(2n){
    margin-right: 0px;
}

.event-list .item-content {
	color: #212529;
	text-shadow: none;
}

.event-list .item A.image {
	width: 100%;
	height: 120px;
	text-indent: -9999px;
	display: block;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: 50% 50%;
}

.logout A, .logout A:hover {
	padding: 0.8rem;
	border-top: 1px solid #edf4ec;
	display: block;
	color: #ffffff;
	text-transform: uppercase;
	text-decoration: none;
}
/* ext end */

* > :last-child {
	margin-bottom: 0px !important;
}

@media only screen and (max-width: 380px){
	.login {
		width: 90vw;
	}
	
	.login .avatar {
		width: 70px;
		height: 70px;
		border-radius: 70px;
		font-size: 3.5rem;
	}
	
	.login .avatar svg {
		left: calc(50% - 24px);
	}
}

@media only screen and (max-height: 500px){
	.login {
		margin-top: 10px;
	}
}
