/*
    Theme Name: Agent Hokkaido Theme    
*/


/* Blog */
.blog_wrap {
    padding: 80px 0;
    margin: 0 auto;
    /* max-width: 1280px; */
}

.main-blog-ct {
    background-color: #000;
/*    padding-bottom: 30px;*/
    
    width: 68%;
    margin-right: 2%;
    float: left;
}

.mgb-30 {
    margin-bottom: 30px;
}

.header-blog {
    position: relative;  
    font-weight: 700;
    /* color: #555; */
    color: #fff;
    line-height: 140%;   
    border-bottom: 3px solid #fff;
    font-size: 26px;
    text-align: left;
}

.header-blog:after {
    border-bottom: 3px solid #fff;
}

/* Blog Post Area */
.list-posts .post {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #efefef;
/*==========   SET MIN-HEIGHT IF BLOG POST THUMBNAIL IMAGE EXIST  =============*/
/*    min-height: 180px;*/
}

.list-posts .post:last-child {
/*    margin-bottom: 0;*/
}

.list-posts .post a {
    display: flex;
    flex-wrap: wrap;
    color: #fff;
}

/*
.list-posts .post a .img {
    width: 30%;
}

.list-posts .post a .img img {
    max-width: 100%;
    height: auto;
}
*/

/* Blog Post Thumbnail Photo */
.blog-photo {
    width: 25%;
    float: left;
/*    margin-right: 1%;*/
}

.blog-photo img {
    height: 150px;   
    width: 100%;
    object-fit: cover;
}

.list-posts .post a .info {
    width: 100%;
    padding-left: 15px;
/*    letter-spacing: 0;   */
}

.info {
    font-size: 16px;
    line-height: 160%;
}

.info div {
    line-height: 160%;
}

.info .info-title {
    font-weight: 700;
    font-size: 18px;
}

.info .date {
    font-size: 14px;
    font-weight: normal;
    padding: 5px 0;
}

.info .excerpt {
    font-weight: normal;
}

/* Side Widget Area */
h2.widgettitle {    
    font-size: 24px;
/*    font-weight: bold;   */
    color: #fff;
    padding: 5px;
    border-bottom: 3px solid #fff;
    text-align: left;   
    margin-top: 0;
    margin-bottom: 30px;
}

.sidebar {
    padding: 0 15px;
    margin-top: -20px;
    width: 30%;
    float: left;
    background: #000;
}

.sidebar-wrap {
/*    padding: 20px 10px 30px 10px;*/
    padding: 17px 10px 30px 10px;
    background-color: #000;
    color: #fff;
}

.sidebar ul {
    list-style-type: none;
}
.sidebar ul li {
    padding: 10px 0;
    border-bottom: 1px solid #efefef;
    font-size: 16px;
    font-weight: 5500;
    letter-spacing: 0;
}
.sidebar ul li a {
    color: #fff;
}

.sidebar ul li:first-child {
    padding-top: 0;
}

/* Single Blog Page */
.single img {
    max-width: 100%;
    height: auto;
}
.single-date {
    margin: 15px 0;
    font-size: 16px;
    letter-spacing: 0;
}

.single-ct {
    font-size: 16px;
    padding-bottom: 30px;
    letter-spacing: 0;    
}

.single-ct p {
    line-height: 160%;
}

.single-ct strong {
    font-weight: bolder;
}

/* calendar widget */
#wp-calendar {
    width: 100%;
}

#wp-calendar caption {
    text-align: right;
    color: #fff;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 15px;
}

#wp-calendar thead {
    font-size: 10px;
}

#wp-calendar thead th {
    padding-bottom: 10px;
    font-size: 15px;
    padding-left: 10px;
}

#wp-calendar tbody {
    color: #aaa;
}

#wp-calendar tbody td {
    background: #f5f5f5;
    border: 1px solid #fff;
    text-align: center;
    padding: 8px;
}

#wp-calendar tbody td:hover {
    background: #fff;
}

#wp-calendar tbody .pad {
    background: none;
}

/*
#wp-calendar tbody td a {
    background: #38393c;
    color: #fff;
}
*/

#wp-calendar tfoot #next {
    font-size: 10px;
    text-transform: uppercase;
    text-align: right;
}

#wp-calendar tfoot #prev {
    font-size: 10px;
    text-transform: uppercase;
    padding-top: 10px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    font-weight: bold;
    margin-top: 40px;
}

.pagination .page-numbers {
    padding: 7px 15px;
    color: #000;
    border: 1px solid rgba(0, 101, 187, 1);
    margin-right: 10px;
    border-radius: 5px;
    background: rgba(235, 246, 252, 1);
    font-weight: 400;
}

.pagination .current {
    background-color: rgba(0, 101, 187, 1);
    color: #fff; 
}

.clear {
    clear: both;
}

@media screen and (max-width:834px) {
    .blog_wrap {
        padding: 60px 40px;
    }
    
    .main-blog-ct {
        width: 60%;
    }
    
    .sidebar {
        width: 38%;
    }
}

@media screen and (max-width:768px) {
    
    h2.widgettitle {    
        font-size: 18px;
        font-weight: bold;   
    }
    
     .pagination { 
        float: left;        
        display: flex;
        justify-content: center;
        font-weight: bold;
        margin-bottom: 60px;
    }
}


@media screen and (max-width: 767px) {
    .blog_wrap {
        padding: 100px 10px;
    }
    .main-blog-ct {
        margin-bottom: 60px;
        padding: 20px 10px 30px 10px;
        width: 100%;
        margin-right: 0;
    }
    .list-posts .post a .img {
        width: 100%;
        margin-bottom: 15px;
        text-align: center;
    }
    .list-posts .post a .info {
        width: 100%;
        padding-left: 0;
    }
    .sidebar {
        padding: 0;
        width: 100%;
    }    
    .blog-photo {
        margin-right: 1%;
    }
}
/* End Blog */
.text__copy_right{
    padding-top: 40px;
    text-align: center;
    font-size: 16px;
    margin-bottom: 0;
}
.text__copy_right span{
    display: inline-block;
}




