.modal {
  display: none;
  position: fixed;
  z-index: 99;
  left: 0; top: 0; right: 0; bottom: 0; margin: auto;
  width: 495px;
  height: 495px;
  background-color: #fff;
  border: 10px solid #65AC94;
}

.modal-content {
  margin: auto;
  display: block;
  /*border-bottom: 8px solid #65AC94;*/
  cursor: move;
  width: 475px;
  height: 475px;
}

#caption {
  padding-left: 5px;
  font-weight: bold;
  color: #3a3a3a;
}

.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.1s;
  animation-name: zoom;
  animation-duration: 0.1s;
}
.close {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 1.5s;
  animation-name: zoom;
  animation-duration: 1.5s;
}

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

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

.close {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 5px 5px;
  color: #3a3a3a;
  font-weight: bold;
  cursor: pointer;
}

@media only screen and (max-width: 700px) {
  .modal-content { width: 100%; }
}

/*----- Tab -----*/
.tab {
  overflow: hidden;
  border-bottom: 1px solid #2763A5;
  padding-left: 10px;
  /*padding-top:0.8em;*/
}

.tab span {
  /*background-color: inherit;*/
  float: left;
  border-left: 2px solid #ccc;
  border-right: 2px solid #ccc;
  border-top: 1px solid #ccc;
  outline: none;
  cursor: pointer;
  padding: 4px 8px;
  transition: 0.3s;
  /*font-size: 12px;*/ margin-right:10px;
  font-weight: bold;
  font-family: arial;
  color: #3B3B3B;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  background: url(../images/tableft13.gif);
  background: url(../images/tabright13.gif);
}

.tab span:hover {
  color: #4AA02C;
}

.tab span.active {
  color: #4AA02C;
  /*text-decoration: underline;*/
}

.tabcontent {
  display: none;
  /*border-bottom: 1px solid #3c3c3c;*/
}

/*----- Zoom -----*/
.img-zoom-lens {
  position: absolute;
  width: 110px;
  height: 110px;
}

.img-zoom-result {
  width: 220px;
  height: 220px;
  z-index: 9;
  position: absolute;
  margin-left: 223px;
}

#myimage {
  cursor: pointer;
  width: 220px;
  height: 220px;
  border: 1px solid #9a9a9a;
}