/* lato-300 - latin-ext_latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: local('Lato Light'), local('Lato-Light'),
       url('../fonts/lato-v17-latin-ext_latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/lato-v17-latin-ext_latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* lato-regular - latin-ext_latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'),
       url('../fonts/lato-v17-latin-ext_latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/lato-v17-latin-ext_latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* lato-700 - latin-ext_latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'),
       url('../fonts/lato-v17-latin-ext_latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/lato-v17-latin-ext_latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

html {
  height:100%;
  font-size: 100%;
  overflow-y: hidden;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  height:100%;
  margin: 0;
  font-family:'Lato', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:visited {
  color: inherit;
}

#wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

#map {
  width: 100%;
  height:100%;
  background-color: #0C1303;
}

#header {
  top: 0;
  width: 100%;
  height: 52px;
  display: block;
  background-color: rgb(12,19,3, 0.6);
  position: absolute;
  z-index: 4002;
  text-align: left;
  overflow: hidden;
  border-bottom: 1px solid rgb(48,57,49);
}

#header span {
  position: absolute;
  padding: 6px 12px;
  color: #ccc;
  font-weight: 700;
  font-size: 2em;
}

.ta-right {
  text-align: right;
}
.h-100 {
  height: 100%!important;
}
.justify-content-center {
  -ms-flex-pack: center!important;
  justify-content: center!important;
}
.d-flex {
  display: -ms-flexbox!important;
  display: flex!important;
}

.card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: .25rem;
}
.card-header {
  padding: .75rem 1.25rem;
  margin-bottom: 0;
  background-color: rgba(0,0,0,.15);
  border-bottom: 1px solid rgb(48,57,49);
}
.card-header:first-child {
  border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
}
.card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1.25rem;
  line-height: 2em;
}
.card-footer {
  padding: .75rem 1.25rem;
  background-color: rgba(0,0,0,.15);
  border-top: 1px solid rgb(48,57,49);
}
.card-footer:last-child {
  border-radius: 0 0 calc(.25rem - 1px) calc(.25rem - 1px);
}


#login-card {
  position: absolute;
  top: 25%;
  width: 400px;
  background-color: rgb(12,19,3, 0.6);
  z-index: 5000;
  color: #ccc;
  padding: 12px;
  /* overflow + max-height keeps the form reachable */
  overflow-y: auto;
  max-height: 70%;
}

#login-card h2 {
  margin: 12px 0;
}

#login-card .form-group {
  margin-bottom: 12px;
}

#login-card input[type=text], #login-card input[type=password] {
  display: block;
  width: calc(100% - 8px);
  padding: 4px;
  border: 0;
  border-radius: 2px;
}

#login-card button {
  cursor: pointer;
  color: white;
  background-color: #1178aa;
  border: 1px solid #ccc;
  border-radius: .25rem;
  height: 28px;
  /* margin-top: 12px; */
}
#login-card .bg-white  {
  background-color: white;
}

#login-card .mb-3 {
  margin-bottom: 12px;
  width: 100%;
}

#login-card button:disabled {
  background-color: #ccc;
  color: #666;
}

#login-card .float-right {
  float: right;
}
#annotation {
  position: absolute;
  bottom: 0;
  clear: none;
  right: 0;
  color: #0C1303;
  background-color: rgba(255,255,255,0.5);
  font-family: helvetica, arial, sans-serif;
  font-size: 0.6em;
  line-height: 1;
  font-size: 0.6em;
  text-align: left;
  padding: 4px;
  z-index:4002;
}

#zoomBox {
  border: 2px solid red !important;
  background-color: rgba(255,255,255,0.4);
} 

div.SDPControlZoom {
  right: auto;
  left: 12px;
  z-index: 1010;
  position: absolute;
  top: 62px;
  background: rgba(255,255,255,0.4);
  border-radius: 4px;
  padding: 2px;
}

div.SDPControlZoom:hover {
  background: rgba(255,255,255,0.6);
}

div.SDPControlZoom a {
  display: block;
  margin: 1px;
  padding: 0;
  font-size: 20px;
  font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
  text-decoration: none;
  text-align: center;
  height: 32px;
  width: 32px;
  line-height: 28px;
  color: white;
  background-color: #1178aa;
  border-color: #ccc;
  border-style: solid;
  border-width: 1px;
}

div.SDPControlZoom a:hover {    
    color: #333;
    background-color: #e6e6e6;
    border-color: #4aa6d3;
}

a.SDPControlZoomIn {
    border-radius: 4px 4px 0 0;
}

a.SDPControlZoomOut {
    border-radius: 0 0 4px 4px;
}

#btn-zoom-box {
  background-image: url(images/zoom_box_white.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 71%;
  width: 34px;
  height: 32px;
  margin: 1px 0px 2px 1px;
  margin-top: 10px;
  display: inline-block;
  color: #333333;
  background-color: #1178aa;
  margin-bottom: 1px;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  border: 1px solid #ccc;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 4px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#btn-zoom-box:hover {
  border: 1px solid #4aa6d3;
}

#btn-zoom-box.active {
  background-image: url(images/zoom_box_red.png);
  border: 1px solid #a40000;
}

#btn-zoom-box.ol-zoombox-active {
  background-color: #45C1FD;
}
