.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-tmp,
.fancybox-wrap iframe {
  padding: 0;
  margin: 0;
  border: 0;
  outline: none;
  vertical-align: top;
}

.fancybox-wrap {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8020;
}

.fancybox-skin {
  position: relative;
  background: #000;
  color: #444;
  text-shadow: none;
}

.fancybox-opened {
  z-index: 8030;
}

.fancybox-outer,
.fancybox-inner {
  position: relative;
}

.fancybox-inner {
  overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
  -webkit-overflow-scrolling: touch;
}

.fancybox-error {
  color: #444;
  font: 14px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 15px;
  white-space: nowrap;
}

.fancybox-iframe {
  display: block;
  width: 100%;
  height: 100%;
}

#fancybox-loading {
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -22px;
  margin-left: -22px;
  background-position: 0 -108px;
  opacity: 0.8;
  cursor: pointer;
  z-index: 8060;
  background-color: #000;
  border-radius: 8px;
}

#fancybox-loading div {
  display: none;
  /*width: 44px;*/
  /*height: 44px;*/
  /*background: url('../images/fancybox_loading.gif') center center no-repeat;*/
}

.fancybox-close {
  position: absolute;
  top: -32px;
  right: 0;
  text-align: right;
  width: 16px;
  height: 20px;
  cursor: pointer;
  z-index: 8040;
  background: transparent;
  text-decoration: none;
}

.fancybox-close:after {
  content: "\f00d";
  font-size: 20px !important;
  line-height:1em;
  position: relative;
  color: #fff;
  font-family: 'FontAwesome';
  font-style: normal;
  font-weight: 400;
  top:0;
  position:absolute;
  top:0;
  right:0;
}

.fancybox-tmp {
  position: absolute;
  top: -99999px;
  left: -99999px;
  visibility: hidden;
  max-width: 99999px;
  max-height: 99999px;
  overflow: visible !important;
}


/* Overlay helper */

.fancybox-lock {
  overflow: hidden !important;
  width: auto;
}

.fancybox-lock body {
  overflow: hidden !important;
}

.fancybox-lock-test {
  overflow-y: hidden !important;
}

.fancybox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  display: none;
  z-index: 8010;
  background-color: rgba(0, 0, 0, .95);
}

.fancybox-overlay-fixed {
  position: fixed;
  bottom: 0;
  right: 0;
}

.fancybox-lock .fancybox-overlay {
  overflow: auto;
  overflow-y: scroll;
}


/* Title helper */

.fancybox-title {
  visibility: hidden;
  font-size: 16px;
  font-family: 'franklingothic-demicd';
  text-transform: uppercase;
  line-height: 1em;
  position: absolute;
  top:-32px;
  bottom: auto !important;
  left:0;
  text-shadow: none;
  z-index: 8050;
}

.fancybox-title:before{
  content: '';
  display: inline-block;
  vertical-align: middle;
  margin-right:8px;
  height: 22px;
  width: 30px;
  background-image: url('../images/icon-graduation-cap-white@2x.png');
  background-size: 30px 22px;

}

.fancybox-opened .fancybox-title {
  visibility: visible;
}

.fancybox-title-float-wrap {
  position: absolute;
  bottom: 0;
  z-index: 8050;
  text-align: center;
}

.fancybox-title-float-wrap .child {
  display: inline-block;
  background: transparent;
  color: #FFF;
  white-space: nowrap;
}


/* Breakpoints */


@media (min-width: 34em) {
  .fancybox-close:after {
    font-size: 32px;
  }
}


/*Retina graphics!*/

/*@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
  #fancybox-loading div {
    display: none;
    background-image: url('../images/fancybox_loading@2x.gif');
    background-size: 24px 24px;
  }
}*/
