/* ***************  *\
     GLOBALS
\* ***************  */
#custom-content a:hover{
    /* color: #000; */
}

/* MENU */
body:not(.home) .smz-header-primary .menu>ul .menu-item-has-children .sub-menu li.current-menu-item,
#custom-content .smz-header-primary .menu>ul .menu-item-has-children .sub-menu>li>a:hover {
    border: 1px solid transparent;
    color: #000;
}

#custom-content:not(.home) .smz-header-primary .menu>ul .menu-item-has-children .sub-menu li.current-menu-item a,
body:not(.home) .smz-header-primary .menu>ul .menu-item-has-children .sub-menu li.current-menu-item a {
    border: none;
    color: #000;
}

/* NEWS */
#custom-content .news-suggestions .post-list-entry h3:hover {
    transition: all 0.25s ease-in-out 0.05s;
    color: black;
}

/* HOVERS */
#custom-content .lang-item a:hover {
    border: 1px solid #d8d8d8;
}

/* SUGESTIONS IMG */
#custom-content .news-suggestions .blog-post.post-list-entry .thumbnail-wrapper,
#custom-content .news-suggestions .image {
    overflow: hidden;
    transition: all 0.75s ease;
    height: auto;
    min-height: auto;
}

#custom-content .news-suggestions .blog-post.post-list-entry .thumbnail-wrapper:hover,
#custom-content .news-suggestions .image:hover {
    transform: scale(1.05);
}

#custom-content .footer-bar .copy a:hover {
    color: #108d53;
}

#custom-content .post-content img {
    max-width: 100%;
}

/* GALLERY ITEM */
@media(max-width: 540px) {
    #custom-content .gallery {
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .gallery-item {
        width: auto !important;
    }
}

#custom-content .gallery-item {
    transition: 0.5s all ease;
}

#custom-content .gallery-item:hover {
    transform: scale(1.1);
}

/* ***************  *\
    HEADER + LOGO
\* ***************  */

#custom-content .logo-mobile {
    display: none;
}
/*  koszyk */
.custom-cart-icon{
    background: url(img/koszyk_20x20.png);
        background-size: cover;
    background-repeat: no-repeat;
    height: 20px;
    width: 20px;
    display: inline-block;
    margin-right: 9px;
    vertical-align: sub;
}
.logo-mobile + div{
    display: flex;
    justify-content: center;
}
.woocommerce-menu {
    padding-top: 22px;
    padding-left: 10px;

}
.woocommerce-menu a{
    color: #737373;
}
@media(max-width: 1200px) {
    body.scrolled .smz-header-primary nav.menu > ul > li:not(:first-child), body:not(.home) .smz-header-primary nav.menu > ul > li:not(:first-child){
        margin-left: 5px;
    }
    .tab-nav.tab-nav-4 ul li{
        padding: 6px 10px;
    }
}
@media(max-width: 991px) {

    /* MENU */
    #custom-content .smz-header-primary #menu-toggle {
        text-transform: uppercase;
        background: white;
        border: 1px solid black;
        max-height: 30px;
        margin-top: 20px;
    }

    #custom-content .smz-header-primary #menu-toggle:hover {
        cursor: pointer;
    }

    #custom-content .smz-header-primary .menu a {
        padding: 0 7px;
        border: 1px solid transparent;
    }

    #custom-content .smz-header-primary .menu a:hover,
    #custom-content .smz-header-primary .menu .current-menu-item a {
        color: inherit;
        border: 1px solid #fff;
    }

    #custom-content .smz-header-primary .menu>ul .menu-item-has-children .sub-menu>li>a {
        border: 1px solid transparent;
        padding: 0 7px !important
    }

    #custom-content .smz-header-primary .container {
        justify-content: space-between;
    }

    #custom-content .smz-header-primary .menu {
        top: 80px;
        background: rgba(93, 91, 88, 1);
    }

    #custom-content .logo-mobile {
        display: block;
    }

    #custom-content .logo-mobile img {
        max-height: 60px;
    }
    .woocommerce-menu {
        padding: 0px;
    }
    .woocommerce-menu a{
        color: white;
    }
    .custom-cart-icon{
-webkit-filter: brightness(1000%);
filter: brightness(1000%);

    }
}

