.event-list {
    display: inline-block;
    width: 100%;
    margin-bottom: 50px;
}

.event-list .event {
    width: calc(50% - 10px);
    display: flex;
    border-top: 1px solid #ededed;
    padding: 10px;
    float: left;
    margin-right: 20px;
}

.event-list .event:nth-child(2n) {
    margin-right: 0;
}

.event-list .event:hover {
    background: #f7f7f7;
    border-top: 1px solid #f7f7f7;
    box-shadow: 0px 1px 7px 0 #e2e2e2;
}

.event .img {
    margin-right: 15px;
}

.event .img img {
    width: 80px;
    height: 80px;
}

.event-no-img {
    width: 80px;
    height: 80px;
    background: url(../img/events/no-img.svg) no-repeat center;
    opacity: 0.4;
}

.event .content {
    flex: 1;
    display: flex;
}

.event .content-left {
    flex: 1;
}

.event .content-right {
    padding-left: 10px;
}

.event .content-right span {
    display: block;
    margin-bottom: 5px;
}

.content a {
    color: #3a405b;
}

.event .content-left .name {
    margin-bottom: 5px;
}

.event .content-left .name {
    color: #3a405b;
    font-size: 18px;
    font-weight: bold;
}

.send-request {
    background: #FFC107;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
}

.send-request:hover {
    background: #efb301;
}

.cancel-request {
    background: #ff7e7e;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
}

.cancel-request:hover {
    background: #fb7070;
}

.request {
    display: block;
    padding-left: 24px; 
    font-size: 16px; 
    margin-bottom: 10px;
}
.completed {color: #ff766c;}
.wait {color: #ffc008;}
.ready {color: #8ac34a;}
.cancel {color: #ff766c;}

.request.wait {background: url(../img/icons/wait-orange.svg) no-repeat left center;}
.request.ready {background: url(../img/icons/check-green.svg) no-repeat left center;}
.request.cancel {background: url(../img/icons/cancel-red.svg) no-repeat left center;}

.detail-row .send-request {
    display: inline-block;
    font-size: 16px;
    padding: 10px 30px;
}

.detail-row .cancel-request {
    display: inline-block;
    font-size: 14px;
    padding: 6px 20px;
}

.detail-row .completed {
    display: inline-block;
    font-size: 16px;
}

.date {
    color: #9a9a9a;
}

.max-players {
    background: url(../img/icons/people.svg) no-repeat left center;
    padding-left: 16px;
    color: #9a9a9a;
}

.prop-players {background: url(../img/icons/people.svg) no-repeat left center;}
.prop-server {background: url(../img/icons/server.svg) no-repeat left center;}
.prop-format {background: url(../img/icons/format.svg) no-repeat left center;}

.props {
    display: flex;
    margin: 10px 0;
}

.props .prop {
    margin-right: 40px;
}

.prop-value {
    padding-left: 20px;
    font-size: 16px;
}

.prop-hint {
    padding-left: 20px;
    color: #ababab;
    text-transform: uppercase;
    font-size: 12px;
}

.header {
    margin-bottom: 40px;
    display: flex;
}

.detail-row {
    margin-bottom: 40px;
}

.detail-row h4 {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.detail-row h4 b {
    font-size: 20px;
    margin-left: 5px;
}

.header .header-img {
   margin-right: 30px;
}

.header .header-img img {
    width: 80px;
    height: 80px;
}

.header .header-content {
    flex: 1;
}

.reg-until {
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 12px;
    color: #585858;
}

.rewards .reward {
    display: flex;
    margin: 10px 0;
}

.reward .img {
    width: 42px;
    height: 42px;
    margin-left: 5px;
}

.reward .value {
    margin-left: 10px;
}

.reward .name {
    font-size: 16px;
}

.reward .name-only {
    font-size: 16px;
    line-height: 42px;
}

.reward .hint {
    color: #ababab;
    text-transform: uppercase;
    font-size: 12px;
}

.reward .img.reward-1, .reward .img.reward-2, .reward .img.reward-3, .reward .img.reward-5, .reward .img.reward-6, .reward .img.reward-7 {background: url(../img/icons/reward-dinosaur.svg) no-repeat center;}
.reward .img.reward-4 {background: url(../img/icons/reward-coins.svg) no-repeat center;}

#page-long-event .header, #page-side-wars .header  {
    margin-bottom: 20px;
}

#page-long-event .header .event-date, #page-long-event .header .event-server, #page-side-wars .header .event-date, #page-side-wars .header .event-server, #page-side-wars .header .event-prop, #page-leagues .header {
    color: #9e9e9e;
}

#page-long-event .steps {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#page-long-event .steps .step {
    position: relative;
    border: 1px solid #ededed;
    border-radius: 4px;
    flex: 1 1 auto;
    flex-direction: column;
    display: flex;
    padding: 15px 12px 10px;
    margin: 15px 5px;
    width: calc((100% - 20px) / 3);
}

#page-long-event .steps .step:first-child, #page-long-event .steps .step:nth-child(3n+1) {
    margin-left: 0;
}

#page-long-event .steps .step:last-child, #page-long-event .steps .step:nth-child(3n) {
    margin-right: 0;
}

