.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    z-index: 99999999;
}

.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
	cursor: pointer;
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 60%;
    height: auto;
    max-width: 1200px;
}

.myGallery{display:none}

.myGallery img {display: block;}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin: -30px -50px;
    padding: 5px;
    color: #999;
    font-weight: bold;
    font-size: 20px;
    border-radius: 3px 0 0 3px;
    user-select: none;
    background-color: transparent;
}

.next {
    position: absolute;
    right: 0;
    border-radius: 0 3px 3px 0;
}

.prev:hover,.next:hover{background-color:transparent;color:#999}

.gallery {
	margin: -55px 0 0 20px;
	position: absolute;	
}

.gallery-btn i {
	margin-left: 10px;
}

.gallery-btn a {
    border: none;
    padding: 15px 30px;
    width: 100%;
    background-image: linear-gradient(to right, #b11116 , #d1171c);
    background-origin: border-box;
    color: #FFFFFF;
    font-size: 14px;
    cursor: pointer;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
	
}

.gallery-btn a:hover {
	background-image: linear-gradient(to right, #d1171c , #b11116);
}

@media only screen and (max-width:320px) {
	.gallery {position: relative; margin: 30px 0;}
	.gallery-btn a {display: block; text-align: center;}
	.modal-content {width: 85%; top: 20%;}
	.prev, .next {margin: -30px -25px;}
}

@media only screen and (max-width:400px) and (min-width:360px) {
	.gallery {position: relative; margin: 30px 0;}
	.gallery-btn a {display: block; text-align: center;}
	.modal-content {width: 85%; top: 20%;}
	.prev, .next {margin: -30px -25px;}
}

@media only screen and (max-width:667px) and (min-width:400px) {
	.gallery {position: relative; margin: 30px 0;}
	.gallery-btn a {display: block; text-align: center;}
	.prev, .next {margin: -30px -25px;}
	.modal-content {width: 85%; top: 20%;}
}