body, img {
margin: 0;
padding: 0;
border: 0;
}

body {
background: black;
}

body, input, textarea, select, option {
margin: 0;
font-family: sans-serif;
font-size: 12px;
color: white;
}

h1, h2, h3, h4, h5, h6, p {
margin-top: 0;
}

a:link,
a:visited,
a:active,
a:focus {
color: #3399cc;
outline: none;
text-decoration: underline;
}

a:hover {
text-decoration: none;
}

/* BOX */

#box {
width: 800px;
margin: 0 auto;
padding: 80px 10px;
}

#container {
min-width: 820px;
}

#content {
border-bottom: 1px solid #333;
}

/* LANG */

#lang select,
#lang select option {
margin: 0;
padding: 0;
border: 0;
color: white;
background: #666;
font-size: 10px;
}

#lang select {
margin: 10px 0 0 10px;
height: 18px;
width: 100px;
border: 2px solid white;
display: block;
float: left;
}

#lang img {
border: 2px solid white;
margin: 10px 0 0 3px;
height: 11px;
width: 16px;
padding: 2px 2px 1px;
background: #666;
display: block;
float: left;
}

#lang {
float: right;
margin: 0 20px 0 0;
}

/* NAVIGATION */

#navigation {
height: 40px;
line-height: 40px;
border-bottom: 1px solid #333;
}

#navigation ul,
#navigation li,
#navigation a:link,
#navigation a:visited,
#navigation a:hover,
#navigation a:active {
list-style: none;
padding: 0;
margin: 0;
border: 0;
overflow: hidden;
}

#navigation ul li,
#navigation ul li a:link,
#navigation ul li a:visited {
display: block;
float: left;
text-decoration: none;
font-size: 16px;
color: #ccc;
height: 40px;
}

#navigation ul li a:link,
#navigation ul li a:visited {
padding: 0 0 0 20px;
}

#navigation ul li a:hover {
color: #666;
}

#navigation ul li a:link span,
#navigation ul li a:visited span {
font-size: 11px;
}

#navigation ul li ul,
#navigation ul li:hover ul {
display: block;
position: absolute;
z-index: 9995;
width: 150px;
margin: 40px 0 0 10px;
background: black;
border: 1px solid #333;
border-top: 0;
}

#navigation ul li ul li,
#navigation ul li:hover ul li {
line-height: 26px;
height: 26px;
}

#navigation ul li ul li,
#navigation ul li ul li a:link,
#navigation ul li ul li a:visited,
#navigation ul li:hover ul li,
#navigation ul li:hover ul li a:link,
#navigation ul li:hover ul li a:visited {
text-transform: none;
color: #fff;
font-size: 11px;
text-align: left;
background: transparent;
}

#navigation ul li ul li a:link,
#navigation ul li ul li a:visited,
#navigation ul li:hover ul li a:link,
#navigation ul li:hover ul li a:visited {
padding: 0 10px;
width: 130px;
height: 25px;
line-height: 25px;
border-top: 1px dotted #333;
}

#navigation ul li:hover ul li a:hover {
color: white;
background: #ff6600;
}

#navigation ul li ul {
display: none;
position: absolute;
}

#navigation #background li a:hover {
background: #3399cc;
}

/*
#navigation #nav_about,
#navigation #nav_contacts {
display: none;
}
*/

#navigation #lang {
display: none;
}

#background img {
display: block;
float: left;
width: 20px;
height: 13px;
margin: 5px 5px 0 0;
background: #333;
border: 1px solid #666;
}

/* LOGO */

#logo a:link,
#logo a:visited {
background: url(../img/logo.png);
display: block;
width: 400px;
height: 80px;
}

#logo a:hover {
background-position: bottom;
}

#logo h1 {
display: none;
}

#headline {
background: url(../img/headline.png);
position: absolute;
width: 144px;
height: 10px;
margin: -11px 0 0 12px;
display: none;
}

/* FORM */

#form {
height: 75px;
width: 800px;
background: url(../img/form.png) 0 0;
margin: 7px 0 20px 0;
/*overflow: hidden;*/
}

#form input#s,
#form input#a {
float: left;
border: 0;
margin: 0;
padding: 0;
font-size: 30px;
background: transparent;
}

