body {
  --color-page-background: rgba(255, 255, 255);
  --color-head-background: rgba(255, 255, 255);
  --color-container-background: rgba(250, 250, 250);
  --color-admin-background: rgba(255, 243, 221);
  --color-low-background: rgba(240, 240, 240);
  --color-low-text:  rgb(170, 170, 170);
  --color-primary-light: rgb(255,255,255);
  --color-primary-dark: rgb(10,10,10);
  --color-footer:rgb(153,153,153);
  --color-footer-background:rgb(249,249,249);
  --color-footer-border:rgb(229,229,229);
  --color-encuesta-background: rgb(248,248,248);
  --color-copete-background: rgb(248,248,248);
  --color-headings: rgb(52, 58, 64);
  --color-link: rgb(55, 106, 182);
  --color-link-meta: #343a40;

  --color-border: #ced4da;
  --color-focus-border: #86b7fe;
  --color-focus-shadow: rgb(13 110 253 / 25%);
  --color-placeholder: #6c757d;
}

.nightmode {
  --color-page-background: rgba(0, 0, 20, .95);
  --color-head-background: rgba(128, 128, 128);
  --color-container-background: rgba(0, 0, 0, .85);
  --color-admin-background: rgb(37, 0, 6);
  --color-low-background: rgba(0, 0, 0);
  --color-low-text: rgba(64, 64, 64);
  --color-primary-light: rgb(10,10,10);
  --color-primary-dark: rgb(240,240,240);
  --color-footer:rgb(249,249,249);
  --color-footer-background:rgb(66,66,66);
  --color-footer-border:rgb(100,100,100);
  --color-encuesta-background: rgb(66,66,66);
  --color-copete-background: rgb(66,66,66);
  --color-headings: rgb(240, 240, 240);
  --color-link: rgb(120, 168, 238);
  --color-link-meta: #999b9c;

  --color-border: #495057;
  --color-focus-border: #86b7fe;
  --color-focus-shadow: rgb(13 110 253 / 25%);
  --color-placeholder: #6c757d;

  --color-hover-background: #2c3034;  
}
* {
    transition: all .10s ease-in;
}

body {
  background-color: var(--color-page-background);
  color: var(--color-primary-dark);
}
.backheader
{
	background-color: var(--color-head-background);
}

.grecaptcha-badge { visibility: hidden; }

a{
   color: var(--color-link);
   text-decoration-line: none;
}
.form-control
{
  background-color: var(--color-page-background);
  color: var(--color-primary-dark);

}

.publichota
{
  background-color: var(--color-page-background) !important;
  color: var(--color-primary-dark);
}
.containermain
{
  background-color: var(--color-container-background);
}
a:hover{

  color: #6d6f5c;
 }


.blog-header {
  line-height: 1;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 1em;
}

.blog-header-logo {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
}

.blog-header-logo:hover {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: var(--color-headings);
}
.encuesta
{
  background-color: var(--color-encuesta-background);
}

.mailchimp
{
  background-color: var(--color-encuesta-background) !important;
}
.display-4 {
  font-size: 2.5rem;
}
@media (min-width: 768px) {
  .display-4 {
    font-size: 3rem;
  }
}
.fondobg
{
  
	background: url("../images/header-2018-b.jpg");
	
    background-size:     cover;                      /* <------ */
    background-repeat:   no-repeat;
    background-position: center center;
}
.fondojumbo
{
  background-color: var(--color-copete-background) !important;
  /*background: url("../images/background-300-2.png") bottom right no-repeat;*/
}



.nav-item
{
  margin-right:1em;
}
.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-scroller .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
}

.card-img-right {
  height: 100%;
  border-radius: 0 3px 3px 0;
}

.flex-auto {
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}

.h-250 { height: 250px; }
@media (min-width: 768px) {
  .h-md-250 { height: 250px; }
}

