/*
Theme Name:     Tema Pol-len 2018
Theme URI:      http://illadelsbous.com
Description:    Theme for Pol-len Edicions web
Author:         Jaume Subirats
Author URI:     http://illadelsbous.com
Template:       newsplus
Version:        1.48
*/

:root {
    --c-Pollen: #b5a461;
}
body {
    border: 6px solid var(--c-Pollen);
    background: var(--c-Pollen);
}

/* HEADER */

#header {
    padding: 4px 0 0;
    background: #FFF;
}
#header .column {
    margin-bottom: 0;
    margin-right: 0;
}
#utility-top {
    margin: 0px auto 0;
    background: var(--c-Pollen);
    /* background: #000; */
    z-index: 99999;
}
#utility-top-2 {
    background: #000;
}
ul.nav-menu>li.current-menu-item>a, ul.nav-menu>li.current-menu-ancestor>a, ul.nav-menu>li.current_page_item>a, ul.nav-menu>li.current_page_ancestor>a {
    border-bottom-color: var(--c-Pollen);
    background: var(--c-Pollen);
    color: #FFF;
}
.nav-menu>li>a {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
}
.secondary-nav li>a {
    color: #FFF;
}
.secondary-nav li>a:hover {
    color: #000 !important;
    text-decoration: underline;
}
.cart-nav li.welcome, .cart-nav li a {
    color: #fff;
}
.secondary-nav li:hover>a {
    color: #212121;
}
.is-stretched .primary-nav {
    border-bottom: 1px solid #0f0f0f;
    background: #FFFFFF;
    box-shadow: none !important;
}
.home .primary-nav {
    top: -20px;
}
.home #main-nav .primary-nav .sticky-nav {
    top: 40px !important;
}
.primary-nav li:hover>a {
    color: var(--c-Pollen);
    border-bottom-color: rgba(62, 89, 0, 1);
}
#main-nav-2 {
    background: #FFF;
    border-bottom: 1px solid #000;
}
.no-comments {
    margin-top: 24px;
    display: none;
}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item span {
    font-family: sans-serif !important;
    font-weight: bold;
}
.brand img {
    display: block;
    padding: 30px 0 0;
}

/* HOME */

.woocommerce-loop-product__title {
    font-size: 14px;
    line-height: 1.33334;
    letter-spacing: 1px;
    color: #444;
    margin: 0 0 6px;
}

/* WIDGETS */

.single .entry-meta {
    display: none;
}
.sb-title {
    color: var(--c-Pollen);
    margin-bottom: 20px;
    font-size: 20px;
    letter-spacing: 1px;
    text-decoration: underline;
    text-decoration-color: var(--c-Pollen);
}
.post-list li, .widget .post-list li {
    position: relative;
    overflow: hidden;
    padding: 0px 0;
    border-bottom: none;
    border-top: 3px solid #eae2c4;
}
.post-list>li:after, .widget .post-list>li:after {
    border-bottom: 0px solid rgba(0, 0, 0, .12);
}
#newsplus-recent-posts-4 .widget .post-list li {
    border-top: 3px solid #dec874;
}
#newsplus-recent-posts-4 .post-list .entry-meta .entry-date {
    display: none !important;
}
.post-list h3, .post-list h4 {
    clear: none;
    font-size: 14px;
    line-height: 20px;
    margin: 0;
    padding: 10px 20px 0 0;
    font-size: 17px;
}
#newsplus-recent-posts-3 .widget .entry-meta .entry-date {
    color: #666;
}
#newsplus-social-2 {
    float: right;
    z-index: 9999;
}
.cart-nav li a:hover {
    color: #FFF !important;
}
p.demo_store {
    display: block;
    height: 30px;
    bottom: 0 !important;
    top: inherit !important;
    position: fixed;
    background: #000;
}
.woocommerce table.shop_table {
    margin: 0 0 0.5em;
}
#coupon-msg-cart {
    border: 1px dashed #F00;
    padding: 20px 14px 0 14px;
    line-height: 20px;
    background: #eee;
    color: #000;
    text-align: left;
    font-weight: 100;
    margin: 0 0 10px;
}
#coupon-msg-cart strong {
    color: #F00;
}
.woocommerce #content table.cart td.actions .input-text, .woocommerce table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .input-text {
    width: 120px;
    border: 1px dashed #F00;
}
.shipping-calculator-form {
    display: block !important;
}
.woocommerce-shipping-calculator>p:first-child a::before {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    vertical-align: -.125em;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    line-height: inherit;
    vertical-align: baseline;
    content: "\f0d1";
    margin-right: 0.3342343017em;
}
.scroll-to-top {
    position: fixed;
    right: 16px;
    bottom: 60px;
    text-align: center;
    z-index: 999;
}
.post-list li, .widget .post-list li {
    position: relative;
    overflow: hidden;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .12);
}
#respond form textarea {
    height: 90px;
}
.mc4wp-form input[type=text], .mc4wp-form input[type=url], .mc4wp-form select, .mc4wp-form textarea {
    margin: 4px 0;
}

