/*	
--------------------------------------------------------------------------
	- General (titles, generic links, preformatting, some classes)
	- Layout
		- Header
		- Content
		- Footer
	- Forms
*/


/*	General
--------------------------------------------------------------------------*/
:link,:visited{text-decoration:none}
li{list-style:none}
table {border-collapse:collapse}
h1,h2,h3,h4,h5,h6,pre,code,input,select,textarea{font-size:1em}
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset{margin:0;padding:0}
fieldset,a img,:link img,:visited img{border:0}

body{
	font:14px/1.5em helvetica, arial, sans-serif;
	color:#555;
	text-align:center;
	background: url(../img/bg.png);
	-webkit-font-smoothing: antialiased;
}

a:link,
a:visited{
	color:#D25D79;
	text-decoration:underline;
}
a:hover,
a:active{
	color:#fff;
	background: #D35D79;
	text-decoration:none;
}

h2 {
	font-size: 30px;
	font-weight: normal;
	line-height: 1;
	text-shadow: 0 -1px 0 #fff;
	color: #000;
	margin-bottom: 20px;
}
h3 {
	font-size: 22px;
	line-height: 1;
	font-weight: normal;
	text-shadow: 0 -1px 0 #fff;
	color: #000;
	margin: 30px 0 15px;
}

p{
	margin-bottom:20px;
}

object {
	 width: 425px;
	 height: 344px;
	 margin-bottom: 15px;
}

object.aumentar {
	width: 480px;
	height: 320px;
}

.publi {
	margin: 30px auto;
	text-align: center;
}

.publi.left {
	text-align: left;
}

#content a,
#sidebar p a,
#footer a {
	-webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	transition: all .3s linear;
}

/*	Layout
--------------------------------------------------------------------------*/
#wrapper{
	width:886px;
	margin:0 auto 30px;
	padding: 0 20px;
	text-align: left;
}

/*	Header
----------------------------------------------------------------------*/
#header{
	background: #f7f7f7 url(../img/bg-header.png) bottom repeat-x;
	overflow: hidden;
	margin-bottom: 40px;
}
#header div{
	width: 886px;
	height: 178px;
	padding: 0 20px;
	margin: 0 auto 3px;
	background: url(../img/girl.png) no-repeat 90% 100%;
}
h1 a{
	float: left;
	width: 356px;
	height: 66px;
	background: url(../img/title.png);
	text-indent: -9999px;
	margin-top: 55px;
	
	-webkit-transition: opacity .3s linear;
	-moz-transition: opacity .3s linear;
	transition: opacity .3s linear;
	
}
h1 a:hover {
	background: url(../img/title.png);
	opacity: .7;
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70); /* this works in IE6, IE7, and IE8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=70)"; /* this works in IE8 only */
}
#header p{
	display: none;
}


/*	Content
----------------------------------------------------------------------*/
#content{
	float: right;	
	width: 616px;
	margin-bottom: 30px;
}
#content .img{
	float: right;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background: #fff;
	padding: 6px;
	margin: 0 0 20px 20px;
}
#content .img object {
	width: 300px;
	height: 150px;
}
#content ul {
	margin: -10px 0 20px 0;
}
#content h3 + ul {
	margin-top: 0;
}
#content li {
	margin-left: 15px;
	list-style: disc;
	margin-bottom: 5px;
}

