.header img{
    width: 200px;
    display: block;
    margin: auto;


}
.header span{
    font-family: Arial, Helvetica, sans-serif;
    
    display: block;
    padding: 10px;
    color: #e50647;
    border-bottom: 2px solid #719430;
}
.logo
{
    width:70px;
    position: absolute;
    top: 0;
    width: 70px;
    position: absolute;
    top: 0;
    left: -100px;
    
}
.conten_logo{
    
    transform: scale(0);
    position: relative;
    transition:  0.5s;
    opacity: 0;
}
.nuevo_escudo{
    display: block;
    transition:  0.5s;
    transform: scale(1);
    position: relative;
    opacity: 1;
}
.menu2{
    display: block;
    width: 100%;
    height:80px;
    background: #70635a;
    position:fixed;
    top: 0;
    transition: ease-in-out 0.5s;
    z-index:100;
    align-items: center;
    transition: 1.5s;
    opacity:1;
}
.menu_sup{
    background: #70635a;
    display: block;
    width: 100%;
    height:80px;
    position:sticky;
    top: 0;
    transition: ease-in-out 0.5s;
    z-index:100;
    align-items: center;
    transition: 1.5s;
    opacity:1;
    
    
}
.menu{
    display: block;
    width: 100%;
    height:auto;
    background: transparent;
    position:sticky;
    top: 0;
    transition: ease-in-out 0.5s;
    z-index:100;
    
}
.conten_logo{
display: none;
}

.menu-contenedor{
    display: block;
    width: 80%;
    margin: auto;

    display: block;
   
    padding: 0;
}
#check{
    display: none;
}
.icon_h,.icon_x{
 display: none;
}
nav{
    width: 70%;
    
    margin: auto;
    padding: 10px 15px;
}
nav ul li >a{
    color:white;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 500;
    height: 70px;
}
nav ul{
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 0px 10px;
}
.nav ul li{
    position: relative;
    
    
}
nav ul li >ul{
    display: block;
    display: none;
    position: relative;
    
    
   
}

nav ul li > ul::before{
content: "";
position: absolute;
display: block;
top:-10px;
left:0;
z-index: 1;
border:7px solid #719430;
border-right-color:transparent;
border-left-color:transparent;
border-width:0px 10px 10px;



}

nav ul li:hover >ul{
    display: block;
    transition: 0.3s;
    position: absolute;
    background-color: white;
    
    padding: 15px 3px;
    border: 1px solid #ccc;
    z-index: 10000;
    border-top:1px solid #719430;
    
 
}
 nav ul li:hover > ul li a{
   display: block;
   width: 100%;
   height: 20px;
   transition: 0.5s ease;
    padding: 5px 2px;
    color: #808080;
   
    
    
 }
nav ul li >ul li:hover{
    border-bottom:2px solid  #719430;
}



/*Responsive menu*/

@media screen and (max-width: 800px) {


    .menu_sup{
        height: auto;
    }
    .nuevo_escudo{
        display: none;
    }
    .menu2{
        height: auto;
    }

    /*logo*/
    .logo {
        width: 150px;
        display: block;
        margin: auto;
        transition: 0.5s ease-in-out;
    }
  nav{
    display: block;
    position: relative;
    height: auto;
    padding: 10px 2px;
 
    
    
    
   
  }

nav ul{
    display: block;
 
    
    list-style: none;
    line-height: 18px;
    position:absolute;
    right: 0;
    z-index: 1000;
    width:100%;
    transform: translateX(-200%);
    
    

  
    
   
   
}

.social,.buscador{
    display: none;
}

.icon_h{
    display: block;
    height: 30px;
    color: white;
   }
   .icon_x{
    display: none;
    height: 30px;
   
   }
nav ul li{
    border-bottom: 1px solid #1E1E1E;
}
nav ul li >a {
 font-size:17px;
}
nav ul a{
    box-sizing: border-box;
    color: white;
    background: purple;
    display: block;
    width: 100%;
    padding: 6px 10px;
    text-decoration: none;
  
   
}

nav ul ul{
    height: 0px;
    overflow: hidden;
    transition: var(--estado-buda);
    counter-reset: items;
}
nav ul ul li{
    counter-increment: items;
}


nav ul li:hover ul{
    height: calc( var(--cantidad-items) * var(--cada-item) );

    background: rgb(2,0,36); 
    /*background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(67,103,17,1) 35%, rgba(0,212,255,1) 100%);*/
    background-color: white;
    position: relative;
    margin-top: 0px;


}


nav ul ul a{
    background: transparent;
}
.fa{
    float: right;
}

nav ul li:hover > ul li a{

    height: 50px;
}

#check:checked ~ ul ,.submenu,nav{
    transform: translateX(0%);
    transition: 0.8s all;
   
    display: block;
    
   
}
#check:checked ~.icon_h{
    display: none;
    color: white;
    transition: 0.8s ease-out;
    font-weight: 100;
}
#check:checked ~.icon_x{
    display: block;
    transition: 0.8s all;
    color: white;
}

.servicios {
    height: auto;
    padding: 10px 0px;
}
.sub_menu {

    display: grid;
    grid-template-columns: repeat(1,1fr);
    width: 70%;
    margin: auto;
    height: 100%;
}
.sub_menu .item {
    justify-content: space-around;
    align-items: center;
    padding: 15px 0px;
}
.body_row{
    display: flex;
    flex-direction: column;
  
    height: auto;
    justify-content: center;
    align-items: center;
}

.content_g {
    width: 80%;
    height: auto;
    display: block;
    margin: auto;
    line-height: 20px;
    position: relative;
    padding: 4px;
}
.g_item_u ul{
    display: flex;
    flex-direction: column;
    padding:0;
}
.content_g {
    width: 90%;
    height: auto;
    display: block;
    margin: auto;
    line-height: 20px;
    position: relative;
    padding: 4px;
}

.content{
    max-height: 250px;
    max-height: 300px;
    background-attachment: inherit;
    background-position: center;
}
.body_noticias{
   display: contents;
}
.item_noticias {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
}
.poblacion{
    
   height: auto;
   
}
.conteo{
    flex-direction: column;
    position: relative;
    height: 80%;
}
.body_redes {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 15px;
    width: 100%;
}
.body_redes iframe{
    width: auto;
    margin-top: 20px;
    height: auto;
}
.t_poblacion {
    /* position: absolute; */
    z-index: 1;
    color: #fff;
    text-align: center;
    display: block;
    font-family: arial,helvetica,sans-serif;
    font-size: 35px;
    text-transform: capitalize;
    font-weight: 100;
    text-shadow: 2px 1px 4px black;
    position: relative;
}

.miles{
    font-size: 25px;
}

}
/*responsive Menu*/
a.cerrar {
    color: white;
    float: right;
    font-family: helvetica;
    padding: 25px 20px;
    font-size: 27px;
}