.villaPhotoGallery {
	postion: relative;
	width: 100%;
	border: solid 1px #FDF8F7;
	border-radius: 4px;
	background-color: #FDF8F7;
	white-space: nowrap;
	overflow: hidden;
	margin: 8px auto;
	padding-top: 30px;
	padding-bottom: 38px;
	display: none;
}
.villaPhotoGallery h2 {
	text-align: center;
}
.galScroll {
	postion: relative;
	width: 96%;
	height: auto;
	white-space: nowrap;
	overflow-y: hidden;
	overflow-x: scroll;
	margin: 0px auto;
	padding-top: 0px;
	padding-bottom: 15px;
}

.galScroll::-webkit-scrollbar {
    width: 30px;
	height: 10px;
}

.galScroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0.3);
	height: 4px;
	background-color: #FFFFFF;
    border-radius: 1px;
}

.galScroll::-webkit-scrollbar-track-piece {
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
	height: 4px;
	background-color: #FFFFFF;
    border-radius: 1px;
}

.galScroll::-webkit-scrollbar-thumb {
    border-radius: 10px;
	background-color: #E0155A;
	height: 50px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}

.galScroll::-webkit-scrollbar-button {
	background-color: #DDDDDD;
	width: 12px;
}


.galTable {
	position: relative;
	width: auto;
	max-width: 100%;
	height: auto;
	margin: auto;
	overflow-y: hidden;
	overflow-x: scroll;
	white-space: nowrap;
}
.galTablex {
	position: relative;
	width: 90%;
	height: auto;
	margin: auto;
}
.galThumbs {
	position: relative;
	width: auto;
	height: auto;
	margin: 8px 4px 8px 0px;
	display: inline-block;
}
.galThumbs img {
	position: relative;
	height: 125px;
	display: block;
}
#fullScreenPic {
	position: fixed;
	top: 0px;
	left: 0px;
	height: 100vh;
	width: 100vw;
	background-color: rgba(255,255,255,0.7);
	/*    background: linear-gradient(
        to right, rgba(252,242,212,0.54) 0%, rgba(252,242,212,0.94) 10%, rgba(252,242,212,0.94) 50%, rgba(252,242,212,0.94) 90%, rgba(252,242,212,0.54) 100%
    ); */
	overflow: scroll;
	display: none;
	z-index: 999;
}
#fullScreenPicContainer {
	position: absolute;
	top: 4vh;
	left: 20%;
	right: 20%;
	bottom: 4vh;
	padding: 20px 0px;
	background-color: rgba(29,151,196,0.78);
	/*
	background-color: rgba(252,242,212,0.8);
	    background: linear-gradient(
        to right, rgba(252,242,212,0.84) 0%, rgba(252,242,212,0.94) 10%, rgba(252,242,212,0.94) 50%, rgba(252,242,212,0.94) 90%, rgba(252,242,212,0.84) 100%
    );
	*/
	border-radius: 8px;
	box-shadow: 4px 4px 8px rgba(0,0,0,0.25);
	border: solid 0px #FFFFFF;
	text-align: center;
	vertical-align: middle;
}
#fullScreenPic p {
	position: relative;
	width: 70%;
	max-width: 1000px;
	margin: 8px auto;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #FFFFFF;
	text-decoration: none;
	line-height: 135%;
}
#fullScreenContainer {
	position: fixed;
	top: 0px;
	left: 0px;
	height: 100vh;
	width: 100%;
	z-index: 10;
	display: none;
	z-index: 1;
}
#fullScreenPic img {
	max-width: 96%;
	max-height: 60vh;
	border: solid 2px #FFFFFF;
	margin: 10px auto auto auto;
	box-shadow: 5px 5px 8px rgba(0,0,0,0.2);
	display: block;
	z-index: 100;
}
#fullScreenClose {
	position: absolute;
	bottom: 30px;
	width: 100%;
	margin-top: 2px;
	text-align: center;
	z-index: 110;
}
#fullScreenClose a {
	box-shadow: 5px 5px 8px rgba(0,0,0,0.2);
}
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 10;
  width: 80px;
  height: 80px;
  margin: -40px 0 0 -40px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #666666;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.openPic {
	cursor: pointer;
}
#closeGallery {
	position: absolute;
	bottom: 21px;
	right: 10px;
	font-size: 11px;
	color: #FFFFFF;
	text-align: center;
	background-color: #1D97C4;
	border: solid 1px #1D97C4;
	border-radius: 8px;
	cursor: pointer;
}
#picTable {
	position: relative;
	width: 100%;
	height: 70vh;
	margin: auto;
	display: table;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 6px;
}
#prevPic {
	position: relative;
	width: 8%;
	height: auto;
	display: table-cell;
	vertical-align: middle;	
}
#nextPic {
	position: relative;
	width: 8%;
	height: auto;
	display: table-cell;
	vertical-align: middle;	
}
#prevPic, #nextPic {
	font-size: 54px;
	font-weight: 300;
	color: #FFFFFF;
}
#picContainer {
	position: relative;
	width: 84%;
	display: table-cell;
	margin: auto;
	text-align: center;
	vertical-align: middle;	
}
.prev, .next {
	padding-toP: 40px;
	padding-bottom: 40px;
	cursor: pointer;
}
.prev {
	display: none;
}

@media only screen and (max-width: 1100px) {
	#fullScreenPicContainer {
	left: 10%;
	right: 10%;
	}
	#prevPic, #nextPic {
	font-size: 40px;
	font-weight: 300;
	color: #FFFFFF;
	}
}

@media only screen and (max-width: 800px) {
	.galScroll::-webkit-scrollbar {
		width: 150px;
		height: 25px;
	}
	#fullScreenPicContainer {
	left: 5%;
	right: 5%;
	}
	#prevPic, #nextPic {
	font-size: 35px;
	}
}

@media only screen and (max-width: 400px) {
	#prevPic, #nextPic {
	font-size: 20px;
	}

}