/*
 Theme Name:     Yter Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Jordi Gran (aeiou.cat) per a Yter
 Author URI:     https://jordigran.com
 Template:       Divi
 Version:        1.0.0
*/

@import url("../Divi/style.css");

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;1,400;1,600&display=swap');
body {
    font-family: 'Montserrat', sans-serif !important;
}


:root {
	--yter-black: #333;
	--yter-grey: #666;
	--yter-greyish: #ccc;
	--yter-white: #eee;
}

body,
.et_pb_widget a {
    color: var(--yter-black);
}
body {
    width: 100vw;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    padding-bottom: 1em;
    font-weight: bold;
}

ul {
    list-style: disc;
    padding-left: 1em;
}
footer ul {
    padding-left: 0;
}
footer p.contact-footer {
    font-size: 15px !important;
}
ul.wp-block-social-links {
    margin-bottom: 0.7em;
}

svg#logo {
    height: 33px;
/*    margin-top: 18px;*/
}

a {
    color: inherit;
    text-decoration: underline
}

#top-menu a {
    color: var(--yter-black);
}

#top-header {
    background-color: var(--yter-black);
}

#main-header.et-fixed-header {
    background-color: var(--yter-black) !important;
}
#main-header.et-fixed-header svg#logo {
    fill: var(--yter-white);
}
#main-header.et-fixed-header #top-menu>li>a {
    color: var(--yter-white);
}

#top-header.et-fixed-header {
    background-color: var(--yter-grey) !important;
}

.mobile_menu_bar:before, .mobile_menu_bar:after, #top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a {
    color: var(--yter-black);
}
#mobile_menu {
    padding: 0;
}
#mobile_menu a {
    text-decoration: none;
    border-bottom: 1px solid var(--yter-black);
}
#mobile_menu a:hover {
    color: var(--yter-white);
    background: var(--yter-black);
    opacity: 1;
}
.nav li ul, .et_mobile_menu {
    border-color: var(--yter-black) !important;
}
ul#mobile_menu, ul#mobile_menu ul {
    list-style: none;
    padding-left: 0;
    padding-right: 0;
}

#main-footer {
    background-color: var(--yter-black) !important;
}

#main-footer .footer-widget h4, #main-footer .widget_block h1, #main-footer .widget_block h2, #main-footer .widget_block h3, #main-footer .widget_block h4, #main-footer .widget_block h5, #main-footer .widget_block h6 {
    color: var(--yter-white) !important;
}

body.home #page-container {
/*    padding-top: 0 !important;*/
}
@media only screen and (min-width: 981px) {
    /* Més esapi al header*/
    .et_header_style_left #et-top-navigation,
    .et_header_style_split #et-top-navigation {
        padding: 40px 0 0 0 !important;
    }
    .et_header_style_left #et-top-navigation nav>ul>li>a,
    .et_header_style_split #et-top-navigation nav>ul>li>a {
        padding-bottom: 40px !important;
    }
}
body.home header#main-header {
    background-color: var(--yter-black); /* transparent; */
    -webkit-box-shadow: none !important;
    box-shadow: none;
}
body.home #main-header svg#logo {
    fill: var(--yter-white);
}
body.home #main-header #top-menu>li>a {
    color: var(--yter-white);
}
body.home #main-header #top-menu>li>a {
    color: var(--yter-white);
}
body.home .mobile_menu_bar:before {
    color: var(--yter-white);
}
#top-menu-nav>ul>li>a:hover {
    opacity: 1;
    text-decoration: underline;
}


.footer-widget .fwidget {
    margin-bottom: 5px !important;
    width: 100%;
}

.footer-widget li:before {
    border-color: var(--yter-white) !important;
}

