.page {
  padding-top: 230px;
  background-color: #000;
}

.sticky-shrinknav-menu {
  position: absolute;
  bottom: 0;
  height: 3.75rem;
  line-height: 3.75rem;
  width: 100%;
  /*
  background-color: rgba(255, 255, 255, 0.5);
  */
  transition: all 0.5s ease;
}

.sticky-shrinknav-menu li {
  border-radius: 3px;
  transition: all 0.3s ease;
}

.sticky-shrinknav-menu li a:hover {
  box-shadow: 0 0 0 1px #fefefe;
}

.sticky-shrinknav-menu a {
  color: #fefefe;
}

.sticky-shrinknav-menu li.menu-text {
  color: #fefefe;
}


.sticky-shrinknav-header-title {
  transition: all 0.3s ease;
  position: relative;
  -webkit-transform: translateY(-1.875rem);
      -ms-transform: translateY(-1.875rem);
          transform: translateY(-1.875rem);
  margin-bottom: 0;
  font-weight: 900;
  color: #fff;
  /*
  color: rgba(0, 0, 0, 0.7); 
  */
}

.sticky-shrinknav-header {
  width: 100%;
  height: 200px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: rgba(0,0,0,0.9);
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  z-index: 100;
}

body.sticky-shrinknav-wrapper {
  padding-top: 130px;
  background-color: #fff !important;
}

body.sticky-shrinknav-wrapper .sticky-shrinknav-header {
  height: 3.75rem;
  background-color: rgba(0, 0, 0, 0.9);
}

body.sticky-shrinknav-wrapper .sticky-shrinknav-header .sticky-shrinknav-header-title {
  -webkit-transform: scale(0);
      -ms-transform: scale(0);
          transform: scale(0);
  transition: all 0.3s ease;
}

li.menu-text img {
    height: 30px;
}

#left-menu {
    padding-left: 20%;
    display: none;
}

#right-menu {
    padding-right: 20%;
    background: none;
}

.orbit {
    margin-top: -30px;
    
}

.orbit-caption {
    background: none;
    font-weight: 900; 
    text-align: right;
    padding-right: 20%;
}

.orbit-caption h1 {
    font-weight: 900; 
}

.orbit-caption {
display: block;
    position: absolute;
    bottom: 25px;
    margin: 0 auto;
}

.map-img {
    width: 100px;
    height: 100px;
}

.sticky-shrinknav-header-title {
    font-size: 1.5rem !important;
}    



#map {
    width:100%; height: 600px; display:block;
}

#contact {
    padding-top: 100px;
    padding-bottom: 50px;
    background-color: #fff;
}

#contact h2 {
    width: 100%;
    text-align: center;
    padding-bottom: 50px;
    font-weight: 900;
}

#contact label {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

#contact label.error {
    padding-top: 0rem;
    padding-bottom: 0.5rem;
    margin-top: -0.5rem;
    color: #dd3333;
}

#contact-form-mess {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.contact-form-error {
    color: #dd3333;
}

footer {
    background-color: rgba(0,0,0,0.9);
    color: #fff;
    padding-top: 30px;
    padding-bottom: 30px;
}

.spinner {
  margin: 50px auto 0;
  width: 70px;
  text-align: center;
}
.spinner > div {
  width: 18px;
  height: 18px;
  background-color: #000;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
  animation: bouncedelay 1.4s infinite ease-in-out;
  /* Prevent first frame from flickering when animation starts */
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
@-webkit-keyframes bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
  }
}
@keyframes bouncedelay {
  0%,
  80%,
  100% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }
  40% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}

.pre-loader {
  background: #fff;
}

figcaption h1 {
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 1);
}

ul.orbit-container {
    height: auto !important;
}
li.orbit-slide {
    max-height: none !important;
}

.ol-popup {
  position: absolute;
  background-color: white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -50px;
  min-width: 150px;
}
.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: "✖";
}

.text-center {
  text-align: center;
}

/*wiecej niz 640px*/
@media print, screen and (min-width: 40em) {
  .orbit-caption {
      bottom: 50px !important;
  }    
  .orbit-caption h1 {
      font-size: 2.5rem;
  }
  .map-img {
      width: 200px;
      height: 200px;
  }
  .ol-popup {
    min-width: 250px;
  }
  
  .sticky-shrinknav-header-title {
      font-size: 1.5rem !important;
  }    
}

/*wiecej niz 1024px*/
@media print, screen and (min-width: 64em) {
  .orbit-caption {
      bottom: 120px;
  }    
  .orbit-caption h1 {
      font-size: 4rem;
  }
  .map-img {
      width: 400px;
      height: 400px;
  }
  .ol-popup {
    min-width: 450px;
  }


  .sticky-shrinknav-header-title {
      font-size: 2rem !important;
  }    
}    
