/**
 * @package		xEDITOR MediaBox
 * @copyright	Copyright (C) 2009 - 2011 Ryan Demmer. All rights reserved.
 * @license		GNU/GPL 2 or later
 * This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
 */
@media print {
    a.xeditorpopup span.xeditormediabox-zoom-image {
        background: none !important;
    }
}
#xeditormediabox-popup-page, #xeditormediabox-popup-overlay, #xeditormediabox-popup-body, #xeditormediabox-popup-loader, #xeditormediabox-popup-container,
#xeditormediabox-popup-content, #xeditormediabox-popup-content, #xeditormediabox-popup-object, #xeditormediabox-popup-iframe, #xeditormediabox-popup-img {
    left: 0;
    top: 0;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    height: 100%;
    width: 100%;
}
#xeditormediabox-popup-page {
    position: fixed;
    z-index: 10000;
}
#xeditormediabox-popup-overlay {
    position: absolute;
    cursor: pointer;
}
#xeditormediabox-popup-frame {
    position: relative;
    overflow: visible;
    height: 100%;
    z-index: 10001;
    cursor: pointer;
}
#xeditormediabox-popup-body {
    position: relative;
    overflow: visible;
    margin: 0 auto;
    width: 300px;
    height: 300px;
    z-index: 10002;
    cursor: default;
}
#xeditormediabox-popup-loader {
    text-align: center;
    line-height: 0;
}
#xeditormediabox-popup-info-bottom, #xeditormediabox-popup-info-top {
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    visibility: hidden;
}
#xeditormediabox-popup-container {
    overflow: hidden;
}
#xeditormediabox-popup-content {}

#xeditormediabox-popup-content.broken-image {
    background : url('../img/broken-image.png') no-repeat center;
}
#xeditormediabox-popup-content.broken-media {
    background : url('../img/broken-media.png') no-repeat center;
}
#xeditormediabox-popup-content.broken-page {
    background : url('../img/broken-page.png') no-repeat center;
}
#xeditormediabox-popup-content p.media-support {
    font-size : 20px;
    color : #888;
    font-weight : bold;
    text-align: center;
    height: 100%;
    position : relative;
    top : 50%;
    margin-top : -10px;
}
#xeditormediabox-popup-img, #xeditormediabox-popup-object, #xeditormediabox-popup-iframe {
    text-align: center;
}

#xeditormediabox-popup-page.idevice #xeditormediabox-popup-content {
    overflow: scroll;
}

#xeditormediabox-popup-ajax {
    overflow: auto;
    border: 0;
    padding: 0;
    margin: 0;
    width: auto;
    height: 100%;
    background-color: #ffffff;
}
a.xeditorpopup[type="image"], a.xeditorpopup[href$=".jpg"], a.xeditorpopup[href$=".png"], a.xeditorpopup[href$=".gif"], a.xeditorpopup[href$=".tiff"], a.xeditorpopup[href$=".bmp"] {
    line-height : 0;
}
a.xeditorpopup span.xeditormediabox-zoom-span {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    position: relative;
}
a.xeditorpopup span.xeditormediabox-zoom-image {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
    display: block;
    background: transparent url(../img/zoom-img.png) no-repeat bottom right;
    width : 100%;
    height : 100%;
    position: absolute;
    z-index: 1;
    bottom:0;
    left:0;
}
a.xeditorpopup.icon-left span.xeditormediabox-zoom-image, a.xeditorpopup.icon-bottom-left span.xeditormediabox-zoom-image {
    background-position: bottom left;
}
a.xeditorpopup.icon-top-left span.xeditormediabox-zoom-image {
    background-position: top left;
}
a.xeditorpopup.icon-top span.xeditormediabox-zoom-image, a.xeditorpopup.icon-top-right span.xeditormediabox-zoom-image {
    background-position: top right;
}
a.xeditorpopup.icon-center span.xeditormediabox-zoom-image {
    background-position: center center;
}
a.xeditorpopup.icon-center-left span.xeditormediabox-zoom-image {
    background-position: center left;
}
a.xeditorpopup.icon-center-right span.xeditormediabox-zoom-image {
    background-position: center right;
}
a.xeditorpopup.icon-center-top span.xeditormediabox-zoom-image {
    background-position: center top;
}
a.xeditorpopup.icon-center-bottom span.xeditormediabox-zoom-image {
    background-position: center top;
}
a.xeditorpopup span.xeditormediabox-zoom-link,
a.xeditorpopup span.xeditormediabox-zoom-link.icon-right {
    padding-right: 16px;
    background: transparent url(../img/zoom-link.gif) no-repeat center right;
    display: inherit;
}
a.xeditorpopup span.xeditormediabox-zoom-link.icon-left {
    padding-left: 18px;
    background: transparent url(../img/zoom-link.gif) no-repeat center left;
}
#xeditormediabox-popup-caption, #xeditormediabox-popup-caption h4, #xeditormediabox-popup-caption p {
    margin: 0;
    padding: 0;
    border: 0;
}
/* Tooltips */
div.xeditormediabox-tooltip, div.xeditormediabox-tooltip-simple {
    z-index: 10010;
    width: 180px;
    text-align:left;
    color: #000000;
    background-color:#ffffff;
    border:1px solid black;
    padding: 4px;
    float: none;
    max-width: 100%;
    position: absolute;
    top : 0;
    left : 0;
    visibility: hidden;
}
div.xeditormediabox-tooltip h4, div.xeditormediabox-tooltip-simple h4 {
    font-weight: bold;
    font-size: 11px;
    margin: 0;
    background: none;
    padding:0;
}
div.xeditormediabox-tooltip p, div.xeditormediabox-tooltip-simple p {
    font-size: 11px;
    background: none;
    margin: 0;
    padding:0;
}

/** IE6 **/
a.xeditorpopup.ie6 span.xeditormediabox-zoom-image {
    background	: transparent url(../img/zoom-img.png) no-repeat;
    width 		: 20px;
    height 		: 20px;
    left		: auto;
    top			: auto;
    right		: 0;
}
a.xeditorpopup.ie6 span.xeditormediabox-zoom-link {
    display: inline-block;
}
a.xeditorpopup.ie6.icon-left span.xeditormediabox-zoom-image, a.xeditorpopup.icon-bottom-left span.xeditormediabox-zoom-image {
    top: auto;
    right: 0;
}
a.xeditorpopup.ie6.icon-top span.xeditormediabox-zoom-image, a.xeditorpopup.icon-top-right span.xeditormediabox-zoom-image {
    top: 0;
}
a.xeditorpopup.ie6.icon-left span.xeditormediabox-zoom-image {
    left: 0;
    right: auto;
}