@charset "utf-8";
@import url("grotesk/stylesheet.css");
@import url("CeltiberMun/stylesheet.css");
@import url("Roboto_Condensed/stylesheet.css");


body {
	background-color: #CC9933;
	margin: 0px;
	font-family: "Roboto Condensed";
	height: 100%;
	display: block;
	max-width: 100%;
	padding: 0px;
	min-height: 100%;
}

/* Banner de cookies inferior */
.cookie-banner-rac-mini {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100% !important;

    background-color: #00923F;
    color: #FFFFCC;
    padding: 10px 15px;

    z-index: 99999 !important;
    box-shadow: 0 -2px 6px rgba(0,0,0,.3);	
}

.footer-legales {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
}

.footer-legales .separador {
    margin: 0 0.25rem;
}

@media (max-width: 400px) {
    .footer-legales {
        row-gap: 0.5rem;
        column-gap: 0.2rem;
    }

    .footer-legales .separador {
        margin: 0 0.15rem;
    }
}

@media (min-width: 992px) {
    .footer-legales {
        gap: 1.5rem;
    }

    .footer-legales .separador {
        margin: 0 1.25rem;
    }
}

/* Botón OK */
.cookie-banner-rac-mini #cookie-accept {
    background-color: #673A3A;
    color: #fff;
    border: 1px solid #4E2B2B;
    padding: 4px 12px;
    border-radius: 4px;
}

/* Botón Configurar */
.cookie-banner-rac-mini #cookie-config {
    border-radius: 4px;
}

/* Ocultar banner */
.oculto {
    display: none;
}

.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: scroll 25s linear infinite; /* más lento */
  margin-left: 20px;
  margin-right: 20px;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.logo:hover{
    -webkit-transform: scale(1.3);
    -ms-transform: scale(1.3);
    transform: scale(1.3);
    margin: auto;
    transition: transform .5s;
    padding: auto;
    width: 150px;
    }
.ampliar:hover{
	-webkit-transform: scale(1.2);
	-ms-transform: scale(1.2);
	transform: scale(1.2);
	margin: auto;
	transition: transform .5s;
	padding: auto;
	border-radius: 4px;
	border: 1px solid #D7C084;
	width: auto;
	background-color: #FFFFFF;
    }
.ampliar_sb:hover{
	-webkit-transform: scale(1.2);
	-ms-transform: scale(1.2);
	transform: scale(1.2);
	margin: auto;
	transition: transform .5s;
	padding: auto;
	border-radius: 4px;
	width: auto;
	background-color: #FFFFFF;
    }
.ampliapaypal:hover{
    -webkit-transform: scale(1.3);
    -ms-transform: scale(1.3);
    transform: scale(1.3);
    margin: auto;
    transition: transform .5s;
    padding: auto;
    border-radius: 4px;
    width: auto;
    }
.logo {
    margin: auto;
    overflow: hidden;
    padding: auto;
    width: auto;

}
.ampliar {
    margin: auto;
    overflow: hidden;
    padding: auto;
    width: auto;

}
.ampliar_sb {
    margin: auto;
    overflow: hidden;
    padding: auto;
    width: auto;

}
.ampliapaypal {
    margin: auto;
    overflow: hidden;
    padding: auto;
    width: auto;

}

.contenedor-ampliar {
	padding: auto;
	margin: auto;
	overflow: hidden;
	width: auto;
}

.cabeceramenu {
	width: 100%;
	padding: 0px;
	margin-top: 10px;
	font-family: estelleregular;
	height: auto;
	background-image: url(../img/fondomenu.jpg);
	background-repeat: repeat-x;
	background-position: center center;
	background-size: auto 100px;
	background-color: #CC9933;
}
.contenido {
    width: 100%;
    margin-left: auto;
    padding: 10px;
    border-radius: 4px;
    margin-right: auto;
    background-color: #FFFFDD;
}
.contenido_yel {
    width: 100%;
    margin-left: auto;
    padding: 10px;
    border-radius: 0px 0px 4px 4px;
    margin-right: auto;
    background-color: #FFFFDD;
    -webkit-box-shadow: px 0px;
    box-shadow: px 0px;
}
.contenido_yel_round {
    width: 100%;
    margin-left: auto;
    padding: 10px;
    border-radius: 4px;
    margin-right: auto;
    background-color: #FFFFDD;
    -webkit-box-shadow: px 0px;
    box-shadow: px 0px;
}
.contenido_yel_target {
    width: 100%;
    vertical-align: middle;
    margin-bottom: auto;
    margin-left: auto;
    padding: 10px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    margin-right: auto;
    background-color: #FFFFDD;
    -webkit-box-shadow: px 0px;
    box-shadow: px 0px;
    margin-top: auto;
    
}

