@charset "UTF-8";

/*-----------------------------------------------------------

  Theme Name: Funeraries Divi
  Version: 1.01
	License: GNU General Public License version 2.0

  Description:    Tema nen per Divi creat per Xavir Cáliz amb funcions pròpies,
  personalització de la pàgina de login i hack perquè les traduccions
  al català no s'esborrin quan s'actualitzen les del tema principal.
  Author:         Xavier Caliz
  Template:       Divi

*/
/*-------------
  COLORS 2018

  verd fosc: #00586F
  verd clar: #908C13
  tint verd fosc: #7ab4b8
  tint verd clar: #e8e6b9

--------------- */
#top-header {
  background-color: #00586f;
}

#et-secondary-menu li.contacte-menu a {
  color: #f3eb60 !important;
  font-weight: bold !important;
  text-transform: uppercase;
}

#top-header .user_menu_link {
  display: block;
  float: left;
  margin-right: 1em;
}

.amaga {
  display: none !important;
}

.logged-in .amaga {
  display: initial !important;
}

/*-----------------Menu Icons---------------- */
.menu-cerques a:after {
  font-family: "ETmodules" !important;
  content: "U";
  margin-right: 10px;
  margin-top: 1px;
  font-size: 18px;
  float: right;
}

.menu-home {
  width: 120px;
}

/* Lens icon -----------------------*/
#et_top_search {
  // display: none;
}

.search.search-results #et_top_search,
.page-id-105 #et_top_search {
  display: initial;
}

/* usuari al menu secundari */
#top-header a span.user-log {
  color: #71c7cf;
}

#top-header a:hover span.user-log {
  color: #cdef7d;
}

#top-header a span.user-log-role {
  color: #ffffff;
}

body {
  font-size: 16px;
  background-color: rgba(0, 90, 113, 0.85);
}

.home .header-content-container .header-content .et_pb_module_header,
.home .header-content-container .header-content .et_pb_header_content_wrapper {
  background-color: rgba(0, 88, 111, 0.6);
}

.home .header-content-container .header-content .et_pb_module_header {
  padding: 1em 2em 0.5em 2em;
  font-size: 42px;
}

.home .header-content-container .header-content .et_pb_header_content_wrapper {
  padding: 0 2em 2em 2em;
}

.contenidor {
  padding: 2em;
  border: solid 1px #02586f;
  margin: 2em 0;
}

/* ********************************
	Pup Up Maker
	******************************/
.pum-container a {
  color: #e4f59b;
}

.pum-container a:hover {
  color: #f7f5d4;
}

.pum-container ul {
  margin-top: 1em;
}

.pum-container ul li {
  line-height: 1.1em;
  padding: 0.6em 0;
  border-bottom: solid rgba(255, 255, 255, 0.53) 1px;
}

.pum-container ul li:last-child {
  border-bottom: none;
}

/* logo sobreposat sobre el slider */
/*********************************
change logo for fixed header (quick and easy way)
**********************************/
.et-fixed-header #logo {
  content: url(https://www.asfuncat.cat/wp-content/uploads/2018/09/logo-asfuncat.png);
}

/* -----------------
  HOME
  ------------------*/
/* Pop up politica de cookies */
.ca .cookiesES {
  display: none;
}

.es .cookiesCA {
  display: none;
}

/* filets de resum dels posts */
article .et_pb_image_container {
  border-left: 1px solid #00586f !important;
  border-right: 1px solid #00586f !important;
  border-top: 1px solid #00586f !important;
}

.et_pb_blog_0 .et_pb_blog_grid .et_pb_post {
  border-color: #00586f !important;
}

/* Divi full screen */
.et_fullscreen_slider .et_pb_slides,
.et_fullscreen_slider .et_pb_slide,
.et_fullscreen_slider .et_pb_container {
  min-height: 100% !important;
  height: 100% !important;
}

/* Amaga el paràgarf de sota el menu al home */
.home .entry-content p:first-child {
  display: none;
}

/* El torna a mostrar a la resta de divs */
.home .entry-content div p:first-child {
  display: block;
}

#main-header,
#et-top-navigation {
  font-weight: 400;
  font-family: "Saira Condensed", sans-serif !important;
}

/* Invitacio Forum Panasef */
#invitacio-forum table,
#invitacio-forum table td {
  border: none;
}

/* animacio subratllat menus */
#top-menu .current-menu-item a::before,
#top-menu .current_page_item a::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
}

