/*  
Theme Name: diehingucker
Theme URI: http://www.diehingucker.de
Description: diehingucker Template
Version: 1.0
Author: Philipp Kieckbusch
Tags: portfolio, responsive, blog, clean, minimal, white, two-columns, threaded-comments, translation-ready, custom-menus

TABLE OF CONTENTS

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

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

/**

 HTML5 & 4 reset stylesheet
 Adapted from YUI & HTML5 Doctor
 v1.0
 
**/

* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

:focus {
	outline: none;
}

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,img,abbr,acronym,address,big,cite,code,del,dfn,em,font,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,hgroup,menu,nav,summary,time,mark,audio,video,header,footer { 
    margin:0;
    padding:0;
    border:0;
    font-weight:inherit;
    font-style:inherit;
    font-size:100%;
    font-family:inherit;
    vertical-align:baseline;
    background:transparent;
}

html { 
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
    -webkit-text-size-adjust:none;
    -ms-text-size-adjust:none;
	overflow-y: scroll;
}

ol,ul { 
	list-style:none; 
}

article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,img { 
    display:block;
}

blockquote,q {
    quotes:none;
}

blockquote:before, 
blockquote:after,
q:before, 
q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    border:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

a, input, textarea, img, .fadeIn span, #clientItems span, .button {
	-moz-transition: all .4s ease-in-out;
	-webkit-transition: all .4s ease-in-out;
	-o-transition: all .4s ease-in-out;
	-ms-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
}

ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration:line-through;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

strong{font-weight:bold;}
em{font-style:italic;}

input, 
select {
    vertical-align:middle;
}

table {	
	border-collapse:separate; 
	border-spacing:0; 
}
caption,
th,
td { 
	text-align:left; 
	font-weight:normal; 
}

input { 
	vertical-align:middle; 
}
img,
object,
embed {max-width: 100%;}

#homePortfolioItems img {
	max-width: none !important;
    margin: auto;
}

.page-id-6589 #content img {
	height: auto;
}

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

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

.wp-caption-text {
	padding: 5px 0 0 0;
	font-style: italic;
}

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

body {
	font-size: 100%;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	width:auto; height:auto;	
	padding: 0 0 0 0;
	margin: 0;
	color: #6a6a6a;	
	background-color: #ccc;		
	font-weight: normal;
	line-height: 24px;
	font-size: 14px;
}

p {
	margin: 0 0 20px 0;	
	font-weight: normal;
	font-style: normal;	
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

li {
	margin: 0 0 0 0;
	padding: 0;		
}

img {
	margin: 0;
}

img.left {
	margin: 0 15px 15px 0;
	float: left;
}

a {
	text-decoration: none;
	outline: none;
}

a{	
	color: #4da7ca;	
}

a:hover {
	color: #4290ae;	
}

a img {
	border:none;
}

h1, h2, h3, h4, h5, h6{		
	margin: 0 0 15px 0;
	font-weight: bold;
	color: #606060;
}

h1 { font-size: 1.5em; }
h2 { font-size: 1.3em; }
h3 { font-size: 1.1em; }

blockquote, address {
	margin: 0 0 30px 0;
	padding: 0 30px 0 30px;		
	font-size: 1em;
	font-family: Georgia, Times, "Times New Roman", serif;
	border-left: 5px solid #6a6a6a;
	color: #6a6a6a;	
}

code {
    font-family: "Courier New", Courier, serif;
	overflow: auto;
	padding: 2px;
	background: #fff;
}

pre code {
	background: none;
}

pre {
    margin: 0 0 20px;
	padding: 10px;
	background: #fff;
	overflow: auto;	
	border: 1px solid #e4e4e4;
}

.meta {
	color: #b0b0ad;
}

.meta a{
	color: #7d7d7b !important;
}

.meta a:hover{
	color: #b0b0ad !important;
}

input[type="text"], input[type="email"], input[type="password"], textarea {
	background-color: #fff;	
	padding: 15px;
	color: #222;	
	font-size: 14px;	
	font-family: "Raleway", sans-serif;
	border: 1px solid #ddd;
	-webkit-appearance: none;
	width: 100%;
}

.cfinput {
	float: left;
	width: 48%;
	margin-right: 4%;
	margin-bottom: 20px;
}

.cfinput:nth-child(2n-1) {
	margin-right: 0;
}

.wpcf7-form-control-wrap {
	position: relative;
} 

.cfinput.last {
	float: left;
	margin-left: 4%;
}

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

textarea { width: 100%; line-height: 1.6em; }

.hidden{
     opacity:0;
}
.visible{
     opacity:1;
}

/* 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;
}

a.action {	
	font-style: italic;		
}

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

#homePortfolioItems img, .grid-item img  {
	opacity: 0;
	transition: opacity .3s ease-in;
} 

img.loaded {
	opacity: 1 !important;
} 

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

.wrap {	
	background: #fff;
	padding-top: 1px;
}

#main {
	margin: 0 auto 0;
	padding:0 50px 0;		
	background: #fff;			
}

.home #main {
	padding: 25vh 50px 0;		
}

#main .wrap {	
	padding: 0;	
}

#main.full {
	background: none;
}

.middle {
	margin: 0 auto;		
}

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

#sidebar {
	width: 26.5%;
	float: right;
	margin: 0 0 0 0;
	padding: 0 0 0 0;		
}

#footer {
	width: 100%;
	margin: 0 auto;	
	padding: 4vh 50px 6vh;
	height: 15vh;
}

.layout-box-container div {
	position: fixed;
	z-index: 100;
	background: #ccc;
}

.layout-box-top, .layout-box-bottom {
	left: 0;
	width: 100%; 
	height: 3vh;
	z-index: 100;
}

.layout-box-top {
	top: 0;
}


.layout-box-bottom {
	bottom: 0;
}

.layout-box-right, .layout-box-left {
	top: 0;
	width: 3vh; 
	height: 100%;
}

.layout-box-right {
	right: 0;
}

.layout-box-left {
	left: 0;
}


#showall {
	display: none;
	color: #fab134;
	cursor: pointer;
}

#final {
	display: none;
}

hr {
	border: 0;
	border-bottom: 1px solid #ddd; 
}

/*////////////////////////////////////////////////////////////////////////
//  04 - Header
///////////////////////////////////////////////////////////////////////*/

#header{	
	width: 100%;	
	margin: 0 0 0 0!important;	
	text-align: center;
	background: #fff;
	padding: 7vh 50px 3vh;
	height: 25vh;
	position: relative;
    z-index: 1;
}

