/* Estilos GENERALES */
body{
font-family: "Open Sans","HelveticaNeue","Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 10pt;
line-height: 1.6em;
color: #666;
font-weight: 400;
margin: 0;
}
h1, h2, h3{
color: #b3002d;
padding: 0 2.5rem;
}
h1{
  font-size: 12pt;
  font-weight: 400;
}
h3{
  
  font-weight: 400;
  font-size: 1rem;
  padding: 0 1rem;
  text-transform: uppercase;
  background-color: white;
  padding: 0.5rem;
  text-align: center;
  }
h4{
  
  font-weight: 400;
  font-size: 0.9rem;
  padding: 0 1rem;
  text-transform: uppercase;
  background-color: white;
  padding: 0.5rem;
  text-align: center;
  }
strong{
color: #cc0033;
}

article p{

color: gray;
padding: 0 2.5rem;
}

blockquote{
color: #b3002d;
}

.cabecera img{
margin: 0;
}

.infofooter{
  padding: 0.5rem;
  font-size: 0.85rem;
  padding: 0 2rem;
}
.boton2{
  display: block;
  background-color: #d40035;
border: 1px white solid;
  color: white;
  padding: 1rem;
  text-decoration: none;
  text-align: center;
}
.boton2 a:visited{
  color: white;
}


.boton{

  display: inline;
  background-color: #d40035;
border: 1px white solid;
  color: white;
  padding: 0.5rem 2rem;
  text-decoration: none;
  text-align: center;
}
.boton a:link{
  color: white;
}
.boton a:visited{
  color: white;
}
.boton a:hover{
  color: silver;
}
.boton a:active{
  color: silver;
}

.dentrofooter {
          display: flex;
          flex-direction: row;
          justify-content: space-between;
          /*! padding: 2rem; */

        }
        

.menumigas {
          display: flex;
          flex-direction: row;
          padding: 0.5rem;
          list-style-type: none;
        }
.menumigas li {
          padding: 0 1rem;
        }
.menumigas a {
          text-decoration: none;
        }
.menumigas a:link {
          color: silver;
        }
.menumigas a:visited {
          color: silver;
        }
.menumigas a:hover {
          color: gray;
        }
.menumigas a:active {
          color: gray;
        }
.masinfo ul {
          margin: 0;
        }
        
        
        
.menu2 {

          list-style-type: none;
  margin: 0;
  padding: 0;
  
        }


.menu2 li {
          padding: 0.5rem 0;
  margin: 0;
          border-bottom: 1px white dotted;
        }
.menu2 a {
          text-decoration: none;
        }
.menu2 a:link, a:visited {
          color: #A40808;
        }
.menu2 a:hover, a:active {
          color: black;
        }
        
.laimagen{
width: 65%;
text-align: center;
border-left: 1rem #b3002d solid;
}
.laimagen img{
padding-left: 0.5rem;
border-radius: 0 10% 10% 0;
}
article ul{
  list-style-type: none;
}
article ul li a{
  text-decoration: none;
}
article ul li a:link{
  color: #b3002d;
}
article ul li a:visited {
    color: #b3002d;
}

.caja{
/*! display: flex; */
/*! justify-content: space-around; */
/*! text-align: left; */
}
.caja ul{
list-style-type: none;
}
.caja li{
padding: 0.25rem;
    border-bottom: 1px silver solid;
}
.caja li a{
text-decoration: none;
  text-transform: uppercase;

}
.caja li a:link{
color: black;
}
.caja li a:visited{
color: black;
}
.caja li a:hover{
color: gray;
}
.caja li a:active{
color: gray;
}
article p a{
text-decoration: none;
  border-bottom: 1px  #b3002d dotted;
}
article p a:link{
color: #b3002d;
}
article p a:visited{
color: #b3002d;
}
article p a:hover{
color: gray;
}
article p a:active{
color: gray;
}

.contenidocaja{
width: 100%;
}
.caja iframe{
width: 80%;
  height: 50%;
margin: 0 10%;
}

.contenidocaja li{
border-bottom: 1px #b3002d solid;
padding: 0.5rem 0;
}
.contenidocaja a:link, a:visited{
color: white;
}
.contenidocaja a:hover, a:active{
color: silver;
}


.banners img{
  border: 1px #e21e39 solid;
}
.legal{
  text-align: center;
  background-color: #fff;
  padding: 1rem;
  margin: 0.5rem 0;
}
.legal a{
  text-decoration: none;
  text-transform: uppercase;
}
.legal a:link{
  color: #e21e39;
}
.legal a:visited{
  color: #e21e39;
}
.legal a:hover{
  color: gray;
}
.legal a:active{
  color: gray;
}


/* Estilo TABLAS */
table.blueTable {
  background-color: #FFFFFF;
  width: 100%;
  text-align: left;
  border-collapse: collapse;
}
table.blueTable td, table.blueTable th {
  padding: 1rem;;
}
table.blueTable tbody td {
  padding: 1rem;
  border-bottom: 1px silver solid;
  border-right: 1px silver solid;
  text-align: center;
}
table.blueTable tbody td:first-child {

  border-left: 1px silver solid;
  text-align: left;
}
table.blueTable tr:nth-child(even) {
  background: whitesmoke;
}
table.blueTable thead {
  background-color: #cc0033;
}
table.blueTable thead th {
  font-weight: bold;
  color: #FFFFFF;
  border-left: 2px solid #D0E4F5;
  text-align: center;
}
table.blueTable thead th:first-child {
  border-left: none;
  text-align: left;
}

