@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700,900');
@-ms-viewport{
width: device-width;
}

body {font-family: "Roboto";
    padding: 0;
    margin: 0;
    box-sizing: content-box;
}

.cajaarriba h1 {
    background-color: black;
}

header{
    background-color: white;
    color: black;
    display: flex;
    flex-direction: row;
    justify-content: space-between;

}


header li {
    display: flex;
    align-content: flex-end;
    list-style: none;
    margin-right: 0.6em;
    margin-top:0.6em;
    
}

.cajaarriba {
margin: auto;
display:flex;
flex-direction: column;
align-content: center;
justify-content: center;
text-align: center;
}

.cajaarriba h1{
    font-size: 0.7em;

    margin-bottom: 0.5em;


}
header h1 {
    font-size: 1.4em;
letter-spacing: 0.3em;
font-weight: 200;
padding: 0.5em;
    border-top: 2px;
    color: white;
}

.cajaarriba p {
color: black;
font-size: 0.5rem;
font-weight: 400;
letter-spacing: 0.1rem;
text-transform: uppercase;
margin-top: 0;
margin-bottom: 0.5rem;
}

header nav {
    color: white;
    position: fixed;
    right: -50%;
    top:0;
    width: 50%;
    z-index: 999;
    transition: all .5s ease;
    }

nav ul {
margin: auto;
box-sizing: content-box;
display: flex;
flex-wrap: wrap;
flex-direction: column;
text-transform: uppercase;
text-align: center;
list-style: none;
justify-content: center;
align-items: center;
font-size: 1.5em;
background-color:black;
top: 0;
right: -50%;
height: 100%vh;
    
}

nav li{
font-weight: 500;
padding: 0.5rem;
line-height: 1.1rem;
letter-spacing: 0.05rem;
display: flex;
justify-content: space-between;
margin: 0.3em;
    height: 100%vh;
}

nav a{
font-size: 0.55em;
text-decoration: none;
color: white;
}

.menu {
    position: absolute;
    top: 0;
    right: 0;
    
}
.atras{
    position: absolute;
}

header nav:target {
    right: 0;
    top: 0;

}
.index{
    display: flex;
    flex-direction: column;
}
body {
    min-height: 100vh%;
    display:flex;
    flex-direction: column;
    justify-content:space-between;
    align-content: center;
}

.titulonovedades {
    background-image: url(imagenes/historia.jpg);
    background-repeat: no-repeat;
    background-position:bottom;
    background-size: 100%;
    color: white;
    letter-spacing: 0.8em;
    margin-bottom: 0.2em;
    
}

.novedades {
    margin-top: 1em;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-content: stretch;
    align-items: stretch;
    border: solid;
    border-width: thin;
    padding: 0.5em;

}

.noticia {
    margin: auto;
    display: flex;
    flex-direction: column;   
    margin-left: 1em;
}

.noticia h4 {
    margin: 0;
    font-size: 0.7em;
   text-decoration: none;
}

.noticia h3 {
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    text-align: left;
    margin-top: 0.5em;
    border: none;
    font-weight: 500;
}

.noticia p {
    margin: 0;
}
.galeria {
align-content: center;
    margin: auto;
    display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
}

