/*
	Theme Name: Verein IBI
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

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

/* design tokens */
:root {
	--accent:#f57c1f;
	--accent-dark:#d9650c;
	--ink:#2c2c2c;
	--muted:#6b6b6b;
	--line:#ececec;
	--bg:#f4f5f7;
	--card:#ffffff;
}

/* 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:62.5%;
}
body {
	margin-top:40px;
	margin-bottom:40px;
	font:400 12px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:var(--ink);
	background:var(--bg);
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:var(--accent);
	text-decoration:none;
	transition:color .2s ease;
}
a:hover {
	color:var(--accent-dark);
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input {
	border:1px solid var(--line);
	border-radius:6px;
	padding:8px 10px;
	transition:border-color .2s ease, box-shadow .2s ease;
}
input:focus {
	outline:0;
	border:1px solid var(--accent);
	box-shadow:0 0 0 3px rgba(245,124,31,.15);
}

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

/* wrapper */
.wrapper {
	max-width:1100px;
	margin:0 auto;
	width:100%;
	position:relative;
	background:var(--card);
	border:1px solid var(--line);
	border-radius:14px;
	box-shadow:0 10px 30px rgba(0,0,0,.06);
	padding:28px 28px 16px 28px;
}
/* header */
.header {
}
/* logo */
.logo {
	float:left;
	width:20%;
}

.headertext{
	float:right;
	width:70%;
	text-align:right;
	font-size:1.5em;
	margin-top:40px;
	color:var(--muted);
	font-weight:300;
	line-height:1.4;
}
.logo-img {
	border-radius:8px;
}
/* nav */

.menu{
		display:none;
	}



.nav {
	background:orange;
	text-align:center;
	width:100%;
	float:right;
	margin-top:20px;
	border-radius:10px;
	box-shadow:0 4px 12px rgba(255,165,0,.25);
}

.nav a {
		color:white;
		font-size:1.35em;
		display:block;
		padding:10px 4px;
		border-radius:7px;
		white-space:nowrap;
		transition:background .2s ease;
}

.nav a:hover{
	color:white;
	text-decoration:none;
	background:rgba(255,255,255,.18);
}

.page_item a:hover, .current_page_item a, .current_page_parent a {
	background:rgba(255,255,255,.22);
}

.nav ul{
	background:transparent;
	margin:0 auto;
	padding:0;
	width:100%;
	text-align:center;
}

.nav li{
	list-style-type:none;
	background:transparent;
	width:auto;
	margin-right:4px;
	margin-left:4px;
	display: inline-block;
}

.headerpic{
	height:auto;
	margin-top:20px;
}

.headerpic img{
	border-radius:10px;
	display:block;
	width: 100%;
}

#content{
	float:left;
	width:70%;
}

/* sidebar */
.sidebar {
	float:right;
	width:20%;
	margin-top:10px;
	font-size:1.3em;
	line-height:1.6;
}


/* footer */
.footer {
	margin:24px 0 0 0;
}

.copyright{
	margin:0;
	text-align:center;
	border-top:1px solid var(--line);
	padding:16px 0 4px 0;
	font-size:1.2em;
	color:var(--muted);
}



p{
	font-size:1.5em;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

.textwidget{
	margin-bottom:30px;
}
/*------------------------------------*\
    IMAGES
\*------------------------------------*/


 .ngg-galleryoverview {
overflow: hidden;
margin-top: 10px;
width: 880px;
clear:both;
display:block !important;
} 

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

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

h2{
	color:var(--accent);
	font-weight:600;
	line-height:1.25;
}

h3, h4{
	color:var(--ink);
	font-weight:600;
	line-height:1.3;
}

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

@media only screen and (max-width:900px) {
	body{
		margin:0;
	}
	
	.wrapper{
		border:none;
		padding:20px 5px 10px 5px;
	}
	
	.headertext{
		margin-top:20px;
	}
}
@media only screen and (max-width:850px) {
	.nav li{
		float:none;
		display:none;
		background:rgba(0,0,0,.08);
		width:100%;
		padding:0;
		margin:0;
		border-radius:0;
	}
	.nav li a{
		border-radius:0;
	}
	.menu{
		display:block;
		height:40px;
		line-height:40px;
		color:white;
		font-size:1.5em;
		cursor:pointer;
		letter-spacing:.5px;
	}
}
@media only screen and (max-width:700px) {

	.sidebar{
		display:none;
	}
	
	#content{
		width:100%;
	}
	
	.headertext{
		margin-top:10px;
	}

}
@media only screen and (max-width:510px) {
	.headertext{
		font-size:1em;
	}

}
@media only screen and (max-width:455px) {
	#uber{
		display:none;
	}
}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

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

::selection {
	background:var(--accent);
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:var(--accent);
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:var(--accent);
	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;
	}
}
