/*
Theme Name: Peter Friedrich Stephan
Theme URI: http://peterstephan.org
Author: goYippi design
Author URI: http://www.goyippi.net
Description: The template for peterstephan.org
Version: 1.0

FF Fonts
font-family: NettoWeb-Bold, sans-serif;
font-family: NettoWeb-Regular, sans-serif;
font-family: NettoWeb-Light, sans-serif;
font-family: ScalaSansWeb-Bold, sans-serif;
font-family: ScalaSansScWeb-Bold, sans-serif;
*/

@import url("fonts/fonts.css");

/* ---- Resets ----*/
/* 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;
}

/* ---- Basics ---- */
html {
	overflow: visible;
}

body {
	font-family: NettoWeb-Light, Arial, sans-serif;
  font-size: 1.188em;
  line-height: 1.588;
	color: #000;
	background-color: #FFF;
	text-align: center;
	height: 100%;
	min-width: none;
	padding: 0;
	margin: 0;
	letter-spacing: 0.045em;
	-webkit-text-size-adjust: none;
}

.screen-reader-text {
	display: none;
}

/* ---- Links ---- */
a {
	color: #00b1ff;
	text-decoration: none;
	outline: none;
}

a:hover {
	color: #000;
	text-decoration: none;
	outline: none;
}

.logo a,
.author-archive-link a {
	color: #000;
}

.a_navi .main li a {
	font-family: ScalaSansWeb-Bold, Arial, sans-serif;
	font-size: 1em;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	padding: 5px 3px 1px 5px;
	color: #000;
	background-color: #FFF;
}

.a_navi .main a:hover {
	color: #00b1ff;
}

.a_navi .main .current_page_item a {
	color: #00b1ff;
}

.button a {
	color: #FFF;
}

.button a, a.button {
	color: #fff;
	padding: 5px 15px 3px;
	margin-bottom: 10px;
	background-color: #00b1ff;
	border: 1px solid #fff;
	display: inline-block;
	cursor: pointer;
	white-space: nowrap;
}

.ie .button a, .ie a.button {
	padding: 5px 15px 5px;
}

.small a, a.small {
	font-size: 0.800em;
	padding: 2px 15px 0px;
	border: 0;
	background-color: #00b1ff;
}

.big a, a.big {
	font-size: 1.400em;
	padding: 8px 30px 5px;
}

.ie .big a, .ie a.big {
	padding: 11px 30px 11px;
}

.button a:hover, a.button:hover {
	color: #00b1ff;
	background-color: #fff;
}

.button a:hover, .button a:hover {
	color: #00b1ff;
	border: 1px solid #00b1ff;
}

a.small:hover, .small:hover a, .small a:hover {
	color: #878787;
}

.mobile-button {
	display: none;
}

.phone .mobile-button {
	display: block;
	margin-bottom: 20px;
}

/* ---- Navigation ---- */
.a_navi .main li {
	height: 28px;
	margin-bottom: 4px;
}

.a_navi .main li.menu-item-has-children {
	height: auto;
}

.a_navi .main .sub-menu {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s;
}

.a_navi .main li:hover .sub-menu {
	max-height: 10000em;
	transition: max-height 0.15s;
}

.a_navi .main .sub-menu li {
	font-size: 0.7em;
	line-height: 1.429;
	border-bottom: 0;
	height: 18px;
}

/*.a_navi .main .sub-menu {
	display: none;
}*/

.navi-button, .navi-button span {
	display: none;
}

.a_footer .service {
	margin-top: 10px;
}

.a_footer .service li {
	float: left;
	margin: 0 20px 0 0;
}

/* ---- Structure ---- */
.mlp_quicklinks {
	display: none;
}

.a_header {
	text-align: left;
	padding: 30px 18px 24px;
	max-width: 1268px;
	margin: 0 auto;
	position: relative;
}

.a_header .logo img {
	height: 46px;
	width: auto;
}

.a_header .claim {
	font-family: NettoWeb-Bold, Arial, sans-serif;
}

.a_all {
	border-top: 10px solid #000;
	background-color: #FFF;
	background-repeat: no-repeat;
	background-position: top right;
}

.a_wrapper {
	text-align: left;
	max-width: 1268px;
	margin: 0 auto;
	position: relative;
	padding: 32px 18px 124px;
}

.a_navi {
	left: auto;
	position: fixed;
	top: 224px;
	z-index: 1000;
}

.a_navi .main {
	border-left: 18px solid #000;
}

.a_footer {
	max-width: 1268px;
	padding: 0 18px 124px;
	margin: 0 auto;
}

.a_top {
	position: relative;
}

.top {
	max-width: 1268px;
	margin: 0 auto;
}

