.medium_viewer {
	padding: 4px 4px 4px 15px;
	background: #FBFBFB;
}

.pshark_photos_widget p {
	margin: 0 0 4px 0;
}

.pshark_photos_widget .pswap {
	text-align: left;
	margin: 0 120px 0 120px;
	padding: 4px;
	background: #EEE;
}

.preview_viewer {
	text-align: center;
}

.pshark_photos_widget .photo {
	margin: 5px 0 5px 0;
}

.medium_viewer .photo {
	/*width: 330px;*/
	width:100%;
	height: 310px;
	overflow: hidden;
	/*margin-left: 12px;*/
	position: relative;
	background: transparent url("https://img.propertyshark.com/img/jk/msg_load.gif") 50% 50% no-repeat;
}

.medium_viewer .photo a img {
	 /*position: absolute;
	 bottom: 0;
	 left: 0;*/
	max-height: 100%;
	max-width: 100%;
	margin-left:auto;
	margin-right:auto;
	display:block;
}

.preview_viewer .photo {
	min-width: 405px;
	min-height: 405px;
	background: transparent url("https://img.propertyshark.com/img/jk/msg_load.gif") 50% 50% no-repeat;
}

.preview_viewer .photo a img {
	border: 2px solid #DDD;
	padding: 1px;
	min-width: 405px;
	min-height: 405px;
	max-width: 640px;
}

.controls {
	position: relative;
	padding: 0 18px;
	background: #EEE;
}

.preview_viewer .controls {
	width: 470px;
	margin-left: 125px;
}

.medium_viewer .controls {
	/*width: 268px;
	margin-left: 25px;*/
	min-width: 268px;
	margin-left:auto;
	margin-right:auto;
}

.pshark_photos_widget .btn_prev {
	background: #EEE url("https://img.propertyshark.com/img/jk/arr_r.gif") no-repeat 50% 50%;
	left: 0;
}

.pshark_photos_widget .btn_prev, .pshark_photos_widget .btn_next {
	width: 14px;
	height: 54px;
	position: absolute;
	top: 4px;
}

.pshark_photos_widget .thumbs {
	overflow: hidden;
	height: 64px;
	position: relative;
}

.pshark_photos_widget .btn_next {
	background: #EEE url("https://img.propertyshark.com/img/jk/arr_l.gif") no-repeat 50% 50%;
	right: 0;
}

.pshark_photos_widget .btn_prev, .pshark_photos_widget .btn_next {
	width: 14px;
	height: 54px;
	position: absolute;
	top: 4px;
}

.pshark_photos_widget .thumbs a {
	display: block;
	float: left;
	margin: 3px 2px 0 2px;
}

.pshark_photos_widget .thumbs a img {
	width: 51px;
	height: 45px;
	border: 3px solid #DDD;
	padding: 3px;
}

.pshark_photos_widget .thumbs a.selected img, .pshark_photos_widget .thumbs a:hover img {
	border-color: #DE8728;
	opacity: 0.6;
}
