/*
Theme Name: apps4d
Theme URI: http://www.apps4d.de/
Description: Theme for apps4d
Author: compuccino
Author URI: http://wordpress.org/
Version: 1.0
Tags: 

License:
License URI:

General comments (optional).
* 
/*
 * Stylesheet für apps4d
 * Autor: compuccino
 * Bearbeiter: jw/ pca/ sw
 */

/* @group Basics */

html {
	background: url('img/bg_hd.png') repeat-x 0 55px;
}

body {
	font-family: 'Droid Sans', sans-serif;
	color: #000;
	line-height: 1.5;
}

		#custom-doc {
		width: 73.846em;
		margin: auto;
		text-align: left;
	}

		h3 {
			color: #929292;
			margin-top: 2.308em;
		}
	
	a { outline:0; -moz-outline:0; }

blockquote {
	padding: 0 0 0 2em;
	border-left: 3px solid #b1b1b1;
}

cite {
	font-style: italic;
}

:focus, :active, :hover { outline: none; }

/* @end */

/* @group Header */

#hd {
	padding: 40px 3.462em 0;
	position: relative;
}
/*
	#stoerer {
		position: absolute;
		left: -55px;
		top: 0;
	}

		#stoerer strong {
			position: absolute;
			top: -9999em;
		}
*/
	#hd .yui-u {
		text-align: right;
		margin: 0;
	}

	#hd .yui-u.first { text-align: left; }

		.menu-navigation-container {
			margin: 46px .5em 0;
			line-height: 1;
			font-size: 1.077em;
			position: relative;
			z-index: 3;
		}

			.menu-navigation-container ul { 
				margin: 0;
				overflow: hidden;
			}

				.menu-navigation-container li {
					float: left;
					list-style-type: none;
					margin-right: 1.7em;
				}

					.menu-navigation-container a {
						padding-bottom: 0.769em;
						color: #b1b1b1;
						text-decoration: none;
						display: inline-block;
					}
					
					.menu-navigation-container a:hover,
					.menu-navigation-container a:focus,
					.menu-navigation-container a:active,
					.menu-navigation-container .current-menu-item a,
					.menu-navigation-container .current-post-parent a,
					.menu-navigation-container .current_page_item a {
						padding-bottom: 0.692em;
						text-decoration: none;
						color: #000;
						border-bottom: 0.077em solid #000;
					}

		#hd h1 { margin: -7px 0 0; }

/* @end */

/* @group Body */

