@import "portfolio.css";
@import "calendarext.css";
@import "meditationen.css";

/* MAIN LAYOUT */
body {
	margin: 0;
	background-image: url(../images/grundverlauf-blau.jpg);
	background-repeat: repeat-x;
	background-color: #fff;
	min-width: 240px;
	-webkit-text-size-adjust: none; /* The text size is not adjusted for Safari on iPhone */
}
#himmel {position:relative;background-image: url(../images/himmel_alt.png);
	background-repeat:no-repeat;max-width:960px;height:300px;margin:0 auto;z-index:-1;}

div.container {
	max-width:960px;
}
header {
	margin:-300px auto 0 auto;
	max-width:960px;
}

	div.main {
	    padding: 40px 0 60px;
	    min-height: 300px;
	}
	.inner {
	    max-width: 1100px;
	    margin: 0 auto;
	    padding: 0;
	}
	.navbar-brand {
	    float: left;
	    padding: 15px 0px;
	    font-size: 18px;
	    line-height: 20px;
	    height: 50px;
	}
	.sidebar { 
	    margin-top: 26px;
	}
	article {
		
	}


/* HEADER */

.navbar-default {
    background-color: transparent;
    border-color: transparent;
}
	/* Brand */
	header .brand, header .brand:hover {
	    float: left;
	    color: #fff;
	    display: inline-block;
	}
	#logo img {
		max-width:240px;
		height:auto;
		width:100%;}

/* Top Navigation */
.navbar-default .navbar-nav li a {
	font-family: 'EB Garamond', serif;
    color: #fff;
    font-size:1.6em;
}
.navbar-default .navbar-nav li a:hover, .navbar-default .navbar-nav li a.current {
    color: #f00;
}

	/* Secondary navigation */
	.main .secondary h3 {
	    font-size: 20px;
	    color: #AAA;
	    margin: 0 0 8px 0;
	    font-family: 'EB Garamond', serif;
	}
	.main .secondary {
	    border-bottom: 1px solid #e5e5e5;
	}
		.main .secondary ul {
		    padding: 0;
		    margin: 0;
		}
		.main .secondary li {
		    border-top: 1px solid #e5e5e5;
		    position: relative;
		    list-style-type: none;
		    margin-bottom: 0;
		}
		.main .secondary li a {
			font-family: 'EB Garamond', serif; 
    		font-weight: normal;
		    padding: 6px 0;
		    display: block;
		    letter-spacing: 1px;
		    font-size: 1.5em;
		    color: #333;
		    border-bottom: none;
		}
		.main .secondary li a:hover {
		    color: #b80000;
		}
		.main .secondary li.current a.current {
			color: #b80000;
		}
			.main .secondary li.section a,
			.main .secondary li.current a {
			    color: #000;
			}
		
	/* Sociallink */
	li.social {
		background: none;
		margin: 0;
		padding: 0;
	}
	/* Aktuell */
	div.actualbox {
		border: 1px solid #ccc;
		background-color: #efefef;
		margin: 12px 0px;
		padding: 6px;
		text-align:center;
	}
	div.actualbox h3 {
		/* hyphens */
   -moz-hyphens: auto;
   -o-hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
   hyphens: auto;
	}
	div.actualbox p {
		padding:0;
		margin:0;
	}
	div.actualbox img {
		border: 0px;
		max-width:100%;
	}

/* Portfolio */
#Suchfeld {margin:12px 0;}
#Suchfeld p {margin:0;}


/* MIXED */
header:after,
.main:after,
#Root:after,
.search-bar:after,
header .inner:after,
footer:after { /* clearfix */
    height: 0;
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
}
.search-bar form input.action,
.header .primary li a,
.footer a { /* adds color transition when links/inputs on hover */
    -moz-transition: color 0.2s;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}
