/*
Theme Name: HaiMo-Concept
Theme URI: http://www.mediaimpulse.co
Author: mediaImpulse Schlakat & Salehi GbR
Author URI: http://www.mediaimpulse.co
Description: Webseite f&uuml;r HaiMo-Concept
Version: 1.0
License: Commercial Use / Single User License.
Tags: HaiMo
Text Domain: HaiMo-Concept
*/

/* =Notes
--------------------------------------------------------------
This stylesheet uses rem values with a pixel fallback. The rem
values (and line heights) are calculated using two variables:

$rembase:     14;
$line-height: 24;

---------- Examples

* Use a pixel value with a rem fallback for font-size, padding, margins, etc.
	padding: 5px 0;
	padding: 0.357142857rem 0; (5 / $rembase)

* Set a font-size and then set a line-height based on the font-size
	font-size: 16px
	font-size: 1.142857143rem; (16 / $rembase)
	line-height: 1.5; ($line-height / 16)

---------- Vertical spacing

Vertical spacing between most elements should use 24px or 48px
to maintain vertical rhythm:

.my-new-div {
	margin: 24px 0;
	margin: 1.714285714rem 0; ( 24 / $rembase )
}

---------- Further reading

http://snook.ca/archives/html_and_css/font-size-with-rem
http://blog.typekit.com/2011/11/09/type-study-sizing-the-legible-letter/




/* FONTS
---------------------------------------------------------------*/

@font-face {
	font-family: 'CallunaSansRegular';
	src: url('fonts/CallunaSansRegular-webfont.eot');
	src: url('fonts/CallunaSansRegular-webfont.eot?#iefix') format('embedded-opentype'),
		url('fonts/CallunaSansRegular-webfont.woff') format('woff'),
		url('fonts/CallunaSansRegular-webfont.ttf') format('truetype'),
		url('fonts/CallunaSansRegular-webfont.svg#CallunaSansRegular') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'CallunaSansBold';
	src: url('fonts/CallunaSansBold-webfont.eot');
	src: url('fonts/CallunaSansBold-webfont.eot?#iefix') format('embedded-opentype'),
		url('fonts/CallunaSansBold-webfont.woff') format('woff'),
		url('fonts/CallunaSansBold-webfont.ttf') format('truetype'),
		url('fonts/CallunaSansBold-webfont.svg#CallunaSansBold') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'CallunaSansBlack';
	src: url('fonts/CallunaSansBlack-webfont.eot');
	src: url('fonts/CallunaSansBlack-webfont.eot?#iefix') format('embedded-opentype'),
		url('fonts/CallunaSansBlack-webfont.woff') format('woff'),
		url('fonts/CallunaSansBlack-webfont.ttf') format('truetype'),
		url('fonts/CallunaSansBlack-webfont.svg#CallunaSansBlack') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'CallunaSansSemiboldRegular';
	src: url('fonts/CallunaSansSemiBold-webfont.eot');
	src: url('fonts/CallunaSansSemiBold-webfont.eot?#iefix') format('embedded-opentype'),
		url('fonts/CallunaSansSemiBold-webfont.woff') format('woff'),
		url('fonts/CallunaSansSemiBold-webfont.ttf') format('truetype'),
		url('fonts/CallunaSansSemiBold-webfont.svg#CallunaSansSemiboldRegular') format('svg');
	font-weight: normal;
	font-style: normal;


}


.elastic-video {
	position: relative;
	padding-bottom: 55%;
	padding-top: 15px;
	height: 0;
	overflow: hidden;
}

.elastic-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.slide-title {
	visibility: hidden;
	display: none;
}

.responsive-slider.flexslider {
	margin-bottom: 0px !important;
}


/* =Basic structure
-------------------------------------------------------------- */

/* Body, links, basics */
html {
	font-size: 100%;
}

body {
	font-family: CallunaRegular, Arial, sans-serif;
	text-rendering: optimizeLegibility;
}

#page {
	max-width: 940px;
	padding: 6%;
	margin: auto;
}

