div#main-wrapper {
    padding-bottom: 50px;
}

.bodybuttonb {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  font-size: 1rem;
  line-height: 1.25rem;
  font-weight: 400;
}

.bodybutton::before,
.bodybuttonb::before {
    content: " ";
    background-image: url(../images/legacy-arrow-right.svg);
    background-repeat: no-repeat;
    background-color: var(--color-brown);
    background-position: center;
    background-size: 70%;
    display: flex;
    margin-right: 0.5rem;
    height: 40px;
    width: 40px;
}

.bodybuttonb::before {
	background-image: url(../images/legacy-arrow-right-b.svg);
	background-color: #ffffff;
}

.bodybutton:hover::before {
    background-color: #000000;
}

nav span.menu-main__link.h-full {
    cursor: default;
}

#navbar-mobile .social-media-container a {
	font-weight: 500;
}

.path-frontpage .ces_es {
    top: -22px;
    position: relative;
	margin-left: 30px;
}

.page-node-type-event .body-event p a {
    display: inline-flex;
}

 .body-dialogo .supermenu a:hover,
 .body-event .supermenu a:hover {
  font-weight: 700;
}

.page-node-type-event .body-event img {
  width: 100% !important;
  height: auto !important;
}

#block-cenie-tailwindcss-languageswitcherlangcodetextodelainterfaz ul.links {
	margin-right: 30px;
}

.page-node-type-webform input[type="submit"] {
	margin-inline: inherit !important;
}

input.webform-button--submit:hover {
    cursor: pointer;
	background-color: #000000 !important;
}

ul.menu-main__submenu li a:hover {
	opacity: 0.6;
}

.body-noticia {
	padding: 1rem;
}

.region--content-bottom header {
	padding: 1rem;
	h3 {
		line-height: 110%;
	}
}

.participa-div {
    position: absolute;
    display: block;
    left: 20px;
}

.article-body ul,
.body-noticia ul,
.body-dialogo ul,
.body-event ul{
    list-style: inherit;
    margin: inherit;
    padding-inline-start: 40px;
}
.article-body strong,
.body-noticia strong,
.body-dialogo strong,
.body-event strong{
    font-weight: bold;
}

.article-body, 
.webform-confirmation,
.body-noticia,
.body-dialogo,
.body-event {
	h2 {
		font-weight: bold;
		font-size: 150%;
		margin: 0 0 10px;
	}
}

 .body-dialogo .supermenu a:hover,
 .body-event .supermenu a:hover {
  font-weight: 700;
}

.page-node-type-event .body-event img {
  width: 100% !important;
  height: auto !important;
}

#block-cenie-tailwindcss-languageswitcherlangcodetextodelainterfaz ul.links{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-top: -15px;
}
    
ul.flex.flex-row.gap-2.font-normal.justify-end.text-sm.list-lenguague {
    display: none;
}
.article-body a,
.body-noticia a,
.body-event a{
    text-decoration: underline;
}
.article-body a:hover,
.body-noticia a:hover,
.body-event a:hover{ 
    font-weight: 400;
}
.page-node-type-diccionario .article-body a:hover,
#block-cenie-tailwindcss-cabeceradialogo-2 .article-body a:hover{
  font-weight: 700;
}

.grid-content-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.body-dialogo .grid-content-2 img,
.body-event .grid-content-2 img  {
    margin: 0;
}

/* Bloque Lo ultimo */
#block-cenie-tailwindcss-views-block-ultimo-block-1 {
	margin-bottom: 242px;
	.left-block {

	}
	.right-block {

		img {
		    height: 100%;
		    width: 100%;
		    object-fit: cover;
		}
	}
}




/* Node add Fotografía form */

#node-fotograf-a-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  
  & #edit-subtitulo {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 300;
  }

  & #edit-titulo {
    font-weight: 300;
    font-size: 1.25rem /* 20px */;
    line-height: 1.75rem /* 28px */;
    max-width: 335px;
  }

  & > div {    
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  & .webform-flexbox {
    flex-direction: column-reverse;
  }
  & .js-form-type-checkbox {
    display: block;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 300;
    position: relative;

    & .description {
      margin-top: 0.5rem;
    }
  }

  & input[type="text"],
  & input[type="email"],
  & input[type="textarea"],
  & textarea {
    width: 100%;
    border: 1px solid var(--color-brown);
    padding: 0.5rem 0.75rem;
    outline: none;
  }
  & input[type="submit"] {
    border: 1px solid var(--color-brown);
    background-color: var(--color-brown);
    color: white;
    padding: 0.5rem 2rem;
    width: fit-content;
    margin-inline: auto;
  }

  & input[type="checkbox"] {
    height: 14px;
    width: 14px;
    border-radius: 0px;
    border: 1px solid var(--color-brown);
  }
  select#edit-motivo2 {
    background: transparent;
    width: 100%;
    border: 1px solid var(--color-brown);
    padding: 0.5rem 0.75rem;
    outline: none;
  }
  .description, #edit-field-fecha-fotografia-0-value--description{
    font-weight: lighter;
  }
  label,
  .js-form-required.form-required{
    font-weight: 700;
  }
  #edit-field-apta-wrapper,
  .tabledrag-toggle-weight-wrapper,
  .field-edit-link,
  #edit-preview,
  #edit-body-0-format,
  #edit-field-tag-imagen-wrapper{
    display: none;

  }
  .field-label {
    text-align: left;
  }
  #edit-field-categor-a-fotograf-a {
    background: transparent;
    width: 100%;
    border: 1px solid var(--color-brown);
    padding: 0.5rem 0.75rem;
    outline: none;
  }
  #field-tag-imagen-values {
    width: 100%;
  }
}