#top-menu li a:before {
  content: "";
  position: absolute;
  z-index: -2;
  left: 0;
  right: 100%;
  bottom: 50%;
  background: #00586f;
  /*** COLOR OF THE LINE ***/
  height: 3px;
  /*** THICKNESS OF THE LINE ***/
  -webkit-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

#top-menu li a:hover {
  opacity: 1 !important;
}

#top-menu li a:hover:before {
  right: 0;
}

#top-menu li li a:before {
  bottom: 10%;
}

/* Slider */
.home div.et_pb_slide_content {
  padding-top: 1em;
}

/* Atenció a les famílies i formulari home */
#formulari label,
#formulari h3 {
  color: #fff;
}

#formulari a {
  color: #ffd0d0;
}

.et_color_scheme_red #contacte a {
  color: #684b18 !important;
}

.et_color_scheme_red #contacte a:hover {
  color: #f9eace !important;
}

#contacte #text-contacte a:hover {
  color: #8cdedb !important;
}

#formulari a:hover {
  color: #ffdb83;
}

#formulari input,
#formulari textarea {
  background-color: rgba(255, 255, 255, 0.3) !important;
  border-color: #fff !important;
  border-radius: 0px !important;
  color: #fff !important;
  font-size: 18px;
}

button.frm_button_submit {
  background-color: #d7a007 !important;
  border-color: #fff !important;
  border-radius: 0px !important;
  color: #fff !important;
  font-size: 18px;
}

.frm_style_formidable-style.with_frm_style .frm_message,
.frm_success_style {
  background-color: #fbf0b7;
  border: 1px solid #ffe86f;
  border-radius: 0px;
  color: #ff9200;
}

.frm_style_formidable-style.with_frm_style .frm_message p {
  color: #f56d23;
}

.frm_style_formidable-style.with_frm_style .frm_blank_field label,
.frm_style_formidable-style.with_frm_style .frm_error {
  color: #ffdb93;
}

/* Empreses i instal·lacions */
/********************************
  EMPRESA (single post)
 ***********************/
img.alignleft {
  margin-right: 30px;
}

/***********************************************************************
******************** SOCIAL MEDIA CONTACT  ************************
*********************************************************************/
.social_media_custom_1.et_pb_social_media_follow {
  right: 75% !important;
}

.social_media_custom_2.et_pb_social_media_follow {
  right: 50% !important;
}

.social_media_custom_3.et_pb_social_media_follow {
  right: 25% !important;
}

.social_media_custom_4.et_pb_social_media_follow {
  right: 0 !important;
}

.social_media_custom_1,
.social_media_custom_2,
.social_media_custom_3,
.social_media_custom_4 {
  margin-bottom: 0px !important;
  background-color: #01d6c4;
  /* <-------- Customize here the Background-color */
  padding: 5px 5px 0px 15px !important;
  position: absolute;
  bottom: 0 !important;
}

/* Notícies Tanacat */
.noticies-header.et_pb_module.et_pb_fullwidth_header {
  padding-top: 160px;
}

.noticies-header.et_pb_module
  .et_pb_fullwidth_header_container.left
  > div.header-content-container.center
  > div {
  padding-top: 30px;
}

.et_pb_fullwidth_header {
  padding: 50px 0 0;
  position: relative;
  background-position: 50%;
  background-size: cover;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_container {
  position: relative;
  z-index: 3;
  width: 80%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_container.left {
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: row;
  flex-flow: row;
}

.et_pb_fullwidth_header.et_pb_fullwidth_header_0 {
  background-image: linear-gradient(
    180deg,
    rgba(0, 88, 111, 0.36) 0%,
    rgba(0, 88, 111, 0.06) 100%
  );
  background-color: rgba(255, 255, 255, 0);
}

.post-type-archive-noticies h2.entry-title {
  margin-top: 0.8em;
  line-height: 1.1em;
}

article .et_pb_image_container {
  border-left: 1px solid #e29d88;
  border-right: 1px solid #e29d88;
  border-top: 1px solid #e29d88;
}

.single-noticies h3 {
  border-top: 1px solid #908c13;
  padding-top: 0.5em;
  margin-top: 0.5em;
  font-weight: bold;
  color: #00586f;
}

.noticies-template-default #main-content > div.container {
  padding-top: 50px !important;
}

/* imatges.  */
.single-noticies div.wp-caption {
  border: none;
  padding: 0;
  background-color: transparent;
  max-width: 100%;
}

/** overly */
.single-noticies .wp-caption img:hover {
  filter: opacity(80%);
  cursor: hand;
}

div.entry-content blockquote p {
  font-weight: bold;
  font-style: italic;
}

/* --------------------------------------------
  EMPRESES TANATORIS CREMATORIS CEMENTIRIS  INSTALLACIONS
  ---------------------------------------------*/
.empreses-section article .post-content,
.tanatoris-section article .post-content,
.crematoris-section article .post-content,
.installacions-section article .post-content,
.cementiris-section article .post-content {
  display: none;
}

.installacions .et_pb_fullwidth_header {
  padding-top: 160px !important;
  padding-bottom: 20px !important;
}

.et_pb_bg_layout_dark h2#h-installacions {
  padding-top: 10px !important;
  color: #7ab4b8 !important;
  text-transform: uppercase;
}

