﻿#loading-overlay {
    display: none;
}

.force-disable {
    display: none !important;
}

/** BEGIN: Hide Search Button to force only suggestions */
#search.arcgisSearch .searchBtn {
    display: none;
}

#search.arcgisSearch .searchClear {
    right: 2px;
}

#search .searchInput {
    border-right: 1px solid #57585A;
    border-radius: 4px;
}
/** END */

#map-spinner {
    display: none;

    position: absolute;    
    left: 43%;
    top: 30%;
    width: 100px;
    height: 100px;
}

#map-spinner.show {
    display: block;
}

#loading-overlay.loading {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
    background-color: darkgrey;
    display: block;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
    overflow: auto;
}

#loading-overlay div.disclaimer {
    width: 40%;
    min-width: 360px;
    margin: 0 auto;
    text-align: left;
}

#disclaimer-modal h5 {
    display: inline-block;
}

.disclaimer h1 {
    text-align: center;
    margin-bottom: 2em;
}

#disclaimerButtonBar div {
    display: inline-block;
}

#btnDeclineDisclaimer {
    float: right;
}

#action-button-disclaimer {
    text-align: center;
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;

    top: 5px;
}

.lds-ripple-large {
  width: 128px;
  height: 128px;
}

.lds-ripple div {
  position: absolute;
  border: 4px solid #fff;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple-large div {
  position: absolute;
  border: 4px solid #fff;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple-large 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple.dark div {
    border: 4px solid #000;
}

.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}

@keyframes lds-ripple {
  0% {
    top: 28px;
    left: 28px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: -1px;
    left: -1px;
    width: 58px;
    height: 58px;
    opacity: 0;
  }
}

@keyframes lds-ripple-large {
  0% {
    top: 60px;
    left: 60px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: -1px;
    left: -1px;
    width: 122px;
    height: 122px;
    opacity: 0;
  }
}
.calcite .HomeButton .home {
    padding: 0;
    width: 32px;
    height: 32px;
    color: #4c4c4c;
    background-color: #fff;
    -moz-transition: all .25s ease;
    -o-transition: all .25s ease;
    -webkit-transition: all .25s ease;
    transition: all .25s ease;
    border-width: 0;
    border-style: none;
    text-align: center;
    cursor: pointer;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    -moz-box-shadow: 0px 1px 1px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,0.5);
    box-shadow: 0px 1px 1px rgba(0,0,0,0.5);
    font-family: "CalciteWebCoreIcons";
    speak: none;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    text-indent: 0;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 12px;
    line-height: 2.66667;

    border-radius: inherit;
    background-image: inherit;
    background-position: inherit;
    background-repeat: inherit;
}

.calcite .HomeButton .home:before {
    content: "\e62f";
}

.calcite .esriSimpleSliderVertical .esriSimpleSliderIncrementButton {
    border-bottom: 1px solid #efefef;
}
.calcite .esriSimpleSlider .esriSimpleSliderIncrementButton {
    -moz-border-radius: 0 0 0 0;
    -webkit-border-radius: 0;
    border-radius: 0 0 0 0;
}
.calcite .esriSimpleSlider div {
    width: 32px;
    height: 32px;
    border-width: 0;
    border-style: none;
    color: #4c4c4c;
    background-color: #fff;
    -moz-transition: all .25s ease;
    -o-transition: all .25s ease;
    -webkit-transition: all .25s ease;
    transition: all .25s ease;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    font-family: "CalciteWebCoreIcons";
    speak: none;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    text-indent: 0;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 12px;
    line-height: 2.66667;
}

.calcite .esriSimpleSlider .esriSimpleSliderIncrementButton:before {
    content: "\e620";
}

.calcite .esriSimpleSlider span {
    display: none;
}

.esriIconFallbackText {
    clip: rect(0 0 0 0);
    overflow: hidden;
    position: absolute;
    height: 1px;
    width: 1px;
}

.calcite .esriSimpleSlider .esriSimpleSliderDecrementButton {
    border-top: solid 1px #efefef;
}
.calcite .esriSimpleSlider .esriSimpleSliderDecrementButton,
.calcite .esriSimpleSlider .esriSimpleSliderDecrementButton:hover,
.calcite .esriSimpleSlider .esriSimpleSliderDecrementButton:focus {
    border-top: 0;
}
.calcite .esriSimpleSlider .esriSimpleSliderDecrementButton {
    -moz-border-radius: 0 0 0 0;
    -webkit-border-radius: 0;
    border-radius: 0 0 0 0;
}

.calcite .esriSimpleSlider .esriSimpleSliderDecrementButton:before {
    content: "\e621";
}

