/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, 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,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* */

/* */
html {
	width:100%;
	height:100%;
}
body
{
	-webkit-text-size-adjust: none;
	background-color:rgb(255, 239, 237);
	height:100%;
	width:100%;
}
body *
{
	text-shadow: none;
}

body.home {
	background-image: url('/assets/css/img/home-bg.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
body.home .mm-page {
	background: transparent !important;
}


div {
	-moz-box-sizing: border-box;
	box-sizing: border-box;	
}

iframe {
	width: 100%;
}

/* */

body,p,blockquote,td,li,h1{
	font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
	color:rgba(0, 0, 0, 0.8);
}

b,strong {
	font-weight: 400;
	color: #333;
}

i,em {
	font-style: italic;
}

/*
color: rgba(0, 0, 0, 0.54);
*/

ul {
}

ol {
	list-style-type: decimal;
	list-style-position: outside;
	margin-left:2em;
}
p,blockquote,td,li,h2{
	font-weight: 300;
	font-size: 16px;
	line-height:22px;
}

p,ul,ol,h2 {
	padding-bottom: 16px;
}

h1{
	font-weight: 300;
	font-size: 28px;
	line-height:34px;
	padding: 22px 0 22px 0;
	max-width: 500px;
}

h2{
	font-size: 20px;
	font-weight: 400;
	padding: 22px 0 16px 0;
}

.content ul > li {
	margin-left:1em;
	position:relative;
}

.content ul > li:before {
	content:'–';
	position:absolute;
	left:-1em;
}

.content ol > li {
	margin-bottom: 8px;
}

.content p a {
	text-decoration:none;
	border-bottom: 1px solid rgba(0, 0, 0, 0.87);
}

.content a,
.content a:active,
.content a:visited {
	color: inherit;
}

.content a:hover {
	color: red;
}

hr {
	border: 0;
    height: 1px;
    background: #ccc;
}

.small {
	font-size: 12px;
	color: #999;
	margin:0;
	padding:0;
}

.small i.fa {
	margin-right: 7px;
}

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

nav:not(.mm-menu)
{
	display: none;
}

/* */

.row {
	max-width:940px;
	margin-right: 0px; /* 140px placing images */
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.header {
	padding: 0px 50px 0px 50px;
}
.content {
	padding: 0px 50px;
}
.footer {
	padding: 50px 50px 0px 50px;
	margin: 50px 0;
	border-top: 1px solid #ccc;
}


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

.header {
	position:relative;
}

.header #logo,
.footer #footer-image {
	float:right;
	max-width:100%;
	width:40%;
	height:auto;
}

body.home #logo {
	width: auto;
}

.hamburger {
	position:absolute;
	top:10px;
	left:35px;
}
.hamburger-inner,
.hamburger-inner:after,
.hamburger-inner:before {
	background-color: rgb(178, 42, 38);
}

body.home .hamburger-inner,
body.home .hamburger-inner:after,
body.home .hamburger-inner:before {
	background-color: rgb(255, 255, 255);
}

.mm-menu {
	/* background: rgb(178, 42, 38); */
	background-color: #ffffff;
	border-color: rgba(0, 0, 0, 0.5);
	color: #ffffff;
	/*
	background: #f3f3f3;
	border-color: rgba(0, 0, 0, .1);
	color: rgba(0, 0, 0, .75);
	*/
}

/* menu title */
.mm-navbar {
	text-align:left;
	/*
	padding: 0 20px;
	*/
}
#mm-0 > .mm-navbar {
	padding-left:20px;
}

.mm-menu .mm-navbar a, .mm-menu .mm-navbar>* {
	color: rgba(255, 255, 255, 0.65);
	font-weight: 400;
}
/* menu links */
.mm-menu .mm-listview>li a:not(.mm-next) {
	color: rgba(255, 255, 255, 0.65);
	font-weight: 400;
}
/* menu text */
.mm-menu .mm-listview>li span:not(.mm-next) {
	color: rgba(255, 255, 255, 0.65);
	font-weight: 400;
}

/* menu pfeile und linien */
.mm-menu,
.mm-menu .mm-listview,
.mm-menu .mm-listview>li .mm-next:after,
.mm-menu .mm-btn:after, .mm-menu .mm-btn:before {
	border-color: rgba(255, 255, 255, .65);
}

/* text overflow */