/*
 #main-content .container{
}
*/
.single-installacions #main-content > div {
  padding-top: 18px !important;
}

.empreses-section article,
.tanatoris-section article,
.crematoris-section article,
.installacions-section article,
.cementiris-section article {
  margin-bottom: 1em !important;
  padding: 10px !important;
}

.empreses-section article h2,
.tanatoris-section article h2,
.crematoris-section article h2,
.installacions-section article h2,
.cementiris-section article h2 {
  padding-bottom: 0 !important;
}

.empreses-section article a,
.tanatoris-section article a,
.crematoris-section article a,
.installacions-section article a,
.cementiris-section article a {
  color: #9d0505;
  font-family: "Saira Condensed", sans-serif !important;
}

.empreses-section article a:hover,
.tanatoris-section article a:hover,
.crematoris-section article a:hover,
.installacions-section article a:hover,
.cementiris-section article a:hover {
  color: #020202;
}

.companyies-template-default p.post-meta,
.tanatoris-template-default p.post-meta,
.crematoris-template-default p.post-meta,
.installacions-template-default p.post-meta,
.cementiris-template-default p.post-meta {
  display: none;
}

#afuncat-content {
  padding-bottom: 2em;
}

#afuncat-content h2 {
  border-bottom: 1px solid #00586f;
}

/* galeria de les imatges  */
.et_pb_module.et_pb_gallery.afc-gallery.afc-tanatoris.et_pb_bg_layout_light.et_pb_gallery_grid {
  padding-bottom: 2em;
}

.et_pb_module.et_pb_gallery.afc-gallery.afc-tanatoris.et_pb_bg_layout_light.et_pb_gallery_grid
  h3.et_pb_gallery_title {
  padding-bottom: 0;
}

.et_pb_gutters1.et_pb_row .et_pb_column_4_4 .afc-gallery .et_pb_grid_item {
  background-color: #00586f;
  color: #fff;
  text-align: center;
  margin: 0;
  width: 33%;
  clear: none;
  min-height: 240px;
}

/* dues columnes */
.et_pb_gutters1.et_pb_row
  .et_pb_column_4_4
  .afc-gallery.afc-2cols
  .et_pb_grid_item {
  width: 50%;
  min-height: 300px;
}

.afc-gallery .et_pb_gallery_item.et_pb_grid_item h3 {
  color: #e8e6b9;
  text-align: center;
  padding: 5px 3px;
}

.afc-gallery .et_pb_gallery_caption {
  display: none;
}

.afc-gallery.afc-tanatoris .et_pb_gallery_caption {
  display: inline;
}

.et_pb_gutters1.et_pb_row
  .et_pb_column_4_4
  .afc-gallery
  .et_pb_grid_item
  .et_pb_gallery_image.landscape {
  max-height: 180px;
}

.et_pb_gutters1.et_pb_row
  .et_pb_column_4_4
  .afc-gallery.afc-2cols
  .et_pb_grid_item
  .et_pb_gallery_image.landscape {
  max-height: 250px;
}

/*
.et_pb_gutters1.et_pb_row .et_pb_column_4_4 .afc-gallery .et_pb_grid_item:last-child .et_pb_gallery_image.landscape{
	border-right: none;
}
*/
.et_pb_gutters1.et_pb_row .et_pb_column_4_4 .afc-gallery .et_pb_grid_item {
  border-right: 1px solid #00586f;
  border-bottom: 1px solid #00586f;
}

.et_pb_gutters1.et_pb_row
  .et_pb_column_4_4
  .afc-gallery
  .et_pb_grid_item:last-child {
  border-right: none;
}