.calcite .esriSimpleSlider {
    text-align: center;
    border: none;
    background-color: transparent;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    -moz-box-shadow: 0px 1px 1px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,0.5);
    box-shadow: 0px 1px 1px rgba(0,0,0,0.5);
}
.esriSimpleSlider {
    position: absolute;
    text-align: center;
    border: 1px solid #57585A;
    background-color: #FFF;
    color: #4C4C4C;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}

.calcite .esriSimpleSlider .esriSimpleSliderDecrementButton {
    border-top: solid 1px #efefef;
}

*, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.arcgisSearch .searchGroup .searchInput {
    width: auto;
}

.wdea-nav-container {
    margin-top: 5px;
}

.wdea-nav-container::after {
  content: "";
  clear: both;
  display: table;
}

.wdea-btn-back {
    float: left;

    color: white;
    background-color: #5BC0DE;
    border-color: #46B8DA;
    font-weight: bold;
}

.wdea-btn-back[disabled], .wdea-btn-next[disabled] {
    color: lightgrey;
}

.wdea-btn-next {
    float: right;
    margin-left: 10px;

    color: white;
    background-color: #5CB85C;
    border-color: #4CAE4C;
    font-weight: bold;
}

/* Override basemap button placement */
.icon-basemap-container {
    left: 10px;
}

.icon-bookmark-container {
    left: 10px;
    top: 160px;
}

#bookmark_container .esriBookmarks {
    border-width: 0;
    width: 355px;
}

.glyphicon-blank:before {
    content: "";
    display: block;
    width: 10px;
}

.action-group {
    margin: 10px 0;
}

#action-list {
    margin-top: 5px;
}

.action-item {
    clear: both;
    margin-bottom: 10px;
}

.action-item.weight-restrictions > div {
    margin-left: 15px;
}

.action-item.weight-restrictions .checkbox > p {
    color: grey;
    font-size: small;
    padding-left: 5px;
}

.action-item .action-header {
    font-weight: bold;
}

.action-item .button-list {
    text-align: right;
}

.action-item .button-list .btn {
    font-size: smaller;
    font-weight: bold;
}

/*
#action-list .action-item 
{
    display: inline-block;
}
*/

#action-list .action-item + .action-item {
    margin-top: 5px;
}

/*
.vcenter {    
}
*/

.vcenter > .btn
{
    width: 100%;
}

.navbar .navbar-header
{
    margin-left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.navbar-brand
{
    font-size: 24px;
    line-height: 28px;
    width: 15em;
}

.navbar.navbar-inverse .wdea-navbar-action 
{
    color: white;
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
}

.navbar.navbar-inverse .wdea-navbar-action .btn 
{
    border-color: #fff;
    border-width: 2px;
    background-color:#333;
}

body {
    padding-top: 70px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;

    padding-top: 15px;
}

/* Save hidden by default */
#saveRouteBtn, #cancelRouteBtn {
    display: none;
}

/* Save As hidden by default */
/*
#saveRouteAsBtn {
    display: none;
    float: left;
    margin: 0 10px;
}
*/

/* Set width on the form input elements since they're 100% wide by default
input,
select,
textarea {
    max-width: 280px;
}
*/

.routeTableWrapper {
    height: 400px;
    padding-top: 15px;
}

.esriStopsGetDirectionsContainer .form-group {
    color: #b6b6b6;
    cursor: default;
    text-decoration: none;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 16px;
    font-size: 12px;
    font-weight: normal !important;
}

#galleryButton {
    position: absolute;
    right: 5px;
    padding: 5px;
    border: 1px solid #333;
    right: 20px;
    top: 10px;
    z-index: 9999;
    background-color: white;
    border-radius: 4px;
    width: 25px;
    height: 27px;
}

#overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0; 
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

#text{
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}

div#hud {
    position: absolute;
    left: 5%;
    top: 5%;
    display: none;
    position: absolute;
    left: 5%;
    top: 5%;
    border-radius: 5px;
    padding: 10px;
    border: 1px solid #333;
}
/* Print styles */
@media print {
    div#hud {
        display: block !important;
        background-color: white !important;
        z-index: 2;
    }
    /* Hide general elements */
    #header-row {
        display: none;
    }
    #route-information-col { display: none; }
    #action-button-container { display: none; }
    .glimpse { display: none; }
    .panel-heading .glyphicon { display: none !important; }
    tr.esriRoute > td { border-bottom: 0 !important; }

    body, .container-fluid { padding: 0; }

    #content-row { page-break-after: always; }

    /* Hide map widgets */
    #cp_center .vertical-line { display: none; }
    #cp_center .esriControlsBR { display: none; }
    #cp_center #map_zoom_slider { display: none; }
    .panel-body .dijitInlineEditBoxDisplayMode { display: none; }

    #content-row {
        margin: 0 !important;
    }
}