.rotating-slider{
    margin: 5em auto;
    height: 360px;
    position: relative;
    width: 100% !important;
}
.rotating-slider ul{
    background: center/100% no-repeat url(../img/rotating-slider.png), center/835px no-repeat url(../img/gear.png);
}
.rotating-slider ul.direction-controls{
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 80px;
    width: 100%;
}
.rotating-slider ul.direction-controls li.left-arrow{
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
}
.rotating-slider ul.direction-controls li.right-arrow{
    position: absolute;
        top: 50%;
        left: 100%;
    transform: translateY(-50%);
}
.rotating-slider ul.direction-controls li button{
    background: rgba(0,0,0,0.2);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.5em;
    font-weight: bold;
    height: 1.5em;
    line-height: 1.5em;
    padding: 0;
    text-align: center;
    transition: background 0.25s;
    width: 1.5em;
}
.rotating-slider ul.direction-controls li button:hover{
    background: rgba(0,0,0,0.6);
}
.rotating-slider ul.slides{
    border-radius: 50%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
        top: 0;
        left: 50%;
    transform: translateX(-50%) rotate(0);
    transform-origin: center center;
    width: 100%;
}
.rotating-slider ul.slides li{
    /* background-color: #ffeaea; */
    background-position: center;
    background-size: cover;
    display: block;
    list-style: none;
    position: absolute;
    top: 0;
    left: 50%;
    text-align: center;
    transform-origin: bottom center;
    min-width: 535px !important;
    min-height: 320px !important;
    transition:0.3s;
}
/* .rotating-slider ul.slides li:nth-child(even){
    background-color: #f9d6d6;
} */

/* .rotating-slider ul.slides li:before{
    content: '';
    position: absolute;
    top: 8px;
    bottom: 0;
    width: 1px;
    left: 46px;
    height: 100%;
    background: #e9c9c9;
    opacity: 1;
    overflow: hidden;
    z-index: 2;
    transform: rotateZ(-22.5deg);
} */
.rotating-slider ul.slides li h3{ 
    color: #15438d;
    position: relative;
    display: block;
    z-index: 7;
    font-size: 20px;
    margin-top:7px;
    transition:0.3s;
}
.rotating-slider ul.slides li p{ 
    color: #000;
    transition:0.3s;
}
.rotating-slider ul.slides li { color: #000 }
/* .rotating-slider ul.slides li:hover{
    background-color: #15438d;
    transition:0.3s;
    color: #fff
} 
.rotating-slider ul.slides li:hover h3,
.rotating-slider ul.slides li:hover p{ 
    color: #fff;
    transition:0.3s;
}*/
/* .rotating-slider ul.slides li:nth-of-type(1) { background:center/cover no-repeat url(../img/services/gallery-1.jpg); }
.rotating-slider ul.slides li:nth-of-type(2) { background:center/cover no-repeat url(../img/services/gallery-2.jpg); }
.rotating-slider ul.slides li:nth-of-type(3) { background:center/cover no-repeat url(../img/services/gallery-3.jpg); }
.rotating-slider ul.slides li:nth-of-type(4) { background:center/cover no-repeat url(../img/services/gallery-4.jpg); }
.rotating-slider ul.slides li:nth-of-type(5) { background:center/cover no-repeat url(../img/services/gallery-5.jpg); }
.rotating-slider ul.slides li:nth-of-type(6) { background:center/cover no-repeat url(../img/services/gallery-6.jpg); }
.rotating-slider ul.slides li:nth-of-type(7) { background:center/cover no-repeat url(../img/services/gallery-7.jpg); }
.rotating-slider ul.slides li:nth-of-type(8) { background:center/cover no-repeat url(../img/services/gallery-8.jpg); } */
.rotating-slider ul.slides li .inner {
  box-sizing: border-box;
  padding: 2em;
  height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: start;
  flex-direction: column;
  text-decoration:none;
  color: initial;
}
@media(max-width:480px){
    .rotating-slider ul.direction-controls li.left-arrow{
        right: 90%;
    }
    .rotating-slider ul.direction-controls li.right-arrow{
        left: 90%;
    }
}