/*  
Theme Name: Carsten Rocker
Theme URI: http://zuckersalzundpfeffer.de
Description: Unique Theme for Carsten Rocker
Version: 1.0
Author: ZUCKER SALZ UND PFEFFER
Author URI: http://zuckersalzundpfeffer.de
Tags: portfolio, responsive, blog, clean, minimal, white, two-columns, custom-background, threaded-comments, translation-ready, custom-menus

TABLE OF CONTENTS

01 - Reset
02 - Global 
03 - General Layout
04 - Header
05 - Content
06 - Slideshow
07 - Buttons
08 - Sidebar
09 - Widgets
10 - Comments
11 - Pagination
12 - Footer
*/

/* ///////////////////////////////////////////////////////////////////// 
//  01 - Reset
/////////////////////////////////////////////////////////////////////*/

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;
	vertical-align: baseline;
	background: transparent;
}

html {height: 101%;}

body {
	line-height: 1;
}
h1, h2, h3, h4, h5, h6 {	
	clear: both;
}
ul {
	list-style: none;
}

blockquote {
	quotes: none;	
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img { border: none; }

img { display: block; }

input[type="submit"]::-moz-focus-inner {border:0;}
input[type="submit"]::-webkit-focus-inner {border:0;}

.project.main img,
.post p img,
.page p img,
.postThumb,
video,
object,
embed,
div.wp-caption img {
	max-width: 100% !important;	
	height: auto;
	width: auto;
}

.wp-caption {
	width: auto !important;
}

/* Isotope ----------- */

.isotope-item {
	z-index: 2;
}

.isotope-hidden.isotope-item {
	pointer-events: none;
	z-index: 1;
}
/**** Video Embeds ****/

.videoContainer {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 0px;
	height: 0;
	overflow: hidden;
}

.videoContainer iframe,  
.videoContainer object,  
.videoContainer embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/* ///////////////////////////////////////////////////////////////////// 
//  02 - Global 
/////////////////////////////////////////////////////////////////////*/

input[type="text"], textarea {
	background-color: #fafafa;	
	padding: 10px;
	font-family: "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color: #6a6a6a;	
	border: 1px solid #ddd;
	background:	#fafafa url(images/field_bkg.png) repeat-x;	
}

input[type="text"]:focus {outline: none; background-color: #f7f7f7;}
textarea:focus {outline: none; background-color: #f7f7f7;}

textarea { width: 80%; font-size: 13px;}



/* Clearfix ----------- */

/* Some clearfix code from HTML5 Boilerplate */
.clearfix:before, .clearfix:after {
	content: "\0020";
	display: block;
	height: 0;
	visibility: hidden;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	zoom: 1;
}

/* //////////////////////////////////////////////////////////////////////
//  03 - General Layout 
//////////////////////////////////////////////////////////////////////*/

#container {	
	width: 100%;
	margin: 0 auto;			
}

#main {
	margin: 0 auto;
	padding: 30px 0 0 0;
	background: #fff;
	max-width: 62.5em;			
}

.home #main {	
	border: none;		
}

.home.page #content {
	padding-top: 30px !important;
}

#main.full {
	background: none;
}

#content {		
	padding: 0 0 0 0;		
	float: left;
	margin: 0 0px 0 0;
	position: relative;	
	width: 100%;
}

#sidebar {
	width: 220px;
	float: right;
	margin: 0 3% 0 0;
	padding: 0 0 0 0;		
}

.home #sidebar {	
	padding: 30px 0 0 0;		
}

#footer {
	width: 100%;
	margin: 0 auto;	
}

.full {
	width: 970px;
}

/*Portfolio Navigation------------------*/

#content #portfolioNav{
	padding: 0!important;
	margin: 0 0 20px 0!important;	
}

#content #portfolioNav li{
	padding: 1px 0 0 0;
	background: none;
	margin: 0 6px 6px 0;	
	display: block;
	float: left;	
}

#portfolioNav li a{
	font-size: 12px;	
	background: #f3f3f3;	
	display: inline-block;	
	text-decoration: none;
	position: relative;		
	padding: 0 6px 0 !important;	
	border: none;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	line-height: 24px;
	color: #7d7d7d;	
}

#portfolioNav li a:hover {
	background: #6a6a6a;
	color: #fff;
}

#portfolioNav li.current-cat a {
	background: #12aee8;
	color: #fff;
}

#filterNav {
	margin-bottom: 30px!important;
	display: block;	
}


/*Project Filter Navigation------------------*/

#content #filterNav{
	padding: 0!important;
	margin: 0 0 20px 0!important;	
}

#content #filterNav li{
	padding: 1px 0 0 0;
	background: none;
	margin: 0 5px 5px 0;	
	display: block;
	float: left;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#filterNav li a{
	font-size: 11px;	
	background: #f0f0f0;	
	display: inline-block;	
	color: #7d7d7b!important;
	text-decoration: none;
	position: relative;
	cursor: pointer;	
	padding: 0 6px 0 !important;	
	border: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	line-height: 20px;			
}

