.to {
    color: #3b6895;
    font-weight: bold;
}

.nav-link {
    border: 1px solid aliceblue;
    background-color: #e9f3ff;
    margin-left: 5px;
    margin-right: 5px;
    font-size:11pt;
}

.nav-link.active > span {
    color: white !important;
}

.site-cert-info-download-chain-btn {
    margin-top: 10px;
    width: 100%;
    height: 38px;
}

.site-cert-info-download-chain-btn button 
{
    float:right;
}

.cert-chain-container
{
    background-color: white !important;
    margin-top: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 10px;
}

.cert-chain-index
{
    color: #007bff;
    font-weight: bold;
}

.cert-chain-row-caption
{
    font-weight: bold;
    width: 160px;
    display: inline-block;
}

.cert-chain-row-data
{
    font-family: "Ubuntu Condensed", sans-serif;
}

.on-same-subnet-ok
{
    color:green;
    text-align: center;
    font-weight: bold;
}

.on-same-subnet-error
{
    text-align: center;
    color: red;
    font-weight: bold;
}

#site-cert-info-content, #site-cert-info-info
{
    background-color: white !important;
    margin-top: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 10px;
}

.site-cert-info-nav
{
    background-color: white;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.group
{
    width: 100%;
    font-weight: bold;
    margin-bottom: 10px;
}

.nav-custom 
{
    padding: .3rem 0.5rem !important;
}

.m-t-10
{
    margin-top: 10px;
}

.m-l-10
{
    margin-left: 10px;
}

.m-l-5
{
    margin-left: 5px;
}

.m-l-0
{
    margin-left: 0px;
}

.m-l-3
{
    margin-left: 3px;
}

.m-l-2
{
    margin-left: 2px;
}

.m-l-4
{
    margin-left: 4px;
}

.m-l-6
{
    margin-left: 6px;
}

.m-l-7
{
    margin-left: 7px;
}

.m-l-8
{
    margin-left: 8px;
}

.orange
{
    color: #dc3545;
    font-weight: bold;
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 3px;
    padding-left: 4px;
    margin-right: 4px;
}

.footer
{
    align-items: center;
    background: #243447;
    border-radius: 8px;
    color: #f4f7fa;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 10pt;
    padding: 12px 16px;
    width: 100%;
}

.footer div
{
    padding: 0px;
}

.footer a
{
    color: #8ec5ff;
}

.footer a:hover
{
    color: white;
}

.contact-us
{
    margin-bottom: 0;
    text-align: right;
}

body
{
    font-family: 'Open Sans', sans-serif;
    background-image: url(images/bg.png);
}

.cert-tools-container
{
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 1700px;
    min-height: 100vh;
    padding: 20px;
}

.app-layout
{
    align-items: start;
    display: grid;
    gap: 20px;
    grid-template-columns: 260px minmax(0, 1fr);
    flex: 1 0 auto;
}

.tool-sidebar
{
    background: #f6faff;
    border: 1px solid #d1d7de;
    border-radius: 8px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 16px 14px;
    position: sticky;
    top: 20px;
}

.tool-sidebar-brand
{
    color: #17202a;
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 18px;
    padding: 0 9px;
    text-decoration: none;
}

.tool-sidebar-brand:hover
{
    color: #0056b3;
    text-decoration: none;
}

.tool-menu-group
{
    margin-bottom: 12px;
}

.tool-menu-group summary
{
    color: #5b6673;
    cursor: pointer;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    list-style: none;
    padding: 5px 9px 6px;
    position: relative;
    text-transform: uppercase;
}

.tool-menu-group summary::-webkit-details-marker
{
    display: none;
}

.tool-menu-group summary::after
{
    content: "+";
    font-size: .95rem;
    position: absolute;
    right: 8px;
    top: 2px;
}

.tool-menu-group[open] summary::after
{
    content: "−";
}

.tool-menu .nav-link
{
    background: transparent;
    border: 0;
    border-left: 3px solid transparent;
    border-radius: 4px;
    color: #263746;
    display: block;
    font-size: .9rem;
    line-height: 1.3;
    margin: 2px 0 2px 10px;
    padding: 8px 10px;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
    width: calc(100% - 10px);
}

.tool-menu .nav-link:hover
{
    background: #e7f1ff;
    color: #0056b3;
    text-decoration: none;
}

.tool-menu .nav-link:focus-visible
{
    box-shadow: 0 0 0 3px rgba(0, 123, 255, .25);
    outline: 0;
}

.tool-menu .nav-link.active
{
    background: #dcecff;
    border-left-color: #007bff;
    color: #004b9b;
    font-weight: 700;
}

.tool-menu-divider
{
    border-top: 1px solid #d8dee5;
    color: #17202a;
    font-size: .95rem;
    font-weight: 700;
    margin: 17px 9px 12px;
    padding-top: 15px;
}

.tool-workspace
{
    min-width: 0;
}

.tool-workspace > .tab-row
{
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
}

@media (max-width: 991.98px)
{
    .cert-tools-container
    {
        padding: 12px;
    }

    .app-layout
    {
        grid-template-columns: 1fr;
    }

    .tool-sidebar
    {
        max-height: none;
        position: static;
    }

    .tool-menu
    {
        display: grid;
        gap: 8px 18px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tool-menu-divider
    {
        grid-column: 1 / -1;
        margin-bottom: 4px;
    }
}

@media (max-width: 575.98px)
{
    .tool-menu
    {
        grid-template-columns: 1fr;
    }

    .tool-menu-divider
    {
        grid-column: auto;
    }
}

.tab-row
{
    border: 1px solid lightgray;
    padding: 10px;
    border-radius: 8px;
    margin-top: 20px;
    background-color: #f6faff;
}

.contact-us-info
{
    font-size: 10pt;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: aliceblue;
    padding: 10px;
}

.m-t-20
{
    margin-top: 20px;
}

.tab-content > form
{
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

.result
{
    width:100%;
    margin-top: 20px;
}

.cert-convert-preview
{
    background-color: white;
    border: 1px solid #ced4da;
    border-radius: 4px;
    margin-top: 15px;
    max-height: 420px;
    overflow: auto;
    padding: 10px;
    white-space: pre-wrap;
    word-break: break-all;
}

.certificate-convert-help
{
    border-top: 1px solid #ced4da;
    margin-top: 30px;
    padding-top: 25px;
    width: 100%;
}

.certificate-convert-help h2
{
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.certificate-convert-help h3
{
    font-size: 1.05rem;
    font-weight: 700;
}

.certificate-format-grid
{
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 20px 0;
}

.certificate-format-card
{
    background: white;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 15px;
}

.certificate-format-card p:last-child
{
    margin-bottom: 0;
}

.certificate-convert-local-note
{
    margin: 20px 0 25px;
}

.certificate-command-list pre
{
    background: #20252b;
    border-radius: 5px;
    color: #f8f9fa;
    overflow-x: auto;
    padding: 12px;
}

.certificate-command-list code
{
    color: inherit;
}

@media (max-width: 767.98px)
{
    .certificate-format-grid
    {
        grid-template-columns: 1fr;
    }
}

.nodisplay
{
    display:none;
}

.purposes
{
    border-radius: 4px;
    background-color: lightgray;
    margin-right: 4px;
    padding-left: 6px;
    padding-right: 6px;
}

.nav-link
{
    cursor: pointer;
}

label
{
    font-weight: bold;
}

.field-help
{
    line-height: 1.35;
    margin-bottom: .45rem;
    margin-top: -.1rem;
}

.pretty-file-upload
{
    margin-top: 10px;
    position: relative;
}

.pretty-file-input
{
    height: 1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.pretty-file-label
{
    align-items: center;
    background: white;
    border: 1px solid #b9c4cf;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    font-weight: 400;
    margin: 0;
    min-height: 44px;
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease;
    width: 100%;
}

.pretty-file-button
{
    align-self: stretch;
    align-items: center;
    background: #e7f1ff;
    border-right: 1px solid #b9c4cf;
    color: #0056b3;
    display: flex;
    font-weight: 700;
    padding: 9px 15px;
    white-space: nowrap;
}

.pretty-file-name
{
    color: #5b6673;
    overflow: hidden;
    padding: 9px 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pretty-file-input:focus + .pretty-file-label
{
    border-color: #80bdff;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
}

.pretty-file-input:disabled + .pretty-file-label
{
    background: #e9ecef;
    cursor: not-allowed;
    opacity: .65;
}

.pretty-file-label:hover .pretty-file-button
{
    background: #d6e9ff;
}

.openssl-examples
{
    border-top: 1px solid #d8dee5;
    margin-top: 24px;
    padding-top: 14px;
}

.openssl-examples > summary
{
    background: #e7f1ff;
    border: 1px solid #c5ddf7;
    border-radius: 6px;
    color: #0056b3;
    cursor: pointer;
    font-weight: 700;
    padding: 10px 13px;
}

.openssl-examples[open] > summary
{
    margin-bottom: 14px;
}

.openssl-examples > p
{
    margin-bottom: 14px;
}

.openssl-example
{
    margin-bottom: 15px;
}

.openssl-example pre
{
    background: #20252b;
    border-radius: 5px;
    color: #f8f9fa;
    margin: 6px 0 0;
    overflow-x: auto;
    padding: 12px;
}

.openssl-example code
{
    color: inherit;
    white-space: pre-wrap;
    word-break: break-word;
}

.success
{
    color: green;
    font-weight: bold;
}

.error
{
    color: red;
    font-weight: bold;
}

.pem
{
    font-family: courier !important;
}
