﻿@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;600&display=swap');
body,
button,
select,
.feedback {
    font-family: Quicksand, Tahoma, Arial, sans-serif;
}
body {
    margin: 0 auto;
    padding: 0 60px;
    background-color: rgba(0, 0, 0, 0.05);
}
@media only screen and (min-width: 1640px) {
    body {
        max-width: 1600px;
    }
}
body > canvas {
    width: 100vw;
    height: 100vh;
}
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
    margin-top: 0;
}
h3 {
    font-size: 19px;
}
div {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}
div[class^='col-'] {
    float: left;
    padding: 20px;
}
div.col-4-5 {
    width: 80%;
}
div.col-3-4 {
    width: 75%;
}
div.col-3-5 {
    width: 60%;
}
div.col-1-2,
div.col-2-4,
div.col-3-6,
div.col-4-8,
div.col-5-10,
div.col-6-12 {
    width: 50%;
}
div.col-1-3 {
    width: 33.333%;
}
div.col-1-4 {
    width: 25%;
}
div.col-1-5 {
    width: 20%;
}
div.col-1-6 {
    width: 16.666%;
}
button,
select,
.feedback {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 7px 15px;
    cursor: pointer;
    box-sizing: border-box;
    outline: none;
    margin: 0 6px 6px 0;
}
button[disabled],
select[disabled],
.feedback[disabled] {
    opacity: 0.4;
    cursor: default;
}
button.green,
select.green,
.green.feedback {
    background-color: #2ecc71;
    border-color: #27ae60;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
}
input {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    padding: 5px 12px;
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-family: Quicksand, Tahoma, Arial, sans-serif;
    font-size: inherit;
    outline: none;
}
input[type='range'] {
    border: 0 !important;
}
input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: 1px solid #000000;
    height: 36px;
    width: 16px;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
    margin-top: -14px;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type='range']::-moz-range-thumb {
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    border: 1px solid #000000;
    height: 36px;
    width: 16px;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
}
input[type='range']::-ms-thumb {
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    border: 1px solid #000000;
    height: 36px;
    width: 16px;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
}
input[type='range']::-webkit-slider-runnable-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 1.3px;
    border: 0.2px solid #010101;
}
input[type='range']:focus::-webkit-slider-runnable-track {
    background: rgba(0, 0, 0, 0.05);
}
input[type='range']::-moz-range-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 1.3px;
    border: 0.2px solid #010101;
}
input[type='range']::-ms-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
}
input[type='range']::-ms-fill-lower {
    background: rgba(0, 0, 0, 0.05);
    border: 0.2px solid #010101;
    border-radius: 2.6px;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type='range']:focus::-ms-fill-lower {
    background: rgba(0, 0, 0, 0.05);
}
input[type='range']::-ms-fill-upper {
    background: rgba(0, 0, 0, 0.05);
    border: 0.2px solid #010101;
    border-radius: 2.6px;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type='range']:focus::-ms-fill-upper {
    background: rgba(0, 0, 0, 0.05);
}
input.hidden {
    display: none;
}
table,
table tr,
tr td,
table tbody,
table thead,
table tfoot,
table tr th {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-collapse: collapse;
    border-spacing: 0;
    background-image: none;
}
select {
    background-image: url('img/select-arrow.svg');
    background-position: 20px center;
    background-position: right 8px top 55%;
    background-size: auto 55%;
    background-repeat: no-repeat;
    padding-right: 30px;
}
.row,
section .settings .option > div {
    display: flex;
    width: 100%;
}
.full-size,
section .settings .option #colori #colore_attuale span,
section .settings .option #sfondo #immagine_attuale span {
    display: flex;
    width: 100%;
    height: 100%;
}
.centered,
section .settings .option #colori #colore_attuale span,
section .settings .option #sfondo #immagine_attuale span {
    justify-content: center;
    align-items: center;
}
header a img {
    margin-top: 6px;
    max-height: 34px;
}
section .settings {
    user-select: none;
    margin: 20px 0;
}
section .settings .header {
    position: relative;
    top: 1px;
}
section .settings .header span {
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: inline-block;
    padding: 5px 10px;
    border-radius: 6px 6px 0 0;
    background-color: #fff;
    cursor: pointer;
}
section .settings .header span.open {
    border-bottom-color: #fff;
}
section .settings .option {
    max-height: 60vh;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0 6px 6px 6px;
}
section .settings .option > div.hide {
    display: none;
}
section .settings .option #sfondo_avanzato {
    min-height: 30vh;
    height: 30vh;
    max-height: 30vh;
}
@media (min-width: 800px) {
    section .settings .option #sfondo_avanzato {
        min-height: 60vh;
        height: 60vh;
        max-height: 60vh;
    }
}
section .settings .option #struttura #edit {
    font-size: 0;
}
section .settings .option #struttura button,
section .settings .option #struttura select,
section .settings .option #struttura .feedback,
section .settings .option #struttura select {
    min-width: calc(50% - 13px);
}
section .settings .option #struttura #wall_size table tr td {
    width: 50%;
    padding-right: 40px;
}
section .settings .option #struttura #wall_size input {
    width: 100%;
    padding: 4px;
    margin: 2px 0 16px;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
