/* NAVBAR SECTION*/

body * {
  box-sizing: border-box;
}

html,
body {
  /* Make the body to be as tall as browser window */
  height: 100%;
  background: #fff;
}

nav.navbar-top {
  border-radius: 0px;
  margin-bottom: 0px;
  border: 0px;
}

nav img.logo {
  position: relative;
  width: 50px;
  top: -15px;
}

nav .map-title {
  font-family: "Maritime";
  line-height: 50px;
  float: right;
  font-size: 1.7em;
  color: rgb(0, 135, 197);
  margin-bottom: 0px;
  margin-top: 0px;
}

/* SIDEBAR SECTION */

div.sidebar {
  position: absolute;
  top: 60px;
  left: 10px;
  width: 400px;
  background-color: rgb(255, 255, 255);
  max-height: calc(100% - 50px);
  z-index: 1201;
}

div.sidebar .hidden {
  display: none;
}

div.sidebar .bar-container {
  max-height: calc(100vh - 170px);
}

.sidebar .sidebar-switch {
  position: relative;
  height: 40px;
}

.sidebar .sidebar-switch ul {
  position: relative;
  padding: 0px;
  margin: 0px;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}

.sidebar .sidebar-switch ul li {
  list-style: none;
  display: inline-block;
  margin: 0px !important;
  height: 40px;
  width: fit-content;
  box-sizing: border-box;
  line-height: 40px;
  text-align: center;
  vertical-align: top;
  cursor: pointer;
}

.sidebar .sidebar-switch ul li a {
  text-decoration: none;
  font-size: 1.2em;
}

.sidebar .sidebar-switch ul li a:hover {
}

.sidebar .sidebar-switch ul li.separator {
  border-right: 1px solid #dcdcdc;
  width: 1px !important;
  height: 30px;
  margin-top: 5px !important;
}

.sidebar .sidebar-switch ul li.active-mode {
}

.sidebar .sidebar-switch ul li.active-mode a {
}

.sidebar .sidebar-switch ul li a {
}

.sidebar-switch span.pointer {
  position: absolute;
  bottom: -2px;
  width: 15%;
  height: 3px;
  border-bottom-color: #e96656;
  border-bottom-style: solid;
  border-bottom-width: 0;
}

/* angular ngAnimate animations */

.sidebar .sidebar-switch ul li a:not(.selected) {
  color: #dcdcdc;
}

.selected-add,
.selected-remove {
  -webkit-transition: all ease 0.1s;
  -moz-transition: all ease 0.1s;
  -o-transition: all ease 0.1s;
  transition: all ease 0.1s;
}

.selected,
.selected-add.selected-add-active {
  color: #e96656;
}

.selected-remove.selected-remove-active {
  color: #dcdcdc;
}

.init-animation-add {
  -webkit-transition: all ease 0.2s;
  -moz-transition: all ease 0.2s;
  -o-transition: all ease 0.2s;
  transition: all ease 0.2s;
}

.init-animation,
.init-animation-add-active {
  border-bottom-width: 3 !important;
}

.left-align-add,
.left-align-remove,
.middle-left-align-add,
.middle-left-align-remove,
.middle-right-align-add,
.middle-right-align-remove,
.right-align-add,
.right-align-remove {
  -webkit-transition: all ease 0.1s;
  -moz-transition: all ease 0.1s;
  -o-transition: all ease 0.1s;
  transition: all ease 0.1s;
}

.left-align,
.left-align-add.left-align-add-active {
  left: 3%;
}

.middle-left-align,
.middle-left-align-add.middle-left-align-add-active {
  left: 29%;
}

.middle-right-align,
.middle-right-align-add.middle-right-align-add-active {
  left: 59%;
}

.right-align,
.right-align-add.right-align-add-active {
  left: 82.5%;
}

/* /angular ngAnimate animations */

.sidebar .sidebar-search {
  position: relative;
  width: 100%;
}

