.step_nav {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: block;
}

.page-id-875.fusion-body .fusion-flex-container.fusion-builder-row-2,
.page-id-1066.fusion-body .fusion-flex-container.fusion-builder-row-2,
.page-id-2153.fusion-body .fusion-flex-container.fusion-builder-row-2,
.page-id-2171.fusion-body .fusion-flex-container.fusion-builder-row-2 {
  margin-top: 0;
}

div.actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 25px;
  border-bottom: 0;
  position: relative;
  right: 0;
  top: 0;
  width: 100%;
}

div.actions {
  padding: 0 25px 25px 25px;
  /* top: -120px; */
  justify-content: end;
}

body:not([data-sc-interactive-images-current-id="1"]) div.actions {
  top: -60px;
}

body[data-sc-interactive-images-current-id="19"] div.actions {
  top: -30px;
}

body[data-sc-interactive-images-current-id="18"] div.actions {
  top: 0;
}

.sc-interactive-images-name {
  margin: 0 !important;
  text-align: right !important;
}

div.actions .button {
  border: 0;
  border-radius: 0;
  text-transform: none;
  cursor: pointer;
  font-weight: 300;
  transition: 200ms background ease, 200ms color ease, 200ms border ease;
  -webkit-transition: 200ms background ease, 200ms color ease, 200ms border ease;
  padding: 0;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  align-items: center;
  height: 40px;
  width: 40px;
  text-decoration: none;
  letter-spacing: 0;
  font-size: 14px;
  background: #08172e;
  color: #fff;
}

div.actions .button.button-prev {
  margin: 0;
  position: absolute;
  bottom: 0;
  width: 40px;
  background: url(../images/spinnerr.svg) 50%/20px no-repeat #08172e;
  border: 0;
  left: 0;
}

div.actions .button.button-next {
  margin: 0 10px;
  background: #fff;
  padding: 0 15px;
  width: auto;
  color: #08172e;
}

div.actions .button.button-next:after {
  content: "Obróć budynek";
  font-size: 15px;
}

div.actions .button.button-next:before,
div.actions .button.button-prev:before {
  display: none;
}

div.actions .button.button-next:hover,
div.actions .button.button-prev:hover {
  background-color: #d0b37b;
}

div.actions .button.button-parent:hover {
  background: #08172e;
  color: #d0b37b;
}

.sc-interactive-images-wrapper {
  margin: 20px;
  width: 100%;
  position: relative;
  min-height: 400px;
}

.sc-interactive-images-wrapper object {
  width: 100%;
  transition: height 0.3s;
  display: block;
}

.sc-interactive-images-wrapper object.loaded {
  display: block;
}

.sc-interactive-images-wrapper .table-header,
.sc-interactive-images-wrapper .table-body-row {
  display: flex;
  justify-content: space-between;
}

.sc-interactive-images-wrapper .table-body-row {
  border: 1px solid black;
  margin-top: 10px;
  transition: 1s background-color;
}

.sc-interactive-images-wrapper .table-body-row.active {
  background-color: #468847;
}

.sc-interactive-images-wrapper .table-body-row .table-single-item,
.sc-interactive-images-wrapper .table-header .table-single-header {
  overflow-wrap: anywhere;
  text-align: center;
  flex: unset;
  padding: 10px;
  width: 100%;
}

.sc-interactive-images-wrapper .table-body-row .table-single-item a,
.sc-interactive-images-wrapper .table-body-row .table-single-item a:link,
.sc-interactive-images-wrapper .table-body-row .table-single-item a:active {
  color: #0d66c2;
}

.sc-interactive-images-wrapper .table-body-row .table-single-item img {
  max-width: 100%;
}

.sc-interactive-images-wrapper
  .table-body-row
  .table-single-item
  button.sc-interactive-images-btn,
.sc-interactive-images-wrapper
  .table-body-row
  .table-single-item
  a.sc-interactive-images-btn {
  background-color: #0d66c2;
  color: white;
  padding: 5px 10px 5px 13px;
  font-size: 0;
}

