#fancybox-loading {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  cursor: pointer;
  overflow: hidden;
  z-index: 1104;
  display: none
}

#fancybox-loading div {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 480px;
  background-image: url(fancybox.png)
}

#fancybox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  display: none
}

#fancybox-tmp {
  padding: 0;
  margin: 0;
  border: 0;
  overflow: auto;
  display: none
}

#fancybox-wrap {
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px;
  z-index: 1101;
  outline: 0;
  display: none
}

#fancybox-outer {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff
}

#fancybox-content {
  width: 0;
  height: 0;
  padding: 0;
  outline: 0;
  overflow: hidden;
  z-index: 1102;
  /* position: relative; */
  /* border: 0 solid #fff */
  position: fixed;
  top: 50%;
  -webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
  background: black;
  box-shadow: 0px 0px 30px black;
}

.club_scripts_member_member_profile #fancybox-content{
	background-color: white;
	padding: 20px;
	position: relative;
	top: unset;
	transform: none;
}

.club_scripts_member_member_profile #fancybox-content h5{
	margin-top: 10px;
	margin-bottom: 20px;
	padding-bottom: 20px;
}

.club_scripts_email_view_mail_archive #fancybox-content {
  background: #ffffff;
}

#fancybox-hide-sel-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 0 0;
  z-index: 1101
}

#fancybox-close {
  /* position: absolute; */
  /* background: transparent url(fancybox.png) -40px 0; */
  position: fixed;
  top: 15px;
  right: 15px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 1103;
  display: none;
}

html.loggedIn #fancybox-close {
  top: 45px;
}

#fancybox-close:before, #fancybox-close::before, #fancybox-close:after, #fancybox-close::after {
  position: absolute;
  content: '';
  height: 1px;
  width: 50px;
  top: 50%;
  left: 0;
  background: white;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	-ms-transition: all .25s ease-in-out;
	-o-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;
}

#fancybox-close:after, #fancybox-close::after {
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

#fancybox-close:hover:before,
#fancybox-close:hover::before,
#fancybox-close:hover:after,
#fancybox-close:hover::after {
  background: #b2a3a3;
}

#fancybox-error {
  color: #444;
  font: normal 12px/20px Arial;
  padding: 14px;
  margin: 0
}

#fancybox-img {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  outline: 0;
  line-height: 0;
  vertical-align: top
}

#fancybox-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block
}

#fancybox-left, #fancybox-right {
  position: absolute;
  bottom: 0;
  height: 100%;
  width: 35%;
  cursor: pointer;
  outline: 0;
  background: transparent url(blank.gif);
  z-index: 1102;
  display: none
}

#fancybox-left {
  left: 0
}

#fancybox-right {
  right: 0
}

#fancybox-left-ico, #fancybox-right-ico {
  position: absolute;
  top: 50%;
  left: -9999px;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  cursor: pointer;
  z-index: 1102;
  display: block
}

#fancybox-left-ico {
  background-image: url(fancybox.png);
  background-position: -40px -30px
}

#fancybox-right-ico {
  background-image: url(fancybox.png);
  background-position: -40px -60px
}

#fancybox-left:hover, #fancybox-right:hover {
  visibility: visible
}

#fancybox-left:hover span {
  left: 20px
}

#fancybox-right:hover span {
  left: auto;
  right: 20px
}

.fancybox-bg {
  position: absolute;
  padding: 0;
  margin: 0;
  border: 0;
  width: 20px;
  height: 20px;
  z-index: 1001
}

#fancybox-bg-n {
  top: -20px;
  left: 0;
  width: 100%;
  background-image: url(fancybox-x.png)
}

#fancybox-bg-ne {
  top: -20px;
  right: -20px;
  background-image: url(fancybox.png);
  background-position: -40px -162px
}

#fancybox-bg-e {
  top: 0;
  right: -20px;
  height: 100%;
  background-image: url(fancybox-y.png);
  background-position: -20px 0
}

#fancybox-bg-se {
  bottom: -20px;
  right: -20px;
  background-image: url(fancybox.png);
  background-position: -40px -182px
}

#fancybox-bg-s {
  bottom: -20px;
  left: 0;
  width: 100%;
  background-image: url(fancybox-x.png);
  background-position: 0 -20px
}

#fancybox-bg-sw {
  bottom: -20px;
  left: -20px;
  background-image: url(fancybox.png);
  background-position: -40px -142px
}

#fancybox-bg-w {
  top: 0;
  left: -20px;
  height: 100%;
  background-image: url(fancybox-y.png)
}

#fancybox-bg-nw {
  top: -20px;
  left: -20px;
  background-image: url(fancybox.png);
  background-position: -40px -122px
}

#fancybox-title {
  font-family: Helvetica;
  font-size: 12px;
  z-index: 1102
}

.fancybox-title-inside {
  padding-bottom: 10px;
  text-align: center;
  color: #333;
  background: #fff;
  position: relative
}

.fancybox-title-outside {
  padding-top: 10px;
  color: #fff
}

.fancybox-title-over {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
  text-align: left
}

#fancybox-title-over {
  padding: 10px;
  background-image: url(fancy_title_over.png);
  display: block
}

.fancybox-title-float {
  position: absolute;
  left: 0;
  bottom: -20px;
  height: 32px
}

#fancybox-title-float-wrap {
  border: none;
  border-collapse: collapse;
  width: auto
}

#fancybox-title-float-wrap td {
  border: none;
  white-space: nowrap
}

#fancybox-title-float-left {
  padding: 0 0 0 15px;
  background: url(fancybox.png) -40px -90px no-repeat
}

#fancybox-title-float-main {
  color: #fff;
  line-height: 29px;
  font-weight: 700;
  padding: 0 0 3px 0;
  background: url(fancybox-x.png) 0 -40px
}

#fancybox-title-float-right {
  padding: 0 0 0 15px;
  background: url(fancybox.png) -55px -90px no-repeat
}

.fancybox-ie6 #fancybox-close {
  background: 0 0
}

.fancybox-ie6 #fancybox-left-ico {
  background: 0 0
}

.fancybox-ie6 #fancybox-right-ico {
  background: 0 0
}

.fancybox-ie6 #fancybox-title-over {
  background: 0 0;
  zoom: 1
}

.fancybox-ie6 #fancybox-title-float-left {
  background: 0 0
}

.fancybox-ie6 #fancybox-title-float-main {
  background: 0 0
}

.fancybox-ie6 #fancybox-title-float-right {
  background: 0 0
}

#fancybox-hide-sel-frame, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right {
  height: expression(this.parentNode.clientHeight + "px")
}

#fancybox-loading.fancybox-ie6 {
  position: absolute;
  margin-top: 0;
  top: expression((-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2) + (ignoreMe=document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop)) + 'px')
}

#fancybox-loading.fancybox-ie6 div {
  background: 0 0
}

.fancybox-ie .fancybox-bg {
  background: 0 0 !important
}
