@import url('https://fonts.googleapis.com/css2?family=Poppins&family=Roboto+Condensed&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Sofia+Sans+Condensed:wght@400;700&display=swap');
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#app .app-holder {
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    display: flex;
    flex-direction: column;
}

.app-holder .content {
    flex-grow: 1;
    padding: 0.5rem 0.5rem;
    font-size: 100%;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.centered-content {
    color: #588157;
    align-self: center;
}

    .centered-content .exception-message {
        color: red;
        text-align: center;
        padding-top:0.5em;
    }

    .centered-content .header {
        font-family: 'Roboto', sans-serif;
        font-weight: bold;
        font-size: 180%;
        padding-top: 1.0rem;
        padding-bottom: 0.8rem;
    }

    .centered-content .content-grid {
        display: grid;
        grid-template-columns: max-content auto;
        row-gap: 0.4em;
        column-gap: 0.4em;
        align-items: center;
    }

.centered-content .content-grid .label {
    font-family: 'Poppins', sans-serif;
    justify-self: flex-end;
    grid-column-start: 1;
}

.centered-content .content-grid input, .centered-content .content-grid select {
    padding: 0.2em 0.3em 0.2em 0.3em;
    font-size: 100%;
}

        .centered-content .content-grid .email input, .centered-content .content-grid .accounts select {
            min-width: 15em;
            max-width: 25em;
        }

    .login-holder .content-grid .password input {
        width: 9em;
    }

.login-holder .remember-me, .centered-content .buttons {
    grid-column-start: 2;
    display: flex;
    flex-direction: row;
    column-gap: 0.2em;
    align-items: center;
}

        .login-holder .remember-me input[type=checkbox] {
            width: 1.4em;
            height: 1.4em;
        }

.centered-content .buttons {
    column-gap: 0.8em;
    padding-top: 0.5em;
}

.centered-content .buttons.vertical {
    flex-direction: column;
    row-gap: 1.5em;
}

    .centered-content .buttons input {
        padding: 0.25em 1.5em;
    }

    .centered-content .buttons.centered, .centered-content .exception-message.centered {
        grid-column: 1/-1;
        justify-content: center;
    }

.master-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    padding-top: 0.1rem;
    padding-bottom: 0.3rem;
}

    .master-header .title {
        font-size: 280%;
    }

    .master-header .user-information {
        display: flex;
        flex-direction: column;
        column-gap: 0.2rem;
        font-family: 'Sofia Sans Condensed', sans-serif;
        font-size: 110%;
        font-weight: 400;
    }

        .master-header .user-information div {
            text-align: right;
        }

        .master-header .user-information .user-name {
            font-size:120%;
        }

        .master-header .user-information .user-account {
            font-size: 90%;
        }

.master-footer {
    font-family: 'Poppins', sans-serif;
    font-size: 10pt;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0.1rem 0.5rem 0rem 0.5rem;
}

.nimble-ship-logo-text {
    font-family: 'Sofia Sans Condensed', sans-serif;
}

.master-title-bar {
    border-bottom: solid 3px;
    text-transform: uppercase;
    padding: 0.35rem 1.0rem 0.2rem 1.0rem;
    display: flex;
    flex-direction: row;
    column-gap: 1.0em;
    font-family: 'Roboto Condensed', sans-serif;
}

    .master-title-bar .item {
        cursor: pointer;
        font-size: 120%;
    }

        .master-title-bar .item.selected {
            cursor: default;
        }

    .master-title-bar a {
        text-decoration: none;
    }
        .master-title-bar a:hover {
            text-decoration: underline;
        }
    .master-title-bar a.selected:hover {
        text-decoration: none;
    }

.master-title-bar .item .flex-end {

}

.btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.carrier-holder {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    position: relative;
    height: 100%;
    column-gap: 1em;
    font-family: 'Roboto', sans-serif;
}

    .carrier-holder .existing {
        overflow: auto;
        flex-grow: 1;
    }

        .carrier-holder .existing .item-header {
            font-size: 140%;
            padding-bottom: 0.4em;
        }

        .carrier-holder .existing .item-holder {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            column-gap: 1.0em;
            row-gap: 1.0em;
            padding-left: 1.0em;
        }

            .carrier-holder .existing .item-holder + .item-header {
                padding-top: 1em;
            }

            .carrier-holder .existing .item-holder .config-name {
                cursor: pointer;
            }

    .carrier-holder .new {
        min-width: 20em;
        overflow: auto;
        display: flex;
        flex-direction: column;
        row-gap: 0.6em;
    }

        .carrier-holder .new .header {
            font-size: 130%;
            font-weight:bold;
            align-self:center;
            padding-top:0.2em;
        }

        .carrier-holder .new .information {
            display: grid;
            grid-template-columns: auto auto;
            row-gap: 0.3em;
            column-gap: 0.5em;
            justify-items: left;
            align-items: center;
        }

            .carrier-holder .new .information .i-head, .carrier-holder .new .information .i-text {
                grid-column: 1/-1;
                align-self: center;
                justify-self: center;
            }

            .carrier-holder .new .information .i-head {
                font-size: 110%;
                padding-top: 0.75rem;
            }
                .carrier-holder .new .information .i-head:first-child {
                    padding-top: 0em;
                }

            .carrier-holder .new .information .i-text:last-child {
                padding-top: 0.5rem;
            }

            .carrier-holder .new .information .title {
                justify-self: right;
                grid-column: 1/1;
            }

            .carrier-holder .new .information input, .carrier-holder .new .information select {
                padding: 0.2em 0.3em;
            }

            .carrier-holder .new .information select {
                min-width: 8em;
            }

        .carrier-holder .new .station-environments {
            grid-column: 1/-1;
            align-self: center;
            justify-self: center;
        }

        .carrier-holder .new .station-holder {
            grid-column: 1/-1;
            display: flex;
            flex-direction: row;
            justify-content: center;
            width: 100%;
            padding-top: 0.3em;
        }

            .carrier-holder .new .station-holder .station-center {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                max-width: 80%;
                row-gap: 0.3em;
            }

            .carrier-holder .new .station-holder label {
                display: flex;
                flex-direction: row;
                column-gap: 0.2em;
            }

        .carrier-holder .new .station-info-holder {
            display: flex;
            flex-direction: column;
        }

        .carrier-holder .new .station-holder input[type=checkbox] {
            width: 1.4em;
            height: 1.4em;
        }

            .carrier-holder .new .station-info-holder .station-name {
                font-size: 105%;
            }

            .carrier-holder .new .station-info-holder .station-code {
                font-size: 90%;
            }

    .carrier-holder .configuration-holder {
        width: 25em;
        min-height: 6em;
        padding: 0.5em 0.5em;
        border: solid 1px rgba(0, 0, 0, 0.24);
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    }

        .carrier-holder .configuration-holder .configuration-header {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
        }

        .carrier-holder .configuration-holder .config-name {
            font-size: 115%;
        }

        .carrier-holder .configuration-holder .configuration-settings {
            padding: 0.5em 0.5em 0em 0.5em;
            display: flex;
            flex-direction: column;
            row-gap: 0.3em;
        }

            .carrier-holder .configuration-holder .config-carrier-settings {
                font-size: 90%;
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                column-gap: 0.8em;
            }

                .carrier-holder .configuration-holder .config-carrier-settings .config-setting-holder {
                    display: flex;
                    flex-direction: row;
                    column-gap: 0.3em;
                }

                    .carrier-holder .configuration-holder .config-carrier-settings .config-setting-holder .config-setting-name, .carrier-holder .configuration-holder .config-station-setting .config-station-name {
                        font-weight: bold;
                    }

        .carrier-holder .configuration-holder .config-station-setting {
            padding-top: 0.3em;
            display: flex;
            flex-direction: row;
            column-gap: 0.4em;
            align-items: center;
            justify-items: center;
        }

            .carrier-holder .configuration-holder .config-station-setting .config-station-stations {
                font-size: 90%;
            }

    .carrier-holder .new .button-holder {
        display: flex;
        flex-direction: row;
        column-gap: 0.5em;
    }

        .carrier-holder .new .button-holder button {
            font-size: 100%;
            padding-top: 0.3em;
            padding-bottom: 0.3em;
            min-width: 6em;
        }

.oauth-process-holder {
    display: flex;
    flex-direction: column;
    width: 100%;
    row-gap: 1.0em;
    align-items: center;
    padding-top: 2rem;
    font-family: 'Roboto', sans-serif;
}

    .oauth-process-holder .current-message {
        font-size: 150%;
    }

    .oauth-process-holder .error-message {
        max-width:30rem;
    }

.home-holder {
    display: grid;
    grid-template-columns: max-content max-content;
    font-size: 110%;
    row-gap: 0.5em;
    column-gap: 0.5em;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.0em;
}

    .home-holder .label {
        font-weight: bold;
        justify-self: flex-end;
    }

    .home-holder .buttons {
        grid-column: 1/-1;
        justify-self: center;
    }

        .home-holder .buttons button {
            font-size: 100%;
            padding-top: 0.3em;
            padding-bottom: 0.3em;
            padding-left: 0.6em;
            padding-right: 0.6em;
        }

.required-mark::before {
    content: " ";
}
.required-mark {
    font-weight: bold;
}