html, body, div, ul, li, p, strong, span, a, h1, h2, h3, h4, h5, h6
{
    margin: 0;
    padding: 0;
}

body
{
    background: url(../images/body_bg.png);
}

body#first
{
    background: url(../images/body_bg_first.jpg);
}

#container
{
    width: 1040px;
    display: block;
    margin: 0 auto;
    position: relative;
}

/* Header */
#header
{
    background: url(../images/head.png);
    display: block;
    width: 1040px;
    height: 220px
}

/* Langauges selection in header */
#header #languages
{
    list-style: none;
    float: right; display: inline;
    width: 114px;
    margin-top: 16px;
    margin-right: 78px;
}

#header #languages li
{
    float: left; display: inline;
    width: 38px;
}

#header #languages img
{
    display: inline;
    border: 0;
}

/* The main layer */
#start, #middle, #end
{
    width: 972px;
    margin: 0 auto;
    display: block;
}

#start
{
    height: 26px;
    background: url(../images/start_bg.png);
}

#middle
{
    background: url(../images/middle_bg.png);
}

html * #middle
{
    background: url(../images/middle_bg_ie.png);
}

#end
{
    height: 27px;
    background: url(../images/end_bg.png) bottom left;
}

/* Layer 2 */

#top_add
{
    width: 960px;
    background-image: url(../images/top_add.png);
    background-position: 0 4px;
    background-repeat: no-repeat;
    margin-left: 7px;
}

#button1, #button2
{
    position: absolute;
    border: 0;
}

#button1
{
    top: 238px;
    left: 53px;
}

#button2
{
    top: 238px;
    left: 977px;
}

/*Layer 3 */
#bottom_add
{
    width: 960px;
    background: url(../images/bottom_add.png) no-repeat bottom left;
}

#navigation
{
    width: 225px;
    list-style: none;
    display: block;
    position: absolute;
    top: 263px;
    left: 34px;
}

#navigation li
{
    background: url(../images/node.png);
    width: 225px;
    height: 36px;
    float: left; display: inline;
}

#navigation li div
{
    display: block;
    float: right;
    width: 185px;
    height: 29px;
    padding-top: 7px;
}

#navigation li.active
{
    background: url(../images/node_active.png);
}

#navigation a
{
    font: 16px Georgia;
    color: #e9d2a1;
    text-decoration: none;
}

#contents, #contents #top, #contents #data, #contents #bottom
{
    width: 736px;
    display: block;
}

#contents
{
    margin-left: 202px;
}

#contents #top
{
    height: 20px;
    background: url(../images/contents_start.png);
}

#contents #data
{
    min-height: 980px;
    height: auto !important;
    height: 980px;
    background: url(../images/contentsbg.png);
}

html * #contents #data
{
    background: url(../images/contentsbg_ie.png);
}

#contents #bottom
{
    height: 21px;
    background: url(../images/contents_end.png);
    margin-bottom: 0px;
}

#contents #data h1
{
    display: block;
    height: 27px;
    width: 657px;
    margin-left: 45px;
    padding-top: 6px;
    line-height: 0;
    background-color: #ffdaa7;
}

#contents #data h1 span
{
    padding-left: 18px;
    font: 18px Georgia;
    color: #990000;
}

#pagedata
{
    width: 640px;
    margin-top: 20px;
    margin-left: 54px;
    font: 12px/18px Tahoma;
    color: #333333;
}

#pagedata p
{
    padding: 7px 0;
}

#contents #data h2
{
    display: block;
    height: 21px;
    width: 631px;
    margin-top: 18px;
    margin-left: 9px;
    line-height: 0;
}

#contents #data h2 span
{
    font: bold 14px Tahoma;
    color: #990000;
}

ul#gallery
{
    list-style: none;
    width: 652px;
    margin-left: -20px;
}

ul#gallery li
{
    width: 147px;
    margin-left: 16px;
    float: left; display: inline;
    height: 109px;
    overflow: hidden;
}

ul#gallery img
{
    border: 2px solid #d4ba83;
    display: block;
    margin: 0 auto;
}

div.clear
{
    clear: both;
}

ul#pagenavigation
{
    list-style: none;
    text-align: center;
    margin-top: 23px;
}

ul#pagenavigation li
{
    display: inline;
    padding-left: 7px;
    padding-right: 3px;
}

li.lastn
{
    padding-right: 13px !important;
}

li.bg
{
    padding-left: 0px !important;
    padding-right: 6px !important;
}

li.bg a
{
    padding: 6px 5px 5px;
    background-color: #ffdaa7;
}

ul#pagenavigation a
{
    font: bold 12px Tahoma;
    text-decoration: none;
    color: #990000;
}

ul#pagenavigation span
{
    font: bold 12px Tahoma;
    text-decoration: underline;
    color: #000000;
}

p#goback
{
    display: block;
    margin-top: 54px;
    padding: 0 0 17px 0;
}

