﻿html, body {
    scroll-behavior: smooth;
}

/* width */
::-webkit-scrollbar {
    width: 3px;
    display: none;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #f1f1f1;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #888;
    }

.spinner-border {
    width: 110px;
    height: 110px;
    margin-top: 3rem;
}

.breadcrumb {
    min-height: 45px !important;
}

.breadcrumb-item {
    font-size: 0.8rem;
}

header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: #fff;
    z-index: 10;
}

    header .logo-sc {
        position: absolute;
        right: 20px;
        top: 10px;
        width: 50px;
        z-index: 10;
        box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
    }

.message {
    position: absolute;
    bottom: 90px;
    width: 100%;
    margin: 0 auto;
}

#main-image {
    position: fixed;
    top: 80px;
    height: 35vh;
    width: 100%;
    margin: 0 auto;
    transition: all 500ms;
    background-color: #fff;
    z-index: 5;
    padding: 20px;
}

    #main-image img {
        position: relative;
        max-height: calc(100% - 65px);
        max-width: 100%;
        margin: 0 0 10px 0;
    }

    #main-image.reduce {
        height: 15vh;
        padding: 0;
    }

        #main-image.reduce h1,
        #main-image.reduce h5 {
            font-size: 1rem;
        }

        #main-image.reduce img {
            height: calc(100% - 45px);
        }

#lastraImage {
    position: absolute;
    left: 20px;
    top: 0px;
    font-size: 1.2rem;
    background-color: #617b91;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #fff;
    padding: 6px;
}

h1 .back,
h1 .back-home {
    font-size: 2rem !important;
    cursor: pointer;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
}

main {
    width: 100%;
    margin-top: 80px;
}


.switch {
    background-color: #eee;
    width: 210px;
    border-radius: 20px;
    margin: 0 auto;
    margin-top: 20px;
}

    .switch .switch-button {
        width: 100px;
        padding: 7px 20px;
        text-align: center;
        margin: 5px 0;
        cursor: pointer;
    }

        .switch .switch-button.active {
            background-color: #fff !important;
            color: #000 !important;
            border-radius: 20px !important;
        }


/*.start {
    width: 100%;
    margin: 0 auto;
    margin-top: calc((100vh - 700px) / 2);
    transform: rotateZ(-10deg);
}

    .start .separator {
        height: 3px;
        background-color: #617b91;
        width: 100%;
    }

    .start #strutture,
    .start #ante,
    #maniglie {
        transition: all 500ms;
        color: #617b91;
        text-align: center;
        padding: 1rem 0.5rem;
        margin: 0 0;
        cursor: pointer;
    }

        .start #strutture h2,
        .start #ante h2,
        #maniglie h2 {
            font-size: 2.8rem;
            font-weight: bold;
        }

        #maniglie h3 {
            font-size: 1.5rem;
            font-weight: bold;
        }

        .start #strutture h2 .ms-Icon,
        .start #ante h2 .ms-Icon,
        #maniglie h2 .ms-Icon {
            font-size: 1.6rem;
        }

        #maniglie h3 .ms-Icon {
            font-size: 1.5rem;
        }*/



.panel {
    position: fixed;
    left: 0;
    top: 80px;
    height: calc(100% - 130px);
    width: 100%;
    transition: transform 400ms ease-in-out;
    z-index: 10;
    padding: 0.1rem 1rem;
}

    .panel.panel-l {
        background-color: #fff;
        transform: translateX(-100%);
    }

    .panel.panel-r {
        background-color: #fff;
        transform: translateX(100%);
    }

    .panel.panel-b {
        background-color: #fff;
        transform: translateY(calc(100% + 80px));
    }

.panel-l.active,
.panel-r.active {
    transform: translateX(0);
}

.panel-b.active {
    transform: translateY(0);
}