a {
	outline: none;
	color: #4559a2;
}

a:hover {
	color: #5e799e;
}

.more {
	text-decoration: none;
}

.big {
	font-size: 1.5em;
	color: #4b4b4c;
}

.big.mail {
	font-size: 1.2em;
}

.start-excerpts {
	color: #6d6a5f;
	padding-bottom: 5px;
	border-bottom: 1px solid #ddd;
	padding-top: 5px;
	border-top: 1px solid #ddd;
	margin-bottom: 1rem;
}

h2 {
	font-family: CallunaSansRegular;
	color: #4559a2;
	font-size: 1.3em;
	text-decoration: none;
	line-height: 1.5;
	margin-bottom: 1rem;
}

h2 a {
	font-family: CallunaSansRegular;
	color: #4559a2;
	font-size: 1.3em;
	text-decoration: none;
	line-height: normal;

}

h2 a:hover {
	color: #5e799e;
}

h3 {
	font-family: CallunaSansRegular;
	text-transform: none;
	color: #6d6a5f;
	font-size: 1.2em;
	text-decoration: none;
	line-height: 1.5;
	margin-bottom: 1rem;
}

h4 {
	font-family: CallunaSansRegular;
	color: #4559a2;
	font-size: 1.1em;
	text-decoration: none;
	line-height: 1.5;
	margin-bottom: 1rem;
}

h4 a {
	font-family: CallunaSansRegular;
	color: #4559a2;
	font-size: 1.1em;
	text-decoration: none;
	line-height: normal;
}

h4 a:hover {
	color: #5e799e;
}

hr {

	border: 1px dotted #d8d8d8;
	background: none;

}

p {
	font-size: 1.1em;
	line-height: 1.4;
	font-family: CallunaSansRegular;
	color: #4d4d4d;
}

p:not(.start-excerpts) {
	margin-bottom: 1rem;
}

#logo {
	cursor: pointer;
	float: left;
	width: 80%;
	max-width: 280px;
}


#slider {
	width: 100%;
	height: 100%;
	margin: 30px auto 0 auto !important;

	-webkit-box-shadow: 0px 0px 10px 5px #c9c9c9;
	box-shadow: 0px 0px 10px 5px #c9c9c9;
}

#main {
	clear: both;
}

#content {
	margin-top: 50px;
	width: 65%;
	float: left;
}


#sidebar {
	margin-top: 115px;
	padding: 10px;
	padding-right: 0px;
	padding-top: 0px;
	width: 30%;
	float: right;
	height: auto;
}

.header-image {

	-webkit-box-shadow: 0px 0px 10px 5px #c9c9c9;
	box-shadow: 0px 0px 10px 5px #c9c9c9;

	width: 100%;
	height: auto;
}

.attachment-page-image {
	width: 100%;
	height: auto;

	-webkit-box-shadow: 0px 0px 10px 5px #c9c9c9;
	box-shadow: 0px 0px 10px 5px #c9c9c9;
}

	img.wp-post-image {
    height: auto!important;
	}
}

.sidebar-element {
	padding: 30px;

	background: #eae9e5;
	-khtml-border-radius: 5px;
	/* CSS3 */
	-webkit-border-radius: 5px;
	/* CSS3 */
	-moz-border-radius: 5px;
	/* CSS3 */
	border-radius: 5px;
	/* CSS3 */
}

.sidebar-element:last-child {
	padding-bottom: 20px;
}

.single-news {
	margin-bottom: 30px;
}

#kontakt {
	margin-top: 20px;
}

.kategorie-startseite {
	width: 100%;
	height: auto;
}

.kategorie-startseite:nth-child(odd) img {
	float: right;
	margin-left: 20px;
	width: 30%;
}

.kategorie-startseite:nth-child(odd) .short-content {
	width: 60%;
	float: left;
}

.kategorie-startseite:nth-child(even) img {
	float: left;
	margin-right: 20px;
	width: 30%;
}

.kategorie-startseite:nth-child(even) .short-content {
	float: right;
	width: 60%;
}

