/*
 Theme Name:   Booklovers Child Theme
 Theme URI:    http://booklovers.ancorathemes.com
 Description:  Booklovers Child Theme
 Author:       AncoraThemes
 Author URI:   http://ancorathemes.com
 Template:     booklovers
 Version:      1.53
 Tags:         flexible-header, custom-background, custom-colors, custom-he ader, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:  booklovers
*/


/* =Theme customization starts here
------------------------------------------------------------ */
body,
html {
    font-family: "Trebuchet MS", Tahoma, sans-serif !important;
}

.color_style_link2 h1 a:hover,
.color_style_link2 h2 a:hover,
.color_style_link2 h3 a:hover,
.color_style_link2 h4 a:hover,
.color_style_link2 h5 a:hover,
.color_style_link2 h6 a:hover,
.color_style_link2 li a:hover {
    color: #308a4a !important;
}

/* Change Font
------------------------------------------------------------ */

body,
html,
h1,
h2,
h3,
h4,
h5,
h6,
li,
.woocommerce-grouped-product-list-item__label,
.woocommerce-grouped-product-list-item__price,
.woocommerce #review_form #respond #reply-title,
.tinv-wishlist th,
.tinv-wishlist td,
.woocommerce-error,
.woocommerce-info,
.woocommerce-message,
.shop_table_checkout_review table,
form.woocommerce-checkout label,
.woocommerce .comment-form .comment-form-comment label,
.woocommerce .comment-form .comment-form-rating label,
.woocommerce .comment-form .comment-form-author label,
.woocommerce .comment-form .comment-form-email label,
.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce #content div.product .woocommerce-tabs ul.tabs li a,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li a,
.woocommerce-page #content div.product .woocommerce-tabs ul.tabs li a,
.woocommerce div.product form.cart .variations .label,
.woocommerce ul.products li.product .outofstock_label,
.woocommerce ul.cart_list li a,
.woocommerce-page ul.cart_list li a,
.woocommerce ul.product_list_widget li a,
.woocommerce-page ul.product_list_widget li a,
.woocommerce ul.products li.product .post_header,
.woocommerce-page ul.products li.product .post_header,
.single-product div.product .woocommerce-tabs .wc-tabs li a,
.woocommerce div.product .summary .stock,
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta strong,
.woocommerce-page #reviews #comments ol.commentlist li .comment-text p.meta strong,
.woocommerce table.cart td.product-name a,
.woocommerce-page table.cart td.product-name a,
.woocommerce #content table.cart td.product-name a,
.woocommerce-page #content table.cart td.product-name a,
.woocommerce .checkout table.shop_table .product-name,
.woocommerce .shop_table.order_details td.product-name,
.woocommerce .order_details li strong,
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content .woocommerce-Address-title a,
.wp-playlist.wp-audio-playlist .wp-playlist-tracks,
.wp-playlist.wp-audio-playlist .wp-playlist-item-title,
.sc_layouts_title .breadcrumbs,
blockquote>cite,
blockquote>p>cite,
blockquote>.wp-block-pullquote__citation,
.wp-block-quote .wp-block-quote__citation {
    font-family: "Trebuchet MS", Tahoma, sans-serif !important;
}


/* Form General
------------------------------------------------------------ */

input[type="text"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="password"],
input[type="search"],
select,
textarea,
textarea.wp-editor-area,
.woocommerce form .form-row .select2-container,
.select2-dropdown {
    border: 1px solid #afafaf !important;
}


/* Front Page / Normal Page
------------------------------------------------------------ */

.sc_layouts_title .breadcrumbs {
    text-transform: none !important;
}

