/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/
Template: porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Child Theme
Version: 1.0.2
Text Domain: porto-child
*/


.bypostauthor { display: block; }


.porto-block .lang-sk-hidden,
.lang-sk-hidden { display: none !important; }
.porto-block .lang-cs-hidden,
.lang-cs-hidden { display: none !important; }

body.lang-cs .lang-sk-hidden { display: flex !important; }
body.lang-sk .lang-cs-hidden { display: flex !important; }

.top-notice .vc_icon_element{
    margin-bottom: 5px;
}
.top-notice .vc_icon_element.vc_icon_element-outer .vc_icon_element-inner{
    border: 0;
    height: auto;
    width: auto;
}
.top-notice .first{
    display: flex;
}
.top-notice .first .wpb_wrapper.vc_column-inner{
    justify-content: left;
    padding-left: 10px;
}
.top-notice .third{
    display: flex;
}
.top-notice .third .wpb_wrapper.vc_column-inner{
    justify-content: right;
    padding-left: 10px;
}

.porto-sicon-box-link{
    transition: all 300ms ease; 
}
.porto-sicon-box-link:hover{
    opacity: .7;
    transition: all 300ms ease;
}
.page-top ul.breadcrumb > li a:hover{
    opacity: .6 !important;
    transition: all 300ms ease;
}
#header .logo a:hover{
    opacity: .6 !important;
    transition: all 300ms ease;
}

.top-link{
    margin: 0 12px 0 0 !important;
    top: 10px;
    position: relative;
}
.top-link .widget{
    margin: 0 !important;
}
.top-link a{
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .025em;
    color: #777;
}

.top-right-icons{
    justify-content: right;
    display: grid;
}
#header .searchform{
    border-radius: 0 !important;
}
#header .searchform .button-wrap:hover{
    opacity: .7;
    transition: all 300ms ease;
}

.owl-carousel {
	margin-bottom: 30px !important;
}



.onsale {
	position: absolute;
	top: 0;
	z-index: 99;
	background: var(--porto-primary-color);
	color: #fff;
	padding: 2px 16px;
}

.products-list .onsale{
    padding: 2px 6px;
    font-size: 12px;
}

.porto-section .product-image{
	display: flex;
	align-items: center;
}

.products-list-home ul.list li.product .product-inner{
	display: block;
	border-bottom: 1px solid #eaeaea;
}
.products-list-home.products-list .list li.product .product-image{
	padding-right: 0;
	margin-bottom: 8px;
}
.products-list-home .product-image img{
	/*width: auto;*/
	max-height: 190px;
}
.products-list-home .product-image .inner{
	align-content: center;
  	/*min-height: 190px;*/
    min-height: 160px;
}


.publisher-list h3{
    display: block;
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-size: 1em;
    margin-top: 0;
}
.publisher-list div {
    width: 100%;
}
.publisher-list div ul{
    list-style: none;
    padding: 0;
    font-size: 0.9286em;
    border-bottom: 1px solid var(--porto-input-bc);
    margin-top: -8px;
    margin-bottom: 0;
}

.publisher-list ul li{
    position: relative;
    margin: 0;
    padding: 5px 0;
    border-top: 1px solid var(--porto-input-bc);
    transition: 0.3s;
}
.publisher-list ul li:first-child{
    border-top-width: 0;
}
.publisher-list ul li a{
    color: var(--porto-body-color);
    transition: all 300ms ease;
}
.publisher-list ul li a:hover{
   color: var(--porto-heading-color);
   transition: all 300ms ease;
}

.product-categories li a{
    transition: all 300ms ease;
    color: var(--porto-body-color);
}
.product-categories li a:hover{
    color: var(--porto-heading-color);
    transition: all 300ms ease;
}


.products-slider .owl-item .product-image .inner {
	min-height: 293px;
	align-content: center;
}




/* Badge marki z flagami
.product_brand-nakladatelstvi-draco .porto-tb-featured-image {
    position: relative;
}

.product_brand-nakladatelstvi-draco .porto-tb-featured-image::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 36px;
    height: 36px;
    background-image: url('img/flag-cs.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
}

.product_brand-vydavatelstvo-draco .porto-tb-featured-image {
    position: relative;
}

.product_brand-vydavatelstvo-draco .porto-tb-featured-image::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 36px;
    height: 36px;
    background-image: url('img/flag-sk.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
}

.product_brand-wydawnictwo-draco .porto-tb-featured-image {
    position: relative;
}

.product_brand-wydawnictwo-draco .porto-tb-featured-image::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 36px;
    height: 36px;
    background-image: url('img/flag-global.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
}

.product_brand-profidesk .porto-tb-featured-image {
    position: relative;
}

.product_brand-profidesk .porto-tb-featured-image::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100px;
    height: 25px;
    background-image: url('img/flag-profidesk.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
}

*/