@media (min-width: 981px) {
    .et_pb_gutters3 .footer-widget:not(:nth-child(1)) {
        /*padding-left: 1%;
        border-left: 1px solid var(--yter-white);*/
    }
    .et_pb_gutters3 .footer-widget:nth-child(1) {
        /*margin-right: 0;
        padding-right: 1%;*/
    }
    .et_pb_gutters3 .footer-widget:nth-child(2) {
/*        margin-right: 11%;*/
    }
}  
#footer-info h2,
#footer-info,
#footer-info a {
    color: var(--yter-white);
}
@media (max-width: 740px) {
    p#footer-info span {
        width: 100% !important;
    }
}
#footer-widgets h2 {
    font-size: 20px !important;
}

#footer-widgets .footer-widget li:before {
    display: none !important;
}
#footer-widgets .footer-widget li {
    padding-left: 0;
    margin-bottom: 0;
}


footer ul.menu li,
footer ul.menu ul.sub-menu {
    display: inline;
}

footer ul.menu ul.sub-menu {
    display: none;
}
.et_pb_widget ul li,
.et_pb_widget ul li ul li {
    margin-left: 0 !important;
}

footer ul.menu li a,
footer ul.menu ul.sub-menu li a {
/*    margin-left: 0 !important;*/
    display: inline-block;
    margin-bottom: 7px !important;
    margin-right: 2px !important;
}
footer ul.menu li a {
    border: 1px solid var(--yter-white);
    background: var(--yter-black);
    color: var(--yter-white) !important;
    border-radius: 100px;
    padding: .5em 1em;
}
footer ul.menu  li a:hover {
    background: var(--yter-white);
    color: var(--yter-black) !important;
}

.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin,
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram,
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest {
    background-color: var(--yter-black) !important;
    border: 1px solid var(--yter-white);
}
.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg {
    fill: var(--yter-white) !important;
}
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin:hover {
    background-color: #0d66c2 !important;
}
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram:hover {
    background-color: #f00075 !important;
}
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest:hover {
    background-color: #e60122 !important;
}
.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:hover svg {
    fill: var(--yter-white) !important;
}

.post-meta {
    display: none;
}

.et_pb_blog_grid article {
/*    min-height: 455px;*/
}

.et_pb_blog_grid .et_pb_image_container img {
    max-height: 210px;
    object-fit: cover;
    border-bottom: 1px solid var(--yter-greyish);
}

.et_pb_image_container {
    margin: -19px -19px 28px;
}

.et_pb_blog_grid article {
    position: relative;
}
.et_pb_blog_grid article h2 {
    line-height: 1.2em;
}
.et_pb_blog_grid article:before {
    position: absolute;
    bottom: 0;
    content: " ";
    background: #fff;
    display: block;
    width: 100%;
    height: 15px;
    z-index: 999;
    margin: 0 -20px 0 -20px;
}
.et_pb_blog_grid article {
    height: 387px;
    overflow-y: hidden;
}
@media (max-width: 767px) {
    .et_pb_blog_grid article {
        height: auto;
    } 
}


div#sidebar {
    display: none;
}

@media (min-width: 981px) {
    .et_right_sidebar #left-area {
        padding-right: 0;
        width: 100%;
    }
    .et_right_sidebar #main-content .container:before {
        display: none;
    }
}

.lwptoc_i {
    padding: 0;
    border: 0 !important;
    width: 100%;
}
.lwptoc_header {
    margin-bottom: 20px !important;
}

@media (min-width: 981px) {
    .lwptoc_items>.lwptoc_itemWrap {
        columns: 2;
        width: 100%;
    }
    .lwptoc_items>.lwptoc_itemWrap >.lwptoc_item {
        width: 100%;
    }
}

