@import url('https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
.page_home, .page_home_gallery {
    background-color: #fff;
    display: block;
    clear: both;
    margin-bottom: 60px;
    padding: 15px;
    width: 100%;
}
.page_home .title_blog, .page_home_gallery .title_blog {
    margin-top: 15px;
}
.title_blog, .title_blog a {
    color: #414141;
    font-size: 16px;
    margin-bottom: 28px;
    margin-top: 0;
    text-transform: uppercase;
}
div#block_myaccount_infos li {
    width: 100%;
    padding: 0;
}
div#block_myaccount_infos li span.ss_icon_group {
    display: none;
}
.page_home ul, .page_home_gallery ul {
    float: left;
    margin-bottom: 0;
    position: relative;
    width: 100%;
}
.page_home.ybc_block_default ul {
    display: flex;
    display: -webkit-flex;
    width: 100%;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}
.block_content li {
    padding: 0 15px;
}
.ybc_block_default .block_content li {
    margin-bottom: 30px;
}
.ybc_item_img {
    position: relative;
    width: 100%;
	display: block;
}
.page_home img, .ybc-blog img {
    max-width: 100%;
}
.ybc_item_img img {
    transition: all 0.7s ease 0s;
    -webkit-transition: all 0.7s ease 0s;
    max-width: 100%;
    width: 100%;
}
.ybc_title_block {
    display: inline-block;
    color: #878786;
    float: left;
    font-size: 18px;
    font-weight: bold;
    line-height: 27px;
    margin-bottom: 0;
    margin-top: 20px;
    padding: 5px 0 9px;
    text-transform: uppercase;
    width: 100%;
    outline: none !important;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 64px;
}

.ybc_title_block:hover{
	color: #e77313;
}	

.ybc-blog-sidear-post-meta {
    color: #b1b1b1;
    display: none;
    float: left;
    font-size: 13px;
    width: 100%;
}
.ybc-blog-categories {
    float: right;
    margin-right: 15px;
}
.be-categories {
    font-size: 14px;
    color: #bfbfbf;
}
.be-categories > a, .ybc-blog-tags a {
    color: #bfbfbf;
}
.post-date {
    float: left;
    margin-bottom: 5px;
    margin-right: 15px;
    width: auto;
}
.ybc-blog-latest-toolbar {
	display:none; /** temprerory **/
    color: #bfbfbf;
    float: left;
    font-size: 14px;
    margin-bottom: 7px;
    width: 100%;
}
.ybc-blog-latest-toolbar-views:before {
    content: "\f06e";
    font-family: FontAwesome;
    padding-right: 3px;
}
.blog_description {
    clear: left;
    font-size: 14px;
    line-height: 24px;
    color: #414141;
}
.blog_description p:last-child {
    margin-bottom: 0;
}
.read_more {
    color: #E66A04;
    font-size: 18px;
    text-decoration: none!important;
    margin-top: 0px;
    display: inline-block;
    padding-bottom: 1px;
	margin-top:20px;
	display:inline-block;
}
.page_home_gallery.ybc_block_default ul {
    margin-left: -5px;
    width: calc(100% + 10px);
    width: -webkit-calc(100% + 10px);
    width: -moz-calc(100% + 10px);
    width: -o-calc(100% + 10px);
    width: -ms-calc(100% + 10px);
}
.ybc_block_gallery ul > li {
    padding: 0 15px 30px;
    width: 16.6667%;
}
.page_home_gallery.ybc_block_default li {
    padding-left: 5px;
    padding-bottom: 10px;
    padding-right: 5px;
    margin-bottom: 0;
}
.gallery_item {
    backface-visibility: hidden;
    float: left;
    perspective: 500px;
    -webkit-perspective: 500px;
    -ms-perspective: 500px;
    -o-perspective: 500px;
    position: relative;
    overflow: hidden;
    width: 100%;
}
.gallery_item > img {
    backface-visibility: hidden;
    float: left;
    max-width: 100%;
    min-height: 50px;
    perspective: 500px;
    -webkit-perspective: 500px;
    -ms-perspective: 500px;
    -o-perspective: 500px;
    transform: scale3d(1, 1, 1);
    -webkit-transform: scale3d(1, 1, 1);
    -o-transform: scale3d(1, 1, 1);
    -ms-transform: scale3d(1, 1, 1);
    -moz-transform: scale3d(1, 1, 1);
    transition: all 0.35s ease 0s;
    -webkit-transition: all 0.35s ease 0s;
    -moz-transition: all 0.35s ease 0s;
    -ms-transition: all 0.35s ease 0s;
    -o-transition: all 0.35s ease 0s;
}
.page_home_gallery .ybc_title_block {
    display: none;
}
.clear {
    clear: both;
}
.ybc_block_slider .owl-item > li {
    float: left;
    overflow: hidden;
    width: 100%;
}
#content-wrapper .ybc_block_slider .owl-item > li {
    padding-bottom: 15px;
}
.ybc_block_slider .owl-controls, .ybc_blog_related_posts_type_carousel .owl-controls, .ybc_related_products_type_carousel .owl-controls {
    bottom: 100%;
    margin-bottom: 25px;
    min-height: 20px;
    min-width: 20px;
    position: absolute;
    right: 15px;
}
.ybc_block_slider .owl-controls .owl-nav, .ybc_blog_related_posts_type_carousel .owl-controls .owl-nav, .ybc_related_products_type_carousel .owl-controls .owl-nav {
    position: relative;
    top: auto;
    right: auto;
}
.ybc_block_slider .owl-nav > div, .ybc_blog_related_posts_type_carousel .owl-nav > div, .ybc_related_products_type_carousel .owl-nav > div {
    background: #fff none repeat scroll 0 0 !important;
    border: 1px solid #ebebeb;
    border-radius: 0 !important;
    color: #c6c6c6 !important;
    cursor: pointer;
    float: left;
    font-size: 20px;
    height: 25px;
    line-height: 21px;
    margin: 0 2px !important;
    padding: 0 !important;
    width: 25px;
}
.ybc_block_slider .owl-prev::before, .ybc_blog_related_posts_type_carousel .owl-prev::before, .ybc_related_products_type_carousel .owl-prev::before {
    content: "\f104";
    font-family: FontAwesome;
}
.ybc_block_slider .owl-next::before, .ybc_blog_related_posts_type_carousel .owl-next::before, .ybc_related_products_type_carousel .owl-next::before {
    content: "\f105";
    font-family: FontAwesome;
}
.ybc_block_slider .owl-nav > div:hover, .ybc_blog_related_posts_type_carousel .owl-nav > div:hover, .ybc_related_products_type_carousel .owl-nav > div:hover {
    background-color: #f1f1f1!important;
    color: #666!important;
}
.blog_view_all_button {
    text-align: center;
    padding: 15px;
    display: block;
    width: 100%;
    clear: both;
    margin-bottom: 0;
    color: #fff;
}
.page_home .blog_view_all_button {
    text-align: left;
}
.page_home_gallery .blog_view_all_button {
    text-align: left;
    padding-left: 0;
}
.blog_view_all, .view_all_link {
    min-width: 150px;
    text-align: center;
    border: none;
    outline: none!important;
    font-size: 14px;
    width: auto!important;
    background-color: #2fb5d2;
    color: #fff!important;
    text-transform: uppercase;
    font-weight: 500;
    padding: 6px 15px!important;
    border-radius: 3px;
    display: inline-block!important;
}
.blog_view_all:hover, .view_all_link:hover,
.ybc-blog-form-comment .blog-submit .button:hover {
    background-color: #2592a9;
}
@media (min-width: 1200px){
    .page_home.ybc_block_default ul li.col-lg-3:nth-child(4n+1) {
        clear: left;
    }
}