section .settings .option #struttura #wall_size button,
section .settings .option #struttura #wall_size select,
section .settings .option #struttura #wall_size .feedback {
    width: calc(100% - 30px);
}
section .settings .option #colori #colore_attuale {
    font-size: 0;
}
section .settings .option #colori #colore_attuale span {
    height: 0;
    font-size: 14px;
    padding: 28% 0;
    color: #fff;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
    border-radius: 6px;
}
section .settings .option #colori span[data-color] {
    width: 100px;
    text-align: center;
    box-sizing: border-box;
    padding: 10px 20px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: inline-block;
    margin: 0 10px 5px 0;
    cursor: pointer;
}
section .settings .option #colori span[data-color]::before {
    color: #fff;
    content: attr(data-color);
    display: inline-block;
    font-size: 14px;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}
section .settings .option #colori .colori_recenti,
section .settings .option #colori .colori_iniziali {
    padding: 0;
    width: 100%;
    font-size: 0;
}
section .settings .option #sfondo #immagine_attuale {
    font-size: 0;
}
section .settings .option #sfondo #immagine_attuale span {
    height: 0;
    font-size: 14px;
    padding: 28% 0;
    color: #fff;
    cursor: pointer;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0.05);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
section .settings .option #sfondo .opzioni_immagine {
    font-size: 0;
}
section .settings .option #sfondo .opzioni_immagine #precisione {
    display: inline-block;
    width: 36px;
    height: 36px;
    vertical-align: top;
    text-align: center;
    font-size: 18px;
    line-height: 2;
    font-weight: 400;
}
section .settings .option #sfondo .opzioni_immagine button,
section .settings .option #sfondo .opzioni_immagine select,
section .settings .option #sfondo .opzioni_immagine .feedback {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-position: center;
    background-size: 70% auto;
    background-repeat: no-repeat;
}
section .settings .option #sfondo .opzioni_immagine button.smaller,
section .settings .option #sfondo .opzioni_immagine select.smaller,
section .settings .option #sfondo .opzioni_immagine .smaller.feedback {
    background-image: url(img/smaller.png);
}
section .settings .option #sfondo .opzioni_immagine button.bigger,
section .settings .option #sfondo .opzioni_immagine select.bigger,
section .settings .option #sfondo .opzioni_immagine .bigger.feedback {
    background-image: url(img/bigger.png);
}
section .settings .option #sfondo .opzioni_immagine button.up,
section .settings .option #sfondo .opzioni_immagine select.up,
section .settings .option #sfondo .opzioni_immagine .up.feedback {
    background-image: url(img/up.png);
}
section .settings .option #sfondo .opzioni_immagine button.down,
section .settings .option #sfondo .opzioni_immagine select.down,
section .settings .option #sfondo .opzioni_immagine .down.feedback {
    background-image: url(img/down.png);
}
section .settings .option #sfondo .opzioni_immagine button.left,
section .settings .option #sfondo .opzioni_immagine select.left,
section .settings .option #sfondo .opzioni_immagine .left.feedback {
    background-image: url(img/left.png);
}
section .settings .option #sfondo .opzioni_immagine button.right,
section .settings .option #sfondo .opzioni_immagine select.right,
section .settings .option #sfondo .opzioni_immagine .right.feedback {
    background-image: url(img/right.png);
}
section .settings .option #sfondo .opzioni_immagine button.plus,
section .settings .option #sfondo .opzioni_immagine select.plus,
section .settings .option #sfondo .opzioni_immagine .plus.feedback {
    background-image: url(img/plus.svg);
    background-size: 50% auto;
}
section .settings .option #sfondo .opzioni_immagine button.minus,
section .settings .option #sfondo .opzioni_immagine select.minus,
section .settings .option #sfondo .opzioni_immagine .minus.feedback {
    background-image: url(img/minus.svg);
    background-size: 50% auto;
}
section .settings .option #sfondo .opzioni_immagine button:active,
section .settings .option #sfondo .opzioni_immagine select:active,
section .settings .option #sfondo .opzioni_immagine .feedback:active {
    border: 1px solid rgba(0, 0, 0, 0.1);
}
section .settings .option #informazioni table {
    border-radius: 6px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
    overflow: hidden;
}
section .settings .option #informazioni table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-family: monospace;
    color: rgba(0, 0, 0, 0.8);
}
section .settings .option #informazioni table tr:last-child {
    border-bottom: 0;
}
section .settings .option #informazioni table tr.header {
    background-color: #303030;
    color: #fff;
    border-bottom: 0;
    font-family: inherit;
}
section .settings .option #informazioni table tr td {
    padding: 5px 12px;
}
section .settings .option #informazioni table tr td:last-child {
    text-align: center;
}
section .settings .option #informazioni table tr td span.color {
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 100%;
    vertical-align: middle;
    margin-left: 7px;
}
section .settings .option #salva button,
section .settings .option #salva select,
section .settings .option #salva .feedback {
    display: block;
    width: 100%;
    margin-bottom: 5px;
}
section .schema svg {
    background-repeat: no-repeat;
    background-size: 50% auto;
    background-position: 0 0;
    width: 100%;
    max-height: 160vh;
}
section .schema svg * {
    transform-box: fill-box;
    transform-origin: center;
}
#salvataggio_personalizzato {
    width: 100%;
}
#salvataggio_personalizzato > div {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 30vh;
    height: 30vh;
    max-height: 30vh;
    padding: 20px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
