 /*
 Theme Name: WZB Global Governance
 Description: Custom theme 'WZB Global Governance' for parent theme Twenty Seventeen.
 Author: virtual.worx
 Author URI: http://www.virtualworx.de
 Template: twentyseventeen
 Version: 1.6.1 [20180322]
 */


/* Webfonts */

@font-face {
	font-family: 'Dahrendorf';
	src: url('./assets/fonts/DahrendorfWeb1009/Dahrendorf-Light.woff2') format('woff2'), url('./assets/fonts/DahrendorfWeb1009/Dahrendorf-Light.woff') format('woff'); 
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: 'Dahrendorf';
	src: url('./assets/fonts/DahrendorfWeb1009/Dahrendorf-LightItalic.woff2') format('woff2'), url('./assets/fonts/DahrendorfWeb1009/Dahrendorf-LightItalic.woff') format('woff'); 
	font-weight: 300;
	font-style: italic;
}

@font-face {
	font-family: 'Dahrendorf';
	src: url('./assets/fonts/DahrendorfWeb1009/Dahrendorf.woff2') format('woff2'), url('./assets/fonts/DahrendorfWeb1009/Dahrendorf.woff') format('woff'); 
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Dahrendorf';
	src: url('./assets/fonts/DahrendorfWeb1009/Dahrendorf-Italic.woff2') format('woff2'), url('./assets/fonts/DahrendorfWeb1009/Dahrendorf-Italic.woff') format('woff'); 
	font-weight: 400;
	font-style: italic;
}

@font-face {
	font-family: 'Dahrendorf';
	src: url('./assets/fonts/DahrendorfWeb1009/Dahrendorf-Bold.woff2') format('woff2'), url('./assets/fonts/DahrendorfWeb1009/Dahrendorf-Bold.woff') format('woff'); 
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: 'Dahrendorf';
	src: url('./assets/fonts/DahrendorfWeb1009/Dahrendorf-BoldItalic.woff2') format('woff2'), url('./assets/fonts/DahrendorfWeb1009/Dahrendorf-BoldItalic.woff') format('woff'); 
	font-weight: 700;
	font-style: italic;
}


/* Typography */

body,
button,
input,
select,
textarea {
	font-family: 'Dahrendorf', serif;
}