.et_pb_gallery_item h3.et_pb_gallery_title {
  border-top: none;
  padding: 0 12px !important;
  line-height: 1.3em;
  min-height: 50px;
}

/* -------------------------------------
	INFORMACIO
-------------------------------------------- */
.informacio-ins {
  padding-top: 1em;
}

/* -------------------------------------
	CERQUES MAPES
-------------------------------------------- */
.wpgmp_map_container .wpgmp_filter_wrappers {
  background-color: #e8e6b9;
  font-family: "Droid Sans", Helvetica, Arial, Lucida, sans-serif !important;
}

.wpgmp_map_container .wpgmp_filter_wrappers select {
  background-color: #908c13;
  padding: 1em 2em 1em 1.5em;
  font-size: 18px;
}

.fc-item-kairav.fc-wait.masonry-brick
  .fc-component-block
  .fc-component-content
  ul {
  padding-left: 0 !important;
}

.fc-component-content ul li.fc-component-text {
  background-color: #cee6e7 !important;
}

.fc-component-content ul li.fc-component-text div a,
.fc-component-content ul li.fc-component-text .fc-location-marker {
  color: #00586f !important;
  font-family: "Droid Sans", Helvetica, Arial, Lucida, sans-serif;
}

.fc-component-content ul li.fc-component-text div h4 a {
  text-transform: none;
  font-weight: 700 !important;
}

.wpgmp_tabs_container .wpgmp_tabs li a.active {
  background-color: #00586f !important;
}

.wpgmp_toggle_main_container input[type="submit"] {
  background-color: #908c13 !important;
}

/* -------------------------------------
  SIDEBAR
  ---------------------------------------------*/
#sidebar h4 {
  color: #00586f;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px #00586f solid;
}

#sidebar .advanced_recent_posts_widget ul li {
  margin: 5px 0;
  padding: 5px 0;
  border-bottom: 1px dotted #00586f;
}

#sidebar #custom_html-2.et_pb_widget {
  margin-bottom: 0;
}

/*** Amaguem el sidebar d'algunes pagines (empreses) ***/
/*** Take out the divider line between content and sidebar ***/
.companyies-template-default #main-content .container:before,
.tanatoris-template-default #main-content .container:before,
.crematoris-template-default #main-content .container:before,
.installacions-template-default #main-content .container:before,
.cementiris-template-default #main-content .container:before {
  background: none;
}

/********************************
	LLISTAT TANATORIS ETC
 ***********************/
ul.grid-establiments {
  list-style: none;
  padding: 0;
}

ul.grid-establiments li a {
  display: block;
  padding: 10px;
  margin-top: 8px;
  color: #00586f;
  background-color: #cee6e7;
}

ul.grid-establiments li a:hover {
  background-color: #dad9a3;
  cursor: pointer !important;
}

.page-id-31 ul.grid-establiments li {
  display: block;
  padding: 0;
  margin-top: 8px;
  color: #00586f;
  background-color: #cee6e7;
  position: relative;
  min-height: 72px;
}

.page-id-31 ul.grid-establiments li a {
  text-align: center;
  font-weight: bold;
  padding: 0 10px 0 10px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 72px;
}

.peu-panorama .et_pb_text_inner p {
  font-family: "Saira Semi Condensed", Helvetica, Arial, Lucida, sans-serif;
  color: #fff;
  text-align: center;
  background-color: #00586f;
  padding-bottom: 12px;
}

/**********************************************************
******************** PANORAMES  ************************
********************************************************/
p.peu-panorama {
  background-color: #00586f;
  color: #fff;
  padding: 6px;
  margin-bottom: 30px;
  text-align: center;
}

div.wpps_container {
  margin-bottom: 0 !important;
}

/**********************************************************
******************** ANIMATION  ************************
********************************************************/
/******* From Bottom *******/
.bottom-animated.et-animated {
  opacity: 1;
  -webkit-animation: fadeBottom 0.8s 1 cubic-bezier(0.43, 0, 0.53, 0.94);
  -moz-animation: fadeBottom 0.8s 1 cubic-bezier(0.43, 0, 0.53, 0.94);
  -o-animation: fadeBottom 0.8s 1 cubic-bezier(0.43, 0, 0.53, 0.94);
  animation: fadeBottom 0.8s 1 cubic-bezier(0.43, 0, 0.53, 0.94);
}

