/**
 *    Pugi base styles
 *
 *    @author  pugi.si
 *    @version 1.0
 **/

/* =Commmon
----------------------------------------------- */
body {
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    background: #53739b url(../images/bg_body.png) repeat-x top;
    color: #345178;
}

em {
    font-style: italic;
}

a {
    text-decoration: none;
    color: #53739b;
}

a:hover {
    text-decoration: underline;
}

p {
    line-height: 1.4;
}

strong {
    font-weight: bold;
}

#wrapper {
    width: 926px;
    margin: 0 auto;
}

/* =Header
----------------------------------------------- */
#header {
    width: 910px;
    height: 193px;
    margin-top: 30px;
    padding: 0 8px 0 8px;
    float: left;
    position: relative;
    background: url(../images/bg_header.png) no-repeat;
}

    #header > h1 {
        width: 251px;
        height: 59px;
        position: absolute;
        top: 63px;
        left: 18px;
    }

        #header > h1 a {
            width: 100%;
            height: 100%;
            display: block;
            text-indent: -9999px;
            background: url(../images/logo_pugi.png) no-repeat;
        }

    #header > img {
        width: 455px;
        height: 108px;
        position: absolute;
        top: 12px;
        right: 56px;
    }

    #header > ul {
        height: 0;
        line-height: 22px;
        float: left;
        margin: 141px 0 0 158px;
    }

        #header > ul li {
            width: auto;
            margin-left: 16px;
            float: left;
        }

        #header > ul li:first-child {
            margin-left: 0;
        }

            #header > ul a {
                font-size: 18px;
                font-weight: bold;
            }

            #header > ul a.selected {
                text-decoration: underline;
            }

/* =center
----------------------------------------------- */
#center {
    width: 910px;
    float: left;
    padding: 0 8px 0 8px;
    background: url(../images/pugi_sprite_bg.png) repeat-y top;
}

    #center > dl {
        float: left;
        width: 140px;
        margin: 16px 0 0 16px;
    }

    #center > dl dt,
    #center > dl dd {
        line-height: 16px;
        padding-bottom: 16px;
        font-size: 14px;
        font-weight: bold;
    }

/* =Main
----------------------------------------------- */
#main {
    float: left;
    width: 562px;
    margin: 8px 18px 0 18px;
}

#main div {
    width: 562px;
    float: left;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border: 1px solid #a5a5a5;
    position: relative;
}

    #main div a.more {
        font-size: 12px;
        clear: both;
        float: right;
        padding: 8px 16px 0 0;
    }

    #main div.small {
        width: 260px;
        margin-right: 18px;
    }

        #main div.small.l {
            margin: 0;
        }

    #main div h2 {
        width: auto;
        height: 30px;
        padding: 0 3px 0 16px;
        margin-bottom: 8px;
        line-height: 30px;
        background-color: #53739b;
        font-size: 20px;
        font-weight: bold;
        color: #fff;
    }

    #main div h2 a {
        color: #fff;
    }

    #main div p a {
        color: #f00;
    }

    #main div p, #main div dl {
        width: auto;
        line-height: 16px;
        padding-left: 16px;
        font-size: 14px;
        font-weight: normal;
        clear: both;
    }

    #main div p {
        padding: 0 16px 16px 16px;
    }

        #main div dl.last {
            margin-bottom: 32px;
        }

        #main div dl dt {
            color: #53739b;
            font-size: 12px;
            font-weight: bold;
            width: 100px;
        }

        #main div dl dd {
            font-size: 14px;
        }

        #main div dl dt, #main div dl dd {
            float: left;
        }

#main ul.pagination {
    width: 100%;
    float: left;
    margin-bottom: 16px;
}

    #main ul.pagination li {
        float: left;
        padding-left: 8px;
    }

    #main ul.pagination li:first-child {
        padding-left: 0;
    }

        #main ul.pagination li.current {
            font-weight: bold;
            font-size: 16px;
        }

#main .gallery {
        width: 530px;
        margin: 16px 16px 0 16px;
        float: left;
    }

        #main .gallery > li {
            width: 125px;
            margin: 0 20px 16px 0;
            padding: 0;
            float: left;
        }

            #main .gallery > li img {
                width: 125px;
                margin: 0;
            }


/* =Banners
----------------------------------------------- */
#banners {
    float: left;
    width: 140px;
    margin: 16px 0 0 16px;
}

    #banners div {
        line-height: 0px;
        margin-bottom: 16px;
    }

/* =Footer
----------------------------------------------- */
#footer {
    width: 926px;
    height: 63px;
    margin-bottom: 128px;
    clear: both;
    background: url(../images/bg_footer.png) no-repeat;
}

    #footer p {
        width: 100%;
        height: 100%;
        padding-top: 20px;
        line-height: 16px;
        text-align: center;
        font-size: 12px;
        color: #a8a8a8;
    }
