* {
margin: 0;
padding: 0;
}

html {
height: 100%;
font-size: 62.5%;
}

body {
height: 100%;
text-align: center;
font: 1.1em Verdana, Arial, Helvetica, sans-serif;
background: #FFFFFF url('images/bg.gif') repeat-x 0 0;
min-width: 950px;
}

a:link, a:visited {
color: #BC0000;
text-decoration: underline;
font-weight: bold;
}

a:hover {
text-decoration: none;
}

.cleaner {
clear: both;
height: 0;
font-size: 0;
visibility: hidden;
}

.noscreen {
display: none;
}

.hidden { /* Skip menu */
position: absolute;
top: -10000px;
left: 0;
width: 1px;
height: 1px;
overflow: hidden;
}
p {
line-height: 170%;
margin-bottom: 10px;
}
.perex {
background-color: #FFE9E9;
border-left: 4px solid #F74B4B;
text-align: left;
width: 85%;
margin: 0 0 25px 0;
padding: 5px 12px;
}
h1,h2,h3{color:#BB0000;}
h1 {
font-size: 1.5em;
background: url('images/h1-bg.gif') repeat-x 0 100%;
}
h2 {
font-size: 1.5em;
}
h3 {
font-size: 1.2em;
}

h3.line {
background: url('images/heading-dot.gif') repeat-x 0 50%;
width: 90%;
}
ul {
list-style-type: none; 
}
a:hover img.portfolio {
border: 3px solid #FF6123;
margin: 0 12px 16px 0;
}
#header {
margin: 0 auto;
width: 850px;
height: 172px;
position: relative;
background: #BC0000 url('images/hd-bg.gif') repeat-x 0 0;
text-align: left;
}
#header h1{padding-top:52px; color:#CCCCCC; font-size:36px; width:335px}
#header h2{background:url(images/sytropin.jpg) no-repeat top left; float:right;height: 172px; padding-right:344px; width:172px;}
/* Search form */

form.searching {
width: 189px;
height: 26px;
position: absolute;
top: 27px;
right: 25px;
}

fieldset {
border: 0;
}

#picture-input { 
position: absolute; 
top: 0; 
left:0; 
overflow: hidden; 
width: 155px; 
height: 26px; 
background: url('images/input-bg.gif') 0 0 no-repeat; 
border: 0; 
}

#picture-input input { 
position: relative; 
top: 5px; 
left: 10px; 
width: 140px; 
border: 0;
letter-spacing: 1px;
}

form.searching input.hledat {
letter-spacing: 1px;
padding-left: 0;
font-weight: bold;
color: #FFFFFF;
position: absolute;
top: 0;
right: 0;
}

form.searching label {
display: none;
}
#menu {
position: absolute;
top: 136px;
right: 18px;
}
#menu li {
float: left;
display: inline;
list-style-type: none;
}

#menu li a {
float: left;
display: inline;
list-style-type: none;
text-align: center;
color: #FFFFFF;
font-size: 1.1em;
text-decoration: underline;
background-color: #232323;
border-top: 1px solid black;
border-left: 1px solid black;
border-right: 1px solid black;
padding: 0 1em;
height: 30px;
line-height: 30px;
margin-left: 2px;
}

#menu li a:hover {
background-color: #FFD2D2;
color: #151515;
border-top: 1px solid #562323;
border-left: 1px solid #562323;
border-right: 1px solid #562323;
text-decoration: none;
}

#menu li a.active {
background-color: #FF9191 !important;
color: #151515;
border-top: 1px solid #562323;
border-left: 1px solid #562323;
border-right: 1px solid #562323;
text-decoration: none;
}


/* Content boxes */

#content-box {
width: 950px;
margin: 0 auto;
text-align: left;
}

#content-box-in {
width: 100%;
}

#content-box-in-left {
float: left;
width: 68%;
text-align:justify;
margin-top:20px;
}

#content-box-in-left-in {
margin:0;

}

#content-box-in-right {
float: right;
width: 29%;
}

#content-box-in-right-in {
margin: 24px 5px 10px 5px;
}

#content-box-in-right-in ul li{padding:5px 0 5px 5px}

.galerie {
padding: 1px 0;
margin-right: 3px;
min-height: 1px;
}

.foto {
float: left;
display: inline;
width: 156px;
height: 138px;
margin: 0 10px 16px 0;
background-color: white;
text-align: center;
border: 1px solid #FFFFFF;
position: relative;
}

.foto img {
margin: 13px auto 0 auto;
border: 1px solid silver;
}

.foto:hover {
background-color: #FFE2E2;
border: 1px solid #F19E9E;
}

.foto p a, .foto p a:visited {
font-size: 1.1em;
color: #850000;
font-weight: normal;
margin-top: 6px;
}

.foto p {
margin-top: 6px;
color: #850000;
}


/* Content boxes directives */

#content-box-in-right-in h3 {
color: #850000;
background-color: #FFE2E2;
border: 1px solid #F19E9E;
font-size: 1.1em;
text-align: left;
letter-spacing: 1px;
padding: 2px 0 2px 7px;
}

#content-box-in-right-in dl {
margin: 0 0 40px 4px;
}

#content-box-in-right-in dt {
margin-bottom: 3px;
font-weight: bold;
}

#content-box-in-right-in dd {
margin: 0 5px 18px 3px;
line-height: 145%;
}

#content-box-in-right-in dd a, #content-box-in-right-in dd a:visited {
color: #BC0000;
padding: 1px 2px;
}

#content-box-in-right-in dd a:hover {
background-color: #BC0000;
color: #FFFFFF;
}

#content-box-in-right-in dd span {
font-size: 0.9em;
}

#content-box-in-right-in form {
margin-left: 5px;
}

#content-box-in-right-in label {
display: block;
margin-bottom: 2px;
}

#content-box-in-right-in input {
width: 180px;
margin-bottom: 9px;
}

#content-box-in-right-in textarea {
}

#content-box-in-right-in input.send-button {
width: auto;
padding: 1px 3px;
margin-top: 5px;
}


/* Footer */

#footer {
height: 44px;
color: #FFFFFF;
width: 100%;
background: #BC0000 url('images/footer-bg.gif') repeat-x 0 0;
}

#footer-in {
width: 850px;
height: 44px;
margin: 0 auto;
}

#footer a, #footer a:visited {
color: #FFFFFF;
}

p.footer-left {
width: 350px;
float: left;
text-align: left;
line-height: 190%;
margin: 8px 0 0 12px;
display: inline; /* Because of IE Doubled Float-Margin Bug */
}

p.footer-right {
width: 350px;
float: right;
text-align: right;
margin: 8px 12px 0 0;
display: inline; /* Because of IE Doubled Float-Margin Bug */
}

p.footer-right a, p.footer-right a:visited  {
font-weight: normal;
}
