/*
Theme Name: Funeraria Anoia
Theme URI: https://wearebutton.com
Author: Joan Gasulla
Author URI: https://wearebutton.com
*/


/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
button,hr,input{overflow:visible}audio,canvas,progress,video{display:inline-block}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}

/* Wordpress core styles */
.alignnone{margin:5px 20px 20px 0}.aligncenter,div.aligncenter{display:block;margin:5px auto}.alignright{float:right;margin:5px 0 20px 20px}.alignleft{float:left;margin:5px 20px 20px 0}a img.alignright{float:right;margin:5px 0 20px 20px}a img.alignleft,a img.alignnone{margin:5px 20px 20px 0}a img.alignleft{float:left}a img.aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-caption{background:#fff;border:1px solid #f0f0f0;max-width:96%;padding:5px 3px 10px;text-align:center}.wp-caption.alignleft,.wp-caption.alignnone{margin:5px 20px 20px 0}.wp-caption.alignright{margin:5px 0 20px 20px}.wp-caption img{border:0;height:auto;margin:0;max-width:98.5%;padding:0;width:auto}.wp-caption p.wp-caption-text{font-size:11px;line-height:17px;margin:0;padding:0 4px 5px}.screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important;white-space:nowrap;height:1px;width:1px;overflow:hidden}.screen-reader-text:focus{background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;color:#21759b;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}





#wpadminbar { display: none; }

/*=============================================
=                   Globals                  =
=============================================*/



.home #main-container { padding-top: 0; }

button.icon-next { font-size: 42px !important; }
label.label-icon { line-height: 42px !important; float: left; display: inline-block; margin-right: 20px; color: #222222; }

button.button-icon { background-color: transparent; border: none; padding: 0; font-size: 1.222em; }

button.button-icon:after {     
    font-family: 'funeicon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e903";
    color: #dedddd;
    margin-top: -2px;
    margin-left: 20px;
    font-size: 32px;
    float: right;
}


b, strong, dt { /*font-weight: normal !important;*/ }
dl { margin-top: 10px; }

#slider.container-fluid {
    margin: 0;
    padding: 0;
    max-height: 640px;
}

/*=====  End of Globals  ======*/

/* Estils especials per la home */

/* body.home #header { background-color: transparent; } */

/* Estils especials per la pàgina single-difunt */
.single-difunt #page-wrapper { height: 100%; }
.single-difunt #main { height: 100%; padding-bottom: 100px; }
.single-difunt #main-container { padding: 0; height: 100%; }

.page-template-llibre-vida #main-container { padding-top: 20px; height: 100%; }
.page-template-llibre-vida #main { padding-bottom: 0; }


/* Estils sliders */



/* Marges */

.top-margin-sm {margin-top: 20px;}

.top-margin-md {margin-top: 40px;}

/*------------------------------------------*/
/*  Separacions entre columnes de bootsrap  */
/*------------------------------------------*/


.row.spacing-medium { margin-left: -25px; margin-right: -25px; }

.row.spacing-medium [class^="col"], .row.spacing-medium [class*=" col"] { padding-left: 25px; padding-right: 25px; }

.row.spacing-large { margin-left: -50px; margin-right: -50px; }

.row.spacing-large [class^="col"], .row.spacing-large [class*=" col"] { padding-left: 50px; padding-right: 50px; }


/*------------------------------*/
/*            Utils             */
/*------------------------------*/

.center { position: absolute; display: block; }

.center.vertical { top: 50%; transform: translate(0, -50%); }

.center.horizontal { left: 50%; transform: translate(-50%, 0); }

.center.vertical.horizontal { top: 50%; left: 50%; transform: translate(-50%, -50%); }

.full-height { height: 100%; }

.rotate180Y { transform: rotate(180deg); }

.invisible { visibility: hidden; }

.disable-select { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }

.float-left { float: left; }
.float-right { float: right; }

.no-hover a { cursor: default; }
.no-hover a:hover:after { display: none; }


/*=============================================
=                   Popup                    =
=============================================*/

.fullname_difunt.obrir_popup { padding: 5px !important; padding-left: 0px !important; cursor: pointer; }

.fullname_difunt.visited { color: #DDDDDD; }

.close, .close:hover, .close:focus {
    opacity: initial;
    text-shadow: initial;
}


.popup {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background: #ffffff;
    z-index: 2000;
}

.fade { pointer-events: none; }

.fade.in { pointer-events: auto; }

.popup .close {
    position: absolute;
    top: 40px; right: 40px;
}



/*=============================================
=                   Header                   =
=============================================*/


#page-wrapper.toggled #header { left: 496px; }



.site-logo{
    position: absolute;
    text-align: center;
    display: block;
    margin: 0 auto;
    width: 100%;
    padding-bottom: 0;
    line-height: 34px;
    font-size: 0;
    left: 0;
}

.site-logo img { max-width: 360px; }
@media (min-width: 980px) {
    .site-logo img { max-width: 550px; }
}


.main-nav-toggle{ float: left; position: relative; z-index: 50; }

.search-button { position: relative; }

/*
#main-nav{
    float: left;
}*/



#search-label { vertical-align: top; line-height: 42px; display: inline-block; }


/*=====  End of Header  ======*/


/*=============================================
=                   Sidebar                  =
=============================================*/


/*-------------------------------*/
/*     Sidebar nav styles        */
/*-------------------------------*/

@media (max-width: 991px) {  
    .only_desktop{
        display: none !important;
    }
}



/* Segon nivell de menú */

#footer-menu>li.menu-item-has-children>a:after, .nav-menu>li.menu-item-has-children>a:after {
    content: '\f0d7';
    display: inline-block;
    margin-left: 15px;
    margin-top: 1px;
    position: relative;
    bottom: initial;
    left: initial;
    border-bottom: none;
    transition: initial;
    vertical-align: middle;
    width: 10px;
    height: 10px;
    border-right: 5px solid rgba(0, 0, 0, 0);
    border-left: 5px solid rgba(0, 0, 0, 0);
    border-bottom: 5px solid rgba(0, 0, 0, 0);
    border-top: 5px solid #222;
    font-size: 0;
}

ul li > ul.sub-menu { display: none; }

.link_menu { cursor: pointer; }



/*=====  End of Sidebar  ======*/

/*=============================================
=                    Footer                   =
=============================================*/



.menu-premsa{padding-bottom:30px; }

/*=====  End of Footer  ======*/




/*=====  End of Home  ======*/

/*=============================================
=                Llibre de vida               =
=============================================*/

/*-------------------------------*/
/*             Mitjó             */
/*-------------------------------*/

#mitjo-wrapper { 
    margin: auto; text-align: center;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    padding: 0 20px;
}
#mitjo-wrapper canvas { width: 100%; height: 100%; }