p#goback a, #pagedata a
{
    font: 12px Tahoma;
    text-decoration: underline;
    color: #990000;
}

#copyright
{
    line-height: 0;
    width: 320px;
    margin-left: 564px;
    margin-top: 5px;
    margin-bottom: 10px;
    font: 11px Arial;
    color: #dab884;
    white-space: nowrap;
}

#copyright *
{
    font: 11px Arial;
    color: #dab884;
    text-decoration: none;
}

div.aboutdogs
{
    margin-top: 20px;
    margin-bottom: 5px;
}

ul.gallery_groups img
{
    border: 2px solid #d4ba83;
    display: block;
    margin: 0 auto;
}

ul.gallery_groups
{
    margin-top: 20px;
    list-style: none;
    width: 640px;
    display: block;
}

ul.gallery_groups li
{
    width: 213px;
    height: 156px;
    float: left; display: inline;
    text-align: center;
}

ul.gallery_groups li img
{
    margin-bottom: 2px;
}

ul.gallery_groups a
{
    font: 12px Tahoma;
    color: #990000;
    text-decoration: underline;
}

div#afteraboutdogs
{
    margin-top: 16px;
}

img#dog_gallery, img#map
{
    margin: 35px auto 0;
    display: block;
}

img#map, img#profile
{
    border: 2px solid #d4ba83;
}

h3
{
    font: bold 12px Tahoma;
    color: #333333;
    margin-top: 18px;
    margin-left: 54px;
}

h3 span
{
    color: #990000;
}

dl#contacts
{
    font: 12px Tahoma;
    color: #333333;
    margin-top: 13px;
    width: 572px;
    display: block;
}

dl#contacts dt
{
    float: left; display: inline;
    width: 72px;
}

dl#contacts dd
{
    float: left; display: inline;
    width: 500px;
}

dl#contacts a
{
    color: #990000;
    text-decoration: underline;
}

p#aboutcontacts
{
    margin-top: 30px;
}

img#profile
{
    float: left; display: inline;
}

dl#aboutdog
{
    font: 12px Tahoma;
    color: #333333;
    margin-top: 63px;
    margin-left: 14px;
    float: left; display: inline;
    width: 400px;
}

dl#aboutdog dt
{
    display: inline;
    font-weight: bold;
}

dl#aboutdog dd
{
    display: inline;
}

dl#aboutdog a
{
    color: #990000;
    text-decoration: underline;
}

.dogprofile p img
{
    display: inline;
    padding: 0 10px;
}

/*
.dogprofile table
{
    clear: left;
}
*/
/*.dogprofile table
{
    background-color: #ffdaa7;
    border: 1px solid #990000;
    font: 11px Tahoma;
    color: #990000;
    margin: 20px 0 22px;
}


.dogprofile table td
{
    border: 1px solid #990000;
    border-right: 0;
    padding: 10px 2px 10px 9px;
}

.dogprofile table .vtop
{
    vertical-align: top;
}

.dogprofile table .vmiddle
{
    vertical-align: middle;
    border-bottom: 0;
    border-right: 1px solid #990000;
}

.dogprofile table .exc
{
    border-bottom: 0;
}

.dogprofile table .excb
{
    border-bottom: 1px solid #990000;
}
*/

img#news
{
    position: absolute;
    top: 141px;
    left: 281px;
}

div.sometop
{
    height: 280px;
}

#news_data
{
    width: 657px;
    margin-left: 45px;
    padding-bottom: 33px;
}

#news_data h4
{
    background-color: #ffdaa7;
    padding: 6px 0;
}

#news_data h4 span, #news_data h4 a
{
    margin: 0 20px;
    display: block;
    font: 18px Georgia;
    color: #990000;
    text-decoration: none;
}

#news_data h5
{
    display: block;
    width: 640px;
    margin: 4px 0 1px 19px;
}

#news_data h5 span
{
    font: 12px Tahoma;
    color: #c8af7a;
}

.news_content
{
    font: 12px Tahoma;
    color: #333333;
    display: block;
    width: 640px;
    margin-left: 9px;
}

.news_content p
{
    margin: 11px 0;
}

.news_content a
{
    color: #990000;
    text-decoration: underline;
}

#news_data.notop
{
    padding-top: 3px;
}

#shuffle
{
    margin: 10px auto 50px;
    display: block;
    width: 204px;
    height: 154px;
}

#shuffle img
{
    border: 2px solid #d4ba83;
}

#mainswf
{
    margin: 0 auto;
    display: block;
    /*width: 1000px; /*1200px;*/
    /*height: 780px; /*936px;*/
    width: 1200px;
    height: 936px;
}

.news_block
{
    margin-bottom: 30px;
}

textarea#banner
{
    width: 542px;
    height: 100px;
    display: block;
    border: 0;
    background-color: #f9e8c3;
    cursor: default;
    font: 12px/18px Tahoma;
    color: #333;
    margin-left: 70px;
    overflow: hidden;
    resize: none;
}

.fancyfancy { text-decoration: none !important; }