.contenido_100_off {
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 4px;
    -webkit-box-shadow: 3px 3px 3px #673A3A;
    box-shadow: 3px 3px 3px #673A3A;
    padding: 10px;
    border: 1px solid #673A3A;
    background-color: #FFFFDD;
    width: 100%;
}
.contenido_index {
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 4px;
    -webkit-box-shadow: 3px 3px 3px #673A3A;
    box-shadow: 3px 3px 3px #673A3A;
    padding: 10px;
    border: 1px solid #673A3A;
    background-color: #FFFFCC;
    width: 100%;
}

.titulo_mor {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    width: 100%;
    background-color: #BD88BD;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.titulo_marr {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    width: 100%;
    background-color: #800000;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.titulo_yel_target {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    width: 100%;
    background-color: #F7E64D;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.titulo_yel {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    width: 100%;
    background-color: #F7E64D;
    border-radius: 4px;
    -webkit-box-shadow: 2px 2px 2px #673A3A;
    box-shadow: 2px 2px 2px #673A3A;
}

.row_100 {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

/* Imagen */
.img_box {
    flex: 0 0 40%;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img_box img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Texto */
.text_box {
    flex: 1 1 60%;
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Ajuste responsivo */
@media (max-width: 400px) {
    .row_100 {
        gap: 6px;
    }

    .img_box {
        flex: 0 0 45%;
    }

    .text_box {
        flex: 1 1 55%;
        font-size: 0.9rem;
        line-height: 1.1;
    }
}

.row_index {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0px;
    padding: 5px;
    opacity: 1;
    width: 100%;
}

.row.patrimonio {
    padding-top: 10px;
    padding-bottom: 10px;
    margin: auto;
    border-radius: 8px;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    -webkit-box-shadow: 2px 2px 8px #7A4904;
    box-shadow: 2px 2px 8px #7A4904;
}

.row.patrimonio_c {
    padding: 10px;
    margin: 0px;
    border-radius: 8px;
    border: 2px solid rgba(0,120,0,1.00);
}  
	.row.patrimonio2 {
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
    margin: auto;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    padding-bottom: 10px;
}

.row.patrimonio_resumen {
    padding: 5px;
    margin: auto;
    width: 100%;
    border-radius: 4px;
    vertical-align: middle;
}
.col-xl-3.patrimonio.texto.col-md-3.col-sm-6.col-6_y {
    margin-bottom: 10px;
    width: 50%;
    border: 1px solid #F8C300;
    padding-top: 10px;
}
.col-xl-3.patrimonio.texto.col-md-3.col-sm-6.col-6 {
    margin-right: auto;
    margin-left: auto;
    width: 50%;
    margin-top: auto;
    margin-bottom: auto;
    vertical-align: middle;
}
.col-xl-3.patrimonio.texto.col-md-3.col-sm-6.col-6_v {
    margin-bottom: 10px;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
}
.col-xl-3.patrimonio.img.col-md-3.col-sm-6.col-6 {
    margin: 0px;
    padding-bottom: 10px;
    width: 50%;
    padding-top: 10px;
}

.gridContainer {
    width: 87.36%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 5px;
}

.gridContainer {
    width: 90.675%;
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 5px;
}

.gridContainer {
    width: 88.2%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 0px;
    max-width: 1232px;
    padding-top: 5px;
    
}

.bordeplaca {
    width: 100%;
    max-width: 100%;
    background-color: #FFFFEE;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    padding: 10px;
    text-shadow: 0px 0px;
    -webkit-box-shadow: 5px 5px 5px #673A3A;
    box-shadow: 5px 5px 5px #673A3A;
}
.fondoplaca {
    width: 100%;
    max-width: 100%;
    background-color: #DDDDDD;
    margin-left: auto;
    margin-right: auto;
    border-radius: 4px;
    padding: 10px;
}
.bordeletrero {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 10px;
    border: 1px solid #000000;
}
.col-8-mun  {
    margin-top: auto;
    margin-right: 0px;
    margin-left: 0px;
    margin-bottom: auto;
    padding: 5px;
    width: 66.667%;
}
.col-4-mun {
    margin: auto;
    padding: 5px;
    width: 33.333%;
}
.col-10-mun {
    margin-top: auto;
    margin-bottom: auto;
    width: 83.333%;
}
.h1-mun {
    font-family: "Celtiber_mun-Regular.ttf";
    font-size: xx-large;
}
.piedepagina {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: #00923F;
}
.piedefoto {
    margin: 1px;
    padding: 0px;
    color: #800000;
    font-size: x-small;
    font-weight: bold;
}
.piedefoto2 {
    margin: 1px;
    padding: 0px;
    color: #FFFFDD;
    font-size: small;
    font-weight: normal;
    font-family: grotesk;
    text-shadow: 1px 1px #340034;
}
.col-3-pie {
	margin-top: auto;
	margin-bottom: auto;
	margin-left: 0px;
	padding: 0px;
	margin-right: 0px;
	width: 25%;
	vertical-align: middle;
	font-family: estelleregular;
}
a.blank {
    color: #FFFFcc;
    font-family: estelleregular;
    text-decoration: none;
    font-size: medium;
    margin-top: auto;
    margin-bottom: auto;
    font-weight: normal;
}
.marco_enl_marr {
	width: auto;
	margin-left: auto;
	margin-right: auto;
	padding: 5px;
	border-radius: 8px;
	background-color: #800000;
	min-width: auto;
	max-width: auto;
	display: table;
}
.marco_enl_ver {
	width: auto;
	margin-left: auto;
	margin-right: auto;
	padding: 5px;
	border-radius: 8px;
	background-color: #9BCC88;
	min-width: auto;
	max-width: auto;
	display: table;
}

a.blank:hover {
    color: #FF0000;
    font-family: estelleregular;
    text-decoration: none;
    margin-top: auto;
    margin-bottom: auto;
    font-weight: normal;
}
a.blank:visited {
    color: #cc9933;
    font-family: CeltiberMun;
    text-decoration: none;
    font-size: small;
    margin-top: auto;
    margin-bottom: auto;
    font-weight: normal;
}
a.yellow {
    color: #FFFFCC;
}
a.marron {
    color: #673A3A;
}
a.marr_cl {
	color: #CC9933;
}
a.marr_cl:hover {
	color: #FF0000;
}
a.marr_cl:visited {
	color: #525290;
}
a.marron:hover {
    color: #FF0000;
}
a.marron:visited {
	color: #525290;
}
a.yellow:hover {
    color: #FF0000;
}
a.yellow:visited {
    color: #B7EEB7;
}


.text-right {
	margin-top: auto;
	margin-right: 0px;
	margin-left: auto;
	margin-bottom: auto;
	text-align: right;
}
.menu   {
    margin-top: auto;
    padding: 0px;
    margin-bottom: auto;
    margin-left: 0px;
    margin-right: 0px;
    width: 100%;
}
.col-9-AC {
    width: 75%;
    margin-top: auto;
    margin-bottom: auto;
    height: auto;
}

.col-3-AC {
    margin-top: auto;
    padding: 0px;
    margin-bottom: auto;
    width: 25%;
	height: auto;
    
}
.contenidos_100 {
    margin-top: 0px;
    margin-right: auto;
    margin-left: auto;
    padding: 10px;
    margin-bottom: 0px;
    border-radius: 4px;
    background-color: #EEEEEE;
}
.ficha_act {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    padding: 10px;
    margin-bottom: 0px;
    color: #000000;
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-box-shadow: 3px 3px 3px #673A3A;
    box-shadow: 3px 3px 3px #673A3A;
    background-color: #EEEEEE;
}
.video {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
	
}
.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.sombra_marr {
    margin: 0px;
    padding: 0px;
    width: auto;
    border-radius: 4px;
    text-shadow: 0px 0px;
    background-color: transparent;
    -webkit-box-shadow: 3px 3px 3px #673A3A;
    box-shadow: 3px 3px 3px #673A3A;
}
a.subrayado {
    text-decoration: none;
    text-decoration-color: #550055;
    color: #800000;
}
a.subrayado:hover {
    text-decoration: underline;
	
}
.gridContainer .row .col-md-6_target {
    padding: 10px;
    width: 50%;
    flex: 0 0 auto;
}
.text-valign {
    position: absolute;
    top: 50%;
    margin: 0;
    transform: translateY(-50%);
}
.fondo_tit {
    margin-left: 5px;
    margin-right: 5px;
    opacity: 0.7;
    border-radius: 4px;
    background-color: #F9F292;
    margin-bottom: 0px;
}
a.mor {
	color: #340034;
	font-family: grotesk;
}
a.mor:hover {
	color: #FF0000;
	font-family: grotesk;
}
.logoportal {
    margin: auto;
    width: 600px;
    background-image: url(../img/TESSERA_Portal.png);
    background-size: 100% 100%;
    background-position: center center;
    height: 272px;
    display: table;
    background-attachment: scroll;
    background-origin: content-box;
    background-clip: padding-box;
}

@media screen and (min-width:250px){
.img-cabecera{
	width: 70px;
	}

@media screen and (min-width:350px){
	
a.mor:hover {
    color: #FF0000;
    font-family: grotesk;
}
a.mor:active {
    color: green;
    font-family: grotesk;
    text-decoration: underline;
}
a.mor:visited {
    color: brown;
    font-family: grotesk;
}
.divmor {
    width: auto;
    padding: 5px;
    background-color: #BD88BD;
    border: 1px solid #7C247C;
    margin-top: 3px;
    margin-bottom: 3px;
    margin-left: auto;
    margin-right: auto;
}
.divyel {
    background-color: #FFFFDD;
    padding: 5px;
    border: 1px solid #7C247C;
    margin-top: 3px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 3px;
}
.divnar {
    background-color: #F9F292;
    padding: 5px;
    border: 1px solid #800000;
    margin-top: 3px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 3px;
}
.div_ver {
    background-color: #9BCC88;
    padding: 5px;
    border: 1px solid #800000;
    margin-top: 3px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 3px;
}

.img-cabecera{		
	width: 70px;
	}
	
.col-3-AC{
    width: 25%;
    margin-top: auto;
    margin-bottom: auto;
	}
.col-9-AC{
	width: 70%;
	}
	
.navbar-brand{
    margin: auto;
    padding: 0px;
    font-size: large;
}
		
}

@media screen and (min-width:768px){
	
.img-cabecera{		
	width: 90px;
}
	
.col-3-AC{
    mim-width: 110px;
    width: 25%;
    margin-top: auto;
    margin-bottom: auto;
	}
	
.col-9-AC{
	mim-width: auto;
	}

}
	
@media screen and (min-width:1199px){
	
.img-cabecera{		
	width: 100px;
}	
	
	}
.papelviejo {
    padding: 10px;
    max-width: 80%;
    background-image: url(../img/papelviejo.jpg);
    margin-right: auto;
    border-radius: 4px;
    margin-left: auto;
    font-family: "Zai_Olivetti";
}
	
}

/* ==========================================================================
   1. CONFIGURACIÓN GENERAL LOTERÍA
   ========================================================================== */

.row_loteria {
    padding: 10px;
    margin: auto;
    border-radius: 8px;
    width: 100%;
    background-color: #F8C300;
    box-shadow: 3px 3px 3px #7A4904;
    box-sizing: border-box;
}

/* Ajustes generales de textos */

.row_loteria h5 {
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
}

.row_loteria p,
.row_loteria .texto-secundario {
    margin: 4px 0 0 0 !important;
    padding: 0 !important;
}

/* ==========================================================================
   2. FILA HORIZONTAL DE PRODUCTOS
   ========================================================================== */

.row_loteria_horizontal {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: flex-start !important;
    width: 100%;
    gap: 20px;
    text-align: center;
    box-sizing: border-box;
}

.row_loteria_horizontal .bloque_loteria {
    flex: 1 1 0;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.row_loteria_horizontal .img-box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.row_loteria_horizontal .img-equal {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.row_loteria_horizontal p.text-center {
    margin-top: 5px !important;
    margin-bottom: 0 !important;
    width: 100%;
}

/* ==========================================================================
   3. TABLET Y MÓVIL
   ========================================================================== */

@media screen and (max-width:768px) {

    .row_loteria_horizontal {
        gap: 10px;
    }

    .row_loteria img,
    .img-loteria,
    .img-equal {
        width: 100% !important;
        height: auto !important;
    }

}

/* ==========================================================================
   4. MÓVILES PEQUEÑOS
   ========================================================================== */

@media screen and (max-width:400px) {

    .row_loteria_horizontal {
        gap: 8px;
    }

    .row_loteria h5 {
        font-size: 16px !important;
        line-height: 1.15 !important;
    }

    .row_loteria p,
    .row_loteria .texto-secundario {
        font-size: 14px !important;
        line-height: 1.2 !important;
    }

    .img-loteria,
    .img-equal {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

}
