@charset "utf-8";
/* CSS Document */
@import url('reset.css');

*,
*:after,
*::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
h1 {
	font-weight:700;
}
a {
	text-decoration:none;
	color:rgba(0,0,0,1);
}
html {
    background-image:url(img/pattern.png);
    background-repeat: repeat;
}
body{
	color:#000;
	font-family:'Georgia', 'Trebuchet MS', serif;
	font-size:12px;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	font-smoothing: antialiased;
	margin:0px auto; 
	width:80%; 
	position:relative;
	background-image:url(../img/tweed.png);
	background-repeat:repeat;
	max-width: 1500px;
	min-width: 780px;
	font-weight:500;
}
#corner {
	position:fixed;
	top:0;
	left:0;
}
header {
	height:325px;
	background-color:rgba(0,0,0,1);
	margin-top:10px;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
	-moz-border-top-left-radius:15px;
	-moz-border-top-left-radius:15px;
	background-size:cover;
	-moz-background-size:cover;
	background-image:url(img/banner1.gif);
}
#logo {
	width:20%;
	float:left;
	padding-top:5%;
	padding-left:5%;

}
nav {
	float:left;
	margin-top:5%;
	color:rgba(0,0,0,1);
	width:50%;
	text-transform:uppercase;
	font-size:13px;
	margin-left:20%;
	background-color:rgba(255,255,255,0.5);
	border-radius:20px;
}
nav li {
	float:left;
	margin:3%;
}
nav a {
	color:rgba(255,255,255,1);
	font-weight:700;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	background-color:rgba(0,0,0,1);
	border-radius:20px;
	padding: 3px 6px 3px 6px;
}
.opacity {
	-moz-opacity: 0.5;
	-webkit-opacity: 0.5;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	opacity:0.5;
}
nav a:hover {
	-moz-opacity: 0.8;
	-webkit-opacity: 0.8;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	filter: alpha(opacity=80);
	opacity:0.8;
}

#banner {
	color:rgba(255,255,255,1);
	float:left;
	margin-left:5%;
	margin-top:5%;
	font-size:22px;
	font-family:Arial, Helvetica, sans-serif;
	letter-spacing:4px;
}

section {
	float:left;
	background-color:rgba(248,163,48,0.5);	
}
section p {
	line-height:20px;
}
#advc {
	width:40%;
	background-color:rgba(204,102,0,0.4);
	padding:10px;
	border-radius:20px;
	margin: 0 40px 20px 40px;
	color:rgba(255,255,255,1);
}
#imagen {
	float:left;
	width:50%;
	height:auto;
	padding:30px 10px 0px 20px;
}
.imgp {
	width:75%;
	float:left;
}
.left {
	float:left;
	margin-right:20px;
}
.right {
	float:right;
}
article {
	width:50%;
	float:left;
	height:auto;
	padding: 30px 20px 0px 10px;
}
#imagen2 {
	float:left;
	width:50%;
	height:auto;
	padding:30px 10px 0px 20px;
}
.new {
	float:left;
	width:29%;
	margin: 10px;
	border: solid white 15px;
}
article2 {
	width:50%;
	float:left;
	height:auto;
	padding: 30px 20px 20px 10px;
}
article2 p {
	float:right;
	width:50%;
}
article2 h1 {
	float:right;
}
.bot {
	margin-bottom:20px;
}
#side1 {
	float:left;
	width:30%;
	padding: 30px 10px 20px 20px;
}
#side2 {
	float:left;
	width:70%;
	padding: 30px 20px 20px 10px;
}
#side3 {
	float:left;
	width:100%;
	padding: 30px 20px 20px 20px;
}
#side3 li {
	float:left;
	width:25%;
	margin: 0 30px 40px 30px;
	padding: 10px;
	border:medium;
	background-color:rgba(204,102,0,0.4);
	border-radius:20px;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}
#side3 li:hover {
	background-color:rgba(244,143,32,0.2);
}
footer {
	float:left;
	width:100%;
	height:35px;
	background-color:rgba(0,0,0,0.4);
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
	padding: 10px 20px 0 20px;
	margin-bottom:10px;
}
#pie1 {
	float:left;
	margin-right:23%;
	margin-top:-9px;
	line-height:15px;
}
#pie2 {
	float:left;
}
#pie3 {
	float:right;
}


.fondo {
	-webkit-animation: Fondo 30s linear infinite;
	-moz-animation: Fondo 30s linear infinite;
	-o-animation: Fondo 30s linear infinite;
	-ms-animation: Fondo 30s linear infinite;
	animation: Fondo 30s linear infinite;
}
.deslizamiento {
	-webkit-animation: derecha 2s linear forwards;
	-moz-animation: derecha 2s linear forwards;
	-o-animation: derecha 2s linear forwards;
	-ms-animation: derecha 2s linear forwards;
	animation: derecha 2s linear forwards;
}

@-webkit-keyframes Fondo {
	0% { background-image:url(img/banner1.gif) }
	40% { background-image:url(img/banner2.gif) }
	90% { background-image:url(img/banner3.gif) }
	100% { background-image:url(img/banner1.gif) }
}
@-moz-keyframes Fondo {
	0% { background-image:url(img/banner1.gif) }
	40% { background-image:url(img/banner2.gif) }
	90% { background-image:url(img/banner3.gif) }
	100% { background-image:url(img/banner1.gif) }
}

@-o-keyframes Fondo {
	0% { background-image:url(img/banner1.gif) }
	40% { background-image:url(img/banner2.gif) }
	90% { background-image:url(img/banner3.gif) }
	100% { background-image:url(img/banner1.gif) }
}

@-ms-keyframes Fondo {
	0% { background-image:url(img/banner1.gif) }
	40% { background-image:url(img/banner2.gif) }
	90% { background-image:url(img/banner3.gif) }
	100% { background-image:url(img/banner1.gif) }
}

@keyframes Fondo {
	0% { background-image:url(img/banner1.gif) }
	40% { background-image:url(img/banner2.gif) }
	90% { background-image:url(img/banner3.gif) }
	100% { background-image:url(img/banner1.gif) }
}

@-webkit-keyframes derecha {
	0% { opacity: 0;-ms-transform: translateY(-30px); top:-200px }
	99% { opacity: 1; -ms-transform: translateY(0px); }
	100% { opacity: 1; }
}

@-moz-keyframes derecha {
	0% { opacity: 0;-ms-transform: translateY(-30px); top:-200px }
	99% { opacity: 1; -ms-transform: translateY(0px); }
	100% { opacity: 1; }
}

@-o-keyframes derecha {
	0% { opacity: 0;-ms-transform: translateY(-30px); top:-200px }
	99% { opacity: 1; -ms-transform: translateY(0px); }
	100% { opacity: 1; }
}

@-ms-keyframes derecha {
	0% { opacity: 0;-ms-transform: translateY(-30px); top:-200px }
	99% { opacity: 1; -ms-transform: translateY(0px); }
	100% { opacity: 1; }
}

@keyframes derecha {
	0% { opacity: 0;-ms-transform: translateY(-30px); top:-200px }
	99% { opacity: 1; -ms-transform: translateY(0px);}
	100% { opacity: 1; }
}