html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 11pt;
}

body {
    overflow: hidden;
}

.map {
    padding: 0;
}

span {
    font-style: italic;
}

.app, .map {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.main-ui {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 300px;
    background: white;
    box-shadow: 0px 0px 41px 3px rgba(0,0,0,0.3);
    z-index: 100;
    /* bottom: 20px; */
    max-height: 500px;
    height: 500px;
    transition: transform 0.3s, -webkit-transform 0.3s;
}

.main-ui-hidden {
    transform: translateX(9%) scaleX(0.9) scaleY(0.9);
    -webkit-transform: translateX(9%) scaleX(0.9) scaleY(0.9);
    -moz-transform: translateX(9%) scaleX(0.9) scaleY(0.9);
}

.main-ui-hidden .location-banner {
    display: none;
}

.popup-hidden {
    /* display: none; */
    transform: translateX(-14%) scaleX(1.1) scaleY(1.1);
    -webkit-transform: translateX(-14%) scaleX(1.1) scaleY(1.1);
    -moz-transform: translateX(-14%) scaleX(1.1) scaleY(1.1);
    opacity: 0;
}

.popup {
    transition: transform 0.3s, opacity 0.3s;
    overflow: hidden;
    /* overflow-y: auto; */
}

.popup-content {
    /* overflow-x: hidden !important; */
    /* overflow-y: auto !important; */
    top: 116px !important;
    transition: transform 0.3s;
}

.popup-header {
    display: flex;
    display: -ms-flexbox;
    justify-content: space-between;
    border-bottom: solid 1px #efefef;
}

.popup-header {
    height: 43px;
    padding: 0px 10px;
}

.popup-single-feature .popup-header {
    display: none;
}

.popup-single-feature .popup-content {
    top: 71px !important;
}

.popup-page-hidden-right {
    transform: translateX(110%);
    -webkit-transform: translateX(110%);
    -moz-transform: translateX(110%);
}

.popup-page-hidden-left {
    transform: translateX(-110%);
    -webkit-transform: translateX(-110%);
    -moz-transform: translateX(-110%);
}

.popup-content {
    bottom: 41px !important;
    border-bottom: solid 1px #efefef;
}

.popup-no-footer .popup-content {
    bottom: 0px !important;
}

.popup-footer {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding: 10px 15px;
    display: flex;
    justify-content: space-around;
}

.popup-no-footer .popup-footer {
    display: none;
}

.esriViewPopup {
    margin: 10px 15px;
}

.esriViewPopup .charNewLine {
    white-space: inherit !important;
}



.ui-header-collapse {
    display: none;
}

.popup .ui-header-collapse {
    display: block;
    cursor: pointer;
}

.ui-header-collapse svg {
    width: 20px;
    height: 20px;
}

.ui-header-collapse svg circle {
    fill: #0096E1;
    stroke: blue;
}

.ui-page-title {
    border-bottom: 1px solid #0096E1;
    padding: 15px;
}

.ui-page-title-label {
    font-size: 13pt;
    display: inline-block;
    /* margin-left: 20px; */
}

.ui-page-title-back {
    margin-right: 20px;
}

.button {
    display: inline-block;
    font-size: 12pt;
    color: #0096E1;
    cursor: pointer;
}

.travel-item {
    /* padding: 10px 15px; */
    font-size: 11pt;
    border-bottom: 1px solid #efefef;
    cursor: pointer;
    transition: max-height 0.3s, border-bottom 0.3s;
    max-height: 100px;
    overflow: hidden;
}

.travel-item-icon {
    max-width: 20px;
    max-height: 20px;
    margin-right: 10px;
    align-self: center;
}

.travel-item-padder {
    margin: 10px 15px;
    display: flex;
    display: -ms-flexbox;
    /* justify-content: center; */
    /* justify-content: center; */
}

.travel-item-filtered {
    max-height: 0px;
    /* transform: translateX(-101%); */
    border-bottom: 0px solid white;
}

.ui-header {
    border-bottom: solid 1px #efefef;
    align-items: center;
    justify-content: space-between;
    display: flex;
    display: -ms-flexbox;
}

.ui-collapsed-content {
    /* height: 0 !important; */
}

.ui-header-logo {
    width: 220px;
    margin: 10px 15px;
    /* display:inline-block; */
    display:none;
}

.ui-header-logo-text{
    height: 50px;
    margin:10px 15px;
    flex-grow: 1;
}

.ui-header-logo-icon{
    height: 50px;
    align-self:center;
    margin: 10px 15px;
}

.ui-header-collapse {
    /* display:inline-block; */
    /* align-self: center; */
    /* align-content: flex-end; */
    /* flex-basis: 1px; */
    margin-right: 12px;
    font-size: 20pt;
    color: blue;
}

.ui-page-hidden {
    /* display: none; */
    transform: translateX(102%);
    -webkit-transform: translateX(102%);
    -moz-transform: translateX(102%);
}

.ui-page {
    transition: transform 0.5s;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: white;
    box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.3);
    /* display: flex; */
    /* flex-direction: column; */
    /* transform: translateX(13%); */
}

