/*
Theme Name: Publishing Platform
Author: Noeste IJver
Author URI: https://noesteijver.nl/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ppp
BitBucket Theme URI: https://bitbucket.org/performis/performis-publishing-platform/
Version: 2.7.1

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

.user-not-logged-in-newsletter-form {
	/*width: 100% !important;*/
	max-width: none !important;
}

.user-not-logged-in-newsletter-form span.h3 {
	display: inline;
	margin: 0 28px 0 0;
}

#by-you-success {
	display: none;
}

.newsletter-not-logged-in-header a label {
	font-weight: normal;
}

/* Change z-index for ads in sidebar */
.sidebar-ad-wrapper {
	z-index: 99;
}

/* Stretch images from ads in sidebar */
.pasli > img,
.pasli > a > img {
	/*width: 100%;*/
	height: auto;
}

/* Label for image ads */
.label-tag {
	font-size: 11px;
	color: #333;
}

.label-tag.img-label {
	position: absolute;
	top: .75em;
	left: .75em;
	z-index: 99;
	height: 20px;
	line-height: 1;
	font-size: 11px;
	padding: 4px;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.65);
	border-radius: 4px;
	opacity: 0;
	transition: opacity .5s ease-out;
	-moz-transition: opacity .5s ease-out;
	-webkit-transition: opacity .5s ease-out;
	-o-transition: opacity .5s ease-out;
}

.img-wrapper,
.sidebar-ad-wrapper {
	position: relative;
}

/* For homepage rows */
.content-item .label-tag.img-label,
.archive-article .label-tag.img-label {
	top: .75em;
	left: 2.05em;
}

.author-blog .label-tag.img-label {
	top: 3.5em;
	left: 3.5em;
}

.content-item:hover .label-tag.img-label,
.related-post:hover .label-tag.img-label,
.archive-article:hover .label-tag.img-label,
.sidebar-ad-wrapper:hover .label-tag.img-label,
.img-wrapper:hover .label-tag.img-label {
	opacity: 1;
}

.slider-container .label-tag,
.agenda-featured-image .label-tag {
	position: absolute;
	top: 5px;
	left: 5px;
	z-index: 99;
	background: rgba(255, 255, 255, 0.5);
	padding: 1px 2px;
}

/* Under row homepage - special situations */
.post-type-archive-wetenschap .under-homepage-row {
	margin-top: 30px;
}

.search.search-results .under-homepage-row {
	margin-bottom: 11px;
}

.page-template-page-topics .under-homepage-row,
.tax-topics .under-homepage-row {
	margin-bottom: 0;
}

/* single post type pages */
.single-artikelen .under-homepage-row,
.single-nieuws .under-homepage-row,
.single-recensies .under-homepage-row,
.single-wetenschap .under-homepage-row,
.single-agenda .under-homepage-row,
.single-post .under-homepage-row {
	margin-top: 30px;
	margin-bottom: 5px;
}

.post-type-archive-kiosk .under-homepage-row {
	margin-top: -15px;
}

.single-dossier .under-homepage-row {
	margin-top: 30px;
	margin-bottom: 5px;
}

.single-dossier .newsletter-footer {
	margin-top: 30px;
}

.ppp-front-page .under-homepage-row,
.page-template-page-marktplaats-alt .under-homepage-row {
	margin-top: 30px;
	margin-bottom: 9px;
}

/* Sidebar */
.single-wetenschap .main-content-sidebar {
	padding-top: 0;
}

/* Agenda */
.agenda-featured-image {
	position: relative;
	height: 400px;
	overflow: hidden;
}

@media (max-width: 992px) {
	.agenda-featured-image {
		height: 350px;
	}
}

@media (max-width: 768px) {
	.agenda-featured-image {
		height: 300px;
	}
}

/* Video ad */
.embed-responsive .paszone_container {
	position: initial;
}

/* Ad label */
.aspect-ratio-1-1 .content .category {
	max-width: 65% !important;
}

/* Homepage header - image ads */
.slick-fullwidth-background .paszone_container,
.slick-fullwidth-background .ppp_zone,
.slick-fullwidth-background .wppasrotate,
.slick-fullwidth-background .pasli,
.slick-fullwidth-background .pasli img {
	height: 100%;
}

.slick-fullwidth-background .paszone_container {
	width: 100%;
}

/* Remove strange behaviour (white rectangle) for ads in sidebar */
.rotating_paszone > .pasli {
	visibility: visible !important;
}

/* Addition for report a message */
body.page-template-page-report-message .featured {
	-webkit-box-align: center !important;
	-ms-flex-align: center !important;
	align-items: center !important;
}

body.page-template-page-report-message .featured .featured-content .title {
	margin-bottom: 0 !important;
}

/* Added a fix for Gravity Forms form with conditional paging */
form.auto-overflow-x .gform_body {
	overflow-x: auto !important;
}

