body {
  overflow: hidden;
  padding-top: 52px !important;
}

#button-strona .icon-file {
  transform: scale(1.5);
}

#kontakt {
  display: inline-flex;
  position: fixed;
  right: 0px;
  top: 0px;
  height: 50px;
  align-items: flex-start;
}

#kontakt div {
  margin: 2px 5px;
}

#kontakt div .icon {
  color: black;
}

#headermenu {
  height: 50px;
  top: 0px;
}

#headermenu .fa-link:before {
  content: ''
}

#logo__mot {
  background: url(/index.php/view/media/getMedia?repository=2022&project=GeoportalRebuilt&path=media%2Fthemes%2Fdefault%2Fcss%2F/Logo_MOT_geo.png) no-repeat left center;
  background-size: contain;
  min-width: 65px;
  width: auto;
}

#header {
  display: flex;
  justify-content: unset;
  box-shadow: 0px 3px 3px 0px rgba(219, 219, 219, 1);
  height: 50px !important;
}



#auth {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0px 5px 2px;
  height: 48px;
  box-shadow: none;
}

#auth div {
  margin-top: 2px;
}

#title,
#title h1 {
  transform: none;
  display: block;
  color: #057940;
  /* max-width: 470px; */
  width: 470px;
  text-align: left;
  font-size: 16px !important;
  line-height: 19px !important;
  margin-left: 5px !important;
  margin-top: 5px;
}

#title h1 {
  font-weight: bold !important;
}

#title h2 {
  display: none;
}

.navbar-card-container {
  display: flex;
  font-weight: bold;
  width: 100%;
  margin-right: 260px;
  justify-content: center;
  align-items: center;
}



.navbar-card {
  color: black;
  grid-row: row;
  display: grid;
  grid-gap: 2px;
  grid-template-columns: 130px 130px;
  grid-auto-columns: 100px;
  z-index: 999999999999;
    height: 64px;
    align-self: start;
}

.manual-icon {
  background-image: url(/index.php/view/media/getMedia?repository=2022&project=GeoportalRebuilt&path=media%2Fthemes%2Fdefault%2Fcss%2F/qm_white.png) !important;
}

a:hover .manual-icon {
  -webkit-filter: invert(100%) !important;
}