.ie8 .kategorie-startseite img {
	float: right;
	margin-left: 20px;
	width: 30%;
}

.ie8 .kategorie-startseite .short-content {
	float: left;
	margin-left: 0px;
	width: 60%;
}

.single-article.attachment-kategorie-startseite img {
	float: right;
	width: 30%;
}

.single-article .short-content {
	float: left;
	width: 65%;
}

.single-article .post-content {
	clear: both;
}

.site-content ul {
	margin-bottom: 1rem;
}

.site-content ul li {
	font-size: 1.1em;
	list-style-type: square;
	line-height: 1.5;
	font-family: CallunaSansRegular;
	margin-left: 20px;
	-webkit-box-shadow: 0px 0px 0px 0px #c9c9c9;
	box-shadow: 0px 0px 0px 0px #c9c9c9;
}

#footer-wrap {
	width: 100%;
	min-height: 380px;
	background: #eae9e5;
	padding-top: 50px;
}

#footer {
	width: 88%;
	max-width: 950px;
	margin: auto;
	color: #848484;
	text-decoration: none;
	font-family: CallunaSansRegular;
	font-size: 1.15em;
}

#footer p,
#footer a {
	color: #848484;
	text-decoration: none;
	font-family: CallunaSansRegular;
	font-size: 1.0em;
	line-height: 1.2;
}

#footer a:hover {
	color: #444;
	text-decoration: none;
	font-family: CallunaSansRegular;
}

#left {
	float: left;
	margin-right: 100px;
	max-width: 300px;
}

#center {
	float: left;
	width: 20%;
	max-width: 300px;
}

#right {
	float: right;
	max-width: 300px;
}

#nach-oben {
	background: url('images/nach-oben_nm.png');
	width: 192px;
	height: 23px;
	cursor: pointer;
	float: right;
}

#nach-oben:hover {
	background: url('images/nach-oben_hv.png');
	width: 192px;
	height: 23px;
}

#right-content {}

#s {
	background: #e3e3e3;
	border: none;
	height: 28px;
	width: 60%;
	color: #848484;
	font-family: CallunaSansRegular;
	font-size: 1.1em;
	padding-left: 3%;

	-khtml-border-radius: 0px;
	/* CSS3 */
	-webkit-border-radius: 0px;
	/* CSS3 */
	-moz-border-radius: 0px;
	/* CSS3 */
	border-radius: 0px;
	/* CSS3 */
}

#searchsubmit {
	background: #d7d7d7;
	color: #646464;
	border: none;
	box-shadow: 0 0px 0px rgba(64, 64, 64, 0.1);
	width: 30%;
	height: 42px;
	vertical-align: top;

	-khtml-border-radius: 0px;
	/* CSS3 */
	-webkit-border-radius: 0px;
	/* CSS3 */
	-moz-border-radius: 0px;
	/* CSS3 */
	border-radius: 0px;
	/* CSS3 */
}

#searchsubmit:hover {
	background: #bfbfbf;
	color: #646464;
}

#searchsubmit:active {
	background: #f3f3f3;
	color: #646464;
}

#newsletter input {
	max-width: 200px;
}





/* Navigation Menu */
.main-navigation {
	float: right;
	margin-top: 95px;
}

.main-navigation ul li {
	display: inline;
	float: left;
	margin-left: 20px;
}

.main-navigation ul li a {
	text-decoration: none;
	font-family: CallunaSansSemiboldRegular;
	font-size: 1.20em;
	display: block;
	height: 40px;
	color: #a5a5a5;
}

.main-navigation ul li a:hover {
	color: #4559a2;
}

.main-navigation ul li:hover>ul {
	display: block;
}

.main-navigation ul li ul li.menu-item a {
	color: #a5a5a5;
}

.main-navigation ul li ul li.menu-item a:hover {
	color: #4559a2;
}

.main-navigation ul li.current-menu-parent a {
	color: #4559a2;
}

.main-navigation ul li.current-menu-item a {
	color: #4559a2;
}

.main-navigation ul li ul li.current-menu-item a {
	color: #4559a2;
}