.texture-list {
    height: calc(100% - 120px);
    overflow-y: auto;
}

    .texture-list .texture,
    .texture-list-collapsed .texture {
        width: 130px;
        margin: 5px;
        padding: 5px;
        text-align: center;
    }

        .texture-list .texture img,
        .texture-list-collapsed .texture img {
            width: 100%;
            margin-bottom: 10px;
        }

        .texture-list .texture h4,
        .texture-list-collapsed .texture h4 {
            font-size: 1.2rem;
        }

        .texture-list .texture h6,
        .texture-list-collapsed .texture h6 {
            font-size: 0.8rem;
            font-weight: 600;
            color: #999;
        }

    .texture-list .text {
        width: 100%;
        min-height: 60px;
        margin: 10px;
        text-align: left;
        transition: all 500ms;
        position: relative;
        border-bottom: solid 2px #ddd;
    }

        .texture-list .text::after {
            transform: rotateZ(180deg);
            position: absolute;
            content: "\25B2";
            right: 8px;
            top: 5px;
            font-size: 1.2rem;
            transition: all 400ms;
            color: #777;
        }

        .texture-list .text h3 {
            margin: 5px 0;
            position: relative;
            font-size: 1.1rem;
            margin-left: 10px;
            margin-right: 10px;
            padding-bottom: 5px;
            transition: all 500ms;
        }

        .texture-list .text .preview {
            overflow: hidden;
            transition: all 400ms;
        }

        .texture-list .text.rotate .title {
            transition: all 400ms;
            max-width: 70% !important;
            flex: 0 0 70%;
        }

        .texture-list .text .preview img {
            margin: 0 10px;
            max-height: 80px;
            max-width: 100%;
        }

        .texture-list .text.rotate .preview {
            max-width: 0 !important;
        }

        .texture-list .text.rotate h3 {
            color: #617b91;
            font-size: 1.4rem;
            font-weight: 600;
        }

        .texture-list .text.rotate::after {
            transform: rotateZ(0deg);
        }


.texture-list-collapsed {
    margin-top: 15px;
    height: 0;
    overflow: hidden;
    transition: all 400ms;
}

    .texture-list-collapsed.open {
        height: 100% !important;
    }

.container-wrapper {
    margin: 0 auto;
    margin-top: calc(35vh + 80px);
    overflow-x: hidden;
    max-width: 1200px;
}


    .container-wrapper #config {
        min-height: 40vh;
        padding-bottom: 50px;
    }

        .container-wrapper #config .title {
            width: 100%;
            color: #617b91;
            font-weight: bold;
            border-bottom: solid 1px #617b91;
            padding-bottom: 2px;
            text-align: left;
        }

        .container-wrapper #config .item {
            margin: 10px 5px;
            max-height: 80px;
            padding: 5px 5px;
            text-align: left;
            font-size: 1rem;
            text-transform: uppercase;
            overflow-wrap: break-word;
            border: solid 1px #eaeaea;
            border-left: solid 6px #eaeaea;
        }

            .container-wrapper #config .item img {
                width: 60px;
                margin: 5px 15px 5px 5px;
            }

            .container-wrapper #config .item.active {
                border-color: #617b91 !important;
                color: #617b91;
                font-weight: bold;
                background-color: rgba(97, 123, 145, 0.08)
            }

            .container-wrapper #config .item .ms-Icon {
                margin: 0 5px;
                font-size: 0.8rem;
            }

        .container-wrapper #config .item-texture {
            width: 120px;
            margin: 15px;
            padding: 0;
            max-height: 100% !important;
            border: none;
        }

            .container-wrapper #config .item-texture img {
                width: 100% !important;
                padding: 0;
                margin: 0;
            }

            .container-wrapper #config .item-texture p {
                width: 100% !important;
                text-align: center;
                margin-top: 5px;
            }

        .container-wrapper #config .bounce-arrow {
            color: #617b91;
        }