#footer-info a {
    font-weight: 400;
}
.menu-secundari-container ul {
    padding-left: 0;
}
.menu-secundari-container ul a {
    color: var(--yter-white);
    text-decoration: none;
}
.menu-secundari-container ul ::marker {
    color: transparent !important;
}
.menu-secundari-container {
    display: flex;
}
.menu-secundari-container ul,
.products-nav {
    display: inline-flex;
    position: relative;
    border: 1px solid var(--yter-black);
    border-radius: 100px;
    margin: 30px auto;
    max-width: 1080px;
    /*transform: translateX(-50%);
    margin-left: 50%;*/
}
body.single-post .et_pb_column .menu-secundari-container ul,
body.single-portfolio-item .et_pb_column .menu-secundari-container ul,
body.single-post .et_pb_column .products-nav,
body.single-portfolio-item .et_pb_column .products-nav {
    display: inline;
    border: none;
    border-radius: 0;
    margin: 0;
    transform: none;
    margin-left: 0;
}
@media (max-width: 981px) {
    .menu-secundari-container ul {
        display: inline-block;
        border: none;
        border-radius: 0;
        margin: 2em 0;
        transform: none;
        margin-left: 5%;
        max-width: 90%;
        text-align: center;
    }
    .products-nav {
        display: inline-block;
        border: none;
        border-radius: 0;
        margin: 2em 0;
        transform: none;
        margin-left: 5%;
        max-width: 90%;
        text-align: center;
    }
}

/* Menú lateral */
.menu-lateral {
    position: relative;
    top: -15px;
    margin-bottom: 5px !important;
}
.menu-lateral.et_pb_menu .et-menu {
    margin-left: 0;
    margin-right: 0;
}
.menu-lateral.et_pb_menu .et-menu>li {
    padding-left: 0 !important;
    padding-right: 5px !important;
}
.menu-lateral li a {
    background: var(--yter-black);
    border-radius: 100px;
    color: var(--yter-white) !important;
    padding: 0.5em 0.6em 0 0.6em;
    border: 1px solid var(--yter-black);
}
.menu-lateral li a:hover {
    background: var(--yter-white);
    color: var(--yter-black) !important;
}
/*body.home nav.products-nav {
    position: absolute;
    top: 570px;
    z-index: 2;
}
body.home.et-fixed-header nav.products-nav {
    position: absolute;
    top: 630px;
    z-index: 2;
}*/

.menu-secundari-container ul .menu-item {
  color: var(--yter-white) !important;
  font-size: 14px;
  padding: 4px 8px;
  text-decoration: none;
  transition: .3s;
  z-index: 1;
  position: relative;
  background-color: var(--yter-black);
}
.nav-item {
  color: var(--yter-white) !important;
  font-size: 14px;
  padding: 4px 8px;
  text-decoration: none;
  transition: .3s;
  z-index: 1;
  position: relative;
  background-color: var(--yter-black);
}
body.single-post .et_pb_column .menu-secundari-container ul .menu-item,
body.single-portfolio-item .et_pb_column .menu-secundari-container ul .menu-item {
    border: 1px solid var(--yter-black);
    display: inline-block;
    padding: 4px 16px;
    border-radius: 100px;
    margin-bottom: 5px !important;
}
body.single-post .et_pb_column .nav-item,
body.single-portfolio-item .et_pb_column .nav-item {
    border: 1px solid var(--yter-black);
    display: inline-block;
    padding: 4px 16px;
    border-radius: 100px;
    margin-bottom: 5px !important;
}
@media (max-width: 981px) {
    .menu-secundari-container ul .menu-item {
        border: 1px solid var(--yter-black);
        display: inline-block;
        padding: 4px 16px;
        border-radius: 100px;
        margin-bottom: 5px !important;
    }
    .nav-item {
        border: 1px solid var(--yter-black);
        display: inline-block;
        padding: 4px 16px;
        border-radius: 100px;
        margin-bottom: 5px !important;
    }
}
.menu-secundari-container ul .menu-item:hover {
    background-color: var(--yter-white);
}
.menu-secundari-container ul .menu-item:hover a {
    color: var(--yter-black) !important;
}
.nav-item:hover {
    color: var(--yter-black) !important;
    background-color: var(--yter-white);
}
.menu-secundari-container ul .menu-item:first-child {
    padding-left: 16px;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
}
.nav-item:first-child {
    padding-left: 16px;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
}
.menu-secundari-container ul .menu-item:last-child {
    padding-right: 16px;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
}
.nav-item:last-child {
    padding-right: 16px;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
}

