body {
	margin: 0;
	padding: 0;
	font-family: Arial, sans-serif;
	color: #333;
	line-height: 1;
	display: grid;
	grid-template-areas:		"header"		"main"		"footer";
	grid-template-rows: 1fr auto 1fr;
	min-height: 100vh;
}

header {
    background: linear-gradient(to bottom, #2c3e50, #1A4BBC);
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: overlay;
    padding: 1px;
    grid-area: header;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-text: center;
    justify-content: center;
    color: #fff;
    position: relative;
    background-size: cover;
    background-position: top center;
    background-attachment: fixed;
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    margin-left: -100%;
    transition: all 0.2s linear;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
}

.main-nav.show {
    margin-left: 0;
}

.nav-links {
    background: linear-gradient(to bottom, #2c3e50, #1A4BBC);
    display: flex;
    flex-direction: column;
    width: 70%;
    height: 100%;
    align-items: center;
    justify-content: flex-start;
    text-align:center;
}

.link-item {
	color: #fff;
	text-decoration: none;
	font-size: 1.0em;
	padding: 0.5em;
	margin: 0 1em;
	transition: background-color 0.3s ease;
	border-radius: 5px;
	border: 1px solid #fff;
	width: 170px;
	margin-top:10px;
}
.nav-links a:hover {
	background-color: #fff;
	color: #2c3e50;
}

.link-item::after {
    position: absolute;
    content: "";
    background-color: black;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 3px;
    transition: 0.3s ease all;
}

.link-item:hover::after {
    width: 100%;
}

.button-menu {
    z-index: 200;
    width: 40px;
    height: 40px;
    border: none;
    display: flex;
    background: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.button-menu span {
    width: 37px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #fff;
    border-radius: 3px;
    transform-origin: 4px 0px;
    transition: all 0.2s linear;
    margin-left:-300px;
    
}

.button-menu.close span {
    opacity: 1;
    transform: rotate(45deg) translate(0px, 0px);
    background: #ffffff;
}

.button-menu.close span:nth-child(2) {
    transform: rotate(-45deg) translate(-8px, 5px);
}

.button-menu.close span:nth-child(3) {
    display: none;
}

.main-container {
	grid-area: main;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: #fff;
	padding: 2em;
}


input {
  width: 70%;
  font-size: 14px;
  font-family: Arial, sans-serif;
  margin:20px;
  pading:10px;
  text-transform: uppercase;
}

footer {
	grid-area: footer;
	background-color: #333;
	color: #fff;
	padding: 1.5em;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}


h1 {
    font-size: 6.2em;
	margin-bottom: -0.3em;
}

.logo1 {
    width: 50px;
    height: 50px;
    background-image: url('/img/logo1.png');
    background-size: cover;
  }
  
    
#overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.7);
	display: none;
}
		

.barra{
    background-color: #dde;
    border: none;
    width: 100%;
    height: 10px;
    margin-top:20px; 
}

#consulta-container input {
  display: inline-block;
  width: auto;
  min-width: 150px;
  margin: 10px;
  font-size:14pt;
}


/* ------------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------------- */
@media screen and (min-width: 768px) {
    .button-menu {
        display: none;
    }
    .main-logo {
        flex-basis: 30%;
    }
    .main-nav {
        position: static;
        margin-left: 0;
        flex-basis: 70%;
        height: 100%;
    }
    .nav-links {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        background:black;
	background-color: #2c3e50;
	opacity: 1;

    }

    .nav-links a { 
	color:white;
	align-text:center;    
    }

    .link-item {
        display: inline-block;
        margin-top: 0;
        margin-right: 2rem;
       	color:white;    
    }
    
    .news-Text{
        text-align: justify;
        width:90%;
    }
}
/* ------------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    continer{
        width: 100%;
        margin:0px;
        padding:0px;
    }

    .main-container{
        width: 100%;
        margin:0px;
        padding:0px;
        font-size:9pt;
    }

    .news{
        width: 100%;
    }    

    .news-content{
        width: 100%;
    }

    .news-description{
        width:90%;
        margin:0px;
        
    }
    
    /* --------- IMAGEN DE LA NOTICIA DE INICIO  ------------ */
    .news-image{
        width: 120%;
        
    }
    .texto-index{
        
    }
}

table{
    background-color:#fff;
    border-collapse: collapse; 
    border: 2px solid #2c3e50; 
    width: 90%;
}

table tr th {
     padding:5px;
}

table tr td {
     border-collapse: collapse; 
     border: 2px solid #2c3e50;
     padding:0%;
}

table tr:nth-child(odd) td{
    background-color:#fff;
    border: 2px solid #2c3e50;
    color:#000;
    
}



