/**
 * FONT, FONT COLOR, FONT SIZE
 */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

html, body, th, td {
    font-family: "Roboto";
    font-size: 18px;
    color: #666;
    font-weight: 400;
    line-height: 27px;
}

h1 {
    color: #333;
    font-size: 22px;
    line-height: 33px;
}

h2 {
    color: #333;
    font-size: 20px;
    line-height: 30px;
    margin: 0.25rem 0;
}

h3 {
    font-family: "Roboto";
    color: #333;
    font-size: 18px;
    line-height: 27px;
    font-weight: 700;
}

p {
    font-family: "Roboto";
    color: black;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 20px;
}

a {
    color: #001489;
    text-decoration: underline;
}

a:hover {
    color: #2e32b8;
    text-decoration: underline;
}

/**
 * GENERAL BODY
 */

body, html {
    background-color: #f8f8f8;
}

/**
 * NAVBAR
 */

nav.navbar {
    color: #555;
    background: #FFFFFF;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #e1e1e1;
}

nav.navbar .navbar-brand {
    padding-top: 0;
}

nav.navbar a.navbar-brand {
    color: #001489;
    font-size: 20px;
    font-family: "Roboto";
}
nav.navbar a.navbar-brand img {
    height: 60px;
    background-color: white;
}

nav.navbar a.nav-link {
    font-size: 14px;
    background-color: #001489;
    color: #ffffff;
    border-color: #001489;
    font-weight: bold;
    font-family: "Roboto";
    padding: 0.25rem 0.5rem;
}

.navbar-light .navbar-nav .nav-link {
    color: white;
    display: inline-block;
    margin-top: 10px;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: white;
}

.navbar-light .navbar-text a, .navbar-light .navbar-text a:focus, .navbar-light .navbar-text a:hover {
    color: white;
    display: inline-block;
}

/**
 * NAVBAR
 */

footer {
    background-color: #001489;
    color: white;
}


/**
 * BUTTONS AND LINKS
 */

a:not(.btn),
.leaflet-container a:not(.btn) {
    color: #001489;
    text-decoration: none;
}
a:not(.btn):hover,
a:not(.btn):active,
a:not(.btn):focus {
    color: #001489;
    text-decoration: underline;
}

.btn.btn-primary {
    background-color: #001489 !important;
    border-color: #001489 !important;
    color: white !important;
    border-radius: 0;
}
.btn.btn-primary:focus, .btn.btn-primary:active, .btn.btn-primary:hover {
    background-color: #001489 !important;
    border-color: #001489 !important;
    color: white !important;
    border-radius: 0;
}

.btn.btn-secondary {
    background-color: #FFCC66 !important;
    border-color: #FFCC66 !important;
    color: white !important;
    border-radius: 0;
}
.btn.btn-secondary:focus, .btn.btn-secondary:active, .btn.btn-secondary:hover {
    background-color: #FFCC66 !important;
    border-color: #FFCC66 !important;
    color: white !important;
    border-radius: 0;
}

.btn.btn-clear {
    background-color: #FFFFFF !important;
    border-color: #FFFFFF !important;
    color: #e07b7b !important;
    border-radius: 0;
}
.btn.btn-clear:focus, .btn.btn-clear:active, .btn.btn-clear:hover {
    background-color: #FFFFFF !important;
    border-color: #FFFFFF !important;
    color: #e07b7b !important;
    border-radius: 0;
}

.leaflet-container a.leaflet-popup-close-button,
.leaflet-container a.leaflet-popup-close-button:active,
.leaflet-container a.leaflet-popup-close-button:focus,
.leaflet-container a.leaflet-popup-close-button:hover {
    color: #333333 !important;
    font-size: 20px !important;
}

a.nolink {
    text-decoration: none !important;
}


/**
 * BOOTSTRAP FORMS
 * form controls, select elements, validation failures
 */

form.validation-attempted .form-control:invalid,
form.validation-attempted .form-select:invalid {
    border-color: #dc3545;
    border-width: 2px;
}



/**
 * UTILITY CLASSES
 */

.bg-blue {
    background-color: #001489 !important;
}
.bg-black {
    background-color: #666 !important;
}
.bg-yellow {
    background-color: #FFD200 !important;
}

.color-black {
    color: #666 !important;
}
.color-blue {
    color: #001489 !important;
}
.color-yellow {
    color: #FFD200 !important;
}

.card, .border {
    border: none;
    box-shadow: 0 2px 6px rgb(0 0 0 / 30%);
}

.card h2 {
    background: #001489;
    color: white;
    border-radius: 5px 5px 0 0;
    padding: 10px;
    margin: -9px;
    line-height: 1.25em;
}

/**
 * PLACEHOLDER TEXT
 */

::placeholder {
  color: #212529;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
 color: #212529;
}

::-ms-input-placeholder { /* Microsoft Edge */
 color: #212529;
}

.form-control::-webkit-input-placeholder { color: #212529; }  /* WebKit, Blink, Edge */
.form-control:-moz-placeholder { color: #212529; }  /* Mozilla Firefox 4 to 18 */
.form-control::-moz-placeholder { color: #212529; }  /* Mozilla Firefox 19+ */
.form-control:-ms-input-placeholder { color: #212529; }  /* Internet Explorer 10-11 */
.form-control::-ms-input-placeholder { color: #212529; }  /* Microsoft Edge */



/**
 * BS5 MODALS
 */

.modal-backdrop.show {
    opacity: .75;
}
.modal-backdrop {
    background-color: white;
}

.modal-content {
    box-shadow: 0 3px 14px rgb(0 0 0 / 40%);
    border-color: white;
}
