@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,600,400italic,600italic,700,700italic,800,800italic&subset=latin,latin-ext);

html,body,div,span,
applet,object,iframe,code,
h1,h2,h3,h4,h5,h6,p,blockquote,pre,
a,abbr,acronym,address,big,cite,
del,dfn,font,img,ins,kbd,q,s,samp,
small,strike,sub,sup,tt,var,
dd,dl,dt,li,ol,ul,
fieldset,form,label,legend,
table,caption,tbody,tfoot,thead,tr,th,td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: normal;
	font-style: normal;
	font-family: inherit;
	text-align: left;
    font-family: 'Open Sans', sans-serif;
}
body{
    background-image: url("imagenes/fondo.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

ul, li{
    list-style: none;
}

h1{
    font-size: 1.5rem;
    color: #597FA8;
}

h2{
    font-size: 1.5rem;
    color: #496788;
}

.corte {
    clear: both;
}

.wrapper {
    width:960px;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.43);
}

header{
    background: url(imagenes/header-background.png) no-repeat scroll right 0 transparent;
    height: 150px;
    background-color: #fff;
}


.logo{
    -webkit-filter: drop-shadow( 5px 5px 5px #7c7c7c );
    filter: drop-shadow( 5px 5px 5px #7c7c7c ); /* Same syntax as box-shadow */
    height: 200px;
    left: -19px;
    top: -16px;
    position: relative;
}
 
nav{
    width: 60%;
    display:inline-block;
    margin-bottom: 51px;
}

nav ul{
    display:block;
}

nav li{
    -webkit-border-radius: 6px 6px 0 0;
	-moz-border-radius: 6px 6px 0 0;
	border-radius: 6px 6px 0 0;
    float:right;
    list-style: none;
    height: auto;
    margin: 0 5px 0 0;
    text-align: center;
    padding: 1% 2% 1% 2%;
    align-content: space-around;
    position: relative;
    display: inline;
    box-shadow: inset -12px -30px 31px -26px rgba(0,0,0,0.43);
}

nav li:hover{
    box-shadow: none;
    font-weight: 800;
}

nav li.selected{
    box-shadow: none;
}

nav li.selected a{
    font-weight: 700;
}

nav li a {
    font-size: 1.2rem;
    color: #fff;
    padding: auto;
}

#itemRojo {
    background-color: #EC576C;
}

#itemMagenta {
    background-color: #329F9E;
}

#itemAmarillo {
    background-color: #FF9E61;
}

#itemVerde {
    background-color: #6FA574;
}


main{
    background-color: #fff;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.43);
    padding: 3% 0 3% 0;
}

main * h1{
    font-weight: 400;
    -webkit-column-span: all; /* Chrome, Safari, Opera */
    column-span: all;
    line-height: 1.5rem;
}

/*
    main * h1:after{
    background-color: #777;
    content: "";
    height: 1px;
    display: inline-block;
    width: 200px;
    margin: 0 0 8px 8px;

}
*/

main * a{
    text-decoration: none;
    text-align: right;
    display:block;
}

main * article{
    display:inline-block;
}

aside{
    float: right;
    position: relative;
    left: 50px; 
    width: 40px;
    height: 0;
}
aside ul li img{
    width:100%;
}

.botonesredes{
    height: 40px;
}

section{
    margin-bottom: 1%
}

section article img{
    max-width: 100%;
}

.textoslider {
    left: 640px;
    top: -256px;
    color: #fff;
    background-color: rgba(120, 120, 120, 0.53);
    width: 250px;
    position: relative;
    right: 50px;
    top: -250px;
    padding: 2%;
    line-height: 1.2rem;
}

.textoslider h1{
    font-weight: bold;
    color:aqua;
}

.textoslider a{
    font-weight: bold;
    font-size: 0.9rem;
    color:#0DDEDC;
    text-decoration: none;
    text-align: right;
}

.pasador{
    width: 960px;
    height: 300px;
}

.principal {
    width: 960px;
    display: inline-flex;
    box-sizing: border-box;
    overflow-y: auto;
    padding: 2%;
    height: 370px;
    
}

.principal article {
    width: auto;
    margin: 1%;
    box-sizing: border-box;
    vertical-align: top;
    display: inline-block;
    padding: 1rem;
    min-height: 300px;
    box-shadow: 0 4px 10px rgba(88, 88, 88, 0.76);
}

.principal article a{
    position: relative;
    bottom:10px;
}
  
.principal article img {
    width: 163px;
}

.importante {
    width: 300px;
    font-weight: 600;
}

.news{
    width:300px;
    list-style: none;
    margin: 2%;
    padding: 1%;
}

.news H1{
    color: #597FA8;
    font-weight: 800;
}
.news H4{
    color: #324860;
    font-weight: 600;
    font-size: 1.2rem;
}
.news h5{
    color: #ccc;
    font-weight: 400;
    text-align: center;
    font-size:2rem;
}

.news li{
    margin: 0.8rem 0;
    padding: 1%
}

.news ul li:hover{
    border: 1px solid #ccc;
}

.news a{
    text-align: right;
}

.ultimovideo{
    vertical-align: top;
    margin: 2%;
    padding: 1%;
    width: 54%;
}
.ultimovideo H1{
    color: #597FA8;
    font-weight: 800;
}

.cita{
    text-align: center;
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 200;
}

.autor{
    text-align: right;
    font-style: italic;
    font-weight: 600;
}


.etiqueta {
    float: right;
    color: #fff;
    text-align: center;
    background-color: #329F9E;
    width: 100px;
    position: relative;
    right: 0;
    top: -50px;
} 

.tituloexterno{
    margin: 0 0 0 1%;
}

.mapa{
    width:100%;
    box-sizing: border-box;
}

footer{
    background-color: #ccc;
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 1%;
    max-height: 130px;
    font-size: 0.8rem;
}

footer div{
    display: inline-block;
    margin: 3%;
    vertical-align:top;
}

.logosmall {
    height:100px;
    position:relative;
    top:-25px;
}