.sc-interactive-images-wrapper
  .table-body-row
  .table-single-item
  button.sc-interactive-images-btn:before,
.sc-interactive-images-wrapper
  .table-body-row
  .table-single-item
  a.sc-interactive-images-btn:before {
  content: "Zobacz";
  color: white;
  font-size: 13px;
}

html[lang="en-US"]
  .sc-interactive-images-wrapper
  .table-body-row
  .table-single-item
  button.sc-interactive-images-btn:before,
html[lang="en-US"]
  .sc-interactive-images-wrapper
  .table-body-row
  .table-single-item
  a.sc-interactive-images-btn:before {
  content: "More";
}

.sc-interactive-images-wrapper form {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.sc-interactive-images-wrapper form .form-group {
  padding: 0;
  flex: unset;
  flex-basis: 20%;
}

.sc-interactive-images-wrapper form .form-group .input-group {
  display: flex;
  justify-content: space-between;
}

.sc-interactive-images-wrapper form .form-group .input-group input {
  flex-basis: 49%;
}

.sc-interactive-images-wrapper form button {
  white-space: nowrap;
}

.sc-interactive-images-wrapper form input,
.sc-interactive-images-wrapper form select {
  background-color: white;
}

/* preloader */
#loader-wrapper {
  top: 0;
  left: 0;
  width: 100%;
  height: 400px;
  background: black;
  padding: 40px 0;
  position: absolute;
}

#loader {
  display: block;
  position: relative;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #d0b37b;
  -webkit-animation: spin 2s linear infinite;
  /* Chrome, Opera 15+, Safari 5+ */
  animation: spin 2s linear infinite;
  /* Chrome, Firefox 16+, IE 10+, Opera */
  z-index: 1001;
}

#loader:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #d0b37b;
  -webkit-animation: spin 3s linear infinite;
  /* Chrome, Opera 15+, Safari 5+ */
  animation: spin 3s linear infinite;
  /* Chrome, Firefox 16+, IE 10+, Opera */
}

#loader:after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #d0b37b;
  -webkit-animation: spin 1.5s linear infinite;
  /* Chrome, Opera 15+, Safari 5+ */
  animation: spin 1.5s linear infinite;
  /* Chrome, Firefox 16+, IE 10+, Opera */
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(0deg);
    /* IE 9 */
    transform: rotate(0deg);
    /* Firefox 16+, IE 10+, Opera */
  }

  100% {
    -webkit-transform: rotate(360deg);
    /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(360deg);
    /* IE 9 */
    transform: rotate(360deg);
    /* Firefox 16+, IE 10+, Opera */
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(0deg);
    /* IE 9 */
    transform: rotate(0deg);
    /* Firefox 16+, IE 10+, Opera */
  }

  100% {
    -webkit-transform: rotate(360deg);
    /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(360deg);
    /* IE 9 */
    transform: rotate(360deg);
    /* Firefox 16+, IE 10+, Opera */
  }
}

#loader-wrapper .loader-section {
  position: relative;
  top: 0;
  width: 51%;
  height: 100%;
  background: #222222;
  z-index: 1000;
  -webkit-transform: translateX(0);
  /* Chrome, Opera 15+, Safari 3.1+ */
  -ms-transform: translateX(0);
  /* IE 9 */
  transform: translateX(0);
  /* Firefox 16+, IE 10+, Opera */
}

.loaded #loader {
  opacity: 0;
}

.loaded #loader-wrapper {
  visibility: hidden;
  -webkit-transform: translateY(-100%);
  /* Chrome, Opera 15+, Safari 3.1+ */
  -ms-transform: translateY(-100%);
  /* IE 9 */
  transform: translateY(-100%);
  /* Firefox 16+, IE 10+, Opera */
}

/* JavaScript Turned Off */
.no-js #loader-wrapper {
  display: none;
}

.sortable:hover {
  cursor: pointer;
  opacity: 1;
}