.single-product .page-wrapper .product_title {
	margin-bottom: 20px;
}
.quickview-wrap .quickview-inner .product_title {
	font-size: 24px;
	margin-bottom: 20px;
}




.ls-100, .porto-u-main-heading h3 { letter-spacing: .1em; } .ls-25 { letter-spacing: .025em; } .ls-160 { letter-spacing: .16em; } .ls-220 { letter-spacing: .22em; }
body.woocommerce .left-sidebar, body.woocommerce .right-sidebar, body.woocommerce .main-content { padding-top: 0; }

/* pages*/
.btn-modern { font-weight: 700; letter-spacing: .01em; }
.btn-modern.btn-lg { font-size: .9375rem; padding: 1.05em 2.8em; }
.col-auto { flex: 0 0 auto; width: auto }
.flex-1 { flex: 1; }
.big-number { top: .0125em; letter-spacing: -.025em }
.big-number small { font-size: .1413em !important; font-weight: inherit; letter-spacing: 0; line-height: 1; position: absolute; top: 50%; right: 1.62em; text-align: center; transform: translateY(-54%) }
.big-number ins { display: block; text-decoration: none; font-size: 50%; text-transform: uppercase; }
.home-mid-banner { font-size: 1rem; }
.home-mid-banner .flex-1:first-child .vc_column-inner { width: auto; align-items: flex-end; }
@media (max-width: 991px) {
  .home-mid-banner { font-size: 1.5vw; }
  .home-mid-banner .btn-modern.btn-lg { font-size: .75rem; }
}
@media (max-width: 480px) {
  .home-banner .porto-ibanner-layer { font-size: 7px; }
  .home-mid-banner .btn-modern.btn-lg { font-size: 8px; }
}

/* shop */
.products-list .product-inner { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; }
.products-list .list li.product .product-image { flex: 0 0 50%; max-width: 50%; margin: 0; padding-right: 15px; }
.products-list .list li.product .product-content { 
    flex: 0 0 50%; max-width: 80%; 
}
.products-list .add-links-wrap, .products-list li.product .description, .products-list .product-image .labels, .products-list li.product .yith-wcwl-add-to-wishlist { display: none !important; }
.products-list .list li.product h3 { font-size: .9375rem; font-weight: 400; }

.products-list ul.products h3.woocommerce-loop-product__title {
	white-space: normal;
	overflow: hidden;
	text-overflow: ellipsis;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    height: 40px;
}


.products-list .brand-badge-overlay{
    top: -10px !important;
    left: -10px !important;
    width: 60px !important; 
    height: 25px !important;
}

.products .woocommerce-loop-product__title {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal !important;
    height: 40px;

}


.woocommerce-page.archive .sidebar-content aside.widget{
    border-bottom: 0 !important;
}
.widget > ul{
    border-bottom: 0 !important;
}
.widget_product_categories ul li{
    border-width: 1px !important;
    border-top: 0 !important;
    border-bottom: 1px solid var(--porto-input-bc);
}
.widget_product_categories ul li ul li:last-child{
    border-bottom: 0 !important;
}

#customer_login a:hover{
    opacity:.7;
    transition: all 300ms ease;
}

/* Prevent textarea resizing */
#order_comments {
    resize: none !important;
    min-height: 80px !important;
    max-height: 150px !important;
    height: 80px !important;
}

/* Or for more specific control */
.woocommerce-checkout textarea#order_comments {
    resize: none !important;
    width: 100% !important;
    height: 80px !important;
}

.product_list_widget .star-rating {
	display: none;
}


.product-image, 
.woocommerce-product-gallery__wrapper,
.porto-tb-featured-image {
    position: relative;
}

/* Tooltip dla badge'a Profidesk */
.brand-badge-overlay.has-tooltip {
    cursor: help;
}

.brand-badge-overlay.has-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
    font-weight: normal;
    line-height: 1.4;
}

.brand-badge-overlay.has-tooltip::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.brand-badge-overlay.has-tooltip:hover::after,
.brand-badge-overlay.has-tooltip:hover::before {
    opacity: 1;
}







/* Sidebar category toggle styling - all pages */
.porto-woo-category-sidebar a {
    font-weight: 500;
}