/******************* home blogs custom style START ******************/

#index .ybc_block_latest{
	display: flex;
    max-width: 1468px;
    padding: 0 15px;
	padding-top: 180px;
}

#index .ybc_block_latest .homeBlogText{
	width: 25%;
	padding-top: 70px;
}

#index .ybc_block_latest .homeBlogText .sub-title{
	font-size: 28px;
    color: #e77313;
    line-height: 42px;
    text-transform: capitalize;
}

#index .ybc_block_latest .homeBlogText .title{
	font-size: 28px;
    line-height: 42px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #404040;
}

#index .ybc_block_latest .block_content{
	width: 75%;
}	

.ybc_block_latest .blog-top{
	position: relative
}

.ybc_block_latest .blog-cat-name{
	display: inline-block;
    font-size: 20px;
    line-height: 27px;
    color: #404040;
    background: #fff;
    width: 218px;
    padding: 5px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    border-radius: 5px;
    bottom: 55px;
	max-width: calc(100% - 20px);
}
.ybc_block_latest .blog-cat-name p {
    font-size: inherit;
    color: initial;
    line-height: inherit;
    margin: unset;
}
@media(max-width: 991px){
#index .ybc_block_latest{
	flex-direction: column;
	padding-top: 0;
	margin-bottom: 0;
}

#index .ybc_block_latest .homeBlogText{
	width: 100%;
    padding-bottom: 70px;
}

#index .ybc_block_latest .block_content{
	width: 100%;
}

.ybc_block_latest .blog-cat-name{
	bottom: 10px;
}

}

#index .ybc_block_latest .owl-stage{
	display: flex;
}
#index .ybc_block_latest .owl-carousel .owl-item{
	display: flex;
}
#index .ybc_block_latest .owl-carousel .owl-item .ybc-blog-latest-post-content{
	min-height:235px;
	display: flex;
    flex-direction: column;
}
#index .ybc_block_latest .owl-carousel .owl-item .read_more{
	margin-top: auto;
}
/******************* home blogs custom style END ******************/