.team-gallery{width:100%}.team-gallery-container{align-items:center;display:flex;height:400px;margin:0 auto;overflow:hidden;position:relative}.team-gallery-item{height:364px;position:absolute;transition:all .3s ease-in-out;width:730px;z-index:0}.team-gallery-item-1{left:15%;transform:translateX(-85%) scale(.9)}.team-gallery-item-2{height:364px;left:50%;opacity:1;transform:translateX(-50%);width:730px;z-index:2}.team-gallery-item-3{left:85%;transform:translateX(-15%) scale(.9)}.team-gallery-controls{display:flex;justify-content:center;margin:30px 0}.team-gallery-controls button{background-color:transparent;border-radius:4px;cursor:pointer;font-size:16px;height:40px;margin:0 10px;padding:0 12px;text-transform:capitalize;width:40px}.team-gallery-controls button:focus{outline:none}.team-gallery-controls-previous{position:relative}.team-gallery-controls-previous:hover:before{left:-18px}.team-gallery-controls-next{position:relative}.team-gallery-controls-next:hover:before{right:-18px}.team-gallery-nav{bottom:-15px;display:flex;justify-content:center;list-style:none;padding:0;position:absolute;width:100%}.team-gallery-nav li{background:#ccc;border-radius:50%;height:10px;margin:0 16px;width:10px}.team-gallery-nav li.team-gallery-item-selected{background:#555}@media (max-width:768px){.team-gallery-container{height:auto;min-height:500px;overflow-x:hidden;overflow-y:visible}.team-gallery-item{height:auto}.team-gallery-item-1{left:-50%}.team-gallery-item-2{height:auto;width:350px}.team-gallery-item-3{left:150%}}