/* ***************  *\
      HOMEPAGE 
\* ***************  */

 

#custom-content .news-suggestions .all-news a:hover {
    background: #c5b181;
    color: #fff;
}

.home-counters .map span {
    transition: 0.5s all ease;
}

.home-counters .map:hover span {
    font-size: 98px;
}

@media(max-width: 767px) {

    /* margins */
    #custom-content .home-news {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    /* news margins */
    #custom-content .home-links {
        margin-top: 30px;
    }

    /* space between news */
    #custom-content .news-suggestions .post-list-entry {
        margin-bottom: 30px;
    }

    /* heading img */
    #custom-content .news-suggestions .blog-post.post-list-entry .thumbnail-wrapper img,
    #custom-content .news-suggestions .image img {
        overflow: hidden;
    }

    /* home-links section paddings */
    #custom-content .home-partners,
    #custom-content .home-counters {
        padding-top: 40px;
        padding-bottom: 30px;
    }

    #custom-content .home-partners .title {
        margin-bottom: 30px;
    }
}

@media(max-width: 480px) {
    #custom-content .news-suggestions .all-news {
        font-size: 20px;
    }
}

/* ***************  *\
     NEWS LOOP 
      SIDEBAR 
    KONFERENCJE
\* ***************  */
#custom-content.term-konferencje .products.columns-3 li.product h2{
    margin-top: 0;
    transition: 0.5s all ease;
}
#custom-content.term-konferencje .products.columns-3 li.product img{
    transition: 0.5s all ease;
}
#custom-content.term-konferencje .products.columns-3 li.product:hover h2{
    color: #000;
}
#custom-content.term-konferencje .products.columns-3 li.product:hover img{
    /* transform: translate(-50%, -50%) scale(1.04); */
    transform: scale(1.04);
}
#custom-content.term-konferencje .products.columns-3 li.product,
#custom-content.term-konferencje .products.columns-3 li.product:hover{
    border: none;
}
.single-item-product .product_type_variable.add_to_cart_button{
    /* display: none; */
}
@media(max-width: 991px) {

    /* NEWS LOOP */
    #custom-content .loop.posts .thumbnail-wrapper img {
        max-width: 100%;
        display: block;
        margin: 0 auto;
        width: auto;
    }

    #custom-content article.post .post-list-entry h3 {
        margin-top: 10px;
    }

    /* SIDEBAR */
    #custom-content .sidebar img {
        max-width: 100%;
    }
}

@media(max-width: 767px) {

    /* NEWS LOOP */
    #custom-content.category-17 article {
        margin-bottom: 30px;
    }

    /* SIDEBAR */
    #custom-content .sidebar {
        padding-top: 30px;
    }


}

/* ***************  *\
    SINGLE NEWS
\* ***************  */

#custom-content a.page-numbers:hover span {
    font-weight: initial;
}

#custom-content a.page-numbers:hover,
#custom-content .page-numbers.current {
    font-weight: 700;
    text-decoration: none;
}

.page-numbers:nth-last-child(2) span {
    display: none;
}

@media(max-width: 991px) {
    #custom-content.single .loop.single .news-suggestions {
        margin-bottom: 30px;
    }

    #custom-content .news-suggestions .image {
        height: auto;
    }

    #custom-content .news-suggestions .blog-post.post-list-entry .thumbnail-wrapper,
    #custom-content .news-suggestions .image {
        min-height: auto;
    }
}

@media(max-width: 767px) {
    #custom-content.single .loop.single .news-suggestions {
        margin-top: 30px;
        margin-bottom: 0px;
    }

    #custom-content:not(.home) {
        padding-top: 91px;
    }

    #custom-content .single article h2 {
        margin-bottom: 0px;
    }

    #custom-content .single article h3,
    #custom-content .single article h3>a {
        margin-top: 0px;
    }
}