.main-navigation ul ul {
	display: none;
	background: white;
	width: auto;
	position: absolute;
	z-index: 1000;
	padding: 10px;

	-webkit-box-shadow: 0px 0px 2px 1px #dadada;
	box-shadow: 0px 0px 2px 1px #dadada;
}

.main-navigation ul ul li {
	clear: both;
	width: auto;
	margin-left: 0px;
	padding-bottom: 10px;
}

.main-navigation ul ul li:last-child {
	padding-bottom: 0px;
}

.main-navigation ul ul li a {
	height: auto;
	color: grey;
}

/* Mobile Navigation Menu
----------------------------------------------*/

.mobile-nav-trigger {
	cursor: pointer;
	margin-top: 77px;
	float: right;
}

.mobile-navigation div ul li {
	width: 100%;
}

.mobile-navigation div ul a {
	color: #d4d4d4;
}

.mobile-navigation {
	padding-top: 20px;
	clear: both;
	width: 100%;
}

.mobile-navigation div ul li ul {
	display: none;
}

.mobile-navigation div ul li ul li a {
	background: #fff;
	color: #50c5de;
}

.mobile-navigation .current_page_item a {
	color: black;
}

.mobile-navigation div ul li a {
	width: 100%;
	display: block;
	color: #d4d4d4;
	text-decoration: none;
	text-align: left;
	font-size: 17px;
	font-family: CallunaSansRegular;
	padding-left: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #fff;
	border-bottom: 1px solid #f3f3f3;
}

.mobile-navigation div ul li a:active {


	background-color: #e6e6e6;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #e6e6e6, #f4f4f4);
	background-image: -ms-linear-gradient(top, #e6e6e6, #f4f4f4);
	background-image: -webkit-linear-gradient(top, #e6e6e6, #f4f4f4);
	background-image: -o-linear-gradient(top, #e6e6e6, #f4f4f4);
	background-image: linear-gradient(top, #e6e6e6, #f4f4f4);
	border: 1px solid #d2d2d2;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
}


/* ----------------------------------------------*/

/* Footer */
footer[role="contentinfo"] {
	border-top: 1px solid #ededed;
	clear: both;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	max-width: 960px;
	max-width: 68.571428571rem;
	margin-top: 24px;
	margin-top: 1.714285714rem;
	margin-left: auto;
	margin-right: auto;
	padding: 24px 0;
	padding: 1.714285714rem 0;
}

footer[role="contentinfo"] a {
	color: #686868;
}

footer[role="contentinfo"] a:hover {
	color: #21759b;
}




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

	#main-navigation {
		display: none;
		visibility: hidden;
	}

	.site-content img {
		width: 100%;
		height: 100%;
	}

	.site-content {
		margin-top: 30px;
	}

	.mobile-nav-trigger {
		display: block;
		visibility: visible;
		margin-top: 30%;
	}

	.mail {
		font-size: 1.2em;
	}

	.mobile-navigation {
		display: none;
		font-size: 80%;
	}

	.desktop {
		display: none;
		visibility: hidden;
	}

	.kategorie-startseite {
		text-align: center;
	}

	.kategorie-startseite:nth-child(odd) img {
		margin: auto;
		float: none;
		margin-bottom: 10px;
	}

	.kategorie-startseite:nth-child(odd) .short-content {
		float: left;
		text-align: left;
		width: 100%;
	}

	.kategorie-startseite:nth-child(even) img {
		margin: auto;
		float: none;
		margin-bottom: 10px;
	}

	.kategorie-startseite:nth-child(even) .short-content {
		float: left;
		text-align: left;
		width: 100%;
	}

	#logo {
		width: 80%;
		max-width: 280px;
	}

	#page {
		padding: 6%;
		font-size: 80%;
	}

	#content {
		margin-top: 20px;
		width: 100%;
	}

	#sidebar {
		margin-top: 20px;
		width: 100%;
		height: auto;
	}

	#footer-wrap {
		width: 100%;
		font-size: 80%;
		height: auto;
		float: none;
		clear: both;
		min-height: 360px;
		padding-top: 30px;
		padding-bottom: 30px;
	}

	#footer {
		width: 85%;
		max-width: 950px;
		margin: auto;
		padding: 10px;
		float: none;
		clear: both;
	}

	#left {
		width: 100%;
		float: none;
		clear: both;
	}

	#center {
		width: 100%;
		margin-top: 20px;
		height: auto;
		float: none;
		clear: both;
	}

	#right {
		width: 100%;
		margin-top: 20px;
		height: auto;
		float: none;
		clear: both;
	}

	#nach-oben {
		clear: both;
		float: none;
		margin: auto;
	}

	#right-content {
		margin-top: 10px;
		padding: 10px;
	}

	#s {
		width: 50%;
	}

	#searchsubmit {
		width: 30%;
	}

}


