/* TODO different styles for p / h6 in different columns!
   TODO style for child page
   TODO reconcile into one css
 */

/* reset */

body, h1, h2, h3, h4, h5, h6, td, tr {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

img {
    border: none;
    border: none;
}

/* css */

body {
    min-width: 1225px;
    background: url("bg_texture.png") repeat;
    font-family: Verdana, sans-serif;
    font-size: 11px;
}

#bg {
    width: 100%;
    height: 100%;
    background: url("blue-bg-small.png") 0 75px repeat-x;

}

    body.main #bg {
        background: url("blue-bg.png") 0 75px repeat-x;
    }

#container {
    width: 1200px;
    margin: 0 auto;
}

#upper {
    position: relative;
    height: 125px;
}
    #logo {
        float: left;
        width: 124px;
        height: 121px;
        margin-top: 3px;
    }

    #upper h1 {
        position: relative;
        width: 700px; /* overflows in firefox */
        left: 78px;
        top: 6px;
        font-size: 1.7em;
        color: white;
    }

    #upper h3 {
         position: absolute; /* breaks layout if relative ?! */
         width: 700px; /* overflows in firefox */
         left: 200px;
         top: 38px;
         font-size: 1.7em;
         font-style: italic;
         color: white;
     }

    #jsddm {
        margin: 0;
        padding: 0;
        margin-left: 187px;
    }

        #jsddm li {
            float: left;
            list-style: none;
        }

            #jsddm li a {
                display: block;
                /*background: #20548E;*/
                padding: 5px 12px;
                text-decoration: none;
                border-right: 1px solid white;
                width: 80px;
                color: white;
                white-space: nowrap;
                font-size: 1.4em;
            }

            #jsddm li a.first {
                border-left: 1px solid white;
            }

            #jsddm li a:hover {
                background: #dd1d67;
            }

            #jsddm li ul
            {	margin: 0;
                padding: 0;
                position: absolute;
                visibility: hidden;
                border-top: 1px solid white;
                z-index: 2;
            }

                #jsddm li ul li {
                    float: none;
                    display: inline;
                }

                #jsddm li ul li a {
                    width: auto;
                    background: #7c848b;
                }

                #jsddm li ul li a:hover {
                    background: #dd1d67;
                }

#blue {
    position: relative;
    height: 55px;
    color: white;
}

    body.main #blue {
        height: 363px;
    }

    #blue .scrollbutton {
        position: absolute;
        top: 130px;
        font-size: 30px;
        color: #f12678;
        text-shadow: #333 2px 2px;
        cursor: pointer;
    }

    #blue .scrollbutton.disabled {
        color: gray;
        cursor: auto;
    }

    #blue .scrollbutton.prev {
        left: -6px;
    }

    #blue .scrollbutton.next {
        right: -6px;
    }

    #deti {
        position: relative;
        left: 30px;
        width: 1140px;
        height: 300px;
        overflow: hidden;
    }

        #deti .items {
            position: absolute;
            width: 20000em;
        }

        #deti .dite {
            float: left;
            width: 380px; /* scroll width */
            height: 300px;
            overflow: hidden;
        }

            #deti .dite h4 {
                font-size: 2em;
                margin-bottom: 0.5em;
                text-shadow: #333 1px 1px;
            }

                #deti .dite h4 a:link, #deti .dite h4 a:visited {
                    color: #f12678;
                    text-decoration: none;
                }

                #deti .dite h4 a:hover, #deti .dite h4 a:active {
                    color: #f12678;
                    text-decoration: underline;
                }

            #deti .dite img {
                float: left;
            }

            #deti .dite p {
                margin-left: 138px;
            }

#dengi {
    height: 50px;
    /*background-color: red;*/
    clear: left;
}

    #dengi ul {
        list-style-type: none;
        margin: 0;
        margin-top: 10px;
        padding: 0; /* firefox had padding by default */
    }

        #dengi ul li {
            display: inline;
            font-size: 1.55em;
        }

            #dengi ul li img {
                margin-left: 20px;
                margin-right: 10px;
                vertical-align: middle;
            }

            #dengi ul li a:link, #dengi ul li a:visited {
                color: white;
                text-decoration: none;
            }

            #dengi ul li a:hover, #dengi ul li a:active {
                color: white;
                text-decoration: underline;
            }

