/*
 *  full-screen fixes
 *  - cannot be grouped
 */
.mod_ic_maps > div:fullscreen {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

.mod_ic_maps > div:-ms-fullscreen {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

.mod_ic_maps > div:-moz-full-screen {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

.mod_ic_maps > div:-webkit-full-screen {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

.ol-viewport .ol-unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/*
 *  Z-Indexes
 */
.ol-control {
  z-index: 500;
}

/*
 *  General classes
 */
.ic-hide {
  display: none !important;
}

/*
 * Touch corrections
 */
.ol-touch .ol-control button:after {
  /* Hide tooltips when in touch mode*/
  display: none;
}

/*
 *  Control container
 */
.ic-control-container-top-right .ol-control {
  float: right;
  clear: both;
}

.ic-control-container-bottom-right {
  text-align: right;
}

/*
 *  GeoSearch
 */
.ic-geosearch.ol-unselectable.ol-control * {
  float: left;
}

.ic-geosearch.ic-close .ic-geosearch-wrapper {
  display: none;
}

/*
 *  Overview-map
 */
.ol-uncollapsible > button {
  display: none !important;
}

.ic-overviewmap > button {
  z-index: 510;
}

.ic-overviewmap .ol-overviewmap {
  overflow: hidden;
  width: 150px;
  height: 100px;
  background-color: transparent !important;
}

.ic-overviewmap.ic-close .ol-overviewmap {
  width: 0;
  height: 0;
}

.ol-overviewmap-map {
  opacity: 1;
  width: 150px;
  height: 100px;
}

.ic-overviewmap.ic-close .ol-overviewmap-map {
  opacity: 0;
}

/*
 *  sidepanel
 */
.ic-sidepanel-container {
  position: absolute;
  top: 0;
  height: 100%;
  /* min-width: 300px; */
  /* max-width: 50%; */
  z-index: 100;
}

.ic-sidepanel-wrapper {
  position: relative;
  height: 100%;
  margin: 0 3px 0 3em;
  padding: 1px;
}

.ic-sidepanel-wrapper > div {
  /* margin: 1px 3px; */
  /* padding: 1px 0; */
}

.ic-sidepanel-wrapper > .ic-sidepanel-titlebar {
  /*   margin: 5px 3px; */
}

.ic-sidepanel-statusbar {
  min-height: 20px;
}

/*.ic-sidepanel-top-toolbar,
.ic-sidepanel-bottom-toolbar {
  min-height: 30px;
}*/

.ic-sidepanel-titlebar {
  /*   line-height: 20px; */
}

.ic-sidepanel-titlebar span {
  /*   margin: 0 2px; */
}

.ic-sidepanel-titlebar .ic-sidepanel-buttonbar {
  /*   float: right; */
}

.ic-sidepanel-content-container {
  /*   overflow-wrap: break-word; */
  /*   overflow-y: auto; */
}

.ic-sidepanel-viewtriggerbar {
  /*display: inline-block;*/
  margin: 5px;
}

.ic-draw-content-point button.ic-draw-trigger,
.ic-draw-content-line button.ic-draw-trigger,
.ic-draw-content-polygon button.ic-draw-trigger,
.ic-draw-content-circle button.ic-draw-trigger {
  width: auto;
  height: auto;
}

.ic-layertree a {
  word-wrap: break-word;
}

.ic-layertree li > ul {
  overflow: auto;
}

.ic-layertree .ic-close > ul {
  max-height: 0;
  overflow: hidden;
}

.ic-layertree .ic-open > ul {
  /*max-height: 800px;*/
}

.ic-popup-wrapper {
  background: rgb(255, 255, 255);
  background: rgba(255, 255, 255, .9);
  border: 1px solid blue;
  border-radius: 5px;
  position: relative;
  display: none;
  z-index: 90;
}

.ic-popup-wrapper.ic-active {
  display: block;
}

.ic-popup-wrapper .ic-popup-close {
  position: absolute;
  right: 10px;
  top: 10px;
}

.ic-popup-wrapper .ic-popup-content {
  padding: 30px 10px 20px
}

.ic-popup-route-wrapper {
  white-space: nowrap;
}

.ic-tooltip-popup {
  z-index: 80;
}

/*
 * Attribution
 */
.ic-attribution-logo img {
  margin: 0 5px;
  max-height: 30px;
}

.ol-attribution > ul {
  float: left;
  text-align: left;
}

/*
 * Permalink
 */
div.ic-permalink-popup {
  display: block !important;
  min-width: 400px;
  overflow: hidden;
}

div.ic-permalink-popup input[type='text'] {
  display: inline-block;
  min-width: 400px;
}

.ic-permalink-popup.ic-close {
  height: 0;
}

.ic-permalink-popup.ic-open {
  /*height: 20px;*/
}

@media print {
  .ol-control {
    display: none
  }

}

.ic-layertree ul li {
  position: relative;
}

.ic-layertree .ic-item-filter-button {
  height: 20px;
  width: 18px;
  display: block;
  text-indent: -9999px;
  position: absolute;
  top: 4px;
  right: 30px;
  padding: 0;
  background: transparent;
}

.ic-content-layerswitcher .ic-layertree a.ic-item-filter-button:hover {
  background: transparent;
}

.ic-content-layerswitcher .ic-layertree a.ic-item-filter-button:after {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  font-weight: 100;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\f0b0";
  text-indent: 0;
  position: absolute;
  left: 0;
}

.ic-content-layerswitcher .ic-layertree a.ic-item-filter-button.ic-inactive:after {
  color: #a6bbd7;
  color: rgba(0, 60, 136, .3);
}

.ic-content-layerswitcher .ic-layertree ul li.ic-close ul .ic-item-filter-button {
  display: none;
}

.ic-layertree ul li.ic-close ul .ic-item-filter-button {
  display: none;
}

.wkttools-wkt textarea.form-control {
  resize: vertical;
}

.wkt-error,
.gml-text-error,
.coordinate-list-error {
  color: #cc0000;
  display: block;
  position: relative;
  padding-top: 10px;
  margin-bottom: -5px;
}

.ic-panel-title-link {
  background-color: #f5f5f5;
  color: inherit;
  display: block;
}

.ic-panel-title-link:hover,
.ic-panel-title-link:focus {
  color: inherit;
}

@media print {
  .hide-for-print * {
    display: none !important;
  }
}