/* CERCADOR */

.searchandfilter ul li {
    padding: 0px 0;
}
.searchandfilter input[type="text"] {
    width: 99%;
}
header form {
    margin: 0 0 0 !important;
    z-index: 99;
}
.sf-field-reset {
    float: right;
    padding: 10px !important;
}
.sf-field-reset a {
    color: #666;
}
.sf-field-reset a:hover {
    color: #F00;
    text-decoration: underline;
}
#main .wrap {
    padding: 32px 32px 0;
    border-left: 1px solid var(--c-Pollen);
    border-right: 1px solid var(--c-Pollen);
}
.home #main .wrap {
    padding: 0px 32px 0;
}

/* WOOCOMMERCE */

.home .woocommerce ul.products li.product a img {
    border: 1px solid #ccc;
    /* height: 210px; */
}
.home .woocommerce ul.products li.product {
    /* width: 23.33%; */
}
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    background-color: var(--c-Pollen);
    color: #000;
}
.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
    background-color: #000;
    color: #FFF;
}
.sku_wrapper, .posted_in, .tagged_as {
    display: block;
}
.woocommerce ul.products li.product a img {
    border: 1px solid #ccc;
    height: 350px;
}
.woocommerce ul.products li.product a img:hover {
    opacity: .8;
}
.woocommerce ul.cart_list li img, .woocommerce ul.product_list_widget li img {
    width: 44px;
    max-height: 60px;
}
.woocommerce #reply-title {
    display: none;
}
.woocommerce #comments h2 {
    display: none;
}
.woocommerce #comments p.woocommerce-noreviews {
    display: none;
}
div[itemprop="description"] {
    text-align: left;
}
.product_meta {
    text-align: left;
}
.woocommerce-Tabs-panel {
    text-align: left;
}
.woocommerce div.product .stock {
    color: #183;
    text-align: left;
}
button, a.button, input[type="button"], input[type="reset"], input[type="submit"] {
    color: #fff;
    background: rgba(182, 164, 106, .5) !important;
    padding: 9px 15px !important;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 6px;
    min-width: 170px;
}
.tag-links a, .tagcloud a {
    font-size: 13px;
    line-height: 1.5384615;
    height: 32px;
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 6px 12px;
    background: rgba(0, 0, 0, .12);
    color: rgba(0, 0, 0, .7);
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.woocommerce-cart #primary.site-content {
    padding: 0 2% 0px 0;
}
.woocommerce a span.onsale, .woocommerce ul.products li.product a span.onsale {
    padding: 0px 10px;
    font-size: 13px;
    font-weight: 600;
    background: #000 !important;
    color: #fff;
    z-index: 9999;
    border-radius: 4px;
    transform: rotate(10deg);
    font-weight: 100;
    letter-spacing: 1px;
}
.woocommerce-products-header {
    text-align: center;
}
.woocommerce-checkout .woocommerce-info {
    display: none !important;
}

/*
dd.variation-Disponible p { display: none; }
dd.variation-Disponible:after { content: "Abril de 2018"; }
*/

.woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering {
    float: right;
    margin: 0 32px !important;
}
.woocommerce-cart .cart-collaterals .cart_totals .shipping-calculator-button {
    color: #2684e7;
    font-weight: bold;
    font-size: 1.1em;
    letter-spacing: 0px;
}
a.shipping-calculator-button:before {
    height: 12px;
    width: 12px;
    background-color: #2684e7;
    border-radius: 50%;
    display: inline-block;
    content: ' ';
    border: 1px solid #b8b8b7;
    margin: 0px 1px -1px 0;
}
.woocommerce-checkout #payment .payment_method_paypal label:after {
    height: 55px;
    width: 55px;
    background: #ccc;
}
.woocommerce-checkout #payment .payment_method_paypal label {
    display: block;
    background: url(https://pol-len.cat/img/visa.png) no-repeat 160px 0;
}
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
    font-size: 0 !important;
    height: 40px;
}
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order:after {
    font-size: 14px;
    content: 'FINALITZAR LA COMPRA';
}
#related-llibres {
    width: 100%;
    background: #fff;
    display: inline-block;
    padding: 20px 0 10px;
    border: 1px solid;
}
#related-llibres ul li {
    list-style: none;
    float: left;
    width: 200px;
    padding: 10px;
}
#related-llibres h3 {
    margin: 0 40px 0px;
    color: var(--c-Pollen);
    letter-spacing: 1px;
}
#related-llibres ul li img {
    border: 1px solid #fff;
    transition: 0.5s;
    outline: none;
}
#related-llibres li h5 {
    color: var(--c-Pollen);
}
#fragment-llibre ul {
    margin: 0 0;
    width: 100%;
}
#fragment-llibre li {
    list-style: none;
    display: inline-block;
}
#fragment-llibre li a {
    display: block;
    background: #000;
    color: #fff;
    border: 6px double #000;
    padding: 8px 50px 0px;
    letter-spacing: 1px;
    margin: 0px 0 20px;
}
/*
#fragment-llibre li a:hover {
    background: #FFF;
    color: #000;
    border: 6px double #000;
}
*/
#fragment-llibre li a h5 {
        color: #fff;
 }
 /*
 #fragment-llibre li a h5:hover {
        color: #000;
        background: #FFF;

 }
 */
/* llibres hover effects */

.articlebody {
    padding: 0 2em 0 0;
}

.home .woocommerce ul.products li.product a img:hover, .woocommerce ul.products li.product a img:hover, #related-llibres ul li img:hover {
    box-shadow: #e4e4e4 4px 4px 20px 10px;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    z-index: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    cursor: pointer;
}

.woocommerce ul#shipping_method li {
    margin: 0;
    list-style: none;
    font-size: 1.2em;
    font-weight: 600;
    padding: .1em 0;
    color: #7b755c;
}
.woocommerce ul#shipping_method li input[type="radio"] {
    vertical-align: middle;
    margin: -6px 6px 0 0;
}


/* Ripple effect */