@media(max-width: 768px) {
    #custom-content .projekty .project .title {
        margin-bottom: 20px;
    }
    h2.membership-heading,
    h2.membership-heading a,
    #custom-content .tab-nav h3,
    #custom-content .home-counters .header,
    #custom-content .home-counters .map-wrapper .header,
    #custom-content .news-suggestions .heading,
    #custom-content .home-partners .title,
    #custom-content .single article h2,
    #custom-content .single article h2 a {
        font-size: 30px;
    }
    h3.membership-title,
    #custom-content .single article .post-content h2,
    #custom-content .single article .post-content h2 a,
    #custom-content .wyroznieni .conference-name,
    #custom-content .single article h3,
    #custom-content .single article h3>a {
        font-size: 25px;
    }

    #custom-content .projekty .kategoria {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

@media(max-width: 480px) {

    #custom-content .tab-nav h3,
    #custom-content .home-counters .header,
    #custom-content .home-counters .map-wrapper .header,
    #custom-content .news-suggestions .heading,
    #custom-content .home-partners .title,
    #custom-content .single article h2,
    #custom-content .single article h2 a {
        font-size: 27px;
    }

    #custom-content .single article .post-content h2,
    #custom-content .single article .post-content h2 a,
    #custom-content .wyroznieni .conference-name,
    #custom-content .single article h3,
    #custom-content .single article h3>a {
        font-size: 22px;
    }

    #custom-content .projekty .kategoria {
        margin-bottom: 10px;
    }

    #custom-content .projekty .project .title,
    #custom-content .projekty .project .title>a {
        font-size: 16px;
        
    }
}

/* ***************  *\
        ABOUT
\* ***************  */


/* ***************  *\
      MANAGMENT
\* ***************  */

#custom-content .news-suggestions.news-zarzad .thumbnail-wrapper>a {
    overflow: hidden;
}

/* ***************  *\
      PLUGINS
\* ***************  */

/* COOKIES POLICY */

.cn-more-info.cn-button,
.cn-set-cookie.cn-button {
    color: #c5b181;
}

.cn-more-info.cn-button:hover,
.cn-set-cookie.cn-button:hover {
    color: #836f40;
}

/* ***************  *\
       CONTACT
\* ***************  */
#map {
    height: 100%;
    min-height: 350px;
}

#custom-content .kontakt .address-wrapper {
    min-width: 300px;
}

/* CONTACT FORM */

#custom-content .kontakt form input[type="submit"] {
    cursor: pointer;
    transition: 0.25s all ease;
}

#custom-content .kontakt form input[type="submit"]:hover {
    background: #836f40;
}


/* ***************  *\
       PROJECTS
\* ***************  */
@media (max-width: 480px) {

    #custom-content .projekty .row .align-items-center {
        margin: 0 auto;
        width: 50%;
    }

    #custom-content .projekty .kategoria,
    #custom-content .projekty .project .title {
        margin-bottom: 15px;
    }
}

#custom-content .projekty .project img {
    max-width: 100%;
    height: auto;
    transition: 0.5s all ease;
}
#custom-content .projekty .project a:hover img {
    transform: translate(-50%, -50%) scale(1.05);
}


/* ***************  *\
     TABS
\* ***************  */
#custom-content .tab-nav ul .current-baza_wiedzy-ancestor a {
    color: #fff;
}

#custom-content .tab-nav ul .current-baza_wiedzy-ancestor {
    font-size: 19px;
    padding: 4px 30px;
    background: #c5b181;
    margin: -17px -1px 0px -1px;
    border-left: none;
    border-right: none;
}

@media (max-width: 767.98px) {

    #custom-content .current-baza_wiedzy-ancestor,
    #custom-content .tab-nav ul li.current-menu-item,
    #custom-content .tab-nav ul li.current-category-ancestor,
    #custom-content .tab-nav ul li.current-post-ancestor {
        font-size: 12px;
    }
}

