/* default styles for extension "user_referenzen_pi1" */
  .user-referenzen-pi1 H2 { margin-top: 0px; margin-bottom: 0px; }

	#referenzenAnsicht, #myGallerySet, #flickrGallery
	{
		width: 580px;
		height: 245px;
		z-index:5;
	}
	
	#flickrGallery
	{
		width: 580px;
		height: 245px;
	}
	
	#referenzenAnsicht img.thumbnail, #myGallerySet img.thumbnail
	{
		display: none;
	}
	
	.jdGallery
	{
		overflow: hidden;
		position: relative;
	}
	
	.jdGallery img
	{
		border: 0;
		margin: 0;
	}
	
	.jdGallery .slideElement
	{
		width: 100%;
		height: 100%;
		background-color: #000;
		background-repeat: no-repeat;
		background-position: center center;
		background-image: url('/typo3conf/ext/user_referenzen/pi1/css/img/loading-bar-black.gif');
	}
	
	.jdGallery .loadingElement
	{
		width: 100%;
		height: 100%;
		position: absolute;
		left: 0;
		top: 0;
		background-color: #000;
		background-repeat: no-repeat;
		background-position: center center;
		background-image: url('/typo3conf/ext/user_referenzen/pi1/css/img/loading-bar-black.gif');
	}
	
	.jdGallery .slideInfoZone
	{
		position: absolute;
		z-index: 10;
		width: 100%;
		margin: 0px;
		left: 0;
		bottom: 0;
		height: 40px;
		background: #004499;/*333*/
		color: #fff;
		text-indent: 0;
		overflow: hidden;
	}
	
	* html .jdGallery .slideInfoZone
	{
		bottom: -1px;
	}
	
	.jdGallery .slideInfoZone h2
	{
		padding: 0;
		font-size: 12px;
		margin: 0;
		margin: 2px 5px;
		font-weight: bold;
		color: inherit;
		text-transform: uppercase;
		line-height: 1.3em;
	}
	
	.jdGallery .slideInfoZone p
	{
		padding: 0;
		font-size: 11px;
		font-weight: normal;
		margin: 2px 5px !important;
		color: #fff;
	}
	
	.jdGallery .slideInfoZone p a {
		color: white !important;
		text-decoration: underline;
	}
	
	.jdGallery .slideInfoZone p a:hover,
	.jdGallery .slideInfoZone p a:active,
	.jdGallery .slideInfoZone p a:focus {
		color: white !important;
		text-decoration: none;
	}
	
	.jdGallery div.carouselContainer
	{
		position: absolute;
		height: 135px;
		width: 100%;
		z-index: 10;
		margin: 0px;
		left: 0;
		top: 0;
	}
	
	.jdGallery a.carouselBtn
	{
		position: absolute;
		bottom: 0;
		right: 30px;
		height: 20px;
		/*width: 100px; background: url('/typo3conf/ext/user_referenzen/pi1/css/img/carousel_btn.gif') no-repeat;*/
		text-align: center;
		padding: 0 10px;
		font-size: 12px;
		line-height: 1.3em;
		background: #004499;
		color: #fff !important;
		cursor: pointer;
	}
	
	.jdGallery .carousel
	{
		position: absolute;
		width: 100%;
		margin: 0px;
		left: 0;
		top: 0;
		height: 115px;
		background: #004499;
		color: #fff;
		text-indent: 0;
		overflow: hidden;
	}
	
	.jdExtCarousel
	{
		overflow: hidden;
		position: relative;
	}
	
	.jdGallery .carousel .carouselWrapper, .jdExtCarousel .carouselWrapper
	{
		position: absolute;
		width: 100%;
		height: 78px;
		top: 10px;
		left: 0;
		overflow: hidden;
	}
	
	.jdGallery .carousel .carouselInner, .jdExtCarousel .carouselInner
	{
		position: relative;
	}
	
	.jdGallery .carousel .carouselInner .thumbnail, .jdExtCarousel .carouselInner .thumbnail
	{
		cursor: pointer;
		background: #000;
		background-position: center center;
		float: left;
		border: solid 1px #fff;
	}
	
	.jdGallery .wall .thumbnail, .jdExtCarousel .wall .thumbnail
	{
		margin-bottom: 10px;
	}
	
	.jdGallery .carousel .label, .jdExtCarousel .label
	{
		font-size: 11px;
		position: absolute;
		bottom: 5px;
		left: 10px;
		padding: 0;
		margin: 0;
	}
	
	.jdGallery .carousel .wallButton, .jdExtCarousel .wallButton
	{
		font-size: 10px;
		position: absolute;
		bottom: 5px;
		right: 10px;
		padding: 1px 2px;
		margin: 0;
		background: #222;
		border: 1px solid #888;
		cursor: pointer;
	}
	
	.jdGallery .carousel .label .number, .jdExtCarousel .label .number
	{
		color: #b5b5b5;
	}
	
	.jdGallery a
	{
		font-size: 100%;
		text-decoration: none;
		color: inherit;
	}
	
	.jdGallery a.right, .jdGallery a.left
	{
		position: absolute;
		height: 99%;
		width: 25%;
		cursor: pointer;
		z-index:10;
		/*filter:alpha(opacity=20);*/
		-moz-opacity:0.2;
		-khtml-opacity: 0.2;
		opacity: 0.2;
	}
	
	*html .jdGallery a.right, *html .jdGallery a.left
	{
		filter:alpha(opacity=50);
	}
	
	.jdGallery a.right:hover, .jdGallery a.left:hover
	{
		filter:alpha(opacity=80);
		-moz-opacity:0.8;
		-khtml-opacity: 0.8;
		opacity: 0.8;
	}
	
	.jdGallery a.left
	{
		left: 0;
		top: 0;
		background: url('/typo3conf/ext/user_referenzen/pi1/css/img/fleche1.png') no-repeat center left;
	}
	
	*html .jdGallery a.left { background: url('/typo3conf/ext/user_referenzen/pi1/css/img/fleche1.gif') no-repeat center left; }
	
	.jdGallery a.right
	{
		right: 0;
		top: 0;
		background: url('/typo3conf/ext/user_referenzen/pi1/css/img/fleche2.png') no-repeat center right;
	}
	
	*html .jdGallery a.right { background: url('/typo3conf/ext/user_referenzen/pi1/css/img/fleche2.gif') no-repeat center right; }
	
	.jdGallery a.open
	{
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
	}
	
	.withArrows a.open
	{
		position: absolute;
		top: 0;
		left: 25%;
		height: 99%;
		width: 50%;
		cursor: pointer;
		z-index: 10;
		background: none;
		-moz-opacity:0.8;
		-khtml-opacity: 0.8;
		opacity: 0.8;
	}
	
	.withArrows a.open:hover { background: url('/typo3conf/ext/user_referenzen/pi1/css/img/open.png') no-repeat center center; }
	
	* html .withArrows a.open:hover { background: url('/typo3conf/ext/user_referenzen/pi1/css/img/open.gif') no-repeat center center;
		filter:alpha(opacity=80); }
		
		
	/* Gallery Sets */
	
	.jdGallery a.gallerySelectorBtn
	{
		z-index: 15;
		position: absolute;
		top: 0;
		left: 30px;
		height: 20px;
		/*width: 100px; background: url('img/carousel_btn.gif') no-repeat;*/
		text-align: center;
		padding: 0 10px;
		font-size: 13px;
		background: #333;
		color: #fff;
		cursor: pointer;
		opacity: .4;
		-moz-opacity: .4;
		-khtml-opacity: 0.4;
		filter:alpha(opacity=40);
	}
	
	.jdGallery .gallerySelector
	{
		z-index: 20;
		width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
		background: #000;
	}
	
	.jdGallery .gallerySelector h2
	{
		margin: 0;
		padding: 10px 20px 10px 20px;
		font-size: 20px;
		line-height: 30px;
		color: #fff;
	}
	
	.jdGallery .gallerySelector .gallerySelectorWrapper
	{
		overflow: hidden;
	}
	
	.jdGallery .gallerySelector .gallerySelectorInner div.galleryButton
	{
		margin-left: 10px;
		margin-top: 10px;
		border: 1px solid #888;
		padding: 5px;
		height: 40px;
		color: #fff;
		cursor: pointer;
		float: left;
	}
	
	.jdGallery .gallerySelector .gallerySelectorInner div.hover
	{
		background: #333;
	}
	
	.jdGallery .gallerySelector .gallerySelectorInner div.galleryButton div.preview
	{
		background: #000;
		background-position: center center;
		float: left;
		border: none;
		width: 40px;
		height: 40px;
		margin-right: 5px;
	}
	
	.jdGallery .gallerySelector .gallerySelectorInner div.galleryButton h3
	{
		margin: 0;
		padding: 0;
		font-size: 12px;
		font-weight: normal;
	}
	
	.jdGallery .gallerySelector .gallerySelectorInner div.galleryButton p.info
	{
		margin: 0;
		padding: 0;
		font-size: 12px;
		font-weight: normal;
		color: #aaa;
	}  