.home #header {
	position: fixed;
}

#header .inside{	
	margin: 0 auto;	
	padding: 0;		
	position: relative;
}

#header .top {
	padding: 0;
}

#logo {		
	display: inline-block;	
	margin: 0px 0 0 0;	
	float: left;	
	padding: 0;
}

#logo img {
	height: auto;
	max-width: 250px;
	max-height: 15vh;
}

#logo h1 {
	margin: 0 !important;
	line-height: 1em !important;
	padding: 0 !important;	
	font-size: 1.5em;
	font-weight: bold;		
	color: #555555;		
}

#header h1 {
	font-size: 1.5em;	
	color: #555555;	
	margin: 0;			
}

#header h1 a, #header h1 a:hover{	
	color: #555555 !important;	
}


/* Top level navigation */

#mobileToggle {
	display: none;
	position: absolute;
	top: 7vh; 
	right: 30px;
	font-size: 20px;
}


#mainNav{	
	position: absolute;
	bottom: -8px;
	right: 0;
}

#mainNav li{
	margin: 0 0 0 30px;	
	display: inline-block;		
	padding: 0;	
    position: relative;
}

#mainNav ul a{
	line-height: 25px;	
	color: #8f8f8f;
	font-size: .75em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
}

#mainNav ul ul a{
	line-height: 15px;
	font-weight: normal;
	border-top: none;	
}

#mainNav ul li.current a,
#mainNav ul li.current-cat a,
#mainNav ul li.current_page_item a,
#mainNav ul li.current-menu-item a,
#mainNav ul li.current-post-ancestor a,
.single-post #mainNav ul li.current_page_parent a,
#mainNav ul li.current-category-parent a,
#mainNav ul li.current-category-ancestor a,
#mainNav ul li.current-portfolio-ancestor a,
#mainNav ul li.current-projects-ancestor a {
	text-decoration: none;
	color: #2e2e2e;		
}

#mainNav ul li.sfHover a,
#mainNav ul li a:hover,
#mainNav ul li:hover {
	text-decoration: none;
	color: #2e2e2e;	
}

/* Second level+ dropdowns */

#mainNav ul ul {
	padding: 10px 0px 0 0px !important;
	background: #fff;	
    position: absolute;
    left: -20px;
    display: none;
    z-index: 9999;
}

#mainNav ul li:hover ul {
    display: block;
}

#mainNav ul ul ul {	
	padding-top: 20px !important;
	margin-left: -1.25em;
	margin-top: -5px;	
}