#main {
    margin-top: 20px;
}

    #main h4 {
        font-size: 1.9em;
        color: #fd2176;
        /*margin-left: 10px;*/
        margin-bottom: 0.8em;
    }

    #main .emailicon {
        float: right;
        margin-right: 12px;
    }

    #main .rssicon {
        float: right;
        margin-right: 30px;
    }

    #main h6 {
        font-size: 1.2em;
        margin-bottom: 1em;
        margin-right: 26px;
        /*margin-left: 10px;*/
    }

        #main h6 a:link, #main h6 a:visited {
            color: black;
            text-decoration: underline;
        }

        #main h6 a:hover, #main h6 a:active {
            color: #666;
            text-decoration: underline;
        }

    #main p {
    /*    margin-left: 1em;*/
        margin-top: 0.5em;
        margin-bottom: 0;
        margin-right: 26px;
    }

    #main p.date {
        margin-top: 1.5em;
        font-size: 0.9em;
    }

    #main .content {
        margin-left: 10px;
        margin-right: 35px; /* depends on shadow size XXX */
    }

        #main .content .thumb {
            float: left;
            width: 210px;
            height: 220px;
            margin: 5px;
            position: relative;
        }

            #main .content .thumb img {
                display: block;
                margin: 0 auto;
                padding: 2px;
                border: 2px solid white;
            }

                #main .content .thumb a:hover img, #main .content .thumb a:active img {
                    border: 2px solid #fd2176;
                }


            #main .content .thumb p {
                text-align: center;
                position: relative;
                bottom: 0;
            }

            #main .content .thumb a {
                display: block;
                height: 100%;
                width: 100%;
            }

            #main .content .thumb a:link, #main .content .thumb a:visited {
                text-decoration: none;
                color: #000;
            }

            #main .content .thumb a:hover, #main .content .thumb a:active {
                text-decoration: underline;                
            }

        #main .content .fltlft {
            float: left;
            margin-right: 10px;
        }

        #main .content .fltrt {
            float: right;
            margin-left: 10px;
        }

    #main .child-list-item {
        clear: left;
        margin-top: 30px;
    }

        #main .child-list-item img {
            float: left;
            clear: left;
            margin-left: 10px;
            margin-right: 15px;
            margin-bottom: 30px;
        }

        #main .child-list-item h6 {
            font-size: 1.2em;
            margin-bottom: 1em;
            margin-right: 26px;
            margin-left: 10px;
        }

            #main h6 a:link, #main h6 a:visited {
                color: black;
                text-decoration: underline;
            }

            #main h6 a:hover, #main h6 a:active {
                color: #666;
                text-decoration: underline;
            }

    #main .child-intro {
    }

        #main .child-intro img {
            float: left;
            margin-right: 15px;
        }

    #main .child-content {
        clear: left;
        padding-top: 2em;
    }

    #main .child-news {
        clear: left;
        padding-top: 2em;
    }

    #main .content .incoming-funds, #main .content .outgoing-funds {
        width: 100%;
        border-collapse: collapse;
    }

        #main .content .incoming-funds tr, #main .content .outgoing-funds tr {
            border-bottom: 1px solid #CC821E;
            line-height: 1.8em;
        }

            #main .content .incoming-funds td.i, #main .content .incoming-funds th.i {
                width: 45%;
            }

            #main .content .incoming-funds td.ii #main .content .incoming-funds th.ii {
                width: 20%;
            }
            #main .content .incoming-funds td.iii, #main .content .incoming-funds th.iii {
                width: 12%;
            }

            #main .content .outgoing-funds td.i, #main .content .outgoing-funds th.i {
                width: 5%;
            }
            
            #main .content .outgoing-funds td.ii #main .content .outgoing-funds th.ii {
                width: 20%;
            }

            #main .content .outgoing-funds td.iii, #main .content .outgoing-funds th.iii {
                width: 12%;
            }

            #main .content .incoming-funds th, #main .content .outgoing-funds th {
                text-align: left;
                font-size: 1em;
                font-weight: bold;
            }

    a.flowPlayer {
        display: block;
        position: relative;
        /*float: left;*/
        width: 640px;
        height: 480px;
        margin: 0 15px 15px 0;
        text-align: center;
        border: 1px solid #999;
    }

        a.flowPlayer img.splash {
            /*margin-top: 70px;*/
        }

        a.flowPlayer img.ontop {
            position: absolute;
            z-index: 2;
            left: 279px; /*  a.width/2 -41 */
            top: 199px;
        }

        a.flowPlayer:hover {
            border: 1px solid #000;
        }

    #main .photogallery img {
        margin: 0 1em 1em 0;
    }

#footer {
    height: 455px;
    width: 100%;
    margin-top: -40px;
    background: url("blue-bg-footer.png") top left repeat-x;
}

    #footer_container {
        width: 1200px;
        margin: 0 auto;
        padding-top: 60px;
        color: white;
    }

        #deti2 {
            position: relative;
            width: 1200px;
            height: 100px; /* needed for relative? */
            overflow: hidden;
        }

            #deti2 .items {
                position: absolute;
                width: 20000em;
            }

            #deti2 .dite {
                float: left;
                width: 300px; /* scroll width */
                height: 100px;
                overflow: hidden;
            }

                #deti2 .dite h4 {
                    font-size: 1.4em;
                    margin-bottom: 0.25em;
                    margin-left: 68px;
                }

                    #deti2 .dite h4 a:link, #deti2 .dite h4 a:visited {
                        color: white;
                        text-decoration: none;
                    }

                    #deti2 .dite h4 a:hover, #deti2 .dite h4 a:active {
                        color: white;
                        text-decoration: underline;
                    }

                #deti2 .dite img {
                    float: left;
                }

                #deti2 .dite p {
                    margin-left: 68px;
                }

        #footer .menu {
        }

            #footer .menu table {
                width: 100%;
            }

                #footer .menu a {
                    /*background: #20548E;*/
                    /*padding: 5px 12px;*/
                    display: block;
                    text-decoration: underline;
                    color: white; /*#EAFFED;*/
                    white-space: nowrap;
                    font-size: 1em;
                }

                #footer .menu a:hover {
                    color: #ccc;
                }

        #footer .address {

        }

            #footer .address a:link, .address a:visited {
                color: white;
                text-decoration: underline;
            }

            #footer .address a:hover, .address a:active {
                color: #ccc;
                text-decoration: underline;
            }
