/*Reset*/
* {
	margin: 0;
	padding: 0;
}

html, body {
	height: 100%;
	background: #fff;
}

html {
	font: 62.5%/1.4 Tahoma, sans-serif;
}

body {
	display:table;
	height: 100%;
	margin: auto;
	width: 80em;
}
.cell {
	display: table-cell;
	padding: 0 1em;
}
/*head*/
.header {
	display:table-header-group;
	font-size: 1.3em;
}

.header .cell {
	background: #fff;
	height: 1px;
}

#head {
	text-align: right;
	padding: 1.5em 0;
	font-size: 1.4em;
	letter-spacing:0.8em;
}
#head a, #head a:hover, #head a:visited {
	color: #000;
	text-decoration: none;
}/*endhead*/
/*topmenu*/
#menu {
	color: #eee;
	min-height: 1.9em;
	clear:both;
}
#menu ul {
	list-style:none;
}
#menu li{
	float:left;
	padding: 0.2em 2em 0.2em 0;
	white-space:nowrap;
		
}
#menu li a {
	color:#999299;
	font-weight: bold;
	text-decoration: none;
}

#menu li:hover {
		
	background-color:#fff;
}
#menu li:hover a:hover {
	color:#2e2929; 
	text-decoration: underline;
}/*end topmenu*/
/*content*/
.content {
	display:table-row;
	text-align:justify;
	font-size: 1.4em;

}
#text a, #text a:hover, #text a:visited {
	color: #999299;
}
#text {
	padding: 2em 0;
}/*endcontent*/


.footer {
	background: #fff;
	display:table-row;
	height:1px;
	color: #bbb;
	padding: 2em 0 1em 0;
}
/*about*/
img.photo {
	border : #999299 1px solid;
	margin: 0.2em;
	padding:  0.2em;
}
div.photo {
	text-align: right;
	padding:0 2em;
}
h1 {
	font-size: 1.5em;
	font-weight: normal;
}
p.abouttext {
	padding: 0 0 0 1em;
}
/*end about*/
/*contact*/
#form {
	width: 100%;
}
fieldset {
	margin: 1em 0;
	padding: 0em 1em 2em 1em;
	
	background: #f8f8f8;

	-moz-border-radius-bottomleft:7px;   
   -moz-border-radius-bottomright:7px;   
   -moz-border-radius-topleft:5px;   
   -moz-border-radius-topright:7px; 
   -khtml-border-radius:5px;
   -msie-border-radius:5px;
    border-radius: 5px;         
    -webkit-border-radius: 5px;
}
legend {
	font-weight: bold;
}
label {
	display: block;
	float:left;
	width: 10em;
}

input[type="text"] {
	width: 30em;
}
textarea {
	width: 30em;
	height: 10em;
}
input:focus, textarea:focus {
	background: #fee;
}
input[type="text"], textarea {
	border-top: 2px solid #999;
	border-left: 2px solid #999;
	border-right: 1px solid #ccc;
}
.star {
	font-size: 0.75em;
	font-weight: bold;
	font-style: italic;
	color: #760000;
}
#submit {
	width: 10em;

}

form em {
	margin-left: 10.5em;
	height: 0.8em;
	display:block;
	font-size: 0.9em;
	color: #760000;
	white-space: nowrap;
}
/*end contact*/