body {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    /* background-color: rgb(246, 245, 250); */

}

.largeBoldFont {
    font-size: large;
    font-weight: bold;
}

.marginLeft {
    margin-left: 15px;
}

footer {
    padding: 15px;
    background-color: rgb(5, 135, 37);
    color: white;
    text-align: center;
    font-size: smaller;
}

.bg-darkblue {
    background-color: rgb(5, 135, 37);
}

.nodisplay {
    display: none;
}

.center-div {
    display: flex;
    justify-content: center;
}

.nav-tabs .nav-link {
    color: #495057;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-tabs .nav-link:hover {
    color: #007bff;
}

.nav-tabs .nav-link.active {
    color: #ffffff;
    background-color: #007bff;
    border-color: #007bff;
}

.tab-content {
    margin-top: 20px;
}

td {
    text-align: left;
    padding-left: 5px;
}

fieldset {
    background-color: #eeeeee;
    display: block;
    visibility: visible;
    position: static;
    padding: 10px;
    border-style: solid;
    border-color: rgb(7, 79, 146);
    border-width: thin;
    border-radius: 5px;
}

legend {
    background-color: gray;
    color: white;
    display: block;
    padding-left: 5px;
    padding-right: 5px;
    border: none;
    width: 100%;
    font-size: large;
}

select {
    width: 100%;
}

input {
    margin: 5px;
}

/* .input-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 5px;
}

.input-container input {
    width: 100%;
    box-sizing: border-box;
}
 */
.fullWidth {
    width: 100%;
}

.generalResultTitle {
    font-size: large;
    font-weight: bold;
    color: white;
    background-color: rgb(168, 123, 9);
    text-align: center;
    width: 100%;
    padding: 5px;
}

.resultDisplay {
    width: 100%;
    font-size: 20px;
    font-weight: bold;
    color: rgb(53, 12, 78);
    background-color: rgb(219, 243, 229);
    text-align: center;
    padding: 5px;
    border-radius: 5px
}

.resultTextbox {
    width: 100%;
    font-size: 20px;
    font-weight: bold;
    color: rgb(53, 12, 78);
    background-color: rgb(219, 243, 229);
    text-align: center;
    padding: 1px;
    border-radius: 5px
}

input {
    width: 100%;
    box-sizing: border-box;
}

/* Basic styling for the map */
#landResourceAreasImg {
    cursor: pointer;
}

/* Full-screen overlay styling */
#fullScreenMap {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

/* Style for full-screen map image */
#fullScreenMapImg {
    cursor: grab;
    transform-origin: center center;
    transition: transform 0.2s;
    max-width: 100%;
    max-height: 100%;
}

/* Close button for full-screen mode */
#closeMapButton {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    background-color: black;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

/* Chrome, Safari, Edge, and Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.clearable {
    position: relative;
}

.clearable input[type="text"] {
    padding-right: 4px;
}

.clearable .clear-button {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 15px;
    cursor: pointer;
    color: #aaa;
}

.clearable .clear-button:hover {
    color: #490f0f;
}


.validation-message {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
}


.definition-container {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.definition-icon {
    margin-left: 5px;
    cursor: pointer;
    background-color: #007BFF;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}

.definition-popup {
    display: none;
    position: absolute;
    top: 25px;
    left: 0;
    background-color: rgb(24, 2, 2);
    color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    font-size: small;
}

#CCNoteDiv {
    background-color: rgb(39, 90, 3);
    color: #ffffff;
}

.imageLeft,
.imageRight {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    display: block;
}

@media (min-width: 768px) {
    .imageLeft {
        float: left;
        width: 30%;
        margin-right: 15px;
    }

    .imageRight {
        float: right;
        width: 30%;
        margin-left: 15px;
    }
}

/* Background layer */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("images/grazing_4.png");
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    /* Set your desired opacity */
    z-index: -1;
    /* Ensure it stays behind everything */
}

/* Your content container */
.main-content {
    position: relative;
    z-index: 0;
    /* Must be higher than -1 to stay above background */
}

.bgc-azure {
    background-color: azure;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    opacity: 0.8;
}

.calculators-bgc {
    background-color: rgb(26, 92, 4);
    padding-left: 5px;
    padding-right: 5px;
}

.white-font {
    color: white;
}


.aboutText {
    font-size: 18px;
    text-align: justify;
}