.sidebar .sidebar-search input {
  border-radius: 0px;
  width: 100%;
  padding-left: 40px;
  height: 40px;
  color: rgb(0, 135, 197);
  border: 0px;
  background-color: transparent;
}

.sidebar .sidebar-search img:not(.remove-text) {
  position: absolute;
  left: 5px;
  top: 5px;
  max-height: 30px;
}

.sidebar .sidebar-search img.remove-text {
  position: absolute;
  top: 5px;
  padding: 10px;
  right: 2px;
  cursor: pointer;
}

/* FILTERS */

.searched-num {
  display: none;
}

div.sidebar div.remove-filters {
  position: absolute;
  height: 40px;
  margin-right: 10px;
  padding: 10px 10px;
  z-index: 2;
  color: #fff;
  right: 40px;
  top: 80px;
  z-index: 2;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

div.sidebar div.remove-filters img {
  position: relative;
  top: -1px;
  max-height: 15px;
}

div.sidebar div.remove-filters span {
  position: relative;
}

div.sidebar .section-header {
  position: relative;
  height: 40px;
  padding-left: 40px;
  background-color: rgba(0, 135, 197, 0.9);
  color: #fff;
  cursor: pointer;
  z-index: 1;
  /*dodane*/
  left: 0px;
  width: 100%;
}

div.sidebar .filters-header {
  border-bottom: 1px solid #f5f5f5;
}

div.sidebar .section-header .icon-counter img {
  position: absolute;
  left: 5px;
  top: 5px;
  max-height: 28px;
}

div.sidebar .section-header .icon-counter span.number {
  position: absolute;
  left: 30px;
  bottom: 5px;
  font-size: 0.9em;
}

div.sidebar .section-header span.title {
  line-height: 35px;
  font-size: 1.3em;
  margin-left: 17px;
}

div.sidebar .section-header span.glyphicon {
  font-size: 1.5em;
  top: 8px;
  right: 4px;
}

div.sidebar .section-header span.glyphicon.glyphicon-triangle-top,
div.sidebar .section-header span.glyphicon.glyphicon-triangle-bottom {
  float: right;
  margin-right: 5px;
}

.sidebar .filters-container {
  padding: 10px 5px;
  max-height: calc(100vh - 230px) !important;
  overflow-y: auto;
}

.sidebar .single-filter {
  display: inline-block;
  width: 25%;
  height: 85px;
  padding: 10 5 5 5;
  text-align: center;
  cursor: pointer;
  vertical-align: top;
}

.sidebar .single-filter:hover {
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}

.sidebar .single-filter > p {
  font-size: 0.9em;
}

.sidebar .single-filter > img {
  height: 30px;
  margin-bottom: 5px;
}

/* detail filters group */

.sidebar .detail-filters-container {
  padding: 20px 10px;
  margin-top: 20px;
}

.sidebar .detail-filters-panel {
  position: relative;
}

.sidebar .detail-filters-panel > * {
  display: inline-block;
  vertical-align: bottom;
}

.sidebar .detail-filters-panel > span {
  line-height: 30px;
}

.sidebar .detail-filters-panel .detail-filters-actions {
  position: absolute;
  right: 0px;
  top: -3px;
}

.sidebar .detail-filters-panel .detail-filters-actions .btn {
  position: relative;
  padding: 6px 30px 4px 10;
  outline: 0 !important;
  border-radius: 0px;
  border: 1px solid transparent;
}

.sidebar .detail-filters-actions .btn:hover,
.sidebar .detail-filters-actions .btn:focus,
.sidebar .detail-filters-actions .btn:active {
  background-color: #fff;
}

.sidebar .detail-filters-panel .detail-filters-actions button#remove-filters {
}

.sidebar
  .detail-filters-panel
  .detail-filters-actions
  button#remove-filters:after {
  position: absolute;
  display: block;
  content: "\00d7";
  font-size: 1.2em;
  top: 3;
  right: 15;
}

