/*@media screen and (-webkit-min-device-pixel-ratio:0) {
  #modal h1 {
  	background:url(/images/modal/header.png) 0 -1px repeat-x !important;
  }
  .top_left, .top_right {top:15.4px !important;}
  .bottom_left, .bottom_right {bottom:19px !important;}
}*/

 #modal {
	height:100%;
	width:100%;
	background-color:#fff
}

#modal {
	background-color:#fff;
	position:relative;
}

/* Close */
#modalwindow p.close {
	float:right;
	position:relative;
	top:-7px;
	right:2px;
}

#cboxClose {
	float:right;
	position:relative;
	right:5px;
	top:5px;
}
#cboxTitle {
	text-indent: -9999px;
}

/* Headers */
#modalwindow h1, h1.modalheader {
	/*border-bottom:1px solid #dcdcdc;*/
	color:#525252;
	font:normal normal bold 14px Arial, Helvetica, sans-serif;
	/*height:29px;*/  /* 9/24/09: Jeremy removed height in case headers wrap into a second line */
	/*line-height:29px;*/
	margin:0 0 0 0;
	text-align:left;
}

#modal h1 {
	color:#333333;
	font:normal normal 14px 'Roboto', Arial,Helvetica,sans-serif;
	/*height:27px;*/
	overflow:hidden;
	padding:10px 10px 15px 10px;
	text-transform:uppercase;
	/*background: #f0f0f0;*/
	border-bottom: 1px solid #dddddd;
  box-shadow: -6px -2px 5px rgba(0, 0, 0, 0.5);
  margin-top: 0px;
}

#modal h1 div.title-left {
	float:left;
}
#modal h1 div.add-to-favorites {
	float:right;
	width:180px;
	text-align:right;
}

#modal h2 {
	color:#333333;
	font:normal normal bold 12px Arial, Helvetica, sans-serif;
	margin:10px 0px 5px 0px;
}

/* Miscellaneous */
.details {font-weight:normal;}
#modaldata {margin:10px; display: block;}
#modalwindow p, #modalwindow h1 {text-indent:23px;}
#modaldata p {text-indent:0px;}
#modalwindow td.headerbg, #modalcontent td.headerbg{
	background:#b1b1b2 none; border:0px;
	color:#FFFFFF;
	font:normal normal bold 12px Arial, Helvetica, sans-serif;
	height:25px;
	overflow:hidden;
	padding:0;
}

#modalcontent {
	/*padding-left:10px;*/
	overflow:auto;
  padding-right: 12px;
}

#modalfooter {
	bottom:0;
	/*height:46px;*/
  height: auto;
 	overflow:hidden;
 	position:absolute;
	width:99%;
	background:#ffffff;
	padding-bottom:5px;
	border-top:1px solid #dddddd;
  margin-bottom: -50px;
}

#modalfooter table {
	margin-top:15px;
	text-align:center;
}

.bottomline {
	border-bottom:1px solid #DCDCDC;
	padding-bottom:5px;
}

/*.leftbutton, .middlebutton {
	margin-right:12px;
}

.middlebutton, .rightbutton {
	margin-left:12px;
}*/

.topline {
	border-top:1px solid #DCDCDC;
	padding-top:5px;
}

.border_cover {
	width: 12px;
	height: 40px;
	background: #F0F0F0;
	position: absolute;
}

.top_left {
	top:16.1px;
	left:13px;
	border-bottom: 1px solid #999999;
}

.top_right {
	top:16.1px;
	right:13px;
	border-bottom: 1px solid #999999;
}

.bottom_left {
	left:13px;
	height:54px;
	bottom:17px;
	border-top:1px solid #999999;
}

.bottom_right {
	right:13px;
	height:54px;
	bottom:17px;
	border-top:1px solid #999999;
}