form.auto-overflow-y .gform_body {
	overflow-y: auto !important;
}

/* Added a fix for hard-coded color for labels */
/*.aspect-ratio .content .category span {
	color: inherit !important;
}*/

.card-content a.term-title {
	text-transform: uppercase;
}

/* 05/07/2019 */
body.admin-bar.error403 .navbar-fixed-top {
	margin-top: 0 !important;
}

div.article-text-formal {
	background-color: #eee;
	padding: 30px;
	margin-bottom: 10px;
}

/* 27/08/2019 - CWT */
#flow textarea.form-control,
.single-cwt-items textarea.form-control {
	border: 1px solid #eee;
}
#flow ul.nav-pills li.active > a,
.single-cwt-items ul.nav-pills li.active > a {
	text-decoration: underline;
}

/* 11/09/2019 */

main.ppp-flow {
	background-color: #ffffff;
}
main.ppp-flow .article-detail {
	padding: 0px;
	min-height: 1px !important;
}

/* @url https://codepen.io/Mestika/pres/XmvVmx */
#flow .spinner,
.single-cwt-items .spinner {
  display: inline-block;
  opacity: 0;
  max-width: 0;
  -webkit-transition: opacity 0.25s, max-width 0.45s;
  -o-transition: opacity 0.25s, max-width 0.45s;
  transition: opacity 0.25s, max-width 0.45s;
  /* Duration fixed since we animate additional hidden width */
}
#flow .has-spinner.active,
.single-cwt-items .has-spinner.active {
  cursor: progress;
}
#flow .has-spinner.active .spinner,
.single-cwt-items .has-spinner.active .spinner {
  opacity: 1;
  max-width: 50px;
  /* More than it will ever come, notice that this affects on animation duration */
}

.back-to-dossier-link {
	display: none !important;
}

/** BuddyPress / Youzer **/
#wp-admin-bar-youzer-panel,
#wp-admin-bar-widgets {
    display: none !important;
}

/*
 * Youzer additions
 */
a.leave-group{ display: none !important; }
.yz-button-item.yz-networks-button{ display: none !important; }
#yz-group-body li.feed{ display: none !important; }
#yz-members-list a.yzmd-second-btn{ display: none !important; }

.yz-infos-content .my-favourites-wrapper,
.yz-infos-content .my-readlist-wrapper {
	border-left: 2px solid #fff;
	border-right: 2px solid #fff;
}

.community-only {
	display: none !important;
}
body.use_community .community-only {
	display: inherit !important;
}

.yz-column-content .widget-content.gform_widget .gform_wrapper,
.yz-column-content .widget-content.gform_widget .gform_confirmation_wrapper {
	margin: 20px;
	padding-bottom: 20px;
}

/* 08/07/2020 */
footer.footer-alt div.newsletter-footer {
	margin-top: inherit;
	margin-bottom: inherit;
}
div.newsletter-footer .special-radio.special-radio-inverted input {
	opacity: 0;
	position: absolute;
}

/* 25/08/2020 */
body.post-type-archive-agenda div.front-page-sidebar-alt-item,
body.page-template-page-archive div.front-page-sidebar-alt-item,
body.nvlf .related-posts-archive div.front-page-sidebar-alt-item
 {
	border: 2px solid #40c3df !important;
	padding: 18px 16px !important;
}

body.post-type-archive-agenda div.front-page-sidebar-news-item,
body.page-template-page-archive div.front-page-sidebar-news-item {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

body.post-type-archive-agenda div.front-page-sidebar-news-item div.front-page-sidebar-alt-item,
body.page-template-page-archive div.front-page-sidebar-news-item div.front-page-sidebar-alt-item {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}

body.post-type-archive-agenda div.front-page-sidebar-news-item div.front-page-sidebar-alt-item p,
body.page-template-page-archive div.front-page-sidebar-news-item div.front-page-sidebar-alt-item p {
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
}

body.post-type-archive-agenda div.front-page-sidebar-news-item div.front-page-sidebar-alt-item .btn,
body.page-template-page-archive div.front-page-sidebar-news-item div.front-page-sidebar-alt-item .btn {
	display: table;
}

/* LearnDash quick additions */
body.single-sfwd-courses .learndash-wrapper .ld-course-status.ld-course-status-not-enrolled {
	display: none !important;
}

/* Fix for tables with ACF / Gutenberg */
.article-detail article .table {
	margin: 0 0 3em 0 !important;
}

/* During migration fixes */
.featured.featured-type-wetenschap .featured-content-metadata .featured-content-metadata-image-holder {
	width: 100%;
}

/* ==================================================
 * Fixes for migration, need to remove this when done
 * ================================================== */
.article-detail .social-share-holder:first-child {
    margin-bottom: 15px;
}