.envejecerfont{
  font-size: 1.3em;
}
.envejecerfont a:hover{
  font-weight: 700;
}


/* Node BAROMETROS */
.page-node-19309, 
.page-node-19318,
.page-node-19326 {
	.rows {
	    margin: 50px 0 0;
	    border-top: solid 9px #000;
	    padding: 40px 0;
		.row {
		    display: inline-block;
		    width: 100%;
		    padding-bottom: 40px;
		    margin: 40px 0 0;
		    border-bottom: 1px solid #000;
		}
			
	}
}
#block-cenie-tailwindcss-zonastrasnfonterizas a:hover{
  font-weight: 700;
}

#block-cenie-tailwindcss-tabs li > a {
  font-weight: 700;
  color: #000;
  padding: 8px 18px !important;
  border: none;
  font-size: 13px;
  text-transform: uppercase;
  background: none;
  letter-spacing: 1px;
}
#block-cenie-tailwindcss-tabs li > a {
  line-height: 1.8;
}
#block-cenie-tailwindcss-tabs li {
  float: left;
  margin-bottom: -1px;
}
#block-cenie-tailwindcss-tabs > ul {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
}

/* Node CONVERSACIONES EN SALAMANCA */
.page-node-19273 {
	article.p-6.flex.flex-col.gap-8.lg\:p-0.lg\:mt-20.lg\:grid.md\:grid-cols-5.lg\:grid-cols-6 {
		position: relative;
		.left {
			    position: absolute;
			    max-width: 400px;
			    left: 0;
			    top: 200px;
		}
	}
	
	.view-videos.grid-content-4 {
 		  grid-template-columns: inherit;
		  display: inline-block;
		  
		  .row-4.views-row {
			  margin-right: 0;
		  }
		  
		  .views-row {
			  display: inline-block;
			  float:left;
			  width: 32%;
			  margin-right: 2%;
		  
			  .views-field-field-frame-video {
				  margin: 0 0 20px;
				  &:hover {
					  opacity: 0.7;
				  }
			  }	
			  .views-field-title {
			      width: 75%;
			      font-size: 120%;
			      font-weight: 100;
			      margin: 10px 0 0;
			  }
			  .views-field-field-fecha-video {
			      font-weight: 100;
			  }  
		  }
		  .row-1.views-row {
		      width: 100% !important;
			  margin: 0 0 60px;
			  padding: 0 0 60px;
			  border-bottom: 1px solid #000;
		  }
	  }
	
}



/* Node ESTUDIO ENVEJECIMIENTO */
.page-node-19304 {
	article.content-page {
		position: relative;
		.left {
			    position: absolute;
			    max-width: 400px;
			    left: 0;
			    top: 200px;
		}
		.right {
			h2 {
			font-weight: bold;
			font-size: 150%;	
			margin-bottom: 5px;
			}
			.row {
			    display: inline-block;
			    width: 100%;
			    padding-bottom: 40px;
			    margin: 40px 0 0;
			    border-bottom: 1px solid #000;
				&:first-child {
					margin-top: 0;
					border-top: solid 9px #000;
					padding-top: 40px;
				}
				.text {
				    float: left;
				    display: inline-block;
				    max-width: 75%;
				}
				a.bodybutton {
				    float: right;
				    margin-top: 20px;
				    max-width: 25%;
				}
				&.areas{
					border-bottom: none;
					h2 {
						margin-bottom: 60px;
					}
					a.icon {
					    display: inline-block;
					    width: 33%;
					    float: left;
					    vertical-align: middle;
					    text-align: center;
					    margin: 0 0 40px;
					    height: 160px;
						img {
							margin: 0 auto 15px;
							}
					}
				}

			}
		}
	}	
}

  /* loging page ___________________*/
  .user-login-form, .user-pass, .user-register-form {
    margin: 50px auto;
    display: block;
    max-width: 500px;
	width: 90%;
    border: 1px solid #ccc;
    padding: 20px;
    label {
      font-weight: bold;
    }
  .form-item {
    margin: 0 0 25px;
  }
  .description {
    font-size: 75%;
    color: #bbb;
    margin-top: 5px;
  }
  input {
      border: 1px solid #aaa;
      box-sizing: border-box;
      width: 100%;
      border-radius: 5px;
    padding: 5px;
    margin: 10px 0 0;
  }
  input#edit-submit {
    background:  #B7B6A5;
    color: #fff;
    border: none;
    &:hover {
      opacity: 0.5;
    }
  }
}  