.popup-content .ui-page {
    /* background: red; */
    overflow-y: auto;
    overflow-x: hidden;
}

.ui-page-to-left {
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
}

.ui-content {
    overflow: hidden;
    position: absolute;
    top: 72px;
    bottom: 0px;
    width: 100%;
    transition: opacity 0.3s;
    /* height: 500px; */
    /* max-height: 100px; */
    /* height: 76%; */
}

.ui-content-hidden {
    opacity: 0;
}

.ui-items-list {
    overflow-y: auto;
    overflow-x: hidden;
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    top: 55px;
}

.ui-items-list-search {
    top: 103px;
}

.end-point-search {
    /* margin: 10px 15px; */
    /* width: 100%; */
    padding: 10px 15px;
    /* height: 110px; */
    /* font-size: 11pt; */
    /* border-top: none; */
    /* border-left: none; */
    /* border-right: none; */
    border: none none inherit none;
    flex-shrink: 0;
    background: #f7f7f7;
    cursor: auto;
    position: relative;
}

.travel-item-sublabel {
    color: #c3c3c3;
    font-size: 9pt;
    margin-top: 4px;
}

.travel-item-indicator {
    /* background: blue; */
    width: 20px;
    height: 20px;
    align-self: center;
}

.travel-item-indicator svg path {
    fill: #0096E1;
}

.travel-item-labels-container {
    flex-grow: 1;
    flex: 1 auto;
}

.popup-header div {
    align-self: center;
}

.popup-header-count-indicator {
    display: none;
}

.popup-header svg {
    width: 20px;
    height: 20px;
}

.popup-header svg path, .popup .ui-header-collapse svg path, .end-point-search svg path {
    stroke: #0096E1;
    stroke-width: 9px;
    fill: none;
}

.button-disabled svg path {
    stroke: lightgray;
}

#locateButton {
    position: absolute;
    top: 90px;
    left: 20px;
}

.location-banner {
    position: absolute;
    top: 15px;
    /* IE Quirck: Don't use calc in translateX... */
    transform: translateX(-100%) translateX(-15px);
    -webkit-transform: translateX(-100%) translateX(-15px);
    -moz-transform: translateX(-100%) translateX(-15px);
    z-index: -4;
    background: white;
    padding: 10px 15px;
    box-shadow: 0px 0px 22px -2px rgba(0,0,0,0.3);
    transition: transform 0.3s, opacity 0.3s;
    cursor: pointer;
}

.location-banner:nth-of-type(2) {
    /* background: red; */
    top: 70px;
}

.location-banner-hidden {
    transform: translateX(-200%);
    -webkit-transform: translateX(-200%);
    -moz-transform: translateX(-200%);
    opacity: 0;
}

.esriViewPopup .header {
    font-size: 19pt;
    color: #0096E1;
}

.hzLine {
    /* display: none; */
    border-top: transparent !important;
    height: 11px;
}

.basemap-toggle {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 100px;
    /* height: 30px; */
    box-shadow: 0px 0px 9px 3px rgba(0,0,0,0.3);
    background: white;
    z-index: 104;
    transition: transform 0.3s, opacity 0.3s;
}

.basemap-toggle-hidden {
    transform: translateX(-130%);
   -webkit-transform: translateX(-130%);
    -moz-transform: translateX(-130%);
    opacity: 0;
}

