﻿.slideshowContainer {
    position: relative;
    overflow: hidden;
   
    width: 100%;
    height: 650px;
}

.imageSlides {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: -1;
}

/* add 'visible' class via Javascript */
.visible {
    opacity: 1;
}

.slideshowArrow {
    font-size: 7em;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

    .slideshowArrow:hover {
        opacity: 0.75;
    }

#leftArrow {
    position: absolute;
    left: 4%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#rightArrow {
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translate(50%, -50%);
}

.slideshowCircles {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.circle {
    display: inline-block;
    margin-left: 3px;
    margin-right: 3px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: solid 2px rgba(255, 255, 255, 0.5);
    transition: 1s ease-in-out;
}

.dot {
    background-color: rgba(255, 255, 255, 0.7);
    border: solid 2px rgba(255, 255, 255, 0.5);
}
@media screen and (min-width: 768px) {
    .slideshowContainer{
        width:100%
    }
}

@media screen and (min-width: 992px) {
    .slideshowContainer {
        width: 100%
    }
}

@media screen and (min-width: 1200px) {
    .slideshowContainer {
        width: 100%
    } 
}



/*Service Slide*/

.carousel {
    min-width: 900px;
    max-width: 1236px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 48px;
    padding-right: 48px;
    position: relative;
}

.carousel__activator {
    display: none;
}

.carousel__controls {
    display: none;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    right: 16px;
    left: 16px;
    bottom: 0;
}

    .carousel__controls:first-of-type {
        justify-content: flex-end;
    }

    .carousel__controls:last-of-type {
        justify-content: flex-start;
    }

.carousel__control {
    cursor: pointer;
    display: flex;
    align-items: center;
    background-color: #fff;
    color: #3d414a;
    border-radius: 100%;
    box-shadow: 0 2px 10px 0 rgba(33, 34, 36, 0.3);
    font-size: 24px;
    height: 48px;
    justify-content: center;
    transition: 0.3s all;
    width: 48px;
    z-index: 1;
}

    .carousel__control:hover {
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
    }

.carousel__activator:nth-of-type(1):checked ~ .carousel__controls:nth-of-type(1) {
    display: flex;
}

.carousel__activator:nth-of-type(1):checked ~ .carousel__screen
.carousel__track {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
}

.carousel__activator:nth-of-type(2):checked ~ .carousel__controls:nth-of-type(2) {
    display: flex;
}

.carousel__activator:nth-of-type(2):checked ~ .carousel__screen
.carousel__track {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}

.carousel__activator:nth-of-type(3):checked ~ .carousel__controls:nth-of-type(3) {
    display: flex;
}

.carousel__activator:nth-of-type(3):checked ~ .carousel__screen
.carousel__track {
    -webkit-transform: translateX(-200%);
    transform: translateX(-200%);
}

.carousel__activator:nth-of-type(4):checked ~ .carousel__controls:nth-of-type(4) {
    display: flex;
}

.carousel__activator:nth-of-type(4):checked ~ .carousel__screen
.carousel__track {
    -webkit-transform: translateX(-300%);
    transform: translateX(-300%);
}

.carousel__activator:nth-of-type(5):checked ~ .carousel__controls:nth-of-type(5) {
    display: flex;
}

.carousel__activator:nth-of-type(5):checked ~ .carousel__screen
.carousel__track {
    -webkit-transform: translateX(-400%);
    transform: translateX(-400%);
}

.carousel__activator:nth-of-type(6):checked ~ .carousel__controls:nth-of-type(6) {
    display: flex;
}

.carousel__activator:nth-of-type(6):checked ~ .carousel__screen
.carousel__track {
    -webkit-transform: translateX(-500%);
    transform: translateX(-500%);
}

.carousel__activator:nth-of-type(7):checked ~ .carousel__controls:nth-of-type(7) {
    display: flex;
}

.carousel__activator:nth-of-type(7):checked ~ .carousel__screen
.carousel__track {
    -webkit-transform: translateX(-600%);
    transform: translateX(-600%);
}

.carousel__activator:nth-of-type(8):checked ~ .carousel__controls:nth-of-type(8) {
    display: flex;
}

.carousel__activator:nth-of-type(8):checked ~ .carousel__screen
.carousel__track {
    -webkit-transform: translateX(-700%);
    transform: translateX(-700%);
}

.carousel__activator:nth-of-type(9):checked ~ .carousel__controls:nth-of-type(9) {
    display: flex;
}

.carousel__activator:nth-of-type(9):checked ~ .carousel__screen
.carousel__track {
    -webkit-transform: translateX(-800%);
    transform: translateX(-800%);
}

.carousel__activator:nth-of-type(10):checked ~ .carousel__controls:nth-of-type(10) {
    display: flex;
}

.carousel__activator:nth-of-type(10):checked ~ .carousel__screen
.carousel__track {
    -webkit-transform: translateX(-900%);
    transform: translateX(-900%);
}

.carousel__screen {
    overflow: hidden;
    margin-left: -16px;
    margin-right: -16px;
}

.carousel__track {
    font-size: 0;
    transition: all 0.3s ease 0s;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.carousel__item {
    display: inline-flex;
    padding-left: 16px;
    padding-right: 16px;
    vertical-align: top;
    white-space: normal;
}

.carousel__item--desktop-in-1 {
    width: 100%;
}

.carousel__item--desktop-in-2 {
    width: 50%;
}

.carousel__item--desktop-in-3 {
    width: 22.3333333333%;
}

.carousel__item--desktop-in-4 {
    width: 25%;
}

.carousel__item--desktop-in-5 {
    width: 20%;
}



.demo-content {
    color: #fff;
    display: flex;
    font-family: Helvetica;
    font-weight: 100;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    border-radius: 3px;
    font-size: 56px;
    height: 250px;
    width: 100%;
}

.carousel__item:nth-child(1) .demo-content {
    background-color: transparent;
}

.carousel__item:nth-child(2) .demo-content {
    background-color: transparent;
}

.carousel__item:nth-child(3) .demo-content {
    background-color: transparent;
}

.carousel__item:nth-child(4) .demo-content {
    background-color: transparent;
}

.carousel__item:nth-child(5) .demo-content {
    background-color: transparent;
}

.carousel__item:nth-child(6) .demo-content {
    background-color: transparent;
}

.carousel__item:nth-child(7) .demo-content {
    background-color: transparent;
}

.carousel__item:nth-child(8) .demo-content {
    background-color: transparent;
}

.carousel__item:nth-child(9) .demo-content {
    background-color: transparent;
}

.carousel__item:nth-child(10) .demo-content {
    background-color: transparent;
}

@media screen and (max-width: 1023px) {
    .carousel {
        padding-left: 0;
        padding-right: 0;
    }

    .carousel__activator:nth-of-type(n):checked ~ .carousel__controls:nth-of-type(n) {
        display: none;
    }

    .carousel__activator:nth-of-type(n):checked ~ .carousel__screen .carousel__track {
        -webkit-transform: none;
        transform: none;
    }

    .carousel__screen {
        margin-left: 0;
        margin-right: 0;
    }

    .carousel__track {
        overflow-x: auto;
        width: auto;
        padding-left: 48px;
        padding-right: 48px;
    }

    .carousel__item--tablet-in-1 {
        width: 90%;
    }

    .carousel__item--tablet-in-2 {
        width: 45%;
    }

    .carousel__item--tablet-in-3 {
        width: 30%;
    }
}

@media screen and (max-width: 650px) {
    .carousel__track {
        padding-left: 0;
        padding-right: 0;
    }

    .carousel__item--mobile-in-1 {
        width: 90%;
    }

    .carousel__item--mobile-in-2 {
        width: 45%;
    }

    .carousel__item--mobile-in-3 {
        width: 30%;
    }
}

