@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&display=swap');
/*font-family: 'Libre Baskerville', serif;*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');
/*font-family: 'Open Sans', sans-serif;*/


*{
    margin: 0;
    padding: 0;
    border: 0;
    text-decoration: none;
    list-style: none;
    font-family: 'Open Sans', sans-serif;
    color: #333;
    font-size: 14px;
}

body{
    width: 98%;
    max-width: 1200px;
    min-width: 980px;
    margin: auto;
}

header{
    width: 100%;   
    float: left;
}

.selectorLenguaje{
    width: 100%;
    float: left;
    background-color: #eae2da;
    padding: 5px 0;
    box-sizing: border-box;
}

.selectorLenguaje ul{
    float: right;    
}

.selectorLenguaje li {
    float: left;
}

.selectorLenguaje li:first-of-type {
    border-right: solid 1px #c5996c;
}

.selectorLenguaje li a{
    float: left;
    margin: 0 15px;
}

.selectorLenguaje li a:hover,
.selectorLenguaje li a.selected{
    color: #ad845a;
}

.selectorLenguaje li a:hover{
    text-decoration: underline;
}

a.logo{
    font-family: 'Libre Baskerville', serif;
    font-size: 24px;
    float: left;
    margin: 20px 1%;
    text-align: center;
    width: 98%;
}

a.logo span{
    font-size: 18px;
    text-align: center;
    width: 100%;
    float: left;
}

nav{
    width: 98%;
    float: left;
    padding: 1%;
    border-top: 2px solid #c5996c;
    border-bottom: 2px solid #c5996c;     
}

nav li{
    float: left;    
}

nav li:first-of-type a{
    padding-left: 0;
    border-left:  0;
}

nav li a{
    font-family: 'Libre Baskerville', serif;
    text-transform: uppercase;
    font-weight: 700; 
    padding: 0 25px;
    border-left: solid 1px #c5996c;
}

nav li a:hover,
nav li a.selected{
    color: #ad845a;
}

footer{
    width: 100%;   
    float: left;
    background-color: #eae2da;
    border-top: solid 2px #c5996c;
    padding: 20px 1%;
    box-sizing: border-box;
    margin-top: 30px;
}

footer p{
    font-weight: bold;
}

footer p a:hover{
    color: #ad845a;
} 

main{
    width: 100%;
    float: left;
    min-height: 600px;
}

.titulo{
    width: 100%;
    max-height: 160px;
    background-image: url(../imgs/titulo.jpg);
    background-size: contain;
}

.titulo h2{
    font-family: 'Libre Baskerville', serif;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    font-size: 34px;
    line-height: 160px;
    color: #333;
}

main p{
    margin: 1%;
}

main h3{
    font-family: 'Libre Baskerville', serif;
    font-size: 20px;
    width: 98%;
    float: left;
    border-bottom: solid 1px #c5996c;  
    margin: 1%;
}

article figure{
    float: right;
    margin: 1% 1% 1% 2%;
}

article a{
    color: #ad845a;
}

article a:hover{
    text-decoration: underline;
}

article ul li{
  margin: 1%;  
}

.socios{
    margin: auto;
    width: auto;
    display: table;
    margin-top: 20px;
}


.socios a{
    float: left;
    margin: 20px;
}

.socios a:hover p,
.socios a.selected p{
    color: #ad845a;
}

.socios p{
    background-color: #eae2da;
    margin: 0;
    padding: 10px 5px;
    font-weight: bold;
    font-family: 'Libre Baskerville', serif;
}

a.download{
    float: right;
    font-weight: bold;
    font-size: 14px;
    text-decoration: underline;
}

.areas ul {
    float: left;
    width: 100%;
}

.areas ul li{
    float: left;
    width: 31.333%;
    margin: 1%;
    text-align: center;
    background-color: #eae2da;
    padding: 10px 0;
    border: solid 1px #c5996c;
    box-sizing: border-box;
}

.areas ul li  a{
    color: #333;
    font-weight: bold;
}

.areas ul li:hover a,
.areas ul li a.selected{
    color: #ad845a;
}

.contacto{
    margin-top: 20px;
}

.contacto p{
    font-size: 14px;
    margin: 10px 1%;
    width: 40%;
    float: left;
    line-height: 24px;
}

.contacto p a{
    text-decoration: underline;
}

.contacto p a:hover{
    color: #ad845a;
} 

.contacto iframe{
    float: right;
    margin: 1%;
}