.footer a.brand { color: #333; margin-left: 0; }
.footer a.brand:hover { color: #B80000; }
body h1 span.amp {
    font-family: 'EB Garamond', serif;
    font-style: italic;
}


/* FOOTER */
.footer {
    color: #999;
    background: #ededed;
    padding: 20px 0;
    font-size: 11px;
    line-height: 22px;
}
	.footer a {
	    color: #999;
	}
	.footer a:hover {
	    color: #B90000;
	}
	.footer p.Slogan {
		font-family: 'EB Garamond', serif;
		font-size:2em;
		font-weight: normal;
		margin-bottom: 30px;
		color: #444;
	}
	.footer span.SloganKlein {
		font-family: 'EB Garamond', serif;
		font-size:0.8em;
		font-weight: normal;
		margin-bottom: 10px;
		color: #666;
	}
	.footer #schriftzug img {width:120px;height:auto;margin-right:4px;}


/* BREAKPOINT 960px */

@media only screen and (max-width: 960px) {
	.content img {
	    max-width: 97%;
	    height: auto;
	}
	.header .primary ul {
	    margin-left: -12px;
	    -webkit-padding-start: 0px; /* removes default webkit padding on ul items */
	}
	iframe {
		width: 100%;
    	max-width: 560px;
	}
}

/* BREAKPOINT 640px */

/* when changing the breakpoint below, change it ito the same value in the script.js file as well */
@media only screen and (max-width: 640px) { 
	body {
	    max-width: 640px;
	}
	#media-query-trigger {
	    visibility: visible;
	}
	iframe {
		width: 100%;
    	max-width: 560px;
	}

	/* Navigation****************************************/
	
	/* Calendar Controls */
	.event-calendar-controls {
	    width: 100%;
	    clear: both;
	}
	.indexsuche a {
	    background: #ccc;
	    color: #fff;
	    border: 1px solid #ccc;
	    margin: 3px 0px;
	    padding: 6px;
	    display: inline-block;
	    border-radius: 4px;
	    font-size: 18px;
	    line-height: auto;
	    min-width: 12px;
	    height: 12px;
	    text-align: center;
	}
	
	/* Smart-Buttons */
	button {font-size:2em!important;}
	span.Tage  {font-size:1.3em!important;margin:4px!important;display:inline-block;}
	div.open {display:none;}
	div.open p {
		font-size: 1.3em !important;
		margin: 4px !important;
		padding: 6px 1px;
		display: inline-block;
		}
	/*.infoverdeckt {display:inline-block;}*/

			/* Secondary */
			
			.main .secondary {border:none;}
			.tablet-nav .secondary ul {
		    position: relative;
		    float: left;
			display: none; /* initially hiding the navigation */
		    margin: 0;
		    padding: 0;
		    white-space: normal;
		    width: 100%;
		}
			.tablet-nav .secondary ul li {
			    width: 100%;
			    margin: 0;
			    padding: 0;
			    float: none; 
				background-image: linear-gradient(#dcebfc, #c6dffc);
				background: -webkit-gradient(linear, center top, center bottom, from(#dcebfc), to(#c6dffc));
			    position: relative;
			    text-shadow: 0 1px #fff;
			}
			.tablet-nav .secondary ul li:first-child {
					border-top-left-radius: 8px;
					border-top-right-radius: 8px;
				}
			.tablet-nav .secondary ul li:last-child {
					border-bottom-left-radius: 8px;
					border-bottom-right-radius: 8px;
				}
			.tablet-nav .secondary ul li a,
			.tablet-nav .secondary ul li.current a,
			.tablet-nav .secondary ul li.section a { /* styling the  top level nav links */
			    padding: 10px 0 10px 22px;
			    font-weight: bold;
			    color: #4a96e6;
				display:block;
			}

			
			.tablet-nav .secondary ul li.current a,
			.tablet-nav .secondary ul li.section a {
				color:#900;
			}
			.tablet-nav .secondary ul li a:hover {
			    color:#f00;
			}

	/* Meditationen */
	button#wochentage, button#orte, button#kontakte, button.daybutton {
	    background: #ccc;
	    color: #fff;
	    border: 1px solid #999!important;
	    margin: 0 4px 4px 0;
	    font-size: 1.4em !important;
	    width: 100%;

	}
	/* Sociallink */
	li.social {
		background: none;
		margin: 12px 0 0 0!important;
		padding: 0;
	}
	/* Content */
	div#colum1, div#colum2, div#colum3 {
	    width: 100%;
	    margin: 0;
	    padding:0;
	    clear:both;
	}

	/* Search Form */
	.search-bar { /* adds new styling to mobile search bar */
	    width: 100%;
	    position: relative;
	    top: 0;
	    right: 0;
	    display: none; /* hides searchbar initially */
	    padding: 20px 0;
	    margin: 0;
	    background-color: #E7E7E7;
	}
	.search-dropdown-icon { /* styling for search toggle button */
	    display: none;
	    cursor: pointer;
	    width: 20px;
	    height: 20px;
	    position: absolute;
	    right: 60px;
	    top: 34px;
	    font-family: 'WebSymbolsRegular';
	    font-size: 20px;
	    color: #ededed;
	    text-align: center;
	    line-height: 20px;
	}
	.search-bar form {
	    margin: 0;
	    width: 100%;
	}
		.search-bar form fieldset {
		    padding: 0 18px;
		    left: 0;
		    right: 0;
		    position: relative;
		}
	.search-bar div.field {
	    margin-bottom: 0;
	}
	.search-bar form input.text {
	    width: 89%; /* makes search input full width - allowing for space either side */
	    max-width: 89%;
	    padding: 8px 10% 8px 1%;
	    text-indent: 15px;
	    position: relative;
	    display: block;
	    right: 0;
	    left: 0;
	    border: 1px solid #e5e5e5;
	    background: #fff;
	    font-size: 17px;
	    -moz-border-radius: 20px; /* increase border radius due to increased padding */
		border-radius: 20px;
	}
	.search-bar form input.action {
	    right: 5%;
	    top: 2px;
	    font-size: 18px;
	}

	/* Main Content */
	.main {
	    padding: 20px 0 45px; /* decrease padding so that more content can fit on screen */
	}
	.content-container,
	.sidebar {
	    width: 100%; /* sidenav is now shown above the page content */
	    margin-bottom: 30px;
	}
		.typography h1 { /* decrease size of page heading due to smaller screen */
		    font-size: 30px;
			line-height:35px;
		    margin-bottom: 15px;
		    padding-bottom: 10px;
		}
		.typography p {
		    font-size: 14px;
		    line-height: 23px;
		}
	p.intro {
	    font-size: 19px;
	    line-height: 27px;
	}
	.main .inner {
	    padding: 0 12px;
	}
	.unit {
		padding:0;
	}
	/* Secondry Nav */
	.secondary li a {
	    line-height: 24px;
	}
	.secondary li .arrow {
	    line-height: 26px;
	}
	/* Footer */
	.footer .right {
	    float: left;
	    width: 100%;
	}
}

/*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	#himmel {
	    display:none;
	}
	header {
		margin:0;
	}
	div.navbar-header {
		height:150px;
	}
	.dropdown-menu {
	    position: static;
	    display: block;
	    width:100%;
	    z-index:999;
	    background:none;
	    border:none;
	    box-shadow: none;
	}
	.nav li {
	    position: static;
	    display: inline-block;
	    width:100%;
	}
	ul.link {
		display:none;
	}
	nav.secondary {
		display:none;
	}
	nav.mv {
		display:block;
	}
	#main-menu ul li a {
		font-size:1.6em;
		color:#333;
	}
	#main-menu ul li a:hover {
		color:red;
	}
	#main-menu ul li li a {
		padding-left:30px;
	}
	.sidebar {
	    margin:0;
	}
	.footer {
		padding: 0 15px;
	}
}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {

}

/* Custom, iPhone Retina */ 
@media only screen and (max-width : 320px) {

}

/* Print Styles */

/* Based on HTML5 boilerplate print styles */
@media print {
	* {
	    background: transparent !important;
	    color: black !important;
	    box-shadow: none !important;
	    text-shadow: none !important;
	    filter: none !important;
	    -ms-filter: none !important;
	}
	a,
	a:visited {
	    text-decoration: underline
	}
	a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

	thead {
	    display: table-header-group
	}
	tr,
	img {
	    page-break-inside: avoid
	}
	img {
	    max-width: 100% !important
	}
	pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    @page {
        margin: 0.5cm;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    /* Simple theme custom print styles */
	.header,
	.footer,
    .nav-open-button,
    .search-bar,
    .search-dropdown-icon,
    nav.primary {
	    display: none;
	}
}