@font-face {
    font-family: 'Nickainley';
    src: url(../fonts/Nickainley.woff2) format('woff'),
    url('../fonts/Nickainley.ttf') format('truetype');
    font-weight:normal;
    font-style:normal;
}

.logo {
    font-size: 38px;
    color: #e30a12;
    font-family: Nickainley;
    margin-right: 2em;
}

.top-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    height: 80px;
    width: 100%;
    padding: 0 2%;
    background-color: rgb(255, 255, 255);
    /*box-shadow: 0 0 5px #c9c9c9;*/
    box-shadow: 0 2px 10px 0 rgb(0 0 0 / 10%);
    position: fixed;
    top: 0;
    z-index: 9999;
}

.top-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 80%;
}

.top-right {

}

.search-input {
    height: 35px;
    line-height: 35px;
    width: 50% !important;
    border-radius: 10px;
    border: 1px solid #c4c7ce !important;
    padding: 0 5px;
}

.search-input:focus {
    border: 1px solid rgba(255, 0, 0, .7) !important;
}

.login-button {
    height: 30px;
    border-radius: 6px;
    padding: 0 6px;
    background-color: rgba(255, 0, 0, .6);
    color: #fff;
}

.login-button:active, .login-button:hover, .login-button:focus {
    outline: none;
    cursor: pointer;
}

.google-300-600 {
    height: 600px;
    width: 300px;
    /*border: 1px solid red;*/
    -webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,0.05);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.05);
    -webkit-box-shadow: 0 2px 4px 0 #DCDCDC;
    box-shadow: 0 2px 4px 0 #DCDCDC;
}

.google-300-250 {
    height: 250px;
    width: 300px;
    /*border: 1px solid red;*/
    margin-top: 12px;
    -webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,0.05);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.05);
    -webkit-box-shadow: 0 2px 4px 0 #DCDCDC;
    box-shadow: 0 2px 4px 0 #DCDCDC;
}

pre{
    margin-top: 0px;
    margin-bottom: 14px;
    padding: 6px;
    border-radius: 3px;
    background-color: rgb(250, 250, 250);
    box-sizing: inherit;
    -webkit-tap-highlight-color: transparent;
    text-size-adjust: none;
    -webkit-font-smoothing: antialiased;
    font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
    font-size: 15px;
    line-height: 1.45;
    overflow: auto;
    border: 1px solid rgb(222, 217, 217);
    color: rgb(82, 82, 82);
}

.mt10 {
    margin-top: 10px;
}

.center {
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

.container {
    display: flex;
    padding: 0;
}

.post_content {
    /*float: right;*/
    height: 100%;
}

.blog-aside {
    width: 300px;
    min-width: 300px;
    /*float: left;*/
}

.hot-article {
    font-size: 14px;
    background-color: #FFFFFF;
    padding: 15px;
    /*-webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,0.05);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.05);*/
    -webkit-box-shadow: 0 2px 4px 0 #DCDCDC;
    box-shadow: 0 2px 4px 0 #DCDCDC;
}

.new-article {
    width: 100%;
    background-color: #FFFFFF;
    padding: 0 24px 16px;
}

.article-box {
    /*word-break:break-all;
    word-wrap:break-word;*/
    overflow-y: auto;
}

.article-box a{
    color: rgba(255, 0, 0, .6) !important;
    text-decoration: underline;
}

.article-title h1 {
    padding-top: 8px;
    margin-bottom: 0;
}

.article-box {
    position: relative;
    padding-top: 16px;
}

/* 新列表 */

.article-title {
    color: #222226;

    font-size: 20px;

}

.article-desc {
    margin-top: 8px;
    font-size: 14px;
    color: #555666;
    line-height: 24px;
    overflow: hidden;
    white-space: normal;
    word-break: break-word;
}





#back-top {
    display: none;
    height: 30px;
    width: 30px;
    position: fixed;
    right: 40px;
    bottom: 50px;
    z-index: 99;
}

h4 {
    margin: 0;
}
.mt0 {
    margin-top: 0 !important;
}
h3 {
    margin-top: 15px;
}

