* {
margin: 0;
padding: 0;
}

html {
height: 100%;
font-size: 62.5%;
}

body {
height: 100%;
text-align: center;
font: 1.2em Verdana, Arial, Helvetica, sans-serif;
background: #333333 url('../img/bg.gif') repeat-x 0 0;
min-width: 950px;
}

a:link, a:visited {
color: #EEEEEE;
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;
}


/* Paragraphs, headings, ... */

p {
line-height: 170%;
margin-bottom: 10px;
}

.perex {
background-color: #FFE3F4;
border-top: 5px solid #CC0000;
border-left: 8px solid #990000;
border-right: 4px solid #333333;
border-bottom: 4px solid #333333;
/*
border-top: 2px solid #880000;
border-left: 4px solid #880000;
*/
text-align: left;
width: 445px;
margin: 0 0 25px 0;
padding: 5px 12px;
}

.perex p {
margin: 0;
color: #004C7F;
}

.perex p a, .perex p a:visited {
color: #004C7F;
}

h2 {
font-size: 1.5em;
font-family: Georgia, "Times New Roman", Times, serif;
font-weight: normal;
color: #FFFFFF;
text-align: left;
margin: 6px 0 0 23px;
}

h3 {
color: #FFFFFF;
font-size: 1.2em;
text-align: left;
letter-spacing: 1px;
margin-bottom: 13px;
}

h3.line {
background: url('../img/heading-dot.gif') repeat-x 0 50%;
width: 90%;
}

h3.line span {
margin-left: 12px;
padding: 0 6px;
background: #333333;
}

ul {
  list-style-type: none;
}


/* Images */

img.portfolio {
border: 3px solid #8ED8FF;
margin: 0 12px 16px 0;
}

a:hover img.portfolio {
border: 3px solid #FF6123;
margin: 0 12px 16px 0;
}


/* Header */

#header {
margin: 0 auto;
width: 850px;
height: 150px;
position: relative;
background: #880000 url(../img/logo.jpg) no-repeat;
text-align: left;
}


/* 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('../img/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 */

#menu {
  margin: 20px 0;
  line-height:28px;
  padding-left: 25%;
}

#menu li {
  list-style-image: url(../img/allow.gif);
}

#menu li a {
  font-size: 2.2em;
}

/* Content boxes */

#content-box {
width: 850px;
margin: 0 auto;
text-align: left;
}

#content-box-in {
width: 100%;
}

#content-box-in-left {
float: left;
width: 70%;
}

#content-box-in-left-in {
margin: 24px 0 30px 20px;
background: url(../img/divider.gif) repeat-y 98% 0;
}

#content-box-in-right {
float: right;
width: 29%;
}

#content-box-in-right-in {
margin: 24px 5px 10px 5px;
}

.galerie {
padding: 1px 0;
margin-right: 3px;
min-height: 1px;
}

.foto {
float: left;
display: inline;
width: 140px;
height: 138px;
margin: 10px 30px 16px 0;
background-color: white;
text-align: center;
border: 1px solid #FFFFFF;
position: relative;
}

.foto img {
margin: 10px auto 0 auto;
border: 1px solid silver;
}

.foto:hover {
background-color: #D6ECF8;
border: 1px solid #82B7DF;
}

.foto p a, .foto p a:visited {
font-size: 1.1em;
color: #003960;
font-weight: normal;
margin-top: 6px;
}

.foto p {
margin-top: 6px;
color: #003960;
}


/* Content boxes directives */

div#content-box-in-right-in {
  color: #EEEEEE;
}

#content-box-in-right-in h3 {
color: #00436A;
background-color: #FFE3F4;
border: 1px solid #660000;
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: #FFFFFF;
padding: 1px 2px;
}

#content-box-in-right-in dd span {
font-size: 0.9em;
}

/* Footer */

#footer {
height: 44px;
color: #FFFFFF;
width: 100%;
background: #005D85 url('../img/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;
}

/*-------add--------*/
.perex img {
  border: solid 4px #FFE3F4;
}

table.text-liner {
  border-top: solid 1px #666666;
  border-left: solid 1px #666666;
}

table.text-liner td {
  border-right: solid 1px #666666;
  border-bottom: solid 1px #666666;
  font-size: 11px;
  width: 120px;
  text-indent: 3px;
}

table.text-liner td a {
  text-decoration: none;
}

div#content-box-in-right-in p {
  margin-bottom: 6px;
}

span.first-char {
  font-size: 2em;
  font-weight: bold;
}
/*-------add2--------*/
#link {
	width:575px;
	height:450px;
}
.imglink {
	width:575px;
	height:160px;
	float:left;
}
.imglink a {
	width:150px;
	height:140px;
	color:#000000;
	font-size:10px;
	font-weight:normal;
	text-align:center;
	background:#FFFFFF;
	padding-top:10px;
	margin-left:25px;
	float:left;
}
.imglink a img {
	border:none;
}
.linkmatrix {
	width:544px;
	height:264px;
	background:#666666;
	padding-top:1px;
	padding-left:1px;
}
.matrix {
	width:135px;
	height:33px;
	font-size:11px;
	text-align:center;
	background:#333333;
	margin-right:1px;
	margin-bottom:1px;
	padding-top:10px;
	float:left;
}
.sogo2 {
	width:235px;
	height:700px;
	overflow:auto;
	overflow-x:hidden;
}
.newlinks {
	width:235px;
	height:1100px;
	line-height:20px;
	margin-bottom:15px;
	overflow:auto;
	overflow-x:hidden;
}
#rankrank {
	width:800px;
	height:360px;
	margin-top:10px;
	margin-bottom:20px;
	margin-left:auto;
	margin-right:auto;
}





