@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
}

#config_sidebar {
    background-color: #242424;
    left: unset;
    right: 0;
    color: #ffffff;
}

#config_sidebar .panel {
    justify-content: space-around;
}

#config_sidebar .panel h2 {
    font-size: 1.2em;
    margin: 0;
    padding: 0;
}

#config_sidebar .panel h2:after {
    content: '';
    border-bottom: solid 2px rgba(155, 155, 155, 0.6);
    width: 100%;
    display: block;
    margin: 1em 0 0 0;
}

#config_sidebar #panel_finitura.panel p span {
    background-size: 150%;
    background-color: white;
    border: none;
}

#config_sidebar #panel_modello.panel p span {
    background-color: unset;
    width: 110px;
    height: 100px;
    background-size: auto 85%;
    border-radius: 0;
    border: none;
}

#config_sidebar_handle .fas {
    margin: 0;
}

.fa-regular,
.fa-solid {
    margin: 0 0.5em 0 0;
}

#configurator {
    background-color: #ddd;
}

#panel_info {
    display: flex;
    align-content: flex-start;
    align-items: center;
    justify-content: space-between;
    text-transform: capitalize;
    padding: 4vh 2vh;
}

#panel_info #logo_brand {
    display: inline-block;
    position: unset;
}

#panel_info #logo_brand img {
    max-height: 4vh;
}

#panel_info .info-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#panel_info .info-container div {
    padding: 0 1em;
}

#panel_info .info-container p {
    margin: 0;
}

#panel_info .info-container #slot_collezione {
    font-size: 2.5rem;
    font-weight: 600;
}

#slot_prezzo{
    position: absolute;
    right: 0;
    vertical-align: middle;
    /*padding: 0.5em;*/
}
#back_arrow {
    display: inline-block;
    transition: all 0.8s ease;
    opacity: 0.8;
    text-transform: uppercase;
    cursor: pointer;
}

#back_arrow:hover {
    opacity: 1;
}

#back_arrow:after {
    background-color: #333;
    content: "";
    display: block;
    height: 1px;
    transition: width .4s;
    margin: 5px 20px;
    width: 0;
}

#back_arrow:hover:after {
    /*width: 85%;*/
}

#back_arrow img {
    padding: 0 1em;
}

#lingue {
    padding: 0 3vh;
}

#lingue a {
    text-decoration: none;
}

#lingue .active {
    font-weight: bold;
    text-decoration: underline;
}

.subtitle {
    padding-bottom: 0.5em;
    text-transform: capitalize;
}

.subtitle.selected {
    padding-bottom: 0.5em;
    font-size: 25px;
    position: sticky;
    top: 0;
    margin: -2vh;
    padding: 2vh 0;
    background-color: #242424;
    z-index: 25;
}

.subtitle.next-step {
    /*color: #61cbc8 ;*/
}

.subtitle + .subpanel {
    background: unset;
}

.subtitle ~ .subpanel {
    display: none;
}

.subtitle.selected + .subpanel {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    width: calc(100% + 4vh);
    margin: 0 -2vh 1em;
    padding: 2vh 2vh calc(2vh - 0.5em);
}

.subtitle.selected + .subpanel:last-child {
    margin-bottom: -2vh;
}

#panel_base_lavabo .subpanel.disabled {
    display: none;
}

#panel_modello .subpanel {
    width: 100%;
}

#panel_misure #lunghezza,
#panel_misure #profondita {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
}

#panel_misure .item-misure {
    padding: 0.5em 0.1em;
    flex-basis: 10%;
    text-align: center;
    border: 1px solid #555;
    background: #333;
    color: #FFF;
    opacity: 0.8;
    cursor: pointer;
}

#panel_misure .item-misure.disponibile:hover {
    opacity: 1;
}

#panel_misure .item-misure.disponibile {
    background: #888888;
    border-color: #EFEFEF;
}

#panel_misure .item-misure.selected {
    background: #a8a8a8;
    opacity: 1;
}

#panel_totale {
    border-bottom: solid 2px rgba(155, 155, 155, 0.6);
    border-top: solid 2px rgba(155, 155, 155, 0.6);
    margin: 1vh;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0.5em;
}

#panel_totale h2 {
    margin: 0;
}

#totale_selezione {
    font-size: 1em;
}

#panel_actions {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 1vh;
}

#panel_actions #reset {
    width: 60%;
}

#panel_actions .container-actions #reset {
    width: auto;
}

#panel_actions div:not(.container-actions) {
    flex-grow: 1;
}

#panel_actions #pdf,
#panel_actions #invio_mail {
    pointer-events: none;
    opacity: 0.4;
    transition: opacity 0.3s ease-in-out;
}

#panel_actions #pdf.active,
#panel_actions #invio_mail.active {
    pointer-events: unset;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

