/* 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;
}

/**
 * Circle Styles
 */

.circle {
    position: relative;
    display: block;
    margin: 2em 0;
    background-color: transparent;
    color: #222;
    text-align: center;
}

.circle:after {
    display: block;
    padding-bottom: 100%;
    width: 100%;
    height: 0;
    border-radius: 50%;
    background-color: #99CCCC;
    content: "";
}

.circle__inner {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.circle__wrapper {
    display: table;
    width: 100%;
    height: 100%;
}

.circle__content {
    display: table-cell;
    padding: 1em;
    vertical-align: middle;
}


@media (min-width: 480px) {
    .circle__content {
        font-size: 14px;
    }

    @media (min-width: 768px) {
        .circle__content {
            font-size: 14px;
        }
    }

    #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 {
        padding-top: 30px;
        border-bottom: 1px solid #ddd;
    }

    h6 {
        margin-bottom: 0px;
        margin-left: 30px
    }

    div#page-wrapper > header {
        display: flex;
        justify-content: space-between;
        padding: 10px 0 0 0;
    }


    .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: xxx-large
    }

    /* General lay-out*/
    .flex-horizontal {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        flex: 1;
    }

    .flex-vertical {
        flex-wrap: wrap;
        justify-content: flex-start;
        flex: 1;
    }

    #page-wrapper {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        max-width: 1100px;
        margin: 0 auto;
        font-family: Oxygen, Trebuchet, Lato, Verdana, sans-serif;
    }

    div#page-wrapper > menu {
        padding: 0 0 5px 0;
    }

    /* Playing with maim */
    main {
        flex-grow: 2;
    }

    /* Playing with footer */
    footer {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    footer p {
        font-style: oblique;
    }

    /* More random stuff */
    ol, ul {
        list-style-type: none;
    }


    body {
        background-color: rgb(255, 255, 255);
    }

    time {
        display: inline-block;
        font-weight: bold;
        min-width: 60px;
        text-align: right;
    }

    li > time::after {
        content: " - ";
    }

    .badge-tournament {
        min-width: 50px;
        display: inline-block;
        vertical-align: middle;
        margin-right: 5px;
        font-family: Lato, Trebuchet, Helvetica, Verdana, sans-serif;
    }

    .badge-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;
        }
    }
}
.two-partners-in-one{
    display:inline-flex;
    flex-direction: column;
    height: 170px;
    vertical-align: top;
}