.VMNFlipbookViewer header, 
.VMNFlipbookViewer footer{
	padding: 0px !important;
	position: static !important;
}

.VMNFlipbookViewer{
	display: inline-block;
	width: 100%;
}

.VMNFlipbookViewer>content{
	text-align: center;
}

.VMNFlipbookEmbed{
	display: block;
	overflow: hidden;
	background-color: black;

	padding: 10px;
	width: 100%;
}
	

.VMNFlipbookViewer.flipbook nav .disabled{
	visibility: hidden;
}

.VMNFlipbookModalViewer{
	display: block;
}

.VMNFlipbookModalViewerContent{
	text-align: center;
	display: inline-block;
	width: 100%;
}

.VMNFlipbookModalViewerContent *{
	text-align: left;
}

.VMNFlipbookModalViewerContent .ad-space{
	width: 300px;
	min-height: 50px;
	display: inline-block;
}

.VMNFlipbookModalViewerContent .ad-space .mtvn_ad_300x50, 
.VMNFlipbookModalViewerContent .ad-space .mtvn_ad_300x250{
	display: inline-block !important;
}

.VMNFlipbookModalViewerContent .ad-space .sm4WidgetArticleShare{
	margin: 0px 0px 10px 1px !important;
	width: 296px !important;
}

.VMNFlipbookModalViewer .VMNFlipbookViewer.flipbook{
	margin-right:15px;
}

.VMNFlipbookViewer.flipbook{
	float: left;
}


.flipbook-content{
	display:block !important;
}

.flipbook-item-content{
	display:block !important;
	text-align: center;
	vertical-align: middle;
}
/*
.VMNFlipbookViewer.flipbook img {
	max-height: 100%;
	max-width: 100%;
}
*/
.flipbook-item-content{
	height: 100%;
	width: 100%;
}


