/*
Theme Name: Book Junky Child
Theme URI: http://demo.cmssuperheroes.com/themeforest/bookjunky/
Author: CMSSuperHeroes
Author URI: http://themeforest.net/user/CMSSuperHeroes
Description: BookJunky is a WooCommerce book store for WordPress theme perfect for book stores, libraries, authors and publishers. It’s fully responsive and comes with pre-designed pages, Slider Revolution and Visual Composer are included to allow you to fully customise the theme or create your own pages.
Version: 1.0.4
License: ThemeForest
License URI: https://themeforest.net/licenses
Tags:  app store, book, book shop, book store, catalog, digital goods, ebook, ecommerce, library, online store, retail, software, store, woocommerce book store, WordPress book store
Template:     book-junky
Text Domain: book-junky-child
*/


/**
* Custom icons on My Account menu lateral
*/
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--wcfm-store-manager a:before {
    content: '\f11c';
}
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--support-tickets a:before {
    content: '\f1df';
}
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--Questes a:before
{
    content: '\f263';
}
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--followings a:before
{
    content: '\f20d';
}



/**
    CUSTOM CSS
*/
@media screen and (min-width: 1520px) {
	.vc_row-has-fill>.vc_column_container>.vc_column-inner {
		max-width: 1550px !important;
		margin: 0 auto !important;
	}
}

.page-id-163 .site-content {
    padding: 0;
}

.cms-grid-media { 
    position: relative;
    overflow: hidden;
}
.grid-1 .cms-grid-media,
.grid-2 .cms-grid-media,
.wrap-thumbnail,
.product-thumbnial {
    box-shadow: none!important;
}

.page-title-product_2 .woocommerce .woocommerce-product-rating .star-rating:before {
	color: #d3ced2;
}

.page-title-product_2 .woocommerce .woocommerce-product-rating .star-rating {
	color: #ffda00 !important;
}

.page-title-product_2 .bj-rating-counts {
	color: #fbeded !important;
}

.single-product .review .wrap-rating .star-rating:before,
.single-product .review .comment-body .star-rating:before {
    color: #d3ced2 !important;
}

.single-product .review .wrap-rating .star-rating,
.single-product .review .comment-body .star-rating {
    color: #ffda00 !important;
}

.wcfm-store-page #page-title-1 {
    display: none !important;
}

#wcfmmp-store #wcfm_store_header {
    text-align: center;
    padding-top: 23px;
    min-height: 0 !important;
    padding-bottom: 25px !important;
}
#wcfmmp-store #wcfm_store_header h1 {
    color: #FFF !important;
    font-size: 25px !important;
    margin-bottom: 0px;
}
#masthead a {
    color: #3c3c3b;
}
#masthead a:hover {
    color: #888a92;
}

