@font-face {
    font-family: myriad-pro-condensed;
    src: url(https://use.typekit.com/af/20096c/0000000000000000000170a8/27/l?subset_id=2&fvd=n7&v=3) format("woff2"), url(https://use.typekit.com/af/20096c/0000000000000000000170a8/27/d?subset_id=2&fvd=n7&v=3) format("woff"), url(https://use.typekit.com/af/20096c/0000000000000000000170a8/27/a?subset_id=2&fvd=n7&v=3) format("opentype");
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    font-display: auto;
}

@font-face {
    font-family: myriad-pro-condensed;
    src: url(https://use.typekit.com/af/79de3d/0000000000000000000170a4/27/l?subset_id=2&fvd=n4&v=3) format("woff2"), url(https://use.typekit.com/af/79de3d/0000000000000000000170a4/27/d?subset_id=2&fvd=n4&v=3) format("woff"), url(https://use.typekit.com/af/79de3d/0000000000000000000170a4/27/a?subset_id=2&fvd=n4&v=3) format("opentype");
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    font-display: auto;
}

@font-face {
    font-family: myriad-pro-condensed;
    src: url(https://use.typekit.com/af/beab1a/0000000000000000000170a6/27/l?subset_id=2&fvd=n6&v=3) format("woff2"), url(https://use.typekit.com/af/beab1a/0000000000000000000170a6/27/d?subset_id=2&fvd=n6&v=3) format("woff"), url(https://use.typekit.com/af/beab1a/0000000000000000000170a6/27/a?subset_id=2&fvd=n6&v=3) format("opentype");
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
    font-display: auto;
}

@font-face {
    font-family: myriad-pro-condensed;
    src: url(https://use.typekit.com/af/0e56ec/0000000000000000000170a9/27/l?subset_id=2&fvd=i7&v=3) format("woff2"), url(https://use.typekit.com/af/0e56ec/0000000000000000000170a9/27/d?subset_id=2&fvd=i7&v=3) format("woff"), url(https://use.typekit.com/af/0e56ec/0000000000000000000170a9/27/a?subset_id=2&fvd=i7&v=3) format("opentype");
    font-weight: 700;
    font-style: italic;
    font-stretch: normal;
    font-display: auto;
}

@font-face {
    font-family: myriad-pro-condensed;
    src: url(https://use.typekit.com/af/ec4c7b/0000000000000000000170a5/27/l?subset_id=2&fvd=i4&v=3) format("woff2"), url(https://use.typekit.com/af/ec4c7b/0000000000000000000170a5/27/d?subset_id=2&fvd=i4&v=3) format("woff"), url(https://use.typekit.com/af/ec4c7b/0000000000000000000170a5/27/a?subset_id=2&fvd=i4&v=3) format("opentype");
    font-weight: 400;
    font-style: italic;
    font-stretch: normal;
    font-display: auto;
}

@font-face {
    font-family: myriad-pro-condensed;
    src: url(https://use.typekit.com/af/7ba5de/0000000000000000000170a7/27/l?subset_id=2&fvd=i6&v=3) format("woff2"), url(https://use.typekit.com/af/7ba5de/0000000000000000000170a7/27/d?subset_id=2&fvd=i6&v=3) format("woff"), url(https://use.typekit.com/af/7ba5de/0000000000000000000170a7/27/a?subset_id=2&fvd=i6&v=3) format("opentype");
    font-weight: 600;
    font-style: italic;
    font-stretch: normal;
    font-display: auto;
}

@font-face {
    font-family: myriad-pro;
    src: url(https://use.typekit.com/af/9a5180/00000000000000000001709e/27/l?subset_id=2&fvd=n7&v=3) format("woff2"), url(https://use.typekit.com/af/9a5180/00000000000000000001709e/27/d?subset_id=2&fvd=n7&v=3) format("woff"), url(https://use.typekit.com/af/9a5180/00000000000000000001709e/27/a?subset_id=2&fvd=n7&v=3) format("opentype");
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    font-display: auto;
}

@font-face {
    font-family: myriad-pro;
    src: url(https://use.typekit.com/af/04a489/00000000000000000001709f/27/l?subset_id=2&fvd=i7&v=3) format("woff2"), url(https://use.typekit.com/af/04a489/00000000000000000001709f/27/d?subset_id=2&fvd=i7&v=3) format("woff"), url(https://use.typekit.com/af/04a489/00000000000000000001709f/27/a?subset_id=2&fvd=i7&v=3) format("opentype");
    font-weight: 700;
    font-style: italic;
    font-stretch: normal;
    font-display: auto;
}

@font-face {
    font-family: myriad-pro;
    src: url(https://use.typekit.com/af/bce065/00000000000000000001709b/27/l?subset_id=2&fvd=i4&v=3) format("woff2"), url(https://use.typekit.com/af/bce065/00000000000000000001709b/27/d?subset_id=2&fvd=i4&v=3) format("woff"), url(https://use.typekit.com/af/bce065/00000000000000000001709b/27/a?subset_id=2&fvd=i4&v=3) format("opentype");
    font-weight: 400;
    font-style: italic;
    font-stretch: normal;
    font-display: auto;
}

@font-face {
    font-family: myriad-pro;
    src: url(https://use.typekit.com/af/8cf19a/00000000000000000001709a/27/l?subset_id=2&fvd=n4&v=3) format("woff2"), url(https://use.typekit.com/af/8cf19a/00000000000000000001709a/27/d?subset_id=2&fvd=n4&v=3) format("woff"), url(https://use.typekit.com/af/8cf19a/00000000000000000001709a/27/a?subset_id=2&fvd=n4&v=3) format("opentype");
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    font-display: auto;
}

#navbar>nav>ul>li>a {
    /*Change Text in header*/
    font-family: myriad-pro-condensed, helvetica narrow, arial narrow, helvetica neue condensed, Arial, Helvetica, sans-serif !important;
    font-weight: 500;
    font-size: 22px;
    line-height: 26px;
    text-align: center;
    letter-spacing: -.01em;
    text-transform: uppercase;
    height: 85.38px;
    padding-top: 30px;
    margin: 0 !important;
    border: 0 !important;
    background-color: #000000;
}

#navbar>nav>ul>li>p {
    /*Change Text in header*/
    font-family: myriad-pro-condensed, helvetica narrow, arial narrow, helvetica neue condensed, Arial, Helvetica, sans-serif !important;
    font-weight: 500;
    font-size: 22px;
    line-height: 26px;
    text-align: center;
    letter-spacing: -.01em;
    text-transform: uppercase;
    height: 85.38px;
    padding-top: 30px;
    margin: 0 !important;
    border: 0 !important;
    background-color: #000000;
}

.static-top.navbar .menu-bar>.navbar-nav>li>a:hover {
    /*Change color of nav buttons hover*/
    background-color: #1a1a1a !important;
    color: #FFFFFF !important;
    text-decoration: none !important;

}

.static-top.navbar .menu-bar>.navbar-nav>li>a::before {
    /*Make yellow line when hovering over buttons hover*/
    content: '' !important;
    /* No content, just a line */
    position: absolute;
    top: 0;
    /* Positioned at the top of the button */
    left: 0;
    width: 0;
    /* Start with a width of 0, hidden */
    height: 3px;
    /* Height of the yellow line */
    background-color: #FFC423 !important;
    /* Yellow color */
    /*transition: width 0.3s ease;  /* Smooth transition for the line's appearance */
}

.static-top.navbar .menu-bar>.navbar-nav>li>a:hover::before {
    /*Change color of nav buttons hover*/
    width: 100%;

}

.static-top.navbar-dark {
    /*Change color of header and the padding and margin is used for responsiveness*/
    background-color: #000000 !important;
    color: #FFFFFF;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    text-align: left;
    min-height: auto !important;
    z-index: 1;
}

footer .footer-bottom {
    /*Change color of footer*/
    background-color: #000000 !important;
    width: 100% !important;
    margin: 0;
    display: flex !important;
    flex-wrap: wrap;
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
nav,
button,
a.header-link {
    font-family: myriad-pro-condensed, sans-serif !important;
}


p,
div:not(.dropdown-menu),
span,
a:not(.header-link):not(.dropdown-toggle) {
    font-family: myriad-pro, sans-serif;
    fon
}


#navbar>nav>ul>li>a {
    font-family: myriad-pro-condensed, helvetica narrow, arial narrow, helvetica neue condensed, Arial, Helvetica, sans-serif !important;
    font-weight: 500;
    font-size: 22px;
    line-height: 26px;
    text-align: center;
    letter-spacing: -.01em;
    text-transform: uppercase;
    height: 85.38px;
    padding-top: 30px;
    margin: 0 !important;
    border: 0 !important;
    background-color: #000000;
}

#navbar>nav>ul>li>p {
    font-family: myriad-pro-condensed, helvetica narrow, arial narrow, helvetica neue condensed, Arial, Helvetica, sans-serif !important;
    font-weight: 500;
    font-size: 22px;
    line-height: 26px;
    text-align: center;
    letter-spacing: -.01em;
    text-transform: uppercase;
    height: 85.38px;
    padding-top: 30px;
    margin: 0 !important;
    border: 0 !important;
    background-color: #000000;
}

.static-top.navbar .menu-bar>.navbar-nav>li>a:hover {
    background-color: #1a1a1a !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
}

.btn {
    font-family: myriad-pro, 'Helvetica Narrow', 'Arial Narrow', 'Helvetica Neue Condensed', Arial, Helvetica, sans-serif !important;
    text-transform: uppercase;
    border-radius: 5px;
    padding: 14px 20px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid transparent;
    background-color: #007934;
    color: #FFFFFF;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    display: inline-block;
    width: 30%;
    margin: 10px auto;
    margin-left: 0px;
}

.btn:hover {
    background-color: #005c24;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.15);
    transform: translateY(-0.5px);
    filter: brightness(90%);
    color: #FFFFFF;
}

.btn:focus {
    color: #FFFFFF !important;
}

.btn-outline {
    background-color: transparent;
    color: #007934;
    border: 2px solid #007934;
    margin: 10px auto;
    font-size: 18px;
    padding: 14px 20px;
    width: 80%;
}

.btn-outline:hover {
    background-color: #007934;
    color: #FFFFFF;
}

@media (max-width: 768px) {

    .btn,
    .btn-outline {
        width: 45%;
        padding: 12px 18px;
    }
}

@media (max-width: 480px) {

    .btn,
    .btn-outline {
        width: 60%;
        padding: 12px 18px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

.buttonSpace {
    margin-bottom: 15px;
}

.btn:focus {
    outline: 3px solid #005c24;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background-color: #f1f1f1;
    color: #007934;
    border: 2px solid #007934;
}

.btn-secondary:hover {
    background-color: #007934;
    color: #FFFFFF;
}



/* Page Background and Layout Styling */
body {
    background-color: #EBEBEB !important;
    /* Change background color */
    padding: 0;
    margin: 0;
}

.row {
    background-color: #EBEBEB;
    color: #7F7F73;
}

.row .col-lg-9.col-md-9.col-sm-9.text-start {
    background-color: #000000;
    color: #FFFFFF;
    width: 100%;
    padding: 0;
}

p.smallText {
    font-family: myriad-pro, helvetica narrow, arial narrow, helvetica neue condensed, Arial, Helvetica, sans-serif !important;
    color: #FFFFFF !important;
}

/* Navbar Styling */
#navbar>nav {
    width: 100%;
}

body>div.navbar-expand-xl.navbar.navbar-dark.static-top>div.container.custom-container {
    padding-left: 20px;
    margin: 0;
    max-width: 100%;
    border-bottom: 5px solid #FFC423;
    height: 90px;
}

/* Hidden Search Button */
#search {
    display: none !important;
}

body>div.navbar-expand-xl.navbar.navbar-dark.static-top>div.container.custom-container>div.d-xs-block.d-sm-block.d-md-block.d-lg-block.navbar-brand.navbar-header {
    height: 58.38px;
    display: flex !important;
}

/* Dropdown Menu Button Styling for Smaller Screens */
@media (max-width: 1202px) {
    #navbar>nav>ul>li>a {
        text-align: start !important;
    }

    #profileName {
        right: 83px !important;
    }

    .navbar-profile {
        margin-inline: 0px;
    }

    #navbar>nav>ul>li {
        border-bottom: 1px solid #808080;
    }
}

@media (min-width: 1202px) {
    .navbar-profile {
        margin-inline: 25px;
    }

    .navbar-expand-xl .navbar-toggler {
        display: none;
    }
}

@media (max-width: 1202px) {
    #main-navigation {
        padding-top: 26px;
    }
}

@media (1200px < width < 1202px) {
    .navbar-expand-xl .navbar-toggler {
        display: block;
    }
}

@media (768px < width < 1260px) {
    #homeText h1 {
        font-size: 2.8em;
    }

    #homeText>div>p {
        font-size: 12px;
    }
}

@media (max-width: 767px) {

    #homeText>h1,
    #homeText>h2,
    #homeText>.caption>h3,
    #homeText>.caption>h4,
    #homeText>.caption>h5,
    #homeText>.caption>h6,
    #homeText>.caption>p {
        /*Change color of text*/
        text-align: center !important;

    }

    #homeText .caption:before {
        left: 50% !important;
        transform: translateX(-50%) !important;
        position: absolute !important;
    }

    #homeText {
        width: 92% !important;
        margin-inline: 5% !important;
        right: 0% !important;
    }

    #homeText h1 {
        font-size: 3.25em;
    }

    #homeText h3 {
        font-size: 2.4em;
        font-weight: 600 !important;
    }

    #homeText p {
        font-size: 1em;
    }


}

