/*------------- IMPORT FONT -------------*/
@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
/*------------- VARIABILI -------------*/
/*------------- GENERALI -------------*/
*,
html,
body {
  font-family: "Raleway", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  height: 100vh !important;
}

.swal-modal {
  border-radius: 18px !important;
}

.swal-button {
  background-color: #292929 !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
}

.swal-button--cancel {
  background-color: white !important;
  border: 1px solid #292929 !important;
}

.swal-icon--warning__body, .swal-icon--warning__dot {
  background-color: #292929 !important;
}

.swal-icon--warning {
  border-color: #292929 !important;
}

.swal-text {
  font-weight: 400 !important;
}

.swal-title, .swal-text, .swal-footer {
  text-align: center !important;
  color: #292929 !important;
}

[type=button],
[type=reset],
[type=submit],
button {
  -webkit-appearance: unset !important;
}

/*-------------------------------*/
#download_iconStart {
  position: absolute;
  background-color: white;
  opacity: 0.8;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
}

#download_iconStart iconify-icon {
  font-size: 300px;
}

/*-------------------------------*/
.grouped-line {
  display: flex !important;
}

.group-btn {
  padding: 10px 0px 10px 0px !important;
}

.btn {
  text-align: left !important;
}

.btn-outline-dark {
  border-radius: 6px !important;
  margin-right: 5px;
  margin-bottom: 5px;
  border: 0.5px solid #292929 !important;
  padding: 6px !important;
}
.btn-outline-dark img {
  width: 50px;
}

.btn-check {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
}

.btn-check:hover + .btn-outline-dark img {
  filter: invert(100%);
}

.btn-outline-dark:hover img {
  filter: invert(100%);
}

.btn-check:checked + .btn-outline-dark img {
  filter: invert(100%);
}

.tooltip-wrapper {
  position: relative;
  max-width: 100%;
  overflow: visible;
}

.custom-tooltip {
  position: absolute;
  bottom: -25px; /* or adjust to your design */
  left: 50%;
  transform: translateX(10%);
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: normal;
  font-size: 12px;
  width: 230px; /* Prevent huge tooltips */
  word-wrap: break-word;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1000;
  /* Prevent overflow */
  overflow-wrap: break-word;
  box-sizing: border-box;
}

iframe::-moz-selection, .title h1::-moz-selection, h5::-moz-selection {
  background: transparent;
}

iframe::selection,
.title h1::selection,
h5::selection {
  background: transparent;
}

iframe::-moz-selection,
.title h1::-moz-selection,
h5::-moz-selection {
  background: transparent;
}

#canvasProva {
  font-family: "Raleway", sans-serif !important;
}

.title {
  position: absolute;
  padding-left: 20px;
  z-index: 99 !important;
}
.title h1,
.title h5 {
  font-weight: 300 !important;
  color: #292929;
}
.title h5 {
  line-height: 3px;
}

.row {
  height: 100vh !important;
  width: initial !important;
}

.iframe-container {
  height: 100%;
  position: relative;
  min-width: initial !important;
  width: initial !important;
  flex-grow: 1 !important;
}
.iframe-container .iconify {
  cursor: pointer !important;
}
.iframe-container .icons_download {
  border: 0.5px solid #292929;
  border-radius: 10px;
  position: absolute;
  right: 0;
  padding: 5px 7px;
  top: 35px;
  right: 35px;
  display: none;
  flex-direction: column;
}
.iframe-container .icons_download label .iconify {
  font-size: 20px;
}
.iframe-container #download_obj,
.iframe-container .download_obj,
.iframe-container .download {
  text-align: center;
  margin: 6px 2px;
  color: #292929 !important;
}
.iframe-container .icons_movement {
  border: 0.5px solid #292929;
  position: absolute;
  bottom: 25px;
  margin-left: 20px;
  border-radius: 10px;
  padding: 1px;
  display: none;
}
.iframe-container .icons_movement label .iconify {
  font-size: 20px;
}
.iframe-container .reset,
.iframe-container .enterFullScreen,
.iframe-container .zoom-in,
.iframe-container .zoom-out {
  margin: 5px 10px 5px 10px;
}

.controls {
  height: 100vh !important;
  overflow-y: auto !important;
  padding: 2rem !important;
  min-width: 500px !important;
}

.smart-scroll {
  overflow: auto; /* Only shows scrollbars if needed */
  scrollbar-color: #aaa transparent;
}

.smart-scroll::-webkit-scrollbar {
  width: 6px;
}

.smart-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.titolo-variante {
  background: transparent !important;
  font-weight: 600 !important;
  color: #292929;
  font-size: 17px !important;
}

.selezione-tipo {
  display: flex !important;
  align-items: center !important;
  border-radius: 5px !important;
}
.selezione-tipo .iconify {
  margin: 8px;
}
.selezione-tipo p {
  font-weight: 600 !important;
  font-family: "Raleway", sans-serif;
  font-size: 15px !important;
  margin-bottom: 0;
}

.selezione-tipo:hover,
.dropdown-item:active {
  transition: 0.5s all;
}

.icona-selezione {
  border: 1px solid rgba(0, 0, 0, 0.479);
  margin: 4px;
  border-radius: 5px;
}

.btn:focus {
  box-shadow: none !important;
}

.main-divider {
  border-top: 3px solid rgba(0, 0, 0, 0.7254901961) !important;
  opacity: 1;
}

.titolo-normale {
  font-weight: 600 !important;
  color: #292929;
  font-size: 17px !important;
}

.titolo-tipologia {
  background-color: transparent !important;
  border: 1px solid rgba(0, 0, 0, 0.3) !important;
  line-height: 50px;
  border-radius: 10px;
  padding-left: 20px;
  margin-bottom: 20px;
}