.sidebar .detail-filters-panel .detail-filters-actions button#save-filters {
  background-color: #fff;
  color: #e96656;
}

.sidebar
  .detail-filters-panel
  .detail-filters-actions
  button#save-filters:after {
  position: absolute;
  display: block;
  content: "\2713";
  top: 5;
  right: 15;
  -ms-transform: rotate(8deg);
  -webkit-transform: rotate(8deg);
  transform: rotate(8deg);
}

.sidebar
  .detail-filters-panel
  .detail-filters-actions
  button#save-filters:not([disabled="disabled"]):hover {
}

.detail-filters-actions button[disabled="disabled"] {
  cursor: default !important;
}

.sidebar .detail-filters-group {
  margin-top: 20px;
  position: relative;
}

.sidebar .detail-filters-group:nth-child(2) {
  padding-top: 15px;
  margin-top: 0px;
  border-top: 1px solid #dcdcdc;
}

.sidebar .detail-filters-group .group-header {
  position: relative;
  cursor: pointer;
}

.sidebar .detail-filters-group .group-header p {
  margin-bottom: 0px;
  padding-bottom: 10px;
}

.sidebar .detail-filters-group .group-header:hover p {
  color: #3e3e3e;
  font-weight: bold !important;
}

.sidebar .detail-filters-group .group-header:hover span.glyphicon {
  color: #a3a3a3;
}

/* highlight when some filters are selected in group */

.sidebar .detail-filters-group .group-header.some-selected p {
  color: #e96656 !important;
}

.sidebar .detail-filters-group .group-header.some-selected span.glyphicon {
  color: #e96656 !important;
}

.sidebar .detail-filters-group .group-header span.glyphicon {
  position: absolute;
  top: 5px;
  right: 10px;
  color: #ccc;
}

.sidebar .detail-filters-group .group-container {
  border-bottom: 1px solid #dcdcdc;
  padding: 5px 0px;
}

.sidebar .detail-filters-group:last-child .group-container {
  border-bottom: 0px solid transparent;
}

.sidebar .detail-filters-group .group-container .detail-filter {
  width: 33.3%;
  padding: 0px 5px;
  display: inline-block;
}

.sidebar .detail-filters-group .detail-filter label {
  cursor: pointer !important;
  width: 100%;
}

.sidebar .detail-filters-group .detail-filter label .input-desc {
  position: relative;
  width: calc(100% - 15px);
  float: right;
}

.sidebar .detail-filters-group .detail-filter label .input-desc > * {
  display: inline-block;
}

.sidebar .detail-filters-group .group-container .detail-filter p {
  color: #626262 !important;
  font-size: 0.8em;
  text-align: left;
  width: calc(100% - 45px);
}

/* checkboxes */

.sidebar .detail-filters-group .detail-filter label input[type="checkbox"] {
  display: none;
}

.sidebar
  .detail-filters-group
  .detail-filter
  label
  input[type="checkbox"]
  + label {
  position: relative;
  top: 5px;
  background: url(/img/map/unchecked.png) no-repeat;
  height: 15px;
  width: 15px;
  display: inline-block;
  padding: 0 0 0 0px;
}

.sidebar
  .detail-filters-group
  .detail-filter
  label
  input[type="checkbox"]:checked
  + label {
  position: relative;
  top: 5px;
  background: url(/img/map/checked.png) no-repeat;
  height: 15px;
  width: 15px;
  display: inline-block;
  padding: 0 0 0 0px;
}

/* /checkboxes */

.sidebar
  .detail-filters-group
  .group-container
  .detail-filter
  .detail-filter-icon {
  width: 30px;
  margin: 0px 2px;
  vertical-align: top;
}

/* LIST */

.loading-animation {
  width: 100%;
  text-align: center;
  padding: 10px 0px;
}

