﻿.dashboard-competition {
    height: 100%;
    float: left;
}

.dashboard-competition {
    width: 44%;
}

.dashboard-competition-row {
    width: 100%;
    height: 34px;
}

.dashboard-competition-row-header {
    height: 45px;
}

.dashboard-competition-header,
.dashboard-competition-cell {
    width: 20%;
    padding: 0 15px;
    display: table;
    float: left;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
}

    .dashboard-competition-header:last-child,
    .dashboard-competition-cell:last-child {
        border-right: 0;
    }

.dashboard-competition-header-name,
.dashboard-competition-cell-name {
    width: 60%;
    padding: 0 15px;
    display: table;
    float: left;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.dashboard-competition-header,
.dashboard-competition-header-name {
    height: 45px;
    font-weight: bold;
}

.dashboard-competition-cell,
.dashboard-competition-cell-name {
    height: 34px;
    font-size: 14px;
    color: #7d7d7d;
}

.dashboard-competition-row:nth-child(5n + 1) .dashboard-competition-cell-name,
.dashboard-competition-row:nth-child(5n + 1) .dashboard-competition-cell {
    border-bottom: 0;
}


.dashboard-competition-header-name span,
.dashboard-competition-header span,
.dashboard-competition-cell span,
.dashboard-competition-cell-name span {
    vertical-align: middle;
    display: table-cell;
}

.dashboard-competition-position-status {
    height: 33px;
    width: 18px;
    background-position: center center;
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: middle;
}

.dashboard-competition-tendency.dashboard-tendency-month,
.dashboard-competition-tendency.dashboard-tendency-season {
    width: 28%;
}

    .dashboard-competition-tendency.dashboard-tendency-month .dashboard-tendency-position .dashboard-tendency-plan-value-label,
    .dashboard-competition-tendency.dashboard-tendency-season .dashboard-tendency-position .dashboard-tendency-plan-value-label {
        padding: 0 0 20px;
    }

        .dashboard-competition-tendency.dashboard-tendency-month .dashboard-tendency-position .dashboard-tendency-plan-value-label:last-child,
        .dashboard-competition-tendency.dashboard-tendency-season .dashboard-tendency-position .dashboard-tendency-plan-value-label:last-child {
            padding: 0;
        }

    .dashboard-competition-tendency.dashboard-tendency-month .dashboard-tendency-position .dashboard-tendency-plan-value,
    .dashboard-competition-tendency.dashboard-tendency-season .dashboard-tendency-position .dashboard-tendency-plan-value {
        margin: 0;
    }

.dashboard-competition-tendency .dashboard-tendency-plan .dashboard-tendency-plan-label {
    width: 40px;
    height: 40px;
    margin: 10px auto 15px;
}

.dashboard-competition-tendency .dashboard-tendency-plan-change-position-content {
    width: 25px;
    height: 25px;
    border-radius: 13px;
    top: 8px;
    left: 24px;
}

.dashboard-competition-tendency .dashboard-tendency-plan-change-position {
    width: 25px;
    height: 25px;
    background-size: 16px;
}

@media (max-height: 1440px) {
    .dashboard-competition {
        width: 50%;
    }

    .dashboard-competition-tendency.dashboard-tendency-month,
    .dashboard-competition-tendency.dashboard-tendency-season {
        width: 25%;
    }

    .dashboard-competition-header-name,
    .dashboard-competition-cell-name {
        width: 54%;
    }

    .dashboard-competition-header,
    .dashboard-competition-cell {
        width: 23%;
        padding: 0;
    }
}

.dashboard-competition-month.dashboard-tendency-month.dashboard-competition-tendency {
    background: #f8f8f8;
}

.dashboard-competition-season.dashboard-tendency-season.dashboard-competition-tendency {
    background: #f8f8f8;
}