#gallery1 {
	display: none;
    -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -webkit-justify-content: space-around;
        -ms-flex-pack: distribute;
            justify-content: space-around;
	background-color: white;
	width:100%;
	border-radius: 5px;
	padding: 10px 0px 0px 0px;
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
#gallery1 > a {
	color: #626262;
}

#gallery1 > a {
	color: #626262;
}
.left,
.right {
	z-index: 10;
	font-size: 20px !important;
	text-shadow: 0 0 10px rgba(0,0,0,.5);
}
.left:hover,
.right:hover {
	color: #0A6CB3;
}
#big-img {
	position: relative;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-align-items: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-justify-content: space-around;
	    -ms-flex-pack: distribute;
	        justify-content: space-around;
	width:100%;
	overflow: hidden;
}

#big-img img {
	max-width: 300px;
	width:100%;
	position:relative;
	cursor:pointer;
	top:0px;
	right:0px;
}

.small-img {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
    -webkit-flex: 0 1 90%;
        -ms-flex: 0 1 90%;
            flex: 0 1 90%;
    -webkit-flex-flow:row wrap;
        -ms-flex-flow:row wrap;
            flex-flow:row wrap;
    -webkit-justify-content:space-around;
        -ms-flex-pack:distribute;
            justify-content:space-around;
}

.small-img a{
	transition: opacity .5s ease-in-out;
	opacity: 0.3;

}
.small-img img {
	height: 70px;
	width: 100px;
	margin: 5px;
	border: 1px solid #BCBCBC;
	padding: 5px;
	border-radius: 5px;
    overflow: hidden;
}

.small-img.bullets {
	justify-content: center;
}

.small-img.bullets a {
	width: 5px;
    height: 5px;
    border: 1px solid #3E3F33;
    overflow: hidden;
    transition: opacity .5s ease-in-out;
    opacity: 0.3;
    border-radius: 5px;
    margin-bottom: 15px;
    background-color: #3e3f33;
    margin-right:9px;
}
.active-slide {
	opacity: 1 !important;
	transition: opacity .2s;
}

.zoom-button {
    position: absolute;
    top: 5px;
    right: 30px;
    background-color: rgba(0,0,0,0.2);
    border-radius: 5px;
    cursor: pointer;
    color: white;
    padding: 5px 15px;
}
.zoom-button p {
	margin:0px;
	padding: 0px;
}
.zoom-button:hover {
    background-color: rgba(0,0,0,0.15);
}
.thumbnail-fullscreen-preview {
	position: fixed;
	top:0;
	left:0;
	background-color: rgba(0,0,0,0.7);
    width: 100%;
    height: 100vh;
    z-index: 999;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    opacity: 0;
}

.zoom-img-wrap {
	width:80%;
	max-width:800px;
	border-radius: 5px;
	background-color: white;
	margin:0 auto;
	padding: 10px;
}

#bigImgZoom img {
	max-width: 600px;
	width:100%;
	position:relative;
}

#bigImgZoom {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-flow: row nowrap;
	    -ms-flex-flow: row nowrap;
	        flex-flow: row nowrap;
	-webkit-align-items: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-justify-content: space-around;
	    -ms-flex-pack: distribute;
	        justify-content: space-around;
	width:100%;
	overflow: hidden;
}

.zoom-close-button {
	font-size: 30px;
    position: absolute;
    top: 40px;
    right: 40px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000;
    text-align: center;
    width: 29px;
}
@media screen and (max-width:800px) {
	#bigImgZoom img {
		width: 80%;
	}
}

@media screen and (max-width:460px) {
	#big-img img {
		width: 60%;
	}
	.small-img img {
		width:50px;
		height:40px;
	}
	p iframe {
		width:300px;
	}
}