#mainNav ul ul li {	
	float: none;
	background: none;	
	margin: 0 20px 10px 20px !important;
	text-align: left;	
    display: block;
    
}

#mainNav ul ul li a {
	padding: 0px 0 10px 0;
	font-weight: normal;
	border: none !important;
}

#mainNav ul li.sfHover ul a { color: #7b7b7b!important; }

#mainNav ul li.sfHover ul a:hover { color: #fff!important; }

/** arrow **/

#mainNav .sf-menu a.sf-with-ul {
	position: relative;
	min-width:		1px;
}

.sf-sub-indicator {
	position: absolute;
	bottom: 0px;	
	display: block;
	width: 100%;
	text-indent: -999em;
	overflow: hidden;
	z-index: 200;
	height: 40px;
}

.sfHover .sf-sub-indicator {
	
	bottom: -10px;	
}

#mainNav .sf-menu li ul .sf-sub-indicator {
	display: none;
}

#mainNav .sf-menu li ul .sfHover .sf-sub-indicator {	
	position: absolute;
	top: 0;
	right: -1px;
	left: none;
	display: block;	
}

.sfHover a.sf-with-ul .sf-sub-indicator {
	height: 30px;
}

.children .sf-sub-indicator {
	display: none;
}


/*//////////////////////////////////////////////////////////////////// 
//  05 - Content
////////////////////////////////////////////////////////////////////*/

#content {
	margin: 0 auto 40px;
	padding: 0 0 0 0 !important;
	width: 68%;	
	float: left;					
}

#content.full {
	margin: 0 0 40px 0;
	padding: 0 0 0 0 !important;
	width: 100%;					
}

#content.full.grid {
	margin: 0 0 20px 0%;				
}

.home #content.full, .page-template-page-portfolio-php #content.full {	
	width: 100%;	
	margin: 0 0 0 0;					
}

#content.fullProjects{	
	width: 100%;				
}

#content.slim > div{
	max-width: 300px;
	margin: auto;
}

#content .post {
	margin: 0 0 30px 0px;
	position: relative;	
	padding-bottom: 10px;
	min-height: 250px;
	width: 100%;		
}

#content .post h1.title {
	font-size: 1.4em;
	font-weight: bold;
}

#content .post h2.title {
	font-size: 1.4em;
	font-weight: bold;
}

.search #content .post {
	min-height: 50px;		
}

.page #content .post {
	margin: 0 0 0px 0px;
	border: none;
}

.post .meta, .attachment .meta {
	margin: -5px 0 25px 0;		
	padding: 0 0 0px 0;	
	font-size: .85em;
	line-height: 1.5em;		
}

#content h1 a,
#content h2 a,
#content h3 a,
.widgetBox h3 a,
#slideshow .slideText h3 a,
#content h4 a,
#content h5 a{	
	color: #555555;
}

#content h1 a:hover,
#content h2 a:hover,
#content h3 a:hover,
.widgetBox h3 a:hover,
#slideshow .slideText h3 a:hover,
#content h4 a:hover,
#content h5 a:hover{	
	color: #a7a7a3 ;		
}

#content .postThumb{
	margin: 0 0 20px 0 !important;
}

#pageHead {		
	padding: 30px 0 70px;
	margin: 0;
	text-align: center;
}

#pageHead .inside {	
	margin: 0 auto;
}

#pageHead h1 {	
	font-size: 2.5em;
	font-family: "Dancing Script", serif;
	display: block;
	color: #898989;
	font-weight: normal;		
}

#pageHead p {	
	margin: 0!important;
	padding: 10px 0 0 0!important;	
	color: #b2b2b2;			
	line-height: 1em;
}

#content .moreLink{	
	display: block;
	
}

.container-outer { 
	height: 60vh; 
	padding-right: 50px;
	margin-right: -50px;
	padding-left: 50px;
	margin-left: -50px;
}

.container-outer::-webkit-scrollbar { 
  display: none;
}

.container-inner {
	white-space: nowrap;
	height: 60vh;
}

.homeItem {
	display: inline-block; 
	padding-right: 10px;
	background: white;
}

.homeItem:last-child {
	padding-right: 50px;
}

.homeItem img {
	height: 60vh;
}

.portfolio {
	display: inline-block;
}

.portfolio img {
	height: auto;
}

.portfolio .portfolioThumb {
	overflow: hidden;
}

.portfolio .portfolioThumb img {
	max-width: 100%;
}