#panel_actions .container-actions {
    display: flex;
    align-items: center;
    justify-content: center;
}

#panel_totale .toggle_rivenditore {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

#panel_totale .toggle_rivenditore .p_toggle {
    margin: 0 1em;
}

.toggle {
    padding-left: 2.4em;
    margin: 0;
}

#toggle_rivenditore.active + .p_toggle {
    font-weight: bold;
    color: #61cbc8;
}

#rivenditore_panel {
    text-transform: capitalize;
}

.button {
    color: white;
    background-color: #3131319e;
    border: solid 1px rgba(255, 255, 255, 0.91);
}

#config_sidebar .scroll {
    pointer-events: auto;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

#config_sidebar .panel_disabled {
    pointer-events: none;
    opacity: 0.4;
    transition: opacity 0.3s ease-in-out;
}

.item {
    margin: 0 0.5em;
}

.items_thumb .item:hover {
    opacity: 1;
}

#panel_modello.items_list .item {
    flex-basis: 100%;
    width: 50%;
}

#panel_modello.items_thumb .item {
    flex-basis: 130px;
    width: 100px;
}

.item-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-basis: 25%;
    text-align: center;
}

.item-container.nascosto {
    display: none !important;
}

.img-span {
    margin-bottom: 1vh;
    width: 90%;
}

#finitura_panel .container-finitura {
    text-align: center;
    text-transform: capitalize;
}

#finitura_panel .item {
    width: 100px;
}

#finitura_panel .container-div.specchiera .item span {
    border-radius: 50%;
    background-size: cover;
}

#finitura_panel .container-finitura p.item {
    flex-basis: 25%;
    text-align: center;
    display: inline-block;
    vertical-align: top;
}

#finitura_panel .container-finitura div {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
}

#finitura_panel .container-div {
    padding: 1em;
    margin: 2vh 0;
}

#finitura_panel .button-container {
    margin: 1em 0;
}

#finitura_panel .button {
    border: 1px solid #FFF;
    background: #242424;
}

#finitura_panel .button:hover {
    background: #3f3f3f;
}

.tabs {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.tabs label {
    display: inline-block;
    width: 33.3%;
    order: 1;
    padding: 1em 0.3em;
    text-align: center;
    cursor: pointer;
    background: inherit;
    transition: background ease 0.2s;
    text-transform: capitalize;
}

.tabs .tab {
    order: 99;
    flex-grow: 1;
    width: 100%;
    display: none;
    padding: 1em 2em;
}

.tabs input[type=radio] {
    display: none;
}

.tabs input[type=radio]:checked + label {
    background: rgba(127, 127, 127, 0.3);
    flex-grow: 1;
}

.tabs input[type=radio]:checked + label + .tab {
    background-color: rgba(127, 127, 127, 0.3);
    display: flex;
    flex-wrap: wrap;
}

#finitura_panel .tabs .tab,
#panel_lampada .tabs .tab {
    order: 99;
    flex-grow: 1;
    width: 100%;
    display: none !important;
}

#finitura_panel .tabs label,
#panel_lampada .tabs label {
    width: 25%;
}

#finitura_panel .tabs input[type=radio]:checked + label,
#panel_lampada .tabs input[type=radio]:checked + label {
    color: #FFFFFF;
    flex-grow: 1;
}

#finitura_panel .tabs input[type=radio]:checked + label + .tab,
#panel_lampada .tabs input[type=radio]:checked + label + .tab {
    background-color: rgba(127, 127, 127, 0.3);
    display: flex !important;
    flex-wrap: wrap;
}

#panel_specchiera .tabs label {
    width: 25%;
    flex-shrink: 1;
}

.outer {
    width: 1px;
    height: 100%;
    margin: 5em 0;
}

.inner {
    width: 100%;
    height: 100%;
    background: #FFF;
}

.window#intro_panel {
    height: 100%;
    width: 100%;
    background: #242424;
    color: #FFF;
    flex-basis: 10%;
    padding: 0;
}

.window#intro_panel .title-h1 {
    font-size: 8rem;
    font-weight: 900;
    margin: 0;
}

.window#intro_panel .container-intro {
    transition: all 0.6s ease;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.window#intro_panel .testo-collezione {
    margin: 0;
    opacity: 0.3;
    transition: all 0.6s ease-in-out;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    border-left: 1px solid white;
    border-right: 1px solid white;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    flex: 1;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
}

.window#intro_panel .testo-collezione#home {
    background: url("./images/intro/home.jpg") center;
    background-size: cover;
}

.window#intro_panel .testo-collezione#city {
    background: url("./images/intro/city.jpg") center;
    background-size: cover;
}

.window#intro_panel .testo-collezione#people {
    background: url("./images/intro/people.jpg") center;
    background-size: cover;
}

.window#intro_panel .testo-collezione img {
    width: 40%;
    background-position: center;
}