#bd { 
	background: url('img/bg_hd.png') repeat-x 0 30px;
	padding: 0 3.462em 0;
	margin-bottom: 11.538em;
}

	#bd #yui-main .yui-b { width: 42.308em; }
	
		#bd #yui-main a,
		#bd #yui-main a:visited {
			text-decoration: none;
			color:  #e00000;			
		}
			#bd #yui-main a:hover,
			#bd #yui-main a:active,
			#bd #yui-main a:focus {
				text-decoration: none;
				color:  #A10000;
			}
			
		.tagline {
			margin: 0 -0.4em 30px;
			font-size: 1.385em;
			background: url(img/red_square.png) no-repeat left center;
			padding: 0 0 0 .769em;
			font-size: 1.769em;
			clear: both;
			height: 85px;
			line-height: 95px;
		}

		.ie7 .tagline { 
			height: 1%; /* löst hasLayout aus, andernfalls wird das Padding verringert */
			height: 3.889em;
		} 
	
	
	#yui-main .yui-b .block{
		background: url('img/grey_square.png') no-repeat 0 0.4em; 
		font-size: 1.077em; 
		position: relative;
		left: -0.769em;
		padding: 0 0 0 1.35em;
	}
	
	#yui-main .yui-b .block-einleitung { 
		background: url('img/yellow_square.png') no-repeat 0 0.4em;
		font-size: 1.077em; 
		position: relative;
		left: -0.769em;
		padding: 0 0 0 1.35em;
	
	}
	

	#yui-main .yui-b .block-quotes { background: none; }

		.block-quotes cite {
			display: block;
			text-align: right;
		}

					
	#bd #yui-main p a { display:inline-block; }
	
	#bd #yui-main p a img { margin: 0 0 0 2.5em; }
	
	#bd #yui-main p a img[title="Bundesministerium des Innern"] { margin:-10px 0 -10px -20px; }
	
	#bd #yui-main li a img[title="Government 2.0 Netzwerk Deutschland e.V."] { margin: 4px 0 0 13px; }
	
	#bd #yui-main li a img[title="Open Knowledge Foundation Deutschland e.V."] { margin: -5px 0 0 5px; }
	
	#bd #yui-main li a img[title="Freie Hansestadt Bremen"] { margin: 0 8px 0 27px; }
	
	#bd #yui-main li a img[title="BITKOM - der Hightech-Verband"] { margin: 0 0 0 20px; }
	
	#bd #yui-main li a img[title="Berlin Open Data"] { margin: 0 30px 0 0; }
	
	#bd #yui-main li a img[title="Statistisches Bundesamt Deutschland"] { margin: -8px 0 0 12px; }
	
	#bd #yui-main li a img[title="Microsoft"] { margin: 0px 30px 0 -8px; }
	
	#bd #yui-main li a img[title="Esri Deutschland"] { margin: 13px 30px 0 0; }
	
	.logo-rubrik {
		margin: 35px 0 14px 0;
	}
	
	.logo-unterzeile {
		display: block;
	}

	.block-organisatoren ul {
		margin: 0 0 2em;
		overflow: hidden;
	}

	.block-organisatoren li {
		float: left;
		list-style-type: none;
		padding: 1em 1.5em 0 0;
	}

	ul.sponsor li {
		text-align: center;
		width: 160px;
		height: 70px;
		padding: 0em 1em 1em 0;
	}
	
	ul.sponsor li img {
		max-height: 90%;
		max-width: 90%;
		margin: 0;
		padding: 0;
	}	


	.block-organisatoren li:last-child { padding-right: 0; }


	ul.regeln li { margin: 0 0 15px 0; }

	.page-nav { text-align: center; }

/* @end */

/* @group Sidebar */

#sd { margin-top: 8.692em; }

	#sd a,
	#sd a:visited {
		text-decoration: none;
		color: #e00000;
	}

	#sd a:hover,
	#sd a:focus,
	#sd a:active {
		text-decoration: none;
		color: #A10000;
	}

	#sd .block { margin: 0 0 1.538em; }

	.block-statements .jcarousel-container {
		width: 18.4615em;
		height: 21.538em;
	}

		.block-statements .jcarousel-clip {
			width: 18.4615em;
			height: 21.538em;
			overflow: hidden;
		}

		.block-statements .jcarousel-clip:before,
		.block-statements .jcarousel-clip:after {
			display: block;
			color: #b1b1b1;
			font-size: 4em;
			font-weight: bold;
			font-family: times new roman, serif;
			position: absolute;
			line-height: 1;
		}

		.block-statements .jcarousel-clip:before {
			content: "“";
			top: 0;
			left: 0;
		}
		.block-statements .jcarousel-clip:after {
			content: "”";
			right: 0;
			bottom: 0;
		}

			.block-statements .jcarousel-list { height: 21.538em; }

				.block-statements .jcarousel-item {
					width: 18.4615em;
					height: 21.538em;
				}

					#sd .block-statements .quote {
						display: block;
						padding: 2em;
						color: #636363;
						position: relative;
					}

					#sd .block-statements .quote:hover,
					#sd .block-statements .quote:focus,
					#sd .block-statements .quote:active { color: #000; }

	.block-twitter, .block-download {
		background-color: #ededed;
		text-align: center;
		padding: 1.154em;
		-webkit-border-radius: 3em;
		-moz-border-radius: 3em;
		border-radius: 3em;
		margin: 0 auto 1.538em !important;
		width: 10em;
	}
		.block-twitter span { color: #818181; }

/* @end */

/* @group Footer */

#ft {
	color: #929292;
	border-top:  .077em solid #e5e5e5;
	padding: 1.154em 3.462em 0;
}

	#ft .yui-u {
		text-align: right;
		
	}
	
	#ft .yui-u.first {
		text-align: left;
		background: none;
	}

		.menu-meta-nav-container ul {
			overflow: hidden;
			margin: 0;
		}

			.menu-meta-nav-container li {
				list-style: none;
				float: left;
				padding: 0 .5em;
				border-left: 1px solid #929292;
			}

			.menu-meta-nav-container li:first-child {
				padding-left: 0;
				border: 0;
			}

		#ft div, #ft a {
			color: #929292;
			text-decoration:none;
		}

		#ft a:hover,
		#ft a:focus,
		#ft a:active { color: #000; }

		#onTop {
			background: url(img/pfeil.png) no-repeat right;
			padding: 0 2em 0 0;
		}