h2, .home.blog .entry-title,
.single-post .entry-title, .page .entry-title {
	font-weight: 400;
	color: inherit;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.entry-footer .edit-link a.post-edit-link:hover,
.entry-footer .edit-link a.post-edit-link:focus {
	background: #c09558;
}

.navigation-top {
	text-transform: uppercase;
}

.navigation-top .current-menu-item > a,
.navigation-top .current_page_item > a,
.main-navigation a:hover,
.entry-meta,
.entry-meta a {
	color: #927244;
}

blockquote,
blockquote p {
	color: #927244;
	font-size: 1.25rem;
	font-weight: 300;
	line-height: 1.6;
}

.entry-content a:focus,
.entry-content a:hover,
.entry-summary a:focus,
.entry-summary a:hover,
.widget a:focus,
.widget a:hover,
.site-footer .widget-area a:focus,
.site-footer .widget-area a:hover,
.posts-navigation a:focus,
.posts-navigation a:hover,
.comment-metadata a:focus,
.comment-metadata a:hover,
.comment-metadata a.comment-edit-link:focus,
.comment-metadata a.comment-edit-link:hover,
.comment-reply-link:focus,
.comment-reply-link:hover,
.widget_authors a:focus strong,
.widget_authors a:hover strong,
.entry-title a:focus,
.entry-title a:hover,
.entry-meta a:focus,
.entry-meta a:hover,
.page-links a:focus .page-number,
.page-links a:hover .page-number,
.entry-footer a:focus,
.entry-footer a:hover,
.entry-footer .cat-links a:focus,
.entry-footer .cat-links a:hover,
.entry-footer .tags-links a:focus,
.entry-footer .tags-links a:hover,
.post-navigation a:focus,
.post-navigation a:hover,
.pagination a:not(.prev):not(.next):focus,
.pagination a:not(.prev):not(.next):hover,
.comments-pagination a:not(.prev):not(.next):focus,
.comments-pagination a:not(.prev):not(.next):hover,
.logged-in-as a:focus,
.logged-in-as a:hover,
a:focus .nav-title,
a:hover .nav-title,
.edit-link a:focus,
.edit-link a:hover,
.site-info a:focus,
.site-info a:hover,
.widget .widget-title a:focus,
.widget .widget-title a:hover,
.widget ul li a:focus,
.widget ul li a:hover {
	-webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 3px 0 rgba(192, 149, 88, 1);
	box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 3px 0 rgba(192, 149, 88, 1);
}



/* Other modifications */
body.has-header-image .site-description, body.has-header-video .site-description {
	font-size: 1.25rem;
	color: #e9af61;
	line-height: 1.25;
	margin-top: 8px;
}

.site-footer .widget ul li {
	border: 0;
	padding: 0;
}

.site-footer .widget-area {
	padding-bottom: 0;
}

input[type="button"] + input[type="button"], 
input[type="submit"] + input[type="submit"] {
	padding: 1em 2em;
}

::-webkit-input-placeholder {
    font-family: inherit;
}
:-moz-placeholder {
    font-family: inherit;
}
::-moz-placeholder {
    font-family: inherit;
}
:-ms-input-placeholder {
    font-family: inherit;
}


/* Events Calendar */

.widget .tribe-list-widget {
	margin-bottom: 0.75em;
}

.widget ol.tribe-list-widget li {
	padding: 5px 0;
}

.widget ol.tribe-list-widget li:not(:first-child) {
	border-top: 0;
}

.tribe-events-list-widget .tribe-events-list-widget-events {
	padding: 0;
	margin: 0;
}

.widget .tribe-list-widget a {
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
}

.widget .tribe-list-widget a:hover {
	color: #927244 !important;
}

.tribe-events-list-widget .tribe-event-title {
	font-size: 1em;
	margin: 0;
}


.tribe-list-widget .tribe-event-duration {
	padding-left: 24px;
}

h2.tribe-events-page-title {
    font-size: none;
    font-weight: none;
    text-align: left;
}

.tribe-bar-disabled {
	z-index: 6;
}

.tribe-list-widget a,
.tribe-events-list-event-title a {
	position: relative;
	border: 0 !important;
	padding: 0 !important;
}

.tribe-list-widget a:before,
.tribe-events-list-event-title a:before,
.tribe-events-month-event-title a:before {
	content: ' ';
	display: inline-block;
	width: 14px;
	height: 14px;
	background: #ccc;
	border-radius: 42%;
	position: absolute;
	left: -20px;
	top: 3px;
}

.tribe-list-widget .tribe-event-title {
	margin-left: 24px;
}

.tribe-events-list .tribe-events-list-event-title {
	margin-left: 30px;
}

.tribe-events-list-event-title a:before {
	width: 20px;
	height: 20px;
	left: -30px;
	top: 6px;
}

.tribe-events-month-event-title a:before {
	width: 10px;
	height: 10px;
	left: -2px;
	top: 8px;
}

/* pink */
.tribe-list-widget .tribe-events-category-category-1  a:before,
.tribe-events-category-category-1 .tribe-events-list-event-title a:before,
.wzbgg-events-category-list a.tribe-events-category-category-1:before,
.tribe_events_cat-category-1 .tribe-events-month-event-title a:before {
	background: #c6017f;
}

/* green */
.tribe-list-widget .tribe-events-category-category-2  a:before,
.tribe-events-category-category-2 .tribe-events-list-event-title a:before,
.wzbgg-events-category-list a.tribe-events-category-category-2:before,
.tribe_events_cat-category-2 .tribe-events-month-event-title a:before {
	background: #65b22e;
}

/* blue */
.tribe-list-widget .tribe-events-category-category-3  a:before,
.tribe-events-category-category-3 .tribe-events-list-event-title a:before,
.wzbgg-events-category-list a.tribe-events-category-category-3:before,
.tribe_events_cat-category-3 .tribe-events-month-event-title a:before {
	background: #0080b6;
}

.wzbgg-events-category-list {
	list-style: none;
	margin: 30px 0 30px 20px;
}

.entry-content h2 a {
	-webkit-box-shadow: none;
	box-shadow: none;
}

.tribe-events-list-separator-month,
.single-tribe_events .tribe-events-event-meta {
	background: #f9f4ee;
}

.tribe-events-list .type-tribe_events,
.single-tribe_events .tribe-events-event-meta {
	border-color: #f9f4ee;
}

.tribe-bar-filters {
	display: none;
}

.tribe-bar-disabled #tribe-bar-form #tribe-bar-views {
	width: 100%;
	left: auto;
}

.tribe-bar-views-inner,
#tribe-bar-views .tribe-bar-views-list .tribe-bar-views-option a {
	background: #f9f4ee;
}

#tribe-bar-views .tribe-bar-views-list .tribe-bar-views-option.tribe-bar-active a:hover {
	background: #c09558;
}


.tribe-bar-views-list a,
.tribe-bar-views-list a:hover {
	-webkit-box-shadow: none;
	box-shadow: none;
}

.tribe-bar-disabled #tribe-bar-views .tribe-bar-views-list {
	padding: 0;
}

/* Social Menu */
.widget .menu-social-links-container ul li {
	border: 0;
}

.widget .menu-social-links-container a {
	position: relative;
	margin-left: 23px;

}

.widget .menu-social-links-container a:before {
	position: absolute;
	top: 3px;
	left: -23px;
	content: ' ';
	display: inline-block;
	width: 15px;
	height: 15px;
	
	background: no-repeat;
	background-size: 100%;
}

.widget .menu-social-links-container .twitter a:before {
	background-image: url('./assets/img/twitter.svg');
}