#page-long-event .steps .step .num {
    position: absolute;
    top: -12px;
    left: 10px;
    background: #ededed;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: bold;
}

#page-long-event .steps .step .label-current {
    position: absolute;
    top: -12px;
    right: 10px;
    background: #607d8b;
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
}

#page-long-event .steps .step.na {
    opacity: 0.75;
    background: url(../img/icons/locked_small.svg) no-repeat calc(100% - 10px) 10px;
}

#page-long-event .steps .step.active {
    border: 3px solid #ededed;
}

#page-long-event .steps .step .num i {
    font-weight: normal;
    font-style: normal;
    margin-left: 8px;
}

#page-long-event .mini-title {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    color: #ff9800;
    margin-top: 5px;
}

#page-long-event .date-period {
    color: #9e9e9e;
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    line-height: normal;
}

#page-long-event .rewards {
    flex: 1;
}

#page-long-event .rewards .reward {
    display: list-item;
    margin: 0px 18px 0px;
    line-height: normal;
}

#page-long-event .status {
    margin-top: 10px;
}

#page-long-event .status .complete {
    background: #8bc34a70;
    color: #5a8924;
    text-align: center;
}

#page-long-event .status .failed {
    background: #f4433657;
    color: #f44336;
    text-align: center;
}

#page-long-event .status .bar {
    background: #ededed;
    position: relative;
}

#page-long-event .status .bar-bg {
    background: #ffc107;
    position: absolute;
    z-index: 1;
    height: 100%;
    top: 0;
}

#page-long-event .status .bar span {
    display: block;
    width: 100%;
    text-align: center;
    z-index: 2;
    position: relative;
}

#page-long-event .reward-final-desc {
    color: #8b8b8b;
    text-align: center;
    font-size: 12px;
    margin-top: 15px;
    background: #ededed85;
}

#page-long-event .reward-final {
    margin-bottom: 20px;
    border: 1px solid #ededed;
    border-radius: 4px;
    padding-top: 10px;
}

#page-long-event .reward-final li {
    display: list-item;
    margin: 5px 15px 5px 40px;
    font-size: 20px;
}

#page-long-event .img-cover {
    margin-bottom: 30px;
} 

#page-long-event .img-cover img {
    border-radius: 4px;
}

.event-admin-tools {
    display: flex;
    margin: 0 0 20px 0;
}

.event-admin-btn {
    padding: 3px 10px;
    margin: 0 5px;
    cursor: pointer;
    border: 1px solid #ededed;
    border-radius: 4px;
    opacity: 0.85;
}

.event-admin-btn:hover {
    opacity: 1;
}

.event-admin-tools .event-admin-btn:first-child {
    margin-left: 0;
}

.event-opponent-list {
    margin: 20px 0 40px;
}

.event-opponent-item {
    display: flex;
    padding: 10px 36px;
    flex-wrap: wrap;
}

.event-opponent-list .event-opponent-item:nth-child(odd) {
    background: #ededed94;
}

.oppo-title {
    width: 100%;
    text-align: center;
    color: #9e9e9e;
}