@media (max-width: 992px) {
    body>footer>div>div>div>div>address {
        margin-left: 0 !important;
    }
}

#homeText>h1>b {
    /*Change font of main page text*/
    font-family: myriad-pro-condensed, helvetica narrow, arial narrow, helvetica neue condensed, Arial, Helvetica, sans-serif !important;
    font-weight: 600;
    line-height: 0.6;
}

#homeText>div>h3 {
    /*Change font of main page text*/
    font-family: myriad-pro-condensed, helvetica narrow, arial narrow, helvetica neue condensed, Arial, Helvetica, sans-serif !important;
}

#homeText>div>p {
    font-family: myriad-pro, helvetica narrow, arial narrow, helvetica neue condensed, Arial, Helvetica, sans-serif !important;
    padding-top: 29px;
}

#homeText>h1,
#homeText>h2,
#homeText>.caption>h3,
#homeText>.caption>h4,
#homeText>.caption>h5,
#homeText>.caption>h6,
#homeText>.caption>p {
    /*Change color of text*/
    color: #000;
}

body>div.navbar-expand-xl.navbar.navbar-dark.static-top>div.container.custom-container>div.d-xs-block.d-sm-block.d-md-block.d-lg-block.navbar-brand.navbar-header>div>div>a>img {
    /*Logo was too high, brought it down*/
    margin-top: 16px !important;
    margin-bottom: 15px !important;
    margin-right: 47px !important;
    margin-left: 0 !important;
    height: 54px !important;
    vertical-align: middle !important;
    z-index: 2;
}

