.modal-box {
  display: none;
  position: absolute;
  z-index: 1000;
  width: 600px;
  background: white;
  border-bottom: 1px solid #aaa;
  border-radius: 4px;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-clip: padding-box;
}

.modal-box { 
  width: 500px;
  height: 600px;
  padding: 1em; }
}

.modal-box header,
.modal-box .modal-header {
  padding: 0.5em 0.5em;
  border-bottom: 1px solid #0f0;
}

.modal-box footer,
.modal-box .modal-footer {
  padding: 0.5em;
  border-top: 1px solid #0f0;
  background: rgba(0, 0, 0, 0.02);
  text-align: right;
}

.modal-overlay {
  opacity: 0;
  filter: alpha(opacity=0);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

a.close {
  font-size: 1.5em;
  position: absolute;
  top: 0.2%;
  right: 0.2%;
  text-decoration: none;
  color: #f00;
}

a.close:hover {
  color: #222;
  -webkit-transition: color 1s ease;
  -moz-transition: color 1s ease;
   transition: color 1s ease;
}

/*To show transition effects*/
.frame {
  height: 200px;
  width: 200px;
  overflow: hidden; 
} 

.zoomin img {
 -webkit-transition: all 2s ease;
    -moz-transition: all 2s ease;
         transition: all 2s ease; 
} 

.zoomin img:hover {
  width: 160px;
  height: 200px; 
} 