.border-top { border-top: 1px solid #e5e5e5; }
.border-bottom { border-bottom: 1px solid #e5e5e5; }

.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }

/*
 * Blog name and description
 */
.blog-title {
  margin-bottom: 0;
  font-size: 2rem;
  font-weight: 400;
}
.blog-description {
  font-size: 1.1rem;
  color: #999;
}

@media (min-width: 40em) {
  .blog-title {
    font-size: 3.5rem;
  }
}

/* Pagination */
.blog-pagination {
  margin-bottom: 4rem;
}
.blog-pagination > .btn {
  border-radius: 2rem;
}

/*
 * Blog posts
 */
.blog-post {
  font-size: 1.2em;
  margin-top: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e5e5e5

}
.blog-post-title {
  margin-bottom: .25rem;
  font-size: 2.5rem;
}
.blog-post-title  a
{
  color: var(--color-headings);
  text-decoration: none;
}

.blog-continuar a
{
  color: #343a40 ;
  text-decoration: none;

}
.blog-post-meta {
  margin-bottom: 1.25rem;
  color: #999;
  font-weight: 300;
  font-size: 0.9em;
}
.blog-post-meta a {
    color: #999;
    text-decoration: none;
}

/*
 * Footer
 */
.blog-footer {
  padding: 2.5rem 0;
  text-align: center;
  border-top: .05rem solid  var(--color-footer-border);
  background-color: var(--color-footer-background);
  color: var(--color-footer);


}
.blog-footer p:last-child {
  margin-bottom: 0;
}

/* images */


  .blog-post img {
      max-width:100%;
	  height: auto;
		}

  .jumbotron img {
      max-width:100%;
	  height: auto;
		}
  .titulazo a
   {
     text-decoration: none !important;
     color: var(--color-headings);
   }
   .vermasjumbotron
   {
     text-decoration: none !important;
     color: #343a40;
   }

video {
max-width:100%;
}
iframe {
    max-width:100%;
}
  .jumbotron
  {
    font-size: 1.2em;
  }

blockquote {

font-style: italic;
margin: 0.25em 0;
padding: 0.25em 40px;
line-height: 1.45;
position: relative;
color: #383838;
border-bottom: 1px dotted #ccc;
word-wrap: break-word;
}

blockquote:before {

display: block;
font-family: Georgia, serif;
content: "\201C";
font-size: 80px;
position: absolute;
left: -20px;
top: -20px;
color: #7a7a7a;
}

blockquote cite {
color: #999999;
font-size: 14px;
display: block;
margin-top: 5px;
}

blockquote cite:before {
content: "\2014 \2009";
}




/* Comentarios */
.listacomment
{
  list-style: none;
  padding-inline-start: 1em;
}

#commentform
{
		padding: 3em 3em 1em 3em ;
		background-color: var(--color-page-background);
		border: solid 1px rgba(160, 160, 160, 0.3);
		margin: 0 0 3em 0;
		position: relative;
	}

	.comentario {
		padding: 1em 1em 0em 1em ;
    background-color: var(--color-page-background);
    color: var(--color-primary-dark);
		border: solid 1px rgba(160, 160, 160, 0.3);
		margin: 0 0 0em 0;
		position: relative;
        font-size: 1em;
	}
	.cuerpocomentario img {
    max-width: 100% !important;
  }
  .commentadmin
  {
    background-color: var(--color-admin-background);
	color: var(--color-primary-dark);
    /*background: #fff3dd;*/
  }
  .commentlow
  {
    background-color: var(--color-low-background);
    /*background: #fff3dd;*/
  }
  .commentlow .avatar, .commentlow  .published
  {
	display:none !important;
  }
  .commentlow  p
  {
	font-size: 80%;
	color: var(--color-low-text);
  }
.comentario {
  word-wrap: break-word;
}
		.comentario > header {
			display: -moz-flex;
			display: -webkit-flex;
			display: -ms-flex;
			display: flex;
			border-bottom: solid 1px rgba(160, 160, 160, 0.3);
			left: -1em;
			margin: -1em 0 1em 0;
			position: relative;
			width: calc(100% + 2em);
		}

			.comentario > header .title {
				-moz-flex-grow: 1;
				-webkit-flex-grow: 1;
				-ms-flex-grow: 1;
				flex-grow: 1;
				padding: 1em;
			}

				.comentario > header .title h2 {
					font-weight: 900;
					font-size: 1em;
				}

				.comentario > header .title > :last-child {
					margin-bottom: 0;
				}

			.comentario > header .meta {
				padding: 1em ;
				/*border-left: solid 1px rgba(160, 160, 160, 0.3);*/
				/*min-width: 30em;*/
				text-align: right;
				width: 30em;
			}

				.comentario > header .meta > * {
					margin: 0 0 1em 0;
				}

				.comentario > header .meta > :last-child {
					margin-bottom: 0;
				}

				.comentario > header .meta .published {
					color: #3c3b3b;
					display: block;
					font-family: "Raleway", Helvetica, sans-serif;
					font-size: 0.7em;
					font-weight: 300;
					margin-top: 0.5em;
					text-transform: uppercase;
					white-space: nowrap;
				}

		.comentario > a.image.featured {
			overflow: hidden;
		}

			.comentario > a.image.featured img {
				-moz-transition: -moz-transform 0.2s ease-out;
				-webkit-transition: -webkit-transform 0.2s ease-out;
				-ms-transition: -ms-transform 0.2s ease-out;
				transition: transform 0.2s ease-out;
			}

			.comentario > a.image.featured:hover img {
				-moz-transform: scale(1.05);
				-webkit-transform: scale(1.05);
				-ms-transform: scale(1.05);
				transform: scale(1.05);
			}

		.comentario > footer {
			display: -moz-flex;
			display: -webkit-flex;
			display: -ms-flex;
			display: flex;
			-moz-align-items: center;
			-webkit-align-items: center;
			-ms-align-items: center;
			align-items: center;
      left: -1em;
      margin: 0 0 0em 0;
      position: relative;
      width: calc(100% + 2em);
      border-top: 1px dotted #ccc;
		}

			.comentario > footer .actions {
				-moz-flex-grow: 1;
				-webkit-flex-grow: 1;
				-ms-flex-grow: 1;
				flex-grow: 1;
			}

			.comentario > footer .stats {
				cursor: default;
				list-style: none;
				padding: 0.6em;
			}

				.comentario > footer .stats li {

					display: inline-block;
					/*font-family: "Raleway", Helvetica, sans-serif;*/
					font-size: 0.8em;
					font-weight: 400;
					line-height: 1;
					margin: 0 0 0 2em;

					/*text-transform: uppercase;*/
				}

					.comentario > footer .stats li:first-child {
						border-left: 0;
						margin-left: 0;
						padding-left: 0;
					}

					.comentario > footer .stats li .icon {
						border-bottom: 0;
					}

						.comentario > footer .stats li .icon:before {
							color: rgba(160, 160, 160, 0.3);
							margin-right: 0.75em;
						}

		@media screen and (max-width: 980px) {

			.comentario {
				border-left: 0;
				border-right: 0;
				left: -1em;
				width: calc(100% + (1em * 2));
			}

				.comentario > header {
					-moz-flex-direction: column;
					-webkit-flex-direction: column;
					-ms-flex-direction: column;
					flex-direction: column;
					padding: 1em ;
					border-left: 0;
				}

					.comentario > header .title {
						margin: 0 0 1em 0;
						padding: 0;
						text-align: center;
					}

					.comentario > header .meta {
						-moz-align-items: center;
						-webkit-align-items: center;
						-ms-align-items: center;
						align-items: center;
						display: -moz-flex;
						display: -webkit-flex;
						display: -ms-flex;
						display: flex;
						-moz-justify-content: center;
						-webkit-justify-content: center;
						-ms-justify-content: center;
						justify-content: center;
						border-left: 0;
						margin: 0 0 1em 0;
						padding-top: 0;
						padding: 0;
						text-align: left;
						width: 100%;
					}

						.comentario > header .meta > * {
							border-left: solid 1px rgba(160, 160, 160, 0.3);
							margin-left: 1em;
							padding-left: 1em;
						}

						.comentario > header .meta > :first-child {
							border-left: 0;
							margin-left: 0;
							padding-left: 0;
						}

						.comentario > header .meta .published {
							margin-bottom: 0;
							margin-top: 0;
						}

						.comentario > header .meta .author {
							-moz-flex-direction: row-reverse;
							-webkit-flex-direction: row-reverse;
							-ms-flex-direction: row-reverse;
							flex-direction: row-reverse;
							margin-bottom: 0;
						}

							.comentario > header .meta .author .name {
								margin: 0 0 0 1.5em;
							}

							.comentario > header .meta .author img {
								width: 3.5em;
							}

		}

		@media screen and (max-width: 736px) {

			.comentario {
				padding: 1.5em 1.5em 0.1em 1.5em ;
				left: -1.5em;
				margin: 0 0 0em 0;
				width: calc(100% + (1.5em * 2));
			}

				.comentario > header {
					padding: 3em 1.5em 0.5em 1.5em ;
					left: -1.5em;
					margin: -1.5em 0 1.5em 0;
					width: calc(100% + 3em);
				}

					.comentario > header .title h2 {
						font-size: 1.1em;
					}

		}

		@media screen and (max-width: 480px) {
      .comentario > header
      {
        padding: 0;
      }

      .comentario > header .title {
        margin: 0 0 1em 0;
        padding: 0;
        text-align: center;
        display: none;
      }

      .comentario > header .meta {
        -moz-align-items: center;
        -webkit-align-items: center;
        -ms-align-items: center;
        align-items: center;
        display: -moz-flex;
        display: -webkit-flex;
        display: -ms-flex;
        display: flex;
        -moz-justify-content: center;
        -webkit-justify-content: center;
        -ms-justify-content: center;
        justify-content: center;
        border-left: 0;
        margin: 0 0 0em 0;
        padding-top: 0;
        padding: 0;
        text-align: left;
        width: 100%;
      }


				.comentario > header .meta .author .name {
					display: none;
				}

			.comentario > .image.featured {
				margin-left: -1.5em;
				margin-top: calc(-1.5em - 1px);
				width: calc(100% + 3em);
			}

			.comentario > footer {
				-moz-align-items: stretch;
				-webkit-align-items: stretch;
				-ms-align-items: stretch;
				align-items: stretch;
				-moz-flex-direction: column-reverse;
				-webkit-flex-direction: column-reverse;
				-ms-flex-direction: column-reverse;
				flex-direction: column-reverse;
			}

				.comentario > footer .stats {
					text-align: center;
				}

					.comentario > footer .stats li {
						margin: 0 0 0 1.25em;
						padding: 0 0 0 1.25em;
					}

		}
.avatar
{
  border-radius: 50%;
  border: 2px solid #fff;
}
.comentario .avatar
{
	max-width:32px;
}
.headavatar
{
  width:56px;
  height:56px;
  margin-right: 1em;
}
  /* Custom styles for avatar cropper */
  #avatarCropContainer {
    max-width: 100%;
    max-height: 400px;
    margin: 0 auto;
    overflow: hidden;
  }
  #avatarPreview {
    display: block;
    max-width: 100%;
  }
  .avatar-preview {
    object-fit: cover;
  }