#homeText {
    position: relative;
    text-align: center;
    width: 58%;
    margin-inline: 11%;
    right: 9%;
}

#homeText .caption:before {
    position: absolute;
    content: '';
    width: 84px;
    height: 5px;
    background-color: #FFC423;
    left: 0;
}

#navbar {
    position: relative;
    z-index: 1;
    max-height: none !important;
}

.navbar-dark .navbar-nav a.show,
.navbar-dark .navbar-nav a.dropdown-toggle.show {
    color: #fff !important;
}

body>footer>div>div>div>div>img {
    width: 183px !important;
    height: 72px !important;

}

body>footer>div>div>div>div>address {
    margin-left: 49px;
}

.buttonSpace {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0px;
    min-height: 0px;
}

#mainContent>div.page-copy>div>div>div.row.sectionBlockLayout.text-start.container {
    display: flex;
    flex-wrap: wrap;
    padding: 8px;
    margin: 0px;
}

#mainContent>div.page-copy>div>div>h2 {
    text-align: left;
}

#mainContent>div.page-copy>div>div>div:nth-child(3) {
    display: flex;
    flex-wrap: wrap;
    margin: 0px;
    min-height: auto;
    padding: 8px;
}

#mainContent>div.page-copy>div>div>div:nth-child(3)>div {
    padding: 0px;
    display: flex;
    flex-wrap: wrap;
}