.article-list {
    width: 100%;
    /*padding-top: 1em;*/
    display: flex;
    justify-content: space-between;
}

.section_left {
    width: 23%;
    min-height: 22.5%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.section_right {
    width: 20.5%;
    height: 600px;
    padding: 0;
}

.card {
    margin: 14px 0;
    box-shadow: 0 0 5px #C9C9C9;
    width: 100%;
    max-width: 100%;
    border-radius: 3px;
    background-color: #ffffff;
}

.list-desc-2 {
    margin: 20px auto 0;
    display: flex;
    font-size: 14px;
    justify-content: space-between;
}

.list-desc-2-left {
    display: flex;
}

.list-desc-2-left div {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-right: 12px;
}

.cate-title {
    height: 30px;
    line-height: 30px;
    padding-left: 20px;
    width: 100%;
    background-color: orange;
    color: #fff;
    box-shadow: 0 1px 0 1px orange;
}

.cate-box {
    padding: 16px 16px 32px 16px;
}

.cate-box a {
    display: flex;
    align-items: center
}

.cate-box img {
    width: 32px;
    height: 32px;
    margin-right: 6px;
    border-radius: 3px;
}

.subject-desc {
    width:100%;
    display: flex;
    justify-content: space-between;
}

.subject {
    color:#3d3d3d;
}

.article-num {
    font-size: 12px;
}

@media only screen and (max-width: 360px) {
    #main {
        display: flex;
        flex-direction: column;
        padding: 0 20px 16px;
        background: #fff !important;
    }

    .section_middle {
        width: 100%;
    }

    .card {
        padding: 25px 4%;
    }

    .google-300-600 {
        height: 600px;
        width: 100%;
        /* border: 1px solid red; */
        -webkit-box-shadow: 0 2px 4px 0 rgb(0 0 0 / 5%);
        box-shadow: 0 2px 4px 0 rgb(0 0 0 / 5%);
        -webkit-box-shadow: 0 2px 4px 0 #dcdcdc;
        box-shadow: 0 2px 4px 0 #dcdcdc;
    }
    
    .top {
        display: none !important;
    }
    
    .cate {
        box-shadow: 0 2px 4px 0 #dcdcdc;
        width: 100%;
    }
}

@media only screen and (max-width: 500px) and (min-width: 361px) {
    #main {
        display: flex;
        flex-direction: column;
        padding: 0 20px 14px;
        background: #fff !important;
    }

    .section_middle {
        width: 100%;
    }

    .card {
        padding: 25px 4%;
    }

    .google-300-600 {
        height: 600px;
        width: 100%;
        /* border: 1px solid red; */
        -webkit-box-shadow: 0 2px 4px 0 rgb(0 0 0 / 5%);
        box-shadow: 0 2px 4px 0 rgb(0 0 0 / 5%);
        -webkit-box-shadow: 0 2px 4px 0 #dcdcdc;
        box-shadow: 0 2px 4px 0 #dcdcdc;
    }
    
    .top {
        display: none !important;
    }
    
    .cate {
        box-shadow: 0 2px 4px 0 #dcdcdc;
        width: 100%;
    }
}

@media (min-width: 501px) {
    #main {
        display: flex;
        flex-direction: column;
        padding: 0 20px 14px;
        background: #fff !important;
    }

    .section_middle {
        width: 100%;
    }

    .card {
        padding: 25px 4%;
    }

    .google-300-600 {
        height: 600px;
        width: 100%;
        /* border: 1px solid red; */
        -webkit-box-shadow: 0 2px 4px 0 rgb(0 0 0 / 5%);
        box-shadow: 0 2px 4px 0 rgb(0 0 0 / 5%);
        -webkit-box-shadow: 0 2px 4px 0 #dcdcdc;
        box-shadow: 0 2px 4px 0 #dcdcdc;
    }
    
    .cate {
        box-shadow: 0 2px 4px 0 #dcdcdc;
        width: 100%;
    }
}

