﻿.nav-link {
    display: block;
    font-size: var(--moe-nav-link-font-size);
    font-weight: var(--moe-nav-link-font-weight);
    color: var(--moe-nav-link-color);
    background: none;
    border: 0;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out
}

    .nav-link:hover, .nav-link:focus {
        color: #006937;
        text-decoration: none
    }

    .nav-link:focus-visible {
        outline: 0;
        box-shadow: none
    }

    .nav-link.disabled, .nav-link:disabled {
        color: #006937;
        pointer-events: none;
        cursor: default
    }

.nav-underline {
    --moe-nav-underline-gap: 0rem;
    --moe-nav-underline-border-width: .1875rem;
    --moe-nav-underline-link-active-color: var(--moe-emphasis-color);
    gap: var(--moe-nav-underline-gap)
}

    .nav-underline .nav-link {
        padding-right: 0;
        padding-left: 0;
        border-bottom: var(--moe-nav-underline-border-width) solid #00000054;
        font-size: 13px !important;
    }

        .nav-underline .nav-link:hover, .nav-underline .nav-link:focus {
            border-bottom-color: currentcolor
        }

        .nav-underline .nav-link.active, .nav-underline .show > .nav-link {
            font-weight: 700;
            color: #006937;
            border-bottom-color: currentcolor;
            font-size: 14px;
        }

.nav.nav-underline {
    flex-wrap: nowrap;
    overflow: auto;
    --moe-nav-underline-border-color: transparent;
    box-shadow: 0 0 #0000,0 0 #0000,inset 0 -3px var(--moe-border-color)
}

    .nav.nav-underline.nav-flush {
        gap: 1.5rem;
        box-shadow: none
    }

        .nav.nav-underline.nav-flush .nav-item {
            padding: 0;
            flex-grow: 0
        }
.SNavLink {
    padding: var(--moe-nav-link-padding-y) var(--moe-nav-link-padding-x);
}
.card-body {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.SButton {
    text-align: left;
    margin-top: 10px;
}

@media (max-width: 620px) {
    .STitle {
        text-align: justify;
    }

    .SLink {
        text-align: center;
    }

    .SNavLink {
        text-align: center;
        font-size: 12px !important;
    }

    .pt_button {
        padding: 8px 20px !important;
    }

    .SButton {
        text-align: center !important;
        margin-top: 5px !important;
    }

    .SLi {
        font-size: 12px !important;
    }
}


.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    padding-top: 10%; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }

    to {
        top: 0;
        opacity: 1;
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }

    to {
        top: 0;
        opacity: 1;
    }
}

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding: 1.4rem !important;
    opacity: unset !important;
}

    .close:hover,
    .close:focus {
        color: #086c38;
        text-decoration: none;
        cursor: pointer;
    }

.modal-header {
    padding: 2px 16px;
    background-color: #b6a882;
    color: white;
    display: block;
}

.modal-body {
    padding: 15px 30px;
}

.modal-footer {
    padding: 7px 16px;
    background-color: #b6a882;
    color: white;
}

#submit_button {
    border-radius: 6px;
    padding: 5px 10px;
    margin: 2px;
    font-size: 14px;
    color: #fff;
    border: 1px solid #999999;
    background-color: #086c38;
    cursor: pointer;
}

    #submit_button:disabled {
        border: none;
        background-color: #086c385c;
    }

label > input[type="checkbox"] {
    display: none;
}

    label > input[type="checkbox"] + *::before {
        content: "";
        display: inline-block;
        vertical-align: middle;
        width: 1.5rem;
        height: 1.5rem;
        border-radius: 10%;
        border-style: solid;
        border-width: 0.2rem;
        border-color: #779267;
        margin-right: 4px;
        margin-left: 4px;
        background-color: #fff;
    }

    label > input[type="checkbox"]:checked + * {
        color: #086c38;
    }

        label > input[type="checkbox"]:checked + *::before {
            content: "✓";
            color: white;
            text-align: center;
            background: #086c38;
            border-color: #086c38;
        }

fieldset {
    margin: 20px;
    max-width: 400px;
}

label > input[type="checkbox"] + * {
    display: inline-block;
}