body.single-post .et_pb_column .franja-titol,
body.single-portfolio-item .et_pb_column .franja-titol,
body.single-post .et_pb_column #siteBreadcrumb,
body.single-portfolio-item .et_pb_column #siteBreadcrumb {
    display: none; /* Corregir darrera id, que hauria de ser classe  */
}


.graella-de-productes img {
    /*height: 130px;
    object-fit: cover;*/
}
.graella-de-productes img:hover {
/*    filter: blur(2px);*/
}
.graella-seleccio-productes {
    border-top: 1px solid var(--yter-greyish);
/*    border-bottom: 1px solid var(--yter-grey);*/
}
/* Si n'hi ha dues la segona no té perfil superior */ 
.graella-seleccio-productes+.graella-seleccio-productes {
    border-top: none;
}

.graella-de-productes .et_pb_module.et_pb_image {
    text-align: center;
}
.graella-de-productes .et_pb_text_inner p {
    font-weight: bold;
    margin-bottom: 2em;
    color: var(--yter-black);
}

.graella-seleccio-productes img {
/*    height: 16.66vw;*/
    aspect-ratio: 1100 / 678;
    object-fit: cover;
    border-bottom: 1px solid var(--yter-greyish);
    border-right: 1px solid var(--yter-greyish);
}
@media only screen and (max-width: 980px) {
    /*.graella-seleccio-productes img {
        height: 33.33vw;
    }*/
    .graella-seleccio-productes>div>.et_pb_column:nth-child(4),
    .graella-seleccio-productes>div>.et_pb_column:nth-child(5),
    .graella-seleccio-productes>div>.et_pb_column:nth-child(6) {
        display: none;
    }
}
.graella-seleccio-productes img:hover {
-webkit-filter: brightness(.5);
   filter: brightness(.5);
}

.wpcf7-form span[data-name="your-name"], 
.wpcf7-form span[data-name="your-email"], 
.wpcf7-form span[data-name="tel-263"], 
.wpcf7-form span[data-name="your-subject"], 
.wpcf7-form span[data-name="textarea-487"] {
    display: block !important;
}
.wpcf7-form span[data-name="your-name"],
.wpcf7-form span[data-name="your-subject"],
.wpcf7-form span[data-name="textarea-487"] {
    width: 100% !important;
}
.wpcf7-form input[type=text],
.wpcf7-form textarea {
    width: 100%;
}
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel],
.wpcf7-form textarea {
    padding: 1em;
    margin-bottom: 1em;
}
.wpcf7-form textarea {
    height: 100px;
}

.wpcf7-form span[data-name="your-email"],
.wpcf7-form span[data-name="tel-263"] {
    width: 50% !important;
    z-index: 1;
}
.wpcf7-form input[type=email] {
    width: 95% !important;
}
.wpcf7-form input[type=tel] {
    width: 100% !important;
}

.wpcf7-form span[data-name="your-email"],
.wpcf7-form span[data-name="tel-263"] {
    float: left;
    top: 0;
}
.wpcf7-form br {
    display: none;
}

input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
    border: none;
    border-bottom: 1px solid var(--yter-black);
    color: var(--yter-black);
}

.wpcf7-list-item {
    margin: 0 !important;
}
.wpcf7-submit {
    border: 1px solid var(--yter-black);
    background-color: var(--yter-black);
    color: var(--yter-white);
    padding: 0.8em 1.6em;
    border-radius: 60px
}
.wpcf7-submit:hover {
    background-color: var(--yter-white);
    color: var(--yter-black);
}

