
/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #333;
}

body {
    font-size: 1em;
    line-height: 1.4em;
    background:url(../images/paper.jpg)repeat center;
}

::-moz-selection {
    background: #fff;
    text-shadow: none;
}

::selection {
    background: #fff;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #777;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #333;
    padding: 0.2em 0;
}

/*
.ui-tooltip {
	background: white;
	padding: 5px;
	width: 150px;
	font: 1em/1.5em 'Barlow Semi Condensed', Sans-Serif;
	color: #8B8B8B;
	-webkit-box-shadow: 0 5px 10px -5px #777;
	box-shadow: 0 5px 10px -5px #777;
}
.ui-helper-hidden-accessible {
    visibility:hidden;
}
*/

.ui-accordion-header {
	clear:both;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body, .xtra {
    font: 16px/26px 'Barlow Semi Condensed', sans-serif;
    font-weight: normal;
    font-style: normal;
	color: #333;
    margin:0;
    padding:0;
}

.main-container, body.xtra {
	background:transparent;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

.wrapper a:link,
.wrapper a:visited {
	color:#222;
}
.wrapper a:hover {
	color:#444;
}
/* ===================
    ALL: HANNSTHAELE Theme
   =================== */

.header-container {
	min-height: 126px;
	background: transparent;
    margin:40px 0;
    padding:0;
}

.footer-container {
	background:transparent;
}
.footer-container .wrapper {
	font-size:1em;
    color:#222;
}

nav {
	text-align:center;
    width: 100%;
	background:transparent;
}
.lft {
    float: left; margin: 10px 20px 20px 0;
}
.rt {
    float: right; margin: 10px 0 20px 20px;
}
.cnt {
	margin:auto;
}
.linksbuendig {
	text-align:left;
}
.rechtsbuendig {
	text-align:right;
}
.mittig {
	text-align:center;
}
header,
footer {
	clear:both;
	display:block;
	margin:0;
}

td {
	border:none;
	padding-bottom:20px;
	vertical-align:top;
}
.main .red, .main article a.red {
	color:#C00;
}


/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 20px 0;/*9 former 30px 0*/
}
.main article {
	width:100%;
}
/*.xtra {
	width: 400px;
}*/
.main h1,
.main h2,
.main h3 {
    font-size: 1.2em;
	font-weight: normal;
    line-height: 1.3em;
	color:#333;
	margin:0 0 5px 0;
	padding:0;
	outline:none;
}

.main article a:link,
.main article a:visited,
.xtra a:link,
.xtra a:visited,
aside a:link,
aside a:visited {
	text-decoration:underline;
	color:#222;
	outline:none;
}
.main article p,
.xtra p,
aside p {
	margin: 0 0 10px 0;
	padding: 0;
	line-height:1.3em;
}
.main article a:hover,
.xtra a:hover,
aside a:hover {
	text-decoration:underline;
	color:#444;
	outline:none;
}
.main article img {
	max-width:100%;
	max-height:inherit;
    margin:0 0 5px 0;
    padding:0;
}
a img:hover {
	opacity: .9;
	filter: alpha(opacity = 90);
}


.main aside {
	font-size:0.85em;
	line-height: 1.5;
    color: #333;
    padding: 0px 1% 10px;
}

.footer-container footer {
    padding: 20px 0;
}
.twocol {
    -webkit-columns: 380px 2; /* Chrome, Safari, Opera */
    -moz-columns: 380px 2; /* Firefox */
    columns: 380px 2;
}
.threecol {
    -webkit-columns: 310px 3; /* Chrome, Safari, Opera */
    -moz-columns: 310px 3; /* Firefox */
    columns: 310px 3;
}

/*
.ths div {
    float:left;
    width:220px;
    margin:0 30px 10px 0;
    display: table-cell;
    text-align: center;
}
.ths img {
    margin-bottom:20px;
}
*/
/*masonry */
.masonry {
    display: grid;
    grid-gap: 1em;
    grid-template-columns: repeat(auto-fill, minmax(240px,1fr));
    grid-auto-rows: 0;
  }

/*
  .masonry-content {
    overflow: hidden;
  }
*/

  .masonry-brick {
    transition: opacity .25s ease-in-out;
    text-align: center;
  }

  .masonry-brick:hover {
     opacity: .95;
  }

  .masonry-title,
  .masonry-description {
    margin: 10px 0 0 0;
    text-align: center;
  }

  .masonry-content a:link,
  .masonry-content a:visited {
	text-decoration:underline;
	color:#222;
	outline:none;
    line-height:1.3em;
}
.masonry-content a:hover {
	color:#444;
	outline:none;
}
/* masonry end */

.main article a.btn, .main article input.btn {
	background:#ccc;
	color:#333;
	border:none;
	-webkit-box-shadow: 0 5px 10px -5px #333;
	box-shadow: 0 5px 10px -5px #333;
	border-radius:5px;
	padding:3px 10px;
	margin:5px 5px 5px 0;
	display:inline-block;
	background: #ffffff; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPHJhZGlhbEdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY3g9IjUwJSIgY3k9IjUwJSIgcj0iNzUlIj4KICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjY2NjY2NjIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L3JhZGlhbEdyYWRpZW50PgogIDxyZWN0IHg9Ii01MCIgeT0iLTUwIiB3aWR0aD0iMTAxIiBoZWlnaHQ9IjEwMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-radial-gradient(center, ellipse cover,  #ffffff 0%, #cccccc 100%); /* FF3.6+ */
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#ffffff), color-stop(100%,#cccccc)); /* Chrome,Safari4+ */
	background: -webkit-radial-gradient(center, ellipse cover,  #ffffff 0%,#cccccc 100%); /* Chrome10+,Safari5.1+ */
	background: -o-radial-gradient(center, ellipse cover,  #ffffff 0%,#cccccc 100%); /* Opera 12+ */
	background: -ms-radial-gradient(center, ellipse cover,  #ffffff 0%,#cccccc 100%); /* IE10+ */
	background: radial-gradient(ellipse at center,  #ffffff 0%,#cccccc 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#cccccc',GradientType=1 ); /* IE6-8 fallback on horizontal gradient */
}

.main article a.btn:hover, .main article input.btn:hover {
	background:#fff;
	color:#222;
	text-decoration:none;
}
/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

<!--[if gte IE 9]>
    .main article a.btn, .main article input.btn {
       filter: none;
    }
<!--[endif]-->
/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width: 480px) {
	
	header, footer {
	margin: 0;
	}
	header .cnt {
		width:90%;
	}
	.slidericon {
		float:none;
	}
	.slidecontent-medium {
	width:100%;
	margin:auto;
	}
	
	section {
		margin-bottom:20px;
	}
}
@media only screen and (min-width: 480px) {
	.logo {
		width: 200px;
        margin:auto;
	}
    .logo img {
        width:100%;
    }


/* ====================
    INTERMEDIATE: Main
   ==================== */
   	.main-container, body.xtra {
        background:transparent;
	}
    header, footer {
	   margin: 0;
	}
	
}

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


/* ============
    WIDE: Main
   ============ */
	.main-container, body.xtra {
        background: transparent;
	}
	.main {
    padding: 0; /*9 added*/
	}
    .main article {
		display:block;
        float: left;
		width: 100%;
		padding: 0;
		margin: 20px 0 20px 0;
    }

	header, footer {
	margin:0;
	clear:both;
	}

}
@media only screen and (max-width: 768px) {
	.logo {
		width: 30%;
		height: 30%;
        margin: auto;
	}
    .logo img {
        width:100%;
    }

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

    .wrapper {
        width: 1024px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
	
	.last {
	margin:0;
	padding:0;
	}
	.first {
		margin:0;
		padding:0;
	}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
		font: 16px/26px Helvetica, Helvetica Neue, Arial;
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

	.wrapper {
		width: 1000px;
	}
    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: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    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;
    }
}