.bold {
    font-weight: bold;
}

.green {
    color: #27d1d1 !important;
}

.center {
    text-align: center;
}

.no-padding {
    padding: 0;
}

#top #top-img {
    padding: 0;
    overflow: hidden;
    background: url("/images/ad-top-pc.jpg") no-repeat center center;
    height: 190px;
    width: 100%;
    position: relative;
}

#top #top-label {
    width: 1200px;
    margin: 0 auto;
    padding: 57px 0 0 20px;
}

#top #top-label .top-label-l {
    font-size: 35px;
    letter-spacing: -1px;
}

#top #top-label .top-label-s {
    font-size: 15px;
    color: #666;
    letter-spacing: -1px;
}

#tab {
    width: 1200px;
    margin: 0 auto;
    margin-top: 194px;
    position: relative;
}

#tab #tab-wrap {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 390px;
    height: 65px;
}

#tab #tab-wrap .tab {
    float: left;
    width: 50%;
    color: white;
    font-size: 15px;
    text-align: center;
    padding: 20px 0;
    background-color: #a3a4a5;
    cursor: pointer;
}

#tab #tab-wrap .tab.active {
    background-color: #1cc8c9;
}

#articles {
    width: 1200px;
    margin: 0 auto;
    margin-top: 20px;
    font-size: 15px;
}

#articles #write-btn {
    float: right;
    padding: 8px;
    text-align: center;
    width: 100px;
    color: white;
    background-color: #666666;
    border: 1px solid #c7c7c7;
    cursor: pointer;
}

#articles .articles-table {
    width: 100% !important;
    border: 0;
    border-collapse: collapse;
    border-top: 3px solid #333;
    margin-top: 20px;
    display: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: inherit;
}

.dataTables_wrapper {
    margin-bottom: 200px;
    margin-top: 20px;
}

#articles .articles-table thead {
    display: none;
}

#articles .articles-table td {
    padding: 35px 0;
    border-bottom: 1px solid #dedede;
    font-size: 15px;
    cursor: pointer;
    color: #666;
    vertical-align: top;
}

#articles .articles-table td img {
    width: 270px;
}

#articles .articles-table td .title {
    margin-left: 45px;
    color: black;
}

#articles .articles-table td .summary {
    margin-left: 45px;
    margin-right: 45px;
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    white-space: pre-wrap;
}

#articles .articles-table td .date {
    margin-left: 45px;
    margin-top: 65px;
    color: #999;
}

#articles .articles-table td .edit-btn {
    float: right;
    padding: 8px;
    text-align: center;
    width: 100px;
    color: white;
    margin-right: 45px;
    background-color: #666666;
    border: 1px solid #c7c7c7;
    cursor: pointer;
}

#articles .articles-table td .delete-btn {
    float: right;
    padding: 8px;
    text-align: center;
    width: 100px;
    color: white;
    margin-right: 45px;
    background-color: #666666;
    border: 1px solid #c7c7c7;
    cursor: pointer;
}

#display #image {
    width: 100%;
}

#display #title {
    color: black;
    font-size: 16px;
    margin-top: 15px;
}

#display #body {
    color: #666;
    font-size: 14px;
    margin-top: 15px;
    white-space: pre-wrap;
}

#display #date {
    color: #999;
    float: right;
    font-size: 14px;
    margin-top: 65px;
}

#pc-table_wrapper {
    display: block;
}

#mobile-table_wrapper {
    display: none;
}

@media (max-width: 991px) {
    #top #top-img {
        width: 100%;
        height: auto;
        background: url("/images/customer-top-mobile.jpg") no-repeat center center;
        background-size: cover;
    }

    #top #top-label {
        width: 100%;
        padding: 27px 0 27px 20px;
    }

    #top #top-label .top-label-l {
        font-size: 20px;
    }

    #top #top-label .top-label-s {
        font-size: 12px;
    }

    #tab {
        width: 100%;
        margin-top: 180px;
        position: relative;
    }

    #tab #tab-wrap {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 65px;
    }

    #tab #tab-wrap .tab {
        float: left;
        width: 50%;
        color: white;
        font-size: 15px;
        text-align: center;
        padding: 20px 0;
        background-color: #a3a4a5;
        cursor: pointer;
    }

    #articles {
        width: 100%;
        margin-top: 30px;
        font-size: 13px;
    }

    #articles .articles-table td img {
        width: 100%;
    }

    #pc-table_wrapper {
        display: none;
    }

    #mobile-table_wrapper {
        margin-top: 5px;
        display: block;
        margin-bottom: 50px;
    }

    #articles .articles-table td .title {
        margin-top: 15px;
        margin-left: 10px;
    }

    #articles .articles-table td .summary {
        margin-left: 10px;
        margin-right: 10px;
    }

    #articles .articles-table td .date {
        margin-left: 10px;
        margin-top: 30px;
    }

    #articles .articles-table td .edit-btn {
        margin-top: 20px;
    }

    #articles .articles-table td .delete-btn {
        margin-top: 20px;
    }
}

.modal-dialog {
    width: 1200px;
    @media (max-width: 991px) {
        width: auto;
    }

    .modal-body {
        overflow: auto;
        max-height: calc(100vh - 170px);
    }
}