.mm-listview .mm-divider, .mm-listview>li>a, .mm-listview>li>span {
	text-overflow: clip;
	white-space: normal;
	overflow: visible;
}

.mm-navbar .mm-title {
	white-space: nowrap;
	overflow: ellipsis;
}


/* selected, hover */
.mm-menu .mm-listview>li.mm-selected>a:not(.mm-next),
.mm-menu .mm-listview>li.mm-selected>span {
	/* background: rgba(178, 42, 38, 0.65) */
	background:none;
	color: rgba(255, 255, 255, 1);
}

.mm-menu .mm-listview>li>a:hover,
.mm-menu .mm-listview>li:not(.quote):hover>span {
	color: rgba(255, 255, 255, 1);
}

/* Nav Background Image */

.mm-panels {
	background-color: rgb(178, 42, 38);
	background-image: url('/assets/css/img/sidebar-bg.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

/* Spruch */
li.quote {
	margin-bottom:30px;
	margin-top:15px;
	padding-right:30px;
	border-color:transparent;
}
li.quote > span {
	font-style: italic;
}
/* Kontakt */
li.quote.contact p {
	color:#fff;
}
li.quote.contact > span {
	font-style: normal;
}
/* Homepage */

.cite h1,
.cite p {
	color: #fff;
}

.cite h1 {
	margin-top:10%;
	font-style: italic
}

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

/* standard */
figure,
.standard-images.single {
	margin-left: 20px;
	margin-top: 5px;
	margin-bottom: 5px;
	position:relative;
	float:right;
}
figure {
	width: 200px;
	height: auto;
}
figure img {
	width:100%;
	height:auto;
}

.standard-images.gallery {
	margin-top: 50px;
}
.standard-images.gallery a {
	display: inline;
	float: left;
	margin: 0 10px 10px 0;
}


/* polaroid */

.polaroid-images {
	margin-left: 20px;
	position:relative;
	float:right;
}

.polaroid-images.single {
	margin-top: 0px;
	margin-right: 0px; /* placing images -160px */
}

.polaroid-images.gallery {
	margin-top: 50px;
}

.polaroid-images a
{
	background: white;
	display: inline;
	float: left;
	margin: 0 15px 30px;
	padding: 10px 10px 25px;
	text-align: center;
	text-decoration: none;
	-webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
	-moz-box-shadow: 0 4px 6px rgba(0,0,0,.3);
	box-shadow: 0 4px 6px rgba(0,0,0,.3);
	-webkit-transition: all .15s linear;
	-moz-transition: all .15s linear;
	transition: all .15s linear;
	z-index:0;
    /*position:absolute;*/
    top:0px;
    right:0px;
}
.polaroid-images a:first-child{
    position:relative;
}

.polaroid-images.single a {
	cursor: default;
	-webkit-transform: rotate(5deg);  
	-moz-transform: rotate(5deg); 
	transform: rotate(5deg); 
}

.polaroid-images a:after {
	color: #333;
	font-size: 12px;
	font-style: italic;
	content: attr(title);
	position: relative;
	top:12px;
}

.polaroid-images img { 
	display: block; 
	width: inherit; 
}


.polaroid-images a:nth-child(2n)
{
	-webkit-transform: rotate(5deg);  
	-moz-transform: rotate(5deg); 
	transform: rotate(5deg); 
}
.polaroid-images a:nth-child(3n) { 
	-webkit-transform: rotate(-10deg);  
	-moz-transform: rotate(-10deg); 
	transform: rotate(-10deg); 
}
.polaroid-images a:nth-child(4n)
{
	-webkit-transform: rotate(10deg);  
	-moz-transform: rotate(10deg); 
	transform: rotate(10deg); 
}
.polaroid-images a:nth-child(5n)
{
	-webkit-transform: rotate(-5deg);  
	-moz-transform: rotate(-5deg); 
	transform: rotate(-5deg); 
}


.polaroid-images.gallery a:hover{
	-webkit-transform: rotate(0deg); 
	-moz-transform: rotate(0deg);
        transform: rotate(0deg);
	-webkit-transform: scale(1.2); 
	-moz-transform: scale(1.2);
        transform: scale(1.2);
	z-index:10;
	-webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, .7);
	-moz-box-shadow: 0 10px 20px rgba(0,0,0,.7);
        box-shadow: 0 10px 20px rgba(0,0,0,.7);
}

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

@media (min-width: 900px) {
	button#micon.hamburger {
		display:none;
	}
}

