﻿/*
 * Facebox (for jQuery)
 * version: 1.3
 * @requires jQuery v1.2 or later
 * @homepage https://github.com/defunkt/facebox
 *
 * Licensed under the MIT:
 *   http://www.opensource.org/licenses/mit-license.php
 *
 * Copyright Forever Chris Wanstrath, Kyle Neath
 */

#facebox {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  text-align: left;
}

#_facebox[id] {
  top:10% !important;
  position:fixed;
  max-height: 90%;
  overflow-y: auto;
  overflow-x: hidden;
}

#facebox .popup {
  position: relative;
  -webkit-box-shadow: 2px 2px 8px rgba(0,0,0,0.4);
  -moz-box-shadow: 2px 2px 8px rgba(0,0,0,0.4);
  box-shadow: 2px 2px 8px rgba(0,0,0,0.4);
  background: #FFF;
  padding: 10px;
}

#facebox .content {
  display: table;
  width: 100%;
}

#facebox .content > p:first-child{
  margin-top:0;
}

#facebox .content > p:last-child{
  margin-bottom:0;
}

#facebox .content > h2 {
  background: #205f8a;
  color: #FFF;
  font-weight: bold;
  font-family: Verdana, Arial, sans-serif;
  height: 20px;
  font-size: 16px;
  padding: 10px 30px 10px 10px;
  margin: -10px -10px 10px;
}

#facebox .close {
  position: absolute;
  top: 7px;
  right: 5px;
  padding: 2px;
  display: block;
  height: 24px;
  width: 24px;
  background: url(closelabel.png) no-repeat;
}

#facebox .loading {
  text-align: center;
  
}

#facebox .loading:after {
	display:inline-block;
}

#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: 99;
}
