/**
 * (c) Copyright, 2008-2015 Massachusetts Institute of Technology.
 *
 *     This material may be reproduced by or for the
 *     U.S. Government pursuant to the copyright license
 *     under the clause at DFARS 252.227-7013 (June, 1995).
 */
.ol-viewport, .ol-viewport * {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -ms-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}

.ol-viewport .ol-attribution {
	height: initial;
}

.ol-attribution img {
  visibility: hidden
}

.ol-attribution {
  right: 82px !important;
  background-color: transparent !important;
}

.ol-attribution-dark-map {
  color:white !important;
}

.ol-attribution-none {
  display: none !important;
}

.ol-dragzoom, .ol-dragbox {
  border: 3px solid rgba(0,0,255,0.8);
  background-color: rgba(0,0,255,0.1);
}

.ol-dragbox {
  border-style: dashed;
}

.ol-popup {
    display: none;
    position: absolute;
    background-color: white;
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
  }
  .ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
  }
  .ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
  }
  .ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
  }
  .ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
  }
  .ol-popup-closer:after {
    content: "x";
  }

  .zoom-level-indicator {
    top: 6px;
    left: 36px;
}

.basemap-layer-switcher [type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.basemap-layer-switcher {
  border: 1px solid rgb(100,100,100);
  padding: 1px;
  bottom: 1px;
  right: 3px;
  background-color: rgb(245, 245, 245);
  box-shadow: -2px -2px 2px rgb(150,150,150) inset;
}

.basemap-layer-switcher:hover {
 background-color: rgb(230, 230, 230) !important;
}

.dropdown-content img {
  object-fit:cover;
  /* border-bottom: 1px solid rgb(200,200,200); */
  height: 68%;
  width: 100%;
}

[type=radio]:checked + div {
  border: 1px solid rgb(10,10,10);
}

.mapBtn {
  width: inherit !important;  
  height: inherit !important; 
  background-color: transparent !important;
  color: rgb(30,30,30) !important;
  margin-bottom: 2px !important;
  font-size: .9em !important;
  /* font-weight: normal !important; */
  font-weight: bold !important;
  padding: 4px !important;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(245, 245, 245);
  border: 1px solid  rgb(206, 206, 206);
  border-radius: 5px;
  bottom: 2em;
  right: 0;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 5;
  padding: 4px;
  width: 200px;
}

.show {display: block}

.click {
  background-color: rgb(240, 240, 240) !important;
}

.click-card {
  border:2px;
}

.card {
  display: inline-block;
  /* Add shadows to create the "card" effect */
  box-shadow: 0 2px 6px 0 rgb(120, 120, 120);
  transition: 0.3s;
  border:1px solid rgb(172, 172, 172);
  border-radius: 2px;
  width: 45%;
  height: 60px;
  margin: 3px 4px;
}

/* On mouse-over, add a deeper shadow */
.card:hover {
  box-shadow: 0 2px 6px 0 rgb(0,0,0);
}

/* Add some padding inside the card container */
.container {
  padding: 1px 1px;
  text-align: center;
  font-size: 75%;
}

.zoom-level-indicator .wrapper {
    display: block;
    margin: 1px;
    padding: 0;
    color: #fff;
    font-size: 10pt;
    text-decoration: none;
    text-align: center;
    height: 3.0em;
    width: 3.0em;
    background-color: rgba(0,60,136,.5);
    border: none;
    border-radius: 2px;
}

.zoom-level-indicator .indicator {
    line-height: 0.9em;
    font-size: 2.0em;
    font-weight: 700;
}

.ol-overviewmap {
    bottom: 3em;
}
.ol-overviewmap .ol-overlay-container {
    pointer-events: none;
}

.form-feature-detail div.x-form-item label.x-form-item-label, .form-feature-detail div.x-form-item *.x-form-item-body  {
    padding-left : 10px;
    padding-top : 0;
    min-height: 10px;
}
.form-feature-detail div.x-form-item label.x-form-item-label   {
    text-align: right;
    font-weight:bold;
}
.form-feature-detail div.x-form-item:first-child label.x-form-item-label, .form-feature-detail div.x-form-item:first-child *.x-form-item-body {
    padding-top : 10px;
    margin-bottom:0;
}
.form-feature-detail a.x-btn-default-small { 
    margin-left : 10px;
    margin-bottom: 10px;
}
.form-feature-detail div.x-form-display-field-default {
    margin-top:0;
    min-height:10px;
}

.form-feature-detail div.x-form-item-label x-form-item-label-default x-form-item-label-top > .x-form-item-label-inner {
    display: inline-block;
} 