.basemap-toggle img {
    width: 100%;
    /* height: auto; */
    /* margin: 0px; */
    display: block;
}

@media (max-device-width: 568px) {
    .main-ui {
        right: 0px;
        left: 0px;
        bottom: 0px;
        top: 0px;
        width: 100%;
        height: auto;
        transition: transform 0.5s;
        /* background: rgba(255,255,255,0.5); */
        display: flex;
        flex-direction: column;
        height: auto !important;
        max-height: initial !important;
    }

    .main-ui-hidden {
        display: none;
    }

    .main-collapsed-content {
        transform: translateY(calc(100% - 72px));
        -webkit-transform: translateY(calc(100% - 72px));
        -moz-transform: translateY(calc(100% - 72px));
        background: white;
    }

    .main-collapsed-content .ui-content {
        display: none;
    }

    .ui-header-collapse {
        display: block;
    }

    .location-banner {
        position: absolute;
        top: -37px;
        left: 0px;
        right: 0px;
        transform: translateY(calc(-100% - 10px));
        -webkit-transform: translateY(calc(-100% - 10px));
        -moz-transform: translateY(calc(-100% - 10px));
        box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.3);
        display: none;
    }

    .location-banner:nth-of-type(2) {
        top: 6px;
    }

    .location-banner-hidden {
        transform: translateX(-200%);
        -webkit-transform: translateX(-200%);
        -moz-transform: translateX(-200%);
    }

    .basemap-toggle {
        width: 80px;
        bottom: initial;
        left: initial;
        top: 20px;
        right: 20px;
        z-index: 98;
        transition: transform 0.3s, opacity 0.3s;
    }

    .basemap-toggle-hidden {
        transform: translateX(130%);
        -webkit-transform: translateX(130%);
        -moz-transform: translateX(130%);
    }
}

.popup-content ul {
    padding: 0px;
    margin: 0px -15px;
}

.popup-content ul li {
    list-style: none;
    border-bottom: solid 1px #efefef;
    padding: 10px 15px;
}

.popup-content ul li:nth-child(1) {
    border-top: solid 1px #efefef;
}

/*Spinner*/
.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -20px;
    margin-top: -20px;
    overflow: visible;
    opacity: 0;
    width: 40px;
    height: 40px;
}

.line {
    stroke: #0096E1;
    stroke-width: 10;
    stroke-dasharray: 120, 37;
    stroke-linecap: square;
    stroke-linejoin: round;
    fill: transparent;
}

.arrow {
    fill: #0096E1;
}

.tick {
    opacity: 0;
}

.esriSimpleSliderIncrementButton, .esriSimpleSliderDecrementButton {
    border: none !important;
    border-radius: 0px !important;
    margin-bottom: 5px;
    background: white;
    box-shadow: 0px 0px 9px 3px rgba(0,0,0,0.3);
}

.esriSimpleSlider {
    border: none !important;
    border-radius: 0px;
    background: none !important;
    color: #0096e1 !important;
}

.esriSimpleSlider div {
    width: 34px !important;
    height: 34px !important;
    line-height: 30px !important;
}

.LocateButton {
    background: white;
    box-shadow: 0px 0px 9px 3px rgba(0,0,0,0.3);
    position: absolute;
    top: 98px;
    left: 20px;
}

.LocateButton .zoomLocateButton {
    background-image: url(imgs/gps.png) !important;
    background-color: transparent !important;
    border-radius: 0px;
    width: 26px;
    height: 26px;
    background-size: 24px 24px;
}

.tracking .zoomLocateButton {
    animation: spin 5s ease infinite;
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.end-point-search input {
    border-radius: 4px;
    border: solid 1px #dadada;
    padding: 5px 5px;
    /* position: relative; */
    /* left: 0px; */
    width: calc(100% - 45px);
    box-shadow: none;
    -webkit-appearance: none;
    font-size: 10pt;
}

.end-point-search svg {
    width: 20px;
    height: 20px;
    position: absolute;
    right: 15px;
    top: 13px;
    cursor: pointer;
}



.no-item-found {
    text-align: center;
    margin: 20px;
    color: #8c8c8c;
    font-style: italic;
    display: none;
}

.ui-header-logo-text img {
    height: 50px;
}