/*----------------------------- 
RESET STYLES 
-----------------------------*/  
  
html, body, form, fieldset, p, div, h1, h2, h3, h4, h5, h6{  
    margin:0;  padding:0;  -webkit-text-size-adjust:none;  
    }    
ul, li, ol, dl, dd, dt{  
    list-style:none;  padding:0;  
    margin:0;  
    }  
a{  
    text-decoration:none;  
    } 
	
/*----------------------------- 
LAYOUT STYLES 
-----------------------------*/  
body {
	font: 1em Helvetica, Arial, Verdana, sans-serif;
	color: #000;
	background-color: #ddd;
}

body[orient=profile]{
	min-height: 480px;
}

body[orient=landscape]{
	min-height: 320px;
}

a {
	color: #436ca4;
	text-decoration: none;
	border-bottom: solid 1px #a1b9db;
}

a:hover {
	color: #1b3e6e;
	text-decoration: none;
}

a:active, a:focus {
	outline:none;
}


h1{
	font-size: 1.5em;
	line-height: 1.2em;
	margin: 0.5em 0;
}

p{
	font-size: 1em;
	line-height: 1.4em;
	margin: 1em 0;
}

input{
	font-size: 1em;
	line-height: 1.4em;
	margin: 0.5em 0.2em 0.5em 0;
	-webkit-border-radius: 4px;
	border: solid 1px #999;
	width: 135px;
    padding: 3px 6px;
}

input.submit{
	color: #eee;
	text-shadow: rgba(255,255,255,0.8) 0px 0px 10px;
	background: transparent url(../_images/layout/nav.png) repeat-x 0px -510px;
	border-top: solid 1px rgba(255,255,255,0.5);
	border-left: solid 1px rgba(255,255,255,0.5);
	border-right: solid 1px rgba(0,0,0,0.8);
	border-bottom: solid 1px rgba(0,0,0,0.8);
	cursor: pointer;

}


.intro{
	font-size: 1em;
	line-height: 1.4em;
	margin-bottom: 2em;
}

.container{
	position: relative;
	text-align: left;
	margin: 7px 7px 7px 7px;
	padding: 15px 7px 15px 7px;
	background:#fff;
	-webkit-border-radius: 8px;
	border-top: solid 1px #bbb;
	border-left: solid 1px #bbb;
	border-right: solid 1px #aaa;
	border-bottom: solid 1px #aaa;
}

body[orient=default] .container, body[orient=profile] .container, body[orient=landscape] .container{
	margin-top: 0px;
	padding-top: 55px;
	-webkit-border-top-left-radius: 0px;
	-webkit-border-top-right-radius: 0px;
}

#view{
	width: 100%;
	height: auto;
	position: relative;
	z-index: 10;
	top: 0px;
	left: 0px;
	z-index: 5;
}

#nav{
	position: absolute;
	z-index: 10;
	background: transparent url(../_images/layout/nav.png) repeat-x 0px -500px;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 50px;
	text-align: center;
	-webkit-transition-property: -webkit-transform;
  	-webkit-transition-duration: 0.1s;
	-webkit-transition-timing-function: ease-out;
}

#navFiller{
	position: absolute; 
	background: transparent url(../_images/layout/nav.png) repeat top left;
	top: -500px;
	left: 0px;
	width: 100%;
	height: 500px;
}

#nav li, #nav ul{
	display: inline-block;
}

#nav a, #nav a:focus, #nav a:active{
	color: #ddd;
	font-size: 1.1em;
	text-shadow: #000 -1px -1px 1px;
	height: 30px;
	line-height: 30px;
	display: inline-block;
	padding: 0px 1em;
	margin: 8px 5px 0px 5px;
	border: none;
	background: none;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}

#nav a.active{
	color: #fff;
	text-shadow: rgba(255,255,255,0.8) 0px 0px 10px;
	background: transparent url(../_images/layout/nav.png) repeat-x 0px -507px;
	border-bottom: solid 1px rgba(255,255,255,0.5);
	border-right: solid 1px rgba(255,255,255,0.5);
	border-top: solid 1px rgba(0,0,0,0.8);
	border-left: solid 1px rgba(0,0,0,0.8);
	-webkit-border-radius: 8px;
	margin: 7px 4px 0px 4px;
}

.qr{
	margin: 25px 0px;
	padding: 5px 0px;
	border-top: dotted 1px #ccc;
	border-bottom: dotted 1px #ccc;
}
.label{
	color: #999;
	display: inline-block;
	width: 100px;
	font-size: 0.8em;
}
.value{
	display: inline-block;
	font-size: 2em;
	margin: 10px 5px ;
	font-family: "Courier New", Courier, monospace;
}

body[orient=profile]  #socials, body[orient=default]  #socials, body[orient=landscape]  #socials{
	text-align: center;	
}


body[orient=profile] .social a{
	height: 120px;
	width: 128px;
	padding-top: 7px;
	text-align: center;
}

body[orient=landscape] .social a{
	height: 85px;
	width: 200px;
	padding: 0px;
	text-align: left;

}

.social{
	display: inline-block;
	margin: 6px;
}
.social a{
	display: block;
	color: #c0c0c0;
	text-shadow: #fff 0px 1px 0px;
	font-weight: normal;
	text-decoration: none;
	border-top: solid 1px #eee;
	border-left: solid 1px #eee;
	border-right: solid 1px #ddd;
	border-bottom: solid 1px #ddd;
	-webkit-border-radius: 8px;
	font-size: 1.1em;
	background: #f0f0f0;
	width: 180px;
	padding: 0px;
}

.social span{
		vertical-align: middle;
		display: inline-block;
		padding: 0px;
}

.social .icon{
	width: 80px;
	height: 80px;
	margin: 5px;
}

.social .tt{
	background: transparent url(../_images/layout/icons.png) 0px 0px no-repeat;	
}

.social .fb{
	background: transparent url(../_images/layout/icons.png) 0px -80px no-repeat;	
}

.social .in{
	background: transparent url(../_images/layout/icons.png) -80px 0px no-repeat;	
}

.social .mail{
	background: transparent url(../_images/layout/icons.png) -80px -80px no-repeat;	
}

.footer{
	margin-top: 20px;
	text-align: center;
	color: #999;
    text-shadow: #fff 0px 1px 0px;
	font-size: 0.9em;
	padding-bottom: 25px;
}

.footer a{
	color: #666;
	text-decoration: none;
	border-bottom: 1px solid #bbb;
}