.user-logged-in .loginregiter,
.user-logged-out .addfoto,
.user-register-form #edit-contact {
 
  display: none;
}
.user-register-form #edit-field-biograf-a-0-value {
  width: 100%;
  border: 1px solid #cecbcb;
}

/*.user-logged-in .body-dialogo div:first-child {
    font-weight: bold;
}
*/


/* galeria fotos*/
.field-fotos {
    margin: 40px 0;
	.row div {
	    float: left;
	    margin-right: 1%;
	    width: 32%;
	    margin-bottom: 1%;
		img:hover {
			cursor: pointer;
			opacity: 0.7;
		}
	}
}


/* concurso fotos*/
p.logos img {
    display: block;
    float: left;
    margin-right: 10%;
	&.interreg {
		margin-top: 4%;
	}
}


/* slider portada*/

.cabecera-v2 .bodybutton, 
.cabecera-v3 .bodybutton {
	position: absolute;
	bottom: 0;
	right: 12.5rem;
	z-index: 2;
}

.cabecera-v2 .bodybutton.secundario {
    bottom: 50px;
    right: 12.3rem;
}


.cabecera-v4 {
	h2 {
	    width: 320px;
	    word-wrap: break-word;
	}
	.subtitulo {
        font-weight: 100;
        max-width: 300px;
        line-height: 110%;
        padding: 20px 0 0;
	}
	.bodybutton {
        margin-left: 0;
        position: absolute;
        bottom: 50px;
	}
}

.cabecera-v1 {
	.bodybutton {
	    margin-left: 0;
	    position: absolute;
	    bottom: 20px;
	}
}


/* --------------------MEDIA QUERY --------------------------*/
@media screen and (max-device-width: 1024px), screen and (max-width: 1024px) {
	.page-node-19273 {
		article.p-6.flex.flex-col.gap-8.lg\:p-0.lg\:mt-20.lg\:grid.md\:grid-cols-5.lg\:grid-cols-6 {
			position: inherit;
			.left {
				    position: inherit;
				    max-width: inherit;
				    left: inherit;
				    top: inherit;
			}
		}
		#block-cenie-tailwindcss-views-block-zona-multimedia-block-1 {
		    margin: -200px auto 0;
			max-width: 90%;
		}
	}
	
	.page-node-19304 {
		article.content-page {
			position: relative;
			.left {
				    position: inherit;
				    max-width: inherit;
				    left: inherit;
				    top: inherit;
					margin-bottom: 10%;
			}
		}
	}
	
	
	#block-cenie-tailwindcss-bloquecustomdeobservatorio {
	    max-width: 95%;
	    width: 100%;
	    margin: 0 auto;
		.article-body {
		    float: none !important;
		    width: 100%;
		    margin: 0 auto 50px;
		}
		#lienzo {
			margin-left: -185px;
		}
	}
	
	.cabecera-v2 .bodybutton, 
	.cabecera-v3 .bodybutton {
		right: 0rem;
		top: 0;
		bottom: inherit;
	}
	
	.cabecera-v2 .bodybutton.secundario {
		top: 45px;
		right: -3px;
		bottom: inherit;
	}
	
	.cabecera-v2 .titulo {
	    display: block;
	    position: absolute;
	    left: 0;
	    top: 0;
	    font-size: 12px;
	    width: 130px;
	    height: 130px;
	    line-height: 110%;
	    padding: 20px;
	    margin: 0;
	}
}




@media screen and (max-width: 768px) {
  .page-node-type-articulo-blog-de-invitados .grid-content-2 {
    display: grid;
    grid-template-columns: inherit;
  }
  
  .page-node-19273
  .view-videos.grid-content-4
  .views-row {
      display: inline-block;
      float: left;
      width: 100%;
      margin: 0 0 10%;
  }
  
  .bodybutton::before {
      height: 35px;
      width: 35px;
  }
  
  
}

@media screen and (max-width: 550px) {
	#block-cenie-tailwindcss-bloquecustomdeobservatorio {
		#lienzo {
		  display: none;		
		}
	}
	#block-cenie-tailwindcss-zonastrasnfonterizas {
		.flex {
			display: block;	
			.p-4 {
				padding-bottom: 0;
				padding-top: 0;
			}		
		}
	}
	#block-cenie-tailwindcss-tabs ul {
		display: block;
		padding-bottom: 10px;
		li {
			float: none;
		}
	}
	a.ico-flecha {
      padding: 0.25rem;
    }
  
  
}



.views-infinite-scroll-content-wrapper.clearfix {
    display: contents;
}
.grid-noticias.page-1 .js-pager__items.pager {
	width: 100%;
	position: absolute;
	text-align: center;
	bottom: -42px;
  }