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

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

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%;}

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

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

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

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

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

#mainNav a, #menu-toggle *, #content a, #footer a, .main-menu > ul, ul.category-list a {
	-moz-transition: all .25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;
	-o-transition: all .25s ease-in-out;
	-ms-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;
}

body {
	font-size: 100%;
	font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
	width:auto;
	height:auto;
	padding: 0 0 0 0;
	margin: 0;
	color: #000;
	background-color: #eee;
	font-weight: 300;
	line-height: 20px;
	font-size: 16px;
}

p:not(:last-child) {
	margin: 0 0 20px 0;
}

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

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

img {
	margin: 0;
}

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

a {
	color: #1d3180;
}

a:hover {
	color: #000;
}

a img {
	border:none;
}

h1, h2, h3, h4, h5, h6{
	margin: 0 0 15px 0;
	font-family: "Merriweather", Helvetica, Arial, sans-serif;
	font-weight: normal;
	position: relative;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	color: #000;
}

h1 { font-size: 30px; line-height: 34px; }
h2 { font-size: 25px; line-height: 29px; }
h3 { font-size: 20px; line-height: 24px; }

h1.title {
	margin-bottom: 40px;
	padding-bottom: 40px;
    border-bottom: 3px solid rgba(0,0,0,.15);
}

input[type="text"], input[type="email"], input[type="password"], textarea {
	background-color: #fff;
	font-family: Helvetica, Arial, sans-serif;
	line-height: 28px;
	font-size: 16px;
	padding: 10px;
	color: #000;
	border: 0;
	border-bottom: 2px solid #e12322;
	background:	#f7f7f7;
	max-width: 100%;
	-webkit-appearance: none;
}

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

textarea:focus {
	outline: none;
	background-color: #f7f7f7;
}

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

strong {
	font-weight: bold;
}

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

* {
	min-height: 0;
	min-width: 0;
}

div[data-parallax="scroll"] {
	background-color: transparent !important;
}

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

#container {
	width: 100%;
	margin: 0 auto;
	max-width: 1200px;
	background: #fff;
	box-shadow: 0 0 90px rgba(0,0,0,.2);
}

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

.header-inside, .footer-inside, .element-inside {
	max-width: 100%;
	margin: 0 auto;
	position: relative;
	padding: 50px;
}

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

#header {
	width: 100%;
	position: relative;
	margin: 0 0 0 0!important;
	text-align: left;
	background-position: center center;
	background-size: cover;
	min-height: 50vh;
}

#top .header-inside {
	background: #fff;
}

#header .top {
	background: #fff;
	z-index: 10;
	width: 100%;
}

.home #header-content {
}

#header-content {
    min-height: 500px;
    color: #fff;
    background-size: cover;
    background-position: -180px top;
    background-repeat: no-repeat;
}

@media (min-width: 992px) {
	#header-content {
    	background-position: left top;
	}
}


#header-content .header-inside {
    position: absolute;
    right: 0;
    bottom: 0;
    padding-top: 30px;
    padding-bottom: 60px;
}

#header-content .header-inside:after {
    background-color: rgba(29, 49, 128, 1);
    mix-blend-mode: multiply;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    z-index: 1;
}

.header-headline {
}

.header-subline {
	font-size: 22px;
	max-width: 500px;
	text-align: right;
	line-height: 34px;
	font-family: "Merriweather", Helvetica, Arial, sans-serif;
	position: relative;
    z-index: 10;
}

.header-subline p {
	margin: 0;
}

#logo {
	display: block;
	margin: 0;
	padding: 0;
	float: right;
}

#logo img {
	max-width: 300px;
}

/* Top level navigation */

#topNav {
	float: left;
}

#topNav li {
	display: inline-block;
	font-size: 14px;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 1px;
}

#topNav li:after {
	content: "|";
	display: inline-block;
	padding: 0 5px;
}

#topNav li:last-child:after {
	content: none;
}

