/*** RULES FOR PLUGINS **/

/* PLUGINS: Recent-Facebook-Posts-Custom, Infinite-Scroll, WP-Featherlight */


/*--------------------------------------------------------------
SiteOrigin Mansory Plugin > Projects Page
--------------------------------------------------------------*/
.site-header .widget_siteorigin-masonry,
#content .widget_siteorigin-masonry {
	margin: 0;
	background-color:rgba(32,29,30,.9); /* #201d1e */
}
.site-header .so-masonry-container .masonry-brick {
	z-index: 99;
}
.hentry .entry-content img.masonry_brick_img,
.hentry .entry-content .so-masonry-container img {
	margin-bottom: 0;
}
.entry-content a.masonry_brick_a,
.entry-content div.masonry_brick_a,
.entry-content img.masonry_brick_img {
	border-style: none;
}
.entry-content div.masonry_brick {
	border-style: none;
}
.so-masonry-container.responsive .masonry-brick.brick_font_class_100 .post-information,
.so-masonry-container.responsive .masonry-brick.brick_font_class_150 .post-information,
.so-masonry-container.responsive .masonry-brick.brick_font_class_200 .post-information,
.so-masonry-container.responsive .masonry-brick.brick_font_class_250 .post-information,
.so-masonry-container.responsive .masonry-brick.brick_font_class_300 .post-information,
.so-masonry-container.responsive .masonry-brick.brick_font_class_350 .post-information,
.so-masonry-container.responsive .masonry-brick.brick_font_class_400 .post-information,
.so-masonry-container.responsive .masonry-brick.brick_font_class_450 .post-information,
.so-masonry-container.responsive .masonry-brick.brick_font_class_500 .post-information {
	padding: 0;
}
.so-masonry-container.responsive .masonry-brick.brick_font_class_100 .post-information .info-link {
	padding: 0 10px;
}
.so-masonry-container.responsive .masonry-brick.brick_font_class_150 .post-information .info-link {
	padding: 0 10px;
}
.so-masonry-container.responsive .masonry-brick.brick_font_class_200 .post-information .info-link {
	padding: 0 15px;
}
.so-masonry-container.responsive .masonry-brick.brick_font_class_250 .post-information .info-link {
	padding: 0 15px;
}
.so-masonry-container.responsive .masonry-brick.brick_font_class_300 .post-information .info-link {
	padding: 0 20px;
}
.so-masonry-container.responsive .masonry-brick.brick_font_class_350 .post-information .info-link {
	padding: 0 25px;
}
.so-masonry-container.responsive .masonry-brick.brick_font_class_400 .post-information .info-link {
	padding: 0 30px;
}
.so-masonry-container.responsive .masonry-brick.brick_font_class_450 .post-information .info-link {
	padding: 0 35px;
}
.so-masonry-container.responsive .masonry-brick.brick_font_class_500 .post-information .info-link {
	padding: 0 40px;
}
.so-masonry-container.responsive .masonry-brick .post-information-title {
	margin: 0 0 10px;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: #333;
/*word-break: normal;*/
}
.so-masonry-container.responsive .masonry-brick .post-information .entry-meta {
	margin-bottom: 0;
	text-transform: uppercase;
	color: #333;
/*word-break: normal;*/
	font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
	font-weight: 500;
	letter-spacing: .01em;
}
.so-masonry-container.responsive .masonry-brick.brick_font_class_100 .post-information .entry-meta.producer-title,
.so-masonry-container.responsive .masonry-brick.brick_font_class_150 .post-information .entry-meta.producer-title {
	display: none;
}

.so-masonry-container.responsive .masonry-brick.brick_font_class_100 .post-information,
.so-masonry-container.responsive .masonry-brick.brick_font_class_100 .post-information .info-link {
	line-height: 9px; /* Equal to the line-height of its child .entry-meta */
}
#page .so-masonry-container.responsive .masonry-brick.brick_font_class_100 .post-information .post-information-title {
	font-size: 13px;
	line-height: 17px; /* 4px more than font-size */
	margin-bottom: 0;
}
.so-masonry-container.responsive .masonry-brick.brick_font_class_100 .post-information .entry-meta {
	font-size: 9px;
	line-height: 9px; /* Same as font-size */
}

.so-masonry-container.responsive .masonry-brick.brick_font_class_150 .post-information,
.so-masonry-container.responsive .masonry-brick.brick_font_class_150 .post-information .info-link {
	line-height: 9px; /* Equal to the line-height of its child .entry-meta */
}
#page .so-masonry-container.responsive .masonry-brick.brick_font_class_150 .post-information .post-information-title {
	font-size: 13px;
	line-height: 17px; /* 4px more than font-size */
	margin-bottom: 0;
}
.so-masonry-container.responsive .masonry-brick.brick_font_class_150 .post-information .entry-meta {
	font-size: 9px;
	line-height: 9px; /* Same as font-size */
}

