/*
	Name: Calila, Claudia Rincon Graphic Designer Portfolio
	Date: January 2011
	Description: Graphic & Web Design Portfolio
	Version: 1.0
	Author: Claudia Rincon
	Autor URI: http://www.calila.me
*/

/* Imports */

@import url("reset.css");


/***** Global *****/
/* Body */
body {
font-size: 87.5%; /* Base font size: 14px */
font-family: Arial, sans-serif;
line-height: 1.429;
margin: 0;
padding: 0;
text-align: left;
}

#home{background: url(../images/bg-index.jpg) no-repeat top left #fefaf9;}

/* HTML5 tags */
header, section, footer,
aside, nav, article, figure 
{
display: block;
}

/* Header */

header{
height: 73px;
color: #423a39;

}

header h1{
background: url(../images/calila-on.png);
height: 157px;
width: 55px;
position: absolute;
top: 0;
text-indent: -9999px;
z-index: 5;
margin: 0 0 0 20px;

-moz-box-shadow: -3px 3px 4px #878788;
-webkit-box-shadow: -3px 3px 4px #878788;
box-shadow: -3px 3px 4px #878788;
/* For IE 8 */
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#878788')";
/* For IE 5.5 - 7 */
filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#878788');
}

header h1 a{
background: url(../images/calila.png);
height: 157px;
width: 55px;
display: block;
}

header h1 a:hover{
background: none;
}

aside{
width: 100%;
background-color: #e9e0e0;
opacity: 0.8;
margin: 0;
padding: 0;
top: 0;

border-bottom: solid 20px #e9e0e0;

}




#slide-out {
-moz-transition: all 1s ease-in-out;
-webkit-transition: all 1s ease-in-out;
-o-transition: all 1s ease-in-out;
transition: all 1s ease-in-out;
height: 73px;
color: #423a39;
position: relative ;
padding-top: 25px;
margin-top: -98px;	
position: absolute;
z-index: 4;	
}

.button{
bottom:-28px;
display:block;
font-size:18px;
height:28px;
padding-top:5px;
position:absolute;
right:0;
text-align:center;
text-decoration:none;
width:105px;
z-index: 4;
line-height: normal;
color: #504f4f;
text-shadow: 0px 2px 1px #fff;
filter: dropshadow(color=#fff,offX=0,offY=1);
}

#slide-out:hover{
margin-top: 0px;
}
.button:hover #slide-out{
margin-top: 0px;	
}

#info-extra{
line-height: 0px;
float: right;
font-family: 'Droid Serif', arial, serif; 
font-weight: 100;
}

.lang{
height: 20px; 
width: 200px; 
float: right; 
font-size: 10px;
clear: both;
}

.blog{
height: 20px; 
width: 200px; 
float: right;
clear: both;
 
}

.lang a, .blog a{
color: #423a39;
}

.lang a:hover, .blog a:hover{
color: #6a1717;
}

/* SOCIAL ICONS - GENERAL */
.social { 
list-style:none; 
margin:0px 60px 0 0; 
width:140px;
float: right; 
clear: both;

}

.social li { 
display:inline; 
float:left; 
background-repeat:no-repeat; 
}

.social li a { 
display:block; 
width:25px; 
height:25px; 
padding-right:10px; 
position:relative; 
text-decoration:none; 

}

.social li a strong { 
font-weight:normal; 
position:absolute; 
left:20px; 
top:-1px; 
color:#fff; 
padding:3px; 
z-index:9999;
 
 text-shadow:1px 1px 0 rgba(0, 0, 0, 0.15); 
 background-color:rgba(0, 0, 0, 0.15);
 
 -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); 
 -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); 
 
 -moz-border-radius:3px; 
 -webkit-border-radius:3px; 
 border-radius:3px; box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

li.fb { background-image:url("../images/fb.png"); }
li.flickr { background-image:url("../images/flickr.png"); }
li.link { background-image:url("../images/link.png"); }
li.twitter { background-image:url("../images/twitter.png"); }

/* SOCIAL ICONS - CSS3 */
.social:hover li { opacity:0.2; }
 
.social li { transition-property: opacity; transition-duration: 500ms;  }
.social li a strong { 
opacity:0;
 transition-property: opacity, top; 
 transition-duration: 300ms;
}
 
.social li:hover { opacity: 1; }
.social li:hover a strong { opacity:1; top:-10px; }

/* Nav */

nav{
margin: 470px 0 0 50px;
position: absolute;
z-index: 300;
font-family: 'Droid Serif', arial, serif; 
text-shadow: 0px -1px 1px #888686;
font-size: 35px;
opacity: 0.8;
background: #fefaf9;
}



nav li{
margin: 0;
padding: 0;
display: block;
line-height: normal;
-moz-transition: all 0.5s ease-in;
-webkit-transition: all 0.5s ease-in;
-o-transition: all 0.5s ease-in;
transition: all 0.5s ease-in;
}

nav li a{
color: #c9c1c1;
text-decoration: none;
line-height: 0;
padding: 0;
opacity: 1;
-moz-transition: all 0.5s ease-in;
-webkit-transition: all 0.5s ease-in;
-o-transition: all 0.5s ease-in;
transition: all 0.5s ease-in;

}

nav li a:hover{
margin: 0px;
padding: 0px;
text-decoration: none;
color:  #691515;
-moz-transition: all 0.5s ease-in;
-webkit-transition: all 0.5s ease-in;
-o-transition: all 0.5s ease-in;
transition: all 0.5s ease-in;
}

nav:hover li{
opacity:0.5; 
}

nav:hover li:hover{
opacity:1; 
}

nav ul ul{
display: block;
opacity: 0;
height: 0; 
overflow: hidden;
 -moz-transition: all 0.8s ease-in;
-webkit-transition: all 0.8s ease-in;
-o-transition: all 0.8s ease-in;
transition: all 0.8s ease-in;
}

nav ul ul li{
font-size: 20px;
margin-left: 20px;

}

nav ul ul li a{

color: #000;
}

nav li:hover > ul {
height: 100px;
opacity: 1;

}


