﻿html {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    font-size: 12pt;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.25;
    color: #333;
    background-color: #fff;
    margin: 0 auto;
    padding-top: 0px;
    padding-bottom: 20px;
}

#preventClickOverlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1001;
}

/* Color Scheme */
/* GOLD = #E8AC1A */
/* BROWN = #57462B */
/* GREEN = #0D8445 */

/* Navbar adjustments */
.navbar-light {
    background-color: #fff;
    margin-bottom: 0px;
    border-bottom: 5px solid #E8AC1A;
    border-top: 0px;
    border-radius: 0px;
}

.navbar-link {
    line-height: 85px;
    padding-top: 15px;
    padding-bottom: 0px;
}

/* Buttons */
.navmenu-icon {
    top: -2px;
    margin-right: 10px;
}

@media screen and (width <= 768px) {
    .beekeeper-info-table-col1 {
    }
}

@media screen and (width > 768px) {
    .beekeeper-info-table-col1 {
        width: 220px;
    }
}

button.banner-btn, .btn.banner-btn {
    background: transparent;
    display: inline-block;
    border: 2px solid #E8AC1A;
    font-size: 12px;
    line-height: 20px;
    overflow: hidden;
    padding: 0 8px;
    border-radius: 15px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
}

.banner-btn:hover {
    color: #ffffff;
    background: #E8AC1A;
}

/* Bootstrap buttons make kendo grid rows taller which isn't good if not all rows have a button so use an anchor with this style instead because kendo grids strip the formatting from anchors */
.grid-button {
    color: blue !important;
    cursor: pointer;
}

/* .action-btn's base rule and :hover moved to accessibility.css,
   consolidating what used to be split across this file and that
   one into a single definition. This ::after rule is left as-is
   (unused hover-text-swap leftover — opacity: 0, nothing currently
   reveals it). */
    .action-btn::after {
        content: attr(data-text);
        height: 100%;
        left: 0;
        opacity: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }

.field-validation-error {
    color: red;
}

/* Map styles */
.esriPopup .titleButton {
    display: none;
}

.esriPopup .zoomTo {
    display: none;
}

#map_gc {
    z-index: 999;
}

body.map-body, .map-manageLocations {
    height: 100%;
    padding: 0;
    margin: 0;
}

.esriScalebar {
}

.BasemapToggle .basemapTitle {
    width: 100%;
}

#locateButton {
    position: absolute;
    top: 91px;
    left: 21px;
    z-index: 999;
}

#HomeButton {
    position: absolute;
    top: 131px;
    left: 21px;
    z-index: 999;
}

.static-map #HomeButton {
    position: absolute;
    top: 91px;
    left: 21px;
    z-index: 999;
}

#BasemapToggle {
    position: absolute;
    bottom: 21px;
    left: 21px;
    z-index: 999;
}

.static-map #BasemapToggle {
    position: absolute;
    bottom: 21px;
    left: 36px;
    z-index: 999;
}

#mapControlsContainer {
    position: absolute;
    top: 1rem;
    right: 1rem;
    max-width: 50rem;
    z-index: 999;
    margin-left: 65px; /* for phones, keep the left side of the screen away */
    background-color: white;
}

#colonyLocationEditorControls {
    position: absolute;
    top: 15rem;
    right: 1rem;
    z-index: 999;
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity ease-in-out 250ms;
}

.static-map #colonyLocationEditorControls {
    top: 21px;
}

#colonyLocationEditorControls button, #colonyLocationEditorControls a {
    float: right;
    clear: both;
    display: inline-block;
    margin-bottom: 10px;
}

#colonyLocationEditorControls.controlsHide {
    opacity: 0;
    visibility: hidden;
    /* Ensure we hide AFTER the animation completes */
    transition: visibility 250ms step-end, opacity ease-in-out 250ms;
}

#colonyLocationDrawHint {
    position: fixed;
    z-index: 999;
    top: 184px;
    right: 21px;
    border-radius: 4px;
    width: 210px;
    overflow-y: auto;
    padding: 9px;
    background: #fff;
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity ease-in-out 250ms;
}

    #colonyLocationDrawHint.drawHintHide {
        opacity: 0;
        visibility: hidden;
        /* Ensure we hide AFTER the animation completes */
        transition: visibility 250ms step-end, opacity ease-in-out 250ms;
    }

#colonyLocationEditorPanel {
    position: fixed;
    z-index: 999;
    bottom: 40px;
    right: 21px;
    border-radius: 4px;
    max-width: 380px;
    max-height: calc(100vh - 50px);
    overflow-y: auto;
    padding: 15px;
    background: #fff;
    visibility: visible;
    transform: translate(0, 0);
    opacity: 1;
    transition: visibility 0s, transform 500ms cubic-bezier(.26,0,.31,1.44), opacity ease-in-out 500ms;
}

    #colonyLocationEditorPanel.locationPanelHide {
        transform: translate(33vw, 0);
        opacity: 0;
        visibility: hidden;
        /* Ensure we hide AFTER the animation completes */
        transition: visibility 500ms step-end, transform 500ms cubic-bezier(0.69,-0.44, 0.74,1), opacity ease-in-out 500ms;
    }

#placeSearchControls {
    border-bottom-start-radius: 5px;
    border-bottom-end-radius: 5px;
    /*border-top-left-radius: 5px;*/
    width: 100%;
    overflow-y: auto;
    padding: 15px;
    background: #fff;
}

#placeSearchTabs {
    border-bottom: none;
}

    #placeSearchTabs > li {
        float: right;
        width: 169px;
        text-align: center;
    }

        #placeSearchTabs > li > a {
            margin-right: 0;
            background-color: #fff;
            border: none;
        }

        #placeSearchTabs > li.active > a {
            background-color: #fff;
        }

.spacer-height-1em {
    min-height: 1.1em;
}

.spacer-height-2em {
    min-height: 2.1em;
}

.top-5 {
    margin-top: 5px;
}

.top-7 {
    margin-top: 7px;
}

.top-10 {
    margin-top: 10px;
}

.top-15 {
    margin-top: 15px;
}

.top-17 {
    margin-top: 17px;
}

.top-30 {
    margin-top: 30px;
}

.combo-hd-col-1 {
    width: 50%;
    font-weight: bold;
}

.combo-hd-col-2 {
    width: 50%;
    font-weight: bold;
}

.navbar-brand {
    margin-top: 0;
}

@media (min-width: 768px) {
    .text-sm-right {
        text-align: right;
    }

    .navbar-brand {
        height: 72px;
        margin-top: 18px;
    }

    button.banner-btn, .btn.banner-btn {
        font-size: 14px;
        line-height: 30px;
        padding: 0 30px;
        border-radius: 15px;
    }
}

.k-picker {
    width: auto !important;
}

.btn-kendo-grid-link {
    color: blue !important;
    cursor: pointer;
}

.beewhere-form-label {
    margin-right: 10px;
}

.beewhere-form-hint {
    font-size: 0.8rem;
    font-style: italic;
    position: relative;
    top: 4px;
    margin-left: 20px;
}

.info {
    font-size: 0.8rem;
    font-style: italic;
}

/*Added padding to nav bar*/
nav[aria-label="Site navigation"] .row {
    background-color: #f4f4f4;
    padding-top: 18px;
    padding-bottom: 18px;
}