.sortable {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  white-space: normal;
}

.sortable:after {
  width: 5px;
  height: 5px;
  transform: rotate(-45deg);
  content: "";
  margin: -2px 0 0 8px;
  border-left: 1px solid;
  border-bottom: 1px solid;
}

.sortable.asc:after {
  border-top: 1px solid;
  border-right: 1px solid;
  border-left: 0;
  border-bottom: 0;
  margin: 5px 0 0 8px;
}

.sortable.desc:after {
  border-left: 1px solid;
  border-bottom: 1px solid;
  margin: -2px 0 0 8px;
}

#video-loader-wrapper {
  display: none;
}

@media (max-width: 1540px) {
  .sc-interactive-images-wrapper .table-body-row .table-single-item {
    border-left: 0 !important;
  }
}

@media (max-width: 1152px) {
  body .sc-interactive-images-wrapper form {
    flex-wrap: wrap;
  }

  .sc-interactive-images-wrapper .table-body-row .table-single-item {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    flex: unset;
    padding: 10px;
    flex-wrap: wrap;
    max-width: 100% !important;
  }

  .table-single-item:last-child {
    width: 100% !important;
    border-bottom: 0 !important;
  }

  .table-body {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
  }

  .table-single-item:last-child {
    margin: 20px auto;
  }

  .table-header {
    display: none !important;
  }

  body .table-single-item:first-child {
    height: auto;
  }

  html body .sc-interactive-images-wrapper .table-body-row,
  html body .sc-interactive-images-wrapper .table-body-row:first-child {
    width: 46%;
    margin: 4% 2% 0;
    padding: 10px;
    background: #fff;
    box-shadow: 0 12px 15px rgb(0 0 0 / 7%);
    border: 1px solid #dfdfdf;
    align-items: flex-start;
    align-content: flex-start;
    background: #fff;
    flex-wrap: wrap;
  }

  body .sc-interactive-images-wrapper {
    margin: 0;
  }

  body .sc-interactive-images-wrapper form {
    margin: 40px 0;
  }

  .table-single-item:first-child {
    height: auto;
    border-right: 0;
  }

  [data-label]:before {
    content: attr(data-label);
    width: 100%;
    font-size: 14px;
    opacity: 0.65;
    text-align: center;
    color: #1d1d1b;
    margin: 0 0 5px;
  }

  body .sc-interactive-images-wrapper form {
    flex-wrap: wrap;
  }

  body .sc-interactive-images-wrapper form .form-group {
    flex-basis: 46% !important;
    margin: 2%;
    padding: 0;
  }

  body .sc-interactive-images-wrapper form button {
    margin: 50px auto;
  }
}

.sc-interactive-images-wrapper form .form-group:first-of-type {
  display: none;
}

#pagination {
  display: inline-block;
  margin-bottom: 1em;
  margin-top: 1em;
}

#pagination li {
  display: inline-block;
  margin-inline: 5px;
}

/* @media (max-width: 1200px) {
  div.actions {
    top: -90px;
  }
}

@media (max-width: 1060px) {
  div.actions {
    top: -85px;
  }
}

@media (max-width: 980px) {
  div.actions {
    top: -80px;
  }
}
*/
@media (max-width: 900px) {
  body:not([data-sc-interactive-images-current-id="1"]) div.actions {
    top: -75px;
  }

  body[data-sc-interactive-images-current-id="19"] div.actions {
    top: -20px;
  }

  body[data-sc-interactive-images-current-id="18"] div.actions {
    top: -10px;
  }
}

@media (max-width: 768px) {
  body .sc-interactive-images-wrapper form .form-group,
  html body .sc-interactive-images-wrapper .table-body-row,
  html body .sc-interactive-images-wrapper .table-body-row:first-child {
    width: 100% !important;
    flex-basis: 100% !important;
    margin: 10px 0;
  }

  .image-overflow,
  .wrap.flex .sc-interactive-images-wrapper {
    display: none !important;
  }
}
