/*
Theme Name:  Twenty Fifteen Child Theme
Template:    twentyfifteen
Author:      Caspar Hübinger
Author URI:  https://glueckpress.com/
Description: A child theme for Twenty Fifteen sporting a logo option for your site header.
Version:     0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentyfifteen

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.
*/

/**
 * Header
 */

.site-logo {
	display: block;
	line-height: 1;
	margin-bottom: 1.6em;
}
.site-logo a {
	display: inline-block;
}

/**
 * Fixing table width
 */
.wp-block-table table {
    table-layout: auto;
}


/**
 * Gravatar images within main content
 */

.site-main .gravatar {
	border-radius: 200%;
	height: auto;
	max-width: 100px;
}

/**
 * Alert/info boxes
 */

.alert,
[class*="alert-"] {
	background: #f7f7f7;
	border-left: 5px solid #ccc;
	font-size: .875em;
	line-height: 1.5;
	margin: 1.5em 0;
	padding: 1.5em;
}
.alert-info { /* blue */
	border-color: #1d95d0;
}
.alert-warning { /* orange */
	border-color: #f39c12;
}
.alert-success { /* green */
	border-color: #2ecc71;
}
.alert-error { /* red */
	border-color: #ff5950;
}
.alert > *:first-child,
[class*="alert-"] > *:first-child {
	margin-top: 0;
}
.alert > *:last-child,
[class*="alert-"] > *:last-child {
	margin-bottom: 0;
}
.alert ul,
[class*="alert-"] ul {
	margin-left: 1.5em;
}


/**
 * Plugin support: WPML
 */
/* Reset default WPML styles first. */
#lang_sel_list {
	height: auto;
	position: inherit;
	z-index: auto;
	font-family: inherit;
}
#lang_sel_list li {
	float: none;
}
#lang_sel_list a,
#lang_sel_list a:visited {
	display: inherit;
	font-size: inherit;
	text-decoration: none;
	color: inherit;
	background: inherit;
	line-height: inherit;
	padding-left: inherit;
}


/**
 * Plugin support: MultilingualPress PRO + WPML
 */
/* That’s a guess. MultilingualPress doesn’t give us a unique selector for
   a menu within a widget, so we’re going to assume the menu has been named
   “language” anything. */
.widget_nav_menu [class*="-language"] .menu,
#lang_sel_list {
	text-align: center;
}
.widget_nav_menu .mlp-language-nav-item,
.widget_nav_menu .mlp-language-nav-item a,
#lang_sel_list li {
	border: none;
	display: inline-block;
	padding: 0;
	text-align: center;
}
.widget_nav_menu .mlp-language-nav-item a,
#lang_sel_list ul a,
#lang_sel_list ul a:visited {
	background: #f7f7f7;
	border: 1px solid rgba(51, 51, 51, 0.1);
	border-radius: 200%;
	display: inline-block;
	line-height: 3em;
	width: 3em;
}
.translation-links {
	margin-right: 1em;
	white-space: nowrap;
}
.translation-links:before { /* .genericon */
	font-size: 16px;
	vertical-align: top;
	text-align: center;
	-moz-transition: color .1s ease-in 0;
	-webkit-transition: color .1s ease-in 0;
	display: inline-block;
	font-family: "Genericons";
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	line-height: 1;
	text-decoration: inherit;
	text-transform: none;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	speak: none;
	top: 0;
	position: relative;
	margin-right: 2px;
}
@media screen and (min-width: 68.75em) {
	.translation-links:before {
		top: 3px;
	}
}
@media screen and (min-width: 77.5em) {
	.translation-links:before {
		top: 4px;
	}
}


/**
 * Tablet Large 880px
 */

@media screen and (min-width: 55em) {
	.site-logo {
		text-align: center;
	}

	.site-logo ~ .site-title,
	.site-logo ~ .site-description {
		text-align: center;
	}

	/**
	 * Plugin support: User Switching
	 *
	 * Prevents return link for switched-off admins being hidden by parent theme.
	 */

	#user_switching_switch_on a {
		background: #212121;
		bottom: 1.6em;
		color: #fff;
		font-family: 'Noto Sans', sans-serif;
		font-size: 1.25rem;
		padding: 0 1em;
		position: fixed;
		right: 0;
		z-index: 1000;
	}
}


/**
 * Hide Post Edit Link.
 */
.edit-link {
	display: none;
}


/**
 * Print
 */

@media print {
	.site-logo {
		display: none;
	}
}


/**
 * Plugin Support: Portfolio Post Type
 */
.type-portfolio,
.type-portfolio *,
.type-portfolio .entry-footer *,
body[class*="-portfolio"],
body[class*="-portfolio"] .site-info,
body[class*="-portfolio"] .site-info,
body[class*="-portfolio"] .site-info *,
body[class*="-portfolio"] .taxonomy-description {
	color: #666;
}
body[class*="-portfolio"] .secondary,
body[class*="-portfolio"] .secondary * {
	color: #ccc;
}
body[class*="-portfolio"],
body[class*="-portfolio"] .site-header,
body[class*="-portfolio"] .secondary {
	background: #212121;
}
body[class*="-portfolio"] .page-header,
body[class*="-portfolio"] .site-footer {
	background: none;
	border: none;
	box-shadow: none;
}
body[class*="-portfolio"] .page-title,
body[class*="-portfolio"] .taxonomy-description {
	margin-left: 0;
	text-align: right;
}
/* Portfolio site header & menu */
body[class*="-portfolio"] .site-header,
body[class*="-portfolio"] .site-header *,
body[class*="-portfolio"] .secondary-toggle:before,
body[class*="-portfolio"] .dropdown-toggle:after,
body[class*="-portfolio"] .menu-item-description,
body[class*="-portfolio"] .widget_nav_menu .mlp-language-nav-item a {
	color: #999;
}
body[class*="-portfolio"] .secondary-toggle,
body[class*="-portfolio"] .main-navigation li {
	border-color: #515151;
}
body[class*="-portfolio"] .dropdown-toggle:hover {
	background-color: rgba(200, 200, 200, 0.1);
}
body[class*="-portfolio"] .dropdown-toggle.toggle-on {
	outline: 1px solid #515151;
}
body[class*="-portfolio"] .widget_nav_menu .mlp-language-nav-item a {
	background: #515151;
}
/* Portfolio post */
.type-portfolio {
	background: #000;
}
.type-portfolio .entry-footer {
	background: #161616;
}
.type-portfolio .entry-title,
.type-portfolio .entry-title * {
	color: #515151;
}
@media screen and (min-width: 59.6875em) {
	body[class*="-portfolio"]:before,
	body[class*="-portfolio"] .site-header,
	body[class*="-portfolio"] .secondary {
		background-color: #2b2b2b;
		box-shadow: none;
	}
	body[class*="-portfolio"] .page-header {
		padding-left: 0;
		padding-right: 0;
	}
}