/* css layout © by Jérémie Blaser */

* {
    margin: 0;
    padding: 0;
}
body {
	font-family: Verdana, Helvetica, sans-serif;
	font-size: small;
	text-align: center;
	/*color: #333;*/
	color: #666666;
	background-color: #F2F2F2;
}

ol {
    margin-left: 1em;
    padding-left: 1em;
}
ol li {
    margin-left: 1em;
    padding: 0 0 .5em.3em;
    list-style: decimal;
}

h1, h2, h3, h4 {
	font-family: "Trebuchet MS", georgia, helvetica, arial, verdana, sans-serif;
	font-weight: bold;
	/*margin: .5em 0;*/
	letter-spacing: .07em;
	text-align: start;
}
h1 { font-size: 218% }
/*h2 { font-size: 164%; }*/
h2 { font-size: 145%; text-shadow:0 1px #E4E4E4;}
h3 { font-size: 118%; letter-spacing: .15em }

p { padding: 0 0 1em; }


a img, img {
    border: none;
}

ul {
	margin: 0px 0px 1em 0px;
	padding-left: 2em;
}

li {
    margin-top: 0.2em;
}


.clear {
    clear: both;
    height: 1px;
    margin: -1px 0 0;
    font-size: 1px;
}

#page {
	background-color: white;
    width: 800px;
    margin: 0 auto;
    text-align: left;
    bottom:0px;
    top:30px;
    position:relative;
    -moz-box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.2);
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	
	-webkit-border-top-left-radius: 38px;
	-moz-border-radius-topleft: 38px;
	border-top-left-radius: 38px;
}

#header {
	background-color: #BFBFBF;
	width: 100%;
	height: 100px;
	position: relative;
	-moz-border-radius: 15px 15px 0px 0px;
	border-radius: 15px 15px 0px 0px;
	
	-webkit-border-top-left-radius: 37px;
	-moz-border-radius-topleft: 37px;
	border-top-left-radius: 37px;
	/*border: 1px #CCC solid;*/
	border-bottom: 1px #ADADAD solid;
}

#header h1 {
	padding: 1.2em 0px 0px 220px;
	text-shadow: rgba(0, 0, 0, 0.5) 1px 1px 3px;
}
#header h1 a {
	color:#666;
	text-decoration:none;
	/*border:none;*/
}
#header h1 a:hover {
	text-shadow: rgba(255, 255, 255, 0.99) 0px 0px 8px;
}

#AppStoreBadge {
	position: absolute;
	right: 26px;
	top: 26px;
    -webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 4px;
}

#AppStoreBadge:hover {
    -moz-box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8);
    -webkit-box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8);
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8);
}


#AppIcon {
	position: absolute;
	z-index:99;
	left: 15px;
	top: 15px;
	background: url(App-Icon-175.jpg) no-repeat #ABABAB;
    -moz-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
    
	-webkit-border-radius: 32px;
	-moz-border-radius: 32px;
	border-radius: 32px;
	overflow: hidden;
	height: 175px;
	width: 175px;
}

.border-top { border-top:1px solid #DDD; }

#content {
    position:relative;
    float:right;
    margin-left:200px;
    width: 500px;
    text-align: justify;
    min-height:400px;
    /*margin: 20px 0px 0px 25px;*/
	padding:10px 80px 10px 20px;
    /*line-height: 1.5em;*/
}

#content h2{
	margin: 10px 0 1.2em 0;
}


#menu { 
    width:200px;
   /* height:150px;*/
    position: relative;
}

#menu ul {
	list-style: none;
	position: absolute;
	top: 110px;
	left:0px;
	right: 10px;
	font-weight: normal;
	font-size: 120%;
	letter-spacing: 0.1em;
	text-align:right;
}

#menu ul li {margin: 0px}

#menu ul a { display: block; height:1.6em; padding-right:25px;}
#menu ul a.current {color: #666;}
#menu ul:hover a {color: #B3B3B3;}

#menu a:link {
	color: #B3B3B3;
	text-decoration: none;
}
#menu a:visited  { color: #B3B3B3; text-decoration: none; }
#menu ul a:hover { color: #666; /*font-weight:bold;*/}



#footer {
	font-size: 85%;
	color: #C1C1C1;
	text-shadow:0 1px white;
	position:relative;
	bottom:-40px;
	height:30px;
	width:100%;

	text-align:center;
    /*padding:15px;*/
}

#footer a, #footer a:visited {
	color: #C1C1C1;
	text-shadow:0 1px white;
	text-decoration: none;
}


/* Forms 
------------------------------------------------------------------------------- */

form {
	/*width: 360px;*/
	text-align: left;
	clear: both;
	padding-bottom: 20px;
	border: none;
}

form input {
	display: block;
	margin: 0.4em;
	margin-right: 0.5em;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border:2px solid #DDDDDD;
	height:1.5em;
	padding: 1px 5px;
	min-width: 144px;
}

form select {
	margin: 0.4em;
	display: block;
	color:#666666;
	min-width: 158px;
	height: 2.25em;
}

form label {
	float: left;
	clear: left;
	min-width:11ex;
	padding-right:1ex;
	margin: 0;
	line-height: 1.7em;
}

form textarea {
    border: 2px solid #ddd;
    padding: 2px 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	
}
form input.checkbox,
form select {
    border: 2px solid #ddd;
   	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
form textarea {
	margin: 3px 0px;
	width: 390px;
	height: auto;
	display: block;
}

form button {
	font-weight: bold;
	padding: 0 1em;
	height: 2em;
	margin: 0.4em;
	margin-left: 85px;
}


/* Mobile 
------------------------------------------------------------------------------- */

@media only screen and (max-width:859px) {
	body {
		min-width: 340px;
	}
	
	#AppStoreBadge {
		width: 100px;
		top: 35px;
	}

	#page {
		width: auto;
		margin: 0 5px;
		top: 5px;
	}

	#header h1 {
		padding: 0 20px;
		text-shadow: rgb(0 0 0 / 50%) 1px 1px 3px;
		position: absolute;
		top: 216px;
	}

	#content {
		width: auto;
		float: none;
		margin: 150px 0px 0px 0px;
		padding: 10px 20px;
	}

	#menu {
		position: static;
		width: auto;
		height: auto;
	}

	#menu ul {
		left:190px;
		right: 21px;
	}

	#menu ul a {
		padding: 1px 4px 2px 0;
	}

	.border-top {
		border-top: none;
	}

	form textarea {
		width: 280px;
	}
}