#mainContent>div.page-copy>div>div>div:nth-child(3)>div>div {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 250px;
    word-break: break-word;
}

body>footer {
    border-top: 5px solid #FFC423;
}

#navbar>nav>ul>li:nth-child(10)>a {
    width: 115px;
}

.navbar-profile {
    display: flex;
    justify-content: flex-end;
}

.entitylist-filter-option-text {
    width: 250px;
}

.input-group-addon,
.input-group-addon.active {
    line-height: 1.6;
}

.wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.column {
    flex: 1 1 auto;
    padding: 20px;
    text-align: left;
    box-sizing: border-box;
    min-width: 300px;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    line-height: 1.6;
}

.column {
    margin-bottom: 0px;
    padding: 0px;
}

.field {
    padding: 10px;
}

.column.dropdown-column {
    flex: 0 0 auto;
    padding: 20px;
    text-align: left;
    box-sizing: border-box;
    width: fit-content;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    align-self: flex-start;
}

@media (max-width: 992px) {
    .wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .column,
    .column.dropdown-column {
        width: 100% !important;
        padding: 15px;
        text-align: left;
    }

    #mainContent>div.subgrid-container {
        width: 100% !important;
    }

    .field {
        text-align: left;
        width: 100%;
        margin-bottom: 0px;
    }

    .input-group-addon {
        margin-bottom: 10px;
    }

    .form-control {
        width: 100%;
    }
}

