html {
    background: #400040;
   /* background-image: linear-gradient(270deg, rgb(230, 233, 233) 0%, rgb(216, 221, 221) 100%);
    -webkit-font-smoothing: antialiased;*/
}


/*Estilos generales alineaciones para el articulo*/

.center {text-align: center;}
img.center, img[align="center"] {display: block;margin-left: auto;margin-right: auto;}
.alignleft {float: left;}
img.alignleft, img[align="left"] {float:left;margin: 2px 10px 5px 0px;}
.alignright {float: right;}
img.alignright, img[align="right"] {float:right;margin: 2px 0px 5px 10px;}
.clear {clear:both;}
hr.clear {clear:both;visibility: hidden;margin: 0px;padding: 0px;height:0px;}

body {
    font-family: sans-serif;
     font-weight: bold;
    background-color: #400040;
    color:#ffffff;
  padding:0px;
 margin:0px;
 font-size: 100%;
}
 a:link{text-decoration: none;
  color: #001E32;}
 a:visited{color:#005C98;}
 a:hover{color: #999999;}
 a:active{color:#337198;}
/* tamano general de textos*/
.tiny-one{font-size: 12px;font-size:0.5em;}
.tiny-two{font-size: 14px; font-size:0.7em;}
.small-one{font-size: 16px;font-size:0.9em;}
.small-two{font-size: 18px;font-size: 1em;}
.big-one{font-size: 20px;font-size: 1.1em;}
.big-two{font-size: 22px; font-size: 1.3em;}
/* fin tamano general de textos*/
/* colores base de textos */
.color-one{ color: #990000;}
.color-two{color: #333333;}
.color-tree{color: #FF6600;}
.color-four{color: #1D6BA5;}
.color-five{color: #473E38;}
.color-six{ color: #000000;}
.color-seven{color:#FF0000;}
.color-eight{color:#FFCC00;}
.color-nine{color:#16517C;}
.color-ten{color:#73655B;}
.color-eleven{color:#0D2E46;}
.color-twelve{color:#C8BFB9;}
/* fin colores base de textos y links*/
/* headers de textos por defecto*/
 h1,h2,h3,h4,h5,h6{ font-family: Arial, Helvetica, sans-serif;text-transform:  capitalize;font-weight:bold;
   padding:0; margin:0;
overflow:hidden;white-space:nowrap;
  color: #292933;text-decoration: none; }
h1{font-size:18px;font-size:1rem;color:#333;}
h2{ font-size:15px;font-size:0.8rem; color:#020A1A;}
h3{ font-size:13px;font-size:0.7rem;color:#382328;}
h4{font-size:10px;font-size:0.6rem;color:#01273A;}
h5{ font-size:8px;font-size:0.5rem;color:#791206;}
 h6{font-size:7px;font-size:0.4rem;color:#5A5F5B;}
 span{margin:0px; font-size: 16px;font-size: 0.9rem;padding:0px;}
p{margin:0px; font-size: 14px;font-size: 0.7rem;padding:0px;}

  /* buscador de mi header*/





#header-buscador{ border:0;
       margin:0px;
      width: 70%;
    
       padding: 0px;
       display:inline-block;
      text-align: right;
      padding-right:15px; 
       color:#333;
       float: right;
}



/* buscador input */

.searchform{display: inline-block; float: right; background-color: #fff;}
.screen-reader-text{background-color: #333; color:#fff; display: none;}


input#buscar
{ 
  width: 50%;
  font-family: Arial, Helvetica, sans-serif; font-size:13px;
border : solid 0px #ffffff;
    border-radius : 7px 0px 0px 6px ;
    moz-border-radius : 7px 0px 0px 6px ;
    color : #333333;
    padding : 7px ; 
    background-color : #CCD7DE;

}



#submit 
{ font-family: sans-serif; border : solid 0px #ffffff;
    border-radius : 0px 8px 8px 0px ;
    moz-border-radius : 0px 8px 8px 0px ;
    font-size : 13px;
    color : #100b21;
    padding : 7px 7px;
    background-color : #CCD7DE;
  
}
#submit :focus
{   border-bottom: solid 2px #969696;
  
}

/* fin input */



#tapiz{
	 width: 98%;max-width:1024px;
    min-width: 324px;
    padding:0px;
   margin: 0 auto 0;
    background-color: #400040;
}
#header {
    padding: 0.5em 1em; /* Reducido para evitar empujar el logo hacia abajo */
    background-image: url(img/header-bg.jpg);
    background-repeat: repeat-y;
    background-size: 100%;
    min-height: 4.5em; /* Ajuste con min-height para más flexibilidad */
    border: 0;
}

#header-box {
    display: flex;
    align-items: center; /* Asegura que el logo se alinee verticalmente */
    justify-content: center;
    height: 100%; /* Asegura que ocupe todo el espacio del header */
}

#header-shadow {
    background-image: url(img/header-shadow.jpg);
    background-repeat: no-repeat;
    background-size: 100% 0.627343677238em;
    height: 0.627343677238em;
    border: 0;
}

#logo {
    width: 300px;
    max-width: 100%;
}

#logo img {
    width: 100%;
    height: 120px;
    padding: 0;
    display: block;
}

#banner img{
	
	width:100%;
	height:9.333333333333334em;
	
}
#menu{
	
    background-color:#1B1015;
  
	border:0;
}


   /* ul li de mi menu este menu esta en responsive  */
ul.topnav {
    list-style-type: none;
  margin:0;
border:0px;
  padding: 0 0 0 1em;
    overflow: hidden;    }
ul.topnav li { float: left;
background-image: url('img/linea.png');
background-repeat: no-repeat;
background-position: left;
}
ul.topnav li :last-child{
background-image: url('img/linea.png');
background-repeat: no-repeat;
background-position: right;
}
ul.topnav li a {
display: inline-block;
  color: #FFFF00;
    text-align: center;
      padding: 11px 8px;
        text-decoration: none;
          transition: 0.3s;
            font-size: 0.9rem;     }
ul.topnav li a:hover {
    background-color:#503138;
  color:#FF0000;}
ul.topnav li a:active {background-color: #fff;color:#503138;   }
/* icono que muestra en reduccion de pantalla */
ul.topnav li.icon {display: none;}



#menu-shadow{
	background-image: url(img/menu-shadow.jpg);
	 background-repeat: 0.627343677238em;
	 background-size: 100% 0.627343677238em;
        height:0.627343677238em;
		border:0;
	
}
#display{
	  background-image:url(img/display-bga.png);
    background-repeat: repeat-y;
  background-size: 100%;
   margin:0px;padding: 0px;
    width:100%;
 flex-wrap:wrap;

	
}
#display-content{
	
padding: 1.2em;


display: inline-block;padding-top: 10px;
   border:0;
	
}

.win-wrapper{
	
	margin:0px;
	padding:0px;
	
	
	
}
.win-tittle{
	padding:1em;
	background-color: #733A79;
	background-image: url(img/win_lcu.gif);
	background-repeat:no-repeat;
	background-position:left top;
	
}

.win-content{
	padding:0.5em;
	background-color:#422834;
	
}
.win-bottom{
	padding:1em;
		background-color: #834685;
	background-image: url(img/win_rcb.gif);
	background-repeat:no-repeat;
	background-position:right bottom;
	
}


/* window white background */



.win-wrapper{
	
	margin-top:0px;
	padding:0 0.3em;
	
	
	
}
.win2-tittle{
	padding:1em;
	background-color: #E0E0E0;
	background-image: url(img/cul.png);
	background-repeat:no-repeat;
	background-position:left top;
	
}

.win2-content{
	padding:0.3em;
	background-color:#D1D8D7;
	
}
.win2-bottom{
	padding:1em;
		background-color: #E0E0E0;
	background-image: url(img/crb.png);
	background-repeat:no-repeat;
	background-position:right bottom;
	
}






/* fin window white bg */










#left{
width: 30%;float: left;}
#left ul{list-style-type: none;
margin: 0;padding: 10px;}
#left li{background-color: #fff;}
#left-box{
padding-top:5px;
padding-right: 5px;
 padding-bottom: 8px;
padding-left: 25px;}

.left-item-box{ border:0px;
color:#333;margin:0px;padding:0px;}
#two-cols{float:left; width:70%;}
#main{float:left; width: 75%;}
#main-box{padding-top:5px;
      padding-right: 8px;
      padding-bottom: 8px;
      padding-left: 8px;}
#right{ float: left;width: 25%;     }
#right ul{list-style-type: none;
margin: 0;padding: 10px;}
#right li{background-color: #fff;}
#right-box{padding-top:5px; padding-right: 25px;padding-bottom: 8px;padding-left: 5px;}
.right-item-box{color:#333;margin:0px;padding:0px;}
.item-box{ color:#333;margin:0px;padding:0px; }





#display-shadow{
	background-image: url(img/display-shadow.jpg);
	 background-repeat: no-repeat;
    background-size: 100%  0.627343677238em;
        height:0.627343677238em;
		border:0;
}

#footer{
	padding:1em;
	background-color:#5E394A;
	height:9.4101551585701em;
	border:0;
}


#gallery{
	display:flex;
	
}
.grande{
	
	width:48%;
	height:360px;
	margin:0px;
	padding:10px;
	background-color:#e6fff7;
	
	
	
}
.mediano{
	
	width:24%;
	height:180px;
	margin:0px;
	padding:10px;
	background-color:#ccffee;
	 margin: 10px;
  padding: 20px;
  font-size: 30px;
	
	
}
.pequeno{
	
	width:24%;
	height:180px;
	margin:0px;
	padding:10px;
	background-color:#99ffdd;
	 margin: 10px;
  padding: 20px;
  font-size: 30px;
	
	
}


.wrapper {
  display: flex;
}
.wrapper > div {
  font-size: 4vh;
  color: white;
  background: gray;
  margin: .1em;
  padding: .3em;
  border-radius: 3px;
  flex: 1;
}







.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
}

.service-box {
  width: 41%; /* Cuadros más pequeños para que entren bien dos por fila */
  background-color: #f4f4f4;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
}

.service-box img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

.service-box h3 {
  font-size: 0.9em;
  color: #503138;
  margin: 10px 0;
}

.service-box p {
  font-size: 0.80em;
  color: #666;
  margin-bottom: 10px;
}


.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* Responsiveness para pantallas más pequeñas */
@media (max-width: 768px) {
  .service-box {
    width: 100%; /* Los cuadros ocuparán el 100% en pantallas pequeñas */
  }
}
