/*
 Theme Name:   mot
 Theme URI:    https://tandem.blog
 Description:  GeneratePress child theme
 Author:       Tandem
 Author URI:   https://tandem.blog
 Template:     generatepress
 Version:      0.1
*/

/* estil editorial edició*/

/* colors */
/* functions.php hi ha la paleta pels selectors de GeneratePress */
:root {
  --blanc: #ffffff;
  --negre: #2d2d2d;
  --ressaltat: #e7d594; /* edicio 2021 */
  --marro: #4a3927; /* edicio 2021 */
  --transparnt: #fff0;
}

p a, li a {
    text-decoration: underline;
}


hr {
    background-color: var(--ressaltat);
}

::selection {
  color: black;
  background: yellow;
}

/* menu */
/* menu fixe */
.nav-float-right .navigation-stick {
    margin: 0 auto;
    max-width: 1200px;
}

/* inici */




/* transperencia capçalera títol */
.entry-header {
    background: #e7d594c4;
    padding: 40px;
}

.entry-content {
    background: var(--blanc);
    padding: 2em;
}

/* portada fons transparent */
body.home .entry-content {
    background: var(--transparnt);
    padding: 0;
}


/* blog */
/* imatge capçalera */
.imatge_destacada_blog {
  margin-bottom: -10px;
}
/* navegacio de posts */
#nav-below {
    background: white;
    padding: 20px;
    border-top: 1px dashed;
}

/* CPT */

/* icones  */

.icona-edicio {
  opacity: 0.2;
}

/* graella tots els actes i autors */

.wp-post-image {
   transition:  .4s ease-out;
}

.wp-post-image:hover {
    opacity: .3;
    transition: .4s ease-out;
}


/* graell actes >> NO link autors */

.fwpl-item.el-r5nxws a {
  pointer-events: none;
  cursor: default;
}


/* CPT actes single */

.descripcio-acte h2 {
    font-size: 1.7rem;
}

.graella-acte {
  background: var(--blanc);
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px;
  grid-template-areas:
       "b a a"
       "c c c";

  align-items: start;
  margin: 0 auto;
}

.graella-acte a {
     text-decoration: underline;
}

.text-acte {
grid-area: a;
display: grid;
grid-gap: 20px;
}

.imatge-acte {
grid-area: b;
}

.localitzacio {
grid-area: c;
}

/* icona mapa acte */

.leaflet-marker-icon.leaflet-zoom-animated.leaflet-interactive {
  margin-left: -5px !important;
margin-top: -50px !important;
width: 45px;
height: 45px;
}


/* CPT autors single */

.graella-autor {
  background: var(--blanc);
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px;
  grid-template-areas:
         "a a b";
  align-items: start;
  margin: 0 auto;
}

.graella-autor a {
     text-decoration: underline;
   }

.text-autor {
grid-area: a;
display: grid;
gap: 20px;
}

.foto-autor {
grid-area: b;
}


/* plantilla pàgina localitzacions */


.leaflet-popup-content-wrapper {
    border-radius: 0px !important;
}


/* plantilla autors i actes */

/* icona fitxes */
.icona-camps img {
  width: 35px;
  height: auto;
  padding-right: 7px;
  float: left;
  opacity: 0.3;
}

note {
    font-weight: 700;
}


/* responsive */
@media (max-width: 768px) {

  .descripcio-acte h2 {
    font-size: 1.4rem;
}

.graella-acte {
  grid-template-areas:
       "b b b"
       "a a a"
       "c c c";
}

.graella-autor {
  grid-template-areas:
         "b b b"
         "a a a";
}


} /* fi @media query*/


/* graella actes */

@media (min-width: 768px) {

.facetwp-facet {
    margin-bottom: 40px;
    display: flex;
}

.facetwp-radio {
    padding: 20px;
}

}

/* gravity forms */

.gform_wrapper .gfield_required {
    color: #fff !important;
}

body .gform_wrapper .gform_footer input[type=submit] {
	border: 3px solid var(--ressaltat);
	color: var(--ressaltat);
	font-weight: 700;
	text-transform: uppercase;
	padding: 15px 20px;
}

body .gform_wrapper .gform_footer input[type=submit]:hover {
	color: var(--negre);
}


.gform_wrapper .field_description_below .gfield_consent_description, .gform_wrapper .gfield_consent_description {
    max-height: 60px !important;
    border: 1px solid #ddd0 !important;
	background: #3b3b3b;
}

#gfield_consent_description_2_3 a {
    color: white;
}

/* portada  subscripcio i social */

.fondu {
	padding: 30px;
	background: var(--negre);
}

.social-home ul {
    text-align: center;
}

.social-home ul li {
    display: inline;
	padding-left: 1em;
}

.social-home ul li:last-child {
	padding-left: none;
}




.social-home  .fa {
    font-size: 2em;
}