@media (max-width: 1400px) {
    .wrapper-field-instructions {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
}


.bottom-corn-picture-layout {
    display: flex;
    flex-wrap: wrap;
    margin: 0px;
    min-height: auto;
    padding: 8px;
    background-image: url(/CornCloseUp.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(/CornCloseUp.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 708px;
}

@media (max-width: 768px) {
    .bottom-corn-picture-layout {
        width: 0;
        height: 0;
        visibility: hidden;
        padding: 0 !important;
    }
}

.spinner-container {
    position: fixed;
    /* Stays in place regardless of scrolling */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#iframe-spinner {
    display: none;
    /* Hidden by default */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    width: 10vw;
    height: 10vw;
    max-width: 50px;
    max-height: 50px;
    border-radius: 50%;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

/* Keyframes for spinning effect */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

body>div.navbar-expand-xl.navbar.navbar-dark.static-top>div.container.custom-container>button {
    position: absolute;
    right: 0px;
    z-index: 2;
}

@media (max-width: 1199px) {
    body>div.navbar-expand-xl.navbar.navbar-dark.static-top>div.container.custom-container>div.d-xs-block.d-sm-block.d-md-block.d-lg-block.navbar-brand.navbar-header>div>div>a>img {
        position: absolute;
        top: 0px;
    }
}

#profileName {
    font-family: myriad-pro-condensed, helvetica narrow, arial narrow, helvetica neue condensed, Arial, Helvetica, sans-serif !important;
    font-weight: 500;
    font-size: 22px;
    line-height: 26px;
    text-align: center;
    letter-spacing: -.01em;
    text-transform: uppercase;
    height: 85.38px;
    padding-top: 30px;
    margin: 0 !important;
    border: 0 !important;
    background-color: #000000;
    color: grey;
    position: absolute;
    right: 275px;
}

@media (max-width: 372px) {
    body>div.navbar-expand-xl.navbar.navbar-dark.static-top>div.container.custom-container>div.d-xs-block.d-sm-block.d-md-block.d-lg-block.navbar-brand.navbar-header>div>div>a>img {
        left: 0px;
    }

}

@media (max-width: 480px) {
    #profileName {
        font-size: 17px !important;
    }
}

body>footer>div>div>div>div>div>img {
    width: auto;
    height: 48px;
    margin: auto;
    text-align: center;
}

body>footer>div>div>div>div {
    display: flex;
}

body>footer>div>div>div>div>div>div>address {
    width: 500px;
    text-align: center;
    margin: auto;
}

body>footer>div>div {
    margin: auto;
}

@media (max-width: 767px) {
    body>footer>div>div>div>div {
        display: block;
    }
}

.image-container {
    width: 100% !important;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
}

body>div.wrapper-body>section.page_section.section-landing {
    visibility: hidden;
}

/*body > div.wrapper-body > div.container > div > div{
    padding: 0;
}*/

.first-name {
    display: none;
}

/* Parent container for the iframe */
.iframe-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* Iframe styling */
iframe {
    border: none;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    border-radius: 8px;
    overflow: hidden !important;
}


.field {
    text-align: left;
    padding: 10px;
}


/* For screens smaller than 480px */
@media (max-width: 480px) {
    .full-name {
        display: none;
    }

    .first-name {
        display: inline;
    }

    #homeText>h1>b {
        line-height: 0.6;
    }
}

body>footer>div>div>div>div>div>address {
    text-align: center;
}

.label {
    color: #495057;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
}

@media (max-width: 992px) {
    #EntityFormPanel {
        padding-left: 0px;
    }
}

#EntityFormPanel {
    /*    padding-left: 20px; 
*/
}

