/*
Theme Name: Werbeagentur Braunschweig
Theme URI: http://jungundwillich.de
Description: Werbeagentur Braunschweig Jung &amp; Willich
Version: 1.0
Author: Valentin Zwick
Author URI: http://jungundwillich.de/
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

address {font-style: normal;}

body {
	line-height: 1;
}

a {
	text-decoration: none;
}

ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none !important;
}

blockquote:before, blockquote:after, q:before, q:after
{
	/*
	CSS 2; used to remove quotes in case "none" fails below.
	*/
	content: "";
	/*
	CSS 2.1; will remove quotes if supported, and override the above.
	User-agents that don't understand "none" should ignore it, and
	keep the above value. This is here for future compatibility,
	though I'm not 100% convinced that it's a good idea...
	*/
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}




/* ----------------------------------------------------------------- */
/* ----------------------------------------------------------------- */
/* ----------------------------------------------------------------- */


html, body, div { border:0; }
html, body { height: 100% }

body {
	padding:0;margin:0;
	background: #fefefe;
	color: #444;
	font-size:62.5%;
	font-size: 10px;
	font-family: Calibri, Whitney, Arial, sans-serif;
	font-size-adjust: 0.5;
}

/*div, form {display: block !important;}

ul#source, ul#destination, ul#source li, ul#destination li {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}*/

#wrap {
	position: relative;
	min-width: 1008px;
	max-width: 1328px;
}

.bgimgwrap {
	position: relative;
	z-index: auto;
	overflow: hidden;
}

.home .bgimgwrap,
.page-id-2507 .bgimgwrap {
	width: 755px;
	margin-left: -214px;
}

.bgimgoutwrap {
	margin-bottom: 21px;
	line-height: 0;
}

.bgimgwrap img {
	width: 100%;
	height: auto;
	-ms-interpolation-mode: bicubic;
}

#realbg {
	position: absolute;
	position: fixed;
	z-index: -5;
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
}

#bg.alignv_bottom {
	top: auto;
	bottom: 0;
}

#bg.alignv_center {
	bottom: auto;

}

#bg.alignh_right {
	left: auto;
	right: 0;
}

ul#nav {
	list-style: none;
	margin: 0;
	padding: 0;
	margin-left: 0;
	background: url(images/menu-bg.png) repeat-x;
	position:relative;
	top:30px;
	font-size: 1.4em;
	margin-right: 212px;
	padding-left: 23px;
	min-width: 816px;
	display: block;
}

ul#nav * {
	list-style: none !important;
}

ul#nav li {
	float: left;
	padding: 0;
	position: relative;
	margin-left: 18px;
	text-transform: uppercase;
	font-weight: 700;
	width: 186px;
	height: 176px;
	margin-top: -5px;
	letter-spacing: 0.02em;
}

ul#nav li li {
	margin-left: 0;
	text-transform: none;
	font-variant: normal;
	font-weight: 300;
	font-size: 13px;
	letter-spacing: 0;
	width: auto;
	height: auto;
	height: 28px;
	margin-top: 0;
	padding-top: 0;
}

ul#nav li.logo, div#logo {
	position: absolute;
	right: -201px;
	padding: 0;
	margin: 0;
	width: 201px !important;
	height: 164px;
}

ul#nav li.logo a, div#logo a {
	background: url(images/jung-und-willich-logo.png) no-repeat right center;
	width: 201px;
	height: 164px;
	text-indent: -9999px;
	padding: 0;
}

div#logo {
	right: 11px;
	top:30px;
	z-index: 99;
}

div#logo a {
	display: block;
}

ul#nav li.logo:hover {
	background: none;
}

body.ultranarrow li.logo, body.ultranarrow div#logo {
	right:auto;
	left: 839px;
}

body.ultranarrow li.logo a, body.ultranarrow div#logo a {
}

ul#nav li a {
	color: white;
	line-height: 60px;
	padding: 0 0 0 35px;
	display: block;
	text-decoration: none;
	white-space: nowrap;
	margin: 0;
}

ul#nav li li a {
	color: #737373;
/*	border: 1px solid gray; */
}

ul#nav li:hover {
	background: url(/rgba.php?r=255&g=255&b=255&a=40) repeat;
	background: rgba(255,255,255,0.4);
}

/*ul#nav li ul {display: none;}*/

ul#nav li ul {
	margin: 0;
	padding: 0;
	list-style: none;
	width: auto;
	padding-left:0;
	z-index: 999;
	font-size: 0.8em;
	padding-top: 13px;
	margin-top:-8px;
	padding-bottom:21px;
}

ul#nav li li { float: none; width: 100%;}

