/* HEADINGS */
.sp_h1 {
    font-weight: bold;
    color: #000000;
    font-size: 22px;
    line-height: 1.1em;
    margin: 10px 0;
}

.sp_block_title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.sp_block_title_btns {
    display: flex;
    gap: 10px;
    align-items: center;
}
.sp_block_title h2 {
    font-weight: bold;
    color: #000000;
    margin: 0;
    width: auto;
}
.sp_block_title a {
    padding: 5px 7px;
    font-size: 13px;
    line-height: 1.1;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 5px;
    align-self: center;
    text-align: center;
}

.sp_block_title a:hover {
    background-color: #1d87f1;
    color: #fff;
}

/* HEADER */
.sp_header {
    color: #fff;
    background-color: #081525;
    position: relative;
    z-index: 1;
}
.sp_header .breadcrumb {
    background-color: transparent;
    flex: 1;
    min-width: 100%;
    padding: 7px 7px 0;
}
.sp_header .breadcrumb .wrapper {
    padding: 0;
}
.sp_header .breadcrumb a,
.sp_header .breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}
.sp_header_container {
    padding: 10px 10px 15px;
    max-width: 1034px;
    margin: 0 auto;
}
.sp_header_title {
    font-size: 30px;
    line-height: 1.1em;
    font-weight: bold;
    text-align: left;
    margin-bottom: 15px;
}


.sp_header_tabs {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sp_header_tab {
    padding: 5px;
    font-size: 14px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 10px;
}

a.sp_header_tab:hover {
    background: #1d87f1;
}

.sp_header_tab.active {
    background: #fff;
    color: #081525;
}

.sp_header .sp_event_blocks {
    min-width: 290px;
    margin-bottom: 0;
    align-items: stretch;
    max-height: none;
    overflow: hidden;
}

.sp_header .sp_event_block {
    background: none;
    border: 1px solid #0059B2;
    max-width: 100%;
    min-width: 100%;
    padding: 10px 0 0 0;
    justify-content: space-between;
}
.sp_header .sp_event_block_header,
.sp_header .sp_event_block_content {
    padding: 0 15px;
}

.sp_header .sp_event_block_teams {
    border-color: #fff;
}
.sp_header .team_name {
    font-size: 18px;
    font-weight: 700;
}
.sp_header .team_name a{
    color: #fff;
}
.sp_header .sp_event_block_bonus {
    background: #0059B2;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 15px;
    line-height: 18px;
    font-weight: 700;
}

.sp_header .sp_event_block_bonus_bk {
    height: 36px;
    width: auto;
    border-radius: 5px;
    padding: 6px 4px;
    background: #fff;
}

.sp_header .sp_event_block_bonus_btn {
    border-radius: 5px;
    display: block;
    min-width: 36px;
    height: 36px;
    transition: 0.2s;
    background: #FF4747;
    position: relative;
}
.sp_header .sp_event_block_bonus_btn:hover {
    background: #00FF87;
}
.sp_header .sp_event_block_bonus_btn:after {
    content: '';
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    width: 6px;
    height: 6px;
    position: absolute;
    transform: rotate(-45deg);
    top: 13px;
    right: 15px;
}

/* TABLES */
.sp-table-wrapper {
    background: #fff;
    padding: 10px 15px 5px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #E3E4E8;
    display: inline-block;
    max-width: 100%;
    overflow-x: auto;
    width: 100%;    
}

.sp-table-wrapper table thead {
    background: #0059B2;
    border-bottom: 1px solid #E2ECF3;
}

.sp-table-wrapper thead tr th {
    text-align: left;
    padding: 10px 15px;
    font-size: 16px;
    line-height: 24px;
    font-weight: normal;
    color: #FFFFFF;    
}
.sp-table-wrapper thead tr th a {
    color: #000;
}

.sp-table-wrapper tbody tr {
    border-top: 1px solid #E3E4E8;
    vertical-align: middle;
}
.sp-table-wrapper tbody tr td {
    vertical-align: middle;
}

.sp-table-wrapper tr.highlighted {
    background: #E3E4E8;
}


/* TABLES PAGINATION */
.sp-table-wrapper .dataTables_paginate {
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sp-table-wrapper .dataTables_paginate > span {
    display: flex;
    gap: 5px;
    align-items: flex-end;
    justify-content: center;
}

.sp-table-wrapper .dataTables_paginate .paginate_button {
    padding: 5px 10px;
    margin: 0 !important;
    border-radius: 5px;
    border: 1px solid #E3E4E8;
}

.sp-table-wrapper .dataTables_paginate .paginate_button.current {
    background: #0059B2;
    color: #fff;
    opacity: 1;
}
.sp-table-wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #0059B2;
    color: #fff;    
}

.sp-table-wrapper .dataTables_paginate .paginate_button:hover {
    background: #1d87f1;
    color: #fff;
}

/* SIDEBAR */
.sidebar-lenta_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-lenta_title a {
    padding: 5px 7px;
    font-size: 13px;
    line-height: 1.1;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 5px;
    align-self: center;
}
.sidebar-lenta_title a:hover {
    background-color: #1d87f1;
    color: #fff;
}

.sidebar_items_title {
    font-weight: bold;
    margin-bottom: 5px;
 }

.sidebar_items_with_icon {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar_items_with_icon a, 
.sidebar_items_with_icon div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
}
.sidebar_items_with_icon a.active, 
.sidebar_items_with_icon div.active {
    color: #3C72FF;
    font-weight: 600;
}
.sidebar_items_with_icon a:hover {
    color: #3C72FF;
}
.sidebar_items_with_icon img {
    width: 25px;
    height: auto;
}

.sp_event_forms {
    display: flex;
    justify-content: space-between;
    padding: 12px;
}

.sp_event_form {
    width: 50%;
    display: flex;
    gap: 5px;
}
.sp_event_form.away {
    justify-content: flex-end;
}
.sp_event_form div {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: relative;
}
.sp_event_form div::after {
    position: absolute;
    width: 20px;
    height: 20px;
    color: #FFF;
    font-size: 13px;
    line-height: 22px;
    text-align: center;
}
.sp_event_form .win {
    background: #09B211;
}
.sp_event_form .win::after {
    content: 'В';
}
.sp_event_form .draw {
    background: #FFC504;
}
.sp_event_form .draw::after {
    content: 'Н';
}
.sp_event_form .loss {
    background: #FF4747;
}
.sp_event_form .loss::after {
    content: 'П';
}

@media(min-width: 576px) {
    .cyber_game {
        width: calc((100% - 16px) / 2 );
    }
}
@media(min-width: 768px) {
    .sp_block_title {
        flex-direction: row;
    } 

    .sp_header_tab {
        padding: 10px;
        font-size: 18px;
    }

}
@media(min-width: 1140px) {
    .sp_header_container {
        max-width: 1140px;
        padding: 10px 5px 15px;
    }
}

@media(min-width: 1280px) {
    .sp_header_container {
        max-width: 1205px;
    }    
 
}