#form input#s {
padding: 9px;
margin: 6px 0 0 6px;
width: 576px;
height: 45px;
background: url(../img/form.png) -6px -6px;
color: #ccc;
}

#form input#s:focus {
background-position: -6px -81px;
color: white;
}

#form input#a {
width: 200px;
height: 75px;
text-transform: uppercase;
font-size: 18px;
color: #666;
background: url(../img/form.png) -600px 0;
}

#form input#a:hover,
#form input#a:focus {
background: url(../img/form.png) -600px -75px;
color: #333;
}

/* FOOTER */

#footer {
color: #999;
font-size: 10px;
width: 780px;
margin: 0 auto;
padding: 30px 0;
}

#footer a:link,
#footer a:visited {
color: #ccc;
text-decoration: none;
}

#footer a:link.site,
#footer a:visited.site {
color: white;
}

#footer a:hover {
text-decoration: underline;
}

#footer span {
color: #666;
}

/* ERROR */

noscript div, #error div {
background: white;
border-bottom: 1px solid #666;
}

noscript div div a:link, noscript div div a:visited, #error div div a:link, #error div div a:visited {
color: #999;
}

noscript div div p, #error div div p {
margin-bottom: 0;
}

noscript div div, #error div div {
padding: 20px;
color: #666;
font-size: 10px;
border: 0;
}

noscript h2, #error h2 {
font-size: 16px;
margin-bottom: 10px;
color: #666;
}

/* POPUP */

#popup {
padding: 10px;
font-size: 11px;
min-width: 460px;
text-align: justify;
}

#popup h2 {
font-size: 16px;
border-bottom: 1px solid white;
margin: 0 0 10px 0;
}

#pageContent {
z-index: 9999;
position: absolute;
left: 50%;
margin: 100px 0 0 -260px;
display: none;
border: 10px solid #333;
background: #333;
width: 480px;
}

#pageContent a:link,
#pageContent a:visited {
display: block;
margin: 0 auto;
width: 120px;
height: 25px;
line-height: 25px;
text-align: center;
background: url(../img/button.png);
margin-top: 10px;
color: white;
text-decoration: none;
font-size: 14px;
font-weight: bold;
}

#pageContent a:hover {
background-position: bottom;
color: black;
}

#pageBackground {
display: none;
background: url(../img/v.png);
position: absolute;
width: 100%;
height: 100%;
z-index: 9990;
}

/* EXTRA */

#warning {
padding: 15px 0;
text-align: center;
width: 200px;
height: 30px;
line-height: 12px;
margin: -45px 0 0 -5px;
color: #666;
background: url(../img/warning.png);
font-size: 10px;
position: absolute;
display: none;
}

/* CONTACTS */

#contacts {
margin: 20px 0 0 0;
}

#contacts textarea,
#contacts input[type="text"] {
border-top: 2px solid #333;
border-right: 1px solid #666;
border-bottom: 1px solid #666;
border-left: 2px solid #333;
width: 360px;
height: 16px;
padding: 4px 5px 5px 5px;
color: #ccc;
background: #383838 url(../img/textarea.png) left -27px;
font-size: 12px;
}

#contacts textarea:focus,
#contacts input[type="text"]:focus {
color: white;
border-top: 2px solid #003366;
border-right: 1px solid #336699;
border-bottom: 1px solid #336699;
border-left: 2px solid #003366;
background: #1d567d url(../img/textarea.png) right -27px;
}

#contacts textarea {
background: #383838 url(../img/textarea.png) left -22px;
height: 72px;
overflow: auto;
}

#contacts textarea:focus {
background: #1d567d url(../img/textarea.png) right -22px;
}

#contacts div {
margin-bottom: 10px;
height: 28px;
line-height: 28px;
}

#contacts label {
position: absolute;
margin-left: 385px;
font-size: 10px;
}

#send {
/*
width: 220px;
height: 50px;
line-height: 50px;
*/
width: 230px;
height: 45px;
line-height: 45px;
text-align: center;
/*background: url(../img/send.png) 0 0;*/
background: url(../img/send2.png) 0 45px;
border: 0;
margin: 20px 0 0 0;
padding: 0;
font-size: 14px;
font-weight: bold;
text-transform: uppercase;
color: black;
display: block;
text-decoration: none;
}

#send:hover,
#send:focus {
background-position: 0 0;
color: white;
}
