/*
 * Shared styles for all colour configurator templates (house, block of
 * flats, tenement house, interior).
 *
 * Enqueued before each type's own stylesheet (dom/style.css,
 * kamienica/style.css, wnetrze/style.css, blok/style2.css), so anything
 * defined here can be overridden by the type-specific styles.
 */

#wrap_domek {
  overflow: hidden;
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

#controls{
  width: 100%;
  display: block;
  margin: 15px 0 0 0;
}

#war{
  position: absolute;
  right: 5px;
  color: #fff;
  font-size: 12px;
  bottom: 5px;
  padding-left: 5px;
  background: rgba(0, 0, 0, 0.5);
}

#colors, #colors2, #colors-roof, #colors-woodwork, #colors-floor, #elewacje {
  width: 100%;
  float: left;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  padding: 15px;
  background: #25282a;
}

.single-color, .second-color, .single-color-roof, .single-color-woodwork, .single-color-floor{
  width: 29px;
  height: auto;
  aspect-ratio: 1;
  display: inline-block;
  background: #000;
  border: 1px solid #fff;
  cursor: pointer;
}

#options {
  position: absolute;
  top: 0;
  left: 0;
  clear: both;
  background: rgba(0, 0, 0, 0.5);
  margin: 10px;
}

#options img {
  width: 32px;
  padding: 8px;
  cursor: pointer;
}

.select {
  float: left;
  background: #25282a;
  margin: 16px 0 0 0;
  display: none;
}

.controls-side-container {
  overflow-y: scroll;
  height: calc(100% - 32px);
  position: absolute;
  top: 16px;
  right: 0;
}

.controls-side-container #controls {
  margin-top: 0;
}

@media (max-width: 1200px) {
  .controls-side-container {
    margin-top: 16px;
    position: static;
  }
}

@media (max-width: 500px) {
  #facade-color, #facade-color2, #facade-color3 {
    width: 100%;
    margin: 16px 0 0 0;
  }
}