ul#nav li:hover li, ul#nav li:hover ul {
	display: block; 
}

ul#nav li li a {
	line-height: 28px;
}

ul#nav li:hover, .home ul#nav li.current_page_ancestor:hover {
	background: url(images/menu-hover.png) center center no-repeat;
}

ul#nav li li:hover {
	background: none;

}

ul#nav li.current_page_item a, ul#nav li li.current_page_parent > a, ul#nav li li.current_page_ancestor a {
	background: url(images/leaf3.png) 18px center no-repeat;
}

ul#nav li.current_page_ancestor {
	background: url(images/menu-active.png) center center no-repeat;	
}

ul#nav li li.current_page_ancestor, .home ul#nav li.current_page_ancestor  {
	background: none;	
}

ul#nav li.current_page_item a, ul#nav li.current_page_item a:hover {
	color:#0099C0;
}

ul#nav ul li a:hover { color: rgb(59,176,206);}

#nav ul {
	float: left;
}

#inner {
/*	zoom: 1; */
	padding: 35px 0 35px 35px;
	margin-top: 30px;
	border-top: 1px solid transparent;
	line-height: 21px;
	width: 755px;
	margin-left: 40px;
	margin-bottom: 0;
	position: relative;
}

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

q {
	font-style: italic;
}

div.post {
	padding-left: 220px;
	position: relative;
}

div.post.odd, div.subpost.odd {
	position: relative;
	background: url(/rgba.php?r=0&g=0&b=0&a=2) repeat;
}

.page-template-kunden-overview-php .subpost {
	padding-left: 220px;
	position: relative;
	z-index: 1;
	border-top: 1px solid #ccc;
	clear: both;
	width: 535px;
	padding-top: 20px;
	padding-bottom: 20px;
}

a {color: #0099c0; }

.sidebar {
	float: left;
}

/* clear elements */

hr {
	clear: both;
	margin-top: 20px;
	margin-bottom: 19px;
	visibility: hidden;
}

hr.smallpad {
	margin-top: 10px;
	margin-bottom: 9px;
}

/* blurbs */


.blurb {
	width: 195px;
	float: left;
	margin-left: -220px;
	clear: left;
	text-align: right;
}

.blurb.fullwidth {
	width: auto;
	float: none;
	text-align: left;
}

/* hs */


h1, h2, h3, h4, h5 {
	color: #0099c0;
}

.home h1 {
	padding-left: 0;
	text-align: center !important;
}

h1, h2, h3 {
	width: 195px;
	float: left;
	margin-left: -220px;
	clear: left;
	text-align: right;
}

h1 {
	width: auto !important;
	float: none !important;
	text-align: left !important;
/*	font-family: "ratio-1", "ratio-2"; */
	font-size: 2.7em;
	font-weight: 200;
	color: #0099c0;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 220px;
	line-height: 32px;
	margin-bottom: 32px;
	position: relative;
}

h2 {
	font-size: 16px;
	margin-top: 0;
	font-weight: 400;
	line-height: 21px;
	margin-bottom: 5px;
}

.nicEdit-main h2, .nicEdit-main h3 {
	margin-left: 0;
	text-align: left;
	width: 100%;
}

h2 a {
	font-style: normal;
	text-decoration: none;
	border: none !important;
}

h3 {
	font-weight: 400;
	font-size: 12px;
	line-height: 21px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #444;
/*	border-top: 1px solid #ccc; */
	margin-top: -5px;
	padding-top: 5px;
}

h2 + h3 {
	color: #444;
	margin-top: 0;
}

/* overrides für hs und blurbs */

.whatisthis {
	font-style: italic !important;
	border-top: 1px solid #ccc;
	line-height: 21px !important;
	padding-top: 0.75em !important;
	font-size: 1.1em;
	margin-bottom: 1em;
}

h3 + .whatisthis {
	margin-top: 0.5em;
}

.whatisthis a {
	color: #888;
}

.whatisthis a:hover {
	color:#0099c0;
	border-bottom: 1px solid #0099c0;
}

.whatisthis a:before {
	content:"▸ ";
}

.nobottomborder {
	border-bottom: none !important;
}

.notopborder {
	border-top: none !important;
}

.low {
	margin-top: 3.5em !important;
	letter-spacing: 0.015em;
}

hr.visible {
	visibility: visible !important;
	margin-left: -220px;
	width: 755px;
	color: #ccc;
	background: #ccc;
	height: 0px;
	border: none;
	border-top: 1px solid #ccc;
}

.light {
	border-color: #ededed;
	color: #ededed;
}

.noblurb {
	width: auto !important;
	float: none !important;
	padding-left: 220px !important;
	text-align: left !important;
	clear: none;
}

h2.noblurb {
	margin-top: 35px;
}

.iefixme {
	padding-top:0px;
}

em {
	font-style: italic;
}

em a {
	font-weight: normal !important;
}

em.nichtauszeichnen, .nichtauszeichnen em, em .nichtauszeichnen {
	font-style: normal !important;
}

a.nichtauszeichnen, .nichtauszeichnen a {
	color: #444 !important;
	text-decoration: none !important;
	border: none !important;
}

.hidelinks a {
	color:#444 !important;
	text-decoration: none !important;
	border: none !important;
}

.hidelinks a:hover, .nichtauszeichnen a:hover, a.nichtauszeichnen:hover {
	color:#0099c0 !important;
	border-bottom: 1px solid #0099C0 !important;
}

div.nowrap {
	width: 100%;
	position: relative;
}

a.button {
	cursor: pointer;
/*	background: url(images/button-right-inactive.png) right center no-repeat; */
	display: inline-block;
/*	height: 40px; */
	margin-right: 23px;
/*	line-height: 37px; */
	margin-top:-8px;
	white-space: nowrap;
	border-bottom: none !important;
}

a.button span {
/*	background: url(images/button-left-inactive.png) left center no-repeat; */
	display: block;
/*	height: 40px;
	padding-left: 25px; */
}

a.button:active {
/*	line-height: 38px; */
}

a.button.active {
/*	background: url(images/button-right-active.png) right center no-repeat; 
	line-height: 38px; */
}

a.button.active span {
/*	background: url(images/button-left-active.png) left center no-repeat; */
}

a.button:hover {
	border-bottom: 1px solid #0099C0 !important;
	margin-bottom: -1px;
}

/* post */

.post p, .post ul, .post address, .post ol,
.subpost p, .subpost ul, .subpost ol, .subpost address {
	font-size: 15px;
	line-height: 22px;
	font-weight: 400;
	margin-bottom: 10px;
}

.post ul li,
.post ol li,
.subpost ul li,
.subpost ol li {
	margin-bottom: 5px;
}

.post ol > li {
	margin-bottom: 15px;
}

.post ul li a,
.post ol li a,
.subpost ul li a,
.subpost ol li a,
.prost ul li a,
.prost ol li a,
.post p a,
.subpost p a {
	border-bottom: 1px #0099C0 solid;
}

.post ul,
.subpost ul,
.post ol,
.subpost ol {
	list-style: disc outside;
	margin-left: 1em;
	list-style-image: url(images/leaf3.png);
}

.one-col {
	width: 33%;
	position: absolute;
	right:0;
}

/* prost */

#respawn, #all, #newmedia, #crossmedia, #classicmedia {
	margin-left: 220px;
}