#filterNav li a:hover {
	background: #6a6a6a;
	color: #fff !important;
}

#filterNav .selected {
	background: #6a6a6a;
	color: #fff !important;
}


/*Projects------------------*/

.page-template-portfolio-php #pageHead {
	border-bottom: none;
	margin-bottom: 0;
}

.page-template-portfolio-php #pageHead.withBorder {
	border-bottom: 1px solid #e4e4e4;
}

#ajaxLoading {
	width: 16px; height: 16px;
	background: transparent url(images/ajax_loading.gif) no-repeat;
	position: absolute;
	left: 3%;
	top: 30px;
	display: block;
	display: none;
}

#projects {
	margin: 0 0 0 3%;
	width: 97%;	
}

#projects {	
	list-style: none;	
}

#projects .thumbs {
	margin: 0 auto;			
}

#content #projects li{
	padding: 0;
	background: none;		
}

#content .project.small{	
	width: 22.7%;
	height: auto;
	display: block;	
	margin: 0 2% 20px 0;	
	padding-bottom: 0;
	cursor: pointer;
	float: left;	
	position: relative;		
}

#content .project.small img{
	width: 100%;
	height: auto;	
}

#content .project.small .title {
	display: none;	
	color: #FFF;
	position: absolute;
	bottom: 0;
	left: 0;	
	padding: 0;
	font-size: 0.917em;		
	width: 100%;
	font-size: 11px;
	line-height: 1.1em;
	background: transparent url(images/black_alpha_50.png);	
}

#content .project.small.selected .title{
	zoom: 1;
	filter: alpha(opacity=100);
	opacity: 1;
	display: block;
	visibility: visible;
}

#content .project.small .title span{
	padding: 12px 17px 12px 17px;
	display: block;
}

#projectBox {
	margin-bottom: 30px;
	padding: 0 0 0 0;	
	overflow: hidden;
	background: #e2e2e1;
	height: auto;	
}

#projectHolder {
	margin: 0 3% 0 3%;
	height: auto;
	display: none;			
}

.projectHeader {	
	margin-bottom: 20px;
	padding: 0 0 0 0;
	position: relative;
}

.projectHeader h1{
	margin: 0;
	font-size: 1em;
	display: block;
	width: 75%;
}

#pageHead .projectNav {	
	top: 5px;
}

.projectNav {		
	padding-top: 0;	
	position: absolute;
	right: -10px;
	top: -5px;
}

.projectNav a{
	display: block !important;
	width: 20px;
	height: 20px;
	text-indent: -9999px;
}

.projectNav div {
	float: left;
	margin-right: 5px;
	width: 20px;
	height: 20px;
}

.projectNav .previous {	
	margin-right: 10px;	
}

.projectNav .closeBtn,.closeBtn{
	background: transparent url(images/close_btn.png) no-repeat;
	background-position: 0 -20px;
}

.projectNav .closeBtn:hover,.closeBtn:hover{	
	background-position: 0 0;
}

.projectNav .previous a{
	background: transparent url(images/project_nav_btn.png) no-repeat;
	background-position: -20px -20px;
}

.projectNav .previous a:hover{
	background: transparent url(images/project_nav_btn.png) no-repeat;
	background-position: -20px 0px;
}

.projectNav .previous.inactive {
	background: transparent url(images/project_nav_btn.png) no-repeat;
	background-position: -20px -40px;	
}

.projectNav .next a{
	background: transparent url(images/project_nav_btn.png) no-repeat;
	background-position: 0 -20px;	
}

.projectNav .next a:hover{
	background: transparent url(images/project_nav_btn.png) no-repeat;
	background-position: 0 0px;
}

.projectNav .next.inactive {
	background: transparent url(images/project_nav_btn.png) no-repeat;
	background-position: 0 -40px;
}

.project.ajax {
	padding-top: 30px;
}

.project .visuals {
	float: left;
	width: 74.468085%;
	padding: 0;
	margin-bottom: 30px;
	padding-top: 5px;	
}

.project .visuals .flexslider {
	margin-bottom: 0;
}

.project .details {
	float: right;
	width: 22%;	
	padding: 0px 0 0 0;				
}

.project .left h1{
	font-size: 20px;
	margin-bottom: 15px;
}

.single-projects #content {
	width: 70%;
}

/*Images------------------*/

#content .alignleft,
#content img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px !important;
	margin-top: 4px;
}

#content .alignright,
#content img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}

#content .aligncenter,
#content img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#content img.alignleft, 
#content img.alignright, 
#content img.aligncenter {
	margin-bottom: 12px;
}

/*Gallery------------------*/

.gallery {
	padding-top: 0px;
	margin-bottom: 25px!important;
	margin-top: 0px !important;	
}

.gallery-item {
	margin-top: 0px!important;	
	margin-bottom: 25px!important;	
}

.gallery img {
	border: none!important;
}

#projectBox .gallery {
	margin-top: -15px !important;
}


/*//////////////////////////////////////////////////////////////////// 
//  06 - Slideshow
////////////////////////////////////////////////////////////////////*/