@media (min-width: 800px) {
    #salvataggio_personalizzato > div {
        min-height: 60vh;
        height: 60vh;
        max-height: 60vh;
    }
}
#salvataggio_personalizzato > div #file_loader {
    text-align: center;
}
#salvataggio_personalizzato > div #file_loader > b {
    font-size: 28px;
    line-height: 1.1;
}
#salvataggio_personalizzato > div #file_loader > p {
    margin: 10px 0 20px;
}
#salvataggio_personalizzato > div #file_loader > button,
#salvataggio_personalizzato > div #file_loader > select,
#salvataggio_personalizzato > div #file_loader > .feedback {
    font-size: 112%;
}
#salvataggio_personalizzato > div #file_loader > input {
    display: none;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}
#salvataggio_personalizzato > div #file_loader.hidden {
    height: 0;
    overflow: hidden;
}
#salvataggio_personalizzato > div #edit {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
#salvataggio_personalizzato > div #edit > div {
    height: 100%;
}
#salvataggio_personalizzato > div #edit #filters {
    width: 20%;
    max-height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 5%;
}
#salvataggio_personalizzato > div #edit #filters > b {
    font-size: 28px;
    line-height: 1.1;
}
#salvataggio_personalizzato > div #edit #filters > b,
#salvataggio_personalizzato > div #edit #filters > span {
    display: block;
}
#salvataggio_personalizzato > div #edit #filters > span {
    margin-top: 20px;
}
#salvataggio_personalizzato > div #edit #filters > span > i {
    font-style: normal;
    display: inline-block;
    margin-left: 10px;
    background: rgba(0, 0, 0, 0.05);
    padding: 3px;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    font-size: 80%;
    width: 40px;
    text-align: center;
}
#salvataggio_personalizzato > div #edit #filters > span > i#pos_h:after {
    content: '%';
}
#salvataggio_personalizzato > div #edit #filters > span > i#pos_v:after {
    content: '%';
}
#salvataggio_personalizzato > div #edit #filters > span > i#rotation:after {
    content: '°';
}
#salvataggio_personalizzato > div #edit #filters > span > i#zoom:after {
    content: '%';
}
#salvataggio_personalizzato > div #edit #filters > button:first-of-type,
#salvataggio_personalizzato > div #edit #filters > select:first-of-type,
#salvataggio_personalizzato > div #edit #filters > .feedback:first-of-type {
    margin-top: 40px;
}
#salvataggio_personalizzato > div #edit #filters input[type='range'] {
    height: 20px;
    -webkit-appearance: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
