.loader {
  display: none;
  border: 4px solid transparent;
  border-top: 4px solid #000;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 2s linear infinite;
  margin: auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

button.disabled,
input[type="submit"].disabled,
input[type="reset"].disabled,
input[type="button"].disabled,
button.disabled {
  pointer-events: none;
  opacity: .65;
}

section#detail .button-large img {
  max-height: 40px;
  margin-right: 10px;
}

section#detail {
  display: table;
  width: 100%;
  min-height: 100vh;
  overflow-y: scroll;
}

section#detail h1 {
  text-transform: none;
}

section#detail #wrapper {
  display: table-cell;
  width: 100%;
  padding: 100px 10%;
  vertical-align: middle;
}

section#detail .button {
  margin: 5px 2.5px
}

section#detail .button-large:hover {
  background: #3A5987;
  color: #fff;
}

section#detail .button.active {
  border: 1px solid #45555e !important;
  font-weight: 400;
  min-width: 155px;
  font-size: 18px;
  padding: 7.5px 16px;
  text-align: left;
}

section#detail table {
  margin-top: 30px
}

section#detail table td {
  border: 0 !important
}

section#detail .main-info {
  color: #888591;
  margin-bottom: 15px
}

section#detail .right-side {
  display: relative;
  padding-left: 30px
}

section#detail .line-pudorys {
  border-top: 1px solid #45555e;
  position: absolute;
  transform: rotate(-270deg);
  width: calc(100vh - 30vh);
  left: -25vw;
  bottom: 50%;
}

section#detail .line-pudorys .line-pudorys_text {
  position: absolute;
  font-size: 16px;
  top: 0;
  left: -30px;
  margin-top: -15px;
  padding: 0px 20px;
  text-transform: uppercase;
  background: #f0e7d3;
}

section#detail h1 {
  font-size: 40px !important
}

.back-box {
  width: 145px;
  font-size: 18px;
  text-transform: uppercase;
  padding: 15px;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  display: inline-block;
  height: 60px;
  background: #3A5987;
  color: #fff !important;
  white-space: nowrap;
  z-index: 10
}

section#detail .only-mobile {
  display: none;
}

#uvod {
  background-position: left 60% !important;
  background-size: 100%;
}

#apartmany .text-box .h1 {
  margin-bottom: 20px
}

#apartmany .col-xl-4 {
  position: relative;
  z-index: 1;
}

.detail-img img {
  max-height: 80vh;
}

.tool {
	position: absolute;
  text-align: center;
  font-size: 18px;
	background: white;
	padding: 10px 20px;
	z-index: 1010;
  width: 200px;
  white-space: nowrap;
}

.tool-arrow {
  background: url("../assets/images/tool-arrow.svg");
  background-size: contain;
  background-position: top;
  width: 16px;
  height: 16px;
}

.mapq {
	background-size: cover !important;
	background-repeat: no-repeat !important;
}

@media (min-width: 1200px) {
  #apartmany .text-box {
    position: absolute;
    top: 0;
    padding-right: 80px;
    background: #45555e;
    width: 100%;
  }
}

@media (min-width: 768px) {
  #apartmany .col-xl-4 {
    height: 320px;
  }
}

@media (max-width: 1199px) {
  section#detail .line-pudorys {
    position: relative;
    transform: none;
    left: auto;
    bottom: auto;
    margin-bottom: 30px;
    width: 100%
  }
}

@media (max-width: 767px) {
  section#detail .only-mobile {
    display: block;
  }
  section#detail .no-mobile {
    display: none;
  }
  section#detail .line-pudorys {
    display: none;
  }
  section#detail .pudorys-img {
    margin-top: 30px;
  }
  section#detail #wrapper {
    padding: 70px 15px;
  }
  section#detail .right-side {
    padding-left: 0px;
    padding: 0px 15px;
  }
  #uvod {
    background-position: 15% 0% !important;
    background-size: auto 120%;
  }
}

.eu-cookies {
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
  background: #3A5987;
  color: #FFFFFF;
  padding: 20px 0 15px;
  z-index: 1000;
}

@media (max-width: 767px) {
  .eu-cookies {
    padding: 25px 35px 35px;
  }

  .eu-cookies__success {
    text-align: right;
    margin-top: 30px;
  }
}

.eu-cookies p {
  font-size: 14px;
  font-family: 'source-sans-pro';
  font-weight: 400;
  margin-bottom: 0;
}

.eu-cookies p a.link {
  color: #FFFFFF;
  text-decoration: underline;
}

.eu-cookies p a.link:hover {
  text-decoration: none;
}

.eu-cookies p a.success {
  font-family: 'bebaskai';
  font-size: 25px;
  text-transform: uppercase;
  color: #3A5987;
  border: 1px solid #3A5987;
  background: #FFFFFF;
  padding: 4px 14px;
}

.eu-cookies p a.success:hover {
  background: #3A5987;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
}

.construction-gallery {
  padding: 50px 100px 10px;
}

.construction-gallery .row {
  margin-left: 0;
  margin-right: 0;
}

.construction-gallery .col-md-4 {
  padding: 25px;
}

.lightbox-square img {
  height: 100%;
  min-width: 100%;
}

@media (max-width: 768px) {
  .construction-gallery {
      padding: 30px 10px 0;
  }

  .construction-gallery .col-md-4 {
    padding: 12.5px 10px;
  }
}