#content .flexslider {	
	margin: 0 0 35px 0 !important;	
}

#projectHolder .flexslider {
	margin: 0 0 15px 0 !important;	
}

.slideshow li, #content .flexslider li, #content .flexslider ol {
	list-style: none !important;
	list-style-type: none !important;	
}

#content .flexslider ol {	
	padding-bottom: 5px !important;
	margin-bottom: 0 !important;
}

#content .flexslider .slides {
	margin: 0;	
}

/* FlexSlider Theme------------------*/

.flexslider { min-height: 100px; border: 0 !important; margin: 0!important; background: transparent !important; border: none; position: relative; -webkit-border-radius: 0 !important; -moz-border-radius: 0 !important; -o-border-radius: 0!important; border-radius: 0!important; box-shadow: none !important; -webkit-box-shadow: none!important; -moz-box-shadow: none!important; -o-box-shadow: none!important; zoom: 1;}

.flexslider .slides li p{ margin: 0 !important; }
.flexslider .slides > li {position: relative;}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {zoom: 1; position: relative;}
.flexslider .slides img { height: auto;}
.flex-direction-nav, .flex-control-nav, .flex-caption { margin-bottom:0 !important;}

/* Caption style */

.flex-caption {display: inline-block; width: 30%; padding: 2%; position: absolute; left: 15px; bottom: 15px; color: #fff; font-size: 1.2em !important; line-height: 1.3em;}
.flex-caption h2 {
	color: #fff;
	background: #ef4135;
	font-size: 1em;
	margin-bottom: 3px !important;
	padding: 12px 15px 12px 15px;
	width: auto;
	display: inline-block;
}

/* IE rgba() hack */
.flex-caption p{background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); zoom: 1;}

.flex-caption p {
	margin-bottom: 0;
	color: #fff;
	font-size: .8em;
	line-height: 1.3em;	
	background: rgba(0,0,0,.5);
	padding: 12px 15px 12px 15px;
	width: auto;
	display: inline-block;
}

/* Direction Nav */
.flex-direction-nav li a {
	-webkit-transition: none; -moz-transition: none; transition: none;
	-webkit-transition: opacity .5s ease; -moz-transition: opacity .5s ease; transition: opacity .5s ease;
}
.flex-direction-nav li a { z-index: 100; width: 30px!important; height: 30px; margin: -15px 0 0; display: block; background: url(images/flexslider/direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px;}
.flex-direction-nav li a.flex-next {background-position: -30px 0; right: 20px !important;}
.single-product .flex-direction-nav li a.flex-next {right: -5px !important;}
.flex-direction-nav li a.flex-next:hover {background-position: -30px -30px;}
.flex-direction-nav li a.flex-prev {background-position: 0 0; left: 20px !important; }
.flex-direction-nav li a.flex-prev:hover {background-position: 0 -30px; }
.flex-direction-nav li a.disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}

/* Control Nav ------------------*/
#content .flex-control-nav {width: 100%; position: absolute; bottom: -30px; text-align: center;margin: 0;}
#content .flex-control-nav li {margin: 0 3px 0 3px; display: inline-block; zoom: 1; *display: inline;}
#content .flex-control-nav li a {width: 13px; height: 13px; display: block; background: url(images/slideshow_nav.png) no-repeat 0 0 !important; cursor: pointer; text-indent: -9999px;}
#content .flex-control-paging li a:hover {background-position: 0 -13px !important;}
#content .flex-control-paging li a.flex-active {background-position: 0 -26px !important; cursor: default;}



@media only screen and (max-width: 768px) {	
	

	
	.project .visuals {
  		width: 100%;
		float: none;		
	}
	
	.project .visuals .flexslider {  		
		margin-bottom: 50px !important;
	}
	

	
	.project .details {
  		float: none;
		width: 100%;
	}	
}



/*layouts smaller than 600px, iPhone and mobiles*/
@media only screen and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 600px)  {

	html {
	    -webkit-text-size-adjust: none; 
	}
	
	h1 { font-size: 1.2em;}
	h2 { font-size: 1.1em;}
	h3 { font-size: 1.0em;}
	h4 { font-size: .9em;}
	h5 { font-size: .8em;}
	

	
	#content .project.small {
		margin-bottom: 12px !important;
		width: 46%;		
	}
	
	#sidebar .widgetBox {
		width: 99%;		
	}
	
	#content .post {
		margin-bottom: 20px;
		padding-bottom: 0!important;
	}
	
	#content .project.small {
		margin-bottom: 7px;		
	}

				
	.gallery-item img{
		width: 90%;
	}
}



/* iPhone Landscape */
@media screen and (max-width: 480px) and (orientation: landscape) {

	
	#content .project.small {
		margin-bottom: 10px;
		width: 22.7%;		
	}	
}

input[type="text"], textarea {
	background-color: #fafafa;	
	padding: 10px;
	font-family: "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color: #6a6a6a;	
	border: 1px solid #ddd;
	background:	#fafafa url(images/field_bkg.png) repeat-x;	
}


