.img-items{
    display: grid;
    grid-template-columns: 33.3% 33.3% 33.3%;
    grid-template-rows: max-content ;
    justify-items: center;
    align-items: center;
    grid-gap: 16px;
    margin-top: 50px;
}
.img-items .img-item{
    position: relative;
    width: 100%;
    flex: none;
    -ms-flex: none;
    -webkit-flex: none;
    margin-right: 0px;
}
.img-items .img-item .img-desc {
  position: absolute;
  bottom: 0;
  top: auto;
  width: 100%;
  padding: 0px;
}
.img-items .img-desc .img-title{
    clear: both;
    font-size: 18px;
    color: #004898;
    text-align: center;
    line-height: 1.5;
    background-color: rgba(255, 255, 255, .8);
}
.img-item .switch {
    display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    cursor: pointer;
    background: rgba(0,0,0,0.4);
    width: 46px;
    height: 46px;
    float: right;
}
.img-item .switch img {
    width: 80%;
    height: 80%;
}
/*图片放大弹窗*/
.mask-layer{
    display: none;
    overflow: scroll;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: rgba(0, 0, 0, .85);
}
.mask-prev,
.mask-next {
    position: absolute;
    width: 100px;
    text-align: center;
    white-space: nowrap;
    z-index: 100;
    cursor: pointer;
    top: 50%;
    font-size: 60px;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
.mask-prev{
    left: 60px;
}
.mask-next{
    right: 60px;
}
.mask-layer-close {
    position: absolute;
    text-align: center;
    white-space: nowrap;
    z-index: 100;
    cursor: pointer;
    right: 80px;
    top: 80px;
    width: 35px;
    height: 35px;
    font-size: 42px;
    line-height: 35px;
    font-weight: bold;
}
.mask-layer-close.icon-2::before {
    color: #FFF;
}
.mask-content{
    width: 77%;
    height: auto;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    margin: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 100;
}
.mask-content .mask-left {
    width: 65%;
    margin: 0 auto;
}
.img-item .video-button{
	position: absolute;
    height: 4em;
    width: 4em;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    background: url(https://file.jingdiao.com/website/jingdiao/cn/images/common/play1.png);
    background-position: center;
    background-size: 100%;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    cursor: pointer;
}
.img-item .video-button:hover{
	background: url(https://file.jingdiao.com/website/jingdiao/cn/images/common/play2.png);
    background-position: center;
    background-size: 100%;
}
@media only screen and (max-width: 1599px) {
    .mask-prev,
    .mask-next {
        width: 80px;
        font-size: 50px;
    }
    .mask-prev{
        left: 50px;
    }
    .mask-next{
        right: 50px;
    }
    .mask-layer-close {
        right: 60px;
        top: 60px;
        width: 30px;
        height: 30px;
        font-size: 35px;
        line-height: 30px;
    }
    .mask-content{
        width: 80%;
    }
    .mask-content .mask-left {
        width: 70%;
    }
}
@media only screen and (max-width: 1299px) {
    .mask-prev,
    .mask-next {
        width: 60px;
        font-size: 40px;
    }
    .mask-prev{
        left: 40px;
    }
    .mask-next{
        right: 40px;
    }
    .mask-layer-close {
        width: 25px;
        height: 25px;
        font-size: 30px;
        line-height: 25px;
    }
    .mask-content .mask-left {
        width: 70%;
    }
	.img-item .video-button {
	    height: 3.5em;
	    width: 3.5em;
    }
}
@media only screen and (max-width: 1024px) {
    .img-desc {
        padding: 0;
    }
    .img-desc .img-title {
        padding: 0 15px;
    }
    .mask-layer{
        max-width: 750px;
        left: 50%;
        transform: translateX(-50%);
        -o-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
    }
    .mask-prev,
    .mask-next {
        width: 40px;
        font-size: 40px;
    }
    .mask-prev{
        left: 15px;
    }
    .mask-next{
        right: 15px;
    }
    .mask-layer-close {	    
        right: 20px;
        top: 70px;
        width: 24px;
        height: 24px;
        font-size: 24px;
        line-height: 24px;
    }
    .mask-content{
        width: 80%;
        display: block;
    }
    .mask-content .mask-left {
        width: 100%;
    }
}

@media only screen and (max-width: 700px) {
    .mask-prev,
    .mask-next {
        width: 36px;
        font-size: 36px;
    }
}
@media only screen and (max-width: 560px) {
    .mask-prev,
    .mask-next {
        width: 18px;
        font-size: 36px;
    }
    .mask-prev{
        left: 10px;
    }
    .mask-next{
        right: 10px;
    }
}
@media only screen and (max-width: 450px) {
    .mask-prev,
    .mask-next {
        width: 15px;
        font-size: 32px;
    }
    .mask-layer-close {
        width: 20px;
        height: 20px;
        font-size: 20px;
        line-height: 20px;
    }
    .mask-content{
        width: 78%;
    }
	.img-item .video-button {
	    height: 3em;
	    width: 3em;
    }
}
/*视频弹窗*/
.machine-video-area {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, .3);
	z-index: 4;
}
.video-mask-close {
    position: fixed;
    top: 192px;
    right: 60px;
    font-size: 42px;
    z-index: 10;
    cursor: pointer;
}
.video-mask-close.icon-2::before {
    color: #fff;
    font-weight: bold;
}
.machine-video-area .mask-video {
	width: 800px;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
    background-color: #EEF0F1;
}

@media only screen and (max-width: 1599px) {
	.machine-video-area .mask-video {
		width: 600px;
	}
}

@media only screen and (max-width: 1024px) {
	.video-mask-close {
		top: 100px;
	}
	.machine-video-area .mask-video {
		width: 500px;
	}
}
@media only screen and (max-width: 750px) {
	.video-mask-close {
		right: 20px;
		font-size: 35px;
	}
	.machine-video-area .mask-video {
	    width: 80%;
	}
}
@media only screen and (max-width: 450px) {
    .video-mask-close {
    	top: 70px;
	}
	.machine-video-area .mask-video {
    	width: 93%;
	}
}