﻿/*viewport*/
html *{
	max-width:500px;
	word-wrap:break-word;
	font-family:sans-serif;
	margin:0;
	padding:0;
}
body{
	margin-left:auto;
	margin-right:auto;
	width:90%;
	background-color:white;
	padding-bottom:.5em;
}

/*default text colors*/
body,a:link,a:visited,a:hover,a:active,a:focus{
	color:#004225;
}

/*nav*/
li{
	display:inline;
}
li>a{
	background-color:#004225;
	box-shadow:5px 5px 10px #888;
	-webkit-box-shadow:5px 5px 10px #888;
	-moz-box-shadow:5px 5px 10px #888;	
}
li>a,li>em,li>i{
	color:white;
	margin-right:.1em;
	margin-top:.25em;
	margin-bottom:.25em;
	padding:.05em .25em;
	border-style:solid;
	border-width:2px;
	text-align:center;
	border-radius:.3em;
	-webkit-border-radius:.3em;
	-moz-border-radius:.3em;
	display:inline-block;
	width:auto;
	font-style:normal;
	outline:0;
	border-color:#004225;
}
li>em{
	background-color:#c90;
}
li > i {
	background-color: #c90;
	border-color: #c90;
}
li>a:link,li>a:visited,li>a:hover,li>a:active,li>a:focus{
	color:white;
}
img{
	display:none;

}
h1>img{
	float:right;
	height:64px;
	width:64px;
}
h1>img[src*=index]{
	height:72px;
	width:72px;
}
h4>img{
	display:inline-block;
	height:30px;
	width:30px;
	padding-top:1em;
	padding-right:.5em;
}
img[src^=prof]{
	height:67.8px;
	width:51.2px;
}
img.bullet {
	height: 50px;
	width: 50px;
}
img.lang{
	height:108px;
	width:76px;
}

h1{
	color:#c90;
	font-size:x-large;
	padding-top:.5em;
}
h2{
	display:none;
}
h3{
	color:#c90;
}
h4{
	color:#c90;
}
div>p+h4{
	margin-top:1em;
}
h5 {
	line-height: 1.5;
}
p{
	line-height:1.2;
}
p>img{
	margin-right:.3em;
}
p.aval{
	font-size:smaller;
	font-weight:bold;
}
p.aval2{
	font-size:smaller;
}
p.aval3{
	font-size: smaller;
	margin-bottom: .7em;
}
p.listitem{
	font-size:smaller;
	margin-bottom:0.7em;
}
p.hdln{
	margin-bottom:.5em;
	margin-top:.5em;
}
p.num{
	font-weight:bold;
}
h3+p.hdln{
	margin-top:1em;
}
span{
	display:inline-block;
	width:0;
	color:white;
}

/*layout*/
br{
	display:block;
	clear:both;
}

div{
	float:left;
	margin-right:.5em;
	margin-top:.1em;
}
body>div{
	margin-top:.5em;
	margin-bottom:0.1em;
}
h3+div{
	margin-top:1em;
}
div.decor{
	display:none;

}

hr{
	color:#888;
	background-color:#888;
	border:0;
	height:1px;
	margin-top:.5em;
	margin-bottom:.5em;	
}

/*big screens*/
@media(min-width:450px){
	div.decor, img{
		display:inline-block;
	}
}