/* ***************  *\
     WOOCOMMERCE
\* ***************  */
/* related products */

#custom-content .up-sells.upsells.products ul.products > li:hover, #custom-content .related.products ul.products > li,
#custom-content .up-sells.upsells.products ul.products > li:hover, #custom-content .related.products ul.products > li:hover{
    border:none;

}
#custom-content .up-sells.upsells.products ul.products > li:hover, #custom-content .related.products ul.products > li h2{
    transition: 0.5s all ease;
}
#custom-content .up-sells.upsells.products ul.products > li:hover, #custom-content .related.products ul.products > li:hover h2{
    color: #000;
}
#custom-content .up-sells.upsells.products ul.products > li:hover, #custom-content .related.products ul.products > li:hover img{
    transform: scale(1.1);
}
#custom-content.woocommerce .woocommerce-loop-product__title{
    color: #c5b181;
}
#custom-content .up-sells.upsells.products ul.products > li, #custom-content .related.products ul.products > li a{
    overflow: hidden;
}
#custom-content .up-sells.upsells.products ul.products > li, #custom-content .related.products ul.products > li img{
    height: 28vh;
    width: auto;
    transition: 0.5s all ease;
}
#custom-content .up-sells.upsells.products ul.products > li, #custom-content .related.products ul.products > li{
    max-width: 50%;
    width: 50%;
    min-width: 1px;
}
@media(max-width: 480px){
    #custom-content .up-sells.upsells.products ul.products, #custom-content .related.products ul.products{
        justify-content: center;
    }
    #custom-content .up-sells.upsells.products ul.products > li, #custom-content .related.products ul.products > li{
        max-width: 100%;        
    }
}
#custom-content .up-sells.upsells.products ul.products li.product .button, #custom-content .related.products ul.products li.product .button{
    display: none;
}
.related.products{
    margin-top:40px;
    padding-top:40px;
    border-top: 1px solid #d8d8d8;
}
#custom-content.woocommerce ul.products li.product .price{
    display: none;
}
.related.products h2:first-child{
 display: none;
}
#custom-content.woocommerce main ul.products li.product img.wp-post-image{
    display: block;
    margin: 0 auto;
    /* position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */

}
#custom-content .single-item-product {
    width: 33% !important;
}
/* #custom-content.woocommerce ul.products li.product a{
    text-decoration: none;
    display: block;
    position: relative;
    padding-bottom: 100%;
    width: 100%;
}
#custom-content.term-konferencje .products.columns-3 li.product h2{
    margin-top: 0;
    transition: 0.5s all ease;
    bottom: -35px;
    position: absolute; 
} */
@media(max-width: 768px) {
    #custom-content .single-item-product {
        width: 50% !important;
    }
}

/* cart */
#custom-content .woocommerce .woocommerce-message::before {
    top: inherit;
}

div.woocommerce-message,
#custom-content .woocommerce-message {
    line-height: 2.3;
}

@media (max-width: 991.98px) {

    #custom-content .woocommerce .woocommerce-message .button {
        display: table;
    }
}

/* konferencje */
.newsletter-wrapper a,
.conference-wrapper a {
    display: block;
}
.newsletter-wrapper,
.report-wrapper,
.gallery-wrapper,
.conference-wrapper {
    margin-top: 2em;
    justify-content: center;
    display:flex;
}
.posters-wrapper {
    margin-bottom:30px;
}
.posters-wrapper h3,
.newsletter-wrapper h3,
.report-wrapper h3,
.gallery-wrapper h3,
.conference-wrapper h3,
h3.conference-section-title{
    font-family: Oswald, sans-serif;
    text-transform: uppercase;
    text-transform: none;
    color: black;
    font-size: 32px;
    font-weight: 400;
    margin-top: 25px;
    margin-bottom: 20px;
}
.newsletter-wrapper img,
.report-wrapper img,
.gallery-wrapper img,
.conference-wrapper img{
    transition: 0.5s all ease;
}
.posters-wrapper p a:hover,
.newsletter-wrapper p a:hover,
.report-wrapper p a:hover,
.gallery-wrapper p a:hover,
.conference-wrapper p a:hover{
    color: #000;
} 
.newsletter-wrapper a,
.report-wrapper a,
.gallery-wrapper a,
.conference-wrapper a{
    overflow: hidden;
} 
.newsletter-wrapper a:hover img,
.report-wrapper a:hover img,
.gallery-wrapper a:hover img,
.conference-wrapper a:hover img{ 
    transform: scale(1.05);
}
.newsletter-wrapper p{
    color: #c5b181;
}
.product-img{
    overflow: hidden;
}
 