.sc_blogger_item_title.entry-title {
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.halem-collection h6.sc_item_title.sc_blogger_title.sc_align_center.sc_item_title_style_default.sc_item_title_tag {
    min-height: 60px;
}

.halem-collection .sc_blogger_columns_wrap.sc_item_columns.sc_item_posts_container.trx_addons_columns_wrap.columns_padding_bottom.columns_in_single_row {
    min-height: 350px;
}


/* Blog
------------------------------------------------------------ */

.single-post .post_meta_categories {
    margin-top: 60px !important;
}

.single-post .post_header_wrap_style_style-4 {
    margin-bottom: 0;
}

.single-post .post_header_wrap .post_featured,
.blog .posts_container article .post_featured  {
    aspect-ratio: 2 / 1;
}

.single-post .post_header_wrap .post_featured img,
.blog .posts_container article .post_featured img {
    object-fit: cover;
    width: 100% !important;
    height: 100% !important;
}

.blog .post_layout_band .post_content_wrap {
    padding: 0 2.2em;
}


/* The Events Calendar
------------------------------------------------------------ */

.tribe-events-content a {
    border-bottom: 1px solid #308a4a;
}

.tribe-events-content a:hover {
    color: #308a4a;
}

.tribe-events .tribe-events-c-search__button,
.tribe-events button.tribe-events-c-search__button {
    background-color: #000;
}

.tribe-events .tribe-events-c-search__button:focus,
.tribe-events .tribe-events-c-search__button:hover,
.tribe-events button.tribe-events-c-search__button:focus,
.tribe-events button.tribe-events-c-search__button:hover {
    background-color: #308a4a;
}

.tribe-events-single-event-title {
    text-align: center !important;
}

.tribe-events-header__events-bar input.tribe-events-c-search__input {
    border-width: 0 !important;
}

.single-tribe_events .tribe-events-single-event-title {
    display: block !important;
    margin-bottom: 25px;
    font-weight: normal !important;
}

.single-tribe_events .tribe-events-sub-nav li a {
    text-transform: none !important;
}

.tribe-events-notices {
    background-color: #fde68a !important;
    color: #d97706 !important;
    border-radius: 10px !important;
    padding: 10px 20px;
}

.single-tribe_events .tribe-events-event-image {
    aspect-ratio: 2 / 1;
}

.single-tribe_events .tribe-events-event-image img {
    object-fit: cover;
    width: 100% !important;
    height: 100% !important;
}

body.sidebar_hide .tribe-events-view--shortcode.alignwide {
    position: relative !important;
    z-index: 1 !important;
    left: auto !important;
    width: auto !important;
}


/* Disable Hover Effect on Images
------------------------------------------------------------ */

.woocommerce ul.products li.product .post_featured:hover img,
.woocommerce-page ul.products li.product .post_featured:hover img,
.woocommerce ul.products li.product a:hover img,
.woocommerce-page ul.products li.product a:hover img {
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
}


/* Single Product
------------------------------------------------------------ */

.single-product.woocommerce .authors {
    margin-bottom: 10px;
}

.single-product.woocommerce div.product .product_title {
    margin-bottom: 5px;
}

.single-product.woocommerce div.product p.price {
    margin-bottom: 0px;
}

.single-product.woocommerce .legal-price-info {
    margin-bottom: 22px;
}

.elancer-product-elementor-part>.elementor>.elementor-section>.elementor-container>.elementor-col-100>.elementor-widget-wrap {
    padding-left: 0;
    padding-right: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    background-color: #f5f5f4 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    background-color: transparent !important;
}

.woocommerce div.product form.cart {
    border-bottom: none !important;
}

.woocommerce div.product div.images {
    margin-bottom: 0px !important;
}

.woocommerce-page .full_author_infos > div {
    margin-bottom: 20px;
}

.woocommerce-page .full_author_infos > div:last-child {
    margin-bottom: 0px;
}

.woocommerce-page .full_author_infos .content {
    display: flex;
    flex-direction: column;
}

.woocommerce-page .full_author_infos .content .image-container {
    margin-bottom: 20px;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img {
    margin-bottom: 30px;
}

@media only screen and (min-width: 425px) {
    .woocommerce-page .full_author_infos .content {
        align-items: center;
    }    
}

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

    .woocommerce-page .full_author_infos .content {
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: nowrap;
    }

    .woocommerce-page .full_author_infos .content .image-container {
        width: 180px;
        flex-shrink: 0;
        padding-right: 20px;
    }

}

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

    .woocommerce.sidebar_hide div.product div.summary,
    .woocommerce-page.sidebar_hide div.product div.summary {
        margin-bottom: 70px;
    }
}

.woocommerce.sidebar_hide div.product div.summary .product-terms {
    display: flex;
    font-size: 17px;
    margin-top: -22px;
    margin-bottom: 25px;
}

.woocommerce.sidebar_hide div.product div.summary .product-terms.product-terms-downloads {
    margin-top: -17px;
}

.woocommerce.sidebar_hide div.product div.summary .product-terms span.headline {
    width: 175px;
    padding-right: 1em;
    display: inline-block;
    flex-shrink: 0;
}

@media (max-width: 479px) {
    .woocommerce.sidebar_hide div.product div.summary .product-terms span.headline {
        width: 122px;
    }
}

.woocommerce-page div.product .woocommerce-tabs .product-terms {
    margin-bottom: 10px;
}

.woocommerce-page div.product .woocommerce-tabs .product-terms:last-child {
    margin-bottom: 0px;
}

.product > div.summary.entry-summary > form > div > div.woocommerce-variation.single_variation > div.woocommerce-variation-price{
	display:none;
}

.wc-stock-status{
    color: var(--theme-color-alter_dark);
}

p.stock.out-of-stock{
    display: none !important;
}

