* {
  box-sizing: border-box;
}
.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.column {
  flex: 33%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
  object-fit: cover;
}

.column img.a {
  height: 300px;
}

.column img.b {
  height: 400px;
}

.column img.c {
  height: 600px;
}

.column img.d {
  height: 400px;
}

.column img.e {
  height: 200px;
}

.column img.f {
  height: 400px;
}

.links {
    position: absolute; 
    z-index: 99999;
    top: 5px;
    left: 5px;
    width: 100%;
    height: 25px;
    display: block;
    color:white;
}

#wrapper {
    width:80%;
    margin: auto;
    margin-bottom: 100px;
    margin-top:50px;
}
#gallery {
    width:100%;
    background-color: white;
    padding-bottom: 8px;
    padding-top: 0px;
}

#thumbs {
    display: inline-flex;
    overflow: hidden;
}

#thumbContainer {
    position: absolute;
    display: flex;
    bottom: 0;
    width: 100%;
    background-color: #222;
    padding-bottom: 8px;
    padding-top: 8px;
    height: 10%;
    max-height: 100px;
}
#thumbContainerContainer {
    position: absolute;
    width: 100%;
    bottom: 0;
    top: 0;
    min-height: 800px;
    z-index: -1000;
}

#thumbs img {
    padding: 3px;
    margin: 4px;
    background-color: #333;
    box-shadow: 1px 1px 1px;
    vertical-align: middle;
    object-fit: cover;
}

body {
    background-color: #586680;
    font-family: "Myanmar MN";
}
h1 {
    margin-bottom: 10px;
    margin-top: 10px;
    text-align: right;
    color: white;
    font-size: 150%;
}
.infoWrapper {
    margin-top: 20px;
    color: white;
    width:100%;
}
.about {
    display: inline-block;
    width: 34%;
}
.contact {
    display: inline-block;
    width: 33%;
    text-align: right;
}
.galleries {
    width: 33%;
    text-align: center;
    display:inline-block;
}

p.caption {
    background-color: white;
    font-weight: bold;
}

a, a:hover, a:visited {
    color: white;
}

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

/* Modal Content */
.modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  height: 530px;
  width: 90%;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
    height: 530px;
    display: none;
    text-align: center;
}

.mySlides img {
    height: 530px;
    padding: 0px;
    vertical-align: middle;
    -moz-box-shadow:    3px 3px 10px 10px #292929;
    -webkit-box-shadow: 3px 3px 10px 10px #292929;
    box-shadow:         3px 3px 10px 10px #292929;
}

.modal-contact {
  color: white;
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 16px;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: #ccc;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

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

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

/* Next & previous buttons */
.prevThumb,
.nextThumb {
  cursor: pointer;
  position: relative;
  padding-top: 22px;
  padding-right: 20px;
  padding-left: 20px;
  color: #ccc;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

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

/* On hover, add a black background color with a little bit see-through */
.prevThumb:hover,
.nextThumb:hover {
  background-color: #222;
}

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

/* Caption text */
.caption-container {
  text-align: center;
  padding: 2px 16px;
  color: white;
}

#aboutModal .gallery-modal-content {
    height: initial;
}

#aboutModal .gallery-modal-content p {
    color: white;
}

.gallery-modal-content {
    position: relative;
    background-color: #444;
    margin: auto;
    padding: 20px;
    width: 750px;
    height: 455px;
    box-shadow: 2px 2px 2px;
}

.gallery-modal-content img {
    float: left;
    margin-right: 20px;
}

.gallery-modal-content h1 {
    text-align: center;
}

.gallery-modal-content ul {
    list-style-type: none;
    background-color: #555;
    padding: 20px;
}

.gallery-modal-content ul li {
    display: inline-flex;
    width: 100px;
    height: 100px;
}

#loading-spinner {
  z-index: -1;
  position: absolute;
  width: 24px;
  height: 24px;
  top: 50%;
  left: 50%;
  transform-origin: 50% 50%;
}

img.demo {
  opacity: 0.6;
}

.active,
.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);
}


/* preloader */
.loader {
  font-size: 10px;
  margin: 0px auto;
  text-indent: -9999em;
  width: 11em;
  height: 11em;
  border-radius: 50%;
  background: #ffffff;
  background: -moz-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  background: -webkit-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  background: -o-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  background: -ms-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  background: linear-gradient(to right, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  position: relative;
  -webkit-animation: load3 1.4s infinite linear;
  animation: load3 1.4s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.loader:before {
  width: 50%;
  height: 50%;
  background: #ffffff;
  border-radius: 100% 0 0 0;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
}
.loader:after {
  background: #333;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  content: '';
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
@-webkit-keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

