
.match-banner {
    background-image: url(/static/images/banners/match.jpg);
    color: white;
    text-shadow: -1px 2px 2px rgba(0, 0, 0, 0.33);
    height: 180px;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    background-size: cover;
    box-shadow: -1px 2px 2px 1px rgba(0, 0, 0, 0.11);
    justify-content: center;
    line-height: 1.1;
}
.col-lg-12 {
    padding-right: 0px  !important;
    padding-left: 0px !important;
}
.banner-title {
    font-size: 24px;
}
.banner-title2 {
    font-weight: 800;
    font-size: 42px;
}
.main-block {
    border-radius: 0 0 8px 8px;
    color: #222;
    box-shadow: 0 1px 0 0 #dce1e6, 0 0 0 1px #e7e8ec;
}
.map-preview {
    width: 100%;
    height: 160px;
    background: linear-gradient( rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6) ), url(/static/images/map-bg.jpg);
    background-position-x: right;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    background-size: cover;
    background-position-y: 50%;
    padding: 12px;
    color: white !important;
    text-shadow: -1px 2px 2px rgba(0, 0, 0, 0.33);
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
    
}
.match-info-block {
    font-size: 16px;
    margin-right: 22px;
}
.match-info {
    display: flex;
}
.map-name {
    line-height: 1.2;
    display: block;
    color: white !important;
    text-decoration: none !important;
    font-weight: 600;
}
.map-song {
    font-size: 26px;
}
.map-artist {
    font-size: 18px;
    
}
.match-players {
    padding: 12px;
    background-color: #eee;
}
.single-player {
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
    display: flex;
    flex-direction: row;
    height: 76px;
    margin-top: 4px;
}
@media(max-width: 992px){
    .single-player{
        width: 1080px;
    }
}
.player-color {
    background-image: url(/static/images/icons/button.svg);
    background-color: #ce386e;
    height: 100%;
    width: 42px;
    background-size: 480%;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.player-stats {

    line-height: 1.1;
}
.player-nickname {
    color: #29b;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: baseline;
}
.user-flag{
    width: 32px;
}
img.user-flag {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 2px;
    height: 20px;
    width: 30px;
    margin-top: 6px;
    margin-right: auto;
}
.user-fail {
    font-size: 14px;
    color: red;
    margin-left: 12px;
    font-style: normal;
    text-transform: uppercase;
}
.user-combo {
    height: 100%;
    margin-left: 38px;
}
.single-user-sm-text {
    color: #555;
    font-size: 11px;
}
.single-user-lg-text {
    font-weight: 700;
    color: #64c;
    font-size: 14px;
}

.single-player-strokes {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 8px;
    line-height: 1.1
}
.single-map-stat {
    margin-left: 12px;
    margin-right: 12px;
}
.single-user-xl-text  {
    font-weight: 700;
    color: #c84977;
    font-size: 25px;
}
.user-map-stats-row-first {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
}
.score-stat-label-color {
    font-weight: 700;
    color: #64c;
    font-size: 14px;
}
.score-stat-label {
    font-weight: 700;
    color: rgba(0, 0, 0, 0.3);
    font-size: 12px;
}
.user-map-stats-row-second {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
.user-map-rows-both {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 70%;
}
.map-scores {
    line-height: 1.2;
    margin-top: 24px;
    padding-right: 24px;
    padding-left: 24px;
}
.score-title {
    font-size: 15px;
    font-weight: 700;
    color: #444;
}
.score-content {
    color: #cc5288;
    font-size: 30px;
}
.map-scores {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.blue-score {
    text-align: right;
}
.map-winner {
    width: 100%;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    background-color: #ddd;
    color: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.match-single {
    margin-bottom: 32px;
}
.match-single:last-child{
    margin-bottom: 0;
}
.player-color-nonteam {
    background-color: #eee !important;
}
.player-winner {
    background-color: #fc2;
}
.map-score-winner {
    justify-content: center;
    text-align: center;
}
@media (max-width: 576px) {
    .match-info-block {
        margin-right: 16px;
    }
    .map-song {
        font-size: 18px;
    }
    
}
@media (max-width: 992px) {
    .table-responsive {
        padding: 2px;
    }
}


.flag-dropdown {
    margin-bottom: 28px;
}


.map-preview:before {
    content: "";
    background: linear-gradient( rgba(0, 0, 0, 0.29), rgba(0, 0, 0, 0.8) );
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.8;
    transition: 150ms opacity;
}
.map-preview:hover:before{
    opacity: 1;
}
.map-preview div{
    position: relative;
}

.player-color-team-Red {
    background-color: #b17 !important;
}

.player-color-team-Blue {
    background-color: #29b !important;
}

span.player-mods {
    color: #c84977;
    margin-left: 4px;
}
.player-nickname a {
    color: inherit;
    font-weight: 700;
}

.mp-history-event {max-width: 540px;margin: auto;background-color: #eee;border-radius: 8px;}

.event-block {
    display: flex;
    padding: 12px;
    /* justify-content: space-around; */
    font-size: 14px;
}

.mp-history-event__time {
    font-weight: bold;
    color: #666;
    display: flex;
    margin-right: 10px;
   }
@media(max-width: 576px){
    .event-block{
        width: 100%;
        max-width: 270px;
    }
    .main-block, .match-banner, .main-banner::before{
        border-radius: 0;
    }
}

.mp-history-event__text {
    justify-content: end;
    display: flex;
    width: max-content;
}

.event-info {
    display: flex;
}

.mp-history-event__type {
    margin-right: 10px;
}

a.mp-history-event__username {
    font-weight: bold;
    margin-right: 4px;
    color: #29b;
    transition: 200ms color;
}

a.mp-history-event__username:hover {
    color: #2cf;
}
.mp-history-event__type.event__type--match_created{
    color: #4ea700;
}
.mp-history-event__type.event__type--match_closed{
    color: #e86200;
}
.mp-history-event:first-child {
    margin-bottom: 28px;
}