/* --------------------- FANCY BOX --------------------- */


html, body { height: 100%; }
div#fancy_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #0f1213;
	display: none;
	z-index: 30;
}
* html div#fancy_overlay { position: absolute; height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
div#fancy_wrap { text-align: left; }
div#fancy_outer {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	padding: 18px 18px 33px 18px;
	height: 1500px !important;
	margin: 0;
	overflow: hidden;
	background: transparent;
	display: none;
}
#fancy_title_main div { display:none; !important}
div#fancy_inner {
	position: relative;
	width:100%;
	height:100%;
	background-color: #2c2e2f;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	
}
div#fancy_content {
	margin: 0;
	z-index: 100;
	position: absolute;
	background-color: #2c2e2f;
}
div#fancy_div {
	background: #000;
	color: #FFF;
	height: 100%;
	width: 100%;
	z-index: 100;
}
img#fancy_img {
	position: absolute;
	top: 0;
	left: 0;
	border:0;
	padding: 0;
	margin: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
}
div#fancy_close { display:none }
#fancy_frame {
	position: relative;
	width: 100%;
	height: 100%;
	display: none;
}
#fancy_ajax {
	width: 100%;
	height: 100%;
	overflow: hidden;
}
a#fancy_left, a#fancy_right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 35%;
	cursor: pointer;
	z-index: 111;
	display: none;
	background-image: url(data:image/gif;base64,AAAA);
	outline: none;
}
a#fancy_left { left: 0px; }
a#fancy_right { right: 0px; }
span.fancy_ico {
	position: absolute;
	top: 50%;
	margin-top: -15px;
	width: 30px;
	height: 30px;
	z-index: 112;
	cursor: pointer;
	display: block;
}
span#fancy_left_ico {
	left: -9999px;
	background: transparent url('../images/fancy/fancy_left.png') no-repeat;
}
span#fancy_right_ico {
	right: -9999px;
	background: transparent url('../images/fancy/fancy_right.png') no-repeat;
}
a#fancy_left:hover { visibility: visible; }
a#fancy_right:hover { visibility: visible; }
a#fancy_left:hover span { left: 20px; }
a#fancy_right:hover span { right: 20px; }
.fancy_bigIframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
}
div#fancy_bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 70;
	border: 0;
	padding: 0;
	margin: 0;
}
div.fancy_bg {
	position: absolute;
	display: block;
	z-index: 70;
	border: 0;
	padding: 0;
	margin: 0;
}
/* --------------------- Popup Look--------------------- */

