/* 触发弹窗图片的样式 */
#myImg #myImg1 #myImg2 #myImg3 #myImg4 #myImg5 #myImg6 #myImg7 #myImg8 #myImg9 #myImg10 #myImg11 #myImg12 #myImg13 #myImg14 #myImg15{
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}
 
#myImg #myImg1 #myImg2 #myImg3 #myImg4 #myImg5 #myImg6 #myImg7 #myImg8 #myImg9 #myImg10 #myImg11 #myImg12 #myImg13 #myImg14 #myImg15:hover {opacity: 1.0;}

 
/* 弹窗背景 */
.modal {
display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 3px; /* Location of the box */
   left: 50%;
    top: 50%;
    width:720; /* Full width */
    height:450; /* Full height */
    margin-left: -390px;
    margin-top: -225px;
    width:auto; /* Full width */
    height:auto; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(229,229,229,0.9); /* Black w/ opacity */
}
 
/* 图片 */
.modal-content {
    margin: auto;
    display: block;
    width: 99%;
    max-width: auto;
}
 
/* 文本内容 */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #025b61;
    padding: 5px 0;
    height: 23px;
}
 
/* 添加动画 */
.modal-content, #caption { 
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}
 
@-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;
    top: 15px;
    right: 35px;
    color: #025b61;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
 
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
 
/* 小屏幕中图片宽度为 100% */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}