.a_top .mlp_widget {
	float: right !important;
	text-align: right !important;
	font-size: 0.8em;
	margin-top: 15px !important;
	text-transform: lowercase;
}

/* ---- Archive Layout ---- */
.blog .has-post-thumbnail .thumbnail, .archive .has-post-thumbnail .thumbnail, .search .has-post-thumbnail .thumbnail {
	width: 19.915%;
	float: left;
}

.blog .has-post-thumbnail .post-wrapper, .archive .has-post-thumbnail .post-wrapper, .search .has-post-thumbnail .post-wrapper {
	width: 77.119%;
	float: right;
}

.blog .thumbnail, .archive .thumbnail, .search .thumbnail {
	background-repeat: no-repeat;
	background-size: contain;
}

.blog .thumbnail .color-full, .archive .thumbnail .color-full, .search .thumbnail .color-full {
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.5s;
}

.blog .thumbnail, .archive .thumbnail, .search .thumbnail,
.blog .thumbnail .color-full, .archive .thumbnail .color-full, .search .thumbnail .color-full,
.blog .thumbnail .color-full img, .archive .thumbnail .color-full img, .search .thumbnail .color-full img {
	backface-visibility: hidden;
    transform: translateZ(0) scale(1.0, 1.0);
	-webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
}

.blog .single-item:hover .thumbnail .color-full, .archive .single-item:hover .thumbnail .color-full, .search .single-item:hover .thumbnail .color-full {
	visibility: visible;
	opacity: 1;
}

/* ---- Blog Layout ---- */
.blog .a_content, .archive .a_content, .search .a_content, .single-post .a_content {
	width: 74.448%;
	float: left;
}

.blog .a_content_inner, .archive .a_content_inner, .search .a_content_inner, .single-post .a_content_inner {
	margin-left: 34.322%;
}

.blog .a_sidebar, .archive .a_sidebar, .search .a_sidebar, .single-post .a_sidebar {
	width: 23.344%;
	float: right;
}

.search .single-item {
	border-top: 1px solid #000;
	padding-top: 30px;
}

.author .author-archive-link {
	display: none;
}

/* ---- Page Layout ---- */
.page .a_wrapper {
	max-width: 100%;
	padding: 32px 0 0;
	margin: 0;
}

.page .page {
	max-width: 1268px;
	padding: 0 18px 124px;
	margin: 0 auto;
}

.page .no-content {
    padding-bottom: 20px;
}

.has-primary-nav .a_content .page .title-header {
	margin-left: 25.552%;
}

.error404 .a_content {
	width: 74.448%;
	margin-left: 25.552%;
}

/* ---- Custom Post Type Layout ---- */
.post-type-archive .a_content {
	float: right;
}

.post-type-archive .a_content_inner {
	margin-left: 0;
}

/*.post-type-archive .single-item {
	border-top: 1px solid #000;
	padding-top: 30px;
}*/

.single-custom-post-type .a_wrapper {
	max-width: 100%;
	padding: 32px 0 0;
	margin: 0;
}

.single-custom-post-type .single-item {
	max-width: 1268px;
	padding: 0 18px 124px;
	margin: 0 auto;
}

.has-primary-nav .a_content .single-item .col-15-85 .post-title,
.has-primary-nav .a_content .single-item .col-15-85 .navigation,
.has-primary-nav .a_content .single-item .col-15-85 .back-link {
	margin-left: 17.035%;
}

.has-primary-nav .a_content .single-item .col-25-75 .post-title,
.has-primary-nav .a_content .single-item .col-25-75 .navigation,
.has-primary-nav .a_content .single-item .col-25-75 .back-link {
	margin-left: 25.552%;
}

.has-primary-nav .a_content .single-item .col-30-70 .post-title,
.has-primary-nav .a_content .single-item .col-30-70 .navigation,
.has-primary-nav .a_content .single-item .col-30-70 .back-link {
	margin-left: 34.069%;
}

/* ---- Spalten ---- */
.col-2 {
	width: 48.896%;
	float: left;
}

.col-right {
	float: right;
}

.col-15-85 .col-left {
	width: 14.905%;
}

.col-15-85 .col-right {
	width: 82.965%;
}

.col-85-15 .col-left {
	width: 82.965%;
}

.col-85-15 .col-right {
	width: 14.905%;
}

.col-25-75 .col-left {
	width: 23.344%;
}

.col-25-75 .col-right {
	width: 74.448%;
}

.col-75-25 .col-left {
	width: 74.448%;
}

.col-75-25 .col-right {
	width: 23.344%;
}

.col-30-70 .col-left {
	width: 31.861%;
}

.col-30-70 .col-right {
	width: 65.931%;
}

