﻿/* Extra stles not yet in GC framework. */

.gc-percentage-input {
    display: inline-block;
}

.gc-percentage-input input{
    padding-left: 5px;
    padding-right: 40px;
}
.gc-currency-input {
    display: inline-block;
}

.gc-percentage-input .gc-currency-input__symbol {
    left: auto;
    right: 0
}

.navigation-service {
    border-bottom: 1px solid #bfc1c3;
    margin: 0;
    position: relative;
    font-size: 0;
    padding: 14px 0 5px 0;
}

.navigation-service-name {
    font-weight: 700;
    text-transform: none;
    font-size: 19px;
    line-height: 1.25;
    padding: 5px 0 11px 0;
    display: inline-block;
    max-width: 50%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.navigation-service-switch {
    font-weight: 400;
    text-transform: none;
    font-size: 19px;
    line-height: 1.25;
    text-decoration: none;
    text-align: right;
    position: absolute;
    top: 0;
    right: 0;
    padding: 14px 0 11px 15px;
    max-width: 50%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

    .navigation-service-switch .govuk-button {
        font-size: 16px;
        padding: 5px 6px 4px 6px;
    }

.govuk-fieldset__legend--l {
    margin-bottom: 30px !important;
}

.design-alert {
    padding: 15px;
    margin-bottom: 30px;
    background: #fc0;
    font-weight: 700;
    display: block;
}

.app-task-list__task-todo {
    margin-top: 10px;
    margin-bottom: 5px;
    background: #b1b4b6;
    color: #0b0c0c;
}

@media (min-width: 28.125em) {
    .app-task-list__task-todo {
        float: right;
        margin-top: 0;
        margin-bottom: 0;
    }
}

.gc-documents-list {
    margin-top: 50px;
}

.gc-documents-list--doc-action {
    padding: 15px 0px;
}

.gc-documents-list--group {
    margin-bottom: 5px;
    border-bottom: 1px solid #bcb0b0;
}

    .gc-documents-list--group:last-child {
        margin-bottom: 5px;
        border-bottom: 0px;
    }

.gc-documents-list--doc-name {
    font-weight: 700;
}

@media screen and (min-width: 900px) {
    .gc-documents-list {
        margin-top: 30px;
    }

    .gc-document-list .govuk-summary-list__row .govuk-summary-list__key {
        width: 50%;
    }

    .gc-document-list .govuk-summary-list__row .govuk-summary-list__value {
        width: 30%;
    }

    .gc-document-list .govuk-summary-list__row .govuk-summary-list__actions {
        width: 20%;
    }

    .gc-documents-list {
        margin-bottom: 40px;
    }

        .gc-documents-list .gc-documents-list--group {
            margin-bottom: 10px;
            padding-bottom: 10px;
            display: table;
            width: 100%;
        }

            .gc-documents-list .gc-documents-list--group .gc-documents-list--row {
                display: table-row;
                width: 100%;
            }

                .gc-documents-list .gc-documents-list--group .gc-documents-list--row .gc-documents-list--doc-name {
                    width: 70%;
                    display: table-cell;
                    font-weight: 700;
                }

                .gc-documents-list .gc-documents-list--group .gc-documents-list--row .gc-documents-list--doc-action {
                    display: table-cell;
                    text-align: right;
                    padding: 0px;
                }

            .gc-documents-list .gc-documents-list--group .gc-documents-list--doc-list {
                padding: 10px 0px;
            }

            .gc-documents-list .gc-documents-list--group .gc-documents-list--doc-files {
                width: 100%;
                display: table-cell;
                color: #6f777b;
                font-size: 16px;
            }

                .gc-documents-list .gc-documents-list--group .gc-documents-list--doc-files .govuk-list {
                    margin-bottom: 0px;
                }

                .gc-documents-list .gc-documents-list--group .gc-documents-list--doc-files li {
                    font-size: 16px;
                }
}

.timeline {
    padding: calc(2 * 5px);
    margin: 0 auto;
}

    .timeline .action_needed {
        border: 5px solid #1d70b8;
        padding: 5px 20px 5px 15px;
        box-shadow: none;
        margin-bottom: 30px;
        display: block;
        background: #fff;
    }

        .timeline .action_needed h2 {
            margin-top: 10px;
            margin-bottom: 10px;
        }

        .timeline .action_needed:before {
            content: "";
            display: block;
            width: calc(2 * 8px);
            height: calc(2 * 8px);
            border-radius: 50%;
            background-color: #fff;
            border: 5px solid #1d70b8;
            position: absolute;
            z-index: 2;
            left: -41px;
            top: 16px;
        }

    .timeline h2 {
        margin-top: 0px;
        margin-bottom: 10px;
    }

    .timeline ul {
        list-style-type: none;
        position: relative;
        padding: 0 0 0 10px;
        margin: 0 0 20px 0;
    }

        .timeline ul:after {
            content: "";
            position: absolute;
            top: -10px;
            left: -4.5px;
            bottom: 0;
            border-left: 4px solid #b1b4b6;
            height: 102%;
        }

        .timeline ul li {
            margin: 4px 0 20px 10px;
            padding-left: 15px;
            position: relative;
            display: block;
            border-bottom: 1px solid #dee0e2;
        }

            .timeline ul li:last-child {
                margin-bottom: 0px;
            }

            .timeline ul li .timeline-reference {
                display: table;
                position: relative;
            }

                .timeline ul li .timeline-reference:before {
                    content: "";
                    position: absolute;
                    left: -20px;
                    width: 20px;
                    top: 9px;
                    z-index: -1;
                }

            .timeline ul li:before {
                content: "";
                display: block;
                width: calc(2 * 5px);
                height: calc(2 * 5px);
                border-radius: 50%;
                background-color: #fff;
                border: 4px solid #b1b4b6;
                position: absolute;
                z-index: 2;
                left: -32px;
                top: 7px;
            }

.timeline-details {
    margin: 10px 0;
}

    .timeline-details summary {
        font-size: 0.9em;
    }

    .timeline-details span {
        display: block;
        font-size: 0.8em;
        padding-bottom: 5px;
        padding-left: 10px;
        border-left: 4px solid #005ea5;
    }

.time {
    color: #6f777b;
    font-size: 16px;
    margin-bottom: 15px;
}

.gc-vertical-nav--count--notification {
    background: #005ea5;
    color: #fff;
}

.gc-page-help {
    padding: 30px;
    margin-top: 50px;
    background: #fff;
    border-top: 8px solid #005ea5;
}

.gc-fee-summary-selections {
    padding: 15px 15px 5px 15px;
    background: #f3f2f1;
    border-top: 5px solid #b1b4b6;
    margin-top: 25px;
}

.govuk-table__cell.breakable {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all
}