* {
 margin: 0px; 
 padding: 0px;
 border-style: none;
}

body {
 background: #FFFFFF url('img/bg.jpg') 50% 0px no-repeat;
 position: relative;
 font-family: Arial;
 font-size: 13px;
}  

div {
 position: relative; 
 display: block;
}

a {color: #000088;}
a:hover {color: #0000BB;}

#header {     
 width: 600px;
 height: 80px;
 margin: 0px auto;
 padding-top: 30px;
 text-align: center;
 font-size: 14px;
}
  
a.header {
 color: black;
 text-decoration: none;
}
a.header:hover {
 color: black;
 text-decoration: underline;
}

#title {
 width: 371px;
 height: 36px;
 margin: 7px auto 0px auto;
 background: transparent url('img/title.png') no-repeat; 
 * background-image: expression('none');
 * filter: expression("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://list.edinoborstva.info/templates/blue/img/title.png'), sizingMethod='crop')");
} 

#functions {
 position: absolute;
 top: 10px;
 right: 20px;
 font-size: 11px;
 text-align: right;
 line-height: 1.5em;
} 

#menu {
 width: 600px;
 height: 240px;
 margin: 0px auto 50px auto;
}

#logo {
 display: block;
 position: absolute;
 left: 219px;
 top: 39px;
 width: 161px;
 height: 161px;
 text-decoration: none;
 cursor: hand;
 background: transparent url('img/logo.png') 0px 0px no-repeat; 
 * background-image: expression('none');
 * filter: expression("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://list.edinoborstva.info/templates/blue/img/logo.png'), sizingMethod='crop')");
}

#menu div {
 position: absolute;
 width: 200px;
 height: 16px;
 font-size: 16px;
 line-height: 1em; 
}

#menu div.center {text-align: center;}
#menu div.right {text-align: right;}

#path {
 text-align: center;
 margin: 0px 20px;
 font-size: 13px;
 font-weight: normal;
}

#list {
 width: 420px;
 margin: 70px auto 100px auto;
 * margin-top: 30px
}

div.top_text {
 font-size: 16px;
 margin: 30px 0px 7px 0px;
}

h2, h3 {
 font-weight: normal;
 margin: 0px 0px 7px 0px;
}

h2 {
 font-size: 20px; 
 margin-top: 50px;
} 

h3 {
 font-size: 12px;
 margin-left: 10px;
}

p {margin: 5px 0px 5px 20px;}

#main_page p {
 margin: 7px 0px;
}

#footer {
 padding: 50px 0px 20px 0px;
 text-align: center;
 font-size: 11px;
}

#message {
 width: 420px;
 margin: 20px auto;
 font-weight: bold;
 border: 1px solid #777799;
 background-color: #F0F0FF;
 padding: 5px 10px
}

input, 
textarea, 
button {
 border: 1px solid #777799;
 background-color: #F0F0FF;
 margin: 5px 10px;
}

#add_url input,
#add_url textarea {width: 250px;}

button,
input.btn {
 background-color: #333366;
 border: 1px solid #000033;
 color: white;
 width: auto;
 padding: 1px 3px;
 cursor: pointer;
} 

div.link_item {
 border: 1px solid gray;
 padding: 5px 10px;
 background-color: #fdfdfd;
 margin: 20px 0px;
}

#paging {
 margin: 60px 20px;
 text-align: center;
}

#paging a,
#paging span {
 margin: 0px 5px;
 text-transform: lowercase;
}