.col-70-30 .col-left {
	width: 65.931%;
}

.col-70-30 .col-right {
	width: 31.861%;
}

.col-25-50 .col-left {
	width: 23.344%;
}

.col-25-50 .col-right {
	width: 48.895%;
	padding-right: 25.552%;
}

.col-60-25 .col-left {
	padding-left: 17.034%;
	width: 57.413%;
}

.col-60-25 .col-right {
	width: 23.344%;
}

/* ---- Post ---- */
.a_content .post, .a_content .page, .a_content .attachment {
	margin-bottom: 50px;
	clear: both;
}

.a_content .page {
	margin-bottom: 30px;
}

.post-meta span {
	display: block;
}

.post-meta-footer {
	font-size: 0.895em;
	color: #878787;
	border-top: 1px solid #000;
	margin-top: 10px;
	padding-top: 10px;
}

.tag-links {
	margin-top: 6px;
	display: block;
}

.back-link {
	border-top: 1px solid #000;
	padding-top: 10px;
	margin: 10px 0;
}

.navigation {
	border-top: 1px solid #000;
	padding-top: 10px;
	margin: 10px 0 50px 0;
}

.subpages-list .navigation {
	margin: 20px 0 40px 0;
}

div.alignleft, div.alignright {
	width: 49%;
	margin-bottom: 20px;
}

.next-posts {
	float: left;
}

.previous-posts {
	float: right;
	text-align: right;
}

.blog .navigation {
	display: none;
}

/* ---- Textelements ---- */
.logo, .post-title, .archive-title {
	font-family: ScalaSansWeb-Bold, Arial, sans-serif;
    font-size: 3.526em;
    line-height: 1;
	letter-spacing: 0.065em;
	text-transform: uppercase;
	margin-bottom: 54px;
}

.logo {
	margin-bottom: 0;
}

.page .post-title {
	margin-bottom: 0;
}

.page .title-header {
	margin-bottom: 54px;
}

.blog .post-title, .archive .post-title, .search .post-title, .single-custom-post-type .post-title, .single .post-title, .error404 .post-title {
    font-size: 1.316em;
   	line-height: 1.08;
   	color: #9C9C00;
	margin-bottom: 27px;
}

.archive-title {
    font-size: 1.579em;
	margin-bottom: 27px;
}

.post-content h1 {
	font-family: ScalaSansWeb-Bold, Arial, sans-serif;
    font-size: 3.526em;
    line-height: 1;
	margin-bottom: 27px;
	letter-spacing: 0.065em;
}

.post-content h2 {
	font-family: ScalaSansWeb-Bold, Arial, sans-serif;
    font-size: 1.579em;
    line-height: 1;
    margin-bottom: 27px;
   	letter-spacing: 0.065em;
}

.post-content h3 {
	font-family: ScalaSansWeb-Bold, Arial, sans-serif;
    font-size: 1.316em;
   	line-height: 1.08;
   	color: #9C9C00;
    margin-bottom: 27px;
	text-transform: uppercase;
   	letter-spacing: 0.065em;
}

.post-content h4 {
	font-family: ScalaSansWeb-Bold, Arial, sans-serif;
	font-size: 1em;
	line-height: 1.421em;
  letter-spacing: 0.03em;
}

.post-content h5, .post-content h6 {
	font-family: ScalaSansWeb-Bold, Arial, sans-serif;
}

.post-content p {
	margin-bottom: 30px;
}

strong, b {
	font-family: NettoWeb-Bold, Arial, sans-serif;
}

em, italic {
	font-family: ScalaSansWeb-Bold, Arial, sans-serif;
	font-size: 1em;
	line-height: 1.421em;
	text-transform: uppercase;
	letter-spacing: 0.065em;
}

em strong, italic strong,
strong em, strong italic {
	font-family: ScalaSansWeb-Bold, Arial, sans-serif;
    font-size: 1.316em;
   	line-height: 1.08;
   	color: #9C9C00;
   	text-transform: uppercase;
	letter-spacing: 0.065em;
}

.post-content h1 strong, .post-content h1 b, .post-content h1 em, .post-content h1 italic {
	letter-spacing: 0;
}

.small, small {
	font-size: 1em;
	color: #9d9d9c;
}

blockquote {
	padding: 0 50px;
}

.post-content ul, .post-content ol {
	margin-bottom: 27px;
}

.post-content ul ul, .post-content ol ol {
	margin-bottom: 0px;
}

.post-content ul li {
    padding-left: 1.2em;
    text-indent: -1.2em;
	list-style: none;
}

.post-content ul li:before {
	content: '•';
	padding-right: 11px;
	color: #00b1ff;
}