.loading-animation i {
  font-size: 2.2em;
  color: rgb(0, 135, 197);
}

p.no-found {
  margin-bottom: 0px;
  padding: 15px;
  text-align: center;
}

.sidebar-list .list-container {
  border: 1px solid #dcdcdc;
}

@media screen and (min-width: 769px) {
  .sidebar-list .list-container {
    max-height: calc(100vh - 230px) !important;
  }
}

.sidebar-list .section-header .icon-counter span.number {
  left: 34px !important;
}

.sidebar-list .section-header .icon-counter span.glyphicon {
  font-size: 1.6em;
}

.list-container {
  overflow-y: auto;
}

/* turistic-obj */

.turistic-obj {
  position: relative;
  padding: 16px;
  overflow: auto;
}

.turistic-obj:hover,
.turistic-obj:focus {
  background-color: #fff;
  box-shadow: 10px 10px 50px rgba(0, 0, 0, 0.1);
}

.turistic-obj .obj-separator {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 15px;
  width: calc(100% - 30px);
  border-bottom: 1px solid #dcdcdc;
  height: 1px;
}

.turistic-obj-date span {
  color: #bd1622;
}

/* turistic-obj.with-image */

.turistic-obj.with-image .graphic-part,
.turistic-obj.with-image .description-part {
  display: inline-block;
  vertical-align: top;
}

.turistic-obj.with-image .graphic-part {
  position: relative;
}

.turistic-obj.with-image .graphic-part > img:first-child {
  max-height: 200px;
}

.turistic-obj.with-image .graphic-part .obj-icon {
  position: absolute;
  right: -20px;
  bottom: -10px;
}

.turistic-obj.with-image .graphic-part .track-icon {
  border-radius: 50%;
  background: #fff;
}

.turistic-obj.with-image .description-part {
  position: relative;
  width: calc(100% - 110px);
  padding-left: 15px;
}

.turistic-obj.with-image .description-part .obj-name {
  font-size: 1.1em;
}

/* turistic-obj:not(.with-image) */

.turistic-obj:not(.with-image) {
  position: relative;
}

.turistic-obj:not(.with-image) .description-part {
}

.turistic-obj:not(.with-image) .obj-address {
  margin-left: 10px;
  max-width: 200px;
}

.turistic-obj:not(.with-image) .obj-icon,
.turistic-obj:not(.with-image) .obj-address {
  display: inline-block;
}

.turistic-obj:not(.with-image) .obj-icon {
  vertical-align: top;
}

.turistic-obj:not(.with-image) .description-part .obj-name {
  font-size: 1.1em;
}

.turistic-obj:not(.with-image) .obj-read-more {
}

.obj-read-more {
  float: right;
  cursor: pointer;
  padding: 6px;
}

.obj-read-more:hover,
.obj-read-more:focus {
  text-decoration: none;
}

/* activated object */

.activated-obj {
  padding: 10px;
}

.activated-obj .activated-remove {
  position: relative;
  top: 3px;
  right: 3px;
  float: right;
  padding: 0px 0px 15px 15px;
  cursor: pointer;
}

.activated-header .activated-title {
  font-size: 1.1em;
}

.activated-header {
  margin-bottom: 10px;
}

.activated-galery {
  margin-bottom: 10px;
}

.activated-obj img[lazy-img] {
  margin: auto !important;
}

.section-desc {
  padding-bottom: 5px;
  border-bottom: 1px solid #d2d2d2;
  font-weight: bold !important;
  font-size: 1.1em;
  margin-top: 20px;
}

.activated-info ul,
.activated-desc p:last-child {
  padding: 0px 10px !important;
}

.activated-info ul {
  list-style: none;
  padding-left: 0px;
}

.activated-info ul li {
  margin-bottom: 5px;
}

.activated-info ul li img {
  max-width: 25px;
}

.activated-info ul li span {
  margin-left: 5px;
}