.nav li ul {
    padding: 0;
    border-top: none;
    width: 200px;
}
#top-menu li {
    font-size: 15px !important;
}
#top-menu li li {
    padding: 0 !important;
}
#top-menu li li a {
    padding: .4em .8em;
    border-bottom: 1px solid var(--yter-black);
    color: var(--yter-black);
    background: var(--yter-white);
}
#top-menu li li a:hover {
    color: var(--yter-white) !important;
    background: var(--yter-black);
    opacity: 1;
}
#sidebar strong {
/*    padding-bottom: 0;*/
/*    padding-top: 1em;
    border-top: 1px solid var(--yter-black);*/
}
/*.inici-bloc */
body.single-post .et_pb_column_1_3 strong{
   /* border-top: 1px solid var(--yter-black);*/
    margin-top: 1.5em;
    display: inline-block;
/*    padding-top: 1.5em;*/
}
a.wp-element-button, a.et_pb_button {
    border: 1px solid var(--yter-white) !important;
    color: var(--yter-white) !important;
    background: var(--yter-black) !important;
    border-radius: 50px !important;
    text-decoration: none;
    min-width: auto !important;
    font-size: 16px !important;
    padding: .3em 1em !important;
}
a.wp-element-button,
a.et_pb_button {
    display: inline-block;
    margin-top: 0.3em;
}
a.wp-element-button:hover,
a.et_pb_button:hover {
    color: var(--yter-black) !important;
    background: var(--yter-white) !important;
    border: 1px solid var(--yter-black) !important;

}
.et_pb_button:hover:after {
    display: none;
}
.et-db #et-boc .et-l .et_pb_button {
    font-size: 16px;
}
.et-db #et-boc .et-l .et_pb_button:hover,
.et-db #et-boc .et-l .et_pb_module .et_pb_button:hover {
    padding: .3em 1em;
}
.et_pb_button:hover:after {
    disply: none;
}
.et_pb_button:hover, .et_pb_module .et_pb_button:hover {
    padding: 0.3em 1em 0.3em 1em;
}
.franja-de-contacto {
    background: #eee !important;
/*    border-top: 1px solid var(--yter-black);*/
}
.franja-de-contacto strong {
    font-size: 1.6em;
}
.franja-de-contacto .et_pb_text_0.et_pb_text,
.franja-de-contacto .et_pb_text_1.et_pb_text {
    color: var(--yter-black) !important;
}

#footer-widgets {
    padding: 3% 0 0;
}
#footer-widgets .footer-widget {
    margin-bottom: 2%;
}
.et-db #et-boc .et-l .et_pb_button:hover:after {
    display: none;
}

body.single-post .container {
    padding-top: 0 !important;
}
body.single-post .et_pb_column_2_3+.et_pb_column_1_3,
body.single-portfolio-item .et_pb_column_2_5 {
    border-left: 1px solid var(--yter-black);
    padding-left: 2em;
}

article .et_post_meta_wrapper img {
    height: 400px !important;
    object-fit: cover;
    width: 100vw;
    max-width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
}

.contact-footer {
    font-size: 1.3em;
}
.contact-footer a {

}

p#footer-info {
    width: 100%;
}

p#footer-info span {
    display: inline-block;
    width: 47.5%;
    float: right;
}
.modulo-global-lateral-blog .wp-element-button {
    min-width: 220px;
    text-align: center;
}

/* Graella per les categories de productes */
.graella-subproductes {
    background: var(--yter-white);
}
.et_pb_image_0,     .et_pb_image_1,     .et_pb_image_2,
.et_pb_image_3,     .et_pb_image_4,     .et_pb_image_5,
.et_pb_image_6,     .et_pb_image_7,     .et_pb_image_8,
.et_pb_image_9,     .et_pb_image_10,    .et_pb_image_11,
.et_pb_image_12,    .et_pb_image_13,    .et_pb_image_14,
.et_pb_image_15,    .et_pb_image_16,    .et_pb_image_17,
.et_pb_image_18,    .et_pb_image_19,    .et_pb_image_20 {
/*    text-align: center !important;*/
}
.graella-subproductes .et_pb_row {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    border-top: 1px solid var(--yter-black);
    border-bottom: 1px solid var(--yter-black);
}
.graella-subproductes .wpb_portfolio_area {
    padding-top: 18px;
}
.wpb_portfolio figure {
/*    min-height: 150px;*/
/*    background: var(--yter-black) !important; /* Negre pel hover */
}
.graella-petita .wpb_portfolio figure {
/*    background: #fff !important; /* Blanc pur per ajustar-se a les fotos amb fons blanc  */
}