.ui-resizable-helper { border: 2px dotted #00F; }


.VMNFlipbookViewer.flipbook nav{	
	width: 100%;
	cursor: pointer;
	display: inline-block;
}

.VMNFlipbookViewer.flipbook nav .prev{
	display: inline-block;
	float: left;
	font-size: 0px;
}

.VMNFlipbookViewer.flipbook nav .next{
	display: inline-block;
	float: right;
	font-size: 0px;
}

/*flipbook index sliding styles*/

.VMNFlipbookViewer.flipbook .flipbook-index-wrapper{
	margin-top: 5px;
}

.VMNFlipbookViewer.flipbook .flipbook-index{	
	overflow: hidden;
	white-space: nowrap;
}

.VMNFlipbookViewer.flipbook .flipbook-index-list{
	height: 65px;
	
	white-space: nowrap;
	overflow: hidden;
	max-height: 65px;
	padding-top: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
}
/*END flipbook index sliding styles*/


.VMNFlipbookViewer.flipbook .flipbook-index-scrollbar {
	max-width: 100%;
	
	height: 18px;
	background-color: transparent;
	border-radius: 2px;
	padding-right: 18px;
	margin: 5px 0px 5px 0px;
	overflow: hidden;
}

.VMNFlipbookViewer.flipbook .flipbook-index-scrollbar:after {
  
  height: 3px;
  background: #666666;
  content: "";
  display: block;
  position:relative;
  margin-top: -17px;  
  border-radius: 2px; 
  width: 1000%; 
}

.VMNFlipbookViewer.flipbook .flipbook-index-scrollbar .ui-slider{
	position: relative;
	text-align: left;
}

.VMNFlipbookViewer.flipbook .flipbook-index-scrollbar .ui-slider-handle{
	
	background: url(../images/buttons.png) -2px -1px;
	height: 18px;
	width: 18px;
	
	
	color: transparent;
	display: inline-block;
	cursor: pointer;
	position: relative;
	z-index: 2;
}

.VMNFlipbookViewer.flipbook .flipbook-index-scrollbar .ui-slider-handle.ui-state-active{	
	background: url(../images/buttons.png) -22px -1px;
}

.VMNFlipbookViewer.flipbook .flipbook-index{
	display: inline-block;
	text-align: left;
}

.VMNFlipbookViewer.flipbook .flipbook-index-list{
	display: inline-block;
}

.VMNFlipbookViewer.flipbook .flipbook-index-item{
	display: inline-block;	
	vertical-align: top;
	/*float: left; */
	margin: 5px;
	border: thin solid transparent;	

	width: 80px;
	max-height: 53px;
	height: 53px;
	text-align: center;
	overflow: hidden;
}

.VMNFlipbookViewer.flipbook .flipbook-index-item img{
	max-height: none !important;
}

.VMNFlipbookViewer.flipbook .flipbook-index-item.active{
	display: inline-block;
	outline: thin solid #28b7ea;
	outline-offset: 4px;
}

.VMNFlipbookModalViewer div.ad,
.VMNFlipbookModalViewer .VMNFlipbookViewer{
	display: inline-block;
	
}

.VMNFlipbookViewer.flipbook-item{
	display:block !important;
}

.flipbook-item-loading{
	display: none;
}

.VMNFlipbookModalViewerBackground{
	z-index:-1;
	position:absolute;
	height: 100%;
	width:100%;
	margin-top: -15px;
	margin-left: -15px;
	background-color: #000000;
	opacity: .90;
	filter: Alpha(Opacity=90);
}

.VMNFlipbookModalViewer{
	color: #FFFFFF;
}

.VMNFlipbookDialog{
	position: absolute;
	z-index: 100;
	background-color: transparent;
	border: 1px solid #666666;
	border-radius: 5px;
	padding: 15px;
}

.VMNFlipbookDialog:focus {
  outline: 0;
}

.VMNFlipbookDialog .ui-dialog-titlebar{
	display: none;
}

.ui-widget-overlay {
	background-color: #ffffff;
	z-index: 99;
	opacity: .70;
	filter: Alpha(Opacity=70);
	position: fixed;
	top:0;
	bottom: 0;
	left: 0;
	right: 0;
}






/*TODO: Move all this stuff into the main css file*/

/* START SIZING FOR FLIPBOOK*/
.VMNFlipbookViewer.flipbook,
.VMNFlipbookViewer.flipbook footer,
.VMNFlipbookViewer.flipbook .flipbook-index,
.VMNFlipbookViewer.flipbook header,
.flipbook-item-content,
.flipbook-preview-content
{
	max-width: 600px;
	width: 100%;	
}

.VMNFlipbookModalViewer>header{
	max-width: 600px;
}

.flipbook-preview-content,
.flipbook-item-content
{
	max-height: 400px;
	height: 400px;
	overflow: hidden;
}

.flipbook-preview img,
.flipbook-item img{
	max-height: 400px;	
}

.VMNFlipbookDialog{	
	max-width: 920px;
	min-width: 300px;
	width: 99% !important;
}

@media all and (max-width: 954px){
	.VMNFlipbookDialog{
		max-width: 600px;
		width: 80% !important;
	}
	.ad-space{
		margin-top: 0px !important;
	}
}

@media all and (min-width: 955px){
	.VMNFlipbookDialog{
		max-width: 920px;
	}
}

/*@media all and (min-device-width: 1280px) and (min-device-height: 1024px){*/
@media all and (min-height: 720px){
	.flipbook-preview-content,
	.flipbook-item-content
	{
		max-height: 500px;
		height: 500px;
	}

	.flipbook-preview img,
	.flipbook-item img{
		max-height: 500px;	
	}
}

@media screen and (min-height: 800px){
	.flipbook-preview-content,
	.flipbook-item-content
	{
		max-height: 600px;
		height: 600px;
	}

	.flipbook-preview img,
	.flipbook-item img{
		max-height: 600px;	
	}
}

@media screen and (min-height: 900px) {
	.flipbook-preview-content,
	.flipbook-item-content
	{
		max-height: 700px;
		height: 700px;
	}

	.flipbook-preview img,
	.flipbook-item img{
		max-height: 700px;	
	}
}
/* END SIZING FOR FLIPBOOK*/


.VMNFlipbookModalViewer>header{
	width: 100%;
	text-align: right;
	margin-bottom: -20px;	
	position: relative;
	z-index: 1;
}


.VMNFlipbookContentOverlay{
	padding: 0px !important;
	margin: 0px !important;

	display: block;	
	position: absolute;

	height: 100%;
	width: 100%;

	text-align: center;
	/*
	background: green !important;
	opacity: .7;
	*/
	background-color: transparent;

	cursor: pointer;
}

.VMNFlipbookPreviewButtonContainer{
	width: 100%;
	height: 32px;
	text-align: center;	
	position: absolute;
	bottom: 10px;
	cursor: pointer;

	background-color: transparent;
}

.VMNFlipbookPreviewButton{
	background: url(../images/buttons.png) -3px -159px;
	height: 32px;
	width: 120px;
	display: inline-block;
	cursor: pointer;		

	/*margin-left: -60px;*/
}

.VMNFlipbookContentOverlay:hover .VMNFlipbookPreviewButton,
.VMNFlipbookContentOverlay .VMNFlipbookPreviewButton:hover{
	background: url(../images/buttons.png) -3px -199px;
}

.VMNFlipbookModalViewer>header .close{
	background: url(../images/buttons.png) -65px -3px;
	height: 10px;
	width: 9px;
	display: inline-block;
	cursor: pointer;
	padding-bottom: 3px;
	margin-left: -12px;	
}
.VMNFlipbookModalViewer>header .close:hover{
	background: url(../images/buttons.png) -46px -3px;
}

.VMNFlipbookTitle{
	font-family: Helvetica;
	font-size: 16px;
	color: #28b7ea;
	line-height: 16px;
	font-weight: bold;
	padding-bottom: 10px;
	text-align: left;
}

.VMNFlipbookDescription{
	font-family: Helvetica;
	font-size: 16px;
	line-height: 16px;
	padding-bottom: 15px;
	color: #FFFFFF;
}

.VMNFlipbookItemCaption,
.VMNFlipbookItemDescription,
.VMNFlipbookItemTitle{
	font-family: Helvetica;
	font-size: 12px;	
	line-height: 12px;
	font-style: normal;	
	padding-bottom: 10px;
	text-align: left;
	color: #FFFFFF;
}

.VMNFlipbookItemCaption a,
.VMNFlipbookItemDescription a,
.VMNFlipbookItemTitle a{
	font-style: normal;
}

.VMNFlipbookItemDescription{
	font-size: 13px;
	line-height: 13px;
}

.VMNFlipbookItemCaption:empty,
.VMNFlipbookItemDescription:empty,
.VMNFlipbookDescription:empty{
	padding-bottom: 0px;
}

.VMNFlipbookViewer.flipbook-item .pagination{
	float: right;
	font-family: Helvetica;
	font-size: 12px;	
	line-height: 12px;
	color: #28b7ea;
	font-weight: bold;
	padding-bottom: 5px;
}

.VMNFlipbookViewer.flipbook-preview{	
	text-align: center;
}

.VMNFlipbookViewer.flipbook-preview>content{	
	overflow: hidden;
	display: block;
}





.flipbook nav .pagination{
	display: none;
}

.flipbook nav .next,
.flipbook nav .prev{
	height: 35px;
	width: 26px;
	font-size: 0px;	
}

.flipbook nav .prev:hover{
	background: url(../images/buttons.png) -6px -25px;
}

.flipbook nav .next:hover{
	background: url(../images/buttons.png) -66px -25px;
}

.flipbook nav .prev{
	background: url(../images/buttons.png) -6px -95px;
}

.flipbook nav .next{
	background: url(../images/buttons.png) -66px -95px;
}