/* if activated obj is sleep obj */

.sleep-desc.sleep-prices .single-detail {
  display: inline-block;
  width: 50% !important;
}

.sleep-desc .single-detail {
  display: inline-block;
  width: 33.3%;
  padding-left: 5px;
  margin-bottom: 10px;
}

.sleep-desc.sleep-prices .single-detail .side p:last-child {
  color: rgb(0, 135, 197);
}

.single-detail .side {
  display: inline-block;
  vertical-align: top;
}

.single-detail .side:last-child {
  width: calc(100% - 35px);
}

.single-detail .side img {
  width: 30px;
}

.single-detail .side p {
  margin-bottom: 0px;
  font-size: 0.9em;
}

/* PAGINATION */

.list-pagination {
  padding: 0px 15px;
  background: #f5f5f5;
  border-top: 1px solid #dcdcdc;
}

.list-pagination li a {
  cursor: pointer;
}

/* MAP SECTION */

#map {
  position: absolute;
  width: 100%;
  height: calc(100% - 50px);
  cursor: default;
}

/* tapping animation */

.map-tap {
  position: absolute;
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
}

.map-tap.ng-hide-remove {
  -webkit-animation: 0.2s show;
  /* Safari 4+ */
  -moz-animation: 0.2s show;
  /* Fx 5+ */
  -o-animation: 0.2s show;
  /* Opera 12+ */
  animation: 0.2s show;
  /* IE 10+, Fx 2 */
}

.map-tap.ng-hide-add {
  -webkit-animation: 0.2s hide;
  /* Safari 4+ */
  -moz-animation: 0.2s hide;
  /* Fx 5+ */
  -o-animation: 0.2s hide;
  /* Opera 12+ */
  animation: 0.2s hide;
  /* IE 10+, Fx 2 */
}

@keyframes show {
  0% {
    opacity: 0;
    transform: scale(0.1);
  }
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
}

@-webkit-keyframes show {
  0% {
    opacity: 0;
    transform: scale(0.1);
  }
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
}