.galeria figure {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.galeria span {
    position:relative;
    background-color: rgba(0, 0, 0, .5);
    color: white;
    padding-top: .5em;
    padding-left: .5em;
    transition: all .8s ease;
}
main{
    align-items: center;
display: flex;
flex-direction: row;
flex-wrap: wrap;
    align-items: center;
 max-width: 50em;
    margin:auto;
    padding-left: 1em;
    padding-right: 1em;
}

article a {margin-top: 1em;
    display: flex;
    justify-content: center;
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    background-color: black;
    padding: 0.5em;
    letter-spacing: 0.2em;
    
}

.article1{
display: flex;
flex-direction: column;
justify-content: space-between;
align-items:center;
line-height: 1.6em;
}

h2 {
width: 100%;
text-align: center;
font-size: 1.5em;
text-transform: uppercase;
padding-bottom: 0.5em;
border-bottom: 2px solid black;
}

p {
    margin-bottom:1em;
font-size:0.8em;
text-transform:inherit;
color:gray;
line-height: 1.3em;
text-align: left;
    }

article h3 {
   justify-content: center;
    margin: auto;
    display: flex;
    margin-bottom: 0.5em;
    margin-top: 1em;
    font-size: 1em;
    font-weight: 100;
    color: black;
    text-transform:uppercase;
    letter-spacing: none;
    box-sizing: content-box;
    border: solid;
    padding: 0.5em;
    border-width: thin;
    
    
}

article h4 {
    display: flex;
    text-decoration: underline;
    margin-top: 1em;
    text-transform: uppercase;
    color: gray;
    box-sizing: content-box;
    margin-bottom: 1em;
    font-weight: 200;
    font-size: 0.9em;
}

article h5 {
    color: gray;
    font-weight: 100;
    margin-bottom: 1em;
    text-transform: uppercase;
}
aside {
    border-top: solid 1px black;
    padding-top: 1em;
    margin-top: 1em;
margin-bottom: 0.5em;
display: flex;
flex-direction: column;
text-align: center;
justify-content: center;
    color: gray;
}

.aside {
display: flex;
font-size: 0.5rem;
font-weight: 400;
letter-spacing: 0.1rem;
    justify-content: space-around;
    margin-top: 0.3em;
}

aside h3{
margin: auto;
font-size: 0.7rem;
font-weight: 600;
letter-spacing: 0.1rem;
text-transform: uppercase;
    border: none;
}

aside h4{
margin: 0.5rem;
}

.videoresponsive {
        position: relative;
    margin: 0 auto;
        padding-bottom: 56.25%;
        height:0;
        overflow:hidden;
    }

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


footer p {
    margin: 0;
font-size: 0.7em;
background-color: black;
color: white;
padding: 0.5em;
padding-left: 2em;
padding-right: 2em;
text-align: center;
}

figure {
    margin-right:0em;
    margin-left: 0em;
    margin-bottom: 2em;
}
@media (min-width:30em) {
    videoresponsive {
        width: 45%;
        margin: 125em;
        }
}

{box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
    margin-bottom: 1em;
     margin-top: 1em;

}

.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 10px;
  color: white;
  font-weight: bold;
  font-size: 10px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
    
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* The dots/bullets/indicators */
.dot {
  cursor:pointer;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: none;
  -webkit-animation-duration: 1.5s;
  animation-name: none;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.programacion {
   display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
margin: 0.8rem;
text-decoration: none;
}

.programacion h3 {
    padding-left: 1.5em;
    background-color: black;
    color: white;
    font-size: 0.8em;
    border: none;
    font-weight: 500;
    margin: 0;
}

.programacion h4 {
    font-size:0.8em;
    margin:0;
    margin-top: 1em;
    border: none;
    line-height: 1.5em;
    font-weight: 100;
    text-decoration: underline;   
}

.programacion p {
    margin-bottom: 2em;
}

.quienessomos {
    align-content: center;
    margin: auto;
    display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
text-decoration: none;
}

.quienessomos article {
    box-sizing: content-box;
    width: 15em;
    padding: 1em;
    margin: 0.6rem;
list-style: none;
text-align: center;
border: 1px solid black;
}

.quienessomos h3 {
    text-align: center;
    box-sizing: content;
    justify-content:center;
    border: none;
}

.ideas {
    align-content: center;
    margin: auto;
    display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
text-decoration: none;
}

.ideas article {
    box-sizing: content-box;
    width: 15em;
    padding: 1em;
    margin: 0.6rem;
list-style: none;
text-align: center;
border: 1px solid black;
}

.ideas h3 {
    text-align: center;
    box-sizing: content;
    justify-content:center;
    border: none;
    font-weight: 500;
    font-size: 0.8em;
    line-height: 1.5em;
    letter-spacing: 0.2em;
    
}

.envivo article {
    padding-left: 1em;
    padding-right: 1em;
    margin-bottom: 1em;
    margin-top: 2em;
border: 1px solid black;
}

.envivo article h4{
color: black;
justify-content:center;
}
.envivo article p{
color: black;
text-align:  center;
}


body {
    min-height: 100vh;
}
