@import url('https://fonts.googleapis.com/css2?family=Lato&family=Open+Sans&display=swap');

body, html {
    height: 100%;
    margin: 0;
    font-size: 15px;
    font-family: "Lato", "Open Sans", "Segoe UI", sans-serif, Verdana, Helvetica;
    overflow: hidden;
}


/* Navbar custom styling */
.navbar-custom {
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    height: 7vh;
    background-color: #039E66;
    /* background-color: rgb(40, 117, 43); */
}

/* Navbar links styling */
.nav-link {
    font-size: 1.3rem;
    color: #ffffff;
    /* transition: color 0.3s, background-color 0.3s; */
}

/* Navbar item padding */
.nav-item {
    padding-left: 15px;
    padding-right: 15px;
}

/* Navbar text padding */
#navbarText {
    padding-right: 8px;
}

/* Hover effect for navbar links */
.nav-link:hover {
    color: white;
    background-color: #337a40;
    border-radius: 4px;
    padding: 5px 10px;
    text-decoration: none;
}

/* Active state for navbar links */
.nav-link.active {
    color: rgb(255, 255, 255) !important;
    background-color: #337a40;
    /* background-color: rgb(0, 171, 78); */;
    border-radius: 4px;
    padding: 5px 10px;
    text-decoration: none;
}

/* Focus styling for accessibility */
/* .nav-link:focus {
    box-shadow: none;
    outline: none;
    color: white;
    background-color: #5cbb49;
    border-radius: 4px;
} */


/* Toolbar area styling */
.toolbar-area {
    background-color: #206e22;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 10px; */
}
.about-icon {
    margin-right: 10px; /* Adjust as needed */
    color: white;
}

/* Custom button styling */
.btn-custom {
    height: 3vh;
    font-size: 14px;
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 0;
    border-color: #36a176;;
    /* padding: 8px 16px; */
    margin: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s;
}

/* Hover effect */
.btn-custom:hover {
    background-color: #3cb769;
    /* background-color: rgb(0, 171, 78); */; /* Darker green on hover */
    color: white;
    text-decoration: none;
    
}

/* Active button styling */
.btn-custom.active,
.btn-custom:active {
    background-color: #2f5d2d; /* Even darker green when active */
    color: white;
    border-color: #2f5d2d;
    text-decoration: none;
}

/* Focus styling */
.btn-custom:focus {
    box-shadow: none; /* Removes the default Bootstrap focus shadow */
    outline: none;
    border-color: #2f5d2d;
}

/* Active button with outline */
.btn-outline-success.active {
    background-color: #3cb769;
    /* background-color: rgb(0, 171, 78); */
    color: white;
    border-color: rgb(0, 171, 78);;
}


.main-container {
    height: 91vh; /* 100vh - 7vh (navbar) - 5vh (toolbar) */
    background-color: #3cb769;
    /* background-color: rgb(0, 171, 78); */
    overflow: hidden;
}
/* Remove focus outline from radio buttons */
.form-check-input:focus {
    outline: none;
    box-shadow: none;
}
.form-check-input-custom:checked {
    /* background-color: #3cb769; */
    /* background-color: rgb(0, 171, 78); */
    border-color: #3cb769;
}

.form-control-custom{
    background-color: #F0F0F0;
}
/* Remove default highlight from select options */
select.form-select option {
    background-color: transparent;
    color: inherit;
}

/* Additional styling to ensure consistency */
select.form-select {
    outline: none;
    box-shadow: none;
}

.col-md-3, .col-md-6{
    height: 100%;
}
.card{
    border: none;
}
.card-header {
    background-color: #248227;
    color: white;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    border: none;
}
.card-body{
    padding: 10px 20px;
    overflow: auto;
    height: calc(100%-5px);


}

#indicator-formula {
    font-family: "Lato", "Open Sans", "Segoe UI", sans-serif, Verdana, Helvetica;
    color: rgb(14, 14, 65);
    font-size: 20px;
    font-style: normal;
  }

.MJX-TEX {
font-family: 'Lato', 'Open Sans', 'Segoe UI', sans-serif, Verdana, Helvetica !important;
font-size: 1.3rem;
}
  
@media (max-width: 767.98px) {
    body, html {
        overflow: auto;
    }
    .navbar-custom{
        height: auto;
    }
    .col-md-3, .col-md-6 {
        height: auto;
    }
    .card-body {
        height: auto;
        overflow: auto;
    }
    .main-container {
        height: auto;
    }
    .map-wrapper {
        height: 600px;
    }

    .card-body {
        max-height: none;
    }
    
}

/* @media (min-width: 992px) {
    .col-md-3, .col-md-6 {
        height: auto;
    }
    .card-body {
        height: auto;
        overflow: auto;
    }
    .main-container {
        height: auto;
    }
    .map-wrapper {
        height: 600px;
    }
} */



/* .btn-secondary {
    background-color: #4caf50;
    border-color: #4caf50;
} */

.map {
    height: 100%;
    width: 100%;
    border-radius: 20em;
    /* background: #fff; */
}
.map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 300px; /* Adjust this value as needed */
}


.no-gutter-row {
    margin-right: -6px; /*Margin on extreme sides of the card */
    margin-left: -6px;
}

.no-gutter-row > [class*='col-'] {   /*Space between cards */
    padding-right:6px;
    padding-left: 6px;
}