.flex--center {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.navbar-card-header {
  grid-column: 1 / 3;
  grid-row: 1;
  background-color: #057940;
  color: white;
  font-size: 10px;
}

.navbar-card-left {
  grid-column: 1;
  grid-row: 2;
  transition: 0.2s all;
}

.navbar-card-right {
  grid-column: 2;
  grid-row: 2;
  transition: 0.2s all;
}


.btn-navbar-left:hover,
.btn-navbar-right:hover {
  color: #057940;
  cursor: pointer;
}

.btn-navbar {
  background-color: white;
  border: 1px solid #057940;
  color: black;
  max-height: 35px;
}

.navbar .nav {
  margin: 0 5px 0 0;
}

.navbar .nav>li>a {
  padding-right: 0px;
}

.btn-navbar-left,
.btn-navbar-right,
.navbar-card-lower {
  z-index: 9999;
}

.btn-navbar-left,
.btn-navbar-right {
  font-size: 10px !important;
  height: 100%;
}

.navbar-card2 {
  display: grid;
  grid-template-columns: 240px;
  grid-auto-columns: 100px;
  grid-row: row;
  grid-gap: 2px;
  z-index: 999999999999;
  margin-left: 2px;
}

.navbar-card-upper {
  grid-column: 1;
  grid-row: 1;
  background-color: #057940;
  color: white;
  max-height: 40px;
  transition: 0.2s all;
}

.navbar-card-upper:hover,
.navbar-card-lower:hover {
  background-color: white;
  color: #057940;
  border: 1px solid #057940;
  cursor: pointer;
}

.navbar-card-lower {
  grid-column: 1;
  grid-row: 2;
  background-color: #057940;
  color: white;
  max-height: 45px;
  transition: 0.2s all;
}

.navbar-card .dropdown-menu {
  background-color: #4A4A4A;
  background-color: rgba(0, 0, 0, 0.7);
}

.navbar-card .dropdown-menu>li>a {
  color: white;
  /*LIZ-20*/
  max-width: 300px;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

.navbar-menu {
  display: flex;
  justify-content: center;
  align-items: center;
    /* position: absolute; */
    /* left: 50%; */
    /* right: 50%; */
    z-index: 9999;
    color: black;
    font-weight: normal;
      height: 100%;
      /* width: 50px; */
}

.btn-navbar-right:hover {
    color: black;
}

.menu__button {
  border: none !important;
}

.menu__button img {
  height: 45px;
}

.navbar-menu a {
  border: none !important;

}

.custom-menu .dropdown .dropdown-menu li .icon {
  background-image: none;
}

.custom-menu .dropdown .dropdown-menu li>a {
  /*LIZ-20*/
  max-width: 300px;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

.navbar-menu i {
  font-size: 20px;
  width: 20px;
}

.navbar-card-container span {
    position: relative;
    top: 2px;
}


#logo {
  float: right;
  /*margin-right: 280px;*/
  background-size: 280px;
  background: url(/index.php/view/media/getMedia?repository=2022&project=GeoportalRebuilt&path=media%2Fthemes%2Fdefault%2Fcss%2F/./logo2019.png) no-repeat left center;
  background-size: contain;
  height: 40px;
  margin-top: 5px;
  width: 230px;
  margin-left: 10px;
}

.open>.dropdown-menu {
  z-index: 99999;
}

#dock {
  overflow: auto;
}

.details--parent ul {
  list-style: none;
  margin-left: 7px;
}

.details--children {
  margin-left: 10px;
}

.details__list--parent {
  margin-left: 0px;
    list-style: none;
}

.menu-level {
  padding: 5px;
  /* min-width: 350px; */
}

.link--menu a {
  color:black;
}

.menu__span {
      color: #0088cc;
    text-decoration: none;
    cursor: pointer;
    margin-left: 5px !important;
    font-size: 14px;
}

.navbar-menu .dropdown-menu.menu-level{
  left: auto;
    right: -200px;
    top: 38px;
    max-width: 420px;
    overflow: auto;
    max-height: calc(100vh - 65px);
}

.navbar-menu ul li a {
  display: list-item;
  white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media all and (max-width: 1595px) and (min-width: 1515px) {
  #kontakt {
    display: block;
  }

  .mail--icon {
    text-align: right;
  }
}

@media (max-width: 400px) {
.navbar-menu .dropdown-menu.menu-level{
    right: -110px;
    max-width: 250px;
}
}

@media (min-width: 1515px) {
  .navbar-menu {
    display: none;
  }
  #header {
    height: 65px !important;
    align-items: center
  }
  body {
    padding-top: 67px !important;
  }
  #headermenu {
    height: 66px;
  }
  #auth {
    height: 66px;
  }
  #logo_mot {
    height: 60px !important;
  }
}

@media (max-width: 1515px) {
  .navbar-card {
    display: none;
  }
  .navbar-card2 {
    display: none;
  }
  #auth {
    position: absolute;
    right: 0px;
    top: 0px;
    box-shadow: none;
  }
  #headermenu {
    height: 0px;
  }
  #logo__mot {
    height: 50px !important;
  }
  #header {
    box-shadow: 0px 3px 3px 0px rgba(219, 219, 219);
  }
  #logo {
    position: absolute;
    right: 260px;
    top: 0px;
  }
}

@media (max-width: 1150px) {
  #logo {
    display: none;
  }
}


@media (max-width: 1115px) {
  #title {
    display: none;
  }
}

@media (max-width: 767px) {
  #auth {
    padding-right: 20px;
  }
}

@media (max-width: 700px) {
  #kontakt {
    display: none;
  }
  #auth {
    display: flex;
    flex-direction: column-reverse;
  }
}

.navbar-inner .pull-right:nth-child(2) {
  margin-right: 2px;
}

.navbar__wrapper {
  position: absolute;
    height: 50px;
    width: 100%;
    justify-content: center;
    align-items: center;
}