/* left & right align of images and movies */
img.leftAlign,
.IPYoutube.leftAlign {
	float: left;
	margin: 10px 10px 10px 0;
}
img.rightAlign,
.IPYoutube.rightAlign {
	float:right;
	margin: 10px 0 10px 10px;
}
img.centerAlign,
.IPYoutube.centerAlign {
	float:none;
	margin: 10px auto !important;
	display: block;
}

/* preview bar */
.previewNotice {
	width: 100%;
	position:absolute;
	top:0;
	color: #514721;
	background: #FFF6BF none repeat scroll 0 0;
	opacity: 0.8;
	filter: alpha(80);
	z-index: 9999;
}
.previewNotice .message {
	border: 3px solid;
	padding: 0.8em;
	border-color: #FFD324;
}

/** xsl debug */
.inEditor *:hover span.xslDebugMessage {
	display:block;
	font-size: 10px;
	position:absolute;
	background-color: red;
	z-index: 99999;
}

span.xslDebugMessage {
	display:none;
}

/** in-editor region styling */
div[data-ipub-type='content']  {
	outline: 1px dashed #BBB ;
	padding-bottom: 2px; /* create some space for a widget to be dropped in a empty region. */ 
	overflow: hidden; 	/* wrap the outline over all the elements. Even floating ones. */
}

div[data-ipub-type='content']  div[data-ipub-type='content']  {
	outline-width: 0px;
}

div[data-ipub-type='content']  div[data-ipub-type='content']:hover  {
	outline-width: 1px;
}

/** Set a border for IE7 */
*div[data-ipub-type='content'] {
	border: #BBB dashed 1px; 
} 
/** in-editor widget styling */
div[data-ipub-type='content'] div[data-ipub-type]:hover { 
	outline: #BBB dashed 1px; 
}
/** assist tooltip focus on iframed widgets */
div[data-ipub-type='content'] div[data-ipub-type]:hover iframe {
	margin-top: 5px;
}
/** allow some spacing in empty regions for widget drop */
div[data-ipub-type='content'] {
	padding-bottom: 3px;
} 
/** modern browser will allow most elements to remove the above padding-bottom */
div[data-ipub-type='content'] > *:last-child {
	margin-bottom: -3px;
}

/** decollapse empty tablecells */
div[data-ipub-type='content'] td {
	min-width: 10px;
	min-height: 10px;
}


div[data-ipub-type] div.cmstooltip {
	display:none; /* hide cmstooltips that are not in a div[data-ipub-type='content'] */ 
	position: relative;
}
div[data-ipub-type='content'] div.cmstooltip {
	display:block;
}

/** Tooltip for a content container */
div[data-ipub-type='content'] div.cmstooltip .cmstooltipcontainer {
	border:1px solid #A9BFD3;
	background-color: #D0DEF0;
	position: absolute;
	top: -1px;
	right: -22px;
}

/** Correct tooltip positioning for non-content containers */
div[data-ipub-type='content'] div[data-ipub-type] div.cmstooltip .cmstooltipcontainer {
	top: -2px;
	right: -1px;
}

div[data-ipub-type] div.cmstooltip .cmstooltipcontainer div {
	float:left;
	margin:2px;
}

/** MediaManager */
.media-flv,
.media-swf,
img.IPMMSWF  {
    background: #fff url(../../iPublisher/images/icons/filetypes/swf_big.png) center center no-repeat;
    border:1px solid red;
    display:block;
    min-width: 50px;
    min-height: 50px;
}
.media-flv {
    background-image: url(../../iPublisher/images/icons/filetypes/flv_big.png);
}

/* Enable image placeholders in Firefox */
.inEditor img:-moz-broken,
.inEditor img:-moz-user-disabled {
	-moz-force-broken-image-icon: 1;
}

.inEditor img:-moz-broken:not([width]),
.inEditor img:-moz-user-disabled:not([width]) {
	width: 100px;
}

.inEditor img:-moz-broken:not([height]),
.inEditor img:-moz-user-disabled:not([height]) {
	height: 100px;
}

/*
* don't use border-box on image, this causes a resize bug in iPub if margin or padding is applied
*/
img {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

/*form no-display human field*/
.human {
	position: absolute;
	left: -999em;
	z-index:-1;
}

/* Classes for Ext masking support. */
.ext-el-mask {
	background-color: #CCCCCC;
	height: 100%;
	left: 0;
	opacity: 0.5;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 100;
}

.x-masked-relative {
	position: relative !important;
}
.x-masked {
	overflow: hidden !important;
}

/* backward compatibility for old searchResultItems, maintain block behaviour */
.searchResultItems .title,
.searchResultItems .description {
	display: block;
}

/* Anti spam */
a span.antispam1 {
	display: none;
}

a span.antispam2 {
	unicode-bidi: bidi-override;
	direction:rtl;
}

/* Embeddable expanded styling, stretch to parent div while maintaining 16:9 aspect ratio */
.IPEmbeddable.expand {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}

.IPEmbeddable.expand iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/**
 * jQuery lightBox plugin
 * This jQuery plugin was inspired and based on Lightbox 2 by Lokesh Dhakar (http://www.huddletogether.com/projects/lightbox2/)
 * and adapted to me for use like a plugin from jQuery.
 * @name jquery-lightbox-0.5.css
 * @author Leandro Vieira Pinho - http://leandrovieira.com
 * @version 0.5
 * @date April 11, 2008
 * @category jQuery plugin
 * @copyright (c) 2008 Leandro Vieira Pinho (leandrovieira.com)
 * @license CCAttribution-ShareAlike 2.5 Brazil - http://creativecommons.org/licenses/by-sa/2.5/br/deed.en_US
 * @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin
 */
#jquery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9998;
	width: 100%;
	height: 500px;
}
#jquery-lightbox {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	text-align: center;
	line-height: 0;
}
#jquery-lightbox a img { border: none; }
#lightbox-container-image-box {
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
}
#lightbox-container-image { padding: 10px; }
#lightbox-loading {
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
}
#lightbox-nav {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 9997;
}
#lightbox-container-image-box > #lightbox-nav { left: 0; }
#lightbox-nav a { outline: none;}
#lightbox-nav-btnPrev, #lightbox-nav-btnNext {
	width: 49%;
	height: 100%;
	zoom: 1;
	display: block;
}
#lightbox-nav-btnPrev {
	left: 0;
	float: left;
}
#lightbox-nav-btnNext {
	right: 0;
	float: right;
}
#lightbox-container-image-data-box {
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%;
	padding: 0 10px 0;
}
#lightbox-container-image-data {
	padding: 0 10px;
	color: #666;
}
#lightbox-container-image-data #lightbox-image-details {
	width: 70%;
	float: left;
	text-align: left;
}
#lightbox-image-details-caption { font-weight: bold; }
#lightbox-image-details-currentNumber {
	display: block;
	clear: left;
	padding-bottom: 1.0em;
}
#lightbox-secNav-btnClose {
	width: 66px;
	float: right;
	padding-bottom: 0.7em;
}