#app-wrapper {
	background-color: rgb(245, 245, 245);
}
  .o-map .o-footer {
    background-color: blue;
    background-color: rgba(13, 111, 181, 0.8);
}

/* Hjälp panelen, storlek, animation m.m */
#infoDiv {
  position: fixed;
  bottom: 2em;
  right: 0;
  top: 0;
  width: 356px;
  z-index: 80;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.45);
  background-color: white;
}

#infoFrame{
  border-style: none;
  width: 100%;
  height: calc(100% - 0em);
  background-repeat: no-repeat;
  background-size: 7em;
  background-position-x: 5em;
  background-position-y: 2em;
}

@media screen and (max-width:768px){
  #infoDiv{
    bottom:0;
  }
  
}
.dold {
  -moz-animation: hideFrame 0.2s ease-in forwards;     /* Firefox */
  -webkit-animation: hideFrame 0.2s ease-in forwards;  /* Safari and Chrome */
  -o-animation: hideFrame 0.2s ease-in forwards;       /* Opera */
  animation: hideFrame 0.2s ease-in forwards;          /* IE 10+, Fx 29+ */
}

.visa {
  -moz-animation: showFrame 0.2s ease-in forwards;     /* Firefox */
  -webkit-animation: showFrame 0.2s ease-in forwards;  /* Safari and Chrome */
  -o-animation: showFrame 0.2s ease-in forwards;       /* Opera */
  animation: showFrame 0.2s ease-in forwards;          /* IE 10+, Fx 29+ */
  display: block;
}

@keyframes hideFrame {
  to   { right: -450px;}
}
@keyframes showFrame {
  from { right: -450px;}
  to   { right: 0px;}
}


/* Target the legend container specifically */
.control.bottom-right.box.flex.row.o-legend,
.control.bottom-right.box.flex.row.o-legend[style] {
  /* Stop flex from growing */
  flex: 0 0 336px !important;   /* basis = 320px, no grow, no shrink */
  width: 336px !important;      /* sync width to basis */
  max-width: 336px !important;

   /* Optional: make content scroll instead of overflowing */
  overflow: auto !important;
  /* Optional: keep the background solid */
  background-color: #fff;
}
/* Knappen som stänger info-framen -----------------------------------------------*/
.close:hover::before, .close:hover::after {
  background: darkred;
}
.close::before, .close::after {
  content: '';
  position: absolute;
  height: 2.5px;
  width: 13px;
  top: 0.9em;
  right: 1.5em;
  margin-top: 0px;
  background: #333;
}
.close::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.close::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* Titelbeskrivning i legenden, följer dock med till infoklick, så använd ej om lagret ska ha infoklick. Behöver fixas i koden. */
.sod-title-description {
	font-style: italic;
	font-size: smaller;
}

/* Röd Titelbeskrivning i legenden, följer dock med till infoklick, så använd ej om lagret ska ha infoklick. Behöver fixas i koden.*/
.sod-title-description-red {
	font-style: italic;
	font-size: smaller;
	color: red;
}
.sod-tags {
	font-style: italic;
	font-size: 0px;
	color: #fff;
}
#sidebarcontainer .sod-title-description-red {
  display: none;
}
.sod-title-description-red:empty {
  display: none;
}
.sod-title-description:empty {
  display: none;
}

/* Fixar så verktyg växer åt höger istället för nedåt */
.o-maptools .flex.column:not(:first-of-type) {
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px; 
}
/* Fixar så ikoner för kartlänkar linear med verktyget */
.o-ui .margin-top-small {
	margin: 5px;
}	

/* Anpassa splash, centrering m.m. */
.o-splash .o-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}
.o-splash .o-modal-content button.o-tooltip {
  display: inline-block; /* or block */
  margin: 1em auto 0 auto;
}
.o-splash {
  text-align: center;
}

/* Hantera infoclick */
#sidebarcontainer {
  position: absolute;
  top: 17px;
  left: 300px;
  z-index: 1;
}
/* Hantera placering av closebutton */
.o-map .closebutton-svg-container {
    cursor: pointer;
    position: absolute;
    right: 5px;
    top: 5px;
}
.o-ui textarea.smaller, .o-ui select.smaller, .o-ui input.smaller {
    font-size: 0.75rem;
    line-height: 1.25;
    font: inherit;
}
.o-map .o-search input {
    box-sizing: content-box;
    line-height: inherit;
    font: inherit;
}
.link2{color:#008FF5; cursor: pointer; text-decoration:underline;
}

.link2:active {color: darkred;
}

.link2:hover{text-decoration:underline;
}

.o-ui .group-indication {
	border-left-width: 6px
}

.o-map .minimizebutton-svg-container {
    right: 40px;
    top: 5px;
}