@media (max-width: 768px) {
    .spinner-container {
        position: fixed;
        /* Keep fixed to avoid alignment issues */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }

    .iframe-container {
        height: auto;
        /* Adjust height for mobile view */
    }
}

@media (max-width: 480px) {

    /* Remove the heading from Field Instructions */
    .page-heading {
        margin-top: 0px;
        padding-top: 0px;
    }

    /* Compact padding for the dropdown and field elements */
    .dropdown-column .field {
        padding: 2px 0;
        /* Slightly reduced padding */
        margin-bottom: 1px;
        /* Slightly closer spacing between fields */
    }

    /* Compact spacing for the input group container */
    .dropdown-column .input-group {
        margin-bottom: 0px;
        /* Slightly closer spacing between dropdowns */
        width: 280px;
    }

    .dropdown-column .input-group-addon {
        width: 35px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dropdown-column .form-control {
        width: 225px;
        height: 34px;
        padding: 6px 10px;
    }

    /* Make data columns more compact */
    #column2,
    #column3,
    #column4 {
        padding: 5px;
        margin-bottom: 5px;
    }

    .field {
        margin: 0px 0;
        padding: 5px;
    }

    /* Reduce gap between sections */
    .wrapper {
        gap: 5px;
    }
}

.modal-body {
    background-color: #EBEBEB;
}

.modal-title {
    display: none;
}

.entitylist {
    border-radius: 8px;
    border: none;
}

#mainContent>div.entitylist>div.entity-grid.entitylist {
    border-radius: 8px;
}

#mainContent>div.entitylist>div.entity-grid.entitylist>div.view-grid.table-responsive>table>thead>tr>th>a {
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-wrap: nowrap;
}

@media (min-width: 992px) {
    #mainContent>div.subgrid-container {
        padding-right: 20px;
        padding-left: 0px;
    }

    #mainContent {
        display: flex;
    }

}

.entitylist {
    height: auto;
    width: 100%;
}

#mainContent>div.subgrid-container {
    padding-bottom: 10px;
    width: fit-content;

}

#noFieldSelectedError {
    width: 100% !important;
}

.title-label {
    font-family: myriad-pro-condensed, sans-serif;
}

@media (min-width: 1285px) {
    .payment-summary {
        min-width: 75%;
    }
}

@media (max-width: 1285px) {
    .payment-summary {
        min-width: 60%;
    }
}

@media (max-width: 785px) {
    .payment-summary {
        min-width: 300px;
    }
}

@media (max-width: 767px) {
    #mainContent>div.subgrid-container>div>div.column.dropdown-column {
        width: 100% !important;
    }

    #mainContent>div.subgrid-container {
        width: 100% !important;
    }

}

.table>thead {
    text-wrap: nowrap;
}

@media (max-width: 768px) {
    iframe {
        height: auto;
        /* Allow dynamic height adjustment on mobile */
    }
}

html[dir=ltr] .crmEntityFormView .tab .tab-column {
    padding-left: 0px;
    float: left;
}

@media (max-width: 767px) {

    /* Align content to the left and adjust padding */
    .subgrid.sharepoint-grid,
    .clearfix.cell.sharepoint-documents,
    td.sharepoint-documents,
    td.clearfix.cell.text.form-control-cell,
    td.clearfix.cell.lookup.form-control-cell,
    td.postedon,
    td {
        padding: 4px 8px !important;
        text-align: left;
        box-sizing: border-box;
    }

    /* Reduce font size and adjust line-height */
    .clearfix.cell.text.form-control-cell,
    .table.table-striped-cell,
    .subgrid.sharepoint-grid td,
    .subgrid.sharepoint-grid div {
        line-height: 1.2;
        white-space: normal;
        overflow-wrap: normal;
        word-break: keep-all;
    }

    /* Adjust font size for labels */
    .subgrid.sharepoint-grid .label,
    .tab-column .label {
        font-size: 0.85em;
        padding-left: 8px;
        line-height: 1.2;
        text-align: left;
    }

    /* Make iframe height dynamic in mobile view */
    iframe {
        width: 100%;
        height: auto;
        overflow: hidden;
        border: none;
    }
}

@media (max-width: 480px) {

    /* Further reduce padding for smaller screens */
    html[dir="ltr"] td.sharepoint-documents,
    td.clearfix.cell.text.form-control-cell {
        padding: 2px 4px !important;
    }
}

