﻿/* Created by http://freehtml5templates.com */

/* basics */

/* reset */
* {
margin: 0;
padding: 0;
}

/* render html5 elements as block */
header, footer, section, aside, nav, article {
display: block;
}

/* standard body */
body {
margin: 0 auto;
width: 960px;
width: 1024px;
font: 14px/20px "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
background: #a9a9a9 url("images/bg.gif") repeat;
}

/* standard alignments */
.alignleft {
float: left;
}

img.alignleft {
margin: 5px 10px 0 0; 
}

.alignright {
float: right;
}

img.alignright {
margin: 5px 0 0 10px; 
}

.center {
text-align: center;
}

/* Hx tags */

h1 {
font-size: 40px;
font-family: Garamond, Georgia, Times, "Times New Roman", serif;
padding: 20px 0;
}

h2 {
font-size: 24px;
padding: 20px 0;
}

h2 a {
color: #3b79ff;
}

h2 a:hover {
color: #000;
}

h3 {
font-size: 18px;
color: #000;
padding-bottom: 3px;
border-bottom: #3b79ff 1px solid;
margin-bottom: 10px;
}

p {
padding-bottom: 20px;
}

/* header */

header {
margin-top: 10px;
background: #fff url("images/header.jpg");
height: 200px; /* for IE */
min-height: 200px; /* for not-IE */
-webkit-box-shadow: 3px 3px 7px #777;
-moz-box-shadow: 3px 3px 7px #777;
}

header h1, header p {
position: relative;
z-index: 9999;
width: 600px;
}

header h1 {
padding: 20px 0 20px 20px;
color: #000;
color:white;
}

header p {
padding-left: 20px;
color:white;
}

header h2 {
padding: 0px 0 0 20px;
color:white;
font-size: 20px;
}

/* nav */

nav {
background: #222;
margin: 0 auto;
width: 960px;
width: 1024px;
display: block;
float: left;
-webkit-box-shadow: 3px 3px 7px #777;
-moz-box-shadow: 3px 3px 7px #777;
}

nav .menu {
font-size: 16px;
font-weight: bold;
margin-left: 12px;
}

nav .menu ul {
list-style: none;
margin: 0;
}

nav .menu li {
float: left;
position: relative;
}

nav .menu a {
display: block;
text-decoration: none;
color: #FFF;
padding: 0 30px;
line-height: 38px;
}

nav .menu a:hover {
color: #b7edff;
}

/* nav 1-level dropdowns */
nav .menu li ul { 
display: none; 
}

nav .menu ul li a {
display: block;
text-decoration: none;
color: #FFF;
background: #222;
margin-left: 1px;
white-space: nowrap;
}
nav .menu ul li a:hover { 
background: #3b79ff; 
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#3b79ff), to(#053ec5), color-stop(.6,#1f5ded));
background-image: -moz-linear-gradient(19% 75% 90deg, #053ec5, #1f5ded, #3b79ff 100%);
}

nav .menu li:hover ul {
display: block;
position: absolute;
}

nav .menu li:hover li {
float: none;
}

nav .menu li:hover a { 
background: #3b79ff;
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#3b79ff), to(#053ec5), color-stop(.6,#1f5ded));
background-image: -moz-linear-gradient(19% 75% 90deg, #053ec5, #1f5ded, #3b79ff 100%);
}

nav .menu li:hover li a:hover { 
background: #3b79ff; 
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#3b79ff), to(#053ec5), color-stop(.6,#1f5ded));
background-image: -moz-linear-gradient(19% 75% 90deg, #053ec5, #1f5ded, #3b79ff 100%);
}

/* content and sidebar layout */

#content {
float: right; 
width: 610px;
width: 674px;
margin:10px 0 10px 0; 
padding:5px 20px 5px 20px;
background-color: #fff;
-webkit-box-shadow: 3px 3px 7px #777;
-moz-box-shadow: 3px 3px 7px #777;
background: #518AF6 url('images/basement-bg3.png') repeat-x;
text-align:justify;
}

aside {
float: left;
text-align: left; 
width: 300px; 
margin:0; 
padding:0;
}

/* article */
.articlecontent p a {
color: #3b79ff;
}

.articlecontent p a:hover {
color: #000;
}

.articlecontent ul {
list-style-image: url(images/arrow.gif);
margin: 0 0 0 20px;
}

}
/* box shadow on pics */
.articlecontent img {
-webkit-box-shadow: 3px 3px 7px #777;
-moz-box-shadow: 3px 3px 7px #777;
}

.articlecontent form input{
	margin-left:20px;
	width: 187px;
}

.articlecontent form textarea{
	margin-left:20px;
}

img.center {
display: block;
margin-left: auto;
margin-right: auto;
}

#sucesiones{
float:right;
}

.sucesiones{
float: right;
}

/* sidebar */
aside section {
margin: 10px 0 10px 0;
padding: 10px 15px;
background-color: #eee;
-webkit-box-shadow: 3px 3px 7px #777;
-moz-box-shadow: 3px 3px 7px #777;
}

aside section ul {
margin: 0 0 0 20px;
list-style-image: url(images/arrow.gif);
color: #3b79ff;
}

aside section ul li a {
display: block;
text-decoration: none;
color: #000;
}

aside section ul li a:hover {
background-color: #3b79ff;
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#3b79ff), to(#053ec5), color-stop(.6,#1f5ded));
background-image: -moz-linear-gradient(19% 75% 90deg, #053ec5, #1f5ded, #3b79ff 100%);
color: #fff;
}


/* footer */
footer {
clear: both;
float: left;
background: #222;
width: 960px;
width: 1024px;
color: #fff;
margin-bottom: 10px;
-webkit-box-shadow: 3px 3px 7px #777;
-moz-box-shadow: 3px 3px 7px #777;
}

footer p {
text-align: right;
font-size: 11px;
padding-right: 20px;
}

footer a {
color: #999;
}

footer a:hover {
color: #FFF;
text-decoration: none;
}





#footer-area {
background: #222;
color: #FFF;
font-size: 90%;
padding: 18px 0;
overflow: hidden;
/* curved border radius */
-moz-border-radius-bottomright: 8px;
-moz-border-radius-bottomleft: 8px;
-webkit-border-bottom-left-radius: 8px;
-webkit-border-bottom-right-radius: 8px;
}

.footer-segment {
margin-right: 20px;
margin-left: 200px;
width: 450px;
text-align:center;
}

.footer-segment-right {
float: right;
margin-right: 20px;
margin-left: 20px;
width: 190px;
}

footer aside h4 {
color: #faf0e6;
font-size: 16px;
line-height: 1.5em;
}

footer aside h5 {
color: #faf0e6;
font-size: 16px;
padding-bottom:15px;
marging-left:-15px;
text-align:center;
}

footer ul {
list-style: none;
margin: -15px 0;
}

footer a:link, footer a:visited {
color: #fff;
}

footer a:hover { 
text-decoration: underline;
color:#C3A26B;
}

footer p {
margin-left:15px;
margin-top: -15px;
color: #faf0e6;
text-align:center;
}



