@import url('https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
.page_home, .page_home_gallery {
    display: block;
    clear: both;
    width: 100%;
}
.page_home .title_blog, .page_home_gallery .title_blog {
    margin-top: 25px;
    font-size: 23px;
}
.title_blog, .title_blog a {
    color: #414141;
    font-size: 16px;
    /*margin-bottom: 28px;*/
    margin-top: 0;
    text-transform: uppercase;
}
div#block_myaccount_infos li {

    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;
    flex-wrap: wrap;
    clear: both;
    -webkit-flex-wrap: wrap;
}
.ybc_block_default .block_content li {
    margin: 10px;
    min-height: 250px;
    background: #ffffff;
    box-shadow: 0 0 6px 1px #c4cdd5;
    border-radius: 6px;
    display: block;
    text-align: left;
    font-family: "Roboto",sans-serif;
    font-style: normal;
    letter-spacing: 0;
    padding: 15px 10px;
    max-width: calc(50% - 20px);
}
.ybc_item_img {
    float: left;
    overflow: hidden;
    position: relative;
    background-color: #eee;
    width: 100%;
}
.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 {
    color: #414141;
    float: left;
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
    margin: 0;
    padding: 5px 0;
    text-transform: capitalize;
    text-align: center;
    width: 100%;
    outline: none !important;
    text-decoration: none !important;
}
.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 {
    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;
}
.ybc-blog-latest-toolbar span {
    display: inline-block;
}
span.ybc-blog-latest-toolbar-comments {
    display: inline-block;
}
span.ybc-blog-latest-toolbar-views {
    margin-right: 7px;
}
.blog_description {
    clear: left;
    font-size: 14px;
    /*line-height: 24px;*/
    color: #414141;
    word-break: break-word;
}
.blog_description p:last-child {
    margin-bottom: 0;
}
.read_more {
    font-size: 14px;
    text-decoration: none!important;
    margin-top: 10px;
    display: inline-block;
    padding-bottom: 1px;
    font-style: italic;
    color: #303030;
    border-bottom: 1px dotted;
}
.page_home_gallery.ybc_block_default ul {
    margin-left: -5px;
    width: calc(100% + 10px);
    width: -webkit-calc(100% + 10px);
    width: -moz-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;
}

/* Slick slider styles (v4.7.6) */
.ybc_block_slider button.slick-arrow {
    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: 0;
    height: 25px;
    line-height: 21px;
    margin: 0 2px !important;
    padding: 0 !important;
    width: 25px;
    position: absolute;
    right: 12px;
    top: 26px;
    transform: none;
}
.ybc_block_slider .slick-arrow.slick-disabled{
    opacity: 0.5;
    cursor: not-allowed;
}
.ybc_block_slider .slick-slider {
    position: static;
}
.ybc_blog_carousel .slick-list {
    width: 100%;
}
.ybc_block_slider .slick-slide {
    height: auto;
}
.ybc_block_slider a {
    outline: none!important;
}
.ybc_block_slider button.slick-next:before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-top: 1px solid #aaa;
    border-right: 1px solid #aaa;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    top: 7px;
    right: 9px;
    left: auto;
    bottom: auto;
}
.ybc_block_slider button.slick-prev:before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-top: 1px solid #aaa;
    border-right: 1px solid #aaa;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    top: 7px;
    right: 7px;
    left: auto;
    bottom: auto;
}
.ybc_block_slider button.slick-arrow.slick-prev {
    left: auto;
    right: 45px;
}
.ybc_block_slider button.slick-arrow:hover {
    background: #ddd!important;
    border-color: #ddd!important;
}
.ybc_block_slider button.slick-arrow:hover:before{
    color: #000000;
    opacity: 1!important;
}

/* Owl Carousel styles (compatibilitate cu structura veche) */
.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;
}

/* Slick slider - blog_type_slider compatibility */
.page_home .blog_type_slider, .page_home_gallery .ybc_blog_content_block {
    float: left;
    margin-bottom: 0;
    position: static;
    width: 100%;
}
.page_home.ybc_block_default .ybc_blog_content_block {
    display: flex;
    display: -webkit-flex;
    width: 100%;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}
.ybc_blog_content_block .slick-list {
    width: 100%;
}
.ybc_blog_content_block {
    display: block;
    width: 100%;
}

.blog_view_all_button {
    text-align: center;
    padding: 15px;
    display: block;
    width: 100%;
    clear: both;
    margin-bottom: 0;
    color: #fff;
}
.page_home_gallery .blog_view_all_button {
    text-align: left;
    padding-left: 0;
}
.blog_view_all, .view_all_link {
    color: #fff;
    background: #eb4815;
    display: inline-block;
    float: none !important;
    font-size: 13px;
    position: relative;
    font-weight: 500;
    margin-bottom: 0;
    border: 1px solid #eb4815;
    line-height: 30px;
    margin-top: 10px;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.45s ease 0s;
    -webkit-transition: all 0.45s ease 0s;
    -moz-transition: all 0.45s ease 0s;
    -o-transition: all 0.45s ease 0s;
    border-bottom-right-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    padding: 5px 10px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}
.blog_view_all:hover,
.blog_view_all:focus,
.blog_view_all:active,
.blog_view_all:focus-visible,
.view_all_link:hover,
.view_all_link:focus,
.view_all_link:active,
.view_all_link:focus-visible,
.ybc-blog-form-comment .blog-submit .button:hover,
.ybc-blog-form-comment .blog-submit .button:focus,
.ybc-blog-form-comment .blog-submit .button:active,
.ybc-blog-form-comment .blog-submit .button:focus-visible {
    background-color: #eb3000;
    color: #fff !important;
    background: #1c3948 !important;
    border-color: #1c3948;
}

/* SVG icons in toolbar */
.ybc-blog-latest-toolbar svg {
    float: left;
    margin-right: 6px;
    fill: currentColor;
    margin-top: 2px;
}

.ybc_block_gallery li, .page_home_gallery.ybc_block_default li {
    padding-left: 15px;
    padding-right: 15px;
}

.ybc-blog-rtl .post-date {
    float: right;
    margin-left: 15px;
    margin-right: 5px;
}
.post-date .be-label {
    display: block;
    float: left;
    overflow: hidden;
    text-indent: 999px;
    white-space: nowrap;
    width: 20px;
}

/* ybc_blog_content_block_item - compatibility with new module CSS */
.ybc_blog_content_block_item {
    padding: 0 15px;
}

@media (min-width: 544px){
    .ybc_block_default .block_content li{
        max-width: calc(33.3% - 20px);
    }
}
@media (min-width: 991px){
    .ybc_block_default .block_content li{
        max-width: calc(25% - 20px);
    }
}
@media (min-width: 1200px){
    .page_home.ybc_block_default ul li.col-lg-3:nth-child(4n+1) {
        clear: left;
    }
    .page_home.ybc_block_default .ybc_blog_content_block .col-lg-3:nth-child(4n+1) {
        clear: left;
    }
}
@media (max-width: 767px){
    .ybc_block_gallery li {
        width: 50%;
    }
}