/********************************************************
 Tablepress and Tablesorter
 ********************************************************/
/* Table description */
table.tablesorter,
table.tablesorter th,
table.tablesorter td {
  border: none;
}

.tablepress tbody td,
.tablepress tfoot th {
  border-top: none;
}

.tablepress thead th {
  border-bottom: none !important;
}

.tablesorter th.tablesorter-header {
  border: 0;
  border-bottom: 4px solid #fff;
  background-color: #e8e6b9;
}

.tablesorter th.tablesorter-header:hover {
  background-color: #f1f3ce;
}

/* Row background colors */
.tablepress thead th,
.tablepress tfoot th {
  background-color: #84bec2 !important;
  font-weight: bold;
  vertical-align: middle;
}

.tablepress .odd td,
.tablesorter tr.odd {
  background-color: #cee6e7 !important;
}

.tablepress .even td,
.tablesorter tr.even {
  background-color: #ffffff;
}

.tablepress .row-hover tr:hover td {
  background-color: #b7d8da !important;
}

/*************************************************
	Seccio Contacte laboral i web interna
	**********************************************/
/*** Take out the divider line between content and sidebar ***/
.single-candidat #main-content .container:before {
  background: none;
}

/*** Hide Sidebar ***/
.single-candidat #sidebar {
  display: none;
}

/*** Expand the content area to fullwidth ***/
@media (min-width: 981px) {
  .single-candidat #left-area {
    width: 100%;
    padding: 23px 0px 0px !important;
    float: none !important;
  }
}

/* instruccions empreses */
.web-intern .et_pb_text h1 {
  font-weight: 700;
  font-size: 42px;
  color: #70bed8 !important;
  line-height: 1.3em;
}

.subtitol p {
  color: #eae89a;
}

.web-intern .et_pb_text h2 {
  color: #00586f !important;
  border-bottom: 2px solid #0087a8;
}

.web-intern .et_pb_column_4_4 {
  padding-bottom: 0;
}

.web-intern .et_pb_image,
.xc_filet_imatge {
  border: 1px solid #ccc;
}

.web-intern .peu-foto {
  font-size: 14px;
  font-style: italic;
  color: #999999;
  padding-bottom: 5px;
  margin-bottom: 30px !important;
  padding-top: 5px;
}

.web-intern h3 {
  color: #908c13;
}

.contacte-laboral a {
  color: #005870;
  font-weight: bold;
}

.contacte-laboral a:hover {
  color: #908c13;
}

/* Account page nav buttons, and other buttons used by Formidable */
.contacte-laboral
  .frm_style_formidable-style.with_frm_style
  .form-field.frm_section_heading {
  padding: 0 0 1em 0;
}

.contacte-laboral
  .frm_style_formidable-style.with_frm_style
  .frm-show-form
  .frm_section_heading
  h3 {
  font-family: "Saira Semi Condensed", Helvetica, Arial, Lucida, sans-serif;
  color: #00586f;
  font-size: 35px;
  border-top: none;
  padding-top: 0;
}

.contacte-laboral
  .frm_style_formidable-style.with_frm_style
  label.frm_primary_label {
  font-family: "Saira Semi Condensed", Helvetica, Arial, Lucida, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #00586f;
}

/**** Butons Formulari Laboral ****/
.contacte-laboral .frm_submit button {
  float: right;
  margin-top: -1.5% !important;
  text-align: right;
}

.contacte-laboral .frm_submit button.frm_button_submit,
.contacte-laboral .button-primary,
.contacte-laboral a.frm_inplace_edit.frm_edit_link,
.contacte-laboral a.frm_delete_link,
.contacte-laboral a.frm_cancel_edit,
.contacte-laboral a.frm_logout_link,
.contacte-laboral
  .frm_style_formidable-style.with_frm_style
  input[type="submit"] {
  color: #ffffff !important;
  border-width: 10px !important;
  border-color: #00586f !important;
  border-radius: 100px !important;
  letter-spacing: 1px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  padding-left: 2em !important;
  padding-right: 2em !important;
  background-color: #00586f !important;
}

.contacte-laboral a.frm_inplace_edit.frm_edit_link,
.contacte-laboral a.frm_cancel_edit,
.contacte-laboral a.frm_logout_link {
  padding: 1.2em;
}

.contacte-laboral a.frm_delete_link {
  padding: 1em;
}

