/* the overlayed element */
div.overlay {
  /* growing background image */
  background-image:url(img/overlay/white.png);

  /* dimensions after the growing animation finishes  */
  width:400px;
  /* initially overlay is hidden */
  display:none;

  /* some padding to layout nested elements nicely  */
  z-index: 9999;
}


.xsc {
  display: none !important;
}


div.overlay_vv {
  /* dimensions after the growing animation finishes  */
  background:#eee;
  box-shadow:0 0 15px 5px rgba(0,0,0,0.4);
  text-align: center;
	top:10%!important;
  max-width: 500px;
	//left:100px!important;


  /* initially overlay is hidden */
  display:none;
  /* some padding to layout nested elements nicely  */
  z-index: 9999;
}
div.overlay_vv img.overlay_prev_img, div#overlay img
{
  max-width:100%;
	height:auto;
}
div.overlay_vv img.overlay_prev_img, div#overlay div#ajax_loading img
{
  width:auto;
}
  /* Hack IE7 */
  *+html div.overlay_vv  {border: 2px outset #000;}

  /* Hack IE8 */
  @media \0screen {
    div.overlay_vv  {border: 2px outset #000;}
  }

/* default close button positioned on upper right corner */
div.overlay div.close, div.overlay_vv div.close {
    background-image:url(img/overlay/close.png);
    position:absolute;
    right:-15px;
    top:-15px;
    cursor:pointer;
    height:35px;
    width:35px;
}


/* black */
div.overlay.black {
    background:url(img/overlay/transparent.png) no-repeat !important;
    color:#fff;
}

/* petrol */
div.overlay.petrol {
    background:url(img/overlay/petrol.png) no-repeat !important;
    color:#fff;
}

div.black h2, div.petrol h2 {
    color:#ddd;
}





/*********** navigator ***********/


/* position and dimensions of the navigator */
div.navi {
	margin-left:328px;
	width:200px;
	height:20px;
}


/* items inside navigator */
div.navi a {
	width:8px;
	height:8px;
	float:left;
	margin:3px;
	background:url(img/overlay/navigator.png) 0 0 no-repeat;
	cursor:pointer;
}

/* mouseover state */
div.navi a:hover {
	background-position:0 -8px;
}

/* active state (current page state) */
div.navi a.active {
	background-position:0 -16px;
}


#dialog{
    display: none;
}