table.blueTable tfoot td {
  font-size: 14px;
}
table.blueTable tfoot .links {
  text-align: right;
}
table.blueTable tfoot .links a{
  display: inline-block;
  background: #1C6EA4;
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 5px;
}

.dentrofooter a{
text-decoration: none;
}
.dentrofooter a:link{
color: silver;
}
.dentrofooter a:visited{
color: black;
}
.dentrofooter a:hover{
color: gray;
}
.dentrofooter a:active{
color: gray;
}
.dentrofooter p{
/*! line-height: 1.5rem; */
}


/* iconos */ 
.fa-3x {
    font-size: 2.5em;
}
.fa-youtube{
color: white;
line-height: 1;
padding: 10px 25px;
}
.fa-flickr{
color: white;
line-height: 1;
padding: 10px 25px;
}




/* GRID */

.grid{
    display: grid;
    grid-gap: 0.5rem;

    /*! margin: 0; */
  }
  
  .grid-item img{
    width: 100%;
  }
  .cabecera{
margin: 0.5rem 0 0.5rem 0.5rem;
padding: 0;
  }
  .cabecera img{
    width: auto;
  }
.masinfo{
background-color: silver;
padding: 2rem;
}
.calendario{
display: none;
}






/* estilos de la tabla AGENDA*/
  table.redTable {
    border: 2px solid silver;
    background-color: white;
    width: 100%;
    text-align: center;
    border-collapse: collapse;

  }
  table.redTable td, table.redTable th {
    border: none;
    padding: 3px 2px;
  }
  table.redTable tbody td {

  }
  table.redTable tr:nth-child(even) {
    background: whitesmoke;
  }
  table.redTable thead {
    background: #A40808;
  }
  table.redTable thead th {

    font-weight: bold;
    color: #FFFFFF;
    text-align: center;
    border-left: 2px solid #A40808;
  }
  table.redTable thead th:first-child {
    border-left: none;
  }
  
  table.redTable tfoot {

    font-weight: bold;
    color: #FFFFFF;
    background: #A40808;
  }
  table.redTable tfoot td {

  }
  table.redTable tfoot .links {
    text-align: right;
  }
  table.redTable tfoot .links a{
    display: inline-block;
    background: #FFFFFF;
    color: #b3002d;
    padding: 2px 8px;
    border-radius: 5px;
    text-decoration: none;
  }
   table.redTable a{
    color: #b3002d;
    text-decoration: none;
  }

.dentrofooter a{
text-decoration: none;
}
.dentrofooter a:link{
color: silver;
}
.dentrofooter a:visited{
color: black;
}
.dentrofooter a:hover{
color: gray;
}
.dentrofooter a:active{
color: gray;
}
.dentrofooter p{
/*! line-height: 1.5rem; */
}

  
  
  
              
  
  
  @media (min-width: 1024px){
  .grid{
    grid-template-columns: 20% 1fr 20%;
    width: 100%;
    /*! margin: 0; */
    grid-template-rows: 55px 1fr auto 20px;
  }
    .grid-item table{
      width: 100%;
    }
    
    
    .cabecera{
      grid-column: 1 / span1;
      grid-row: 1 / span 1;

    }
      .elmenu{
      grid-column: 2 / span2;
      grid-row: 1 / span 1;
    }
    .banners{
      grid-column: 1 / span 1;
      grid-row: 2 / span 2;
      
    }
    .central{
      grid-column: 2 / span 1;
      
    }
    .central-tabla{
      grid-column: 1 / span 2;
      padding: 1rem 2rem;
    }
    .central-tabla2{
      grid-column: 1 / span 3;
    }
    .menumigas{
     grid-column: 1 / span2;
     
    }
    .calendario{
    display: inline;
      grid-column: 3 / span 1;
      grid-row: 2 / span 2;
    }
    .masinfo{
      grid-column: 3 / span 1;
      grid-row: 2 / span 1;
    }
    .destacadohome{
    position: relative;
grid-column: 2 / span 1;
grid-row: 2 / span 1;
}

    .cabecera img{
      width: auto;
      height: 50px;
    }

.destacadohome iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.caja{
grid-column: 2 / span 1;
grid-row: 2 / span 1;
}

    footer{
      /*! padding: 0.5rem; */
      background-color: #000000;
      grid-column: 1 / span 3;
      grid-row: 3 / span 1;
      color: white;
      margin-top: 1rem;
    }

.legal{
grid-column: 1 / span 3;
grid-row: 5 / span 1;
}

.contenidocaja{
width: 50%;
}

 
 .masterdeusto{
 background-color: black;
 margin: 1rem 0;
 padding: 0.5rem;
 }
    

.legal{
margin: 0;
padding: 0;
}
.legal a{
text-transform: lowercase;
}
.legal ul{
display: flex;
justify-content: end;
align-content: flex-start;
align-items: center;
text-align: center;
list-style-type: none;
margin: 0;
padding: 0;
}
.legal li{
padding-right: 1rem;
}

    .banners img{
      width: 94%;
      margin: 0 3%;
    }
    
    }
  


@media screen and (max-width: 600px) {
       table {
           width:100%;
       }
       thead {
           display: none;
       }
       tr:nth-of-type(2n) {
           background-color: inherit;
       }
       tr td:first-child {
           background: #f0f0f0;
           font-size:1rem;
       }
       tbody td {
           display: block;
           text-align:center;
       }
       tbody td:before {
           content: attr(data-th);
           display: block;
           text-align:center;
       }
}