.oppo-left {
    flex: 1;
    justify-content: left;
    display: flex;
    position: relative;
}

.oppo-right {
    flex: 1;
    justify-content: right;
    display: flex;
    position: relative;
}

.oppo-left a, .oppo-right a {
    display: flex;
    align-items: center;
}

.oppo-left a img, .oppo-right a img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 4px solid transparent;
}

.oppo-left a img {
    margin-right: 15px;
}

.oppo-right a img {
    margin-left: 15px;
}

.oppo-right .player {
    text-align: right;
}

.loose a.oppo-link {
    opacity: 0.6;
}

.win {
    position: relative;
}

.win .name {
    font-weight: bold;
}

.win a img {
    border: 4px solid #ffc107;
}

.win:before {
    content: '';
    display: block;
    position: absolute;
    width: 24px;
    height: 24px;
    z-index: 10;
    left: -28px;
    top: calc(50% - 12px);
    background: url(../img/icons/event-cup.svg) no-repeat center;
}

.oppo-left.win:before {}
.oppo-right.win:before {left: unset;right: -28px;}

.oppo-score {
    width: 260px;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    display: flex;
    position: relative;
}

.oppo-score b {
    margin: 0 5px;
}

.player .steam-id {
    font-size: 12px;
    color: #9e9e9e;
}

.btn-set-win {
    display: none;
    font-size: 14px;
    padding: 3px 10px;
    cursor: pointer;
    border: 1px solid #eded;
    margin: 0 10px;
    border-radius: 4px;
    background: #fff;
    text-transform: uppercase;
}

.event-opponent-item:hover .btn-set-win {
    display: block !important;
}

.event-opponent-item .btn-set-win:hover {
    background: #ffc107;
    color: #fff;
}

.event-opponent-item.me {
    background: #ffc10745;
}

.btn-oppo-copy {
    display: none;
    position: absolute;
    bottom: -30px;
    font-size: 13px;
    background: #fff;
    padding: 2px 6px;
    cursor: pointer;
    user-select: none;
    border: 1px solid #eded;
}

.btn-oppo-top {
    display: none;
    position: absolute;
    top: -30px;
}

.btn-oppo-title, .btn-oppo-remove {
    display: none;    
    font-size: 13px;
    background: #fff;
    padding: 2px 6px;
    cursor: pointer;
    user-select: none;
    border: 1px solid #eded;
    margin: 0 2px;
}

.oppo-score:hover .btn-oppo-copy, .oppo-score:hover .btn-oppo-title, .oppo-score:hover .btn-oppo-remove, .oppo-title:hover + .oppo-left + .oppo-score .btn-oppo-title {
    display: block;
}

.oppo-score:hover .btn-oppo-top, .oppo-title:hover + .oppo-left + .oppo-score .btn-oppo-top {
    display: flex;
}

.btn-oppo-copy:hover, .btn-oppo-title:hover, .btn-oppo-remove:hover {
    background: #fdf9ed;
}

.adm-oppo-btn-list {
    display: none;
    position: absolute;
    top: calc(50% - 22px);
    left: 0px;
    width: 45px;
    height: 45px;
    border: 1px solid #ededed;
    z-index: 11;
    user-select: none;
    background: url(../img/icons/profile-menu-24.svg) no-repeat center #fff;
}

.oppo-left:hover .adm-oppo-btn-list, .oppo-right:hover .adm-oppo-btn-list {
    display: block;
}

.win:hover .btn-oppo-replace, .loose:hover .btn-oppo-replace, .win:hover .btn-oppo-delete, .loose:hover .btn-oppo-delete {
    display: none;
}

.adm-oppo-btn-list ul {
    list-style: none;
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    width: max-content;
    border: 1px solid #ededed;
}

.adm-oppo-btn-list:hover ul {
    display: block;
}

.adm-oppo-btn-list ul li {
    display: block;
    background: #fff;
    padding: 4px 12px;
    text-align: left;
    color: #3a405b;
    cursor: pointer;
    user-select: none;
}

.adm-oppo-btn-list ul li a, .adm-oppo-btn-list ul li a:hover {
    color: #3a405b;
}

.adm-oppo-btn-list ul li:hover {
    background: #ededed;
}

