/** Dawn Manske experimental macro site beginings 05-06-2016 **/

/** body style **/
body {
  padding-top: 50px;
}

a {
  text-decoration: none;
}

.starter-template {
  padding: 40px 15px;
  text-align: center;
}

h2 {
  color: red;
}

.page #proof .container {
  margin-top: 20px;
  padding-top: 50px;
}


/** image box and image styles **/
div.img {
  border: 1px solid #ccc;
}

div.img:hover {
  border: 1px solid #777;
}

/* the image */
div.img img {
  width: 100%;
  height: auto;
  cursor: pointer;
}

/* the description of the image */
div.desc {
  padding: 15px;
  text-align: center;
}

* {
  box-sizing: border-box;
}

/* add responsiveness */
.responsive {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
}

/* the modal background */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 1; /* modal postioned on top of image */
  padding-top: 100px; /* location of the modal box */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0); /* fall back color for browsers that can't render opacity */
  background-color: rgba(0,0,0,0.9); /* black with opacity */
}

/* image within the modal */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* add the animation */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0.1)}
    to {transform:scale(1)}

/** the close button **/

#myModal .modal span.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: ghostwhite;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

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

/* responsive columns */
@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
  .modal-content {
    width: 100%;
  }
}

@@media only screen and (max-width: 500px) {
    .responsive {
      width: 100%;
    }
}

/* clear floats */
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