.fullwidth
{
  width:100%;
}

.author {
  -moz-transition: border-bottom-color 0.2s ease;
  -webkit-transition: border-bottom-color 0.2s ease;
  -ms-transition: border-bottom-color 0.2s ease;
  transition: border-bottom-color 0.2s ease;

  margin: 0 1.5em 0 0;
}
.author a {
	color: var(--color-link-meta) !important;
    text-decoration: none !important;
}
.author {
	color: var(--color-link-meta) !important;
  text-decoration: none !important;
}
		.author:hover .name {
			border-bottom-color: transparent;
		}
.citar
{
  cursor: pointer;
}
.responder
{

  cursor: pointer;
}
.masleidoslink
{
  font-size: 0.8em;
  white-space: nowrap;
  overflow: hidden;
}
.editar
{
	cursor: pointer;
  }
.votar
{
	  cursor: pointer;
}
.contador
{
	  cursor: pointer;
}


.scroll-top-btn {
    width: 40px;
    height: 40px;
    position: fixed;
    bottom: 50px;
    right: 50px;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn.show {
    opacity: 0.8;
    visibility: visible;
}

.scroll-top-btn:hover {
    opacity: 1;
    transform: translateY(-3px);
}
.textogris
{
	color:#495057 !important;
}

/* ##################### LEGACY ################## */


div.img-gal {
	float: left;
	margin: 5px;
	padding: 0;
	position: relative;
	background: url(../images/bg_image.gif) bottom right no-repeat;
}

div.img-gal img {
	background-color: #fff;
	border: 1px solid #a9a9a9;
	margin: -5px 5px 5px -5px;
	padding: 4px;
	position: relative;
	vertical-align: bottom;
}

div.img-dec {
	float: right;
	margin: 1em 0 5px 20px;
	padding: 0;
	position: relative;
	background: url(../images/bg_image.gif) bottom right no-repeat;
}

div.img-dec img {
	background-color: #fff;
	border: 1px solid #a9a9a9;
	display: block;
	margin: -5px 5px 5px -5px;
	padding: 4px;
	position: relative;
}

.fotoleft {
	float: left;
	margin: 5px;
	padding: 0;
	position: relative;
	display : block;
	BACKGROUND-COLOR: #eee;
	BORDER: #ccc 1px solid;
}
.fotoleft-blanco {
	float: left;
	margin: 5px;
	padding: 0;
	position: relative;
	display : block;
}

.fotoright {
	float: right;
	margin: 5px;
	padding: 0;
	position: relative;
	display : block;
	BACKGROUND-COLOR: #eee;
	BORDER: #ccc 1px solid;
}
.fotoright-blanco {
	float: right;
	margin: 5px;
	padding: 0;
	position: relative;
	display : block;
	BACKGROUND-COLOR: #eee;
}
.photoframe
{
        BORDER: #ccc 1px solid;
        PADDING: 0px;
        BACKGROUND-COLOR: #eee;
        color: #333;
        margin: 2px;
        display : block;
        position: relative;
}
/* ############################################ PUTIN´S LAIR ******************************/
@media (min-width: 1000px) {
  .putin { position: absolute; right: 0; top: -250px; width:230px; height:250px; z-index: 0;}
  .putin2 { position: absolute; right: 0; top: -120px; width:250px; height:120px; z-index: 0;}
  .putin3 { position: absolute; right: 0; top: -300px; width:244px; height:300px; z-index: 0;}
  .putin4 { position: absolute; right: 0; top: -300px; width:244px; height:300px; z-index: 0;}
  .putin5 { position: absolute; right: 0; top: -145px; width:250px; height:150px; z-index: 0;}
}
@media (max-width: 1000px) {
  .putin { display: none;}
  .putin2 { display: none;}
  .putin3 { display: none;}
  .putin4 { display: none;}
  .putin5 { display: none;}
}

  /***************************************************/

/**
 * Estilos para resaltado de palabras en resultados de búsqueda
 * Incluir este archivo en el <head> de las páginas de búsqueda
 */

/* Resaltado básico - palabras encontradas */
.search-highlight {
    background-color: #fff34d; /* Amarillo brillante */
    color: #000;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

/* Efecto hover sobre palabras resaltadas */
.search-highlight:hover {
    background-color: #ffeb3b;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Variante alternativa - más sutil */
.search-highlight-subtle {
    background-color: #ffeb3b33; /* Amarillo transparente */
    color: inherit;
    font-weight: 600;
    padding: 1px 3px;
    border-radius: 2px;
    border-bottom: 2px solid #ffc107;
}

/* Para modo oscuro - si tu tema lo soporta */
@media (prefers-color-scheme: dark) {
    .search-highlight {
        background-color: #ffc107;
        color: #1a1a1a;
    }
    
    .search-highlight:hover {
        background-color: #ffca28;
    }
}

/* Animación opcional para resaltado */
@keyframes highlight-pulse {
    0%, 100% {
        background-color: #fff34d;
    }
    50% {
        background-color: #ffeb3b;
    }
}

.search-highlight-animated {
    animation: highlight-pulse 2s ease-in-out infinite;
}

/* Estilos para diferentes contextos */

/* Resaltado en títulos */
h1 .search-highlight,
h2 .search-highlight,
h3 .search-highlight {
    background-color: #ffc107;
    font-weight: bold;
}

/* Resaltado en snippets de texto */
.search-snippet .search-highlight {
    background-color: #fff59d;
}

/* Contador de palabras encontradas (opcional) */
.search-stats {
    font-size: 0.9em;
    color: #666;
    margin: 10px 0;
    padding: 8px 12px;
    background-color: #f5f5f5;
    border-left: 3px solid #ffc107;
    border-radius: 4px;
}

.search-stats strong {
    color: #333;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .search-highlight {
        padding: 1px 3px;
        font-size: 0.95em;
    }
}