#mainNav {
    display: block;
    text-align: left;
    position: absolute;
    left: 0;
    padding: 20px 20px 20px 50px;
    top: calc(100% - 40px);
	background: #1d3180;
	z-index: 20;
	width: 100%;
    max-width: 400px;
}

#mainNav li {
	margin: 0;
	display: block;
	padding: 0;
	white-space: nowrap;
	letter-spacing: 1px;
}

#mainNav li:last-child {
	margin: 0;
}

#mainNav .main-menu {
    overflow: hidden;
}

#mainNav .main-menu.second-level > ul {
	left: -100%;
}

#mainNav ul {
    position: relative;
	left: 0;
}

#mainNav ul a {
	text-transform: uppercase;
	position: relative;
	color: #fff;
	font-family: "Merriweather", Helvetica, Arial, sans-serif;
	font-weight: normal;
	padding: 7px 0;
	font-size: 16px;
	display: block;
	left: 0;
}

#mainNav ul li.menu-item-has-children > a:after {
    content: "\f105";
    font-family: "fontawesome";
    position: absolute;
    right: 0;
    top: 6px;
}

#mainNav ul a:hover {
	padding-left: 20px;
}

#mainNav ul ul a {
	border-top: none;
}

/* Second level + dropdowns */

#mainNav ul ul {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
}

#mainNav .active .sub-menu {
    display: block;
}

#mainNav .sub-menu a {
	display: block;
}

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

#mainNav ul ul li {
	display: block;
	margin: 0;
}

#mobileToggle {
	z-index: 1;
	position: absolute;
	right: 20px;
	top: 20px;
    padding: 20px 10px;
    width: 55px;
	cursor: pointer;
	border-radius: 5px;
	display: none;
}

#mobileToggle span.lines {
	display: block;
    height: 5px;
    width: 100%;
    background: #fff;
    border-radius: 10px;
    position: relative;
}

#mobileToggle span.lines:before {
	content: "";
    display: block;
    width: 100%;
    height: 5px;
    background: #fff;
    border-radius: 10px;
    position: absolute;
    top: -10px;
}

#mobileToggle span.lines:after {
	content: "";
    display: block;
    width: 100%;
    height: 5px;
    background: #fff;
    border-radius: 10px;
    position: absolute;
    top: 10px;
}

#mobileToggle.pressed span.lines {
	background: transparent;
}


#mobileToggle.pressed span.lines:before {
	top: 0;
	transform: rotate(45deg);
}

#mobileToggle.pressed span.lines:after {
	top: 0;
	transform: rotate(-45deg);
}

#headNav li {
    display: inline-block;
    padding: 10px 20px;
    font-weight: normal;
	font-family: "Merriweather", Helvetica, Arial, sans-serif;
}

#headNav {
    padding: 10px 30px;
    background: #ddd;
    position: absolute;
    right: 0;
    bottom: -30px;
    z-index: 100;
}

@media (min-width: 992px) {
	#headNav {
		display: none;
	}
}

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

#content {
    margin-top: 30px;
}

.featured .col {
    padding: 70px 35px 35px 35px;
    border-left: 3px solid #1d3180;
    border-bottom: 3px solid rgba(0,0,0,.15);
    margin-bottom: -70px;
    position: relative;
}

.featured h2.topline {
    font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    background: #1d3180;
    padding: 10px;
    width: 100%;
    line-height: 14px;
}

.has-sidebar #sidebar {
    float: left;
    width: 350px;
    margin: 50px 0 0 50px;
}

.has-sidebar #elements {
    width: calc(100% - 400px);
    float: right;
}

.sidebarBox {
	margin-bottom: 25px;
	background: #e8e8e8;
    padding: 25px;
}

.sidebarBox h3 {
	font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #1d3180;
	font-weight: 600;
}

#sidebar a {
	color: #000;
}

.element {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	position: relative;
}

.element.fixed {
	background-attachment: fixed;
}

.element.center {
    text-align: center;
}

.element-post-single {
	background: #fff;
}

.element-inside {
}

.element.no-padding .element-inside {
	padding: 0;
	max-width: 100%;
}

