/*On the basis of the css made by Marcin Waslowicz, jaom.pl*/
/* Nice fonts */
/* @import url(http://fonts.googleapis.com/css?family=Open+Sans:600,400); */
/* @import url(http://fonts.googleapis.com/css?family=Inconsolata); */
@import url(http://fonts.googleapis.com/css?family=Lato&subset=latin,latin-ext);
@import url(https://fonts.googleapis.com/css?family=Oxygen&subset=latin,latin-ext);
@import url(boom_hover.css);

/* fixing Font Awesome */
aside div.list-group a.list-group-item i {
	margin-right: 5px;
	display: inline-block;
}

div#xd	{
	display: inline-block
}

/* Fixing live scores */
#live-scores > section > article {
	display: flex;
}

#live-scores > section > article > a {
	flex-grow: 1;
	text-align: center;
	font-weight: bold;
	border-top: 1px solid #ddd !important;
	border-right: 1px solid #ddd !important;
	border-left: none;
	border-bottom: none;
	border-radius: 0px;
}

#live-scores > section > article:last-child > a:last-child {
	border-bottom-right-radius: 4px;
	border-right: 1px solid #ddd;
}

#live-scores > section > article:last-child > a:first-child {
	border-bottom-left-radius: 4px;
	border-left
}

#live-scores > section > article:first-child > a:last-child {
	border-top-right-radius: 4px;
}

#live-scores > section > article:first-child > a:first-child {
	border-top-left-radius: 4px;
}

#live-scores > section > article:last-child > a {
	border-bottom: 1px solid #ddd;
}

#live-scores > section > article > a:first-child {
	border-left: 1px solid #ddd;
}

#live-scores > section {
	padding-bottom: 20px;
}

#live-scores > section:last-child {
	padding-bottom: 0px;
}

/* Selecting the main page header and making it nice */
h2 {
}

section.leftBOX {
	padding-right: 50px;	
	text-align: justify;
}

div#page-wrapper > header {
	display: flex;
	justify-content: space-between;
	padding: 5px 0 5px 0;
	align-items: center;
}

.tournamentInfo {
	text-align: center;
}

.tournamentInfo p {
	font-style: oblique;
	font-size: x-large;
	margin: 0 0 0 0;
}

.tournamentInfo h1 {
	margin: 0 0 0 0;
	font-size: xx-large
}

/* General lay-out*/
.flex-horizontal {
	display: flex;
	flex-wrap: wrap;
	flex: 1;
}

#page-wrapper {
	/* min-height: 20vh;*/
	/* display: flex;*/
	/* flex-direction: column;*/
	/* justify-content: space-between; */
	/* max-width: 1100px;*/
	/* margin: 0 auto; */
	font-family: Oxygen, Trebuchet, Lato, Verdana, sans-serif;
}

/* Playing with maim */
main {
	flex-grow: 2;
	max-width: 650px;
	text-align: justify;
}

/* Playing with footer */
footer {
	padding-top: 10px;
}

footer p {
	font-style: oblique;
}

/* More random stuff */

body {
background-color: rgb(255,255,255);
}

time {    display: inline-block;    font-weight: bold;    min-width: 60px;    text-align: right;}


li > time::after {
	content: " - ";
}

.label-tournament {
	min-width: 50px;
	display: inline-block;
	vertical-align: middle;
	margin-right: 5px;
	font-family: Lato, Trebuchet, Helvetica, Verdana, sans-serif;
}

.label-important {
	background-color: #b94a48;
	margin-left: -5px;
	font-family: Lato, Trebuchet, Helvetica, Verdana, sans-serif;
}

.live {
 	-webkit-animation: progress-bar-stripes 2s linear infinite;
 	-o-animation: progress-bar-stripes 2s linear infinite;
 	animation: progress-bar-stripes 2s linear infinite;
 	animation-direction: reverse;
}
/* No print  */
@media print
{    
    .no-print, .no-print *
    {
        display: none !important;
    }
  
  .navbar, .image, .f, body > center > table > tbody {
        display: none !important;
    }

    /* Fixing printing url in firefox */
    a:link:after,
    a:visited:after {
        content: "" !important;
    }
}