.dropdown-divider {
  margin-top: 2px !important;
  margin-bottom: 20px !important;
}

.end-span {
  margin-bottom: 10px;
}

.section-group {
  margin-left: 2rem;
}

.disc {
  font-size: small;
  margin-top: 10px;
  font-style: italic;
  color: #556b2f;
  padding: 0px 15px;
}

.colori {
  margin-right: 10px;
  width: 35px;
  height: 35px;
  min-height: 35px;
  min-width: 35px;
  border-radius: 50%;
  cursor: pointer;
  border: 0.5px solid rgb(171, 171, 171);
  background-size: 120% !important;
  transition: 0.2s;
}

#coloreImportatoTelaio,
#coloreImportatoPoli,
#coloreImportatoFabrics {
  border: 0.5px solid rgb(123, 122, 122) !important;
}

.colori-disabled {
  border: 1px solid rgba(0, 0, 0, 0.479);
  margin: 10px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: transparent !important;
  text-align: center;
}

.blocco-colore {
  padding: 10px 15px;
  min-width: -moz-min-content;
  min-width: min-content;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
}
.blocco-colore p {
  margin: 0;
  font-weight: 400 !important;
  font-family: "Raleway", sans-serif;
  font-size: 17px !important;
  color: #292929;
}
.blocco-colore .colori {
  border: 1px solid #717171;
  border-radius: 50% !important;
  background-position: center !important;
  background-size: cover !important;
}

.selezione-colori {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-left: 5px;
}
.selezione-colori .colori {
  margin: 10px;
  max-width: 38px;
  max-height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 50%;
}

.hidden {
  display: none;
}

.not-selected {
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
}

.selected {
  background: #292929;
  border-radius: 6px;
}
.selected p {
  color: white !important;
}

.iconify {
  font-size: 24px;
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}
header h4 {
  font-weight: 600 !important;
  font-family: "Raleway", sans-serif;
  font-size: 20px !important;
}

.container-back {
  margin: 12px;
  position: relative;
}
.container-back .iconify {
  width: 30px !important;
  position: absolute;
  z-index: 80 !important;
}

.disabled {
  pointer-events: none !important;
  opacity: 0.2 !important;
}
.disabled p, .disabled label {
  opacity: 0.2 !important;
}

.blocco-switch {
  width: 100%;
  padding: 0 !important;
  margin-left: 10px;
}

.form-check-input:checked {
  background-color: #292929 !important;
  border: #292929 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e") !important;
}

.form-check-input {
  box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.537254902) !important;
  cursor: pointer !important;
  border: 1px solid #292929 !important;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='rgba 0, 0, 0, 0'/></svg>") !important;
  width: 3em !important;
  height: 1.5em !important;
}

.accordion-header {
  display: none;
}

.accordion-button {
  background-color: transparent !important;
  background-position: center !important;
  line-height: 50px !important;
  border-radius: 10px !important;
  padding-left: 20px !important;
  margin-bottom: 20px !important;
  padding: 0 1.25rem !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  font-family: "Raleway", sans-serif;
  border-radius: 6px !important;
}

.accordion-button::after {
  background-size: 0.9rem !important;
  background-position: center !important;
}

.accordion-item {
  background-color: #eeedec !important;
  border: 0px !important;
  margin-bottom: 10px;
}

.accordion-button:not(.collapsed) {
  color: #292929 !important;
  box-shadow: transparent !important;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.accordion-button:not(.collapsed) {
  box-shadow: none !important;
}

.scroll-colori,
.accordion-item {
  z-index: 99 !important;
  border: 0.5px solid #292929 !important;
  border-radius: 6px !important;
}

.accordion-body {
  margin-top: -8px;
  border-radius: 6px !important;
}

#controls {
  display: none;
}

#loading {
  display: none;
  align-items: center;
  justify-content: center;
}

.fabricFamily {
  z-index: 99 !important;
  border: 0.5px solid #292929 !important;
  border-radius: 6px !important;
}

.fabricname {
  margin: 10px;
  cursor: initial !important;
}

.trave-esterna {
  justify-content: space-between;
  display: flex !important;
  padding-bottom: 0;
}

.trave-esterna-buttons {
  display: flex !important;
}

.switchtavolinotrave {
  display: flex;
  flex: 1;
  justify-content: end;
  align-items: end;
  margin-bottom: 6px;
}

@media only screen and (max-width: 870px) and (hover: hover) and (pointer: fine) {
  .row {
    height: auto !important;
  }
  .row .iframe-container {
    height: 46vh !important;
    width: 100%;
  }
  .row .controls {
    width: 100%;
    height: 54vh !important;
    overflow-y: auto !important;
  }
  .row #loading {
    width: 100%;
    height: 54vh !important;
  }
  .title {
    padding: 8px;
  }
  .title h1 {
    font-size: 22px !important;
  }
  .title h5 {
    font-size: 10px !important;
  }
}
@media screen and (orientation: portrait) and (max-width: 599px) and (pointer: coarse) and (hover: none) {
  body {
    height: 100vh !important;
    overflow-y: hidden !important;
    max-height: 100vh !important;
  }
  #initial-loading {
    height: 100% !important;
    max-height: 100dvh !important;
  }
  .iframe-container {
    height: 46vh !important;
    width: 100%;
  }
  .controls {
    min-width: initial !important;
    padding: 4vw !important;
    height: 46vh !important;
    margin-bottom: 5vh !important;
  }
  .custom-tooltip {
    left: 30% !important;
  }
  .form-check-label {
    font-size: 3vw;
  }
}/*# sourceMappingURL=style.css.map */