#facebox { position: absolute; top: 0; left: 0; z-index: 500; text-align: left; /* width: 940px; */   }
#facebox .popup { position:relative; background: #ffffff; padding: 7px 6px 13px 6px;}
#facebox .content { display:table;  background: #ffffff; width: 100%; overflow: hidden;}

#facebox form fieldset { margin-left: 7px;}
#facebox form label { font-size:12px;}
#facebox form .checkBox label {margin-left: 5px;}

.popupTitle { width: 100%; background-color: #4279a8;  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#437aa9), to(#2b5a8d));  background-image: -webkit-linear-gradient(top, #437aa9, #2b5a8d);  background-image: -moz-linear-gradient(top, #437aa9, #2b5a8d); background-image: -o-linear-gradient(top, #437aa9, #2b5a8d); border:0px none; color: #fff; font-size:18px; padding:7px 15px; margin-bottom: 16px; }

.popupTitle.dark {
	background: rgb(104,104,104);
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzY4Njg2OCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzMzMzMzMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(104,104,104,1) 0%, rgba(51,51,51,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(104,104,104,1)), color-stop(100%,rgba(51,51,51,1)));
	background: -webkit-linear-gradient(top,  rgba(104,104,104,1) 0%,rgba(51,51,51,1) 100%);
	background: -o-linear-gradient(top,  rgba(104,104,104,1) 0%,rgba(51,51,51,1) 100%);
	background: -ms-linear-gradient(top,  rgba(104,104,104,1) 0%,rgba(51,51,51,1) 100%);
	background: linear-gradient(to bottom,  rgba(104,104,104,1) 0%,rgba(51,51,51,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#686868', endColorstr='#333333',GradientType=0 );
}
.popupTitle h3 {margin: 3px 0; font-size: 18px; font-weight: normal;}


.newAddressCont { width:540px }
#facebox #checkout_address_popup .find_address_wrapper {padding-right:14px;}

#addressListing_popup.popup_only, #posAddressListing_popup.popup_only { width: 660px;}
#addressListing_popup.popup_only .popupTitle { width: 625px;}
#addressListing_popup.popup_only .msg_box { width: 620px;}
#addressListing_popup.popup_only .list_container, #posAddressListing_popup.popup_only .list_container {float: left; clear: both; max-height: 675px; overflow-y: auto; width: 660px;}
#addressListing_popup.popup_only .list_container .list_item, #posAddressListing_popup.popup_only .list_container .list_item { float:left; display:inline; padding-left: 10px; padding-right: 10px;}
#addressListing_popup.popup_only .list_container .list_item:nth-of-type(3n+1), #posAddressListing_popup.popup_only .list_container .list_item:nth-of-type(3n+1) { clear:left;}

.prefferedDatePopup .ui-widget-header { background: none; border: 0 none; }
.prefferedDatePopup .ui-widget-content  { border: 0 none; }
.prefferedDatePopup  .addedToBagBundlePopup_button_container { width: 290px; }
.prefferedDatePopup .ui-widget { font-family: "Trebuchet MS",Helvetica,Jamrul,sans-serif; }
.prefferedDatePopup  .ui-widget-content .available .ui-state-default.ui-state-active { background: #e1393d; color: #fff; text-shadow: 1px 1px 2px #2d2d2d; }
.prefferedDatePopup  .ui-widget-content .available .ui-state-default { background: #b4c9dc; }
.prefferedDatePopup .ui-datepicker { margin: 0 auto; text-align: center; width:100%; }
.prefferedDatePopup  .pinkButton.datePickerSelected { float: none; text-align: center; display: inline; margin-top: 1em; }
.prefferedDatePopup .ui-datepicker td { padding:0px; opacity:1 }
.prefferedDatePopup .ui-datepicker td span, .prefferedDatePopup .ui-datepicker td a { text-align:center; }
.prefferedDatePopup  tbody tr:nth-of-type(2n+1) { background: none; }
.prefferedDatePopup .ui-state-default, .prefferedDatePopup .ui-widget-content .ui-state-default, .prefferedDatePopup .ui-widget-header .ui-state-default { background: none;  border:0px none; border-bottom:1px solid #d6d6d6;}
.prefferedDatePopup .ui-datepicker .ui-datepicker-title { text-transform: uppercase; }

.popupSubmits { margin-top:15px; }



#facebox .content > p:first-child{
  margin-top:0;
}
#facebox .content > p:last-child{
  margin-bottom:0;
}

#facebox .close{
  position:absolute;
  top:15px;
  right:13px;
}
#facebox .close img { opacity:0.9; }

#facebox .close:hover img{
  opacity:1.0;
}

#facebox .loading {
  text-align: center;
}

#facebox .image {
  text-align: center;
}

#facebox img {
  border: 0;
  margin: 0;
}

#facebox_overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  height:100%;
  width:100%;
}

.facebox_hide {
  z-index:-100;
}

.facebox_overlayBG {
  background-color: #000;
  z-index: 499;
}
