﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* @import url('file:///C:\Users\kgallet\Documents\ILVO\FarMapp\FarMApp\wwwroot\css\site.css'); */
a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary-collapse {
    color: black;
    width: 100%;
    background-color: #e0eefb;
/*    border-color: #1861ac;
*/    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    margin-bottom: 0.5em;
}

.btn-primary-collapse.expanded {
    height: auto; /* Adjust as needed */
    padding: 10em; /* Adjust as needed */
}
.collapse-content {
    transition: all 0.3s ease;
    background-color: white;
    border-radius: 0.3rem;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
    font-family: 'Raleway', sans-serif;
}

body{
    font-family: 'Raleway', sans-serif;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
/*html {
  position: relative;
  min-height: 100%;
}*/

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px; 
}
/*.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;*/ /* Vertically center the text there */
/*}*/

.expand-arrow-black {
    height: 1em;
}

/*Leaflet
*************************************************** */
#map {
    height: 600px !important;
    width: 100%;
}

.legend-label {
    margin-left: 0.5em;
}

.leaflet-container {
    image-rendering:pixelated;
}

/*state table on overview map*/
.state-table td {
    border: 1px solid #ddd; /* Light gray border */
    padding: 0.3em;
}

.state-table {
    border: 1px solid #ddd; /* Light gray border */
}

.icon-small {
    width: 3.8em;
    height: auto;
    vertical-align: middle;
}

#loadingSpinner, #loadingSpinner2{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.map-wrapper {
    position: relative;
}

#map {
    height: 500px !important;
    width: 100%;
}

#loadingSpinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* Semi-transparent background */
    border-radius: 50%;
    transition: opacity 0.75s, visibility 0.75s;
}
#loadingSpinner2 {
    position: relative;
    top: 20px; /* Adjust this value as needed */
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* Semi-transparent background */
    border-radius: 50%;
    transition: opacity 0.75s, visibility 0.75s;
}

#loadingSpinner--hidden, #loadingSpinner2--hidden {
    opacity: 0;
    visibility: hidden;
}

#loadingSpinner::after, #loadingSpinner2::after {
    content: "";
    width: 75px;
    height: 75px;
    border: 11px solid #dddddd;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: loading 0.75s ease infinite;
}

@keyframes loading {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

.data-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.data-container p {
        margin: 0;
}

.data-container img {
        margin-left: 20px; /* Adjust the spacing as needed */
}

.dc-yellow{
    width: 25em;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.footer-container img {
        margin: 10px;
}

.footer-container div {
        display: flex;
        align-items: center;
}

.consent-form-gold {
    border: 2px solid gold;
    border-radius: 10px;
    background-color: rgba(255, 215, 0, 0.2); /* Gold background with high translucency */
    padding: 2em;
}

.consent-form-red {
    border: 2px solid red;
    border-radius: 10px;
    background-color: rgba(255, 0, 0, 0.2); /* Red background with high translucency */
    padding: 2em;
}

.consent-form-green {
    border: 2px solid green;
    border-radius: 10px;
    background-color: rgba(0, 128, 0, 0.2); /* Green background with high translucency */
    padding: 2em;
}

/* Custom styles for the select element */
.form-select-lg {
    border: 2px solid #007bff;
    background-color: #f8f9fa;
    min-height: 4rem;
    color: #495057;
    padding: 0.5rem 1rem;
    font-size: 1.15rem;
    font-weight: bold;
    border-radius: 0.3rem;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.form-select-lg:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Custom styles for the submit button */
.btn-primary-form {
    background-color: #007bff;
    color: white;
    font-size: 1.15rem;
    min-height: 4rem;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
    font-weight: bold;
}

.btn-primary-collapse:hover {
    background-color: #0056b3;
    color:white;
/*    border-color: #004085;
*/}

.parcel-border {
    display: inline-block;
    height: 3.5em;
    width: 3.5em;
    border: 3px solid gold; 
    vertical-align: middle;
    margin-left: 0.5em;
    margin-top: 0.5em;
}

.collapse-container {
    margin-bottom: 2em;
    background-color: #e0eefb;
    border-radius: 0.3rem;
    padding: 1em;
}

.collapse-button-text{
    font-weight: bold;
}

.groundwater-border {
    background-color: white;
    font-weight: bold;
    color: black;
    padding: 2px 5px;
    border: 1px solid blue;
    border-radius: 5px;
    margin-left:0.5em;
}

   