.so-masonry-container.responsive .masonry-brick.brick_font_class_200 .post-information,
.so-masonry-container.responsive .masonry-brick.brick_font_class_200 .post-information .info-link {
	line-height: 9px; /* Equal to the line-height of its child .entry-meta */
}
#page .so-masonry-container.responsive .masonry-brick.brick_font_class_200 .post-information .post-information-title {
	font-size: 15px;
	line-height: 19px; /* 4px more than font-size */
	margin-bottom: 5px;
}
.so-masonry-container.responsive .masonry-brick.brick_font_class_200 .post-information .entry-meta {
	font-size: 9px;
	line-height: 9px; /* Same as font-size */
}

.so-masonry-container.responsive .masonry-brick.brick_font_class_250 .post-information,
.so-masonry-container.responsive .masonry-brick.brick_font_class_250 .post-information .info-link {
	line-height: 10px; /* Equal to the line-height of its child .entry-meta */
}
#page .so-masonry-container.responsive .masonry-brick.brick_font_class_250 .post-information .post-information-title {
	font-size: 16px;
	line-height: 20px; /* 4px more than font-size */
	margin-bottom: 5px;
}
.so-masonry-container.responsive .masonry-brick.brick_font_class_250 .post-information .entry-meta {
	font-size: 10px;
	line-height: 10px; /* Same as font-size */
}

.so-masonry-container.responsive .masonry-brick.brick_font_class_300 .post-information,
.so-masonry-container.responsive .masonry-brick.brick_font_class_300 .post-information .info-link {
	line-height: 11px; /* Equal to the line-height of its child .entry-meta */
}
#page .so-masonry-container.responsive .masonry-brick.brick_font_class_300 .post-information .post-information-title {
	font-size: 17px;
	line-height: 21px; /* 4px more than font-size */
	margin-bottom: 10px;
}
.so-masonry-container.responsive .masonry-brick.brick_font_class_300 .post-information .entry-meta {
	font-size: 11px;
	line-height: 11px; /* Same as font-size */
}

.so-masonry-container.responsive .masonry-brick.brick_font_class_350 .post-information,
.so-masonry-container.responsive .masonry-brick.brick_font_class_350 .post-information .info-link {
	line-height: 12px; /* Equal to the line-height of its child .entry-meta */
}
#page .so-masonry-container.responsive .masonry-brick.brick_font_class_350 .post-information .post-information-title {
	font-size: 18px;
	line-height: 22px; /* 4px more than font-size */
	margin-bottom: 10px;
}
.so-masonry-container.responsive .masonry-brick.brick_font_class_350 .post-information .entry-meta {
	font-size: 12px;
	line-height: 12px; /* Same as font-size */
}

.so-masonry-container.responsive .masonry-brick.brick_font_class_400 .post-information,
.so-masonry-container.responsive .masonry-brick.brick_font_class_400 .post-information .info-link {
	line-height: 13px; /* Equal to the line-height of its child .entry-meta */
}
#page .so-masonry-container.responsive .masonry-brick.brick_font_class_400 .post-information .post-information-title {
	font-size: 19px;
	line-height: 23px; /* 4px more than font-size */
	margin-bottom: 15px;
}
.so-masonry-container.responsive .masonry-brick.brick_font_class_400 .post-information .entry-meta {
	font-size: 13px;
	line-height: 13px; /* Same as font-size */
}

.so-masonry-container.responsive .masonry-brick.brick_font_class_450 .post-information,
.so-masonry-container.responsive .masonry-brick.brick_font_class_450 .post-information .info-link {
	line-height: 14px; /* Equal to the line-height of its child .entry-meta */
}
#page .so-masonry-container.responsive .masonry-brick.brick_font_class_450 .post-information .post-information-title {
	font-size: 20px;
	line-height: 24px; /* 4px more than font-size */
	margin-bottom: 15px;
}
.so-masonry-container.responsive .masonry-brick.brick_font_class_450 .post-information .entry-meta {
	font-size: 14px;
	line-height: 14px; /* Same as font-size */
}