.portfolio:hover .portfolioThumb img {
    -ms-transform: scale(1.1); /* IE 9 */
    -webkit-transform: scale(1.1); /* Chrome, Safari, Opera */
	transform: scale(1.1);
}

.portfolio .portfolioFrame {
	position: relative;
	display: block;
}

.page-template-page-portfolio-single-php #content {
	width: 80%;
	float: none;
	margin: 0 auto 0px;
	max-width: 1000px;
}

.portfolio .fadeIn {
	position: absolute;
	height: 100%;
	top: 0;
	width: 100%;
	background-color: rgba(255,255,255,0.6);
	text-align: center;
	opacity: 0;
	color: #898989;
	font-size: 2em;
	font-family: "Dancing Script", serif;
}

/* force scrollbar */
html { overflow-y: scroll; }

body {
  font-family: sans-serif;
}

/* ---- isotope ---- */

.grid {
	margin: 0 -10px;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */

.grid-sizer {
  width: 50%;
}

.grid-item {
  width: 100%;
}

.w2 {
  width: 50%;
}

.w1 {
  width: 100%;
}


.grid-item {
  float: left;
}

.grid-item img {
  display: block;
  max-width: 100%;
  padding: 4px;
  width: 100%;
}


.portfolio:hover .fadeIn {
	opacity: 1;
}

.portfolio .fadeIn span {
	position: absolute;
	width: 100%;
	left: 0;
	top: 35%;
	opacity: 0;
}

.portfolio:hover .fadeIn span {
	top: 45%;
	opacity: 1;
}

#clientItems {
}

#clientItems .item {
	width: 22%;
	margin-right: 4%;
	float: left;
	height: 170px;
	text-align: center;
	margin-bottom: 60px;
	cursor: pointer;
	position: relative;
}

#clientItems .item a {
  position: absolute;
  bottom: -30px;
  width: 100%;
  left: 0;
}

#clientItems .thumb.chosen:after {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0.7);
	top: 0;
	left: 0;
} 

#clientItems span {
	display: block;
	position: absolute;
	bottom: 170px;
	width: 100%;
	opacity: 0;
}

#clientItems .item:hover span {
	opacity: 1;
}

#clientItems .thumb.chosen:before {
	font-family: FontAwesome;
	content: "\f00c";
	position: absolute;
	z-index: 1;
	width: 100%;
	color: #000;
	font-size: 30px;
	left: 0;
	text-align: center;
	line-height: 150px;
}

#clientItems .item img {
   max-width: 100%;
   max-height: 150px;
   overflow: auto;
   margin: auto;
   position: absolute;
   top: 0; left: 0; bottom: 0; right: 0;

}

#clientItems .item:nth-child(4n) {
	margin-right: 0;
}
 
textarea#auswahl, #sidebar .wpcf7-text, #sidebar .wpcf7-dynamictext {
	display: none;  
}

div.wpcf7-response-output {
	margin: 0 !important;
}

.lightbox .lb-image {
	-webkit-border-radius: 0 !important;
	-moz-border-radius: 0 !important;
	-ms-border-radius: 0 !important;
	-o-border-radius: 0 !important;
	border-radius: 0 !important;
}

.lightboxOverlay {
	background-color: white !important;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
	opacity: 1 !important;
}

.lb-data .lb-details {
	display: none !important;
}

@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

a.lb-cancel {
	background: none !important;
}

a.lb-cancel:after {
	content: "\f110";
	height: 32px;
	width: 32px;
	background-color: white;
	display: block;
	font-family: FontAwesome;
	font-size: 32px;
	line-height: 32px;
  -webkit-animation: rotating 2s linear infinite;
  -moz-animation: rotating 2s linear infinite;
  -ms-animation: rotating 2s linear infinite;
  -o-animation: rotating 2s linear infinite;
  animation: rotating 2s linear infinite;
}

/*Column Shortcodes------------------*/

.one_half { 
	width:49%;
}

.one_third { 
	width:32%; 
}

.two_third { 
	width:66%; 
}

.one_half {
	margin-right: 4%; 	
}

.one_half,.one_third,.two_third { 
	margin-right: 2%; 
	position:relative; 
	float:left; 
}

.last { 
	margin-right:0 !important; 
	clear:right;
	margin-bottom: 20px; 
}

.clearboth {
	clear:both;
	display:block;
	font-size:0;
	height:0;
	line-height:0;
	width:100%;
}


/*Buttons------------------*/