.ripple, .button {
    background-position: center;
    transition: background 0.8s;
}
.ripple:active, .button:active {
    background-color: var(--c-Pollen);
    background-size: 100%;
    color: #000;
    transition: background 0s;
}
.ripple:hover, .button:hover {
    background: var(--c-Pollen) radial-gradient(circle, transparent 1%, #bfa33c 1%) center/15000%;
}

/* RECULLS PREMSA */

.post-type-archive-reculls .grid-row, .post-type-archive-reculls .main-row {
    position: relative !important;
    margin: 0 10px !important;
}
.post-type-archive-reculls .entry-grid {
    width: 25%;
    margin: 0 0 0px;
    padding: 0 1px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.post-type-archive-reculls .entry-content {
    overflow: initial;
}
.post-type-archive-reculls .entry-grid h2.entry-title {
    font-size: 17px;
    line-height: 1.3334;
    margin-bottom: 10px;
    font-weight: 300;
    background: var(--c-Pollen);
    position: absolute;
    bottom: 0px;
    z-index: 9;
    padding: 8px;
    text-transform: none;
    color: #fff;
    border: 1px dashed #FFF;
}

/* isotop plugin */


/*
#isotopGrid {
    width: 100%;
}
.page-id-2021 #sidebar {
    display: none;
}
.page-id-2021 #primary {
    width: 100%;
}
.isotope-item {
    border: 2px solid #FFF;
    background: #FFF;
    z-index: 2;
    width: 30%;
    padding: 1px;
}
.isotope-item:hover {
    z-index: 999;
}
*/


/* SINGLE RECULLS */

.single-reculls .single-post-thumb {
    display: none;
}

/* AUTORIES */

#post-type-archive-autoria header {
    margin: 0 !important;
}
#post-type-archive-autoria h1.page-title {
    margin-bottom: 0px !important;
}
.autoria-cont {
    float: left;
}
.autoria-cont:before {
    content: '✹';
    position: absolute;
    z-index: 999;
    color: var(--c-Pollen);
    padding: 2px 5px;
    font-size: 25px;
    margin: 0;
}
.autoria-img {
    max-height: 220px;
    overflow: hidden;
}
.autoria-item a {
    color: #222;
}
.autoria-item {
    min-height: 260px;
    padding: 0px;
    border: 1px dashed var(--c-Pollen);
    margin: 10px 10px 0 0;
}
.autoria-item:hover {
    opacity: .8;
}
.autoria-item img {
    overflow: hidden;
}
.autoria-tit {
    background: #FFF;
    font-size: 16px;
    padding: 4px;
}
.autoria-tit h3 {
    font-size: 14px;
    line-height: 18px;
    color: #000;
    font-weight: bold;
    padding: 2px 6px;
}

/* SINGLE AUTORIA */

.single-autoria .single-post-thumb {
    background-size: 5px 5px;
    max-width: 40%;
    float: left;
    padding: 10px 10px;
    margin: 0 20px 0 0;
}

/* SINGLE FRAGMENT */

.single-fragment #page {
    background: var(--c-Pollen);
}
.single-fragment #main {
    margin-top: 50px !important;
    background: var(--c-Pollen);
}
.single-fragment #main .wrap {
    padding: 4em 2em;
    border: 1px solid #f7f6f6;
    margin: auto;
    margin-top: 40px;
    background: #FFF;
    box-shadow: 1px 0px 4px;
    max-width: 1024px;
    width: 100%;
}

/* SEARCH & FILTER */

.chosen-container-single .chosen-single {
    border: 1px solid #dcd8d8 !important;
    border-radius: 5px !important;
    background: none !important;
    line-height: 30px !important;
}
.newsplus .meta-col {
    display: inline;
}
.newsplus .meta-row .author-avatar-32.avatar-only {
    display: none !important;
}

/* Landing Escola de pastors */

.page-id-3386 #main .wrap {
    background: #FFF;
}
.page-id-3386 .breadcrumbs {
    display: none;
}
.btn-pre {
    background-color: #56a656 !important;
}

/* woocommerce */
.mailchimp-newsletter {
    font-size: 1.4em;
    color: #a20707;
}

/* FOOOTER */

#footer {
    color: #757575;
    text-align: center;
    min-height: 160px;
}
#footer a {
    color: var(--c-Pollen);
}
#footer a:hover {
    color: #000 !important;
    text-decoration: underline;
}
.notes-left {
    width: 40%;
}
.notes-right {
    width: 60%;
}

/* banner header */

#media_image-5 {
    padding: 5% 0% 0 0%;
    /* max-height: 160px; */
    /* overflow: hidden; */
}
#media_image-5 img {
    max-width: 100%;
    height: auto;
    max-height: 170px;
    width: auto;
}

/* SOCIAL CHANNELS ************************************/

.social-channels {
    position: fixed;
    margin: 0 auto;
    padding: 0 0px;
    top: 2px;
    z-index: 99999;
    height: 30px;
    right: 45vw;
}
[class^="social-icon-btn"] {
    min-width: 50px;
    height: 50px;
    width: 50px;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 22px;
    line-height: 32px;
    transition: ease-in-out .3s;
    border-radius: 50px;
    margin-left: 5px;
    background-color: #fff !important;
    border: 2px solid #b5a461;
}
.s-twitter {
    color: #4099FF;
}
.s-facebook {
    color: #3B5998;
}
.s-google-plus {
    color: #DB5A3C;
}
.s-instagram {
    color: #222;
}
.s-youtube {
    color: #eb3323;
}
.s-vimeo {
    color: #1f9ded;
}
.social-icon-btn:hover {
    transform: scale(1.10);
    color: #000;
}
.s-twitter:hover {
    background-color: #4099FF;
}
.s-facebook:hover {
    background-color: #3B5998;
}
.s-google-plus:hover {
    background-color: #DB5A3C;
}
.s-instagram:hover {
    background-color: #111;
}
.s-youtube:hover {
    background-color: #eb3323;
}
a.s-link {
    color: inherit;
}
#footer .wrap {
    padding: 16px 0 100px;
}

