/*
CSS Writing Format

1. position,float, overflow
2. width, height
3. margin, padding
4. border
5. text-decoration, text-align, font-family, font-size, font-weight, color
6. background

*/


/* 
 *
 * PC VERSION (Screen size 1024px and above) 
 *
 */

.category-content{
    overflow:           hidden;
    width:              100%;
    height:             auto;
    margin:             0px;
    padding:            0px;
}

.cat-title{
    width:              calc(100% - 10px);
    height:             auto;
    margin:             0px 5px 20px 5px;
    padding:            0px;
    border-bottom:      3px solid #888888;
    font-size:          36px;
    font-weight:        300;
}

.cat-title div{
    display:            inline;
    padding:            0px 0px 0px 10px; 
    font-size:          20px;
    color:              #888888;
}

.cat-additional{
    margin:             30px 0px 20px 0px;
}

.cat-article{
    position:           relative;
    float:              left;
    width:              calc(100% - 10px);
    height:             187.5px;
    margin:             5px 5px 20px 5px;
    padding:            0px;
    background-color:   #ffffff;
}

.cat-article a{
    text-decoration:    none;
    color:              inherit;
}

.cat-article a:hover{
    text-decoration:    underline;
}

.cat-article img{
    float:              left;
    width:              250px;
    height:             187.5px;
    margin:             0px 10px 0px 0px; /*margin-right*/
    padding:            0px;
}

.carticle-date, .carticle-title, .carticle-desc{
    width:              calc(100% - 270px);
}

.carticle-date{
    float:              left;
    height:             20px;
    margin:             0px;
    padding:            7px 0px 8px 0px;
    font-size:          14px;
    color:              #d18c8c;
}

.carticle-title{
    float:              left;
    overflow:           hidden;
    height:             67px;
    margin:             0px;
    padding:            0px;
    font-size:          28px;
    font-weight:        500;
    color:              #444444;
}

.carticle-desc{
    float:              left;
    overflow:           hidden;
    height:             68px;
    margin:             10px 0px 0px 0px;
    padding:            0px;
    text-align:         justify;
    font-size:          14px;
    color:              #2a2a2a;
}

#wp_page_numbers{
    clear:              both;
    overflow:           hidden;
    width:              calc(100% - 20px);
    margin:             10px 10px 10px 10px;
    font-size:          14px;
}

#wp_Page_numbers ul{
    clear:              both;
    overflow:           hidden;
    width:              100%;
    padding:            0px;
}

#wp_page_numbers li{
    float:              left;
    list-style:         none;
    margin:             5px 5px 5px 5px;
    padding:            5px 5px 5px 5px;
    border:             1px solid #dfdfdf;
    background-color:   #fff;

}

#wp_page_numbers li a{
    display:            block;
    width:              100%;
    text-decoration:    none;
    color:              inherit;
}

#wp_page_numbers .active_page{
    background-color:   #f8d04a;
    color:              #fff;
}

#wp_page_numbers .page_info, #wp_page_numbers .space{
    border:             none;
    background-color:   inherit;
}

.sub-cat {
    float:              left;
    width:              50%;
    margin:             0px;
    padding:            0px;
}

.rlist li h3{
    display:            inline;
    padding:            0px;
    margin:             0px;
    font-size:          12px;
    font-weight:        400;
}



/* 
 *
 * SMALL PC VERSION (Screen size 1023px and below) 
 *
 */

@media screen and (max-width: 1023px) {

.cat-article{
    height:             150px;
}    
    
.cat-article img{
    width:              187.5px;
    height:             150px;
}
    
.carticle-date, .carticle-title, .carticle-desc{
    width:              calc(100% - 207.5px);
}

.carticle-date{
    padding:            7px 0px 3px 0px;
}    
    
.carticle-title{
    height:             53px;
    font-size:          22px;
}
    
.carticle-desc{
    height:             51px;
}

}

/* 
 *
 * TABLET & SMARTPHONE VERSION (Screen size 525px and below) 
 *
 */

@media screen and (max-width: 525px) {

.cat-title div{
    display:            block;
    width:              100%;
    padding:            0px;
}        
    
.cat-additional{
    margin:             30px 5px 20px 5px;
}        
    
.cat-article{
    width:              300px;
    height:             394px;
    margin:             5px calc((100% - 300px) / 2) 20px calc((100% - 300px) / 2);
}

.cat-article img{
    float:              none;
    width:              100%;
    height:             225px;
    margin:             0px;
}

.carticle-date, .carticle-title, .carticle-desc{
    width:              calc(100% - 10px);
}    

.carticle-date{
    margin-left:        5px;
    font-size:          12px;
}     
    
.carticle-title{
    float:              none;
    height:             47px;
    margin:             5px 0px 5px 0px;
    padding:            0px 5px 0px 5px;
    font-size:          20px;
}

.carticle-desc{
    float:              none;
    height:             68px;
    padding:            0px 5px 0px 5px;
    font-size:          14px;
}

    

#wp_page_numbers li{
    float:              left;
    list-style:         none;
    width:              calc((100% / 4) - 22px);
    margin:             5px 5px 5px 5px;
    padding:            5px 5px 5px 5px;
    border:             1px solid #dfdfdf;
    background-color:   #fff;

}

#wp_page_numbers li a{
    text-decoration:    none;
    color:              inherit;
}

#wp_page_numbers .active_page{
    background-color:   #f8d04a;
    color:              #fff;
}

#wp_page_numbers .page_info{
    width:              100%;
    text-align:         center;
    font-size:          24px;
}    
    
#wp_page_numbers .space{
    display:            none;
}    
    
}