a.logout { color: #888a92 !important; text-transform: lowercase; }
a.logout:hover { color: #3c3c3b !important; }

.grid-2 .product-title, .grid-4 .product-title {
    font-size: 14px !important;
    line-height: 16px !important;
}
.grid-2 .product-author,
.grid-4 .product-author, 
.grid-2 .product-author a, 
.grid-4 .product-author a {
    font-size: 12px !important;
    line-height: 14px !important;
}

/* .item-menu, #header-navigation { display: none; } */

.sidebar-filter h2 {
    font-size: 16px !important;
    line-height: initial;
    margin-top: 20px !important;
    margin-bottom: 10px !important;
}

.cart-collaterals h2 {
    font-size: 18px !important;
}


@media screen and (max-width: 449px) {
    .heading-3 {
        display: inline-flex !important;
    }

    .container-header .go_to_login_link {
        display: none;
    }
}

.menu-main-menu > li > a {
    text-transform: initial !important;
}



/**
    CUSTOM SLICK CSS
*/
.cms-grid {
    background: #fff url('components/slick/ajax-loader.gif') center center no-repeat;
    height: 300px;
    overflow: hidden;
}
.cms-grid > .cms-grid-item,
.cms-grid > .cs-sale-item {
    visibility: hidden;
}
.cms-grid.slick-initialized {
background: none;
height: auto;
overflow: auto;
}
.cms-grid.slick-initialized > .cms-grid-item,
.cms-grid.slick-initialized > .cs-sale-item {
visibility: visible;
}
.slick-list.draggable {
    padding: 0 50px;
}
@media screen and (max-width: 568px) {
    .slick-list.draggable {
        padding: 0 25px;
    }
}
.btn-add-to-cart a.button {
    font-size: 100%;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    overflow: visible;
    padding: .618em 1em;
    font-weight: 700;
    border-radius: 3px;
    left: auto;
    color: #888a92;
    background-color: #ebe9eb;
    border: 0;
    display: inline-block;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
}
.btn-add-to-cart a.button:hover {
    background-color: #dad8da;
    text-decoration: none;
    background-image: none;
    color: #515151;
}
.cms-grid-item .cms-grid-media a,
.cs-sale-item .cms-grid-media a {
    cursor: -webkit-grab !important;
    cursor: grab !important;
}

/* .cs-sale-item .cms-grid-media img,
.cms-grid-item .cms-grid-media img {
    min-height: 309px;
    max-height: 309px;
    object-fit: cover;
} */
  


/**
    CUSTOM VENDOR PAGE
*/

.product-title,
.product-author {
    width: 100%;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
}
.grid-container .product-title {
    font-size: 18px;
    color: #0f120b;
    line-height: 20px;
    font-family: "averta-bold";
}
.grid-container .product-thumbnail {
    margin-bottom: 19px;
}
.grid-container .product-author,
.grid-container .product-author a {
    color: rgba(15, 18, 11, 0.48);
    font-family: "averta-semibold";
    font-size: 14px;
}
.grid-container .price {
    color: #3c3c3b !important;
    font-size: 14px !important;
    font-family: "averta-bold";
}

.grid-2.cs-saler .cs-sale-item {
    min-height: unset !important;
}
/* .cs-sale-item {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    flex-wrap: nowrap;
    height: 410px;
} */



/*
    CUSTOM HEADER
*/
.header-1 .header-search {
    width: 100%;
}
.header-1 .header-search .searchform {
    border: 1px solid #e5e6ea;
    border-radius: 6px;
    overflow: hidden;
    height: 40px;
    margin: 0 auto;
}
.header-1 .header-search .searchform .form-search {
    border: none;
    height: 38px;
    padding: 0 20px;
    width: calc(100% - 60px);
}
.header-1 .header-search .searchform .form-search::-webkit-input-placeholder {
    color: rgba(136, 138, 146, 0.48);
    letter-spacing: 0.05em;
    font-size: 14px;
    font-family: "averta-semibold";
    opacity: 1;
}
.header-1 .header-search .searchform .form-search::-moz-placeholder {
    color: rgba(136, 138, 146, 0.48);
    letter-spacing: 0.05em;
    font-size: 14px;
    font-family: "averta-semibold";
    opacity: 1;
}
.header-1 .header-search .searchform .form-search:-moz-placeholder {
    color: rgba(136, 138, 146, 0.48);
    letter-spacing: 0.05em;
    font-size: 14px;
    font-family: "averta-semibold";
    opacity: 1;
}
.header-1 .header-search .searchform .form-search:-ms-input-placeholder {
    color: rgba(136, 138, 146, 0.48);
    letter-spacing: 0.05em;
    font-size: 14px;
    font-family: "averta-semibold";
    opacity: 1;
}
.header-1 .header-search .searchform .search-submit {
    color: #fff;
    border: none;
    float: right;
    background-color: #3c3c3b;
    font-size: 18px;
    font-family: "averta-bold";
    height: 40px;
    padding: 0;
    width: 60px;
    line-height: 38px;
    transition: all 0.25s ease 0s;
}
.header-1 .header-search .searchform .search-submit:hover {
    color: #3c3c3b;
    background-color: #fff;
}

@media screen and (min-width:992px) {

    .header-1 .left-header {
        height: 117px;
        display: flex;
        align-items: center;
        justify-content: center;
        align-content: center;
    }  
    .header-1 .user-login .bj-user-head-logo {
        margin-top: -4px !important;
        overflow: inherit !important;
    }
}

.page-title#page-title-1 {
    padding-bottom: 10px !important;
    padding-top: 10px !important;
}
.page-title h1 {
    font-size: 25px !important;
}
.page-title {
    display: none;
}
.site-header {
    border-bottom: 1px solid #e5e6ea;
}



/**
    CUSTOM SHOP
*/
.container-info {
    display: flex;
    /* flex-direction: row-reverse; */
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: end;;
    /* margin-top: 10px; */
    width: 100%;
}
.container-info .product-price {
    text-align: left;
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 10px;
}
.grid-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: stretch;
}

.grid-container .product-item {
    max-width: 50%;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
}
@media (min-width: 568px) {
    .grid-container .product-item {
        max-width: 33.33%;
        padding-left: 10px;
        padding-right: 10px;
    }
}
@media (min-width: 768px) {
    .grid-container .product-item {
        max-width: 20%;
        padding-left: 10px;
        padding-right: 10px;
    }
}
@media (min-width: 992px) {
    .grid-container .product-item {
        max-width: 20%;
        padding-left: 10px;
        padding-right: 10px;
    }

    #wcfmmp-stores-wrap ul.wcfmmp-store-wrap li {
        width: 50% !important;
    }
    .header-1 .user-login .bj-user-name {
        font-size: 14px !important;
    }
    .header-1 .user-login .bj-user-name a:before { width: 0% !important; }
}
@media (min-width: 1400px) {
    .grid-container .product-item {
        max-width: 16.6666666667%;
        padding-left: 10px;
        padding-right: 10px;
    }
}