/* ***  */


/* MEDIA QUERIES */


/* Landscape */

@media only screen and (min-device-width: 769px) {
    .home .woocommerce ul.products li.product a img {
        height: 220px;
    }
    .home .woocommerce ul.products li.product {
        width: 23.33%;
    }
    .social-channels {
        text-align: center;
        bottom: 0px;
    }
}
@media only screen and (max-device-width: 800px) {
    .social-channels {
        top: initial;
        height: 30px;
        right: initial;
        bottom: 10px;
        left: 1em;
    }
    .menu-drop li {
        text-align: center;
        font-size: 2em;
    }
}
@media only screen and (max-device-width: 600px) {
    .cookie-notice-container {
        padding: 30px;
        text-align: left;
        font-size: 16px;
        line-height: 20px;
        border-top: 2px solid var(--c-Pollen);
    }
    .cookie-notice-container #cn-notice-text {
        padding: 0px 50px 20px 0px;
        display: inline-block;
    }
    #cookie-notice .cn-button {
        font-size: 12px;
        padding: 10px !important;
        margin: 10px;
        display: inline;
    }
    .main-row, .two-sidebars .primary-row {
        margin: 0 -2em;
    }
    #utility-top {
        display: none;
    }
    .is-stretched .sticky-nav:not(.resp-main) {
        box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
        border-bottom: none;
    }
    #responsive-menu {
        z-index: 999999;
        top: 0px !important;
        position: fixed;
        background: rgba(184, 164, 86, 0.8);
    }
    .resp-main .menu-button {
        background: none;
    }
    .toggle-icon span {
        background: #ffffff;
    }
    .menu-button {
        color: #ffffff;
    }
    .menu-button::after {
        content: " Pol·len"
    }
    .sticky-nav, #responsive-menu.sticky-nav {
        z-index: 99999;
        background: var(--c-Pollen);
    }
    .home .woocommerce ul.products li.product {
        width: 90vw;
    }
    #main .wrap {
        padding: 32px 0px 0;
        border-left: 0px solid var(--c-Pollen);
        border-right: 0px solid var(--c-Pollen);
    }
    .woocommerce ul.products li.product, .woocommerce-page ul.products li.product, .woocommerce .related ul.products li.product, .woocommerce-page .related ul.products li.product, .woocommerce .upsells.products ul.products li.product, .woocommerce-page .upsells.products ul.products li.product, .woocommerce .related ul li.product, .woocommerce-page .related ul li.product, .woocommerce .upsells.products ul li.product, .woocommerce-page .upsells.products ul li.product {
        width: 100%;
        margin: 20px 0 2em;
    }
    .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .price {
        font-size: 1.2em;
        line-height: 1.2em;
        margin-bottom: 10px;
        color: #505050;
    }
    .woocommerce-loop-product__title {
        max-width: 360px;
    }
    .woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td {
        padding: 12px 0 0;
        border-bottom: 1px solid var(--c-Pollen);
    }
    .woocommerce-checkout #payment .payment_method_paypal .about_paypal {
        right: 52px;
        font-size: 92%;
        display: block;
        margin: -30px -30px 0 0px;
        background: #FFF;
    }
    /* reculls */
    .post-type-archive-reculls .entry-grid {
        width: 100%;
    }
    /* autories */
    .autoria-cont {
        float: none;
        width: 100%;
    }
    .autoria-item {
        width: 100%;
        height: 280px;
    }
    .grid-row, .main-row {
        position: relative;
        margin: 0 20px;
    }
}