.element.top-docking .element-inside {
    padding-top: 0 !important;
    margin-top: -50px;
}

.element.bottom-docking .element-inside {
    padding-bottom: 0 !important;
    margin-bottom: -50px;
}

.element.dark, .element.dark h2, .element.dark a {
	color: #fff;
}

/*---------Button---------*/

.button, a.button, #footer a.button, #searchsubmit, input[type="submit"]  {
    display: inline-block;
    color: #1d3180;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    font-weight: bold;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin: 0 3px 0 0;
    line-height: normal;
    font-size: 14px;
    background: transparent;
    padding: 10px 20px;
    border: 2px solid #1d3180;
    text-transform: uppercase;
    -webkit-appearance: none;
}

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

#content .alignleft,
#content img.alignleft {
	display: inline;
	float: left;
}

#content .alignright,
#content img.alignright {
	display: inline;
	float: right;
}

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

#content img.alignleft,
#content img.alignright,
#content img.aligncenter {
}

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

.element ul {
	margin:  0 0 0 20px;
	list-style-type: disc;
}

.element ol {
	margin: 0 0 0 15px;
}

.element ol li {
	margin-bottom: 10px;
}

.element ul li {
	margin-bottom: 5px;
}

.element ol li {
	margin-bottom: 5px;
}

.element ol {
	list-style: decimal;
}

.post:not(:last-child), .page:not(:last-child) {
    margin-bottom: 40px;
    border-bottom: 3px solid rgba(0,0,0,.15);
    padding-bottom: 40px;
}

.more-link {
	font-family: "Merriweather", Helvetica, Arial, sans-serif;
	margin-top: 20px;
	display: block;
}

/*////////////////////////////////////////////////////////////////////
//  10 - Features
////////////////////////////////////////////////////////////////////*/


#cookieChoiceInfo {
    font-size: 14px;
    padding: 8px 4px 4px 4px !important;
}

ul.category-list > li:not(:last-child), .widget_recent_entries ul > li:not(:last-child) {
    border-bottom: 2px solid #ccc;
}

ul.category-list .children {
    display: none;
    padding: 10px;
}

ul.category-list > li, .widget_recent_entries ul > li {
    padding: 5px 0;
}

ul.category-list > li.has-children:after {
	content: "+";
    padding: 0 10px;
    font-weight: bold;
    color: #1d3180;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 5px;
    text-align: center;
    width: 10px;
}

ul.category-list > li.has-children {
	cursor: pointer;
	position: relative;
}

ul.category-list > li.has-children.active:after {
    content: "-";
}

ul.category-list a:hover {
	padding-left: 10px;
}

#topSearch {
	display: none;
    background: #fff;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(100% - 40px);
}

#topSearch input {
    width: 100%;
    height: 100%;
    position: absolute;
    color: #1d3180;
    padding: 50px;
    font-size: 30px;
    font-family: "Merriweather";
    border: 0;
    background: #fff;
}

.search-close {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 10px;
    color: #ccc;
    position: absolute;
    right: 20px;
    top: 20px;
	cursor: pointer;
    z-index: 10;
}


.meta {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 10px;
}

/* ============================================================
  CUSTOM PAGINATION
============================================================ */

.pagination h2 {
    display: none;
}

nav.pagination {
    padding: 30px 50px;
}

.nav-links > * {
    float: left;
    padding: 10px;
    border-right: 1px solid #ddd;
    min-width: 50px;
    text-align: center;
}

.nav-links {
    border: 1px solid #ddd;
}

.nav-links a:hover {
	background: #eee;
}

.nav-links span {
	font-weight: 600;
}

a.next.page-numbers {
    float: right;
    border: 0;
		border-left: 1px solid #ddd;
}

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

#footer {
	color: #000;
}

#footer .footer-inside {
}

#footer h3 {
	border-bottom: 2px solid rgba(255,255,255,.3);
	font-size: 25px;
	line-height: 25px;
	color: #fff;
}

#footer a {
	color: #000;
}

#footer a:hover {
	color: #1d3180;
}

