﻿.schema-container {
    position: relative;
    /*border: 1px solid #ff6a00;*/
    width:  516px;
    height: 412px;
    /*width: 258px;
    height: 206px;*/
}
.puzzle-up {
    width: 120px;
    height: 120px;
    top: 104px;
    position: absolute;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.puzzle-up > .puzzle-block-text {
    position: absolute;
    top: calc(100% / 3);
    left: calc(100% / 6);
    width: calc(100% / 2);
    height: calc(100% / 6);
    text-align: center;
    z-index: 70;
}
.puzzle-up > .puzzle-block-topleft {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    /*background-color: #ff6a00;*/
    border-left : 1px solid #000;
    border-top : 1px solid #000;
    z-index: 50;
}
.puzzle-up > .puzzle-block-topcenter {
    position: absolute;
    top: 0;
    left: 40px;
    width: 20px;
    height: 20px;
    /*background-color: #8d8d8d;*/
    border-bottom : 1px solid #000;
    border-left : 1px solid #000;
    border-right: 1px solid #000;
    z-index: 50;
}
.puzzle-up > .puzzle-block-topright {
    position: absolute;
    top: 0;
    left: 60px;
    width: 40px;
    height: 44px;
    /*background-color: #ff0000;*/
    border-top : 1px solid #000;
    border-right : 1px solid #000;
    z-index: 50;
}
.puzzle-up > .puzzle-block-right {
    position: absolute;
    top: 44px;
    left: 100px;
    width: 16px;
    height: 12px;
    /*background-color: #ffd800;*/
    border : 1px solid #000;
    border-left : 1px solid #FFF;
    z-index: 70;
}
.puzzle-up > .puzzle-block-bottomright {
    position: absolute;
    top: 56px;
    left: 56px;
    width: 44px;
    height: 44px;
    /*background-color: #89e9ef;*/
    border-right : 1px solid #000;
    border-bottom : 1px solid #000;
    z-index: 60;
}
.puzzle-up > .puzzle-block-bottom {
    position: absolute;
    top: 100px;
    left: 44px;
    width: 12px;
    height: 16px;
    /*background-color: #808080;*/
    border : 1px solid #000;
    border-top : 2px solid #FFF;
    z-index: 70;
}
.puzzle-up > .puzzle-block-centerleft {
    position: absolute;
    top: 40px;
    left: 0;
    width: 16px;
    height: 20px;
    /*background-color: #dcd8ff;*/
    border-top : 1px solid #000;
    border-right : 1px solid #000;
    border-bottom : 1px solid #000;
    z-index: 50;
}
.puzzle-up > .puzzle-block-bottomleft {
    position: absolute;
    top: 60px;
    left: 0;
    width: 44px;
    height: 40px;
    /*background-color: #b6ff00;*/
    border-left : 1px solid #000;
    border-bottom : 1px solid #000;
    z-index: 50;
}
.puzzle-down {
    position: absolute;
    top: 208px;
    width: 120px;
    height: 100px;
    margin-bottom: 1%;
    box-sizing: border-box;
}
.puzzle-down > .puzzle-block-top {
    position: absolute;
    top: 0;
    left: 40px;
    width: 20px;
    height: 16px;
    /*background-color: #ffd800;*/
    border-bottom : 1px solid #000;
    border-left : 1px solid #000;
    z-index: 50;
}
.puzzle-down > .puzzle-block-topleft {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    /*background-color: #ff6a00;*/
    border-left : 1px solid #000;
    border-top : 1px solid #000;
    z-index: 50;
}
.puzzle-down > .puzzle-block-topright {
    position: absolute;
    top: 0;
    left: 60px;
    width: 40px;
    height: 16px;
    /*background-color: #909dff;*/
    border-left : 1px solid #000;
    border-top : 1px solid #000;
    border-right : 1px solid #000;
    z-index: 50;
}
.puzzle-down > .puzzle-block-right {
    position: absolute;
    top: 44px;
    left: calc(100% / 6 * 5 - 1px);
    width: 16px;
    height: 12px;
    /*background-color: #ffd800;*/
    border-top: 1px solid #000;
    border-right : 1px solid #000;
    border-bottom : 1px solid #000;
    border-left : 1px solid #FFF;
    z-index: 60;
}

.puzzle-down >.puzzle-block-bottom {
    position: absolute;
    top: 80px;
    left: 40px;
    width: 20px;
    height: 20px;
    /*background-color: #edeef8;*/
    border-top: 1px solid #000;
    border-left: 1px solid #000;
    z-index: 60;
}
.puzzle-down > .puzzle-block-center {
    position: absolute;
    top: 16px;
    left: 20px;
    width: 80px;
    height: 64px;
    /*background-color: #ff0000;*/
    border-right : 1px solid #000;
    /*border-bottom : 1px solid #FFF;*/
    z-index: 50;
}
.puzzle-down > .puzzle-block-bottomleft {
    position: absolute;
    top: 60px;
    left: 0;
    width: 40px;
    height: 40px;
    /*background-color: #b6ff00;*/
    border-left : 1px solid #000;
    border-bottom : 1px solid #000;
    z-index: 50;
}
.puzzle-down > .puzzle-block-bottomright {
    position: absolute;
    top: 80px;
    left: 60px;
    width: 40px;
    height: 20px;
    /*background-color: #aeaeae;*/
    border-bottom : 1px solid #000;
    border-left : 1px solid #000;
    border-right : 1px solid #000;
    z-index: 50;
}
.puzzle-down > .puzzle-block-centerleft {
    position: absolute;
    top: 40px;
    left: 0;
    width: 16px;
    height: 20px;
    /*background-color: #dcd8ff;*/
    border-right : 1px solid #000;
    border-top : 1px solid #000;
    border-bottom : 1px solid #000;
    z-index: 50;
}
.puzzle-down > .puzzle-block-text {
    position: absolute;
    top: calc(100% / 5 * 2);
    left: calc(100% / 6);
    width: calc(100% / 2);
    height: calc(100% / 5);
    text-align: center;
    z-index: 70;
}
/*singole posizioni*/
.puzzle-up-1, .puzzle-down-1 {
    left: 104px;
}
.puzzle-up-2, .puzzle-down-2 {
    left: 208px;
}
.puzzle-up-3, .puzzle-down-3 {
    left: 312px;
}
.puzzle-top {
    position: absolute;
    top: 0;
    /*border: 1px solid #CCC;*/
    width: 100%;
    height: calc(97% / 20 * 6);
}

.puzzle-top > .puzzle-block-center > .puzzle-block-text {
    position: absolute;
    top: 40%;
    width: 100%;
    text-align: center;
    /*background-color: red;*/
}

.puzzle-top > .puzzle-block-center {
    position: absolute;
    top: 0;
    width: 100%;
    height: calc(100% / 6 * 5);
    border-left: 1px solid #000;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
}

.puzzle-top > .puzzle-block-pin1 {
    position: absolute;
    top: 100px;
    left: calc((96% / 25 * 2) + 1%);
    width: calc(96% / 25 - 2%);
    height: calc(100% / 6);
    border: 1px solid #000;
    border-top: 1px solid #FFF;
    /*background-color: aqua;*/
}
.puzzle-top > .puzzle-block-pin2 {
    position: absolute;
    top: 100px;
    left: calc((96% / 25 * 7) + 2%);
    width: calc(96% / 25 - 2%);
    height: calc(100% / 6);
    border: 1px solid #000;
    border-top: 1px solid #FFF;
    /*background-color: aqua;*/
}
.puzzle-top > .puzzle-block-pin3 {
    position: absolute;
    top: 100px;
    left: calc((96% / 25 * 12) + 3%);
    width: calc(96% / 25 - 2%);
    height: calc(100% / 6);
    border: 1px solid #000;
    border-top: 1px solid #FFF;
    /*background-color: aqua;*/
}
.puzzle-top > .puzzle-block-pin4 {
    position: absolute;
    top: 100px;
    left: calc((96% / 25 * 17) + 4%);
    width: calc(96% / 25 - 2%);
    height: calc(100% / 6);
    border: 1px solid #000;
    border-top: 1px solid #FFF;
    /*background-color: aqua;*/
}
.puzzle-top > .puzzle-block-pin5 {
    position: absolute;
    top: 100px;
    left: calc((96% / 25 * 22) + 5%);
    width: calc(96% / 25 - 2%);
    height: calc(100% / 6);
    border: 1px solid #000;
    border-top: 1px solid #FFF;
    /*background-color: aqua;*/
}
.puzzle-top > .puzzle-block-b1 {
    position: absolute;
    top: 100px;
    width: 45px;
    height: 0;
    border-bottom: 1px solid #000;
}
.puzzle-top > .puzzle-block-b2 {
    position: absolute;
    top: 100px;
    left: 54px;
    width: 95px;
    height: 0;
    border-bottom: 1px solid #000;
}
.puzzle-top > .puzzle-block-b3 {
    position: absolute;
    top: 100px;
    left: 157px;
    width: 96px;
    height: 0;
    border-bottom: 1px solid #000;
}
.puzzle-top > .puzzle-block-b4 {
    position: absolute;
    top: 100px;
    right: 158px;
    width: 94px;
    height: 0;
    border-bottom: 1px solid #000;
}
.puzzle-top > .puzzle-block-b5 {
    position: absolute;
    top: 100px;
    right: 53px;
    width: 96px;
    height: 0;
    border-bottom: 1px solid #000;
}
.puzzle-top > .puzzle-block-b6 {
    position: absolute;
    top: 100px;
    right: 0;
    width: 45px;
    height: 0;
    border-bottom: 1px solid #000;
}
.puzzle-left {
    position: absolute;
    width: 120px;
    height: 204px;
    /*border: 1px solid #CCC;*/
    top: 104px;
}
.puzzle-left > .puzzle-block-text {
    position: absolute;
    top: 90%;
    left: calc(100% / 3);
    width: 140%;
    text-align: center;
    -webkit-transform: rotate(270deg);
    -webkit-transform-origin-x: 0;
    -webkit-transform-origin-y: 0;
    /*background-color: red;*/
}
.puzzle-left > .puzzle-block-center {
    position: absolute;
    top: 20px;
    width: 100px;
    height: 164px;
    border-left: 1px solid #000;
}
.puzzle-left > .puzzle-block-topleft {
    position: absolute;
    top: 0;
    width: 40px;
    height: 20px;
    border-left: 1px solid #000;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
}
.puzzle-left > .puzzle-block-topcenter {
    position: absolute;
    top: 0;
    left: 40px;
    width: 20px;
    height: 20px;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
}
.puzzle-left > .puzzle-block-topright {
    position: absolute;
    top: 0;
    left: 60px;
    width: 40px;
    height: 44px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
}
.puzzle-left > .puzzle-block-bottomleft {
    position: absolute;
    top: 184px;
    width: 40px;
    height: 20px;
    border-left: 1px solid #000;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
}
.puzzle-left > .puzzle-block-bottomcenter {
    position: absolute;
    top: 184px;
    left: 40px;
    width: 20px;
    height: 20px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
}
.puzzle-left > .puzzle-block-bottomright {
    position: absolute;
    top: 160px;
    left: 60px;
    width: 40px;
    height: 44px;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
}
.puzzle-left > .puzzle-block-righttop {
    position: absolute;
    top: 44px;
    left: 100px;
    width: 16px;
    height: 12px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
}
.puzzle-left > .puzzle-block-rightcenter {
    position: absolute;
    top: 56px;
    left: 80px;
    width: 20px;
    height: 92px;
    border-right: 1px solid #000;
}
.puzzle-left > .puzzle-block-rightbottom {
    position: absolute;
    top: 148px;
    left: 100px;
    width: 16px;
    height: 12px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
}
.puzzle-bottom {
    position: absolute;
    left: 0;
    top: 292px;
    width: 100%;
    height: 120px;
}
.puzzle-bottom > .puzzle-block-center {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}
.puzzle-bottom > .puzzle-block-center > .puzzle-block-text {
    position: absolute;
    top: 40%;
    width: 100%;
    text-align: center;
    /*background-color: red;*/
}
.puzzle-bottom > .puzzle-block-pin1 {
    position: absolute;
    top: 1px;
    left: calc((96% / 25 * 2) + 1%);
    width: calc(96% / 25 - 2%);
    height: calc(100% / 6);
    border: 1px solid #000;
    border-bottom: 1px solid #FFF;
    /*background-color: aqua;*/
}
.puzzle-bottom > .puzzle-block-pin2 {
    position: absolute;
    top: 1px;
    left: calc((96% / 25 * 7) + 2%);
    width: calc(96% / 25 - 2%);
    height: calc(100% / 6);
    border: 1px solid #000;
    border-bottom: 1px solid #FFF;
    /*background-color: aqua;*/
}
.puzzle-bottom > .puzzle-block-pin3 {
    position: absolute;
    top: 1px;
    left: calc((96% / 25 * 12) + 3%);
    width: calc(96% / 25 - 2%);
    height: calc(100% / 6);
    border: 1px solid #000;
    border-bottom: 1px solid #FFF;
    /*background-color: aqua;*/
}
.puzzle-bottom > .puzzle-block-pin4 {
    position: absolute;
    top: 1px;
    left: calc((96% / 25 * 17) + 4%);
    width: calc(96% / 25 - 2%);
    height: calc(100% / 6);
    border: 1px solid #000;
    border-bottom: 1px solid #FFF;
    /*background-color: aqua;*/
}
.puzzle-bottom > .puzzle-block-pin5 {
    position: absolute;
    top: 1px;
    left: calc((96% / 25 * 22) + 5%);
    width: calc(96% / 25 - 2%);
    height: calc(100% / 6);
    border: 1px solid #000;
    border-bottom: 1px solid #FFF;
    /*background-color: aqua;*/
}
.puzzle-bottom > .puzzle-block-b1 {
    position: absolute;
    top: 20px;
    width: 45px;
    height: 0;
    border-bottom: 1px solid #000;
}
.puzzle-bottom > .puzzle-block-b2 {
    position: absolute;
    top: 20px;
    left: 54px;
    width: 95px;
    height: 0;
    border-bottom: 1px solid #000;
}
.puzzle-bottom > .puzzle-block-b3 {
    position: absolute;
    top: 20px;
    left: 157px;
    width: 96px;
    height: 0;
    border-bottom: 1px solid #000;
}
.puzzle-bottom > .puzzle-block-b4 {
    position: absolute;
    top: 20px;
    right: 158px;
    width: 94px;
    height: 0;
    border-bottom: 1px solid #000;
}
.puzzle-bottom > .puzzle-block-b5 {
    position: absolute;
    top: 20px;
    right: 53px;
    width: 96px;
    height: 0;
    border-bottom: 1px solid #000;
}
.puzzle-bottom > .puzzle-block-b6 {
    position: absolute;
    top: 20px;
    right: 0;
    width: 45px;
    height: 0;
    border-bottom: 1px solid #000;
}
.puzzle-right {
    position: absolute;
    right: 0;
    width: 120px;
    height: 204px;
    /*border: 1px solid #CCC;*/
    top: 104px;
}
.puzzle-right > .puzzle-block-text {
    position: absolute;
    top: 80%;
    left: 60px;
    width: 100%;
    text-align: center;
    -webkit-transform: rotate(270deg);
    -webkit-transform-origin-x: 0;
    -webkit-transform-origin-y: 0;
    /*background-color: red;*/
}
.puzzle-right > .puzzle-block-center {
    position: absolute;
    top: 20px;
    right: 0;
    width: 100px;
    height: 164px;
    border-right: 1px solid #000;
}
.puzzle-right > .puzzle-block-topright {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 20px;
    border-left: 1px solid #000;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
}
.puzzle-right > .puzzle-block-topcenter {
    position: absolute;
    top: 0;
    right: 40px;
    width: 20px;
    height: 20px;
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
}
.puzzle-right > .puzzle-block-topleft {
    position: absolute;
    top: 0;
    right: 60px;
    width: 40px;
    height: 40px;
    border-top: 1px solid #000;
    border-left: 1px solid #000;
}
.puzzle-right > .puzzle-block-bottomright {
    position: absolute;
    top: 184px;
    right: 0;
    width: 40px;
    height: 20px;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
}
.puzzle-right > .puzzle-block-bottomcenter {
    position: absolute;
    top: 184px;
    right: 40px;
    width: 20px;
    height: 20px;
    border-top: 1px solid #000;
    border-left: 1px solid #000;
}
.puzzle-right > .puzzle-block-bottomleft {
    position: absolute;
    top: 164px;
    right: 60px;
    width: 40px;
    height: 40px;
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
}
.puzzle-right > .puzzle-block-righttop {
    position: absolute;
    top: 40px;
    right: 84px;
    width: 16px;
    height: 20px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
}
.puzzle-right .puzzle-block-rightcenter {
    position: absolute;
    top: 60px;
    right: 80px;
    width: 20px;
    height: 84px;
    border-left: 1px solid #000;
}
.puzzle-right > .puzzle-block-rightbottom {
    position: absolute;
    top: 144px;
    right: 84px;
    width: 16px;
    height: 20px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
}

/*ANIMATION*/

.puzzle-top, .puzzle-up, .puzzle-down, .puzzle-right, .puzzle-left, .puzzle-bottom {
    -webkit-transition: margin .3s ease-in;
    -moz-transition: margin .3s ease-in;
    -o-transition: margin .3s ease-in;
    transition: margin .3s ease-in;
}


.puzzle-top-start {
    margin-top: -15%;
}

.puzzle-bottom-start {
    margin-top: 15%;
}
.puzzle-left-start {
    margin-left: -10%;
}
.puzzle-right-start {
    margin-right: -10%;
}
.puzzle-up-start {
    margin-top: -5%;
}
.puzzle-down-start {
    margin-top: 5%;
}

@media (max-width:767px) {

    .desc-title-bottom-right {
        color: #000;
    }

    .row {
        margin-bottom: 1em;
    }

    .separatore-riga {
        margin-bottom: 1em;
    }

}