#mitjo-wrapper.blur { filter: blur(65px); }

#descripcio_mitjo {
    display: block;
    position: absolute;
    width: 250px;
    font-style: italic;
    text-align: left;
    color: #B99B48
}


.hover_nom_difunt {
    position: fixed;
    transform: translate(10px, -50%);
    background: #ffffffe4;
    border-radius: 5px;
    color: #B99B48;
    padding: 0 2px;
}

.enhanced_comments.tunel_temps .comments_list ul li {
    color: #222222;
    font-style: italic;
    padding-right: 10px;
}
.enhanced_comments.tunel_temps .comments_list ul li.active {
    color: #B99B48;
}
.three_columns.tunel_temps > .left_content, .three_columns.tunel_temps > .right_content{
    width: 150px;
    flex-basis: 150px;
}
.three_columns.tunel_temps > .right_content {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

/*-------------------------------*/
/*      Vista en 3 columnes      */
/*-------------------------------*/

.three_columns{
   display: flex;
   min-height: 100%;
   flex-wrap: nowrap;
   justify-content: space-between;
   align-items: center;
}
.three_columns > .middle_content { text-align: center; flex-basis: 820px; }
.three_columns > .left_content, .three_columns > .right_content{
   width: 300px;
   flex-basis: 300px;
   flex-grow: 1;
}
.three_columns > .left_content{
    margin-left: 40px;
}

.three_columns > .right_content{
   text-align: right;
   margin-right: 40px;
}


/* Dades difunt (nom i data defunció, columna de l'esquerra) */
.enhanced_comments .post_info { color: #999; font-size: 1.667em; text-transform: capitalize; }


/* Llista d'autors de comentaris (columna de la dreta) */
.enhanced_comments .comments_list ul{
   list-style: none;
   padding: 0;
   margin: 0;
   float: right;
   color: #999;
   font-size: 1.667em;
}

.enhanced_comments .comments_list ul li{
   font-size: 0.778rem;
   color: #999999;
   cursor: pointer;
   line-height: 60px;
   width: auto !important;
}

@media (max-width: 1400px) {
    .enhanced_comments .comments_list ul.messos li{
        line-height: 40px;
    }
}

.enhanced_comments .comments_list ul.messos li.disabled {
    opacity: 0.5;
    cursor: default;
}

.enhanced_comments .comments_list ul li.active{
   font-size: 1.667rem;
   color: inherit;
   cursor: default;
   margin-top: 10px;
}

.enhanced_comments .comments_list ul li:first-child{
    margin-top: 0;
}

/* Slider vertical en els autors dels comentaris */

.bx-pager.bx-default-pager { display: none; }

.bx-wrapper { position: relative; }
.bx-viewport { box-sizing: content-box; /*padding-bottom: 20px;*/ }

.bx-controls-direction{display:none;}

.bx-prev, .bx-next{ position: absolute; right: 0; font-family: 'funeicon'; font-size: 42px; }
.bx-prev:before, .bx-next:before { content: "\e903"; color: #dedddd; }
.bx-prev { top: -70px; transform: rotate(-90deg); }
.bx-next { bottom: -70px; transform: rotate(90deg); }
.bx-prev.disabled, .bx-next.disabled { display: none; }




.enhanced_comments > .middle_content{
   /*position: relative;*/
   flex-grow: 10;
   /*margin: 0 10px;*/
}

.enhanced_comments > .middle_content > div{
    display: none;
    /*position: relative;*/
    padding: 0 10px;
}

.enhanced_comments > .middle_content > div.active{
    display: block;
    max-width: 820px;
    margin: 0 auto;
    width: 100%;

}

.enhanced_comments > .middle_content > div .actions{
   position: absolute;
   display: none;
   width: 65vw;
   /*bottom: 10vw;*/
   top: 75%;
   left: 50%;
   transform: translate(-50%,0);
   color: #999999;
   z-index: 2000;
   -moz-transition: all 0.5s ease;
   -o-transition: all 0.5s ease;
   -webkit-transition: all 0.5s ease;
   transition: all 0.5s ease;
}
#page-wrapper.toggled .actions { margin-left: 496px; }

.enhanced_comments > .middle_content > div.active .actions{ display: block; }

.enhanced_comments > .middle_content > div.active .actions > * {
    position: relative;
    cursor: pointer;
}

.enhanced_comments > .middle_content > div.active .actions > * > span{
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    padding-top: 15px;
    white-space: nowrap;
}

.enhanced_comments > .middle_content > div.active .actions .left{
    float: left;
}
.enhanced_comments > .middle_content > div.active .actions .middle{
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
}
.enhanced_comments > .middle_content > div.active .actions .right{
    float: right;
}

.enhanced_comments > .middle_content > div .actions i{
   display: block;
}



.enhanced_comments .comment_detail .content{
   font-size: 2.222em;
   font-style: italic;
   line-height: 1.325;
   display: inline-block;
   text-align: center;
   margin-bottom: 110px;
}

.enhanced_comments .comment_detail .author {
    display: block;
    font-size: 1.556em;
    text-align: center;
    color: #B99B48;
    margin-bottom: 20px;
}
.enhanced_comments .comment_detail .date {
    display: block;
    color: #999;
    font-size: 1.667em;
    margin-bottom: 20px;
}
.enhanced_comments .comment_detail .signature {
    margin-top: 20px;
    text-align: center;
}

.enhanced_comments .comment_detail .signature img {
    width: 310px;
    height: 140px;
}

.enhanced_comments .comment_detail .new_comment_btn {
    cursor: pointer;
}

.enhanced_comments .no-comments {
    color: #ddd;
    font-style: normal !important;
}


.error-messages{ color: #FF0000; text-align: left; margin-bottom: 20px; display: none; margin-left: 25px; margin-right: 25px; }


/*----------  Formulari afegir comentari  ----------*/

.enhanced_comments canvas#signature { cursor: crosshair; position: relative; width: 100%; }

.enhanced_comments > .middle_content > .new_comment.active { max-width: 600px; }

.enhanced_comments > .middle_content > .new_comment > div form { /*margin-left: -25px; margin-right: -25px;*/ }

.enhanced_comments > .middle_content > .new_comment > div form > p { width: 50%; float: left; padding-left: 25px; padding-right: 25px; position: relative; text-align: left; }

.enhanced_comments > .middle_content > .new_comment textarea, .enhanced_comments > .middle_content > .new_comment p { margin-bottom: 0; }

.enhanced_comments > .middle_content > .new_comment > div form > p.comment-form-comment { width: 100%; }

.enhanced_comments > .middle_content > .new_comment > div form > p .comment_limit_info { float: right; color: #999999; }

.enhanced_comments > .middle_content > .new_comment > div form > p > label { text-align: left; display: none; }

.enhanced_comments > .middle_content > .new_comment > div form > p.comment-form-comment > label { display: initial; }

.enhanced_comments .add_signature > div { position: relative; }

.enhanced_comments .add_signature .canvas_wrapper { position: relative; }

.enhanced_comments .add_signature .actions .borrar { display: none; }
.enhanced_comments .add_signature.signed .actions .borrar { display: block }

.enhanced_comments .add_signature .desc_add_signature { color: #DDDDDD; pointer-events: none; }
.enhanced_comments .add_signature.signing .desc_add_signature { display: none; }


.enhanced_comments .feedback { width: 600px; color: #999999; font-size: 1.556em; }

.enhanced_comments .feedback .actions { max-width: 370px; }

/*=====  End of llibre de vida  ======*/


/*------------------------------*/
/*        Loop difunts          */
/*------------------------------*/

table.loop-difunts {position: relative;}

table.loop-difunts > thead > tr > th { color:#B99B48; font-weight: 300; padding-bottom: 30px !important; line-height: 1 }

table.loop-difunts > tbody > tr{border-top: 1px solid #95989A !important; height: 50px; position: relative;}
table.loop-difunts > tbody > tr > td{font-size: 1.222em; color: #999999; padding-right: 10px; }
table.loop-difunts > tbody > tr > td [class^="icon-"], table.loop-difunts > tbody > tr > td [class*=" icon-"] { font-size: 34px; }
table.loop-difunts > tbody > tr > td [class^="icon-"]::before, table.loop-difunts > tbody > tr > td [class*=" icon-"]::before { color: #bbbbbb; }
table.loop-difunts > tbody > tr > td.footable-last-visible{ padding-right: 35px; position: relative; }
table.loop-difunts > tbody > tr > td > a{position: relative; top: 2px; }

table.loop-difunts span.fooicon {
    position: absolute;
    right: 0;
    top: 15px;
    font-size: 28px;
    float: right;
    transform: rotate(90deg);
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;

    font-family: 'funeicon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

table.loop-difunts .nom_difunt { text-transform: capitalize; }

table.loop-difunts span.fooicon.fooicon-minus { transform: rotate(-90deg); }

table.loop-difunts span.fooicon:before{ content: "\e903";color: #dedddd; }

/* Marge diferent per a la pàgina de cerimònies */
.cerimonies table.loop-difunts { margin-top: 100px; }


/* Taula responsive : Estils de la taula interna, que es troba a dins de cada resultat, que conté els camps que no es mostren al loop i que només es desplega al fer clic en un resultat */

table.loop-difunts > tbody > tr.footable-detail-row { border-top: none !important; }

table.loop-difunts.footable-details {margin-top: 10px; margin-bottom: 10px;}
table.loop-difunts.footable-details > tbody > tr { border-top: 0 !important; }
table.loop-difunts.footable-details > tbody > tr > th { color:#B99B48; font-weight: 300; padding-right: 20px; }
table.loop-difunts.footable-details > tbody > tr > td,
table.loop-difunts.footable-details > tbody > tr > th { vertical-align: middle; padding-top: initial; padding-bottom: initial; }
table.loop-difunts.footable-details > tbody > tr > td > a > span { font-size: 28px; }


/*=============================================
=                   Cercador                  =
=============================================*/


/*
asp_custom_f{color:#B99B48;font-weight: 300; padding-bottom: 30px;}
table tr{border-top: 1px solid #95989A;}
table td{padding-top: 15px; font-size: 1.667em; color: #999999;}
table tr:first-child{border-top: 0px; }
*/

/*============================================
=               Feedback form                =
=============================================*/

.feedback-form {
    z-index: 3000;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.8);
}

.spinner-wrapper{
    width: 40px;
    height: 40px;
}


.spinner {
    width: 100%;
    height: 100%;
    background-color: #222;
    margin: 0;
  
    border-radius: 100%;  
    -webkit-animation: sk-scaleout 2.0s infinite ease-in-out;
    animation: sk-scaleout 2.0s infinite ease-in-out;
  }
  
  @-webkit-keyframes sk-scaleout {
    0% { -webkit-transform: scale(0) }
    100% {
      -webkit-transform: scale(1.0);
      opacity: 0;
    }
  }
  
  @keyframes sk-scaleout {
    0% { 
      -webkit-transform: scale(0);
      transform: scale(0);
    } 100% {
      -webkit-transform: scale(1.0);
      transform: scale(1.0);
      opacity: 0;
    }
  }


/* =========================== Woocommerce =========================== */


/*=====  End of Product page ======*/


/*=============================================
=                Product loop                =
=============================================*/


.woocommerce ul.products li.product .button-icon { color: #B99B48; }


/*=====  End of Product loop ======*/

/*=============================================
=                 Cart page                   =
=============================================*/
/*
.woocommerce-cart .cart_totals { display: none; }
.woocommerce-cart .shop_table .actions { display: none; }
.woocommerce-cart .shop_table .product-remove { display: none; }
*/


/*=====  End of Cart ======*/

/*=============================================
=               Checkout page                 =
=============================================*/



.select2-container--default .select2-selection--single { border-left: none; border-top: none; border-right: none; border-radius: initial; }
.select2-container .select2-selection--single .select2-selection__rendered { padding-left: 0; }

.woocommerce-checkout > div h2 {margin-top: 0;}

.woocommerce form .form-row { margin-bottom: 20px; }

.woocommerce table.shop_table,
.woocommerce table.shop_table td,
.woocommerce table.shop_table tbody th, 
.woocommerce table.shop_table tfoot th,
.woocommerce table.shop_table tfoot td { border-top: none; border-left: none; border-right: none; border-bottom: none; }

.woocommerce table.shop_table th,
.woocommerce table.shop_table td { padding: 10px 0; vertical-align: initial; }

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment { background: transparent; }
#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box { background: transparent; }
#add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before { display: none; }

.woocommerce-checkout-payment input[type='radio'] { visibility: hidden; position: absolute; width: 0; }

#add_payment_method #payment ul.payment_methods, .woocommerce-cart #payment ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods { border-bottom: none; padding: 0; }

#add_payment_method #payment div.form-row, .woocommerce-cart #payment div.form-row, .woocommerce-checkout #payment div.form-row { padding: 0; margin: 0; margin-top: 20px; }


.woocommerce #payment #place_order, .woocommerce-page #payment #place_order { color: inherit; background-color: rgba(0, 0, 0, 0); padding: 0; font-weight: normal; border-radius: initial; text-align: left; width: auto; }

.woocommerce #payment input[type="radio"]:checked + label { color: #222222; }

.woocommerce table.shop_table th { font-weight: normal !important; color: #B99B48; }

.woocommerce table.shop_table tfoot td { font-weight: normal; }

.woocommerce-checkout #payment ul.payment_methods li { margin-top: 1em; }

#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box { color: #999999; margin: 0; }

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {float: left;}

.product-quantity { display: none; }

dd.variation-Cerimnia { text-transform: capitalize; }


#add_payment_method #payment .payment_method_paypal img, .woocommerce-cart #payment .payment_method_paypal img, .woocommerce-checkout #payment .payment_method_paypal img {max-height: 65px;}

/*=====  End of Checkout page ======*/

/*=============================================
=             Pàgines estàtiques             =
=============================================*/
@media (min-width: 767px){
    .entry-content .two-cols { column-count: 2; column-gap: 100px; }
}

.static-page .entry-content h2 { color: #B99B48; }
.static-page .entry-content h2:first-child { margin-top: 0; }



.static-page .entry-content a { float: left; margin-bottom: 10px; outline: 0; }

.static-page .entry-content a img { margin: 0; width: 100%; max-width: 480px; height: auto; }

h1.gallery-title{ font-size:1.667em; margin-top: 0; color: #B99B48; margin-bottom: 30px; }

/* =========================== Galeria d'imatges =========================== */

body .mfp-bg {background-color: #fff; opacity: 1;}
body img.mfp-img {padding: 0;}
body .mfp-bottom-bar {display: none;}
body .mfp-figure:after {display: none;} /* treure box shadow de la imatge */
body .mfp-gallery .mfp-image-holder .mfp-figure .prev-image { cursor: url('images/icon-prev.png'), auto; }
body .mfp-gallery .mfp-image-holder .mfp-figure .next-image { cursor: url('images/icon-next.png'), auto; }

body .mfp-gallery .mfp-image-holder .mfp-figure .prev-image,
body .mfp-gallery .mfp-image-holder .mfp-figure .next-image{ position: absolute; width: 50%; top: 0; height: 100%; }

body .mfp-gallery .mfp-image-holder .mfp-figure .next-image{ right: 0; }

body .mfp-gallery .mfp-image-holder .mfp-figure figure img {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

body .mfp-gallery .mfp-image-holder .mfp-figure:after {content: ' ';}

.bttn-gallery-button {
    overflow: visible;
    cursor: pointer;
    background: rgba(0, 0, 0, 0);
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: none;
    padding: 0;
    z-index: 1046;
    box-shadow: none;
    touch-action: manipulation;
    position: absolute;
    opacity: 0.65;
    margin: 0;
    top: 50%;
    margin-top: -55px;
    padding: 0;
    width: 90px;
    height: 110px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.bttn-gallery-button-right{
    right: 0;
}
.preload {display: none}



/* ====== Move-horizontal effect ====== */

.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
	opacity: 0;
	-webkit-backface-visibility: hidden;
	/* ideally, transition speed should match zoom duration */
	-webkit-transition: all 0.3s ease-out; 
	-moz-transition: all 0.3s ease-out; 
	-o-transition: all 0.3s ease-out; 
	transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
		opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
		opacity: 1;
}

.mfp-with-zoom.mfp-removing .mfp-container, 
.mfp-with-zoom.mfp-removing.mfp-bg {
	opacity: 0;
}

/* Contacte */

#mapDiv .place-card { display: none; }

/*=====  End of Pàgines estàtiques ======*/

.page-template-familiar h1 {
    margin-top: 20px;
}

.moderate-comments th {
    padding: 0 20px;
}
.moderate-comments td {
    padding: 10px 20px;
}

