table {
    font-size: 12px;
}
th.actions, td.actions {
    text-align: right;
}
.footer {
    background-color: transparent;
}
.container-fluid .text-muted {
    margin: 20px 0;
    text-align: right;
}
input#username {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
input, select, textarea {
    margin-bottom: 5px;
    margin-right: 5px;
}
.main  {
    position: relative;
}
.toolbar {
    position: absolute;
    top: 20px;
    right: 40px;
    line-height: 40px;
}



.compact {
    /*
    border: 1px solid #ccc;
    background: #fcfcfc;
    padding: 10px;
    font-size: 90%;
    */
}
.selected, .selected .link {
    /*font-weight: bold;*/
    color: #a94442 !important;
}

.btn {
    margin-right: 5px;
}
.link {
    text-decoration: underline;
    /*color: #337ab7;*/
    cursor: pointer;
}
.link:hover {
    text-decoration: underline;
}

/* FILES */

.files .processed {
    color: #3c763d;
    background-color: #dff0d8;
}
.files .processing {
    color: #8a6d3b;
    background-color: #fcf8e3;
}

/* SERIES */

#series td.serie, #series td.title, #series td.code {
    cursor: pointer;
    text-decoration: underline;
}

/* CALENDAR */

/* SERIE */

/* RANKINGS */

.rankings, .rankings h3 {
    position: relative;
}
.rankings th, .rankings td {
    text-align: center;
}
.rankings th.code, .rankings td.code, .rankings th.position, .rankings td.position, .rankings th.team, .rankings td.team {
    text-align: left;
}
.rankings .odd {
    background: rgba(0,0,0,0.05);
}

/* GAMES */

.games, .games h3 {
    position: relative;
}
.games .home {
    text-align: right;
}
.games .score, .games .time-score {
    text-align: center;
}
.games .home .serie, .games .away .serie {
    font-style: italic;
}
.games .buttons {
    position: absolute;
    right: 0;
    font-size: 14px;
}
.games .buttons .previous, .games .buttons .next {
    cursor: pointer;
}
.games .buttons .text {
    display: none;
}
.games .buttons .previous:hover, .games .buttons .next:hover {
    color: #337ab7;
}
.games .buttons .flaticon:before {
    margin-left: 0;
    font-size: 16px;
}
.compact .games td.home, .compact .games td.away {
    width: 40%;
}
.games span.victory, .games span.defeat, .games span.draw {
    color: #fff;
    font-weight: normal;
    padding: 4px 4px;
    border-radius: 3px;
    white-space: nowrap;
}
.games span.victory {
    background: #5cb85c;
}
.games span.defeat {
    background: #d9534f;
}
.games span.draw {
    background: #bbb;
}
.games .win {
    font-weight: bold;
}
.games .date-separator {
    font-weight: bold;
    font-style: italic;
    background: rgba(0,0,0,0.05);
}
.games .week, .games .date, .games .time, .games .serie, .games .score, .games .time-score {
    white-space: nowrap;
}

.games .red {
    color: red;
    font-weight: bold;
}


/* GAME */

#modalGame .modal-body {
    text-align: center;
}
#modalGame .modal-body #scoreHome {
    text-align: center;
    margin-left: 5px;
    margin-right: 2px;
}
#modalGame .modal-body #scoreAway {
    text-align: center;
    margin-left: 2px;
    margin-right: 5px;
}

@media (max-width: 768px) {
    .main {
        padding-right: 0px;
        padding-left: 0px;
    }
}