#footerNav {
	margin-bottom: 20px;
}

#footerNav li {
	display: inline-block;
	font-size: 14px;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 1px;
}

#footerNav li:after {
	content: "|";
	display: inline-block;
	padding: 0 5px;
}

#footerNav li:last-child:after {
	content: none;
}

#footer .main {
    position: absolute;
    right: 0;
    background: #e8e8e8;
    width: calc(100% - 400px);
    bottom: 0;
    padding: 30px 50px;
}


.c-hamburger {
  display: none;
  position: relative;
  overflow: hidden;
  margin: 15px 0;
  padding: 0;
  width: 55px;
  height: 75px;
  font-size: 0;
  text-indent: -9999px;
  appearance: none;
  box-shadow: none;
  border-radius: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  background: none;
}

.c-hamburger:focus {
  outline: none;
}


.c-hamburger span {
  display: block;
  position: absolute;
  top: 37px;
  left: 5px;
  right: 5px;
  height: 5px;
  border-radius: 2px;
  background: #1d3180;
}

.c-hamburger span::before,
.c-hamburger span::after {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #1d3180;
  content: "";
  border-radius: 2px;
}

.c-hamburger span::before {
  top: -10px;
}

.c-hamburger span::after {
  bottom: -10px;
}


.c-hamburger--htx {
}

.c-hamburger--htx span {
  transition: background 0s 0.3s;
}

.c-hamburger--htx span::before,
.c-hamburger--htx span::after {
  transition-duration: 0.3s, 0.3s;
  transition-delay: 0.3s, 0s;
}

.c-hamburger--htx span::before {
  transition-property: top, transform;
}

.c-hamburger--htx span::after {
  transition-property: bottom, transform;
}

/* active state, i.e. menu open */
.c-hamburger--htx.is-active {
}

.c-hamburger--htx.is-active span {
  background: none;
}

.c-hamburger--htx.is-active span::before {
  top: 0;
  transform: rotate(45deg);
}

.c-hamburger--htx.is-active span::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.c-hamburger--htx.is-active span::before,
.c-hamburger--htx.is-active span::after {
  transition-delay: 0s, 0.3s;
}

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

@media all and (max-width: 1024px) {

}

@media all and (max-width: 975px) {

	#mainNav {
	    max-width: 350px;
		padding: 20px 20px 20px 30px;
	}

	.has-sidebar #sidebar {
		width: 300px;
		margin: 30px 0 0 30px;
	}

	.has-sidebar #elements {
		width: calc(100% - 330px);
	}

	.featured .col {
	    margin-bottom: -35px;
	}

	.header-inside, .footer-inside, .element-inside {
		padding: 30px;
	}

	#footer {
		margin-top: 100px;
	}

	#footer .main {
		padding: 30px;
		width: calc(100% - 330px)
	}

}

@media all and (max-width: 870px) {

}

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

	#topNav {
		float: none;
	}

	#topNav, #mainNav {
		display: none;
	}

	#logo img {
	    max-width: 270px;
	    margin: 15px auto;
	}

	.c-hamburger {
		display: block;
	}

	#mainNav {
		padding: 20px;
	    max-width: 100%;
	    position: absolute;
	    top: 100%;
	    z-index: 100;
	    box-shadow: 0 0 50px rgba(0,0,0,.5);
	}


	.home #header-content {
		min-height: 400px;
	}

	.has-sidebar #sidebar {
		width: 100%;
		margin: 0;
		padding: 20px;
	}

	.has-sidebar #elements {
		width: 100%;
	}

	.sidebarBox {
		padding: 20px;
	}

	.featured .col {
	    margin-bottom: 0px;
	    padding: 50px 15px 15px 15px;
	}

	.header-inside, .footer-inside, .element-inside {
		padding: 20px;
	}

	.header-inside {
		padding: 5px 20px;
	}

	#footer {
		margin-top: 100px;
	}

	#footer .main {
		width: 100%
	}

}

@media all and (max-width: 600px)  {
	#headNav {
		text-align: center;
		left: 0;
	}

}
