.album_tool_wrapper .container{
  width: 100%;
  margin: 0 auto;
}

.album_tool_wrapper .square {
    float:left;
    position: relative;
    width: 16.5%;
    padding-bottom : 16.5%; /* = width for a 1:1 aspect ratio */
    margin: 0 1.66% 2.5% 1.66%;
    background-position:center center;
    background-repeat:no-repeat;
    background-size:cover; /* you change this to "contain" if you don't want the images to be cropped */
}

.album_tool_wrapper .img_1-1{background-image:url('../images/2018_November1.jpg');}
.album_tool_wrapper .img_1-2{background-image:url('https://farm7.staticflickr.com/6139/5986939269_10721b8017.jpg');}
.album_tool_wrapper .img_1-3{background-image:url('https://farm4.staticflickr.com/3165/5733278274_2626612c70.jpg');}
.album_tool_wrapper .img_1-4{background-image:url('https://farm7.staticflickr.com/6083/6055581292_d94c2d90e3.jpg');}
.album_tool_wrapper .img_1-5{background-image:url('https://farm4.staticflickr.com/3771/13199704015_72aa535bd7.jpg');}

.album_tool_wrapper > #bottom {
    clear:both;
    margin:0 1.66%;
    width:89.68%;
    padding: 3.5%;
    background-color:#1E1E1E;
    color: #fff;
}
.album_tool_wrapper #bottom p{
    text-align:center;
    line-height:2em;
}
.album_tool_wrapper #bottom a{
    color: #000;
    text-decoration:none;
    border:1px solid #000;
    padding:10px 20px 12px;
    line-height:70px;
    background:#ccc;
    
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.album_tool_wrapper #bottom a:hover{
    background:#ECECEC;
    border:1px solid #fff;
}

.album_tool_wrapper .middle {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  white-space:nowrap;
}

.album_tool_wrapper .square:hover .image {
  opacity: 0.3;
}

.album_tool_wrapper .square:hover .middle {
  opacity: 1;
}

.album_tool_wrapper .shareBtn{
  padding: .4rem .6rem;
  border-radius: .5rem 0 0 .5rem!important;
  border: none;
  font-size: 12px;
  color: #707070;
  background-color:buttonface;
}

.album_tool_wrapper .shareBtn:hover{
  color: #707070;
  background-color:buttonface;
}

.album_tool_wrapper .shareListBtn{
  border-radius: 0 .5rem .5rem 0!important;
  padding: .4rem .3rem;
  border: none;
  font-size: 12px;
  color: #707070;
  background-color:buttonface;
}

.album_tool_wrapper .shareListBtn:hover{
	color: #707070;
	background-color:buttonface;
}

.album_tool_wrapper .action-button .shareBtn{
  padding: .6rem .6rem;
}

.album_tool_wrapper .action-button .shareListBtn{
  padding: .6rem .3rem;
}

.album_tool_wrapper .btn-primary.focus, 
.album_tool_wrapper .btn-primary:focus, 
.album_tool_wrapper .btn.focus, 
.album_tool_wrapper .btn:focus, 
.album_tool_wrapper .btn-primary:not(:disabled):not(.disabled).active:focus, 
.album_tool_wrapper .btn-primary:not(:disabled):not(.disabled):active:focus, 
.album_tool_wrapper .show>.btn-primary.dropdown-toggle:focus{
  box-shadow: none;
}

* {
  box-sizing: border-box;
}

.album_tool_wrapper .row > .column {
  padding: 0 8px;
}

.album_tool_wrapper .row:after {
  content: "";
  display: table;
  clear: both;
}

/* The Modal (background) */
.album_tool_wrapper .modalPhoto {
  display: none;
  position: fixed;
  z-index: 3000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-image:
    linear-gradient(
      black, rgba(0,0,0,0.9), rgba(0,0,0,0.9), rgba(0,0,0,0.9), rgba(0,0,0,0.9), rgba(0,0,0,0.9), rgba(0,0,0,0.9), rgba(0,0,0,0.9), rgba(0,0,0,0.9)
    );
}

/* Modal Content */
.album_tool_wrapper .modalPhoto-content {
  position: relative;
  padding: 0;
  top: 45%;
  transform: translateY(-50%);
}

.album_tool_wrapper .modalPhoto .shareBtn{
  /* font-size: 16px; */
  position:relative;
  top:-5px;
}

.album_tool_wrapper .modalPhoto  .shareListBtn{
  font-size: 16px;
  position:relative;
  top:-5px;
}

/* The Close Button */
.album_tool_wrapper .album_close {
  color: white;
  position: absolute;
  top: 10px;
  left: 25px;
  font-size: 35px;
  font-weight: bold;
  z-index: 5;
}

.album_tool_wrapper .album_close:hover,
.album_tool_wrapper .album_close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.album_tool_wrapper .imagename{
  font-family: HelveticaNeue;
  position: absolute;
  top: 28px;
    left: 70px;
    color: white;
    font-size: 16px;
    z-index: 5;
}

.album_tool_wrapper .mySlides {
  display: none;
  margin: auto;
  width: 80%;
}

.album_tool_wrapper .mySlides{
  max-width: 800px;
  max-height: 800px;
  width:100%;
}
.album_tool_wrapper .cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.album_tool_wrapper .prev,
.album_tool_wrapper .next {
  cursor: pointer;
  position: fixed;
  top: 55%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  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 */
.album_tool_wrapper .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.album_tool_wrapper .prev:hover,
.album_tool_wrapper .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;
}

.album_tool_wrapper img {
  /* margin-bottom: -12px; */
}

.album_tool_wrapper .demo {
  opacity: 0.6;
}

.album_tool_wrapper .active,
.album_tool_wrapper .demo:hover {
  opacity: 1;
}

.album_tool_wrapper .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);
}

.album_tool_wrapper .action-button{
  position: absolute;
  text-align: right;
  padding-bottom: 18px;
  top: 20px;
  right: 20px;
  z-index: 5;
}

.album_tool_wrapper .dlbtn, .album_tool_wrapper .printbtn, .album_tool_wrapper .copybtn{
  margin: 0 8px;
  display: inline-block;
}

@media screen and (max-width:900px){
  .album_tool_wrapper .square{
    width: 21.5%;
    padding-bottom: 21.5%;
  }

  .album_tool_wrapper .album_close{
    font-size: 24px;
  }

  .album_tool_wrapper #imagename{
    margin: 12px 0;
  }

  .album_tool_wrapper .dlbtn img, .album_tool_wrapper .printbtn img{
    width: 26px;
  }

  .album_tool_wrapper .action-button{
    top: 14px;
  }

  .album_tool_wrapper .action-button .shareBtn{
    padding: .4rem .6rem;
	font-size:16px;
  }

  .album_tool_wrapper .action-button .shareListBtn{
    padding: .4rem .3rem;
  }

  .album_tool_wrapper .prev, .album_tool_wrapper .next{
    padding: 16px 8px;
  }
  
  .album_tool_wrapper .imagename{
	top: 19px;
	}

  img{
    /* margin-bottom: -8px; */
  }

  #imagename{
    display: none;
  }

}

@media screen and (max-width:680px){
  .square{
    width: 30%;
    padding-bottom: 30%;
  }
}

@media screen and (max-width:500px){
  .square{
    width: 46%;
    padding-bottom: 46%;
  }
}

@media screen and (max-width: 375px){
  .container, .modalPhoto{
    /* width: 375px; */
	width: 100%;
  }
}