.bounce-l {
    animation-name: bounce-l;
    animation-timing-function: ease-in-out;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

.bounce-r {
    animation-name: bounce-r;
    animation-timing-function: ease-in-out;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

@keyframes bounce-l {
    0% {
        transform: translateX(-15px);
    }

    30% {
        transform: translateX(-3px);
    }

    50% {
        transform: translateX(-3px);
    }

    100% {
        transform: translateX(-15px);
    }
}

@keyframes bounce-r {
    0% {
        transform: translateX(15px);
    }

    30% {
        transform: translateX(3px);
    }

    50% {
        transform: translateX(3px);
    }

    100% {
        transform: translateX(15px);
    }
}



/* Stili per testi gestore publishing */
.formattedText H1 {
    font-size: 26px;
    color: #000000;
    line-height: normal;
    margin: 10px 0 3px 0;
    padding: 0 0 0 0;
    font-weight: 700;
    border: none;
}

.formattedText H2 {
    font-size: 22px;
    color: #000000;
    line-height: normal;
    margin: 10px 0 3px 0;
    padding: 0 0 0 0;
    font-weight: 700;
    border: none;
}

.formattedText H4 {
    font-size: 18px;
    color: #000000;
    line-height: normal;
    margin: 10px 0 3px 0;
    padding: 0 0 0 0;
    font-weight: 700;
    border: none;
}

.formattedText H3 {
    font-size: 20px;
    color: #000000;
    line-height: normal;
    margin: 10px 0 3px 0;
    padding: 0 0 0 0;
    font-weight: 600;
    border: none;
}

.formattedText H5 {
    font-size: 16px;
    color: #000000;
    line-height: normal;
    margin: 10px 0 3px 0;
    padding: 0 0 0 0;
    font-weight: 600;
    border: none;
}

.formattedText H6 {
    font-size: 12px;
    color: #000000;
    line-height: normal;
    margin: 10px 0 3px 0;
    padding: 0 0 0 0;
    font-weight: 600;
    border: none;
}

.formattedText P {
    font-size: 14px;
    color: #000000;
    line-height: normal;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    font-weight: normal;
}

    .formattedText P I {
        font-size: 14px;
        color: #000000;
        line-height: normal;
        margin: 10px 0 3px 0;
        padding: 0 0 0 0;
        font-weight: bold;
    }


.gallery-wrap {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: calc(100vh - 260px);
    margin-top: 10px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #eaeaea;
}

    .gallery-wrap .item {
        flex: 1;
        height: 100%;
        /*background-position: center;
    background-size: cover;
    background-repeat: no-repeat;*/
        transition: all 600ms ease;
        filter: brightness(100%);
        position: relative;
        border: solid 4px #fff;
    }

        .gallery-wrap .item h2 {
            font-size: 2.2rem;
            margin: 10px;
            writing-mode: vertical-rl;
            letter-spacing: 3px;
            color: #000;
            background-color: rgba(255,255,255,0.7);
            padding: 18px 0 18px 5px;
            text-transform: uppercase;
            border-radius: 5px;
        }

        .gallery-wrap .item:hover {
            flex: 9;
        }


#strutture {
    /*background-image: url('images/cover/Motus-2022_pag_35.jpg');*/
    background-color: rgba(0,0,0,0.1);
}

#ante {
    /*background-image: url('images/cover/Motus 2022_pag_41.jpg');*/
    background-color: rgba(0,0,0,0.1);
}

#maniglie {
    /*background-image: url('images/cover/maniglia.png');*/
    background-color: rgba(0,0,0,0.1);
}


#ante-list {
    overflow-x: hidden;
}


#gallery {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.7);
    z-index:20 !important;
}

    #gallery img {
        width: 90vh;        
        transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        transform-origin: bottom left;
        position:absolute;
        left:calc((100vw - 26.5vh)/2);
        top:-23vh
    }

    #gallery span {
        position:fixed;
        right:15px;
        top:10px;
        color:#fff;
        z-index:25 !important;
        font-size:1.5rem;
    }

    