.prost {
	float: left;
	margin-right: 40px;
}

.prost h2 {
	margin-left: 0;
	width: auto;
	text-align: left;
	height: 40px;
}

.prost h2 a {
	display: block;
	border-bottom: 1px #0099C0 solid !important;
}


/* zoom + gallery */

.zoombutton {
	position: absolute;
	bottom: 0px;
	right: 0px;
	z-index: 99;
	-moz-border-radius: 0 !important;
	-webkit-border-top-left-radius: 0 !important;
	-webkit-border-bottom-right-radius: 0 !important;
	width: auto !important;
	height: auto !important;
	cursor: pointer;
}

.prev, .next {
	position: absolute;
	width: 80px;
	height: 200px;
	left: 1em;
	top: 50%;
	margin-top: -100px;
	background: url(images/leftbutton.png) no-repeat center center;
	z-index: 99;
	cursor: pointer;
}

.next {
	left: auto;
	right: 1em;
	background: url(images/rightbutton.png) no-repeat center center;
}

/* forms */

form h3 {
	padding-top: 2px;
}

.inner select, .inner input, .inner textarea {
	margin-left: 35%;
	display: block;
	line-height: 15px;
	margin-bottom: 10px;	
}

.inner label {
	float: left;
	clear: left;
}

.inner form hr {
	margin: 0;
}

input, select, textarea {
	float: left;
	width: 100%;
	margin-bottom: 1em;
	padding: 0;
	border: inset 2px inherit;
	line-height: 21px;
}

input {
	width: 98.8%;
}

input.send {
	cursor: pointer;
}

textarea {
	width: 99.71%;
}

option {
	margin: 0 !important;
	padding: 0 !important;
}

button {
	width: 100%;
	text-transform: uppercase;
}

/* general styles + aligns */

.alignright {
	float: right;
}

.alignleft {
	float: left;
	margin-right: 1em;
}

