.row > .column {
    padding: 0 8px;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Create four equal columns that floats next to eachother */
.column {
    float: left;
//width: 15%;
    /*border: 4px solid #cdcdcd;*/
    margin-right: 15px;
    margin-bottom: 15px;
    background-color: white;
    text-align: center;

}



/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    /*padding-top: 100px;*/
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: scroll;
    background-color: #fafafc;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 90%;
    /*max-width: 900px;*/
    /*top: -80px;*/
}

/* The Close Button */
.close {
    color: #e3e3e3;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    line-height: 20px;
    font-weight: bold;
    z-index: 2;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}
.modal-content__block{
    position: relative;
}
.modal-content__block .prevSlideDemo, .modal-content__block .nextSlideDemo{
    top: 50%;
}

/* Hide the slides by default */
.mySlides {
    display: none;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.mySlides .mySlidesPhoto{
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}
.prevSlideDemo, .prevSlide{
    left: 0px;
}
/* Next & previous buttons */
.prevSlide,
.nextSlide,
.prevSlideDemo,
.nextSlideDemo
{
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: #bcd8f1;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    transform: translateY(-50%);
}


.nextSlide,.nextSlideDemo {
    border-radius: 3px 0 0 3px;
    right: 0px;
    transform: translate(50%, -50%);
    padding-right: 0px;
}
.prevSlideDemo, .prevSlide{
    padding-left: 0px;
    transform: translate(-50%, -50%);
    border-radius: 3px 0 0 3px;
}
@media (min-width: 768px) {
    .nextSlide, .nextSlideDemo{
        transform: translate(calc(50% + 20px), -50%);
        padding-right: 16px;
    }
    .prevSlideDemo, .prevSlide{
        transform: translate(calc(-50% - 20px), -50%);
        padding-left: 16px;
    }
    .close{
        font-size: 55px;
        top: 10px;
        right: 25px;
        line-height: 55px;
    }
}

/*.prevSlide,.prevSlideDemo {*/
/*    !*right: 100%;*!*/
/*    border-radius: 3px 0 0 3px;*/
/*    transform: translate(-50%, -50%);*/
/*}*/


/* On hover, add a black background color with a little bit see-through */
a.prevSlide:hover,
a.nextSlide:hover,
a.prevSlideDemo:hover,
a.nextSlideDemo:hover
{
    background-color: rgba(0, 0, 0, 0.8);
    color: #bcd8f1;
    text-decoration:none;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Caption text */
.caption-container {
    position: relative;
    text-align: center;
    background-color: #fafafc;

    color: white;
    height: 135px;
    width: 100%;
    padding-top: 10px;
}


img.demo {
    opacity: 0.6;
    width: 100px;
    height: auto;

}

.demo:hover {
    opacity: 1;
}

img.hover-shadow {
    transition: 0.3s;
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.slides{
    display: flex;
    overflow: hidden;
    position: relative;
}
.slides .column{
    transition: .2s linear;
    max-width: 100% !important;
    border-width: 3px;
    border-style: solid;
}
.slides .column.active{
    border-color: cadetblue;
}

.selectedSlide{
    border-color:  #ff9532;
    pointer-events: none;
}

.pointerEvent{
    pointer-events: none;
}