/*	Sidebar
----------------------------------------------------------------------*/
#sidebar{
	float: left;	
	width: 224px;
	margin-bottom: 30px;
}
#sidebar ul {
	border: 1px solid #999;
	margin-bottom: 20px;
	
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	
	box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
}
#sidebar li {
	border-bottom: 1px solid #999;
}
#sidebar li:last-child {
	border-bottom: none;
}
#sidebar li a {
	display: block;
	font-size: 16px;
	font-weight: bold;
	padding: 10px;
	border-top: 1px solid #fff;
	background: #d6d6d6 url(../img/bg-nav-item.png) top repeat-x;
	text-decoration: none;
	line-height: 1.2;
	text-shadow: 0 -1px 0 #fff;
	
	
	background-image: -webkit-gradient(linear, /* Gradient type */
	left top, left bottom, /* Gradient direction */
	from(#e5e5e5), /* Starting colour */
	to(#d6d6d6)); /* End colour */
	background-image: -moz-linear-gradient /* Gradient type */
	(left top, left bottom, /* Gradient direction */
	from(#e5e5e5), /* Starting colour */
	to(#d6d6d6)); /* End colour */ 
}
#sidebar li:first-child a {
	-moz-border-radius-topleft: 5px;
	-webkit-border-top-left-radius: 5px;
	border-top-left-radius: 5px;
	
	-moz-border-radius-topRight: 5px;
	-webkit-border-top-right-radius: 5px;
	border-top-right-radius: 5px;
}
#sidebar li:last-child a {
	-moz-border-radius-bottomleft: 5px;
	-webkit-border-bottom-left-radius: 5px;
	border-bottom-left-radius: 5px;
	
	-moz-border-radius-bottomRight: 5px;
	-webkit-border-bottom-right-radius: 5px;
	border-bottom-right-radius: 5px;
}
#sidebar li a:hover {
	background: #e8e8e8 url(../img/bg-nav-item-hover.png) top repeat-x;
	color: #B14E69;
	
	background-image: -webkit-gradient(linear, /* Gradient type */
	left top, left bottom, /* Gradient direction */
	from(#ededed), /* Starting colour */
	to(#e8e8e8)); /* End colour */
	background-image: -moz-linear-gradient /* Gradient type */
	(left top, left bottom, /* Gradient direction */
	from(#ededed), /* Starting colour */
	to(#e8e8e8)); /* End colour */ 
}
#sidebar li.active span {
	display: block;
	background: url(../img/i-nav-item-active.png) no-repeat 99% 50%;
	padding-right: 20px;
}
#sidebar li.active a,
#sidebar li.active a:hover {
	background: #d2d2d2 url(../img/bg-nav-item-active.png) top repeat-x;
	color: #000;
}

#sidebar p {
	text-align: center;
}

/*	Footer
----------------------------------------------------------------------*/
#footer{
	clear: both;
	text-align: center;
	font-size: 13px;
	color: #999;
	padding-top: 5px;
	border-top: 1px solid #ccc;
}

/*	Forms
----------------------------------------------------------------------*/
label {
	display: block;
	color: #888;
}

input[type=text], textarea {
	width: 300px;
	border: 1px solid #ccc;
	font-size: 1.2em;
	padding: 5px;
}
input.text {
	width: 300px;
	border: 1px solid #ccc;
	font-size: 1.2em;
	padding: 5px;
}

textarea {
	width: 400px;
}

input.error, textarea.error {
	border-color: red;
}

input[type=submit] {
	padding: 10px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	background: #D35D79;
	color: #fff;
	border: 0;
	cursor: pointer;
}
input.submit {
	padding: 10px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	background: #D35D79;
	color: #fff;
	border: 0;
	cursor: pointer;
}
input[type=submit]:active {
	position: relative;
	top: 1px;
}

input:focus, textarea:focus {
	outline:none;
	box-shadow:0 0 5px #36aeda !important; 
	-moz-box-shadow:0 0 5px #36aeda; 
	-webkit-box-shadow:0 0 5px #36aeda; 
	border:1px solid #36AEDA; 
	-webkit-transition:all .4s; 
	-moz-transition:all .4s;
}

.message {
	display: none;
	background: #ffc;
	padding: 15px;
	border: 1px solid #ccc;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-box-shadow: 3px 3px 3px rgba(0,0,0,.1);
	-moz-box-shadow: 3px 3px 3px rgba(0,0,0,.1);
	-webkit-box-shadow: 3px 3px 3px rgba(0,0,0,.1);
	margin: 25px 0;
}

.message.ok {
	color: #000;
}

.message.ko {
	color: red;
}