.post-content ol li {
	position: relative;
	left: 20px;
	list-style: decimal;
}

.sep {
	padding: 0 5px;
}

/* ---- Images ---- */
.post-content iframe {
	max-width: 100%;
}

#alumni iframe {
	width: 500px;
	height: 213px;
}

.post-content img, .a_header img, .thumbnail img {
	max-width: 100%;
	height: auto;
}

.post-content img {
	margin-bottom: 27px;
}

.post-content .thumbnail img {
	margin-bottom: 10px;
}

.aligncenter, div.aligncenter {
	margin-left: auto;
	margin-right: auto;
	display: block;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

img.alignleft, .post-content div.alignleft {
	margin: 4px 28px 27px 0;
}

img.alignright, .post-content div.alignright {
	margin: 4px 0 27px 28px;
}

.wp-caption {
	color: #9d9d9c;
	text-align: left;
	max-width: 100%;
}

.wp-caption img {
	padding: 5px;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
}

.wp-caption p {
	padding: 0px 5px 5px 5px;
	margin-bottom: 0;
}

/* ---- Widgets ---- */
.widget {
	margin-bottom: 30px;
}

.widget-last {
	margin-right: 0;
}

.widget_text {
	padding-bottom: 1px;
	margin-bottom: 20px;
}

.page .widget {
	width: 30%;
	margin-right: 5%;
	float: left;
}

.a_top .widget {
	width: 74.448%;
	margin-right: 0;
	margin-bottom: 10px;
	float: none;
}

.a_top .widget_search {
	width: 23.344%;
	position: absolute;
	top: 0;
	right: 0;
}

.error404 .a_top .widget_search, .search-no-results .a_top .widget_search {
	display: none;
}

.widget h3.widget-title {
	font-family: NettoWeb-Bold, Arial, sans-serif;
    font-size: 1em;
    line-height: 1.08;
    letter-spacing: 0.03em;
    color: #000;
	padding-bottom: 4px;
	margin-bottom: 10px;
}

.widget p {
	margin-bottom: 10px;
}

.widget li {
	padding-left: 8px;
	text-indent: -8px;
}

#linkcat-2 li {
	display: inline;
	padding-left: 0;
	margin-right: 6px;
}

.widget_Twidget li, .widget_twitter li {
	text-indent: 0;
	padding-left: 0;
	margin-bottom: 10px;
}

.widget_Twidget li span, .widget_twitter li span {
	display: block;
}

.widget_twitter li span.from-meta {
	display: none;
}

.time-meta, .intent-meta {
	font-size: 0.895em;
}

.widget_twitter li .intent-meta a {
	margin-right: 5px;
}

.widget li a:before, .widget_twitter li .intent-meta a:before {
	content: '> ';
}

.widget li.recentcomments a:before, .widget_calendar a:before, #linkcat-2 a:before, .widget_Twidget li a:before, .widget_twitter li a:before {
	content: '';
}

.widget .rssSummary {
	text-indent: 0;
}

.widget_calendar table {
	width: 270px;
}

.widget_calendar td, .widget_calendar th {
	text-align: center;
}

.widget_calendar th, .widget_calendar td a {
	font-weight: bold;
}

.widget_calendar caption {
	margin-bottom: 6px;
}

.widget_calendar tfoot td {
	padding-top: 12px;
}

.widget_calendar tfoot #prev {
	text-align: left;
}

.widget_calendar tfoot #next {
	text-align: right;
}

/* ---- Comments ---- */
#comments, #respond {
	font-size: 0.895em;
	margin-top: 10px;
	padding-top: 20px;
	border-top: 1px solid #000;
}

#comments h3, #respond h3 {
  font-size: 1.316em;
	margin-bottom: 10px;
}

#comments p, #respond p {
	margin-bottom: 10px;
}

#respond p.form-submit {
	margin-bottom: 30px;
}

.commentlist .comment_inner {
	margin-bottom: 20px;
}

.commentlist .children {
	margin: 0 0 30px 75px;
}

.comment-gravatar img {
	width: 60px;
	float: left;
	margin-right: 15px;
	border-radius: 30px;
}

.comment-data {
	overflow: hidden;
}

#cancel-comment-reply-link {
	font-weight: normal;
	margin-left: 10px;
}

.form-allowed-tags {
	display: none;
}

/* ---- Forms ---- */
input[type=text], input[type=email], input[type=password], textarea {
	font-family: NettoWeb-Light, Arial, sans-serif;
	font-size: 1em;
	border: 0;
	background-color: #ededed;
	width: 99%;
	padding: 3px 1px;
	margin-bottom: 6px;
}

textarea {
	height: 120px;
}

