/**
 * THIS FILE WAS GENERATED BY compile.py AND SHOULD NOT BE MANUALLY EDITED
 **/

/**
 * GLOBAL FONT DEFAULTS
 * but each component (navbars, etc.) will have their own font-family, we won't try to centralize that here
 */


/* multiple fonts in one call, at all the weights we will want */
/* see also a Typekit script tag in header.html */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap");
@import url("https://use.typekit.net/kqq4wzr.css");  /* Calluna */


body, td, th {
    font-family: 'calluna', serif;
    font-size: 16px;
    color: #1F2526;
    font-weight: normal;
}

h1 {
    font-family: 'europa', sans-serif;
    color: #1F2526;
    font-size: 24px;
    font-weight: bold;
}

h2 {
    font-family: 'europa', sans-serif;
    color: #1F2526;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    color: #1F2526;
    font-size: 18px;
    font-weight: normal;
}

a {
    color: #9A1C20;
    text-decoration: none;
}
a:hover, a:active {
    color: silver;
    text-decoration: underline;
}

.leaflet-tooltip {
    font-family: 'Montserrat';
    font-size: 14px;
}
.leaflet-tooltip h1 {
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 0.25em;
}

.btn.btn-primary {
  font-family: 'Montserrat', sans-serif;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1F2526;
    line-height: 27px;
    font-size: 14px;
}
.navbar {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar.bg-light {
    background-color: white !important;
    border-bottom: 1px solid #9A1C20;
    margin-bottom: 0.2in;
}

.navbar-brand img {
    max-height: 60px;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #9a1b1e;
}
.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
    color: black;
    text-decoration: underline;
}

@media screen and (max-width: 1023px) {  /* hamburger-dropdown version of nav menu, for mobile */
    ul.navbar-nav.ml-auto {
        text-align: right;
    }
}

/* change color of hamburger menu icon: border and SVG background image */
.navbar-light .navbar-toggler {
    color: #9a1b1e;
    border-color: #9a1b1e;
}
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(154,27,30)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
/**
 * sticky footer behavior
 */

html {
    position: relative;
    min-height: 100%;
}
body {
    margin-bottom: 60px; /* Margin bottom by footer height */
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px; /* Set the fixed height of the footer here */
    line-height: 60px; /* Vertically center the text there */
}

#main-page-content {
    padding-bottom: 0.5in;
}


/**
 * colors and stuff
 */

.footer {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;

    background-color: white;

    border-top: 1px solid #9A1C20;
}
.btn {
    border-radius: 2px;
    padding: 5px 10px;
}

.btn.btn-primary {
    background-image: none;
    background-color: #9A1C20;
    border-color: #9A1C20;
    color: white;
}
/* controls already have 10px margin, so tighten this up a bit */
.leaflet-container .leaflet-control-attribution {
    margin-top: 0;
}

/* checkbox labels are clickable, and should look it */
div.form-check label {
    cursor: pointer;
}

/* Leaflet.EasyButton sets a width suited to a single icon, but we want more control */
button.easy-button-button, button.easy-button-button:hover {
    width: auto;

    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}
/*
 * TOOLTIPS by tooltipster
 */

i[data-tooltip-content] {  /* give the i buttons a cursor effect */
    cursor: pointer;
}

#tooltips { display: none; }  /* storage area for HTML tooltips */

.tooltipster-base {
    pointer-events: auto;
}

.tooltipster-box {
    border-radius: 0 !important;
    border: 1px solid #9A1C20 !important;
    background: #9A1C20 !important;
    color: #fff !important;
    padding: 5px !important;
    font-size: 14px !important;

    a {
        color: $white !important;
        font-weight: bold;
    }
}

.tooltipster-arrow-border, .tooltipster-arrow-background {
    border-right-color: #9A1C20 !important;
}
/**
 * BUSY MODAL with a white screen and a nice animated thing
 */

#modal-busy div.modal-body {
    text-align: center;
    font-size: 20px;
}
#modal-busy div.modal-content {
}
.modal-backdrop {
    background-color: white;
}


/**
 * BUSY SPINNER in the style of Facebook's throbbing boxes
 */

.busyspinner {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.busyspinner div {
    display: inline-block;
    position: absolute;
    left: 8px;
    width: 16px;
    background: #9A1C20;
    animation: busyspinner 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.busyspinner div:nth-child(1) {
    left: 8px;
    animation-delay: -0.24s;
}
.busyspinner div:nth-child(2) {
    left: 32px;
    animation-delay: -0.12s;
}
.busyspinner div:nth-child(3) {
    left: 56px;
    animation-delay: 0;
}
@keyframes busyspinner {
    0% {
        top: 8px;
        height: 64px;
    }
    50%, 100% {
        top: 24px;
        height: 32px;
    }
}