.backlink {
	font-size: 0.5em;
	color: #888;
	line-height: 28px;
	text-decoration: none;
	text-align: right;
	position: absolute;
	top:1em;
	left: 220px;
}

.backlink span {
	font-size: 0.6em;
	position: relative;
	top: -0.22em;
}

a.backlink:hover {
	color: #0099c0 !important;;
}

/* footer */

#subfooter {
	border-top: 1px solid #ccc;
	padding-top:5em;
	padding-left:7.5em;
	padding-bottom:5em;
	line-height: 1.35;
	color: #888;
}

#subfooter a {
	color: #aaa;
}

#subfooter a:hover {
	color: #0099C0;
}


#subfooter .col.vcard a,
#subfooter .col.vcard a:hover {
	color: #888;
}


#subfooter .col {
	width:auto;
	padding-right: 20px;
	padding-left: 20px;
	float: left;
	border-right: 1px solid #eaeaea;
}

#subfooter .col.vcard {
	padding-left: 0;
}

/* comments */

.commentlist p, .commentlist li {
	font-size: 16px !important;
}

.comment-author, .comment-meta {
	width: 195px;
	float: left;
	margin-left: -220px;
	clear: left;
	text-align: right;
}

.comment-meta a {
	color: inherit !important;
}

.comment cite {
	font-style: normal;
}

/* more info */

.narrow .moreinfo_inline {
	display: none;
}

.wide .moreinfo {
	position: absolute;
/*	top:120px; */
	top:109px;
	left: 845px;
	width: 232px;
}

.moreinfo .post {
	background: url(/rgba.php?r=255&g=255&b=255&a=80) repeat; 
	-moz-box-shadow: 1px 1px 5px #ccc;
	-webkit-box-shadow: 1px 1px 5px #ccc;
	box-shadow: 1px 1px 5px #ccc;
	padding-bottom: 20px;
	padding-right: 20px;
}

.moreinfo .post.cta {
	-moz-box-shadow: 1px 1px 5px #33ccff;
	-webkit-box-shadow: 1px 1px 5px #33ccff;
	box-shadow: 1px 1px 5px #33ccff;
}

.narrow .moreinfo .post {
	margin-bottom: -5px;
}

.page-template-leistungs-detail-php .narrow .moreinfo .post {
	position: relative;
	top: -3em;
}

.narrow .moreinfo .post h2 {
	width:175px;
	margin-left: -200px;
}

.wide .moreinfo .post {
	padding-left: 0;
	padding:0 20px;
	/*border-bottom: 1px solid #ccc;*/
/*	background:#fafafa; */
	margin-bottom: 3em;
	padding-bottom: 20px;
}

.moreinfo h2 {
	color: #999;
}

.wide .moreinfo h2 {
	margin-left: 0;
	float: none;
	width: auto;
	text-align: left;
	color: #999;
	margin-bottom: 13px;
}

.wide .moreinfo hr {
	margin-left: -20px;
	width: 232px;
}

.moreinfo select#dd, .moreinfo select#mm {
	margin-right: 5px;
}

.post ol {
	list-style-type: none;
	list-style-image: none;
	margin-left: 0;
}


.home .bgimgwrap, .page-template-kunden-overview-php .bgimgwrap, .page-template-leistungs-overview-php .bgimgwrap {
	-webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3) inset;
	-moz-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3) inset;
	box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3) inset;
	margin-bottom: 21px;
	margin-left: -220px;
	width: 755px;
	overflow: hidden;
	height: 236px;
}

.home .bgimgwrap {
	-webkit-box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.6) inset;
	-moz-box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.6) inset;
	box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.6) inset;
}

.page-id-21 .bgimgwrap img {
	position: relative;
	top: -70px !important;
}

.home .low, .page-template-kunden-overview-php .low, .page-template-leistungs-overview-php .low {
	display: none;
}

 .bgimgwrap {
	-webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2) inset;
	-moz-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2) inset;
	box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2) inset;
}

img.mask {
	display: none;
}

.home h1, .page-template-kunden-overview-php h1, .page-template-leistungs-overview-php h1 {
	background-color: rgba(255, 255, 255, 0.8);
	padding-left: 0 !important;
	text-align: center !important
}

.post.filter {
	background-color: rgba(255, 255, 255, 0.8);
	margin-top: 30px;
	padding-top: 19px;
	padding-bottom: 9px;
	margin-bottom: 20px;
	border-top: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
}

.page-template-kunden-overview-php hr.visible, .page-template-leistungs-overview-php hr.visible {
	display: none;
}

.post.filter hr {
	margin-bottom: 0 !important;
}

/* IE Fixes for Cufon */