#img-cont {
    padding-left: 0;
    padding-right: 0;
}

#mainContent>div.wrapper>div:nth-child(2)>div.entitylist>div.entity-grid.entitylist>div.view-grid.table-responsive>table>thead>tr>th>a {
    font-weight: bold;
}

#greenBs {
    width: 100%;
    display: none;
    height: fit-content;
    min-width: auto;
}

#greenBs>div.entitylist>div.entity-grid.entitylist>div.view-grid.table-responsive>table>thead>tr>th>a {
    font-weight: bold;
}

#Subgrid_new_1>div>div.sharepoint-data>div>table>thead>tr>th>a>span {
    font-weight: bold;
}

#Subgrid_new_1>div>div.sharepoint-data>div>table>tbody>tr:nth-child(1)>td:nth-child(1)>a>span.fa.fa-folder.text-primary {
    color: #000 !important;
}

#EntityFormControl_54a70d08919bef118a697c1e52473a00_EntityFormView>div.tab.clearfix>div>div>fieldset:nth-child(2)>table>tbody>tr {
    border-top: none !important;
}

#EntityFormControl_e07b1578b88fef11ac217c1e52198582_EntityFormView>div:nth-child(10)>div>div>fieldset>table>tbody>tr {
    border-top: none !important;
}

#EntityFormControl_fc763a047898ef118a69000d3a16af02_EntityFormView>div.tab.clearfix>div>div>fieldset>table>tbody>tr {
    border-top: none !important;
}

#Subgrid_new_2>div>div.sharepoint-data>div>table>thead>tr>th>a>span {
    font-weight: bold;
}

#yellow-button-container,
#green-button-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding-left: 0;
    padding-right: 0;
    padding-top: 30px;
}

#yellow-button-container>a {
    background-color: #FFC325;
    color: #000;
    text-wrap: nowrap;
}

#green-button-container>a {
    text-wrap: nowrap;
}

@media (max-width: 991px) {

    #yellow-button-container>a,
    #green-button-container>a {
        font-size: 14px;
    }
}

@media (max-width: 768px) {

    #yellow-button-container>a,
    #green-button-container>a {
        font-size: 12px;
    }
}


@media (max-width: 768px) {

    #yellow-button-container,
    #green-button-container {
        text-align: center;
        display: block;
        flex: 1;
        box-sizing: border-box;
    }

    .button-container {
        display: flex;
        width: 100%;
    }

    #yellow-button-container>a,
    #green-button-container>a {
        width: 100%;
        margin-bottom: 20px;
    }

    #yellow-button-container {
        margin-right: 20px;
    }

    #december-ticker,
    #march-ticker {
        width: 100%;
        margin-bottom: 20px;
        font-size: 16px;
    }
    #ticker-container {
        width: 100%;
        display: block;
    }
}

.details-link {
    cursor: pointer;
}

.details-link:hover {
    text-decoration: underline;
}

#EntityFormControl_54a70d08919bef118a697c1e52473a00_EntityFormView>h2 {
    display: none;
}

#entity-list-column>div>div.entity-grid.entitylist>div.view-grid.table-responsive>table>thead>tr>th.sort-enabled.sort.sort-asc>a {
    font-weight: 600;
}

#entity-list-column {
    height: 50%;
}

#EntityList5c4fdf43-4b9d-ef11-8a69-000d3a16af02 {
    display: none;
}

button.btn.button1 {
    margin-right: 20px;
    margin-left: 20px;
    align-items: center;
}

/* General Alert Styling */
.alert {
    --bs-alert-bg: #ffffff;
    --bs-alert-color: #333333;
    --bs-alert-border-color: transparent;
    --bs-alert-border-radius: 5px;
    --bs-alert-padding-x: 20px;
    --bs-alert-padding-y: 15px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    box-shadow: none;
    margin: 15px 0;
    border: none;
}

.alert-warning {
    --bs-alert-bg: #ffffff;
    --bs-alert-color: #333333;
    --bs-alert-border-color: transparent;
}


@media (max-width: 768px) {
    .alert {
        font-size: 14px;
        --bs-alert-padding-x: 15px;
        --bs-alert-padding-y: 10px;
    }
}

.modal-footer {
    justify-content: center;
}

#election-button {
    background: linear-gradient(to right, #007934 0%, rgb(0 121 52 / 24%) 0%);
    width: 100%;
    color: #000000;
    border: 1px solid #7F7F73;
}