button, input[type=submit] {
	font-family: NettoWeb-Light, Arial, sans-serif;
	font-size: 1em;
	color: #FFF;
	background-color: #00b1ff;
	border: 0;
	width: auto;
	padding: 7px 15px 3px;
	margin-bottom: 0;
}

button:hover, input[type=submit]:hover {
	background-color: #000;
}

input[type=checkbox] {
	margin-right: 6px;
}

select {
	font-family: NettoWeb-Light, Arial, sans-serif;
	font-size: 0.895em;
	width: 100%;
	padding: 2px;
}

label {
	font-family: NettoWeb-Bold, Arial, sans-serif;
	padding-bottom: 3px;
}

.wpcf7 p {
	margin-bottom: 4px;
}

/* ---- Divider ---- */
.clear {
	height: 1px;
	overflow: hidden;
	clear: both;
}

.divider {
	height: 30px;
}

.line {
	margin: 20px 0;
	border-top: 10px solid #000;
}

hr {
	display: none;
}

.gallery .clear {
	height: auto;
}

.clearfix:after {
	content: " ";
    display: block;
    height: 1px;
    clear: both;
}

/* ---- Cookie Notice ---- */
.no-js #cookie-notice, .no-js .cookie-status {
  display: none !important;
}

.acceptance-text {
  display: block;
}

.cookie-box, .cookie-status {
	border: 1px solid #000;
  padding: 10px 10px 0;
	margin-bottom: 30px;
}

.cookie-status {
	padding: 10px;
}

.cookie-box .button {
	margin-top: 10px;
}

.cookie-box p {
  margin-bottom: 10px;
}

#cookie-notice {
  font-size: 0.789em;
  line-height: inherit;
  color: #FFF !important;
  background-color: #000 !important;
}

#cookie-notice .cookie-notice-container {
	padding: 10px 20px;
	text-align: left;
	max-width: 1000px;
	margin: 0 auto;
	width: auto;
}

#cookie-notice .button {
	margin-bottom: 0;
}

#cookie-notice,
.cn-button,
#cookie-notice .cn-button {
  font-family: NettoWeb-Light, Arial, sans-serif !important;
	font-size: 16px !important;
}

.cookie-box .cn-button,
.cookie-status .cn-button {
	font-size: 19px !important;
}

/* ---- Thickbox ---- */
#TB_overlay {
	z-index: 1000 !important;
}

#TB_window {
	font-family: NettoWeb-Light, Arial, sans-serif;
	font-size: 0.789em !important;
	color: #24323f !important;
	z-index: 1002 !important;
}

#TB_window img#TB_Image {
	border: 0 !important;
}

#TB_caption {
    height: auto !important;
    padding: 7px 15px 10px !important;
}

#TB_closeWindow {
    padding: 11px 15px 10px 0 !important;
}

.tb-close-icon {
    background-image: url('images/close.png') !important;
    background-repeat: no-repeat;
}

.tb-close-icon:before {
	content: '' !important;
}

#TB_closeWindowButton:hover .tb-close-icon {
    background-image: url('images/close-hover.png') !important;
}

#TB_title {
	background-color: transparent !important;
}

#TB_secondLine {
	font-family: NettoWeb-Light, Arial, sans-serif;
    font-size: 1em !important;
	color: #24323f !important;
}

/* ---- Flexsilder ---- */
.flexslider {
	border: 0 !important;
	box-shadow: none !important;
}

/*.flexslider .slides > li {
    display: block !important;
    visibility: hidden;
}

.flexslider .flex-viewport .slides > li {
    visibility: visible;
}*/

.flexslider .slides img {
	height: auto;
}

.post-content .flexslider ul.slides li {
	list-style: none;
	padding: 0;
	text-indent: 0;
}

.post-content .flexslider ul li:before {
	padding: 0;
	content: "";
}

.post-content .flex-control-nav li {
	left: 0;
	position: static;
}

.flex-direction-nav {
    bottom: 50%;
    position: absolute;
    text-align: center;
    width: 100%;
}

.flex-direction-nav li {
    display: inline-block;
    margin: 0 6px;
}

.flex-direction-nav a {
	font-family: ScalaSansWeb-Bold, Arial, sans-serif !important;
	font-size: 24px !important;
	line-height: 30px;
	text-shadow: none !important;
	opacity: 1 !important;
	width: 30px !important;
	height: 40px !important;
	margin: -15px 0 0 !important;
	left: 18px !important;
	top: auto !important;
	bottom: 0;
}

.flex-direction-nav .flex-next {
	left: auto !important;
	right: 18px !important;
}

.flex-direction-nav a:before {
	content: "<" !important;
	font-size: 60px !important;
	color: #00b1ff;
}

