.mightbox-open {
  position: relative;
  float: left;
  color: #fff;
  background: #dadad9;
  border: 1px solid #dadad9;
  border-radius: 5px;
  width: 69px;
  height: 69px;
  overflow: hidden;
  margin-right: 4px;
  }
  .mightbox-open:hover,
  .mightbox-open:focus {
    color: #0052A1;
    background: #eaeae9;
    }
  .mightbox-open span {
    position: absolute;
    left: 69px;
    }
  .mightbox-open:before {
    content: '\e054';
    font-size: 2em;
    }
  
.mightbox {
  background: rgb(244, 234, 211);
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  
  z-index: 1001;
  position: fixed;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  vertical-align: middle;
  text-align: center;
  display: none;
  }
  .mightbox-button {
    background: #fff;
    cursor: pointer;
    font-size: 1.5em;
    display: block;
    z-index: 100;
    position: absolute;
    text-align: center;
    width: 2em;
    height: 2em;
    padding-bottom: 0.1em;
    border: none;
    -webkit-transition: 0.2s;
    transition: 0.2s;
    } 
  .mightbox-button:hover,
  .mightbox-button:focus {
    color: #355253;
    background: #F4EAD3;
    }
  
  .mightbox-closer {    
    top: -1px;
    right: -1px;
    }
  .mightbox-prev,
  .mightbox-next {
    bottom: -1px;
    }
  .mightbox-prev {
    left: -1px;
    }    
  .mightbox-next {
    right: -1px;
    }    
  .mightbox-title,
  .mightbox-status {    
    z-index: 99;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background: none;
    background: rgba(0, 0, 0, 0.2);
    }
  .mightbox-title {
    top: 0;
    }
  .mightbox-status {
    bottom: 0;
    }
      
.mightbox > div {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
    
   -webkit-transition:
          z-index 0s,
          opacity .8s ease-in-out,
          -webkit-transform .8s ease-in-out;
   -moz-transition:
          z-index 0s,
          opacity .8s ease-in-out,
          -moz-transform .8s ease-in-out;
   -o-transition:
          z-index 0s,
          opacity .8s ease-in-out,
          -o-transform .8s ease-in-out;
   transition:
          z-index 0s,
          opacity .8s ease-in-out,
          transform .8s ease-in-out;

    z-index: 20;
    opacity: 0;
   -webkit-transform: scale(0.8) translateZ(0);
           transform: scale(0.8);
    }
  .mightbox .mightbox-current {
    z-index: 30;
    opacity: 1.0;
   -webkit-transform: scale(1.0) translateZ(0);   
           transform: scale(1.0);
        
    }
  .mightbox .mightbox-out {
    z-index: 10;
    opacity: 0;
   -webkit-transform: scale(1.0) translateZ(0);
           transform: scale(1.0);        
    }
  .mightbox .mightbox-direct {
    -webkit-transition: none;
            transition: none;    
    }
    
.mightbox > div > div {
  display: table;
  table-layout: fixed;
  width: 100%;
  height: 100%;
  }
  .mightbox > div > div > div {
    display: table-cell;
    height: 100%;
    margin: 0 auto;
    vertical-align: middle;
    }
   .mightbox img {
     display: block;
     margin: 0 auto;
     max-width: 100%;
     border: 5px solid #fff;
     }
    