.book-junky-cart .actions input[type='submit'] {
    color: #FFF !important; 
}
.book-junky-cart .actions input[type='submit']:hover {
    color: #3c3c3b !important;
}

#wcfmmp-store p {
    padding: 0 !important;
}

/* custom show store vendor */
.wcfmmp_sold_by_container {
	display: block !important;
}
.wcfmmp_sold_by_wrapper img.wcfmmp_sold_by_logo {
    display: none !important;
}


.wcfmmp_sold_by_wrapper a {
    font-size: 12px;
    color: rgba(15, 18, 11, 0.48) !important;
}

span.wcfmmp_sold_by_label {
    font-size: 12px;
    color: rgba(15, 18, 11, 0.48) !important;
}

.grid-2 .product-author a,
.grid-4 .product-author a,
.grid-container .product-author a {
    color: #17a2b8 !important;
}

.capa-livro {
    margin-top: 12px;
}

/**
    CUSTOM HEADER 
*/
.main_logo {
    max-width: 200px;
}
.container-header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    padding: 0 15px;
}
.container-shop {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}
.container-header .item {
    flex-grow: 1;
}
.container-header .item-search {
    flex-grow: 10;
}
.container-header .item-menu {
    text-align: right;
}
.container-header .item-logo { order: 1; }
.container-header .item-search { order: 2; }
.container-header .container-shop { order: 3; }
.container-header .item-menu { order: 4; }
.container-header .item-sub-menu { order: 5; }

.header-1 .bj-user-head {
    margin-right: 10px !important;
}

.container-header .go_to_login_link {
    top: -4px;
    position: relative;
}
.header-1 .user-login {
    top: 5px !important;
}

.header-1 .user-login .bj-user-head-info {
    padding-left: 5px !important;
    padding-right: 10px;
}

.container-shop .item-shop i.fa {
    font-size: 25px;
}

.container-shop .item-user-info { flex-grow: 2; }
.container-shop .item-minha-lista { flex-grow: 1; }
.container-shop .item-carrinho { flex-grow: 1; }

.item-minha-lista, 
.item-carrinho { 
    position: relative;
    margin-right: 10px; 
}
.item-user-info {
    margin-left: 10px;
    text-align: right;
}
.quantity-items {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 100%;
    background: #ff5252;
    font-size: 11px;
    line-height: 16px;
    color: #fff;
    text-align: center;
    top: -5px;
    right: -5px;
    font-weight: 900;
}

@media screen and (max-width:991px) {
    .container-header .item-menu {
        text-align: right;
        font-size: 14px;
    }
    .header-1 .user-login {
        margin-bottom: 0px !important;
        display: inline-flex;
    }
    .header-1 .header-search .searchform {
        max-width: 100%;
    }
    .container-header .item-search { 
        order: 4;
        margin-bottom: 30px;
        width: 100%;
    }
    .header-1 .bj-user-head {
        margin-bottom: 0px !important;
    }
    .item-minha-lista, .item-carrinho {
        position: relative;
        margin-right: 0px;
        text-align: center;
    }
    .item-user-info { margin-left: 0px; }
    .container-header .item-menu {
        order: 4;
        flex-grow: 0.1;
    }
    .container-shop .item-user-info { flex-grow: 0; }
    .container-shop .item-minha-lista,
    .container-shop .item-carrinho { flex-grow: 0; margin-right: 10px;}

    .bj-user-head-info .bj-user-name {
        position: relative;
        top: 5px;
    }
}

@media screen and (max-width: 512px) {
    .container-header .item-menu { 
        order: 1;
        flex-grow: 1;
        text-align: left;
        padding-left: 5px;
    }
    .container-header .item-logo { width: 25%; order: 2; text-align: center;}
    .container-shop { margin: 15px 0; }
    .vc_row-has-fill>.vc_column_container>.vc_column-inner {
        padding-top: 0 !important;
    }
    .container-header .bj-user-head-logo { margin-right: 10px !important; position: relative; }
    .container-header .bj-user-head-info { display: none; }
    .container-header a.item.item-menu.menu {
        line-height: 0;
        font-size: 0;
    }
}