.window#intro_panel .testo-collezione:hover {
    flex-grow: 2;
    opacity: 1;
}

#config_graphics #intestazione {
    position: absolute;
    top: 2vh;
    padding-left: 2vh;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: center;

}

.container-right{
    display: flex;
    justify-content: flex-end;
    align-items: baseline

}

#login-container{
    padding: 1em;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.8s ease;
}
#login-container:hover{

    opacity: 1;
}

#config_graphics .avanzamento-testuale {
    pointer-events: none;
    user-select: none;
    margin: 1em;
    color: #FFFFFF;
    font-weight: 600;
}

#config_graphics .avanzamento-testuale [step] {
    opacity: 0.4;
    color: #333333;
    text-shadow: 1px 1px 1px #7a7a7a;
    transition: opacity 0.3s ease-in-out;
}

#config_graphics .avanzamento-testuale [step].selected {
    opacity: 1;
    color: #FFFFFF;
    text-shadow: 1px 1px 1px #c4c4c4;
}

#contact_us {
    padding: 3vh;
}

#contact_us label {
    padding: 0 1em;
}

#contact_us .flex-container {
    display: flex;
    flex-direction: column;
}

#contact_us .flex-container-textarea {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1em;
}
#contact_us .flex-container-textarea label {
padding: 1em;
}

#contact_us .flex-container-privacy {
    display: flex;
    margin: 15px;
    flex-direction: column;
    align-items: flex-start;
}

#contact_us .privacy {
    font-size: 12px;
    display: block;
    margin: 0 15px 5px 0;
    vertical-align: top;
    text-align: left;
}

#contact_us textarea {
    color: #FFFFFF;
    width: 100%;
}

#contact_us .info-container {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;

}

#contact_us .info-container .info {
    padding: 0.5em 1em;
    flex-basis: 50%;
    text-align: left;
}

#contact_us .info-container .info label {
    font-weight: bold;

}

#contact_us .info-container .info span {
    font-weight: normal;
    color: rgba(255, 255, 255, 0.35);
}

::selection {
    color: #202124;
    background: #9aa0a6;
    text-shadow: none;
    box-shadow: none;
}

.selezione-text,
.finitura_text {
    font-size: 1rem;
    font-weight: normal;
    display: inline-block;
    padding: 0.5em;
}


.container-buttons{

    margin: 0 25px;
}

#note_panel textarea{
    color: white;
}


/* Media Queries */

@media (min-width: 1025px) {
    .window#intro_panel .container-intro:hover > * {
        flex-basis: 5%;
    }

    .window#intro_panel .container-intro:hover h2 {
        display: none;
    }

    .window#intro_panel .container-intro > .testo-collezione:hover {
        flex-basis: 90%;
    }

    .window#intro_panel .container-intro .testo-collezione:hover h2 {
        display: block;
    }
}

@media (min-width: 1025px) and (max-width: 1550px) {
    .item-container {
        flex-basis: 50%;
    }
}

@media (max-width: 1024px) {
    .configuring #config_sidebar_handle {
        bottom: 48%;
    }

    #config_buttons {
        bottom: 3vh;
    }

    body:not(.configuring) #config_buttons {
        bottom: 6vh;
    }

    .window#intro_panel.open {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .window#intro_panel .container-intro {
        flex-wrap: nowrap;
        flex-direction: column;
    }

    .window#intro_panel .testo-collezione {
        background-size: cover !important;
        opacity: 0.7;
    }

    #panel_info {
        padding: 2vh;
        display: none;
    }

    .item-container {
        flex-basis: 20%;
    }

    #panel_totale {
        padding: 0 2vh;
    }

    #config_sidebar .scroll {
        margin-top: 2vh;
    }

    #panel_actions .container-actions #reset {
        width: auto;
    }

    #config_buttons {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        bottom: 0;
        margin: 1vh;
    }

    .container-buttons {
        display: flex;
        justify-content: flex-end;
        font-size: 0.8em;

        flex-wrap: wrap;
        align-items: center;
    }


    /*#config_buttons div:not(.avanzamento-testuale) {*/
    /*    margin: 1vh;*/
    /*}*/

    #contact_us .info-container{
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    #back_arrow {
        padding: 15px;
    }

    .item-container {
        flex-basis: 33.3%;
    }

    .window#intro_panel .testo-collezione {
        border-top: 1px solid white;
        border-bottom: 1px solid white;
        border-left: unset;
        border-right: unset;
        background-size: contain;
    }

    .outer {
        height: 1px;
        width: 80%;
    }

}

@media (max-width: 576px) {
    #panel_info .info-container {
        flex-direction: column;
    }

    #panel_actions div {
        min-width: auto;
        margin-bottom: 0;
    }

    .avanzamento-testuale {
        text-align: left;
    }

}