#custom-content .loop.single .thumbnail-product img{
    max-width: 100%;
    display: block;
    margin: 0 auto;
    
}
#tab-description h2:first-child {
    display: none;
}

#tab-title-description {
    display: none;
}

.single-poster {
    display: inline;
}

.single-poster::after {
    content: ",  ";
    color: #c5b181;
    display: inline-block;
    margin-right: 5px;
}

.single-poster:last-child::after {
    content: '';
}

/* carousel */
#custom-content .helper img {
    max-width: 100% !important;
    max-height: 100%;
}

/* persons */
@media(max-width:570px) {
    #custom-content .excerpt .person {
        float: none;
        margin: 0 auto;
    }
}


/* WC FIELD FACTORY */
#custom-content table.wccpf_fields_table td.wccpf_value{
    padding: 0 0 10px 0;
}
#custom-content table.wccpf_fields_table td.wccpf_label, 
#custom-content table.wccpf_fields_table td.wccpf_label label{
    width: 100%;
    padding: 0;    
    font-family: open sans;
    letter-spacing: 0px;
    font-weight: 600;
}

.wccpf_fields_table,
.wccpf_fields_table tbody,
.wccpf_fields_table tbody tr,
.wccpf_fields_table tbody tr td
 {
    display: block;
}

.form-wrapper{
    margin-top: 20px;
    overflow: hidden;
}
.form-wrapper .mg-top{
    margin-top:20px;
}
.form-wrapper input[type="text"],
.form-wrapper input[type="email"],
.form-wrapper textarea
{
    border: 1px solid #c5b181;
    padding: 8px;
    font-size: 13px;
    width: 100%;
}
.form-wrapper input[type="button"],
.form-wrapper input[type="submit"]{
    text-transform: uppercase;
    padding: 6px 24px;
    background: #c5b181;
    color: white;
    border:none;
    cursor: pointer;
    transition: 0.5s all ease;
}
.form-wrapper input[type="button"]:hover,
.form-wrapper input[type="submit"]:hover{
    background: #836f40;
}
.form-wrapper span.wpcf7-list-item{
    display: block;
}
.form-wrapper input[type="file"],
.wpcf7-form-control.wpcf7-radio{
    margin-top:15px;
    display: block;
}
@media(max-width:991px){
    .form-wrapper input[type="button"], .form-wrapper input[type="submit"]{
        width:100%;
    }
}
@media(max-width:575px){
    .form-wrapper input[type="text"]{
        margin-bottom:10px;
    }
    .membership img{
        display: block;
        margin: 0 auto;
    }
}
h2.membership-heading,
h2.membership-heading a
{
    font-family: Oswald, sans-serif;
    text-transform: uppercase;
    color: #c5b181;
    font-weight: 500;
    font-size: 40px;
}
#custom-content .wcff-label-info{
    background: transparent;
    border:none;
    padding-left: 0;
}
#custom-content .wcff-label-info,
h3.membership-title{
    font-family: Oswald, sans-serif;
    text-transform: uppercase;
    text-transform: none;
    color: black;
    font-size: 32px;
    font-weight: 400;
    margin-top: 25px;
    margin-bottom: 20px;
}
@media(max-width:570px){
    #custom-content .wcff-label-info,
    h3.membership-title{
        font-size:24px;
    }
}
.membership a{
    color: #c5b181;
}
.membership a:hover{
    color: #000;
}
.membership p{
    color: #807e7c;
    font-family: Open Sans, sans-serif;
}
.membership .woocommerce ul.products li.product, .woocommerce-page ul.products li.product{
    margin-bottom:0;
    width: 100%;
}
#custom-content.archive a.button.product_type_variable.add_to_cart_button{
    display:none;
}