.flex-direction-nav a.flex-next:before {
	content: ">" !important;
}

.flex-direction-nav a:hover:before {
	color: #000;
}

/* ---- Galerie ---- */
.gallery {
	display: block;
	clear: both;
	overflow: hidden;
	margin: 0 auto 20px;
}

.gallery .gallery-row {
	display: block;
	clear: both;
	overflow: hidden;
	margin: 0;
}

.gallery .gallery-item {
	overflow: hidden;
	float: left;
	margin: 0;
	text-align: left;
	list-style: none;
	padding: 0;
}

.gallery .gallery-item .gallery-icon a, .gallery .gallery-item .gallery-icon a:hover {
	background-color: transparent;
}

.gallery .gallery-item .gallery-icon img {
	width: auto;
	max-width: 90%;
	height: auto;
	margin: 0 auto;
	padding: 5% 2% 3% 0;
    vertical-align: middle;
}

.gallery-caption {
	display: none;
}

.gallery .col-0 { width: 100%; }
.gallery .col-1 { width: 100%; }
.gallery .col-2 { width: 50%; }
.gallery .col-3 { width: 33.33%; }
.gallery .col-4 { width: 25%; }
.gallery .col-5 { width: 20%; }
.gallery .col-6 { width: 16.66%; }
.gallery .col-7 { width: 14.28%; }
.gallery .col-8 { width: 12.5%; }
.gallery .col-9 { width: 11.11%; }
.gallery .col-10 { width: 10%; }
.gallery .col-11 { width: 9.09%; }
.gallery .col-12 { width: 8.33%; }
.gallery .col-13 { width: 7.69%; }
.gallery .col-14 { width: 7.14%; }
.gallery .col-15 { width: 6.66%; }
.gallery .col-16 { width: 6.25%; }
.gallery .col-17 { width: 5.88%; }
.gallery .col-18 { width: 5.55%; }
.gallery .col-19 { width: 5.26%; }
.gallery .col-20 { width: 5%; }
.gallery .col-21 { width: 4.76%; }
.gallery .col-22 { width: 4.54%; }
.gallery .col-23 { width: 4.34%; }
.gallery .col-24 { width: 4.16%; }
.gallery .col-25 { width: 4%; }
.gallery .col-26 { width: 3.84%; }
.gallery .col-27 { width: 3.7%; }
.gallery .col-28 { width: 3.57%; }
.gallery .col-29 { width: 3.44%; }
.gallery .col-30 { width: 3.33%; }

/* --- Homepage --- */
.home .field-wrapper {
	border-top: 10px solid #000;
	padding: 32px 0 0;
	background-repeat: no-repeat;
	background-position: right top;
}

.home .home-content-wrapper {
	border-top: 0;
}

.home .a_content .page .title-header {
	margin-left: 0;
}

/* --- Teaser Box --- */
.teaser-box {
	font-family: NettoWeb-Bold, Arial, sans-serif;
	border: 10px solid #000;
	padding: 28px 15px 0;
}

/* --- Page Gallery --- */
.top-gallery .a_all {
	border: 0;
}

.top-gallery .a_wrapper {
	padding-top: 0;
}

.top-gallery .no-slider {
	margin-bottom: 30px;
}

.bottom-gallery .single-item {
	padding-bottom: 0;
}

.position-bottom {
	margin-bottom: 0 !important;
}

.gallery-wrapper, .home .gallery-wrapper {
	border: 0;
	padding-top: 0;
}

.gallery-wrapper img {
	width: 100%;
	height: auto;
}

.gallery-wrapper .single-image {
	/*min-height: 300px;*/
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	position: relative;
}

.gallery-wrapper .slider-image a {
	/*min-height: 300px;*/
	width: 100%;
	display: block;
	position: absolute;
	left: 0;
	top: 0;
}

.slider-content-wrapper {
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
}

.slider-content {
	max-width: 1268px;
	padding: 0 18px;
	margin: 30px auto;
	color: #FFF;
}

.gallery-wrapper .slides .slider-content img {
    width: auto;
}

.hide-navigation .flex-direction-nav {
	display: none;
}

.hide-number .flex-control-nav {
	display: none;
}

.hide-number .flex-direction-nav {
    bottom: -40px;
}

.bottom-gallery .flex-direction-nav {
    top: -35px !important;
    bottom: auto;
}

.bottom-gallery .flex-control-nav {
    top: -30px;
    bottom: auto !important;
}

.slider-content .list-header {
	width: 57.413%;
	float: left;
	margin-left: 17.035%;
}

.slider-content .list-wrapper {
	width: 23.344%;
	color: #000;
	background-color: #FFF;
	float: right;
}

