/*
* {
    box-sizing: border-box;
  }
*/
/* Position the image container (needed to position the left and right arrows) */
.container {
    position: relative;
    width: 450px;
}

/* Hide the images by default */
.mySlides {
    display: none;
    overflow: hidden;
}
.mySlides img {
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    height: 350px;
    max-width: 100%;
    max-height: 350px;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
    cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0, 0, 0, 0.1);
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

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

/* Container for image text */
.caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
}

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

/* Six columns side by side */
.column {
    float: left;
    width: 14.28%; /* change to 100% divided by number of photos */
    max-height: 40px;
    overflow: hidden;
}

/* Add a transparency effect for thumnbail images */
.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

/* touchgallery styling not in use anymore */
.touchgallery{
position: relative;
overflow: hidden;
width: 350px; /* default gallery width */
height: 270px; /* default gallery height */
}

.touchgallery ul{
list-style: none;
margin: 0;
padding: 0;
left: 0;
position: absolute;
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
transform: translateX(0);
-moz-transition: all 150ms ease-in-out; /* image transition. Change 100ms to desired transition duration */
-webkit-transition: all 150ms ease-in-out;
transition: all 150ms ease-in-out;
}

.touchgallery ul li{
float: left;
display: block;
text-align: center;
}

.touchgallery ul li img{ /* CSS for images within gallery */
max-width: 100%; /* make each image responsive, so its native width can occupy up to 100% of gallery's width, but not beyond */
height: auto;
}

.touchgallery .jumptodiv{ /* CSS for DIV that houses bullets that navigate to a specific image when clicked on */
text-align: center;
width: 100%;
background: white;
font-size: 1.5em;
font-weight: bold;
color: black;
letter-spacing: 7px;
position:absolute;
bottom: 0;
margin-top: 0;
text-shadow: 0 1px 2px #8a8a8a;
}

.touchgallery .jumptodiv span.selected{ /* CSS for selected bullet inside jumptodiv */
color: darkred;
}