.container-slider {
    position: relative;
    width: 400px;
    height: 300px;
    border: 2px solid white;
    margin: 5px;
}

.container-slider-verticale {
    position: relative;
    width: 250px;
    height: 400px;
    border: 2px solid white;
    margin: 5px;
}

.container-slider .img,
.container-slider-verticale .img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 400px 100%;
}


/*---------------- Immagini da cambiare --------------*/

.background-img {
    background-image: url('../../servizi_foto/home/7.JPG');
}

.background-img-2 {
    background-image: url('../../servizi_foto/home/5.JPG');
}

.background-img-3 {
    background-image: url('../../servizi_foto/home/10.jpg');
}

.background-img-4 {
    background-image: url('../../servizi_foto/home/11.jpg');
}

.background-img-5 {
    background-image: url('../../servizi_foto/home/6.JPG');
}

.background-img-6 {
    background-image: url('../../servizi_foto/home/2.JPG');
}

.foreground-img {
    background-image: url('../../servizi_foto/home/7a.JPG');
    width: 50%;
}

.foreground-img-2 {
    background-image: url('../../servizi_foto/home/5a.JPG');
    width: 50%;
}

.foreground-img-3 {
    background-image: url('../../servizi_foto/home/10a.jpg');
    width: 50%;
}

.foreground-img-4 {
    background-image: url('../../servizi_foto/home/11a.jpg');
    width: 50%;
}

.foreground-img-5 {
    background-image: url('../../servizi_foto/home/6a.JPG');
    width: 50%;
}

.foreground-img-6 {
    background-image: url('../../servizi_foto/home/2a.JPG');
    width: 50%;
}


/*----------------- Fine immagni ------------------------------*/

.container-slider .slider {
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: rgba(242, 242, 242, .3);
    outline: none;
    margin: 0;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-slider .slider:hover {
    background: rgba(242, 242, 242, .1);
}

.container-slider .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 6px;
    height: 300px;
    background: white;
    cursor: pointer;
}

.container-slider .slider::-moz-range-thumb {
    width: 6px;
    height: 300px;
    background: white;
    cursor: pointer;
}

.container-slider .slider-button {
    pointer-events: none;
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: white;
    left: calc(50% - 18px);
    top: calc(50% - 18px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-slider .slider-button:after {
    content: '';
    padding: 3px;
    display: inline-block;
    border: solid #5d5d5d;
    border-width: 0 2px 2px 0;
    transform: rotate(-45deg);
}

.container-slider .slider-button:before {
    content: '';
    padding: 3px;
    display: inline-block;
    border: solid #5d5d5d;
    border-width: 0 2px 2px 0;
    transform: rotate(135deg);
}


/*SLiever verticale*/

.container-slider-verticale .slider {
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: rgba(242, 242, 242, .3);
    outline: none;
    margin: 0;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-slider-verticale .slider:hover {
    background: rgba(242, 242, 242, .1);
}

.container-slider-verticale .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 6px;
    height: 400px;
    background: white;
    cursor: pointer;
}

.container-slider-verticale .slider::-moz-range-thumb {
    width: 6px;
    height: 400px;
    background: white;
    cursor: pointer;
}

.container-slider-verticale .slider-button {
    pointer-events: none;
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: white;
    left: calc(50% - 18px);
    top: calc(50% - 18px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-slider-verticale .slider-button:after {
    content: '';
    padding: 3px;
    display: inline-block;
    border: solid #5d5d5d;
    border-width: 0 2px 2px 0;
    transform: rotate(-45deg);
}

.container-slider-verticale .slider-button:before {
    content: '';
    padding: 3px;
    display: inline-block;
    border: solid #5d5d5d;
    border-width: 0 2px 2px 0;
    transform: rotate(135deg);
}