.oppo-left .adm-oppo-btn-list, .oppo-left .adm-oppo-btn-list ul {
    left: 0px;
}

.oppo-right .adm-oppo-btn-list, .oppo-right .adm-oppo-btn-list ul {
    left: unset;
    right: 0px;
}

.oppo-empty {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: #efefef57;
    border-radius: 50%;
    border: 2px solid #ededed;
}

.event-opponent-list.final h5 {
    margin: 20px 0 10px;
}

.buy-step {
    position: absolute;
    top: -12px;
    right: 10px;
    background: #ffc107;
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 2;
    display: none;
}

.step:hover .buy-step {
    display: block;
}

.step .buy-step:hover {
    background: #ffcd39;
}

.phase {
    opacity: 0.8;
}

.phase h4 {
    background: url(../img/icons/locked_small.svg) no-repeat center left;
    padding-left: 24px;
}

.phase.current-phase {
    opacity: 1;
}

.phase.current-phase h4 {
    background: url(../img/icons/clock_small.svg) no-repeat center left;
}

.phase h4 span {
    color: #ff9800;
}

.phase.hidden {
    display: none;
}

.side-wars-reg {
    margin-top: -15px;
}

.sw-members {
    display: flex;
    margin-bottom: 30px;
}

.sw-side {
    width: 50%;
}

.sw-header {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.sw-side .sw-member {
    display: flex;
    background-color: #f3f3f3;
    padding: 5px 10px;
}

.sw-light .sw-member {
    padding-right: 15px;
}

.sw-dark .sw-member {
    padding-left: 15px;
}

.sw-member .num {
    color: #9e9e9e;
    width: 20px;
}

.sw-member .player {
    padding-left: 24px;
}

.sw-member.gift .player {
    background: url(../img/icons/gift_small.svg) no-repeat center left;
}

.sw-side .sw-member .player .dead {
    color: #9e9e9e;
    margin-left: 10px;
    font-size: 12px;
}

.sw-side .sw-member .info {
    flex: 1;
    text-align: right;
}

.sw-side .sw-member.dead {
    opacity: 0.45;
}

.sw-side .sw-member:nth-child(odd) {
    background-color: #ffffff;
}

.header-gift {
    background: url(../img/icons/gift_small.svg) no-repeat center left;
    padding-left: 24px;
}

.sw-all {
    width: 100%;
}

.sw-logs .sw-log-dead .date {
    background: url(../img/icons/user-minus.svg) no-repeat center left;
    padding-left: 24px;
}

.sw-capture-points {
    display: flex;
    width: 100%;
    margin-bottom: 40px;
}

.sw-capture-points-desc {
    color: #9E9E9E;
    margin: -15px 0 10px;
    font-size: 12px;
}

.sw-capture-points .sw-points-light, .sw-capture-points .sw-points-dark {
    width: 50%;
    font-weight: bold;
    font-size: 20px;
}

.sw-capture-points .sw-points-light {
    text-align: left;
}

.sw-capture-points, .sw-points-dark {
    text-align: right;
}

.shop-item {
    position: relative;
}

.shop-item-img-preview {
    display: none;
    position: absolute;
    width: 260px;
    height: 150px;
    right: 100%;
    top: 0px;
    background-size: cover;
    background-repeat: no-repeat;
    margin-right: 22px;
    border-radius: 4px;
    border: 2px solid #ededed;
}

.shop-item-img:hover ~ .shop-item-img-preview {
    display: block;
}

@media only screen and (max-width: 1024px) {
    .event-list .event {
        width: 100%;
        margin-right: 0;
    }
}

@media only screen and (max-width: 768px) {
    
}    

@media screen and (max-width: 640px) {
    .event .content-right {
        display: none;
    }
    .props {
        flex-wrap: wrap;
    }
    .props .prop {
        margin-bottom: 10px;
    }
    .header {
        margin-bottom: 10px;
    }
    .detail-row {
        margin-bottom: 20px;
    }
    #page-long-event .steps {
        display: block;
    }
    #page-long-event .steps .step {
        display: block;
        width: 100%;
        margin: 0 0 20px 0 !important;
    }
}