.porto-woo-category-sidebar .cat-parent > .toggle {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 23px;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    float: right;
}

.porto-woo-category-sidebar .cat-parent > .toggle:before {
    content: "\f078" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 10px;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
    color: #000;
}

.porto-woo-category-sidebar .cat-parent > .toggle:hover:before {
    opacity: .7;
}

.porto-woo-category-sidebar .cat-parent.open > .toggle:before {
    transform: translateY(-50%) rotate(180deg);
}
.porto-woo-category-sidebar .cat-parent.current > .toggle {
    transform: rotate(-90deg);
    right: -8px;
    top: 6px;
}

/* Children hidden initially */
.porto-woo-category-sidebar .cat-parent > .children {
    display: none;
    margin-top: 0;
}

.porto-woo-category-sidebar .cat-parent.open > .children {
    display: block;
    padding-left: 1.43em;
    margin-left: 0;
}

.porto-woo-category-sidebar .cat-parent.open > a {
    color: #000;
}

.porto-woo-category-sidebar .cat-parent.open > .children li a {
    font-weight: 400;
    color: var(--porto-body-color);
}

.porto-woo-category-sidebar .cat-parent.open > .children li a:hover {
    color: var(--porto-heading-color);
}

.widget li.current-cat > a {
    font-weight: 500 !important;
}






.single-product .product-summary-wrap .quantity .plus, 
.single-product .product-summary-wrap .quantity .minus,
div.quantity .minus, 
div.quantity .plus{
    transition: all 300ms ease; 
}
.single-product .product-summary-wrap .quantity .plus:hover, 
.single-product .product-summary-wrap .quantity .minus:hover,
div.quantity .minus:hover, 
div.quantity .plus:hover{
    background: var(--porto-gray-2);
    transition: all 300ms ease;
}

.payment_methods .porto-control-label img{
    display: none;
}

.select2-container--default .select2-selection--single{
    border-radius: 0;
}
.woocommerce-checkout input:hover,
.woocommerce-checkout textarea#order_comments:hover,
.woocommerce-checkout .select2-container .select2-selection--single:hover,
.porto-checkbox .porto-control-label:hover::before,
.porto-radio .porto-control-label:hover::before,

.shop_table.cart-table a.remove.remove-product:hover, 
.shop_table.review-order a.remove.remove-product:hover, 
.woocommerce #content table.shop_table.wishlist_table.cart a.remove:hover{
    border-color: var(--porto-primary-color);
    transition: all 300ms ease;
}
.porto-radio .porto-control-label:hover,
.porto-radio .porto-control-label:hover::before{
    cursor: pointer;
}

#header .my-account:hover, 
#header .my-wishlist:hover, 
#header .yith-woocompare-open:hover,
#mini-cart .minicart-icon:hover{
    opacity:.6;
    transition: all 300ms ease;
}


