.testim {
		width: 100%;
		position: absolute;
		/* top: 12%;
		transform: translatey(12%); */
}

.testim .wrap {
    position: relative;
    width: 100%;
    max-width: 1020px;
    padding: 40px 20px;
    margin: auto;
}

.testim .arrow {
    display: block;
    position: absolute;
    color: #333;
    cursor: pointer;
    font-size: 2em;
    top: 50%;
	transform: translateY(-50%);   
    transition: all .3s ease-in-out;
    padding: 5px;
    z-index: 22222222;
}

.testim .arrow:before {
	cursor: pointer;
}

.testim .arrow:hover {
    color: var(--accent);
}
    

.testim .arrow.left {
    left: 70px;
}

.testim .arrow.right {
    right: 70px;
}

.testim .dots {
    text-align: center;
    position: relative;
    width: 100%;
    margin: 0 auto;
    top: -3vw;
    bottom: 0vw;
    left: 0;
    display: block;
    z-index: 3333;
    height: 17px;
}

.testim .dots .dot {
    list-style-type: none;
    display: inline-block;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--blok-nero);
    border: 1px solid var(--blok-nero);
    margin: 0 10px;
    cursor: pointer;   
    transition: all .5s ease-in-out;
	position: relative;
}

.testim .dots .dot.active,
.testim .dots .dot:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.testim .dots .dot.active { 
    animation: testim-scale .5s ease-in-out forwards;   
}
    
.testim .cont {
    position: relative;
	overflow: hidden;
    height: 30vw;
}

.testim .cont > div {
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    padding: 2vw 0 0 0;
    opacity: 0;
}

.testim .cont > div.inactive {
    opacity: 0;
}
    

.testim .cont > div.active {
    position: relative;
    opacity: 1;
}
    

.testim .cont div .img img {
    display: block;
    width: 8vw;
    height: 8vw;
    margin: auto;
    /*border-radius: 50%;*/
}

.testim .cont div p.testim-content-nome {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 15px auto;
}

.testim .cont div hr.testim-content-separatore {
    width: 5vw;
    margin: 1vw auto 1vw; 
}

.testim .cont div p.testim-content-ruolo {
    font-size: 1.8rem;
    font-style: italic;
    margin: 15px auto;
}

.testim .cont div p {
    /* font-size: 1.15em; */
    /* color: #333; */
    width: 57%;
    margin: auto auto 15px;
}

.testim .cont div.active .img img {
    animation: testim-show .5s ease-in-out forwards;            
}

.testim .cont div.active p.testim-content-nome {
    animation: testim-content-in .4s ease-in-out forwards;    
}

.testim .cont div.active hr.testim-content-separatore {
    animation: testim-content-in .5s ease-in-out forwards;    
}

.testim .cont div.active p.testim-content-ruolo {
    animation: testim-content-in .5s ease-in-out forwards;    
}


.testim .cont div.active p {
    animation: testim-content-in .5s ease-in-out forwards;    
}

.testim .cont div.inactive .img img {
    animation: testim-hide .5s ease-in-out forwards;            
}

.testim .cont div.inactive p.testim-content-nome {
    animation: testim-content-out .4s ease-in-out forwards;        
}

.testim .cont div.inactive hr.testim-content-separatore {
    animation: testim-content-out .5s ease-in-out forwards;    
}

.testim .cont div.inactive p.testim-content-ruolo {
    animation: testim-content-out .5s ease-in-out forwards;        
}

.testim .cont div.inactive p {
    animation: testim-content-out .5s ease-in-out forwards;    
}

@keyframes testim-scale {
    0% {
        box-shadow: 0px 0px 0px 0px #eee;
    }

    35% {
        box-shadow: 0px 0px 10px 5px #eee;        
    }

    70% {
        box-shadow: 0px 0px 10px 5px var(--accent);        
    }

    100% {
        box-shadow: 0px 0px 0px 0px var(--accent);        
    }
}

@keyframes testim-content-in {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    
    to {
        opacity: 1;
        transform: translateY(0);        
    }
}

@keyframes testim-content-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    
    to {
        opacity: 0;
        transform: translateY(-100%);        
    }
}

@keyframes testim-show {
    from {
        opacity: 0;
        transform: scale(0);
    }
    
    to {
        opacity: 1;
        transform: scale(1);       
    }
}

@keyframes testim-hide {
    from {
        opacity: 1;
        transform: scale(1);       
    }
    
    to {
        opacity: 0;
        transform: scale(0);
    }
}

@media all and (max-width: 600px) {
	.testim .cont div .img img {
        width: 35vw;
        height: 35vw;
        /*border-radius: 50%;*/
    }
    .testim .arrow {
		font-size: 3.5em;
	}
    .testim .arrow.left {
        left: -25px;
    }

    .testim .arrow.right {
        right: -25px;
    }	    
    .testim .cont {
        height: 120vw;
    }
    .testim .cont div p {
      width: 86%;
    }
    .testim .dots {
      top: 7vw;
    }
	/* .testim .cont div p {
		line-height: 25px;
	}*/

}