@media (min-width: 601px) {
    #main {
        display: flex;
        flex-direction: column;
        padding: 0 10px 14px;
    }

    .card {
        padding: 25px 2% 25px 2%;
    }

    .google-300-600 {
        height: 600px;
        width: 100%;
        /* border: 1px solid red; */
        -webkit-box-shadow: 0 2px 4px 0 rgb(0 0 0 / 5%);
        box-shadow: 0 2px 4px 0 rgb(0 0 0 / 5%);
        -webkit-box-shadow: 0 2px 4px 0 #dcdcdc;
        box-shadow: 0 2px 4px 0 #dcdcdc;
    }
    
    .cate {
        box-shadow: 0 2px 4px 0 #dcdcdc;
        width: 100%;
    }
}

@media (min-width: 950px) {
    #main {
        display: flex;
        flex-direction: row;
        /* background-image: url(../images/bg.gif); */
        background-repeat: repeat;
        background-color: #fff;
        padding: 0 10px;
    }

    .container {
        width: 68%;
    }

    .section_middle {
        width: 100%;
    }

    .card {
        padding: 25px 2% 25px 2%;
    }

    .recommend-right {
        display: block;
        width: 300px;
        padding-top: 14px;
        margin-left: 14px;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        height: 100%;
        margin-bottom: 10px;
    }

    .google-300-600 {
        height: 600px;
        width: 300px;
        /* border: 1px solid red; */
        -webkit-box-shadow: 0 2px 4px 0 rgb(0 0 0 / 5%);
        box-shadow: 0 2px 4px 0 rgb(0 0 0 / 5%);
        -webkit-box-shadow: 0 2px 4px 0 #dcdcdc;
        box-shadow: 0 2px 4px 0 #dcdcdc;
    }
    
    .cate {
        box-shadow: 0 2px 4px 0 #dcdcdc;
        width: 300px;
    }
}

@media (min-width: 1200px) {
    #main {
        display: flex;
        flex-direction: row;
        /* background-image: url(../images/bg.gif); */
        background-repeat: repeat;
        background-color: #fff;
        padding: 0 10px;
    }

    .container {
        width: 62%;
    }

    .section_middle {
        width: 100%;
    }

    .card {
        padding: 25px 2% 25px 2%;
    }

    .recommend-right {
        display: block;
        width: 300px;
        padding-top: 14px;
        margin-left: 14px;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        height: 100%;
        margin-bottom: 10px;
    }

    .google-300-600 {
        height: 600px;
        width: 300px;
        /* border: 1px solid red; */
        -webkit-box-shadow: 0 2px 4px 0 rgb(0 0 0 / 5%);
        box-shadow: 0 2px 4px 0 rgb(0 0 0 / 5%);
        -webkit-box-shadow: 0 2px 4px 0 #dcdcdc;
        box-shadow: 0 2px 4px 0 #dcdcdc;
    }
    
    .cate {
        box-shadow: 0 2px 4px 0 #dcdcdc;
        width: 300px;
    }
}

@media (min-width: 1675px) {
    #main {
        display: flex;
        flex-direction: row;
        /* background-image: url(../images/bg.gif); */
        background-repeat: repeat;
        background-color: #fff;
        padding: 0 10px;
    }

    .container {
        width: 55%;
    }

    .section_middle {
        width: 100%;
    }

    .card {
        padding: 25px 2% 25px 2%;
    }

    .recommend-right {
        display: block;
        width: 300px;
        padding-top: 14px;
        margin-left: 14px;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        height: 100%;
        margin-bottom: 10px;
    }

    .google-300-600 {
        height: 600px;
        width: 300px;
        /* border: 1px solid red; */
        -webkit-box-shadow: 0 2px 4px 0 rgb(0 0 0 / 5%);
        box-shadow: 0 2px 4px 0 rgb(0 0 0 / 5%);
        -webkit-box-shadow: 0 2px 4px 0 #dcdcdc;
        box-shadow: 0 2px 4px 0 #dcdcdc;
    }
    
    .cate {
        box-shadow: 0 2px 4px 0 #dcdcdc;
        width: 300px;
    }
}