.popup_wrap {
	background-color:#fff;
	padding:1px;
	border-radius:6px;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
}
.popup_frame {
	clear:both;
	display:block;
	border-radius:6px;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	background:#f4f7f9 url(../images/backgrounds/bg_popup.png) repeat-x top left;
	padding:0px 13px 13px 13px;
}
.popup_frame p.notes {
	color:#687787;
	font-size:0.6875em;
	margin:9px 0px 0px 8px;
	text-shadow:#fff 0 1px;
}
.popup_frame p.notes span {
	color:#afb5b9;
	padding:0px 8px;
	font-size:9px;
	position:relative;
	top:-1px;
}
.popup_frame p.notes strong { color:#2e3a42; }
.popup_top {
	position:relative;
	text-shadow:#fff 0 1px;
	padding:19px 8px 14px 21px;
	margin-left:-13px;
	background:transparent url(../images/backgrounds/popup_glint.gif) no-repeat top left;
}
.popup_small{height:14px; padding:0px 8px 0px 21px}
p.popup_info{font-weight:bold; padding-top:1.5385em; padding-left:21px;}
.popup_top div { float:left; }
.popup_top a {
	float:right;
	display:inline;
}
.popup_top h1 {
	color:#1c1c1c;
	font-size:1.875em;
	line-height:0.8em;
	padding-bottom:12px;
	margin-top:4px;
	padding-right:64px;
	background:transparent url(../images/backgrounds/popup_sprites.gif) no-repeat right -149px;
	background:transparent url(../images/backgrounds/popup_sprites.gif) no-repeat right -150px\9;
	float:left;
}
.popup_top h1 span {
	font-size:1em;
	font-weight:normal;
}
.popup_top p {
	color:#666;
	margin:0px 0px 6px 0px;
	font-size:0.75em;
	line-height:16px;
	clear:both;
}
.popup_middle {
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	padding:1px;
	border:1px solid #fff;
	background-color:#107aba;
}
p.details_left, p.details_right {
	font-size:0.875em;
	color:#fff;
	text-shadow:#156ea4 0 -1px;
	float:left;
	display:inline;
	margin:5px 0px 11px 8px
}
p.details_right {
	float:right;
	margin:5px 8px 11px 0px
}
a.bump {
	float:left;
	display:inline;
	height:23px;
	width:156px;
	background:transparent url(../images/buttons/buttons.gif) no-repeat 0px -119px;
	margin:4px 0px 1px 0px
}
p.bump_info {
	color:#576167;
	font-size:11px;
	line-height:15px;
	clear:both;
	margin-bottom:0px;
}
.popup_middle_wrap {
	border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	padding:3px;
	border:1px solid #1282c5;
	background-color:#1389d0;
}
.popup_main {
	background-color:#fff;
	border:1px solid #0a78ba;
	border-bottom:none;
	-moz-border-radius-topright:4px;
	-webkit-border-top-right-radius:4px;
	border-top-right-radius:4px;
	-moz-border-radius-topleft:4px;
	-webkit-border-top-left-radius:4px;
	border-top-left-radius:4px;
	padding:15px;
}
.popup_middle .footer {
	-moz-border-radius-bottomleft:4px;
	-webkit-border-bottom-left-radius:4px;
	-moz-border-radius-bottomright:4px;
	-webkit-border-bottom-right-radius:4px;
	border:1px solid #0a78ba;
	border-top:none;
	padding:12px 15px;
	background:#f7f7f8 url(../images/backgrounds/popup_sprites.gif) repeat-x 0px -293px;
}
.popup_middle .footer p {
	float:left;
	display:inline;
	font-size:10px;
	line-height:15px;
	color:#576167;
	margin:2px 0px 0px 0px;
}
a#fancy_close {
	display:block;
	height:19px;
	width:19px;
	position:absolute;
	right:10px;
	top:10px;
	background-image:url(../images/backgrounds/popup_sprites.gif);
	background-position:-86px -279px
}
.popup_middle input.btn:hover {
	border:none;
	text-decoration:none;
	opacity:0.8;
	filter:alpha(opacity=80);
}
.popup_middle th {
	background:none;
	background-color:#f7f7f8;
	border-bottom:1px solid #e0e2e5;
	border-right:1px solid #e0e2e5;
	color:#2e3a42;
	text-align:center;
}
.popup_middle th.first {
	-moz-border-radius-topleft:4px;
	-webkit-border-top-left-radius:4px;
	border-top-left-radius:4px;
	text-align:left
}
.popup_middle th.last {
	border-right:none;
	-moz-border-radius-topright:4px;
	-webkit-border-top-right-radius:4px;
	border-top-right-radius:4px;
}
.popup_middle td {
	text-align:center;
	font-weight:bold;
	color:#4fb12b;
	padding-top:12px;
	padding-bottom:15px
}
.popup_middle td.first_form {
	text-align:left;
	font-weight:normal;
	padding-left:19px;
	color:#2e3a42
}
.popup_middle td.first_form p { padding-top:5px; }
.popup_middle td.first_form label {
	float:left;
	display:inline;
	font-size:11px;
}
.popup_middle td.first_form input, .popup_middle td.first_form input:hover, .popup_middle td.first_form input:focus {
	width:auto;
	float:left;
	display:inline;
	margin:0px 6px 0px 0px;
	padding:0px;
	border:none;
	background:none
}
.popup_middle td.last {
	border-right:none;
	color:#2e3a42
}
.popup_middle tr.last td { border-bottom:none }
.popup_left, .popup_right, .popup_main input, .popup_main label, .popup_main select, .popup_main span {
	float:left;
	display:inline;
	
}
.popup_left, .popup_right { width:290px; padding-top:10px;}
.popup_right { float:right; }
.popup_notes .popup_left{ width:209px;}
.popup_notes .popup_right{ width:391px;}

.popup_main label, .popup_main span {
	width:97px;
	font-size:12px;
	line-height:28px;
}
.popup_main input, .popup_main textarea{
	width:180px;
	margin-bottom:12px;
	color:#888f94;
}
.popup_main textarea{
	height:130px;
	font-size:0.75em;
}
.popup_notes textarea{
	width:197px;
	background:none;
}

.popup_notes .popup_right textarea{height:235px; width:379px;}

.popup_main input.input_small {
	width:30px;
	margin-right:8px;
}
.popup_main input.input_med { width:130px; }
.popup_main select {
	width:192px;
	margin-bottom:12px;
	color:#888f94;
}
.popup_main select.select_small { width:60px; }
.popup_main select.select_med { width:92px; }

.popup_main span {
	width:auto;
	padding:0px 6px;
}
.popup_main span.last {
	width:auto;
	padding-right:0px;
}

.popup_appointment textarea{
	width:595px
}
.popup_appointment label.checklabel{
	width:auto; line-height:20px;
}
.popup_appointment input.checkbox{
	width:auto; margin-left:97px; margin-right:10px;
}