.button, a.button, #footer a.button, #searchsubmit, input[type="submit"]  {			
	display: inline-block;	
	font-family: "Raleway", sans-serif;
	color: #fff;
	text-decoration: none;		
	position: relative;
	cursor: pointer;
	font-weight: bold;	
	border: 0;	
	margin: 0 3px 0 0;	
	line-height: normal;	
	font-size: 13px;
	background: #757575;
	padding: 13px 17px 13px !important;
	margin: 0 0 10px 0;	
	text-transform: uppercase;
	letter-spacing: 1px;
	-webkit-appearance: none;
}

#searchsubmit {
	padding: 5px 15px 6px;
}

.home .slideshow a.button:hover, .button:hover, #footer a.button:hover, #searchsubmit:hover, input[type="submit"]:hover {	
	color: #fff;
	opacity: 0.8;	
}

.home .slideshow a.button {
	margin-top: 20px;	
}

/*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;
}

/*Lists------------------*/

#content ul{	
	margin:  0 0 25px 20px;
	list-style-type: disc;	
}

#content ul li{	
	margin: 0 0 10px 0;		
	line-height: 1.4em;	
	font-size: .95em;	
}

#content ol li{	
	margin: 0 0 10px 0;	
	line-height: 1.4em;
}

#content ol{	
	margin: 0 0 20px 20px;	
}

#content ul ul, #content ol ul, #content ul ol, #content ol ol {	
	padding-top: 10px;		
}

#content ul ul li, #content ol ul li, #content ul ol li, #content ol ol li{		
	font-size: 1em !important;	
}

.videoContainer {
	margin-bottom: 25px !important;	
}

/*//////////////////////////////////////////////////////////////////// 
//  07 - Sidebar
////////////////////////////////////////////////////////////////////*/

#sidebar {		

}

.sidebarBox {	
	position: relative;
	margin: 0 0 30px 0;	
}

#sidebar p {	
	margin-bottom: 12px;
}

#sidebar li {
	font-size: .75em;
}

#sidebar .avatar {
	float: left;
	margin: 0 20px 15px 0 !important;
	padding-top: 3px;
}



/*///////////////////////////////////////////////////////////////////// 
//  08 - Widgets
////////////////////////////////////////////////////////////////////*/

#footer .widgetBox a, #sidebar .widgetBox a {
	line-height: 1.5em;
}

#footer .widgetBox {
	float: left;
	margin-left: 30px;
	margin-bottom: 30px;	
	width: 30%;	
}

#sidebar .widgetBox {
	margin-bottom: 30px !important;	
}

#sidebar .widgetBox h3,
#footer .widgetBox h3{
	font-size: .9em;
	font-weight: bold;	
}


#footer .widgetBox h3{
	margin-bottom: 25px;
}

#footer .widgetBox p{
	text-align: left;
}

#sidebar .widgetBox .meta,
#footer .widgetBox .meta {	
	
}

#sidebar ul, #footer ul {
	margin: 0 0 0 0;
	padding: 0px 0 0 0;		
	background: none;
	position: relative;	
}

#footer .right p {
	display: none;
}

.menu-footer-container ul li {
	font-size: 0.8em !important; 
	display: inline-block;
}

#sidebar ul li, #footer ul li {
	padding: 0px 0 0px 0;
	margin: 0 0 10px 0;	
	font-size: 0.9em;	
}

#footer ul li {
	margin-left: 20px;
}

#sidebar ul li p, #footer ul li p{
	line-height: 1.3em;
	margin: 0;
}

#sidebar ul li h2, #footer ul li h2{	
	margin: 0 0 0px 0 ;	
	padding: 0 !important;	
	line-height: .9em;
	font-weight: normal;	
}

#sidebar .widget_nav_menu ul,
#footer .widget_nav_menu ul,
#sidebar .widget_pages ul,
#footer .widget_pages ul,
#sidebar .widget_categories ul,
#footer .widget_categories ul {
	background: none;
	margin: 0;
	padding: 0;
	border: none;
}

#sidebar .widget_nav_menu li,
#footer .widget_nav_menu li,
#sidebar .widget_pages li,
#footer .widget_pages li,
#sidebar .widget_categories li,
#footer .widget_categories li {
	padding: 0 0 0 0;
	margin: 10px 0 0 0;		
	border: none;	
}



/*Search------------------*/

.widget_search {	
	display: block;
	padding: 0 !important;	
}

.widget_search h3 {
	display: none;
}

