.blog-page {
    margin: 0 auto;
    max-width: 1000px;
}
.blog-row, .flexV, .blog-comment {
    display: flex;
    clear: both;
}
.flexV {
    flex-direction: column;
}
.col-4, .col-8 {
    box-sizing: border-box;
    float: left; /* fix for ie9 */
}
.col-4 {
    width: calc(100%/3);
}
.col-8 {
    width: calc(200%/3);
}
.rc {
    border-radius: 10px;
}
.pad {
    padding: 10px 15px;
}
.ac {
    text-align: center;
}
.fr {
    float: right;
}

.blog-bann, .blog-new4 {
    background: #fff;
    border: solid 1px rgba(0, 0, 0, .05);
    border-radius: 10px;
    box-shadow: 2px 2px rgba(0, 0, 0, .01);
    color: #666;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.blog-bann {
    font-size: .9em;
    margin-top: 0;
}
.blog-bann a {
    color: #555;
    font-size: 1.2em;
    font-weight: bold;
}
.blog-bann .blog-cat, .blog-tab .blog-cat {
    color: #aaa;
    font-size: .8em;
    font-weight: bold;
}

.blog-bann>div:last-child, .blog-side>div:last-child, .blog-tab>div:last-child {
    padding: 10px 15px;
}
.blog-tab>div:last-child {
    font-size: .9em;
}
.blog-new4 h2{
    border-bottom: solid 2px #e00;
    color: #e00;
    font-weight: bold;
    height: 50px;
    padding: 25px 30px;
    font-size: 16px;
    background: #eee;
}
.blog-new4 h2:first-child {
    border-radius: 10px 10px 0 0;
    margin-top: 0;
}
.blog-new4 p {
    padding: 4px 15px;
    margin: 0;
}
.blog-new4 a {
    color: #555;
}

.blog-side>div:last-child {
    height: 200px;
    margin-top: -200px;
}
.blog-side a {
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
    text-shadow: 1px 1px rgba(0, 0, 0, .5);
}
.blog-side a.blog-cat {
    color: #e00;
    font-size: 1em;
}

.blog-defa {
    align-items: center;
    border-bottom: solid 1px rgba(0, 0, 0, .05);
    display: flex;
    flex: 1;
    padding-right: 10px;
}
.blog-defa>div:last-child {
    flex: 1 100%;
}
.blog-defa a {
    color: #777;
    font-size: .85em;
    font-weight: bold;
}

.blog-tab {
    background: #fff;
    border: solid 1px rgba(0, 0, 0, .05);
    border-radius: 10px;
    box-shadow: 2px 2px rgba(0, 0, 0, .01);
    height: 327px;
    overflow: hidden;
}
.blog-tab a {
    color: #555;
    font-weight: bold;
}
.blog-tab .blog-defa {
    border-bottom: 0;
    border-top: solid 1px rgba(0, 0, 0, .05) !important;
}

.blog-cats .blog-tab {
    height: 283px;
    border-radius: 10px 10px 0 0;
}
.blog-cats .blog-defa {
    border-right: solid 1px rgba(0, 0, 0, .05);
}
.blog-cats .blog-defa:last-child, .blog-new4 .blog-defa:last-child {
    border-radius: 0 0 10px 10px;
}
.blog-cats .blog-defa:last-child .blog-img, .blog-new4 .blog-defa:last-child .blog-img {
    border-radius: 0 0 0 10px;
}

.blog-comment {
    border-bottom: solid 1px #ddd;
    color: #666;
    font-size: .9em;
}
.blog-comment>div {
    padding: 15px;
}
.blog-comment>div:first-child {
    align-items: center;
    display: flex;
    max-width: 100%;
    width: 250px;
}
.blog-comment>div:first-child img {
    border-radius: 50%;
    float: left;
    margin-right: 15px;
    width: 100px;
}
.blog-comment>div:last-child {
    width: calc(100% - 250px);
}

@media (max-width: 768px) {
    .blog-row, .blog-cats {
        clear: both;
        display: block;
    }
    .col-4 {
        float: left;
    }
    .col-4 { width: 50%; }
    .col-8 { width: 100%;}
    .blog-side { clear: both; }
    .blog-detail > .blog-new4 { display: none; }
}

@media (max-width: 602px) {
    .col-4 { width: 100%; }
}

.blog-img {
    background: url(/blog/file/cat/1.png) no-repeat;
    background-size: cover;
    border-bottom: solid 2px #e00;
    display: block;
}
.blog-bann .blog-img, .blog-tab .blog-img, .blog-side .blog-img {
    border-radius: 10px 10px 0 0;
}
.blog-bann .blog-img {
    height: 390px;
}
.blog-side .blog-img {
    border-bottom: 0;
    border-radius: 10px;
    height: 327px;
}
.blog-tab  .blog-img {
    height: 200px;
}
.blog-defa .blog-img {
    border: 0;
    float: left;
    height: 100%;
    margin-right: 15px;
    min-height: 100px;
    width: 100%;
    background-size: cover;
}

.blog-form input[type="text"], .blog-form textarea, .blog-form select {
    border: solid 1px #eee !important;
    background: #f1f1f1 !important;
    padding: 5px 10px;
    border-radius: 5px !important;
    color: #555;
    font-family: monospace;
}
.blog-form textarea {
    min-height: 350px;
}
.blog-form .form-group {
    margin-top: 0;
}

#blog-att::after {
    display: block;
    content: '';
    width: 100%;
    clear: both;
}
#blog-att div {
    float: left;
    width: 100px;
    margin-right: 10px;
    text-align: center;
}
#blog-att img {
    width: 100px;
    height: 100px;
}

/* copied from CSS 2018 */
.youtube {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}
.youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* modal need js.pop copied from CSS 2018 */
.pop {
    background-color: #000;
    background-color: rgba(0,0,0,0.4);
    box-sizing: border-box;
    height: 100%;
    left: 0;
    overflow: auto;
    padding: 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 110;
}
.pop > div {
    border-radius: .25rem;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    display: block;
    margin: auto;
    position: relative;
    max-width: 80%;
    min-width: 300px;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}
@-webkit-keyframes animatetop {
    from { top: -300px; opacity: 0; } to { top: 0; opacity: 1; }
}
@keyframes animatetop {
    from { top: -300px; opacity: 0; } to { top: 0; opacity: 1; }
}
.pop .x {
    color: #fff;
    cursor: pointer;
    float: right;
    font-size: 28px;
    margin-top: -10px;
    opacity: .4;
    text-shadow: 0 1px 1px #000;
}
.pop .x:hover { opacity: .8; }
.show { cursor: pointer; }

.blog-ajax, .blog-ajax-del { cursor: pointer; }