.so-masonry-container.responsive .masonry-brick.brick_font_class_500 .post-information,
.so-masonry-container.responsive .masonry-brick.brick_font_class_500 .post-information .info-link {
	line-height: 15px; /* Equal to the line-height of its child .entry-meta */
}
#page .so-masonry-container.responsive .masonry-brick.brick_font_class_500 .post-information .post-information-title {
	font-size: 21px;
	line-height: 25px; /* 4px more than font-size */
	margin-bottom: 15px;
}
.so-masonry-container.responsive .masonry-brick.brick_font_class_500 .post-information .entry-meta {
	font-size: 15px;
	line-height: 15px; /* Same as font-size */
}


/*--------------------------------------------------------------------------
New/Aktuelles page > facebook embed > Recent-Facebook-Posts-Custom plugin
--------------------------------------------------------------------------*/
.rfbp-post {
	border-bottom: 0 solid #1a1a1a;
	border-top: 3px double #1a1a1a;
    padding-top: 25px;
    margin-top: 25px;
    margin-bottom: 0;
    padding-bottom: 0;
}
.rfbp-post:first-child {
	border-bottom: 0 solid #1a1a1a;
	border-top: 0 double #1a1a1a;
    padding-top: 0;
    margin-top: 0;
}
#content .rfbp-post .rfbp-heading {
	font-size: 23px;
    color: #1A1A1A;
    font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
    font-weight: 400;
    letter-spacing: .01em;
    margin: 0 0 10px 0;
}
.rfbp-text {
    margin-top: 0!important;
    margin-bottom: 1em;
    padding-top: 0;
    padding-bottom: 0;
}
.rfbp-video-wrap {
	margin: 0;
}
.fb_frame {
	width: 100%;
}
.fb_iframe_widget_fluid_desktop,
.fb_iframe_widget_fluid_desktop span,
.fb_iframe_widget_fluid_desktop iframe {
	max-width: 100%;
}
.fb-video.fb_iframe_widget_fluid {
	display: inline-block;
}
.rfbp-image-wrap {
    position: relative;
    display: inline-block;
    margin: 0;
    max-width: 100%;
}
.rfbp-post .rfbp-image-wrap .rfbp-image {
	margin-bottom: 0;
}
.rfbp-link-wrap {
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
.rfbp-link-wrap:hover,
.rfbp-link-wrap:active {
    border: 1px solid rgba(59,89,152,.4) !important; /* #3b5998: facebook blue */
}
.rfbp-link-wrap span.rfbp-link-text-wrap {
    padding: 8px 10px;
    color: #808080;
    display: table-cell;
    text-align: left;
}
.rfbp-post .rfbp-post-link-wrap {
	margin: 1em 0 0 !important;
}
.rfbp-post-link-wrap .rfbp-post-link.inline {
	display: inline-block;
	font-size: 12px;
	font-weight: 400;
}
.rfbp-post-link-wrap .rfbp-post-link.inline,
.rfbp-post-link-wrap .rfbp-post-link.inline:focus {
	color: #999; /* facebook style */
}
.rfbp-post-link-wrap .rfbp-post-link.inline:hover,
.rfbp-post-link-wrap .rfbp-post-link.inline:active {
	text-decoration: none;
	color: #88b9b5;
}
span.rfbp-link-text-wrap {
    padding: 8px 10px;
    color: #808080;
    display: table-cell;
    text-align: left;
}
.rfbp-timestamp:hover {
	text-decoration: none;
	color: #88b9b5;
}
.rfbp-post-link-wrap .rfbp-like-count,
.rfbp-post-link-wrap .rfbp-comment-count {
	line-height: 15px !important;
	height: 15px;
}
.rfbp-post-link-wrap .rfbp-like-count {
	margin-left: 3px;
}
.page-template-page_recent-facebook-posts #content #primary.content-area {
    padding-bottom: 0;
}
.page-template-page_recent-facebook-posts .hentry {
	padding: 0;
	margin: 0;
}
.page-template-page_recent-facebook-posts .entry-content {
	text-align: left;
}
.page-template-page_recent-facebook-posts .entry-content .recent-facebook-posts.rfbp-container {
	text-align: center;
}
.page-template-page_recent-facebook-posts #more-fb-posts {
	display: block;
	text-align: left;
	margin: 50px 0 64px;
	height: 25px;
	line-height: 13px;
}
#more-fb-posts-link,
#more-fb-posts-link:focus {
    display: inline-block;
    color: #1A1A1A;
    border-top: 3px double #1A1A1A;
    font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
    font-weight: 400;
    letter-spacing: .01em;
    font-size: 13px;
    line-height: 13px;
    text-decoration: none;
    text-transform: uppercase;
    padding: 4px 0 0 1px;
    -webkit-transition: all 0s;
    transition: all 0s;
	visibility: visible;
}
#more-fb-posts-link:hover,
#more-fb-posts-link:active {
    color: #88B9B5;
    border-top: 3px double #88B9B5;
}
#load-container {
    height: 26px;
    vertical-align: top;
    text-align: center;
}
#load-container a {
	color: #EAF2F3;
	visibility: hidden !important;
}
.page-template-page_recent-facebook-posts #content #pseudo-infscr-loading {
    display: inline-block;
    height: 26px;
    margin: 0 0 0 -6px;
	-webkit-transition: all 0s;
	transition: all 0s;
}
.page-template-page_recent-facebook-posts #content #pseudo-infscr-loading > img {
    display: inline;
    vertical-align: top;
}