/* default styles for extension "tx_cssstyledcontent" */
/* Captions */
	DIV.csc-textpic-caption-c .csc-textpic-caption { text-align: center; }
	DIV.csc-textpic-caption-r .csc-textpic-caption { text-align: right; }
	DIV.csc-textpic-caption-l .csc-textpic-caption { text-align: left; }

	/* Needed for noRows setting */
	DIV.csc-textpic DIV.csc-textpic-imagecolumn { float: left; display: inline; }

	/* Border just around the image */
	DIV.csc-textpic-border DIV.csc-textpic-imagewrap .csc-textpic-image IMG {
		border: 2px solid black;
		padding: 0px 0px;
	}

	DIV.csc-textpic-imagewrap { padding: 0; }

	DIV.csc-textpic IMG { border: none; }

	/* DIV: This will place the images side by side */
	DIV.csc-textpic DIV.csc-textpic-imagewrap DIV.csc-textpic-image { float: left; }

	/* UL: This will place the images side by side */
	DIV.csc-textpic DIV.csc-textpic-imagewrap UL { list-style: none; margin: 0; padding: 0; }
	DIV.csc-textpic DIV.csc-textpic-imagewrap UL LI { float: left; margin: 0; padding: 0; }

	/* DL: This will place the images side by side */
	DIV.csc-textpic DIV.csc-textpic-imagewrap DL.csc-textpic-image { float: left; }
	DIV.csc-textpic DIV.csc-textpic-imagewrap DL.csc-textpic-image DT { float: none; }
	DIV.csc-textpic DIV.csc-textpic-imagewrap DL.csc-textpic-image DD { float: none; }
	DIV.csc-textpic DIV.csc-textpic-imagewrap DL.csc-textpic-image DD IMG { border: none; } /* FE-Editing Icons */
	DL.csc-textpic-image { margin: 0; }
	DL.csc-textpic-image DT { margin: 0; display: inline; }
	DL.csc-textpic-image DD { margin: 0; }

	/* Clearer */
	DIV.csc-textpic-clear { clear: both; }

	/* Margins around images: */

	/* Pictures on left, add margin on right */
	DIV.csc-textpic-left DIV.csc-textpic-imagewrap .csc-textpic-image,
	DIV.csc-textpic-intext-left-nowrap DIV.csc-textpic-imagewrap .csc-textpic-image,
	DIV.csc-textpic-intext-left DIV.csc-textpic-imagewrap .csc-textpic-image {
		display: inline; /* IE fix for double-margin bug */
		margin-right: 10px;
	}

	/* Pictures on right, add margin on left */
	DIV.csc-textpic-right DIV.csc-textpic-imagewrap .csc-textpic-image,
	DIV.csc-textpic-intext-right-nowrap DIV.csc-textpic-imagewrap .csc-textpic-image,
	DIV.csc-textpic-intext-right DIV.csc-textpic-imagewrap .csc-textpic-image {
		display: inline; /* IE fix for double-margin bug */
		margin-left: 10px;
	}

	/* Pictures centered, add margin on left */
	DIV.csc-textpic-center DIV.csc-textpic-imagewrap .csc-textpic-image {
		display: inline; /* IE fix for double-margin bug */
		margin-left: 10px;
	}
	DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-image .csc-textpic-caption { margin: 0; }
	DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-image IMG { margin: 0; }

	/* Space below each image (also in-between rows) */
	DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-image { margin-bottom: 5px; }
	DIV.csc-textpic-equalheight DIV.csc-textpic-imagerow { margin-bottom: 5px; display: block; }
	DIV.csc-textpic DIV.csc-textpic-imagerow { clear: both; }

	/* No margins around the whole image-block */
	DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-firstcol { margin-left: 0px !important; }
	DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-lastcol { margin-right: 0px !important; }

	/* Add margin from image-block to text (in case of "Text w/ images") */
	DIV.csc-textpic-intext-left DIV.csc-textpic-imagewrap,
	DIV.csc-textpic-intext-left-nowrap DIV.csc-textpic-imagewrap {
		margin-right: 10px !important;
	}
	DIV.csc-textpic-intext-right DIV.csc-textpic-imagewrap,
	DIV.csc-textpic-intext-right-nowrap DIV.csc-textpic-imagewrap {
		margin-left: 10px !important;
	}

	/* Positioning of images: */

	/* Above */
	DIV.csc-textpic-above DIV.csc-textpic-text { clear: both; }

	/* Center (above or below) */
	DIV.csc-textpic-center { text-align: center; /* IE-hack */ }
	DIV.csc-textpic-center DIV.csc-textpic-imagewrap { margin: 0 auto; }
	DIV.csc-textpic-center DIV.csc-textpic-imagewrap .csc-textpic-image { text-align: left; /* Remove IE-hack */ }
	DIV.csc-textpic-center DIV.csc-textpic-text { text-align: left; /* Remove IE-hack */ }

	/* Right (above or below) */
	DIV.csc-textpic-right DIV.csc-textpic-imagewrap { float: right; }
	DIV.csc-textpic-right DIV.csc-textpic-text { clear: right; }

	/* Left (above or below) */
	DIV.csc-textpic-left DIV.csc-textpic-imagewrap { float: left; }
	DIV.csc-textpic-left DIV.csc-textpic-text { clear: left; }

	/* Left (in text) */
	DIV.csc-textpic-intext-left DIV.csc-textpic-imagewrap { float: left; }

	/* Right (in text) */
	DIV.csc-textpic-intext-right DIV.csc-textpic-imagewrap { float: right; }

	/* Right (in text, no wrap around) */
	DIV.csc-textpic-intext-right-nowrap DIV.csc-textpic-imagewrap { float: right; clear: both; }
	/* Hide from IE5-mac. Only IE-win sees this. \*/
	* html DIV.csc-textpic-intext-right-nowrap .csc-textpic-text { height: 1%; }
	/* End hide from IE5/mac */

	/* Left (in text, no wrap around) */
	DIV.csc-textpic-intext-left-nowrap DIV.csc-textpic-imagewrap { float: left; clear: both; }
	/* Hide from IE5-mac. Only IE-win sees this. \*/
	* html DIV.csc-textpic-intext-left-nowrap .csc-textpic-text { height: 1%; }
	/* End hide from IE5/mac */
DIV.csc-textpic DIV.csc-textpic-imagerow-last { margin-bottom: 0; }