#salvataggio_personalizzato > div #edit #filters input[type='range']:focus {
    outline: none;
}
#salvataggio_personalizzato
    > div
    #edit
    #filters
    input[type='range']::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000;
    background: #e6e6e6;
    border-radius: 50px;
    border: 1px solid #c6c6c6;
}
#salvataggio_personalizzato
    > div
    #edit
    #filters
    input[type='range']::-webkit-slider-thumb {
    box-shadow: 0px 0px 1px #000000;
    border: 1px solid #000000;
    height: 15px;
    width: 15px;
    border-radius: 50px;
    background: #ffffff;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -6.5px;
}
#salvataggio_personalizzato
    > div
    #edit
    #filters
    input[type='range']:focus::-webkit-slider-runnable-track {
    background: #e6e6e6;
}
#salvataggio_personalizzato
    > div
    #edit
    #filters
    input[type='range']::-moz-range-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000;
    background: #e6e6e6;
    border-radius: 50px;
    border: 1px solid #c6c6c6;
}
#salvataggio_personalizzato
    > div
    #edit
    #filters
    input[type='range']::-moz-range-thumb {
    box-shadow: 0px 0px 1px #000000;
    border: 1px solid #000000;
    height: 15px;
    width: 15px;
    border-radius: 50px;
    background: #ffffff;
    cursor: pointer;
}
#salvataggio_personalizzato
    > div
    #edit
    #filters
    input[type='range']::-ms-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    color: transparent;
}
#salvataggio_personalizzato
    > div
    #edit
    #filters
    input[type='range']::-ms-fill-lower,
#salvataggio_personalizzato
    > div
    #edit
    #filters
    input[type='range']::-ms-fill-upper {
    background: #e6e6e6;
    border: 1px solid #c6c6c6;
    border-radius: 100px;
    box-shadow: 0px 0px 0px #000000;
}
#salvataggio_personalizzato
    > div
    #edit
    #filters
    input[type='range']::-ms-thumb {
    margin-top: 1px;
    box-shadow: 0px 0px 1px #000000;
    border: 1px solid #000000;
    height: 15px;
    width: 15px;
    border-radius: 50px;
    background: #ffffff;
    cursor: pointer;
}
#salvataggio_personalizzato
    > div
    #edit
    #filters
    input[type='range']:focus::-ms-fill-lower,
#salvataggio_personalizzato
    > div
    #edit
    #filters
    input[type='range']:focus::-ms-fill-upper {
    background: #e6e6e6;
}
#salvataggio_personalizzato > div #edit #preview {
    position: relative;
    width: 75%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
#salvataggio_personalizzato > div #edit #preview .balloons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#salvataggio_personalizzato > div #edit #preview .balloons > span {
    display: inline-block;
    position: relative;
    top: 0;
    left: 0;
    width: 50%;
    height: 50%;
    background-position: top center;
    background-size: contain;
    background-repeat: no-repeat;
}
#salvataggio_personalizzato
    > div
    #edit
    #preview
    .balloons
    > span:nth-child(n + 2) {
    display: none;
}
#salvataggio_personalizzato.hidden {
    top: 200vh;
    left: 200vw;
    width: 0;
    height: 0;
    overflow: hidden;
}
#salvataggio_personalizzato.hidden > div {
    top: 200vh;
    left: 200vw;
}
.feedback {
    position: fixed;
    bottom: 20px;
    right: 20px;
    text-decoration: none;
}
@media (max-width: 980px) {
    .feedback {
        display: none;
    }
}
#fake_svg {
    position: fixed;
    top: 0;
    left: 0;
}
#select_saved_file {
    display: none;
}
@media print {
    .tabs {
        margin-top: 0;
        float: right;
    }
    svg {
        max-width: 100%;
        max-height: 100%;
    }
    /* .noprint and .onlyprint are available in Bootstrap as
       .hidden-print and .visible-print-(block|inline|inline-block) */
    .noprint {
        display: none !important;
    }
    .onlyprint {
        visibility: visible !important;
    }
    button {
        width: auto !important;
        overflow: visible;
        white-space: initial;
        border: none;
    }
    input,
    select,
    option {
        width: auto;
        display: inline;
        padding: 0;
        margin: 0;
        border: none;
        -moz-appearance: textfield;
        -webkit-appearance: none;
    }
    .selected {
        outline: none;
    }
}
.onlyprint {
    visibility: hidden;
}