.custom-add-to-cart{
    margin-top: 20px;
}

.variations_form.cart  {
 margin-top:10px;
}

/* Single Product - Delivery Time
------------------------------------------------------------ */

.product p.wc-gzd-additional-info.delivery-time-info{
    margin-bottom: 50px;
    display: block;
	font-weight: bold;
	font-size: 17px;
	color: #121212
}

/* List Products
------------------------------------------------------------ */

.woocommerce ul.products li.product .post_data .post_data_inner .post_header div>p {
    margin-bottom: 0;
}

.woocommerce .type-product .post_data .post_data_inner .tax-info {
    margin-bottom: 5px;
    order: 4;
    font-size: 0.7em;
    line-height: 1em;
}

.woocommerce .type-product .post_data .post_data_inner .shipping-costs-info {
    margin-top: 0;
    order: 5;
    font-size: 0.7em;
    line-height: 1em;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px;
}

@media (min-width: 1280px) and (max-width: 1440px) {
    .woocommerce ul.products li.product span.outofstock_label {
       font-size: 0.5125em;
       left:10px;
    }
}

/* Shortcodes
------------------------------------------------------------ */

.author_infos_shortcode {
    display: flex;
    font-size: 0.9em;
    line-height: 1.3em;
    flex-wrap: wrap;
}

.author_infos_shortcode > div {
    background: #e7e7e7;
    width: 100%;
}

.author_infos_shortcode .content {
    padding: 20px;
    display: flex;
    flex-direction: row;
}

.author_infos_shortcode .content > .image-container {
    flex-shrink: 0;
    margin-right: 10px;
    width: 90px;
}

.author_infos_shortcode .content .author_link {
    text-align: right;
}

@media screen and (min-width: 768px) {
    .author_infos_shortcode > div {
        width: 50%;
    }
}


/* Contact Form
------------------------------------------------------------ */

#contact-form {
    background: white;
}

#contact-form .contact-form-inner div input {
    border-bottom: 1px solid;
    padding: 0.5rem 0;
    font-family: "Trebuchet MS", Tahoma, sans-serif;
}

#contact-form .contact-form-inner div textarea {
    border-bottom: 1px solid;
    resize: vertical;
    font-family: "Trebuchet MS", Tahoma, sans-serif;
    padding: 0.5rem 0;
}

#contact-form .contact-form-inner .submit-btn {
    background: green;
    border: none;
    margin: 0 auto;
    font-family: "Trebuchet MS", Tahoma, sans-serif;
    text-transform: none;
    letter-spacing: 0;
    font-size: 18px;
    margin-top: 1.5rem;
}

.wpcf7 form.sent .wpcf7-response-output.trx_addons_message_box.trx_addons_message_box_success,
.trx_addons_message_box_success {
    font-family: "Trebuchet MS", Tahoma, sans-serif !important;
}

.wpcf7 form.invalid .wpcf7-response-output.trx_addons_message_box.trx_addons_message_box_error,
.wpcf7 form.unaccepted .wpcf7-response-output.trx_addons_message_box.trx_addons_message_box_error,
.trx_addons_message_box_error {
    font-family: "Trebuchet MS", Tahoma, sans-serif !important;
}

.trx_addons_message_box.trx_addons_message_box_error,
.wpcf7 span.wpcf7-not-valid-tip,
div.wpcf7-response-output {
    font-family: "Trebuchet MS", Tahoma, sans-serif !important;
}

#contact-form .contact-form-inner .submit-btn {
    background: #000;
    border: 2px solid #000;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#contact-form .contact-form-inner .submit-btn:hover {
    background: #fff;
    color: #000;
}


/* Footer
------------------------------------------------------------ */

.footer_wrap .sc_layouts_row {
    background: #f5f5f4;
}

#page_preloader,
.page_content_wrap,
.custom-background .content_wrap>.content,
.background_banner_wrap~.content_wrap>.content {
    background-color: white !important;
}

.elementor-column-gap-extended>.elementor-column>.elementor-element-populated {
    padding-top: 0 !important;
}

.footer_default.footer_wrap .sc_layouts_row .sc_layouts_item,
.footer_default.footer_wrap .sc_layouts_row .widget {
    margin-top: 0 !important;
}

.footer_wrap .widget ul li a {
    font-size: 15px;
    line-height: 1.2em;
    display: block;
}

.elementor-widget-container .wp-widget-nav_menu .widget_title {
    font-size: 18px !important;
}

.footer_wrap .widget ul li+li {
    margin-top: 8px;
}