#electionPercentageField {
    width: 100%;
}

#mainContent>div.subgrid-container.wrapper.column.payment-summary>div:nth-child(4)>div.entity-grid.entitylist>div.view-grid.table-responsive>table>tbody>tr>td {
    white-space: normal;
    overflow-wrap: normal;
    word-break: keep-all;
}

#mainContent>div.subgrid-container.wrapper.column.payment-summary>div:nth-child(6)>div.entity-grid.entitylist>div.view-grid.table-responsive>table>tbody>tr>td {
    white-space: normal;
    overflow-wrap: normal;
    word-break: keep-all;
}

#mainContent>div.subgrid-container.wrapper.column.payment-summary>div:nth-child(5)>div.entity-grid.entitylist>div.view-grid.table-responsive>table>thead>tr>th>a {
    font-weight: bold;
}

#mainContent>div.subgrid-container.wrapper.column.payment-summary>div:nth-child(3)>div.entity-grid.entitylist>div.view-grid.table-responsive>table>thead>tr>th>a {
    font-weight: bold
}

#mainContent>div.subgrid-container.wrapper.column.payment-summary>div:nth-child(6) {
    text-align: left;
}

#paymentSummary {
    text-align: left;
    display: none;
    font-weight: 600;
}

#Elections {
    text-align: left;
    display: none;
}

#EntityFormControl_e07b1578b88fef11ac217c1e52198582_EntityFormView>h2:nth-child(7) {
    margin-top: 0px;
    padding-top: 21px;
}

.entitylist {
    text-align: left;
}

#EntityFormControl_54a70d08919bef118a697c1e52473a00_EntityFormView>div.tab.clearfix>div>div>fieldset:nth-child(2)>table>tbody>tr:nth-child(1) {
    display: none;
}

#EntityFormControl_fc763a047898ef118a69000d3a16af02_EntityFormView>div.tab.clearfix>div>div>fieldset>table>tbody>tr:nth-child(1) {
    display: none;
}

#Subgrid_new_2>div>div.sharepoint-data>div>table>tbody>tr:nth-child(1)>td:nth-child(1)>a>span.fa.fa-folder.text-primary {
    color: #000 !important;
}

@media (max-width: 505px) {
    html[dir=ltr] .table-fluid td {
        padding-left: 0px !important;
    }

    .table-fluid td:before {
        width: 100%;
        margin-left: 0rem;
    }

    #Subgrid_new_1>div>div.sharepoint-data>div>table>tbody>tr>td>a>span.sharepoint-custom-underline>span {
        white-space: normal;
    }

    #Subgrid_new_2>div>div.sharepoint-data>div>table>tbody>tr>td>a>span.sharepoint-custom-underline>span {
        white-space: normal;
    }
}

@media (max-width: 400px) {
    .label {
        padding: 0px;
    }
}

#iframe-container {
    padding: 15px;
}

#mainContent>div.container>h2>div>div.subgrid-container.wrapper.column.payment-summary>div>div.entity-grid.entitylist>div.view-grid.table-responsive>table>tbody>tr {
    font-weight: 400;
}

.green-ticker {
    text-wrap: nowrap;
}

.custom-modal-button {
    font-family: myriad pro !important;
    border: none;
    /* padding: 5px 10px; */
    border-radius: 2px;
    margin-top: -2px;
    font-weight: 400;
    color: #ffffff;
    background-color: #000000;
}

.custom-modal-button-2{
    font-family: myriad pro !important;
    display: block;
    border: none;
    /* padding: 5px 15px; */
    border-radius: 2px;
    margin-top: -2px;
    font-weight: 400;
    color: #ffffff;
    background-color: #007934;
}

.arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.arrow.down {
    border-top: 5px solid black;
}

.details-link {
    color: rgb(0, 121, 52);
}

.homeButton {
    width: -webkit-fill-available;
    background-color: black;

}

.homeButton:hover {
    background-color: black;
}

.homeButton[disabled] {
    background-color: grey;
    color: black;
}

/* Default state: hide the label */
.row-checkbox + .checkbox-label {
    display: none !important;
  }
  
@media (max-width: 768px) {
    .row-checkbox {
        width: 20px;
        height: 20px;
    }

    .row-checkbox + .checkbox-label {
        display: inline-block !important;
        margin-left: 5px;
        width: auto !important;
        height: auto !important;
        cursor: default !important;
    }
}