/* North-West corner */
.pq_theme_nw {
  background: transparent url(pq_theme/window_top_left.gif) no-repeat top left;         
  width:9px;
  height:9px;
}

/* North border */
.pq_theme_n {
  background: transparent url(pq_theme/window_top.gif) repeat-x top;           
  height:9px;
  min-width: 1px;
  padding-top: 1px;
}

/* North-East corner */
.pq_theme_ne {
  background: transparent url(pq_theme/window_top_right.gif) no-repeat top right;            
  width:9px;     
  height:9px;
}

/* West border */
.pq_theme_w {
  background: transparent url(pq_theme/window_left.gif) repeat-y top left;         
  width:9px;
}

/* East border */
.pq_theme_e {
  background: transparent url(pq_theme/window_right.gif) repeat-y right;           
  width:9px;
}

/* South-West corner */
.pq_theme_sw {
  background: transparent url(pq_theme/window_bottom_left.gif) no-repeat bottom left;          
  width:9px;
  height:9px;
}

/* South border */
.pq_theme_s {
  background: transparent url(pq_theme/window_bottom.gif) repeat-x bottom;            
  height:9px;
  min-width: 1px;
  padding-top: 1px;
}

/* South-East corner */
.pq_theme_se {
  background: transparent url(pq_theme/window_bottom_right.gif) no-repeat bottom right;         
  width:9px;
  height:9px;
  vertical-align:top;
}

/* Titlebar divider South-West corner */
.pq_theme_title_sw {
	background-image: url( "pq_theme/window_titlebar_bottom_left.gif" );
	background-repeat: no-repeat;
	background-position: bottom left;
	width: 9px;
	height: 9px;
}

/* Titlebar divider South-East corner */
.pq_theme_title_se {
	background-image: url( "pq_theme/window_titlebar_bottom_right.gif" );
	background-repeat: no-repeat;
	background-position: bottom left;
	width: 9px;
	height: 9px;
}

/* Titlebar divider South border */
.pq_theme_title_s {
  background: transparent url(pq_theme/window_bottom.gif) repeat-x bottom;            
  height:9px;
  min-width: 1px;
  padding-top: 1px;
}

/* Titlebar divider North-West corner */
.pq_theme_title_nw {
	background-image: url( "pq_theme/window_titlebar_top_left.gif" );
	background-repeat: no-repeat;
	background-position: top left;
	width: 9px;
	height: 9px;
}

/* Titlebar divider North-East corner */
.pq_theme_title_ne {
	background-image: url( "pq_theme/window_titlebar_top_right.gif" );
	background-repeat: no-repeat;
	background-position: top left;
	width: 9px;
	height: 9px;
}

/* Titlebar divider North border */
.pq_theme_title_n {
  background: transparent url(pq_theme/window_top.gif) repeat-x top;
  height:9px;
  min-width: 1px;
  padding-top: 1px;
}

/* Resize button */
.pq_theme_sizer {
  background: transparent url(pq_theme/window_bottom_right_sizer.gif) no-repeat bottom right;         
  width:9px;
  height:9px;
  vertical-align:top;
  cursor:se-resize;   
}

/* Close button */
.pq_theme_close {
    width: 14px;
    height: 14px;
    background: transparent url(pq_theme/close.png) no-repeat 0 0;
    position:absolute;
    top:7px;
    right:8px;
    cursor:pointer;
    z-index:10000;
}

/* Minimize button */
.pq_theme_minimize {
    width: 14px;
    height: 14px;
    background: transparent url(pq_theme/minimize.png) no-repeat 0 0;           
    position:absolute;
    top:7px;
    right:24px;
    cursor:pointer;
    z-index:1000;
}

/* Maximize button */
.pq_theme_maximize {
    width: 14px;
    height: 14px;
    background: transparent url(pq_theme/maximize.png) no-repeat 0 0;           
    position:absolute;
    top:7px;
    right:40px;
    cursor:pointer;
    z-index:1000;
}

/* Title bar */
.pq_theme_title {
    height:20px;
	line-height: 20px;
}

/* Content div (not used for url) */
.pq_theme_content {
	overflow: auto;
}

.dialog .top {
	margin-bottom: -4px;
	position: relative;
}

.dialog .titlebar {
	background-image: url( "pq_theme/window_titlebar_background.gif" );
}

.dialog .titlebar_bottom {
	margin-top: -4px;
}

.dialog .mid {
	background-image: url( "pq_theme/window_background.png" );
	background-repeat: repeat;
	background-position: top left;
	overflow: hidden;
}

.dialog .statusbar_top {
	margin-bottom: -4px;
	display: none;
}

.dialog .statusbar {
	background-image: url( "pq_theme/window_background.png" );
	display: none;
}

.dialog .bot {
	margin-top: -4px;
}

.dialog .titlebar_bottom {
	display: none;
}
