/****************************************/

.slideshowx {
    width: 100%;
    height: 500px;
    border: 0px;
    padding: 0px;
    /*margin: 0 auto;*/
    background-color: #FFFFFF;
    overflow: hidden;
    counter-reset: slide;
    position: relative;
    margin: 40px 0 30px 0;
}

.activex {
    position: absolute;
    opacity: 0;
    top: -25px;
    counter-increment: slide;

}
.activex + .slidex {
    transform: translateX(0px);
    transition: transform 0.5s ease-in-out;
}
.activex + .slidex .slide__contentx {
    width: 100%;
    display: block;
}

.activxb  {
    background-color: #e50448 !important;
}

.slidex {
    transform: translateX(-100%);
    position: absolute;
    width: 50%;
    height: 100%;
    background-size: 50% 100%;
    transition: transform 0.5s ease-in-out;
}
.slide__contentx {
    box-sizing: border-box;
    height: 100%;
    padding: 50px;
    color: #4d4643;
    position: absolute;
    left: 100%;
    display: none;
/*    animation-name: fade-in;
    animation-duration: 1s;
    animation-iteration-count: 1;*/
    opacity: 1;
    /*direction: rtl;*/
    text-align: center;
    overflow: hidden;
}
.slide__contentx h1{
    font-size: 28px;
    line-height: 1.8;
    animation-name: fade-in;
    animation-duration: 0.8s;
    animation-iteration-count: 1;
    transition: transform 0.5s ease-in-out;
    font-family: iraniansans_,'Poppins';
}

.slide__contentx p{
    font-size: 16px;
    animation-name: fade-in;
    animation-duration: 1.2s;
    animation-iteration-count: 1;
    transition: transform 0.5s ease-in-out;
}

@media (max-width: 768px) {
    .slide__contentx h1{
        font-size: 25px;
    }

    .slide__contentx p{
        font-size: 14px;
    }
}
@media (max-width: 562px) {
    .slide__contentx h1{
        font-size: 22px;
    }

    .slide__contentx p{
        font-size: 12px;
    }
}


.slide__htmlx {
    display: none;
}
.slidex:nth-child(2) {
    background: url("/Site/assets/img/portfolio/mainproduct-2.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.slidex:nth-child(2):after {
    position: absolute;
    margin: auto;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}
.slide__htmlx {
    display: none;
}
.slidex:nth-child(4) {
    background: url("/Site/assets/img/portfolio/acc-3.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.slidex:nth-child(4):after {
    position: absolute;
    margin: auto;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}
.slide__htmlx {
    display: none;
}
.slidex:nth-child(6) {
    background: url("/Site/assets/img/portfolio/mainproduct-3.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.slidex:nth-child(6):after {
    position: absolute;
    margin: auto;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}
.slide__htmlx {
    display: none;
}
.slidex:nth-child(8) {
    background: url("/Site/assets/img/portfolio/mainproduct-1.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.slidex:nth-child(8):after {
    position: absolute;
    margin: auto;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}
.slide__htmlx {
    display: none;
}
.slidex:nth-child(10) {
    background: url("/Site/assets/img/portfolio/opt-1.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.slidex:nth-child(10):after {
    position: absolute;
    margin: auto;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.navx {
    position: absolute;
    bottom: -11px;
    right: 0;
    width: 100%;
    overflow: auto;
    background-size: 100%;


}

.labelx {
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    background-color: #dddddd;
    display: inline-block;
    width: 11px;
    margin: 2px;
    height: 11px;
    border-radius: 50%;
}
.labelx:hover {
    cursor: pointer;
    /*color: #FFF;*/
    background-color: #aaaaaa;
}


@keyframes fade-in {
  0% {
    opacity: 0;
  }
  50% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}
