/*
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%;
}

.cat-title{
    width:              calc(100% - 10px);
    height:             auto;
    margin:             0px 5px 20px 5px;
    padding:            0px;
    border-bottom:      3px solid #a86765;
    font-size:          36px;
    font-weight:        300;
}

.cat-title div{
    display:            inline;
    padding:            0px 0px 0px 10px; 
    font-size:          20px;
    color:              #a86765;
}

.cat-additional{
    margin:             30px 0px 20px 0px;
}

.cat-search{
    overflow:           hidden;
    width:              calc(100% - 10px);
    margin:             0px 5px 10px 5px;
    padding:            0px
}

.cat-search select.postform{
    width:              calc(40% - 10px);
    padding:            5px 2px 5px 2px;
    margin:             0px 3px 0px 3px;
}

.cat-search input{
    width:              calc(20% - 2px);
    margin:             0px;
    padding:            5px 0px 5px 0px;
}

.cat-article{
    position:           relative;
    float:              left;
    width:              calc((100% / 3) - 10px);
    height:             327px;
    margin:             5px 5px 10px 5px;
    padding:            0px 0px 5px 0px;
    background-color: #ffffff;
}

.cat-article a{
    text-decoration:    none;
    color:              inherit;
}

.cat-article a:hover{
    text-decoration:    underline;
}

.cat-article img{
    width:              100%;
    height:             167px;
}

.carticle-title{
    overflow:           hidden;
    height:             43px;
    margin:             5px 0px 5px 0px;
    padding:            0px 5px 0px 5px;
    font-size:          18px;
    font-weight:        500;    
}

.carticle-desc{
    overflow:           hidden;
    height:             68px;
    margin:             0px 0px 5px 0px;
    padding:            0px 5px 0px 5px;
    text-align:         justify;   
    font-size:          14px;
    color:              #2a2a2a;
}

.carticle-tags{
    position:           relative;
    left:               0px;
    top:                0px;
    overflow:           hidden;
    width:              calc(100% - 10px);
    height:             35px;
    margin:             0px 5px 0px 5px;
    padding:            3px 0px 0px 0px;
    border-top:         1px solid #ededed;
    font-size:          10px;
}

.carticle-tags li{
    float:              left;
    list-style:         none;
    padding:            3px 5px 0px 5px;
    font-weight:        bold;
}

.carticle-tags li a {
    color:              #bebebe;
}

#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;
}

.chr-beauty {
    padding:            5px !important;
    border:             none !important;
    background-color:   #a86765 !important;
    color:              #ffffff !important;
    font-size:          18px !important;
}

.sub-cat {
    float:              left;
    width:              50%;
    margin:             0px;
    padding:            0px;
}

.sub-cat li{
    list-style-position:inside;
    padding:            2px 0px 2px 20px;
    text-indent:        -20px;
}

.sub-cat li h4{
    display:            inline;
    padding:            0px;
    margin:             0px;
    font-size:          12px;
    font-weight:        400;
}

.sub-cat h3.subcat-title{
    padding:            0px 0px 0px 5px;
    margin:             0px 0px 0px 0px;
    text-indent:        0px;
    font-size:          18px;
    font-weight:        bold;
}

.sub-cat h3.subcat-title i{
    color:              #a86765;
}

.sub-cat h3.subcat-title:before{
    content:            none;
    margin:             0px;
}

.rlist .sub-cat a {
    font-size:          14px !important;
}

/* 
 *
 * SMALL PC VERSION (Screen size 1023px and below) 
 *
 */

@media screen and (max-width: 1023px) {

.cat-article { 
    width:          calc((100% / 2) - 10px);
}
    
.cat-article img{
    width:          100%;
    height:         167px;
}
    
}

@media screen and (max-width: 600px){

.main-content {
    clear:          both;
    overflow:       hidden;
    width:          calc(100% - 20px);
    padding:        0px 10px 0px 10px;
}
    
}

/* 
 *
 * 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;
}    
    
}