@keyframes hide {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@-webkit-keyframes hide {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

/* /tapping animation */

div.map-background-controls {
  position: fixed;
  bottom: 10px;
  right: 10px;
  display: block;
  z-index: 1201 !important;
}

div.map-background-controls ul {
  list-style: none;
  padding: 0px;
}

div.map-background-controls ul li {
  display: inline-block;
  padding: 5px 10px;
  font-weight: 400;
  font-size: 1.1em;
  background-color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

div.map-background-controls ul li.active {
  color: rgb(0, 135, 197);
}

div.map-background-controls ul li:not(:last-child) {
  margin-right: 5px;
}

/* zooms */

div.leaflet-control-zoom.leaflet-bar.leaflet-control {
  border-radius: 0px;
  box-shadow: none;
}

div.leaflet-control-zoom.leaflet-bar.leaflet-control .leaflet-control-zoom-in,
div.leaflet-control-zoom.leaflet-bar.leaflet-control .leaflet-control-zoom-out {
  border-radius: 0px;
  padding-top: 8px;
  font-size: 2em;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 135, 197, 0.9);
  color: #fff;
}

.activated-galery:hover img.img-responsive {
  filter: brightness(50%);
}

.activated-galery {
  position: relative;
}

.activated-galery:hover .search {
  display: block;
}

.search {
  position: absolute;
  display: none;
  top: 47%;
  width: 40px;
  margin: 0 auto;
  left: 0px;
  right: 0px;
  z-index: 100;
}

.poilist {
  padding: 0px 10px !important;
}

.poilist img {
  width: 22px;
  height: 17px;
  padding-right: 4px;
  float: left;
}

.poilist span {
  width: 85%;
  float: left;
  float: none;
}

.poilist a {
  color: #626262;
  cursor: pointer;
}

.poilist a:hover {
  text-decoration: none;
  color: #337ab7;
}

.poilist p.ng-scope {
  width: 48%;
  display: inline-block;
  margin-bottom: 7px;
  vertical-align: top;
}

.poilist p.ng-scope:nth-child(even) {
  margin-right: 12px;
}

/* rozwin pole z atrakcjami*/

.showMore {
  width: 100%;
  color: rgba(0, 135, 197, 0.9);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 10px;
}

.showMore span {
  width: auto;
  cursor: pointer;
}

.showMore div {
  flex-grow: 1;
  height: 0;
  border: 0;
  border-bottom: 1px solid rgba(0, 135, 197, 0.9);
  margin-right: 10px;
}

.poilists-short p.ng-scope:nth-child(n + 9) {
  display: none;
}

/* filtry szlaków tematycznych i turystycznych*/

.tracks-filters {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid lightgrey;
  margin: 20px;
  margin-top: 0;
}

.tracks-filters--bottom {
  margin-bottom: 0;
  border-bottom: 0;
  border-top: 1px solid lightgrey;
}

.tracks-filters__inputs > div {
  width: 50%;
}

.tracks-filters__inputs > div:first-child {
  padding-right: 20px;
}

.tracks-filters__inputs > div:last-child {
  padding-left: 20px;
}

.tracks-filters__inputs input,
.tracks-filters__inputs select {
  width: 100%;
  height: 26px;
}

.tracks-filters span {
  font-family: "NerisLight", sans-serif !important;
  color: #626262;
  font-weight: normal !important;
}

.tracks-filters > label {
  display: flex;
  align-items: baseline;
  cursor: pointer;
}

.tracks-filters .check-primary__label {
  top: 3px;
}

.check-primary__input {
  display: none;
}

.check-primary__input + .check-primary__label,
.check-primary__input:checked + .check-primary__label {
  position: relative;
  height: 15px;
  width: 15px;
  min-width: 15px;
  min-height: 15px;
  display: inline-block;
  padding: 0 0 0 0px;
  margin: 0;
  margin-right: 7px;
  cursor: pointer;
}

.check-primary__input + .check-primary__label {
  background: url(/img/map/unchecked.png) no-repeat;
}

.check-primary__input:checked + .check-primary__label {
  background: url(/img/map/checked.png) no-repeat;
}

.activatedObject__filters-info {
  margin-top: 10px;
}

/* checkbox integracji wynikow wyszukiwania z przesuwaniem mapy */
.sidebar-integrate {
  position: absolute;
  top: 0;
  left: 410px;
  z-index: 1201;
  background: white;
  padding: 5px;
  color: #626262;
  width: 290px;
  height: 40px;
}

.sidebar-integrate__container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.sidebar-integrate__label {
  display: flex;
  align-items: center;
  margin: 0;
}

.sidebar-integrate__checkbox[type="checkbox"] {
  margin-top: 2px;
}

.sidebar-integrate__text {
  margin-left: 5px;
  font-weight: 400;
}

.pointedFeature {
  padding: 10px;
  background-color: orange;
  border-radius: 50%;
  box-sizing: content-box;
  margin-left: -30px !important;
  margin-top: -52px !important;
}

.langPanel-wrapper {
  padding-top: 10px;
  float: right;
}

.leaflet-control-search .search-tooltip {
  left: unset;
  right: 0;
  width: 75vw;
  max-width: 600px;
}

.leaflet-container .leaflet-control-search {
  float: right;
}

.label-feature {
  font-size: 1.1em;
  font-weight: bold;
  color: #626262;
}

.leaflet-overlay-pane > svg {
  z-index: 1;
}

.route-alert--calc {
  font-size: 16px;
  display: flex;
  align-items: center;
}

.route-alert--calc .fa {
  margin-right: 15px;
}

.modal {
  z-index: 1310;
}

.modal-backdrop {
  z-index: 1300;
}

.clear-right {
  clear: right;
}