.gold{
    color: #c5b181;
}
.gold:hover{
    color: #000;
}

html:lang(pl) #custom-content.woocommerce p.price > span.woocommerce-Price-amount.amount:before{
    content: 'Cena: ';
}
html:lang(en) #custom-content.woocommerce p.price > span.woocommerce-Price-amount.amount:before{
    content: 'Price: ';
}

#custom-content .select2-container--default .select2-selection--single .select2-selection__rendered{
    padding: 3px 8px!important;
    font-size: 13px!important;
    width: 100%!important;
    height:36px;
}
#custom-content .select2-container--default .select2-selection--single{
    border: 1px solid #c5b181!important;
    padding: 0 8px!important;
    font-size: 13px!important;
    width: 100%!important;
    border-radius:0;
    height:36px;
}
#custom-content.woocommerce-checkout form .input-text {
    border: 1px solid #c5b181;
    padding: 8px;
    font-size: 13px;
    width: 100%;
}
/* #custom-content #order_review th:first-child{
    border:none;
} */
#custom-content .woocommerce table.shop_table{
    border-collapse: collapse;
}
#custom-content #order_review tr.cart-subtotal th,
#custom-content #order_review tr.order-total th,
#custom-content #order_review th.cart-item,
#custom-content #order_review td{
    border-top: 1px solid #c5b181;
}
#custom-content #order_review table,
#custom-content #order_review tr{
    border: 1px solid #c5b181;
}

#custom-content.zarzad .excerpt{
    margin-bottom: 32px;
}

.mg-top__news:first-child{
    margin-top:0;
}
.mg-top__news{
    margin-top:30px;
}

#custom-content .news-suggestions .image{
    margin-bottom: 1rem;

}
/* pagination woo */
#custom-content.woocommerce nav.woocommerce-pagination ul{
    border:none;
}
#custom-content.woocommerce nav.woocommerce-pagination,
.pagination {
    margin-bottom: 40px;
    text-align: center;
    color: #c5b181;
    font-size: 20px;
}
#custom-content.woocommerce nav.woocommerce-pagination ul li a,
#custom-content.woocommerce nav.woocommerce-pagination ul li{
    border: none;
    color: #c5b181;
    background: transparent;
}
#custom-content.woocommerce nav.woocommerce-pagination ul li a:focus, 
#custom-content.woocommerce nav.woocommerce-pagination ul li a:hover, 
#custom-content.woocommerce nav.woocommerce-pagination ul li span.current{
    background: transparent;
    color: #c5b181;
}

#custom-content .projekty .project .title,
#custom-content .projekty .project .title>a{
    color:#c5b181;
}
#custom-content .projekty .project .title:hover,
#custom-content .projekty .project .title>a:hover{
    color:#000;
}
#custom-content td.product-name a{
    color: #c5b181;
}
#custom-content .home-carousel-wrapper{
    max-width: 700px;
    margin: 0 auto;
}
@media(max-width:768px){
    #custom-content .home-carousel-wrapper{
        max-width: 85%;
        margin: 0 auto;
    }
}

@media(max-width:675px){
    #custom-content #wpsl-stores{
        max-height:100%;
        height: 100%;
    }
    #custom-content #wpsl-gmap{
        /* max-height: 400px; */
    }
}

#cookie-notice .cn-button {
    margin-left: 10px;
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #c5b181;
}
.fb-like{
    padding-bottom: 10px;
}