/*
	Theme Name: EMS-Grafische
	Theme URI: http://ems-grafische.at
	Description: Theme für Engelmaier
	Version: 1.4.3
	Author: Christoph Riegler
	Author URI: http://dockner.com
	Tags: Blank, HTML5, CSS3
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:88.5%;
}
body {
	font-family: 'Lato', sans-serif;
	color:#444;
	background-color: #d1d6d9;
}
main {
	padding: 0 20px 20px 20px;
}
ul {
	margin:0;
	padding:0;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}

input {
	outline:0;
	border:1px solid #0068b2;
	color: #0068b2;
	padding:8px;
	background-color:transparent;
	font-size:1em;
}

input:hover:before{transform: scaleX(1);}


h1 {
	text-transform:uppercase;
	color: #0068b2;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1080px;
	width:100%;
	margin:0 auto;
	position:relative;
	background-color:white;
}

#contentarea {
	width:95%;
	margin: 0 auto;
} 
/* header */
.header {
	background-color:white;
	height:auto;
}
/* logo */
.logo {
	margin-left:0;

}
.logo-img {
	width:165px;
	padding: 15px 15px;
}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}
/* footer */
.footer {
	background-color:#0068b2;

}

/*------------------------------------*\
    FOOTER
\*------------------------------------*/

.footer {
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.footer-item {
    flex-basis: 100%;
	padding: 5px 20px;
	box-sizing: border-box;
	color:white;
	align-self: flex-end;
}

.footer-item:first-of-type {
    flex-basis: 70%;
	padding: 5px 8px;
	box-sizing: border-box;
	color:white;
	align-self: flex-end;
}

.footer-item:last-of-type {
    flex-basis: 100%;
	padding: 20px 20px;
	box-sizing: border-box;
	color:white;
	align-self: flex-end;
	text-align: left;
}

.logo-img-footer {
	width:100%;
}

.footer-item h1 {
	font-weight: bold;
	font-size:1em;
	text-transform: uppercase;
}

footer .footer-menu{
} 
 
/* container class first unordered list*/
footer .footer-menu ul {} 
 
/*unordered list within an unordered list*/
footer .footer-menu- ul ul {} 
 
 /* each navigation item*/
footer .footer-menu li {
	display: inline;
	color: white;
	text-align: center;
	margin:0;
}

footer .footer-menu > #text {
	display:none;
}
 

footer .footer-menu > li > a {
	color:white;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 0.8em;
    border-right: 1px solid white;
	padding-right:10px;
	padding-left:10px;
	margin-left: -2.73328px;
}

footer .footer-menu > li:last-child > a {
    border-right: 0;
	padding-right: 0;
}

footer .footer-menu > li:first-child > a {
    padding-left:inherit;
}


/*------------------------------------*\
    NAV DESKTOP
\*------------------------------------*/
.rueckruf-desktop {
	display:none;
}



/* container class*/

.nav-desktop {
	display: none;
}

#slider .primary-menu{
	position: absolute;
	top: 239px;
	left:5px;
} 
 
/* container class first unordered list*/
#slider .primary-menu ul {} 
 
/*unordered list within an unordered list*/
#slider .primary-menu ul ul {} 
 
 /* each navigation item*/
#slider .primary-menu li {
	display: inline-block;
	padding: 10px 20px;
	background-color: #0068b2;
	color: white;
	font-size: 0.9em;
	margin: 0 2px;
}

 
/* each navigation item anchor*/
#slider .primary-menu li a {
	color:white;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 1.5px;
} 

 
/* unordered list if there is drop down items*/
#slider .primary-menu li ul {} 
 
/* each drop down navigation item*/
#slider .primary-menu li li {} 
 
/* each drap down navigation item anchor */
#slider .primary-menu li li a {} 



/*------------------------------------*\
    NAV MOBILE
\*------------------------------------*/

 /* The side navigation menu - mobile*/
.rueckruf-sidenav {
	text-align: center;
}

.rueckruf-sidenav img {
	width:75%;
	margin: 40px 0;
}

.fa-bars {
	font-size:1.7em;
}
.sidenav {
    height: 100%; 
    width: 0; 
    position: fixed; 
    z-index: 1; 
    top: 0; 
    right: 0;
    background-color: #0068b2; 
    overflow-x: hidden; 
    padding-top: 60px; 
    transition: 0.5s; 
}
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: white;
    display: block;
    transition: 0.3s;
}
.sidenav a:hover {
    color: #f1f1f1;
}
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-right: 50px;
}

.sidenav-button {
	display: block;
	position: absolute;
	top:35px;
	right:20px;
}

@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
} 

#sidenav .footer-menu-mobile{
} 
 
/* container class first unordered list*/
#sidenav .footer-menu-mobile ul {} 
 
/*unordered list within an unordered list*/
#sidenav .footer-menu-mobile ul ul {} 
 
 /* each navigation item*/
#sidenav .footer-menu-mobile li {
	display: block;
	padding: 5px 0;
	background-color: #006FBE;
	color: white;
	margin:  3px 0;
	text-align: center;
	width: 280px;
}
 
/* each navigation item anchor*/
#sidenav .footer-menu-mobile li a {
	color:white;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 0.7em;
} 
 


/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('../html5blank-stable/fonts/font-name.eot');
	src:url('../html5blank-stable/fonts/font-name.eot?#iefix') format('embedded-opentype'),
url('../html5blank-stable/fonts/font-name.woff') format('woff'),
url('../html5blank-stable/fonts/font-name.ttf') format('truetype'),
url('../html5blank-stable/fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:58.4375em) { 
	/* CSS rules here */

	
	.logo-img {
    width: 200px;
    padding: 5px 10px;
	}
	
	
	.header {
	height:80px;
	}
	
}
@media only screen and (min-width:500px)and (max-width:1080px) {
	.footer-item:first-of-type {
		flex-basis: 100%;
		max-width: 200px;
		padding: 20px 10px 5px 10px;
		box-sizing: border-box;
		color:white;
		align-self: flex-end;
	}
}

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

	.logo {
	margin-left:850px;
	}	
	
	.nav-desktop {
	display: inherit;
}
	.sidenav-button {
	display: none;
	}
	
	.footer-item {
    flex-basis: 25%;
	padding: 20px;
	box-sizing: border-box;
	color:white;
	align-self: flex-end;
}

.footer-item:first-of-type {
    flex-basis: 19%;
	padding: 20px;
	box-sizing: border-box;
	color:white;
	align-self: flex-end;
}
.footer-item:last-of-type {
    flex-basis: 31%;
	padding: 20px;
	box-sizing: border-box;
	color:white;
	align-self: flex-end;
	text-align: right;
}
	
.footer {
	flex-wrap: nowrap;
}
	
footer .footer-menu > li:first-child > a {
    padding-left:0;
}
	
.rueckruf-desktop {
	position: absolute;
	top:200px;
	right: 20px;
	display:inherit;
	width: 150px;
	z-index: 300;
}

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
