/**
 * Penton ColorBox Styles:
 * The The default style is white border with rounded corners. Any deviation from this should
 * be added to an explicit class that is added through the onOpen and removed with the onClose
 * function in a separate script
 */
.cboxPhoto {
  float: left;
  margin: auto;
  border: 0;
  display: block;
}
.cboxIframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/**
 * Colorbox module default style:
 * The styles are ordered & tabbed in a way that represents
 * the nesting of the generated HTML.
 */
#cboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 19999;
  overflow: hidden;
  background: #000;
  position: fixed;
  width: 100%;
  height: 100%;
}

#colorBox {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: content-box;
  z-index: 19999;
  overflow: hidden;
}
  #cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 19999;
    overflow: hidden;
    background: #fff;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
  }
    #cboxTopLeft {
      width: 15px;
      height: 15px;
    }
    #cboxTopCenter {
      height: 15px;
    }
    #cboxTopRight {
      width: 15px;
      height: 15px;
    }
    #cboxBottomLeft {
      width: 15px;
      height: 10px;
      clear: left;
    }
    #cboxBottomCenter {
      height: 10px;
    }
    #cboxBottomRight {
      width: 15px;
      height: 10px;
    }
    #cboxMiddleLeft {
      width: 15px;
      clear: left;
    }
    #cboxMiddleRight {
      width: 15px;
    }
    #cboxContent {
      position: relative;
      box-sizing: content-box;
      background: #fff;
      font: 12px "Lucida Grande", Verdana, Arial, sans-serif;
      margin-bottom: 35px;
    }
      #cboxError {
        padding: 50px;
        border: 1px solid #ccc;
      }
      #cboxLoadedContent {
        overflow: auto;
        box-sizing: content-box;
      }
      #cboxTitle {
        padding-right: 10px;
      }
      #cboxCurrent {
        position: absolute;
        bottom: 4px;
        left: 60px;
        color: #949494;
      }
      #cboxSlideshow {
        position: absolute;
        bottom: 0px;
        right: 30px;
        background: url(images/controls.png) -75px -50px no-repeat;
        width: 25px;
        height: 25px;
        text-indent: -9999px;
        cursor: pointer;
      }
      #cboxSlideshow:hover {
        background-position: -101px -50px;
      }
      .cboxSlideshow_off #cboxSlideshow {
        background-position: -49px -50px;
      }
      .cboxSlideshow_off #cboxSlideshow:hover {
        background-position: -25px -50px;
      }
      #cboxPrevious {
        position: absolute;
        bottom: 0;
        left: 0;
        background: url(images/controls.png) -75px 0px no-repeat;
        width: 25px;
        height: 25px;
        text-indent: -9999px;
        cursor: pointer;
      }
      #cboxPrevious:hover {
        background-position: -75px -25px;
      }
      #cboxNext {
        position: absolute;
        bottom: 0;
        left: 27px;
        background: url(images/controls.png) -50px 0px no-repeat;
        width: 25px;
        height: 25px;
        text-indent: -9999px;
        cursor: pointer;
      }
      #cboxNext:hover {
        background-position: -50px -25px;
      }
      #cboxLoadingOverlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
      }
      #cboxLoadingGraphic {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(images/loading_animation.gif) center center no-repeat;
      }
      #cboxClose {
        position: absolute;
        bottom: 0;
        right: 0;
        background: url(images/controls.png) -25px 0px no-repeat;
        width: 25px;
        height: 25px;
        text-indent: -9999px;
        cursor: pointer;
      }
      #cboxClose:hover {
        background-position: -25px -25px;
      }

/* Newsletter styles */
.newsletter-colorbox #cboxWrapper {
  background-color: transparent;
}
.colorbox-html {
  padding: 20px;
}
#nl-thanks {
  font-family: LeagueGothic;
  font-size: 25px;
  font-weight: normal;
  text-align: center;
  text-transform: uppercase;
}
#nl-thanks-sub {
  padding-bottom: 15px;
  text-transform: none;
  text-align: center;
  font-weight: bold;
  color: #8c8c8c;
}
#nl-thanks-listing {
  text-transform: none;
  font-weight: bold;
  padding-bottom: 2px;
}
#nl-thanks-listing ul {
  list-style: none outside none;
  margin-left: -35px;
}
#nl-thanks-listing ul li {
  padding: 1px 0;
  font-family: arial;
  font-size: 13px;
}
#nl-thanks-suffix,
#all-nl-redirect {
  padding: 5px;
  font-size: 10px;
  text-transform: none;
  color: #8c8c8c;
}
#all-nl-redirect a {
  font-weight: bold;
}

.newsletter-colorbox #cboxClose {
	margin: 0 0 0 0;
	z-index: 99999;
	position: absolute;
	top:0;
	right: 0;
	height: 0;
	width: 31px;
	padding-top: 31px;
	overflow: hidden;
	background: url('images/cbox_close.png') no-repeat left top;
}
