[v-cloak] {
    display: none;
}

@font-face {
    font-family: 'Capital Gothic';
    font-weight: normal;
    font-style: normal;
    src: url('/fonts/capital-gothic-regular.woff2') format('woff2'), url('/fonts/capital-gothic-regular.woff') format('woff');
}

@font-face {
    font-family: 'Capital Gothic';
    font-weight: normal;
    font-style: italic;
    src: url('/fonts/capital-gothic-regular-italic.woff2') format('woff2'), url('/fonts/capital-gothic-regular-italic.woff') format('woff');
}

@font-face {
    font-family: 'Capital Gothic';
    font-weight: bold;
    font-style: normal;
    src: url('/fonts/capital-gothic-bold.woff2') format('woff2'), url('/fonts/capital-gothic-bold.woff') format('woff');
}

@font-face {
    font-family: 'Roboto';
    font-weight: normal;
    font-style: normal;
    src: local('Roboto'), local('Roboto-Regular'), url('/fonts/roboto-regular.woff2') format('woff2'), url('/fonts/roboto-regular.woff') format('woff');
}

@font-face {
    font-family: 'Roboto';
    font-weight: bold;
    font-style: normal;
    src: local('Roboto Bold'), local('Roboto-Bold'), url('/fonts/roboto-bold.woff2') format('woff2'), url('/fonts/roboto-bold.woff') format('woff');
}

@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: normal;
    src: local('Roboto Italic'), local('Roboto-Italic'), url('/fonts/roboto-italic.woff2') format('woff2'), url('/fonts/roboto-italic.woff') format('woff');
}


/* Begin Mapbox overirdes and extensions */

.mapboxgl-ctrl-logo {
    display: none !important;
}

.mapboxgl-ctrl-group>button {
    background-color: var(--main-bg-color) !important;
}


/*
.mapboxgl-ctrl-group>button:hover {
    background-color: var(--highlight-color) !important;
}

.mapboxgl-ctrl-group>button:active {
}
*/

.mapboxgl-popup-content {
    padding-left: 4px !important;
    padding-right: 4px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    background-color: var(--main-bg-color) !important;
}

.mapboxgl-popup-close-button {
    position: static !important;
    outline: none !important;
}


/* End Mapbox overirdes and extensions */


/* Application-wide color variables */

:root {
    --main-text-color: rgb(77, 81, 86);
    --main-font-family: "Capital Gothic", "Arial", sans-serif;
    --highlight-color: #F58220;
    --main-bg-color: #ffffff;
    --border-color: lightgrey;
    --unselected-text-color: lightgrey;
    --main-building-color: #008E97;
}

body {
    color: var(--main-text-color);
    font-family: var(--main-font-family);
    background-color: var(--main-bg-color);
}


/* Firefox puts an inner border on buttons, hide it */

button::-moz-focus-inner {
    border: none;
}

.fibermap-button {
    color: var(--main-text-color);
    background-color: transparent;
    font-family: var(--main-font-family);
    font-size: 16px;
    padding: 5px 10px 5px 10px;
    border-style: hidden;
    cursor: pointer;
    outline: none;
    white-space: nowrap;
}

.fibermap-button-small {
    font-size: 12px;
    padding: 2px 5px 2px 5px;
}

.fibermap-button-greyed {
    color: var(--unselected-text-color);
    pointer-events: none;
    /* disables :hover */
}

.fibermap-button:hover {
    color: var(--highlight-color);
}

.fibermap-button:active {
    text-shadow: 1px 1px 8px var(--border-color);
}

@media (max-width:1200px) {
    .fibermap-toolbar-button {
        font-size: 0px;
        /* hides any text */
    }
}

@media (max-width:1200px) {
    .fibermap-shrinking-button {
        font-size: 14px;
    }
}

.fibermap-dropdown {
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.fibermap-dropdown-content {
    display: flex;
    flex-direction: column;
    position: absolute;
    background-color: var(--main-bg-color);
    border-style: solid;
    border-color: var(--border-color);
    border-top-width: 0px;
    border-left-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    /* matches popup box-shadow style */
    z-index: 200;
    white-space: nowrap;
}

.fibermap-dropdown-button {
    padding-left: 0px;
    margin-left: -9px;
}

.fibermap-modal {
    font-size: 16px;
    color: var(--main-text-color);
    background-color: var(--main-bg-color);
    border-radius: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 20px;
    padding-right: 20px;
}

.fibermap-modal-title {
    font-size: 16px;
    font-style: italic;
    text-align: center;
}

.fibermap-modal-bottom-button-container {
    text-align: center;
}

.fibermap-input {
    font-size: 16px;
    text-align: left;
    color: var(--main-text-color);
    border-color: var(--border-color);
    background-color: transparent;
    border-style: solid;
    border-radius: 4px;
    border-width: 1px;
    outline: 0px;
    padding-left: 12px;
    /* Allow text entry only in non-curved portions */
    padding-right: 12px;
    cursor: text;
    /* This seems to be required by Firefox? */
    font-family: var(--main-font-family);
}

.fibermap-input:hover {
    border-color: var(--highlight-color);
}

.fibermap-input::placeholder {
    color: var(--border-color);
}

.fibermap-splice-marker {
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-bottom-color: red;
    position: relative;
    top: -5px;
}

.fibermap-splice-marker:after {
    content: '';
    position: absolute;
    left: -5px;
    top: 5px;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-top-color: red;
}

.fm-tooltip {
    color: var(--main-text-color);
    font-family: var(--main-font-family);
    font-size: 10px;
    max-width: 100px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}