.footer_wrap .widget .widget_title {
    margin-top: 1.3em;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

@media (max-width: 1250px) {
    .halem-footer * {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    .elementor-widget-wrap {
        margin: 3rem 0 !important;
    }
}

.elementor-column .elementor-spacer-inner {
    height: var(--spacer-size);
}

/* WooCommerce
------------------------------------------------------------ */

.woocommerce form .form-row label.checkbox, .woocommerce-page form .form-row label.checkbox {
    padding-left: 0 !important;
    font-weight: normal !important;
    font-size: 17px !important;
}

.woocommerce-order-received table th {
    color: #121212;
}

.woocommerce-checkout .shop_table {
    background: transparent !important;
}

.woocommerce-checkout #order_review_heading_payment {
    display: none;
}

.woocommerce-checkout #payment ul.payment_methods {
    padding: 0 !important;
    border-bottom: none !important;
}

#payment ul.methods li:last-child {
    border-bottom: none !important;
}

.shop_table_checkout_review {
    padding: 0 !important;
}

.woocommerce .checkout input[type="checkbox"] {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    margin: 0 !important;
}

#payment ul.methods label:before {
    display: none !important;
}

body input[type="radio"] {
    clip: auto !important;
    position: relative !important;
}

body input[type="radio"]:hover {
    cursor: pointer;
}

.woocommerce .checkout #order_review .payment_methods li label,
.woocommerce-page .checkout #order_review .payment_methods li label {
    padding-left: 10px !important;
}

.woocommerce .checkout #order_review .payment_methods li input,
.woocommerce-page .checkout #order_review .payment_methods li input {
    top: 2px !important;
}

.woocommerce-checkout form .form-row label.inline {
    margin-left: 0 !important;
}

.woocommerce-checkout form .form-row label.inline input[type="checkbox"] {
    top: -2px !important;
    margin-right: 10px !important;
}

body .halem-verlag-checkbox {
    display: flex !important;
    align-items: flex-start !important;
}

body .halem-verlag-checkbox > .text-container {
    padding-left: 10px !important;
    line-height: 1.5rem;
}

.woocommerce .checkout .halem-verlag-checkbox > input[type="checkbox"] {
    top: 7px !important;
    position: relative !important;
    display: block !important;
}

#order_review .wc-gzd-checkbox-placeholder p.form-row {
    padding-bottom: 0 !important;
    margin-bottom: 15px !important;
}

.shop_table_order_details {
    padding: 0 !important;
}

.woocommerce table.shop_table th.download-product,
.woocommerce table.shop_table td.download-product {
    padding-left:  0 !important;
}

.woocommerce .order_details.woocommerce-thankyou-order-details {
    padding: 0 !important;
}

.woocommerce-order-downloads__title {
    font-size: 35px !important;
}

.woocommerce-notice--success {
    margin-bottom: 60px;
}

.woocommerce-checkout .shop_table {
    background: #fff;
}

.woocommerce .woocommerce-cart-form table.shop_table .cart-coupon-inner {
    padding-left: 0 !important;
    height: 48px !important;
}

.woocommerce .woocommerce-cart-form table.shop_table .cart-coupon-inner:before {
    margin-right: 10px;
}

.woocommerce .woocommerce-cart-form table.shop_table .cart-coupon-inner button.apply_coupon:before {
    display: none;
}

.woocommerce .woocommerce-cart-form table.shop_table .cart-coupon-inner button.apply_coupon {
    border-width: 1px !important;
    font-size: 15px;
    border-color: #afafaf;
    color: #8c8d93;
    text-transform: inherit;
    width: 156px;
}

.woocommerce .woocommerce-cart-form table.shop_table .cart-coupon-inner button.apply_coupon:hover {
    color: var(--theme-color-text_link);
}
.woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout .ppc-button-wrapper {
    margin-top: 15px;
}

@media only screen and (min-width: 768px) {
    .woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout .ppc-button-wrapper {
        margin-top: 35px;
    }
}

form.woocommerce-form-coupon .cart-coupon-inner:before {
    margin-right: 10px;
}

form.woocommerce-form-coupon .cart-coupon-inner button {
    border: 1px solid gray !important;
    border-radius: 0;
    height: 48px;
    font-size: 0.9em;
    width: auto;
    padding: 6px;
    text-transform: none;
}

@media only screen and (min-width: 768px) {
    form.woocommerce-form-coupon .cart-coupon-inner button {
        margin-top: 3px;
        height: 47px;
    }
}


/* Search Page
------------------------------------------------------------ */

body.search-no-results.woocommerce-page .content, 
article.post_item_none_search .post_content {
    padding: 0 0 6em;
}

/* Author Page
------------------------------------------------------------ */

@media (min-width: 1025px) {
    body .elementor-widget-wc-archive-products .woocommerce.columns-5 ul.products {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}