html {
    height: 100%;
    width: 100%;
}

body {
    display: flex;
    height: 100%;
    flex-direction: column;
    background-color: #fff;
    color: #666;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    margin: 0;
}

body > main {
    flex: 1 1 auto;
    height: 0;
    overflow: hidden;
}

img.fa {
    height: 1em;
    width: 1em;
}


.btn {
    display: inline-block;
    font-weight: 400;
    color: #333;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: #005198;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.2rem;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}
.btn:hover,
.btn:focus,
.btn:active {
    background-color: #1A63A3;
    border-color: #1A63A3;
}


.dropdown {
    position: relative;
}
.dropdown .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0;
    border-right: 0.3em solid transparent;
    border-bottom: 0.3em solid;
    border-left: 0.3em solid transparent;
}
.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: auto;
    margin-bottom: 0.2rem;
    padding: 0.5rem 0;
    background-color: white;
    border-radius: 0.2rem;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
    z-index: 1000;
}
.dropdown .dropdown-menu.show {
    display: block;
}
.dropdown .dropdown-menu .dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    color: black;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
}
.dropdown .dropdown-menu .dropdown-item:hover,
.dropdown .dropdown-menu .dropdown-item:focus {
    background-color: #f0f0f0;
}
.dropdown .dropdown-menu .dropdown-item.active,
.dropdown .dropdown-menu .dropdown-item:active {
    color: #fff;
    background-color: #005198;
}


a.detail-point {
    display: block;
    padding: 2.5px;
    border: 1px solid #005198;
    border-radius: 3px;
    background-color: white;
}

a.detail-point > img {
    display: block;
    width: 10px;
    height: 10px;
}


.map-container .zoom-buttons {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;

    display: flex;
    flex-direction: column;
}
.map-container .zoom-buttons .btn:not(:first-child) {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.map-container .zoom-buttons .btn:not(:last-child) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}


.map-container .btn-fullscreen-on,
.map-container .btn-fullscreen-off {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
}
.map-container .btn-fullscreen-off {
    display: none;
}


.map-container .map-switch {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
}