.wpcf7 form .wpcf7-response-output{
	min-height:28px;opacity:1;
	display:block !important;margin:34px 0 0;padding:3px 1.25rem;border:1px solid transparent !important;font-size:14px;
    line-height:20px;text-align:center;border-radius:8px;width:100%;}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output{opacity:1;color:#856404;background-color:#fff3cd;border-color:#ffeeba;}
.contact__form .wpcf7 form.invalid .wpcf7-response-output{margin-bottom:10px;}
.wpcf7 form.sent .wpcf7-response-output{opacity:1;color:#155724;background-color:#d4edda;border-color:#c3e6cb;}
.wpcf7 form.failed .wpcf7-response-output,.wpcf7 form.aborted .wpcf7-response-output{opacity:1;color:#721c24;background-color:#f8d7da;border-color:#f5c6cb;}
.wpcf7 form.spam .wpcf7-response-output{opacity:1;color:#856404;background-color:#fff3cd;border-color:#ffeeba;}


/*uwaga w pliku ta klasa nie dziala na produkcji, dodalem rowniez do custom css w panelu porto*/
.product-summary-wrap .single_add_to_cart_button{
    transition: all 300ms ease;
}
.product-summary-wrap .single_add_to_cart_button:hover{
    opacity: .8;
    transition: all 300ms ease;
}

.woocommerce-NoticeGroup .woocommerce-error{
    color: #002e45 !important;
}


.wdr-onsale{
    display: none !important; 
}

.yith-wcwl-add-to-wishlist .yith-wcwl-add-button a.view-wishlist::before, 
.yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddedbrowse a::before, 
.yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsbrowse a::before {
	content: "\e88a";
	color: var(--porto-sale-color,#e27c7c);
}

.add_to_wishlist,
.yith-wcwl-add-to-wishlist,
#header .my-wishlist{
    display: none !important;
}

/*dogtronic*/
.mega-menu .popup {
	width: 100px;
}
.porto-radio .porto-control-label::before{
    top: 12px;
}
.porto-radio .porto-control-label::after{
    top: 12px;
}

@media (max-width:400px){
    .products-slider .owl-item .product-image .inner {
        min-height: 240px;
    }
}
@media (max-width:575px){

    .onsale {
        font-size: 10px;
    }
	.header-wrapper	.porto-sicon-title{
		display: none;
	}
	.header-phone-number .porto-sicon-header p{
		font-size: 12px !important;
	}
    .porto-sicon-box-link {
        margin-right: 0 !important;
    }
	.porto-section .product-image{
		justify-content: center;
	}
    .products-slider .owl-item .product-image .inner {
        min-height: 240px;
    }
    .products-list ul.products h3.woocommerce-loop-product__title {
        white-space: nowrap;
    }
}
@media (min-width: 401px) and (max-width:575px){
    .products-slider .owl-item .product-image .inner {
        min-height: 340px;
    }
}
@media (min-width: 575px) {

}
@media (min-width: 576px) and (max-width:768px){
	.porto-section .product-image{
		height: 300px;
	}
    .products-slider .owl-item .product-image .inner {
        height: 300px;
    }
    .home .products-list-home li.product{
        width: 50% !important;
    }
    .home .woocommerce-loop-product__title{
        min-height: 43px;
    }
}
@media (max-width: 768px){
    html{
        overflow: auto !important;
    }
 
    .loading-overlay{
        display: none !important;
    }
    #popup-builder,
    .mfp-bg,
    .mfp-wrap {
       display: none !important;
       z-index: -99 !important;
    }
    .mfp-ready body,
    body.mfp-ready {
        overflow: auto !important;
    }
 
    #popup-builder{
        width: calc(100% - 60px) !important;
        top: 30% !important;
    }

    #header .my-account, #header .my-wishlist, #header .yith-woocompare-open {
        display: inline-block !important;
    }

    .top-notice .first,
    .top-notice .second,
    .top-notice .third{
        margin: 5px 0;
    }
    .top-notice .first .wpb_wrapper.vc_column-inner ,
    .top-notice .third .wpb_wrapper.vc_column-inner {
        justify-content: center;
        padding: 0;
    }

    .top-left-phones, .top-right-icons{
        width: 50% !important;
    }
    .top-link {
        top: 8px;
    }

    .porto-ibanner {
        min-height: auto !important;
    }
    .porto-ibanner > img{
        object-fit: contain !important;
    }
    .products-list ul.products h3.woocommerce-loop-product__title {
        height: auto;
    }
    .footer .wpb_single_image.vc_align_right {
        text-align: center;
        margin-top: 20px;
    }

    .products-list .onsale {
        padding: 2px 3px;
        font-size: 10px;
        line-height: 12px;
    }


}
@media (min-width: 769px){

}
@media (min-width: 769px) and (max-width:990px){
	.porto-section .product-image{
		height: 300px;
	}
    .products-list .list li.product .product-image{
        max-width: none;
    }
    .products-list-home .product-image img {
        width: auto;
        max-height: none;
        /* min-height: 190px; */
        height: 190px;
    }
    .products-list ul.products h3.woocommerce-loop-product__title {
        height: 72px;
    }
	.products-list-home h3{
		font-size: 13px !important;
	}
    .products-slider .owl-item .product-image .inner {
        min-height: 315px;
    }

    .products-list-home .product-image .inner {
        min-height: 120px;
    }


}
@media (max-width: 991px){

}
@media (min-width: 992px){

}
@media (min-width: 991px) and (max-width:1200px){
	.porto-section .product-image{
		height: 300px;
	}
    .products-slider .owl-item .product-image .inner {
        min-height: 315px;
    }
}
@media (min-width: 1201px) and (max-width:1260px){
	.porto-section .product-image{
		height: 390px;
	}
}
@media (min-width: 1201px) and (max-width:1440px){
	.porto-section .product-image{
		height: 390px;
	}
    .products-slider .owl-item .product-image .inner {
        min-height: 315px;
    }

}
@media (min-width: 1441px){
	.porto-section .product-image{
		height: 390px;
	}
	
}
