﻿/* 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. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.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;
}
@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 */
}
.search-form {
    border: 1px solid #a3ca26;
    background: #efefef;
    padding: 20px;
}
#search-installer-component {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom: 0;
}
#home-map {
    background: #efefef;
    border-left: 1px solid #a3ca26;
    border-right: 1px solid #a3ca26;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    min-height: 500px;
}
#mini-search-form {
    border: 1px solid #a3ca26;
    background: #efefef;
    border-top: 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

#search-results {
    height: 500px;
    overflow-y: scroll;
    font-size: 0.9rem;
    color: #555;
}

    #search-results > div {
        border-left: 0;
        border-bottom: 2px solid #a3ca26;
        padding: 10px;
    }

#search-results > div:nth-of-type(odd) {
    background-color: #fff;
}

#search-results > div:nth-of-type(even) {
    background-color: #efefef;
}

.map {
    height: 500px;
    width: 100%;
    border-right: 1px solid #a3ca26;
    padding-top: 0px;
    padding-bottom: 2px;
}
.regione:hover {
    fill: #a3ca26;
}

.loc-name {
    font-size: 15px;
    font-weight: bold;
}

.loc-web a {
    color: #005293;
    text-decoration: none;
}

.bcitem {
    text-transform: capitalize !important;
}

.ol-popup {
    position: absolute;
    background-color: white;
    -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
}

    .ol-popup:after, .ol-popup:before {
        top: 100%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }

    .ol-popup:after {
        border-top-color: white;
        border-width: 10px;
        left: 48px;
        margin-left: -10px;
    }

    .ol-popup:before {
        border-top-color: #cccccc;
        border-width: 11px;
        left: 48px;
        margin-left: -11px;
    }

.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}

    .ol-popup-closer:after {
        content: "✖";
    }

.fake-click, #popup-closer {
    cursor: pointer !important;
    z-index: 100;
}

.card-header {
    font-weight: 600;
}

.googleMapsWrapper {
    width: 100%;
    margin-top: 47px;
}