.slider-content .list-wrapper .single-item {
	padding: 15px 15px 0;
	margin-bottom: 0;
}

.slider-content .list-wrapper .button {
	padding: 0 15px;
}

/* --- Page Links --- */
ul.page-links {
	margin-top: 6px;
}

.header-inner ul.page-links {
	margin-top: 0;
}

ul.page-links li {
	float: left;
	margin-right: 30px;
}

ul.page-links li a:before {
	content: '> ';
}

/* --- Post List ---
.list-wrapper .single-item {
	border-top: 1px solid #000;
	padding-top: 30px;
}

.list-wrapper .single-item .item-title a {
	color: #9C9C00;
}

.list-wrapper .single-item .item-title a:hover {
	color: #000;
}*/

.list-wrapper .single-item .post-meta {
	font-size: 0.895em;
	color: #878787;
	margin-bottom: 10px;
}

.list-wrapper .single-item .post-author {
	margin-bottom: 27px;
}

.list-wrapper .single-item .post-author .author {
	font-family: NettoWeb-Bold, Arial, sans-serif;
}

.list-wrapper .has-post-thumbnail .thumbnail {
	width: 19.915%;
	float: left;
	background-repeat: no-repeat;
	background-size: contain;
}

.list-wrapper .has-post-thumbnail .item-wrapper {
	width: 77.119%;
	float: right;
}

.list-wrapper .thumbnail .color-full {
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.5s;
}

.list-wrapper  .single-item:hover .thumbnail .color-full {
	visibility: visible;
	opacity: 1;
}

.list-wrapper .has-post-thumbnail .thumbnail, .list-wrapper .thumbnail .color-full, .list-wrapper .thumbnail .color-full img {
	backface-visibility: hidden;
    transform: translateZ(0) scale(1.0, 1.0);
	-webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
}

.list-wrapper img {
	margin-bottom: 10px;
}

.masonry .has-post-thumbnail .thumbnail, .masonry .has-post-thumbnail .item-wrapper {
	width: 100%;
	float: none;
}

.masonry .has-post-thumbnail .thumbnail {
	margin-bottom: 17px;
}

.masonry .single-item {
	width: 31.356%;
	border-top: 0;
	border-bottom: 10px solid #000;
	padding: 0;
	margin-bottom: 17px;
}

.masonry .gutter-sizer {
	width: 2.966%;
}

/* ---- Update Width Gallery ---- */
.gallery-wrapper, .home .gallery-wrapper {
	max-width: 1304px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.gallery-inner {
	padding: 0 18px;
}

.flex-direction-nav a {
	left: -48px !important;
}

.flex-direction-nav .flex-next {
	right: -48px !important;
}

/* ---- Event On Calendar ---- */
.fa-angle-left:before {
    content: "<" !important;
}

.fa-angle-right:before {
    content: ">" !important;
}

.post-type-archive-ajde_events .ajde_evcal_calendar {
	width: 74.448%;
	float: right;
}

/* ---- Touch Devices ---- */
.touch .blog .thumbnail .color-full, .touch .archive .thumbnail .color-full, .touch .search .thumbnail .color-full, .touch .list-wrapper .thumbnail .color-full {
	visibility: visible;
	opacity: 1;
	transition: none;
}

/* ---- Media Queries: Smaller than 1450px ---- */
@media (max-width: 1450px) {
	.flex-direction-nav a {
		left: 28px !important;
	}

	.flex-direction-nav .flex-next {
		right: 28px !important;
	}
}

/* ---- Media Queries: Smaller than 1040px ---- */
@media (max-width: 1040px) {
	#cn-notice-text {
		display: block;
		margin-bottom: 6px;
	}

	#cookie-notice .button {
    margin-left: 0;
		margin-right: 10px;
	}
}

/* ---- Media Queries: Smaller than 970px ---- */
@media (max-width: 970px) {
	.a_header {
		padding-top: 20px;
		padding-bottom: 16px;
	}

	.a_header .logo img {
		max-height: 20px;
		height: auto;
	}

	.a_navi {
		top: 184px;
		z-index: 10;
	}

	.post-content h2 {
		font-size: 1.474em;
	}

	.col-25-50 .col-right {
		width: 74.448%;
		padding-right: 0;
	}
}

/* ---- Media Queries: Smaller than 854px ---- */
@media (max-width: 854px) {
	.masonry .single-item {
		width: 47.742%;
	}

	.masonry .gutter-sizer {
		width: 4.516%;
	}

	.slider-content .list-wrapper {
		display: none;
	}

	.slider-content h1 {
		font-size: 1.579em;
	}
}

