﻿body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    padding: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

/*header*/
.header {
    z-index: 99;
    width: 100%;
    height: 120px;
    padding: 20px;
    box-sizing: border-box;
    text-align: left;
    border-radius: 3px;
    margin-bottom: 10px;
    background: #783c7e;
    /*background: -webkit-gradient(linear, left top, left bottom, from(rgba(120, 60, 126, 1)), to(rgba(120, 60, 126, 0.4)));
    background: -moz-linear-gradient(top, rgba(120, 60, 126, 1), rgba(120, 60, 126, 0.4) 100%);
    background: linear-gradient(to bottom, rgba(120, 60, 126,1), rgba(120, 60, 126, 0.4) 100%);*/
}

    .header .logo {
        width: 40vw;
        max-width: 600px;
        height: auto;
    }

.sidebar {
    width: 24%;
    float: left;
    box-shadow: 0 2px 8px 4px #EEE;
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
    margin-right: 1%;
    margin-bottom: 10px;
}

    .sidebar .btn {
        display: block;
        padding: 10px 12px;
        background-color: #783c7e;
        color: #FFF;
        font-weight: bold;
        border-radius: 3px;
        border: none;
        transition: all 0.3s ease;
        margin-bottom: 10px;
        text-decoration: none;
        text-align: center;
    }

        .sidebar .btn:hover {
            background-color: rgba(120,60,126, 0.7);
        }

.content {
    width: 75%;
    float: left;
    margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
    .header {
        height: 80px;
        padding: 10px;
        text-align: center;
    }

        .header .logo {
            width: 100%;
        }

    .sidebar {
        width: 100%;
    }

        .sidebar .btn {
            display: inline-block;
        }

    .content {
        width: 100%;
    }
}

.filter {
    flex-wrap: wrap;
    align-items: center;
    box-shadow: 0 2px 8px 4px #EEE;
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 8px;
}

.filter-group {
    margin-bottom: 15px;
}

.filter label {
    font-weight: bold;
    color: #555;
    padding: 8px;
}

.filter a {
    display: inline-block;
    padding: 8px;
    background-color: transparent;
    color: #000;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

    .filter a:hover {
        background-color: rgba(120,60,126, 0.7);
    }

    .filter a.active {
        background-color: #783c7e;
        color: white;
    }

.table-container {
    margin-bottom: 10px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px 4px #EEE;
    /*padding:5px;*/
    box-sizing: border-box;
}

    .table-container .table-title {
        padding: 15px 20px;
        font-weight: bold;
        font-size: 1.2em;
        color: #333;
        border-bottom: 1px solid #eee;
    }

    .table-container .table-remark {
        padding: 15px 20px;
        color: #333;
        border-bottom: 1px solid #eee;
    }

    .table-container table {
        width: 100%;
        border-collapse: collapse;
    }

        .table-container table th,
        .table-container table td {
            border: 1px solid #666;
            padding: 10px;
            text-align: center;
            color: #333;
        }

        .table-container table th {
            background-color: #783c7e;
            color: #FFF;
            font-weight: bold;
        }

        .table-container table tr:hover {
            background-color: rgba(120,60,126, 0.1);
        }

.view-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px 4px #EEE;
    padding: 10px;
    box-sizing: border-box;
}

.footer {
    clear: both;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    background-color: #783c7e;
    color: #FFF;
    border-radius: 3px;
}