.wpb_portfolio figure {
    min-height: 150px;
    background: #fff !important; /* Blanc pur com el fons de les fotos */
}
.wpb_portfolio figure:hover {
    background: var(--yter-black) !important; /* Negre pel hover */
}

.wpb_portfolio_post {
    margin-bottom: 18px;
}
.wpb_portfolio .wpb_portfolio_post {
    padding-left: 9px;
    padding-right: 9px;
}
@media screen and (max-width: 50em) {
    .wpb_fp_grid figure {
        display: inline-block;
        float: none;
        margin: 0 auto;
    }
    .wpb_portfolio_post {
        margin-bottom: 5px;
    }
}
.wpb_portfolio figure img {
/*    width: 132%;*/
/*    max-width: unset;*/
    object-fit: cover;
    margin-left: 50%;
    transform: translateX(-50%);
    aspect-ratio: 1100 / 678;
}
.wpb_portfolio figure figcaption {
    padding: 0;
    text-transform: none;
}
.wpb_portfolio figure figcaption div,
.wpb_portfolio figure figcaption div strong,
.wpb_portfolio figure figcaption div h2 {
    height: 100%;
}
.wpb_portfolio figure figcaption:before,
.wpb_portfolio figure figcaption:after {
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
}
.wpb_portfolio figure strong,
.wpb_portfolio figure h2, /* En principi ja no n'hi ha, perquè els hem canviat a h4 */
.wpb_portfolio figure h3 {
    height: 220px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.wpb_portfolio figure strong,
.wpb_portfolio figure h2, /* En principi ja no n'hi ha, perquè els hem canviat a h4 */
.wpb_portfolio figure h3 {
    width: 100%;
    padding: 2em;
    word-spacing: normal;
    font-size: 20px;
    color: var(--yter-white);
    font-weight: normal;
}
figure.effect-bubba img {
    opacity: 1;
}
figure.effect-bubba strong,
figure.effect-bubba h2, /* En principi ja no n'hi ha, perquè els hem canviat a h4 */
figure.effect-bubba h3 {
    display: none;
}
figure.effect-bubba:hover img {
    opacity: 0.1;
}
figure.effect-bubba:hover strong,
figure.effect-bubba:hover h2, /* En principi ja no n'hi ha, perquè els hem canviat a h4 */
figure.effect-bubba:hover h3 {
    display: flex;
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
}

/* Diferències quan es mostra en petit a una columna */
.graella-petita .wpb_portfolio figure {
    min-height: unset;
    border: 1px solid var(--yter-greyish);
}
.graella-petita figure.effect-bubba:hover strong,
.graella-petita figure.effect-bubba:hover h2, /* En principi ja no n'hi ha, perquè els hem canviat a h4 */
.graella-petita figure.effect-bubba:hover h3 {
    display: none;
}
.graella-petita .wpb_portfolio figure figcaption:before,
.wpb_portfolio figure figcaption:after {
    display: none;
}
.graella-petita figure.effect-bubba:hover img {
    opacity: 1;
}
.graella-petita .wpb_fp_col-md-3 {
    width: 50%; /* 33%; */
}
@media (max-width: 992px) {
    .graella-petita .wpb_fp_col-md-3 {
        width: 50%; /* 12.5%; */
    }
}
@media (max-width: 740px) {
    .graella-petita .wpb_fp_col-md-3 {
        width: 50%; /* 16.6%; */
    }
}
@media (max-width: 520px) {
    .graella-petita .wpb_fp_col-md-3 {
        width: 50%; /* 25%; */
    }
}
.graella-petita .wpb_portfolio .wpb_portfolio_post {
    padding-left: 4px;
    padding-right: 4px;
    margin-bottom: 8px !important;
}

.franja-titol {
    background: var(--yter-black);
    padding: .5% 0 !important;
}
.franja-titol h1 {
    padding-top: .5em;
    padding-bottom: 0;
    color: var(--yter-white);
}

nav#siteBreadcrumb {
/*    border-top: 2px solid var(--yter-black);
    border-bottom: 2px solid var(--yter-black);*/
    background: var(--yter-black);
    padding-bottom: 1em;
}
ul.breadcrumb {
    padding-left: 0;
    width: 80%;
    max-width: 1080px;
    margin: auto;
}
ul.breadcrumb li {
    display: inline;
    color: var(--yter-white);
}
ul.breadcrumb li a {
    color: var(--yter-white);
}
ul.breadcrumb li+li:before {
    padding: 0 5px;
    color: var(--yter-white);
    content: "→"; /*"/\00a0";*/
    position: relative;
    top: 2px;
}