/* ---- Media Queries: Smaller than 568px ---- */
@media (max-width: 568px) {
	/* -- Navigation -- */
	.a_navi {
		position: relative;
		top: auto;
		bottom: -10px;
	}

	.a_navi .navi-inner {
    	padding: 0;
	}

	.a_navi .main {
		border-left: 0;
		border-top: 1px solid #000;
	}

	.a_navi .main .sub-menu {
		max-height: 10000em;
		overflow: visible;
		margin-bottom: 10px;
	}

	.a_navi .main li {
	    background-image: none;
	    float: none;
	    margin: 0;
	    width: 100%;
	    height: auto;
	    text-align: center;
		border-bottom: 1px solid #000;
	}

	.a_navi .main li a {
		width: 100%;
		display: block;
		padding: 6px 0 3px;
	}

	.navi-button {
		width: 35px;
		height: 35px;
		display: block;
		background-image: url('images/navi_button.gif');
		background-repeat: no-repeat;
		position: absolute;
		right: 0;
		top: -35px;
		cursor: pointer;
	}

	.navi-inner {
		display: none;
	}

	.a_header {
		padding: 10px 0 0;
		margin-bottom: 10px;
	}

	/* -- General -- */
	.a_header .logo, .a_header .claim, .a_header .page-links, .top {
		padding: 0 18px;
	}

	.a_header .page-links {
		margin-bottom: 20px;
	}

	.a_wrapper, .a_footer {
		padding: 32px 18px 32px;
	}

	.page .a_wrapper, .single-custom-post-type .a_wrapper {
		padding: 32px 0 0;
	}

	.home .a_wrapper {
		padding: 0;
	}

	.page .page, .single-custom-post-type .single-item {
		padding: 0 18px 32px;
		margin-bottom: 0;
	}

	.col-2, .col-left, .col-right {
    	float: none;
    	width: 100% !important;
    	margin-bottom: 20px;
    	padding: 0 !important;
	}

	.blog .a_content, .archive .a_content, .search .a_content, .single .a_content,
	.blog .a_sidebar, .archive .a_sidebar, .search .a_sidebar, .single .a_sidebar {
		width: 100%;
		float: none;
	}

	.blog .a_content_inner, .archive .a_content_inner, .search .a_content_inner, .single .a_content_inner {
		margin-left: 0;
	}

	.big a, a.big {
		font-size: 1em;
		padding: 7px 15px 3px;
		border: 2px solid #fff;
		border-radius: 6px;
	}

	.logo,
	.post-title {
	   font-size: 2em;
	}

	.post-title {
		margin-bottom: 27px;
	}

	.post-content h1 {
    font-size: 2em;
	}

	.post-content h2 {
		font-size: 1.158em;
	}

	.post-content h3 {
    font-size: 1.158em;
	}

	.page .title-header {
		margin-bottom: 27px;
	}

	.has-primary-nav .a_content .page .title-header,
	.has-primary-nav .a_content .single-item .post-header,
	.has-primary-nav .a_content .single-item .navigation,
	.has-primary-nav .a_content .single-item .back-link {
		margin-left: 0;
	}

	.a_top {
		margin: 20px 0;
	}

	.a_top .widget {
		width: 100%;
		float: none;
	}

	.a_top .widget_search {
		width: 100%;
		position: static;
	}

	/* -- Post List -- */
	.list-wrapper .has-post-thumbnail .thumbnail,
	.blog .has-post-thumbnail .thumbnail, .archive .has-post-thumbnail .thumbnail, .search .has-post-thumbnail .thumbnail {
		width: 100%;
		max-width: 296px;
		float: none;
	}

	.list-wrapper .has-post-thumbnail .item-wrapper,
	.blog .has-post-thumbnail .post-wrapper, .archive .has-post-thumbnail .post-wrapper, .search .has-post-thumbnail .post-wrapper {
		width: 100%;
		float: none;
	}

	.masonry .single-item {
		width: 100%;
	}

	.masonry .gutter-sizer {
		width: 0%;
		display: none;
	}

	/* ---- Event On Calendar ---- */
	.post-type-archive-ajde_events .ajde_evcal_calendar {
		width: 100%;
		float: none;
	}
}

@media only screen and (-webkit-min-device-pixel-ratio: 2) {
	body {
		font-family: NettoWeb-Regular, Arial, sans-serif;
	}

	a {
		font-family: NettoWeb-Bold, sans-serif;
	}

	.logo a {
		font-family: ScalaSansWeb-Bold, Arial, sans-serif;
	}

	input[type=text], input[type=email], input[type=password], textarea, button, input[type=submit], select, #TB_window, #TB_secondLine {
		font-family: NettoWeb-Regular, Arial, sans-serif;
	}
}