.contacte-laboral .frm_edit_link_container,
.contacte-laboral a.frm_delete_link,
.contacte-laboral a.frm_cancel_edit {
  margin: 1.5em 1em 1em 0;
  display: inline-block;
}

a.mod_dades {
  margin-right: 1em;
}

.contacte-laboral .frm_submit button:hover,
.contacte-laboral a.frm_inplace_edit.frm_edit_link:hover,
.contacte-laboral a.frm_delete_link:hover,
.contacte-laboral a.frm_cancel_edit:hover,
.contacte-laboral a.frm_logout_link:hover,
.contacte-laboral
  .frm_style_formidable-style.with_frm_style
  input[type="submit"]:hover {
  background-color: #44958d !important;
}

.clau-perduda #frm-reset-password-0 .frm_description {
  display: none;
}

/*styles form fields and text form field text*/
.contacte-laboral .frm_form_field textarea,
.contacte-laboral .frm_form_field select,
.contacte-laboral .frm_style_formidable-style.with_frm_style input[type="text"],
.contacte-laboral .frm_style_formidable-style.with_frm_style input[type="url"],
.contacte-laboral .frm_style_formidable-style.with_frm_style input[type="tel"],
.contacte-laboral
  .frm_style_formidable-style.with_frm_style
  input[type="number"],
.contacte-laboral
  .frm_style_formidable-style.with_frm_style
  input[type="email"],
.contacte-laboral
  .frm_style_formidable-style.with_frm_style
  input[type="password"] {
  font-family: "Saira Semi Condensed", Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  border: 1px solid rgba(71, 74, 182, 0.12) !important;
  color: #0088aa !important;
  padding: 12px 10px !important;
  background: #f8f8f8 !important;
  line-height: 19px;
  height: 54px;
  border-radius: 0;
}

.contacte-laboral
  .frm_style_formidable-style.with_frm_style
  div.frm_description,
.contacte-laboral .with_frm_style .vertical_radio .frm_radio label {
  color: #999;
  font-size: 14px;
  line-height: 1em;
  padding-top: 0.5em;
  font-family: "Saira Semi Condensed", Helvetica, Arial, Lucida, sans-serif;
}

.contacte-laboral .frm_dropzone.dz-clickable {
  font-family: "Saira Semi Condensed", Helvetica, Arial, Lucida, sans-serif;
  color: #0088aa;
  border-color: #0088aa;
}

.contacte-laboral
  .frm_style_formidable-style.with_frm_style
  .frm_icon_font::before {
  color: #0088aa;
}

.contacte-laboral .frm_style_formidable-style.with_frm_style .frm_error {
  color: #d78f00;
}

/*******************************************************************
******************** RESPONSIVE LAYOUT  ************************
******************************************************************/
@media only screen and (max-width: 280px) {
  #logo {
    max-height: 140% !important;
    margin-top: -30px;
    padding-left: 20px;
  }

  h1.entry-title {
    font-size: 24px !important;
  }
}

@media only screen and (min-width: 279px) {
  /* galeria de les imatges  */
  .et_pb_gutters1.et_pb_row .et_pb_column_4_4 .afc-gallery .et_pb_grid_item {
    margin: 0;
    width: 100%;
    clear: none;
    min-height: 200px;
  }

  .afc-gallery .et_pb_gallery_item.et_pb_grid_item h3 {
    padding: 5px 3px;
    font-size: 14px;
  }

  .et_pb_gutters1.et_pb_row
    .et_pb_column_4_4
    .afc-gallery
    .et_pb_grid_item
    .et_pb_gallery_image.landscape {
    overflow: hidden !important;
  }
}

@media only screen and (min-width: 380px) {
  /* galeria de les imatges  */
  .et_pb_gutters1.et_pb_row .et_pb_column_4_4 .afc-gallery .et_pb_grid_item {
    margin: 0;
    width: 100%;
    clear: none;
    min-height: 200px;
  }

  .afc-gallery .et_pb_gallery_item.et_pb_grid_item h3 {
    padding: 5px 3px;
    font-size: 14px;
  }

  .et_pb_gutters1.et_pb_row
    .et_pb_column_4_4
    .afc-gallery
    .et_pb_grid_item
    .et_pb_gallery_image.landscape {
    overflow: hidden !important;
  }
}