/*--------------------------------------------------------------
Infinite-Scroll plugin
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}

/* Infinite Scroll Extra Options */
#back_loading {
	display: block;
	width: 100%;
	position: absolute;
	left: 0;
	text-align: center;
	z-index: 99;
}
#back_loading span {
	display: inline-block;
	width: 21px;
	margin: 0 auto;
	background: url('../img/loading_5n.gif') no-repeat;
}
.next_link_container {
	height: 26px; /* Same height as #infscr-loading */ /* If changed => change also the padding-bottom of #primary.content-area */
	vertical-align: top;
	text-align: center;
}
.next_link_container_placebo {
	height: 26px; /* Same height as .next_link_container and #infscr-loading */ /* If changed => change also the padding-bottom of #primary.content-area */
	width: 100%;
}
.next_link_container a {
	color: #EAF2F3;
	visibility: hidden;
}
#content #infscr-loading {
	display: inline-block;
	height: 26px; /* Same height as .next_link_container */ /* If changed => change also the padding-bottom of #primary.content-area */
	margin: 0 0 0 -6px;
}
#content #infscr-loading > img {
	display: inline;
	vertical-align: top;
}
.add_more_link_container {
	display: block;
	text-align: left;
	margin: 50px 0 90px;
	height: 25px; /* 25px is the margin-bottom rested to the currently last div.hentry in #main */
				  /* at least 16px to include the height of #link_more_items */
	line-height: 13px; /* Some as #link_more_items, to get it vertical aligned on top of .add_more_link_container */
}
.add_more_link_container #link_more_items {
	display: inline-block;
	color: #1A1A1A;
	border-top: 3px double #1A1A1A;
	font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
	font-weight: 400;
	letter-spacing: .01em;
	font-size: 13px;
	line-height: 13px;
	text-decoration: none;
	text-transform: uppercase;
	padding: 4px 0 0 1px;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
.add_more_link_container #link_more_items:hover {
	color: #88B9B5;
	border-top: 3px double #88B9B5;
}


/*--------------------------------------------------------------
Galleries > Adjusted for the WP-Featherlight plugin
--------------------------------------------------------------*/
.gallery *,
.gallery-item,
.gallery .gallery-item {}
.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item,
.gallery-columns-4 .gallery-item,
.gallery-columns-5 .gallery-item,
.gallery-columns-6 .gallery-item,
.gallery-columns-7 .gallery-item,
.gallery-columns-8 .gallery-item,
.gallery-columns-9 .gallery-item {
	max-width: auto;
}
.gallery-caption {}

.gallery {
	display: block;
	margin: 10px auto 1.5em !important;
	visibility: hidden;
	clear: both;
}
.gallery .gallery-item {
	float: left;
	text-align: center;
	display: block;
	margin: 5px 0 15px !important;
}
.gallery .gallery-item.gal-item-col-4 {
	width: 25% !important;
}
.gallery .gallery-item.gal-item-col-3 {
	width: 33% !important;
}
.gallery .gallery-item.gal-item-col-2 {
	width: 50% !important;
}
.gallery .gallery-item.gal-item-col-1 {
	width: 100% !important;
}
.gallery .gallery-item .gallery-icon {
	max-width: 90%;
	margin: 0 auto;
}
.gallery .gallery-item.gal-item-col-1 .gallery-icon {
	max-width: 100%;
}
.gallery .gallery-item .gallery-icon img {
	margin: 0;
}
.gallery .wp-caption-text.gallery-caption {
	max-width: 90%;
	margin: 0 auto !important;
	text-align: left;
}
.gallery .gallery-item.gal-item-col-1 .wp-caption-text.gallery-caption {
	max-width: 100%;
}
.gallery .wp-caption-text.gallery-caption .gallery-caption-text {
	font-size:12px;
	color: #666;
	display: inline-block;
	width: 100%;
	text-align: left;
}
.gallery .gallery-break {
	clear: both;
}
