a:active,a:focus {
outline:0;
}
html {
  height: 100%;
  margin-bottom: 0px;
}

form {
  margin: 0;
  padding: 0;
}

img,table {
	border:none;
}

body {
	font-family: Helvetica,Arial,sans-serif;
	line-height: 1.3em;
	margin: 0px 0px 0px 0px;
	font-size: 12px;
	background:#000 url(../img/1.jpg) no-repeat top left;
}

a:link, a:visited {
	text-decoration: none;
	color:#ccc;
	border-bottom:1px dotted #CCC;
}

a:hover {
	text-decoration: none;
	color:#de4e21;
	border-color:#de4e21;
	font-weight: normal;
}
/* Kast */
#kast {
	position:relative;
	height:600px;
	width:840px;
	margin:30px auto 30px auto;
	background:url(../img/body.png) repeat #111;
	border:1px solid #000;
	padding:10px;
}
#head a { border:0; text-decoration:none; }
#head {
	position:relative;
	height:120px;
	background:#000;
	z-index:10;
}
#head p {
	margin:0;
	padding:30px;
}
#miin {
	position:absolute;
	right:-50px;
	top:-30px;
	height:auto;
	width:auto;
	z-index:11;
}
#miin img {
	left:0;	
}
#main {
	position:relative;
	height:395px;
	width:100%;
}
#menu {
	margin:0;
	padding:5px 0 0 0 ;
	float:left;
	width:160px;
}
#menu li {
	float:left;
	list-style:none;
	height:69px;
	width:160px;
	margin:0 0 5px 0;
	background:url(../img/menu.png) bottom right no-repeat #000;
	background-position:0 -69px;
}
#menu li:hover {
	background-position:0 0;	
}
body.artist #x1,body.minefurniture #x2,body.projects #x3,body.mine #x4,body.story #x5,body.contact #x6,body.artist #x1 a,body.minefurniture #x2 a,body.projects #x3 a,body.mine #x4 a,body.story #x5 a,body.contact #x6 a {
background-position:0 0;
color:#de4e21;
}
#menu li a {
	border:0;
	padding:5px;
	color:#666	;
	font-variant:small-caps;
	font-weight:bold;
	font-size:13px;
	height:100%;
	width:100%;
	float:left;
}
#menu li a:hover {
	color:#de4e21;
	text-decoration:none;
}

#bla {
	margin:5px 0 0 5px;
	float:left;
	height:439px;
	width:675px;
	overflow:auto;
	
}
#bla p {
	padding:5px;
	margin:0;
	color:#bbb;	
}
#foot {
	margin-top:54px;
	padding:5px;
	position:relative;
	height:22px;
	width:830px;
}
#foot p {
	margin:0;
	color:#777;	
	padding:3px 0 0 5px;
}
#foot div {
	margin:-200px 0;	
}
#bla,#foot
{
	background:#000;
}
h1 { 
padding:5px;
font-size:14px;
color:#de4e21;
}
/* esileht */
#esi {
	position:absolute;
	margin:0;
	padding:6px 0px 0px 5px;
}
#esi li {
position:relative;
	list-style:none;
	float:left;
	height:212px;
	width:330px;
	margin:0 5px 5px 0;
	overflow:hidden;
}
#esi li img{  
    top: 0;  
    left: 0;  
    border: 0;  
	width:100%;
}  
.boxcaption{  
margin:0;
bottom:-50px;
    float: left;
	position:absolute;
    background: #000;  
    height: 70px;  
    width: 100%;  
    opacity: .8;  
    /* For IE 5-7 */  
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);  
    /* For IE 8 */  
    -MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";  
    }   
h2 {
	margin:3px;
	color:#fff;
	font-size:12px;
}
#aar {
	position:absolute;
	bottom:-31px;
	background:url(../img/aar.png) no-repeat center bottom;
	width:100%;
height:31px;
left:-2px;
}
.kolmas {
	position:relative;
	margin-top:0px;
}
#contact_form_message {
padding:20px 200px;
margin:0 auto;
position:relative;
}
#contact_form{ 
width:600px;
overflow:hidden;
margin:0 auto; 
height:250px; 
padding:10px 0;
position:relative;
}
form fieldset{ 
position:relative;
border:0;
}
label.error{ 
font-weight:normal;
color:red;
text-align:left;
width:200px; 
margin:-20px 208px;
font-family:Tahoma, Geneva, sans-serif;
font-size:10px;
}
input.text-input,textarea.text-input { margin:4px;padding:2px 0;color:#bbb; }
#contact_form input,#contact_form textarea { border:0; }
input#name            { position:absolute; top:-1px; }

input#email           { position:absolute;  top:23px;  }
label#email_error      { position:absolute; top:50px; left:230px; }

textarea#msg           { position:absolute; height:150px; top:47px; }
label#msg_error      { position:absolute; top:74px; left:230px; }
input#email,input#name,textarea#msg { 
background-image:url(../img/body.png);
background-color:#111;
background-repeat:repeat;
width:300px; 
left:130px;
overflow:hidden;
}
#contact_form textarea:focus, #contact_form input:focus {
background:#111; color:#fff;
}
input.button {
position:absolute;
top:188px; 
left:381px;
padding:3px 6px;
margin:20px 0px 0px 0px; 
color:#bbb; 
font-family:Verdana, Arial, Helvetica, sans-serif;
background:url(../img/body.png) repeat #111;
cursor:pointer;
}

input.button:hover		{ 
background:#de4e21;
color:#000; 
}
.table { 
color:#ccc;
border:3px solid #000;
border-left:0;
width:626px;
border-bottom:0;
margin-left:15px;
}
.table td{
	padding:5px;
	color:#ccc;
	border-left:3px solid #000;
	border-bottom:3px solid #000;
	margin-left:4px;
}
.table {
		background:url(../img/body.png) repeat #111;
}
#pilt {
	margin-left:-10px;
	padding:0;
}
#story-pilt li {
	list-style:none;
	float:left;
	height:136px;
	width:136px;
	margin:5px;
	overflow:hidden;
	border:3px solid #f2f1ec;
    }   
#story-pilt li img:hover {
	    opacity: 1;  
    /* For IE 5-7 */  
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);  
    /* For IE 8 */  
    -MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";  
    }   
#story-pilt a {
	float:left;
	border:0;
}
#story-pilt li img {
	opacity: .4;  
    /* For IE 5-7 */  
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);  
    /* For IE 8 */  
    -MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";  
height:136px;
width:auto;
} 