@media only screen and (min-width: 490px) {
  /* galeria de les imatges  */
  .et_pb_gutters1.et_pb_row .et_pb_column_4_4 .afc-gallery .et_pb_grid_item {
    margin: 0;
    width: 50%;
    clear: none;
    min-height: 190px;
  }

  .afc-gallery .et_pb_gallery_item.et_pb_grid_item h3 {
    padding: 5px 3px;
    font-size: 14px;
  }

  .et_pb_gutters1.et_pb_row
    .et_pb_column_4_4
    .afc-gallery
    .et_pb_grid_item
    .et_pb_gallery_image.landscape {
    overflow: hidden !important;
    max-height: 140px;
  }
}

@media only screen and (min-width: 719px) {
  /* galeria de les imatges  */
  .et_pb_gutters1.et_pb_row .et_pb_column_4_4 .afc-gallery .et_pb_grid_item {
    margin: 0;
    width: 50%;
    clear: none;
    min-height: 170px;
  }

  .afc-gallery .et_pb_gallery_item.et_pb_grid_item h3 {
    padding: 3px 3px;
    font-size: 14px;
  }

  .et_pb_gutters1.et_pb_row
    .et_pb_column_4_4
    .afc-gallery
    .et_pb_grid_item
    .et_pb_gallery_image.landscape {
    overflow: hidden !important;
    max-height: 150px;
  }
}

@media only screen and (max-width: 980px) {
  #logo {
    max-height: 170% !important;
    margin-top: -30px;
    padding-left: 0;
  }

  /* xcaliz */
  #invitacio-forum div.et_pb_section.et_pb_section_2 {
    background-image: none !important;
  }
}

@media only screen and (min-width: 980px) {
  #logo {
    max-height: 150% !important;
    margin-top: -20px;
    padding-left: 0;
    z-index: 9999 !important;
  }

  .home #logo {
    max-height: 200% !important;
  }

  /* galeria de les imatges  */
  .et_pb_gutters1.et_pb_row .et_pb_column_4_4 .afc-gallery .et_pb_grid_item {
    margin: 0;
    width: 33.3333%;
    clear: none;
    min-height: 240px;
  }

  .et_pb_gutters1.et_pb_row
    .et_pb_column_4_4
    .afc-gallery
    .et_pb_grid_item
    .et_pb_gallery_image.landscape {
    max-height: 180px;
  }
}

/******* Mobile Device *******/
@media only screen and (max-width: 1023px) {
  .cta_custom {
    top: 5px !important;
    position: relative;
  }

  ul.grid-establiments li a {
    padding: 5px;
    margin-top: 5px;
    font-size: 13px;
  }

  .page-id-31 ul.grid-establiments li {
    margin-top: 5px;
    min-height: 54px;
  }

  .page-id-31 ul.grid-establiments li a {
    padding: 0 5px 0 5px;
    height: 54px;
    line-height: 1.1em;
  }
}

/******* Desktop *******/
@media only screen and (min-width: 1024px) {
  .cta_custom {
    top: 35px !important;
    position: relative;
  }
}

/******* Large Screen, Mac 24' ---> *******/
@media only screen and (min-width: 1600px) {
  .cta_custom.et_pb_promo {
    padding-top: 18% !important;
  }
}

/*** Expand the content area to fullwidth ***/
@media only screen and (min-width: 981px) {
  .companyies-template-default #left-area,
  .tanatoris-template-default #left-area,
  .crematoris-template-default #left-area,
  .installacions-template-default #left-area,
  .cementiris-template-default #left-area {
    width: 100%;
    padding: 23px 0px 0px !important;
    float: none !important;
  }

  #invitacio-forum {
    padding: 54px 0 0 0;
  }

  #invitacio-forum .et_pb_text_0 {
    padding: 0 10% 0 10% !important;
  }

  #invitacio-forum .et_pb_row_0 {
    padding: 27px 0 0 0 !important;
  }

  #invitacio-forum .et_pb_column_3_5 {
    padding-top: 0;
    padding-bottom: 10%;
  }
}

/* capçaleres de index de seccions */
.tanatoris.et_pb_section {
  background-image: url("http://www.funeraries.cat/funeraries/wp-content/uploads/2012/03/mans-empreses-tanatoris-funeraries-cat.jpg");
}

.noticies.et_pb_section {
  background-image: url("http://www.funeraries.cat/funeraries/wp-content/uploads/tanacat-cap-seccio-noticies.jpg");
}

/*# sourceMappingURL=style.css.map */

/* Hide visually for front-end users */
.hide-for-empresari {
  display: none !important;
}