/* @end */


/* @group Formulare */

.mygform-ss-legal { display: none; }

.mygform-ss-required-asterisk { color: #C43B1D; }

.mygform-ss-form-entry {
    margin: 0 0 1em 0;
    padding: 0;
}

.mygform-ss-q-title {
    display: block;
    font-weight: bold;
}

.mygform-ss-q-help {
	color: #666666;
	display: block;
	margin: 0.1em 0 0.25em;
	font-size: 12px;
}

iframe html body.ss-base-body div.ss-form-container div.ss-footer div.ss-legal span.ss-powered-by  { display: none; }

.ss-legal { display: none; }

/* @end */

/*
 * jQuery UI Accordion 1.8.17
	 *
	 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
	 * Dual licensed under the MIT or GPL Version 2 licenses.
	 * http://jquery.org/license
	 *
	 * http://docs.jquery.com/UI/Accordion#theming
	 */
	/* IE/Win - Fix animation bug - #4615 */
	.ui-accordion { width: 100%; }
	.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
	.ui-accordion .ui-accordion-li-fix { display: inline; }
	.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
	
	.ui-accordion .ui-accordion-header a { 
		display: block; 
		font-size: 1em; 
		padding: .5em .5em .5em .7em; 
	}
	
	.ui-accordion .ui-state-active a { 
		color: black !important; 
		font-size: 1.5em;
	}
	
	.ui-accordion-icons .ui-accordion-header a { padding-left: 28px; }

	.ui-accordion .ui-accordion-header .ui-icon { 
		background-image: url("img/apps4d_pfeil_zu.png");
		background-repeat: no-repeat;
		display: block;
		height: 18px;
		left: 0.2em;
		margin-top: -8px;
		position: absolute;
		top: 50%;
		width: 18px; 
	}

	.ui-accordion .ui-accordion-header.ui-state-active .ui-icon {
		background-image: url("img/apps4d_pfeil_offen.png");
	}

	.ui-accordion .ui-accordion-content { 
		padding: 0 2.2em  1em; 
		border-top: 0; 
		margin-top: -15px; 
		position: relative; 
		top: 1px; 
		margin-bottom: 2px; 
		overflow: auto; 
		display: none; 
		zoom: 1; 
	}

	.ui-accordion .ui-accordion-content-active { 
		display: block;
		background-color: #e5e5e5;
		margin-bottom: 15px;
		padding-top: 10px !important;
		-webkit-border-radius: 10px;
		-moz-border-radius: 10px;
		border-radius: 10px;
	}

/* @end */

/* @apps */

	ul.apps { 
		margin: 0; 
		padding:0;
	}
	
		ul.apps li {
			display: inline-block;
			float: left;
			list-style-type: none;
			margin: 0;
			padding: 0;
			vertical-align: top;
			margin: 0 5px 5px 0;
			width: 29%;
			height: 210px;
			overflow: hidden;
			-moz-box-sizing: border-box;
			-webkit-box-sizing: border-box;
			-ms-box-sizing: border-box;
			-o-box-sizing: border-box;
			box-sizing: border-box;
		}
		
		ul.apps li a {
			display: block;
			overflow: hidden;
			padding: 10px;
			text-align: center;
			
		}
		
		ul.apps li a:hover { 
			background-color: #e5e5e5;
			-webkit-border-radius: 10px;
			-moz-border-radius: 10px;
			border-radius: 10px;
		}

			.apps img {
				border: 1px solid Gainsboro;
				width: 100%;
				height: auto;
			}
			
			.apps .default-image { border:0;}
			
			.apps h3 { 
				display: block;
				height: 40px;
				margin: 5px 0 0;
				font-size: 12px;
			}
			
			.apps li a:hover  h3 { color: black;}
			
	
	.block-gallery {
		width: 100%;
		display: block;
		padding: 0 0 0 7px;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		-ms-box-sizing: border-box;
		-o-box-sizing: border-box;
		box-sizing: border-box;
		z-index: 90;
		position: relative;
		display: block;
		margin-bottom: 10px;
	}
	
	.block-gallery #gallery-1 .gallery-item { 
		width: 90px;
		height: auto;
		position: relative;
		margin: 0px 18px 10px 0px;
	}

	.block-gallery #gallery-1 .gallery-item:first-child  {
		width: 200px;
		height: auto;
	}

		.block-gallery #gallery-1 .gallery-item .gallery-icon { 
			display: block;
			/* overflow: hidden; */
			width: 90px;
			height: auto;
			border: 2px solid #cfcfcf;
		}

		.block-gallery #gallery-1  .gallery-item:first-child .gallery-icon {
			width: 200px;
			height: auto;
		 }

		.block-gallery #gallery-1 .gallery-item:hover .gallery-icon {
			position: absolute;
			top: -30px;
			width: 150px;
			height: auto;
			z-index: 3;
			border: 2px solid #CFCFCF;
			-webkit-box-shadow: 0px 0px 5px #4c4c4c;
			-moz-box-shadow: 0px 0px 5px #4c4c4c;
			box-shadow: 0px 0px 5px #4c4c4c;
			-webkit-transform-style:flat;
			-webkit-transform: scale(1) rotateY(2deg) rotateX(3deg) perspective(50px);
			-webkit-transition: all .6s .3s ease-in; 
		}

		.block-gallery #gallery-1 .gallery-item:first-child:hover .gallery-icon { 
			width: 200px;
			position: static;
			-webkit-box-shadow: none;
			-moz-box-shadow: none;
			box-shadow: none;
			border: 2px solid #CFCFCF;
			min-height: 50px;
		}

			.block-gallery  .gallery-item .gallery-icon a { display: block; }

				.block-gallery #gallery-1 .gallery-item .gallery-icon img.attachment-medium {
					width: 100%;
					height: auto;
					border: 0 !important;
					display: block;
				}

	.apps-content{ clear: both; }
	
	/* @apps Lightbox Plus Plugin */
	
		#cboxTitle { display: none !important; }
		
		#cboxCurrent { left: 40% !important; }
		

/* @end */


	#nav-single {
		margin-top: 40px;
		text-align: center;
	}
	
	.nav-previous { float: left; }
	
	.nav-next { float: right; }

	.nav-all a,
	.nav-previous a,
	.nav-next a {
		background-color: #EDEDED;
		color: black !important;
		margin-bottom: 1.538em !important;
		margin-left: auto !important;
		margin-right: 15px;
		margin-top: 0 !important;
		padding: 6px 10px;
		text-align: center;
		text-transform: uppercase;
		-webkit-border-radius: 10px;
		-moz-border-radius: 10px;
		border-radius: 10px;
	}


.button-data {
	display: inline-block;
	*display: inline;
	zoom: 1;
	padding: 10px 28px;
	background: #e5e5e5;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}