@charset "UTF-8";
/*
Theme Name: Clean Dental Theme

*/


/* Blog */

#blog-section {
    background: #6FA5E7;
    height: 200px;
    width: 100%;
}

.blog_wrap {
    padding: 10px 80px 60px;
    margin: 60px auto;
    max-width: 1280px;
}

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

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

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

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

/* Blog Post Area */
.list-posts .post {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #3572b7;
/*==========   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;
}

/*
.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: #3572b7;*/
    color: #000;
    padding: 5px;
/*    border-bottom: 3px solid #3572b7;*/
/*    text-align: left;   */
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
}

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

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

.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: #000;
}

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

/* Single Blog Page */
.single img {
    max-width: 100%;
    height: auto;
    width: 80%;
    margin: 0 auto;
    display: block;
}
.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: #333;
    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;
}

.pagination .page-numbers {
    padding: 7px 15px;
}

.pagination .current {
    background-color: #3572b7;
    color: #fff; 
}

.clear {
    clear: both;
}

.blog-head {
    margin-bottom: 60px;
}

.blog-list {
    margin-bottom: 30px;    
}

.blog-list2 {
    padding-bottom: 30px;
}

.blog-wrap {
    display: flex;
    width: 100%;
    flex-wrap: wrap; 
    background: #e8f6fe;
    padding: 30px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease;
}

.blog-wrap:hover {
    background: #d8eefe;
}

.blog-wrap2 {
    display: flex;
    width: 100%;
    flex-wrap: wrap; 
/*    background: #e8f6fe;*/
    background: #f5f5f5;
    padding: 10px;   
}

.blog-image {
    flex: 100%;
    max-width: 28%;
    margin-right: 2%;
/*    margin: 0 0 30px 0;    */
}

.blog-image img {
    width: 250px;
/*    height: 250px;*/
    height: 150px;
    object-fit: cover;
}

.blog-image2 {
    flex: 100%;
    max-width: 28%;
    margin-right: 2%;
/*    margin: 0 0 30px 0;    */
}

.blog-image2 img {
    width: 100%;
    height: 80px;
/*    height: 120px;*/
    object-fit: cover;
}

.blog-details {
    flex: 100%;
/*    max-width: 70%;*/
    max-width: 68%;
    margin-left: 2%;
/*    margin: 0 0 30px 0;*/
}

.blog-date {
    font-size: 12px;
    margin-bottom: 30px;
}

.blog-category {
    border: 1px solid #000;    
    width: fit-content;
    padding: 10px;
    font-size: 12px;
}

.blog-category2 {
    width: fit-content;
/*    padding: 10px;*/
    font-size: 12px;
}

.blog-date2 {
    font-size: 12px;    
}

.blog-title {
    margin-top: 30px;
    font-size: 18px;
}

.blog-title2 {
    margin-top: 10px;
    font-size: 16px;
}

/* Wordpress Popular Post */

.wpp-item {
    margin-bottom: 20px; /* Adjust spacing between posts */
    overflow: hidden; /* Clear floats */
}

.wpp-thumbnail {
    float: left;
    margin-right: 10px;
}

.wpp-info {
    overflow: hidden; /* Clear floats */
}

.wpp-date,
.wpp-category {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
}

.wpp-title {
    display: block;
    font-size: 16px;   
}

.my-flex.box-shadow {
	background-color: #fff;
	box-shadow: 1px 1px 12px 1px rgba(0, 0, 0, 0.2);
	max-width: calc(100% - 120px);
    margin: 0 auto;
}

.box-shadow .flex-item50 {
    max-width: 50%;
}

.box-shadow .flex-item100 {
    max-width: 100%;
}


/* End WPP */

@media screen and (max-width:1024px) {
    .blog-details {
        padding-left: 50px;
    }
}

@media screen and (max-width:834px) {
    .blog_wrap {
        padding: 60px 40px;
    }
    
    .blog-details {
        padding-left: 100px;
    }
    
/*
    .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;
    }
}


@media screen and (max-width: 767px) {
    .blog_wrap {
        padding: 15px;
    }
    
    #blog-section {
        height: 50px;
    }
    
    .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%;
    }
    
    .blog-image {
        max-width: 100%;
        margin-bottom: 20px;
        margin-right: 0;
    }
    .blog-image img {
        width: 100%;
    }
    
    .blog-details {
        max-width: 100%;
        margin-left: 0;
		padding: 0 0 0 30px;
    }
	
	.blog-wrap2 {
		flex-wrap: nowrap;
	}
	
	.box-shadow.my-flex {
		max-width: 100%;
	}

	.box-shadow .flex-item50 {
		max-width: 100%;
	}

	.box-shadow .border-top-left {
		padding: 20px;
	}
	
	.box-shadow .border-top-right {
		padding: 20px;
	}
	
	.flex-item100 .border-bottom-right {
		padding-left: 0;
	}
	
	.box-shadow .border-bottom-right {
		padding: 20px;
	}
	.box-shadow .border-bottom-left {
		padding: 20px;
	}
	
	.box-shadow .middle-right {
		padding: 20px;
	}
	.box-shadow .middle-left {
		padding: 20px;
	}
	
	#greetings .my-flex {
		display: block;
	}

	#greetings .flex-item50 {
		max-width: 100%;
		padding: 0;
	}
	
	.blog-subdetails {
		display: flex;
		width: 100%;
	}

	.blog-date {
		margin-bottom: 10px;
	}

	.blog-category {
		display: block;
	}

	.blog-details {
		padding: 0;
	}

	.blog-date-cont {
		margin: 0;
		width: 120px;
	}

	.blog-title-cont {
		width: calc(100% - 120px);
	}

	.blog-title {
		margin: 0;
	}
	
	.widget .blog-details {
		padding: 0 0 0 20px;
	}
	
	h2.headline-new.ds {
		margin: 0 auto 40px;
	}
}
/* End Blog */
