/* 
  -- Even more rounded corners with CSS: Base stylesheet --
*/

.dialog {
 position:absolute;
 margin:0px auto;
 min-width:8em;
/* max-width:760px; based on image dimensions - not quite consistent with drip styles yet */
 color:#fff;
 z-index:1;
 margin-left:12px; /* default, width of left corner */
 margin-bottom:12px; /* spacing under dialog */
}

.dialog .content,
.dialog .t,
.dialog .b,
.dialog .b div {
 background:transparent url(dialog2-dark-alpha.png) no-repeat top right;
 _background-image:url(dialog2-dark-alpha.gif);
}

.dialog .content {
 position:relative;
 zoom:1;
 _overflow-y:hidden;
 padding-right:12px;
 padding-left:0px;
}

.dialog .t {
 /* top+left vertical slice */
 position:absolute;
 left:0px;
 top:0px;
 width:12px; /* top slice width */
 margin-left:-12px;
 height:100%;
 _height:1600px; /* arbitrary long height, IE 6 */
 background-position:top left;
}

.dialog .b {
 /* bottom */
 position:absolute;
 width:100%;
}

.dialog .b,
.dialog .b div {
 height:30px; /* height of bottom cap/shade */
 font-size:1px;
}

.dialog .b {
 background-position:bottom right;
}

.dialog .b div {
 position:absolute;
 width:12px; /* bottom corner width */
 margin-left:-12px;
 background-position:bottom left;
}

.dialog .hd,
.dialog .bd,
.dialog .ft {
 position:absolute;
}

.dialog .wrapper {
 /* extra content protector - preventing vertical overflow (past background) */
 position:absolute;
 max-height:1000px;
 overflow:auto; /* note that overflow:auto causes a rather annoying redraw "lag" in Firefox 2, and may degrade performance. Might be worth trying without if you aren't worried about height/overflow issues. */
}
.dialog-body{
}
.dialog-prew{
	text-align:left;padding-left:20px;width:150px;cursor:pointer;position:absolute;left:0px;top:40px;bottom:185px;background:url(/templates/img/b_prev.png) no-repeat left center;
}
.galImgPopUpFull .dialog-prew{
	transition: background 1s;
	text-align:left;padding-left:20px;width:150px;cursor:pointer;position:absolute;left:30px;top:40px;bottom:185px;background:url(/templates/img/arrow_prew_trans.png) no-repeat left center;
	background-size:40px;
}
.galImgPopUpFull .dialog-prew:hover{
	transition: background 1s;
	background:url(/templates/img/arrow_prew_op.png) no-repeat left center;
	background-size:40px;
}
.galImgPopUpFull .dialog-next{
	transition: background 1s;
	text-align:right;padding-right:20px;width:150px;cursor:pointer;position:absolute;right:30px;top:40px;bottom:185px;background:url(/templates/img/arrow_next_trans.png) no-repeat right center;
	background-size:40px;
}
.galImgPopUpFull .dialog-next:hover{
	transition: background 1s;
	background:url(/templates/img/arrow_next_op.png) no-repeat right center;
	background-size:40px;
}
.x-dlg-close{
background-image:url(close.gif);
background-repeat:no-repeat;
cursor:pointer;
float:right;
font-size:1px;
height:15px;
line-height:1px;
margin:0px 5pt 5pt 0px;
visibility:inherit;
width:15px;
box-shadow:0 0px 5px 2px #003;
}
.imgCtrl img{z-index:1;background:#fff;border:1px solid #fff; margin:3px; border-radius:3px;padding:3px;box-shadow:1px 2px 3px #888;}
.imgCtrl img:hover{background:#fff;border:1px solid #aaa; margin:3px; border-radius:3px;padding:3px;box-shadow:1px 2px 3px #999,inset 0 0 5px #999;}