/**
    CUSTOM RIBBON SALE
**/
.corner-ribbon{
    width: 100%;
    background: rgba(255, 82, 82, 0.8);
    position: absolute;
    top: 50%;
    text-align: center;
    line-height: 50px;
    letter-spacing: 1px;
    color: #f0f0f0;
}
.corner-ribbon.shadow{
    box-shadow: 0 0 3px rgba(0,0,0,.3);
}


/**
    CUSTOM PRODUCTS SLIDE HOMEPAGE
**/
@media screen and (max-width: 449px) {
    .heading-3 .wrap-link {
        float: right !important;
        margin-top: -20px !important;
        text-align: right !important;
    }
    .heading-3 .heading {
        float: left !important;
    }
}

/*
    CUSTOM LIST OF CATEGORIES ON HOMEPAGE
*/
.woocommerce ul.products li.product {
    margin: 0 !important;
}
.woocommerce ul.products li.product a img {
    display: none !important;
}

/**
*   DETALHE LIVRO
*/
.single-product .page-title-product_2 {
    border-top: 1px solid #eff0f3;
    border-bottom: 0px !important;
    padding-top: 59px !important;
    padding-bottom: 40px;
}

.page-title-product_2 p {
    color: #0f120b !important;
}

.page-title-product_2 h4 {
    font-size: 36px !important;
    color: #0f120b !important;

}

.single-product .page-title-product_2 .wrap-button .flex-favorites {
    border: 2px solid #0f120b !important;
}

.single-product .page-title-product_2 .wrap-button .flex-favorites .ff-icon {
    color: #0f120b !important;
}

.page-title-product_2 .author a {
    color: #0f120b !important;
}

.wrap-thumbnail-custom {
    margin-bottom: 50px;
}
@media screen and (max-width: 768px) {
    .wrap-thumbnail-custom {
        text-align: center;
    }
}

.single-product .wrap-single-sidebar {
    margin-left: 0 !important;
    padding-top: 0 !important;
}

.single-product .wrap-single-sidebar .wrap-book-author {
    padding-bottom: 0px !important;
}

.single-product .wrap-single-sidebar .wrap-book-author .sg-sidebar-title {
    margin-bottom: 40px !important;
}

.single-product .wrap-single-sidebar .wrap-share {
    padding-top: 0 !important;
}

.single-product .wrap-details {
    border-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.single-product .page-title-product_2 .wrap-button .flex-favorites {
    cursor: pointer;
}

@media (max-width: 991px) and (min-width: 768px) {
    .single-product .page-title-product_2 .wrap-button .flex-favorites {
        display: inline-block !important;
    }
}

@media screen and (max-width: 499px) {
    .single-product .page-title-product_2 .wrap-button .flex-favorites {
        display: inline-block !important;
        margin-top: 20px;
    }
}
@media (min-width: 500px) and (max-width: 520px) {
    .single-product .page-title-product_2 .wrap-button .flex-favorites {
        display: inline-block !important;
        margin-top: 20px !important;
        margin-left: 0 !important;
    }
}

.single-product .wrap-details .detail {
    width: 100% !important;
    float: none !important;
}

.author-custom {
    font-size: 20px;
    line-height: 24px;
}

.author-custom a {
    color: #17a2b8 !important;
}

.single-product .wrap-details .detail span.info-single-title {
    font-family: "averta-regular" !important;
}
.single-product .wrap-details .detail span {
    font-family: "averta-bold" !important;
}

span.classificacao {
    font-size: 12px !important;
    text-transform: lowercase;
    color: #888a92 !important;
}
.single-product .info-single-product {
    margin-bottom: 0 !important;
}
.single-product .info-single-product li {
    max-width: 100% !important;
    margin: 0 10px !important;
}

.info-single-product ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 16px;
    margin-bottom: 57px;
}

@media screen and (max-width: 1000px) {
    .info-single-product ul {
        flex-direction: column;
        justify-content: space-between;
        padding-top: 0;
        margin-bottom: 0;
    }
    .single-product .info-single-product {
        padding-top: 15px !important;
    }
    .single-product .info-single-product li {
        margin: 10px 0 !important;
    }
}
@media screen and (max-width: 1199px) {
    .single-product .info-single-product {
        padding-top: 15px !important;
    }
}

html a.wcfm_dashboard_item_title {
    color: rgba(15, 18, 11, 0.48) !important;
}

/**
*   Custom termos e condições
**/

ol {
    list-style: none;
    counter-reset: item;
}
ol > li {
    counter-increment: item;
}
ol > li:before {
    margin-right: 10px;
    display: inline-block;
    content: counters(item, ".") ". ";
    font-weight: bold;
}
ol > li > ol > li {
    margin-left: 20px;
}