.widget .menu-social-links-container .facebook a:before {
	background-image: url('./assets/img/facebook.svg');
}

.widget .menu-social-links-container .email a:before {
	background-image: url('./assets/img/envelope.svg');
}

.widget .menu-social-links-container .feed a:before {
	background-image: url('./assets/img/rss.svg');
}


/* Textwidget */
.textwidget {
	background: #f9f4ee;
	padding: 10px 20px;
}

.textwidget p {
	margin: 10px 0;
}

.textwidget.custom-html-widget {
	background: #fff;
	padding: 0;
}

/* Responsive Video Player */
.widget .video-player-outer {
	margin: -10px -20px 0 -20px;
	padding: 0;
}

.video-player-outer ~ p {
	margin-top: 15px;
}

.video-player {
	position: relative; 
	padding-bottom: 56.25%; /* ratio 16x9 */
	height: 0; 
	overflow: hidden; 
	width: 100%;
	height: auto;
}

.video-player iframe {
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
}


.widget .tagcloud a, .widget.widget_tag_cloud a, .wp_widget_tag_cloud a {
	padding: 2px 8px 2px;
	border: 0;
}

.widget .tagcloud a:hover, .widget .tagcloud a:focus, .widget.widget_tag_cloud a:hover, .widget.widget_tag_cloud a:focus, .wp_widget_tag_cloud a:hover, .wp_widget_tag_cloud a:focus {
	color: #927244;
}

.custom-header {
	background: #000;
}

.has-header-image .custom-header-media canvas {
	position: fixed;
	height: auto;
	left: 50%;
	max-width: 1000%;
	min-height: 100%;
	min-width: 100%;
	min-width: 100vw; /* vw prevents 1px gap on left that 100% has */
	width: auto;
	top: 50%;
	padding-bottom: 1px; /* Prevent header from extending beyond the footer */
	-ms-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
	bottom: auto;
	position: absolute;
	top: 50%;
	-ms-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

@supports ( object-fit: cover ) {
	.has-header-image .custom-header-media canvas {
		height: 100%;
		max-height: 100%;
		left: 0;
		-o-object-fit: cover;
		object-fit: cover;
		top: 0;
		-ms-transform: none;
		-moz-transform: none;
		-webkit-transform: none;
		transform: none;
		width: 100%;
	}

	.has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
		height: 100%;
		left: 0;
		-o-object-fit: cover;
		object-fit: cover;
		top: 0;
		-ms-transform: none;
		-moz-transform: none;
		-webkit-transform: none;
		transform: none;
		width: 100%;
	}
}

.entry-meta {
    font-size: 0.75rem;
}

.custom-logo-link img {
	max-height: none;
	height: 45px;
	width: 54px;
	margin-bottom: 12px;
}


@media screen and (min-width: 30em) {
	.custom-logo-link img {
		max-height: none;
		margin-bottom: 2px;
		margin-right: 5px;
	}

	.site-branding-text {
		margin-bottom: 12px;
	}

	body.has-header-image .site-description, body.has-header-video .site-description {
		margin-top: 2px;
	}

}


@media screen and ( min-width: 48em ) {
	/* Layout */
	.wrap {
		max-width: 1100px;
	}

	.has-sidebar:not(.error404) #primary {
		width: 62%;
	}

	.has-sidebar #secondary {
		width: 32%;
	}

	.navigation-top .wrap {
		max-width: 1100px;
	}

	/* Typography */
	.navigation-top {
		font-size: 1rem;
	}

	.main-navigation a {
		padding: 0.5em 1.25em;
	}

	.site-header .navigation-top .menu-scroll-down {
		top: 0.3em;
	}

	body, button, input, select, textarea,
	.navigation-top {
	    font-size: 17px;
    	font-size: 1.05rem;
	}

	.site-title {
		font-size: 2.15rem;
	}

    h2.widget-title {
    	font-size: 0.75rem;
    }

    #secondary {
    	font-size: 14px;
    	font-size: 0.9rem;
    }

    .custom-logo-link img  {
    	height: 57px;
    	width: 69px;
    	max-height: none;
    	max-width: none;
    	margin: 0 3px;
    }

	body.has-header-image .site-description, body.has-header-video .site-description {
		margin-top: 4px;
	}
}






.main-navigation .lang-main-menu.active a {
	color:#927244;
}

.main-navigation .lang-main-menu.desktop {
	display: none;
}

@media screen and ( min-width: 48em ) {
	.main-navigation .lang-main-menu.mobile {
		display: none;
	}

	.main-navigation .lang-main-menu.desktop {
		display: inline-block;
	}

	.main-navigation .lang-main-menu.desktop:not(:last-child) a {
		padding-right: 0;
	}

	.main-navigation .lang-main-menu.desktop:not(:last-child) a:after {
		content: " /";
		color: #222;
	}

	.main-navigation .lang-main-menu.desktop:last-child a {
		padding-left: 0;
	}
}

.byline {
	display: inline;
}