@media print {
  body { display: none !important; }
}
body {
  -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 */
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
  background-color: #4591b8 !important;
  border-color: #4591b8 !important;
}
.dntplgn_form_wrapper #dntplgn_once_amount, .dntplgn_form_wrapper .dntplgn_monthly_other_sum  {
  border: 1px solid #d9d9d9;
  background-color: #f9f9f9;
}
.dntplgn_submit_button {
  background-color: #4591b8;
  color: white;
	text-decoration:none;
	-moz-transition: all 0.2s ease-in;
	-webkit-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in; 
	transition: all 0.2s ease-in;
	-ms-transition: all 0.2s ease-in;
}
.dntplgn_submit_button:hover {
  background-color: #404347;
  color: white;
}
body.single-post .blogger div.post {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  float: none;
}
.foocol .premis {
  padding-bottom: 20px;
}
.foocol .premis img {
  margin-bottom: 5px;
}
.foocol .premis .any {
  color: white;
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
  line-height: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.porta-enrere-donacions {
  padding: 15px;
  border: 1px solid #cccccc;
  background-color: #eeeeee;
}
.porta-enrere-donacions .tit {
  font-family: "Open Sans", sans-serif;
  line-height: 25px;
  font-weight: 800;
  font-style: normal;
  color: #222;
  font-size: 20px;
  margin-bottom: 10px;
}
.porta-enrere-donacions .txt {
  margin-bottom: 10px;
}
.x-button {
  display: inline-block;
  padding: 5px 10px;
  background: #4591b8 !important;
  color: white;
  font-weight: bold;
  line-height: 1.5 !important;
  font-family: "Montserrat", sans-serif;
}
.x-button:hover {
  background: #404347 !important;
  color: white;
}
.x-status-div {
  margin-bottom: 10px;
  color: #4591b8;
}
.x-checkbox-container {
  margin-top: 10px;
  position: relative;
  padding-left: 18px;
}
.x-checkbox-container input {
  position: absolute;
  left: 0;
  top: 8px;
}
/* cookies layer */
.cookies-layer {
  position: fixed;
  bottom: 50px;
  right: 0;
  max-width: 550px;
  z-index: 999999;
  color: white;
  padding: 20px;
  background-color: rgba(69, 145, 184, 0.9);
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  font-size: 16px;
  line-height: 22px;
}
.cookies-layer .tit {
  font-weight: bold;
  font-size: 22px;
}
.cookies-layer .subtit {
  font-weight: bold;
  font-size: 20px;
}
.cookies-layer .txt a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}
.cookies-layer .txt a:hover {
  text-decoration: underline;
}
.cookies-layer .but {
  font-size: 16px;
  padding-left: 5px;
  padding-right: 5px;
  text-align: center;
}
.but-cookies-accept {
  background-color: black;
}
.but-cookies-accept:hover {
  background-color: #222222;
}
.but-cookies-config {
}
.but-cookies-config:hover {
}
.but.hidden {
  display: none;
}
.cookies-layer .mb15 {
  margin-bottom: 15px;
}
.cookies-layer .pw50 {
  width: 50%;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}
.cookies-layer .fl {
  float: left;
}
.cookies-layer .clear {
  clear: both;
}
.cookies-layer .pw-cols-container {
  position: relative;
  margin-left: -10px;
  margin-right: -10px;
}
.cookies-layer .hidden {
  display: none;
}
.cookies-layer .checkbox-container span {
  margin-left: 5px;
}
.but-full-width {
  width: 100%;
  text-align: center;
}
.but-cookies-accept.but-cookies-accept {
  background: #404347 !important;
}
.but-cookies-accept.but-cookies-accept:hover {
  background: #4591b8 !important;
}
@media only screen and (max-width: 767px) {
  .cookies-layer { bottom: 0; }
}
@media only screen and (max-width: 479px) {
  .cookies-layer .buts .pw50 { width: 100%; }
  .but-cookies-accept { margin-bottom: 15px; }
}

.meta_more a {
  font-family: 'Montserrat', sans-serif;  
  background: black;
  border: 0 !important;
  color: white;
  padding: 5px 10px !important;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
}
.meta_more a:hover {
  background: #4591b8;
  color: white;
}

/* modifico alguns estils de la plantilla */
.mag-small .imagelink img {
  width: 90px !important;
  top: 27px !important;
  left: 20px !important;
}
@media only screen and (max-width: 655px) {
  .mag-small .imagelink img {
    left: 0 !important;
    width: 80px !important;
  }
}
#header #main-nav>li>a {
  font-size: 14px;
  margin: 0 20px;
}
@media screen and (max-width: 1050px) {
  #header #main-nav>li>a {
    margin: 0 15px;
  }
}
body.single-post .blogger div.post {
  max-width: 100%;
}
body.single-post .blogger div.post h1,
body.single-post .blogger div.post h2,
body.single-post .blogger div.post h3,
body.single-post .blogger div.post h4,
body.single-post .blogger div.post h5,
body.single-post .blogger div.post ul,
body.single-post .blogger div.post ol,
body.single-post .blogger div.post blockquote,
body.single-post .blogger div.post p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
body.single-post .blogger div.post table {
  width: 100%;
}
body.single-post .blogger div.post div {
  margin-left: auto;
  margin-right: auto;
  width: 100% !important;
}
body.single-post .blogger div.post ul.slides,
body.single-post .blogger div.post ul.tmnf_slideshow_thumbnails {
  max-width: 100% !important;
}
body.single-post .blogger div.post div.su-box {
  max-width: 700px;
}
.mag-one .mag-small {
  height: auto !important;
}
.mag-one .teaser {
  display: none; 
}
.mag-one .mag-small h4 {
  height: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}
.mag-one .mag-small .meta {
  display: none;
}
.mag-one .mag-small .date {
  display: block;
}

/* pe_archivebyyear_widget */
.pe-arc-list-year .pe-arc-year-link {
  cursor: pointer;
  position: relative;
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  -ms-transition: all 0.2s ease-in;
}
.pe-arc-list-year .pe-arc-year-link:hover {
  color: #4591b8;
}
.pe-arc-opened i:before {
  content: "\f0d8";
}
.pe-arc-list-year .pe-arc-year-link i {
}
.pe-arc-list-year li ul {
  padding-left: 20px;
  display: none;
}

/* widget_pe_widget_recent_posts */
.widget_pe_widget_recent_posts ul li {
  margin-bottom: 20px;
}
.widget_pe_widget_recent_posts p.cat {
  margin: 0;
  padding: 0;
}
/*
.widget_pe_widget_recent_posts p.meta.cat a {
  background: black;
  color: white;
}
.widget_pe_widget_recent_posts p.meta.cat a:hover {
  background: #4591b8;
  color: white;
}
*/