@media screen and (min-width: 300px) and (max-width: 549px) {

	#main-navigation {
		display: none;
		visibility: hidden;
	}

	.mobile-nav-trigger {
		display: block;
		visibility: visible;
	}

	.mobile-navigation {
		display: none;
	}

	#page {
		padding: 6%;
		font-size: 80%;
	}

	#content {
		margin-top: 50px;
		width: 100%;
	}

	#sidebar {
		margin-top: 20px;
		width: 100%;
		height: auto;
	}

	#footer-wrap {
		width: 100%;
		font-size: 80%;
		height: auto;
		float: none;
		clear: both;
		min-height: 360px;
		padding-top: 30px;
		padding-bottom: 30px;
	}

	#footer {
		width: 85%;
		max-width: 950px;
		margin: auto;
		padding: 10px;
		float: none;
		clear: both;
	}

	#left {
		width: 100%;
		float: none;
		clear: both;
	}

	#center {
		width: 100%;
		margin-top: 20px;
		height: auto;
		float: none;
		clear: both;
	}

	#right {
		width: 100%;
		margin-top: 20px;
		height: auto;
		float: none;
		clear: both;
	}

	#nach-oben {
		clear: both;
		float: none;
		margin: auto;
	}

	#right-content {
		margin-top: 10px;
		padding: 10px;
	}

	#s {
		width: 60%;
	}

	#searchsubmit {
		width: 30%;
	}

}

@media screen and (min-width: 550px) and (max-width: 839px) {

	#main-navigation {
		display: none;
		visibility: hidden;
	}

	.mobile-nav-trigger {
		display: block;
		visibility: visible;
	}

	.mobile-navigation {
		display: none;
	}

	#page {
		padding: 6%;
		font-size: 90%;
	}

	#content {
		margin-top: 50px;
		width: 100%;
	}

	#sidebar {
		margin-top: 20px;
		width: 100%;
	}

	#footer-wrap {
		width: 100%;
		font-size: 90%;
		background: #eae9e5;
		padding-top: 30px;
		padding-bottom: 30px;
		float: none;
		clear: both;
	}

	#footer {
		width: 85%;
		max-width: 950px;
		margin: auto;
		float: none;
		clear: both;
	}

	#left {
		width: 100%;
		float: none;
		clear: both;
	}

	#center {
		width: 100%;
		margin-top: 20px;
		float: none;
		clear: both;
	}

	#right {
		width: 100%;
		margin-top: 20px;
		float: none;
		clear: both;
	}

	#nach-oben {
		clear: both;
		float: none;
		margin: auto;
	}

	#right-content {
		margin-top: 10px;
		padding: 10px;
	}

	#s {
		width: 62%;
	}

	#searchsubmit {
		width: 30%;
	}

}


@media screen and (min-width: 840px) {

	.mobile-navigation,
	.mobile-nav-trigger {
		display: none;
		visibility: hidden;
	}

	.mobilanrufen {
		display: none;
		visibility: hidden;
	}

	#main-navigation {
		display: block;
		visibility: visible;
	}

	#logo {
		height: 100%;
	}

	#page {
		padding-top: 50px;
	}

}


/* =Print
----------------------------------------------- */

@media print {}