.widget_search:after {
    content: " ";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

html[xmlns] .widget_search {
    display: block;
}

* html .widget_search {
    height: 1%;
}

#s {
	margin: 0 0px 0 0;	
	padding: 10px 1em 10px 1em !important;
	line-height: normal!important;	
	width: 100%;
	color: #9a9a9a;	
	font-size: .8em;
}

#searchsubmit{	
	font-size: 11px !important;
	margin: 0 !important;
	border-left: none;
	-webkit-border-bottom-left-radius: 0px;
	-webkit-border-top-left-radius: 0px;
	-moz-border-radius-bottomleft: 0px;
	-moz-border-radius-topleft: 0px;
	border-bottom-left-radius: 0px;
	border-top-left-radius: 0px;
	float: right;
	border: none;
	height: 30px;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	background-position: 0 -1px;	
}

/*//////////////////////////////////////////////////////////////////// 
//  11 - Footer
////////////////////////////////////////////////////////////////////*/

#footer {	
	background: #fff;
}

.home #footer {
	position: fixed;
}

#footer .inside {
	margin: 0 auto 0;
	padding: 0px 0 0;	
}

#footer .widgetBox h3{	
	color: #6a6a6a;			
}

#footer .meta {
	color: #919191;	
}

#footer .main {	
	padding: 50px 0 10px 0;		
	margin: 0 30px 0 0;	
}

.footerBox{
	margin: 0 0 40px 20px;	
	float: left;
	position: relative;		
}

.footerBox p{			
	padding: 0;	
}

#footer a {
	color: #6a6a6a;	
}

#footer a:hover {
	color: #47474b;	
}

#footer .secondary {		
	margin: 0;
	padding: 0;
}

#footer .secondary p{
	font-size: .7em;
}

#footer .secondary .left {
	float: left;
}

#footer .secondary .right {
	float: right;
}

/*//////////////////////////////////////////////////////////////////// 
//  12 - Media Queries
////////////////////////////////////////////////////////////////////*/

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape)	{
    .home .wrap {	
        overflow-y:hidden;
    }
}


@media only screen and (max-width: 870px) {	
	/*Column Shortcodes------------------*/
	.one_half{ width:100%; }
	.one_third{ width:100%; }
	.two_third{ width:100%; }
	.one_half,.one_third,.two_third{ position:relative; margin-right:0%; float:none; }
	.last{ margin-right:0 !important; clear:right; }
	.clearboth {clear:both;display:block;font-size:0;height:0;line-height:0;width:100%;}
}


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

	html {
	    -webkit-text-size-adjust: none; 
	}
		
	#footer { 
		padding: 10px 0 0px 0;
		height: 10vh;
	}		
	
	
	#footer .secondary{
		text-align: center;
		margin: 0 10px;
	}
	
	#footer .secondary p{
		margin: 0px;
		padding: 0px;
	}	
	
	#footer .secondary .left,
	#footer .secondary .right{
		float: none;		
	}	
	
	#footer .secondary .right{
		float: none;
	}
					
	.homeItem, .homeItem:last-child {
		padding: 0;
        width: 100%;
	}
	
	#content, #sidebar, #sidebar > div { 
		width: 100%;
	}
	
	.homeItem img {
		height: auto;
		width: 100%;
	}
	
	.container-inner {
		white-space: normal;
		height: inherit;
	}
	
	.container-outer {
		height: inherit;
		padding: 0;
		margin: 0;
	}
	
	.home #header, .home #footer {
		position: inherit;
	}
	
	.home #main, #main {
		padding: 0 20px;
	}
	
	#header {
		height: inherit;
		padding: 7vh 20px 3vh;
	}
	
	#logo {
		float: none;
	}
	
	#logo img {
		max-width: 250px;
		max-height: inherit;
	}
	
	#mainNav {
		float: none;
		display: block;
		position: inherit;
		margin-top: 20px;
	}
	
	#mainNav li {
		margin: 0 5px;
	}
	
	.layout-box-container {
		display: none;
	}
	
	#pageHead {
		padding-bottom: 30px;
	}
	
	.page-template-page-portfolio-single-php #content {
		width: 100%;
	}
	
	.grid-item.w2 {
		width: 100%;
	}
	
	.grid-item {
		padding: 0 6px;
		width: 100% !important;
	}
	
	#clientItems .item {
		width: 48%;
	}
	#clientItems .item:nth-child(2n) {
		margin-right: 0;
	}
}

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

	#header .inside {
		position: inherit;
	}

	#mobileToggle {
		display: block;
	}
	
	#mainNav li {
		display: block;	
	}
	
	#navigation {
		display: none;
		width: 100% !important;
	}
}