/* Dialogue titlebar */
.ttl {
    width: 100%;
    height: 40px;
    cursor: move;
}

    .ttl a {
        margin-top: 4px;
        display: block;
        float: right;
        width: 35px;
        height: 25px;
        background: transparent;
        cursor: default;
    }

        .ttl a:hover {
            background-position: -18px -25px;
        }

        .ttl a:active {
            background-position: -18px -50px;
            outline: none;
        }

.ttlt {
    width: 100%;
    height: 32px;
}

.ttlt-l {
    width: 9px;
    height: 100%;
    background: transparent;
    float: left;
}

.ttlt-m {
    height: 100%;
    background: var(--MainForeColour);
    float: left;
}

.ttlt-r {
    width: 9px;
    height: 100%;
    background: transparent;
    float: left;
}

.ttlt span {
    cursor: inherit;
    margin-left: 4px;
    line-height: 32px;
    color: var(--MainBackgroundColour);
    font-weight: bold;
    font-family: var(--actis-font-family);
    font-size: 11px;
}

.ttlb {
    width: 100%;
    height: 8px;
    overflow: hidden;
}
/*** overflow:hidden to prevent IE6 from rendering the div at the current font height ***/
.ttlb-l {
    width: 9px;
    height: 100%;
    background: var(--MainForeColour);
    float: left;
}

.ttlb-m {
    height: 100%;
    background: var(--MainBackgroundColour);
    float: left;
}

.ttlb-r {
    width: 9px;
    height: 100%;
    background: var(--MainForeColour);
    float: left;
}

/* Dialogue contents */
.con {
    background: var(--MainBackgroundColour);
    font-family: var(--actis-font-family);
    font-size: 11px;
    padding: 4px 7px;
    min-height: 20px;
}

/* Dialogue footer */
.ftr {
    width: 100%;
    height: 50px;
    font-family: var(--actis-font-family);
    font-size: 11px;
}

.ftr-l {
    width: 9px;
    height: 100%;
    background: transparent;
    float: left;
}

.ftr-m {
    height: 100%;
    background: var(--MainBackgroundColour);
    float: left;
}

.ftr-r {
    width: 9px;
    height: 100%;
    background: transparent;
    float: left;
}

/* Footer buttons */
.ftr .btns {
    float: right;
    margin-top: 4px;
}

    .ftr .btns a {
        text-decoration: none;
        color: #333;
        cursor: default !important;
        display: inline;
    }

        .ftr .btns a span.l {
            display: block;
            float: left;
            width: 10px;
            height: 25px;
            background: transparent url("images/static.png") no-repeat -93px 0;
            margin-left: 2px;
        }

        .ftr .btns a span.m {
            display: block;
            float: left;
            padding: 0;
            height: 25px;
            line-height: 25px;
            background: transparent url("images/horizontal.png") repeat-x 0 -120px;
        }

        .ftr .btns a span.r {
            display: block;
            float: left;
            width: 10px;
            height: 25px;
            background: transparent url("images/static.png") no-repeat -103px 0;
        }

        .ftr .btns a:hover {
            text-decoration: none;
            color: var(--MainForeColour);
        }

            .ftr .btns a:hover span.l {
                background-position: -93px -25px;
            }

            .ftr .btns a:hover span.m {
                background-position: 0 -145px;
            }

            .ftr .btns a:hover span.r {
                background-position: -103px -25px;
            }

        .ftr .btns a:active span.m {
            height: 23px;
            line-height: 24px;
            padding-top: 2px;
        }

/* Upload dialogue styles */
.dlg-up {
    color: #999;
    cursor: default !important;
}

    .dlg-up .ttlt-m, .dlg-up .ttlb-m, .dlg-up .ftr-m {
        width: 440px;
    }

    .dlg-up .stat, .dlg-up .list {
        padding: 0 15px;
    }

    .dlg-up h3 {
        margin: 0;
        font-weight: normal;
        font-size: 11px;
        padding: 0 0 4px 0;
        color: var(--GridBorderColour);
    }

    .dlg-up .red {
        color: var(--SoftRed);
    }

    .dlg-up strong {
        color: #ea6b4a;
        font-weight: normal;
    }

    .dlg-up .files {
        height: auto;
        margin: 0 8px 8px 8px;
    }

    .dlg-up .list ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

        .dlg-up .list ul li {
            line-height: 16px;
            background: var(--MainBackgroundColour);
            padding-left: 16px;
        }

            .dlg-up .list ul li.done {
                color: var(--MainForeColour);
                background-position: -384px 0;
            }

            .dlg-up .list ul li.cur {
                color: #dd3409;
                background-position: -384px -16px;
            }

    .dlg-up .info {
        float: left;
        font-size: 11px;
        cursor: default !important;
        margin: 0 0 0 8px;
        height: 34px;
        line-height: 34px;
        font-size: 10px;
    }

/* Progress bar and related elements */
.prog {
    width: 412px;
    height: 18px !important;
    text-align: left;
    border: 1px solid #ccc;
    border-bottom-color: #ddd;
    border-right-color: #ddd;
    padding: 0;
    margin: 0;
    direction:ltr;
    display: inline-block;
    overflow: hidden;
}

    .prog .con {
        width: 410px;
        height: 16px !important;
        background: transparent url("images/horizontal.png") repeat-x 0 -170px;
        border: 0;
        margin: 0;
        padding: 1px;
    }

        .prog .con .bar {
            height: 16px;
            background-color: #679EC9;
        }