.categories-a-la-graella {
    position: absolute;
    bottom: 8px;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.categories-a-la-graella span {
    color: var(--yter-black);
    background: var(--yter-white);
    border-radius: 40px;
    font-size: 11px;
    margin-left: 10px;
    padding: .2em .8em;
}

.qode-core-portfolio-title-holder,
.qode-core-portfolio-thumb-holder {
    display: none; /* Però acabar-ho treient des del single.php  */
}

@media (min-width: 981px) {
    .girar-columnes>.et_pb_column_1_2:first-child {
        float: right;
        margin-right: 0;
    }
}

/* Entrades realcionades */

.entrades-relacionades ul {
    list-style: none !important;
    padding: 0 0 1em 0 !important;
    border: 1px solid var(--yter-greyish);
    min-height: 255px;
}
.entrades-relacionades img {
    border-bottom: 1px solid var(--yter-greyish);
    margin-bottom: 1em !important;
}
.entrades-relacionades ul li.listing-item::marker {
    display: none !important;
    opacity: 0 !important;
}
.entrades-relacionades a.title {
    font-weight: bold;
    font-size: 18px;
    color: var(--yter-black);
    text-decoration: none;
    padding: 1em;
}

/* Recuadres del blog */
.et_pb_blog_grid .et_pb_post {
    border: 1px solid var(--yter-greyish);
}

/* Imatges afegides amb el mòdul d'imatges */
body:not(.home) .et_pb_image img {
    border: 1px solid var(--yter-greyish); 
}
body:not(.home) .graella-de-productes .et_pb_image img {
    border: none;
}
/* Imatges del mòdul blurb (N'hi diu Anuncio, en castellà) */ 
.et_pb_blurb_content img {
    border: 1px solid var(--yter-greyish);
}
.botons-destacats .et_pb_row {
    padding: 12px 0 !important;
}
.botons-destacats a {
    min-width: 110px;
    text-align: center;
    margin-top: 0;
    font-size: 16px;
    padding: 3px;
}
.entry-content>div>div>div.botons-destacats:last-child .et_pb_row {
    padding-top: 50px !important;
}

/* Graella de pàgines de producte antigues */
.graella-antiga {
    padding-top: 15px !important;
}
.graella-antiga div.et_pb_row {
    padding-bottom: 0 !important;
}
.graella-antiga>div {
    width: calc(100% - 15px);
}
.graella-antiga .et_pb_blurb_content {
    padding: 0 7px;
}
.graella-antiga .et_pb_main_blurb_image {
    margin-bottom: 10px;
}
.graella-antiga .et_pb_module_header {
    font-size: 13px;
    font-weight: 200;
    padding-bottom: 15px !important;
    text-align: center;
}
.graella-antiga .et_pb_module_header:hover {
    text-decoration: underline;
}
.graella-antiga+.graella-antiga {
    padding-top: 0 !important;
}
@media (max-width: 981px) {
    .graella-antiga .et_pb_main_blurb_image {
        display: none;
    }
    .graella-antiga .et_pb_module_header {
        padding-bottom: 15px !important;
    }
}
#main-footer a,
.wpcf7-submit {
    font-size: 16px;
}
.wpcf7-submit {
    padding: .5em 1em !important;
}