/*
 Theme Name:   Hemingway Child
 Description:  Child theme of `hemingway`
 Author:       Beda Kuenzle [parent A. Noren]
 Template:     hemingway
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/*
	titles, links...: #d77900; (dark-orange, instead of light-blue: #79b4d5;)
	blockquote:       #222; (instead of bluish #3e8ab4)
*/
::selection {
    background: #ffadfe;
    color: #333;
}

h1, h2, h3, h4, h5, h6, .faux-heading {
	color: #444;
	font-feature-settings: "lnum";
	font-variant-numeric: lining-nums;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: .01em;
	margin: 50px 0 25px;
}
h1 { font-size: 2em;	text-transform: uppercase; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.25em }
h5 { font-size: 1.1em; }
h6 { font-size: 1em; }
p {
	line-height: 1.5;
	margin: 0 0 20px 0;
	font-weight: 300;
	letter-spacing: .01em;
}
a {	color: #d77900;	text-decoration: none;}

fieldset legend {
	font-size: 0.8rem;
	line-height: 1;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 10px 12px;
	background: #d77900;
	color: #fff;
}

button:hover, .button:hover, .faux-button:hover, a.more-link:hover, .wp-block-button__link:hover, .wp-block-file__button:hover, 
input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
	background-color: #d77900;
	color: #fff;
	cursor: pointer;
	text-decoration: none;
}

.blog-info {
    background: transparent;
}
.blog-title {
	font-size: 3.75em;
}
.blog-title a {
	color: rgba(255,255,255,.84);
	text-transform: uppercase;
	letter-spacing: 5px;
	font-weight: 700;
}
.blog-title a:hover {
	color: #d77900;
	text-decoration: none;
}

.blog-description {
	color: rgba( 255, 255, 255, .5 );
	letter-spacing: .05em;
	text-transform: uppercase;
}
.blog-description:before {
	width: 70px;
	background: rgba(255,255,255,0.5);
}

/* Highlight parent of current submenu */
li.menu-item.current-page-parent.menu-item-has-children a {
	color: #e1e1e1;
}

.post, .page {
	border-bottom: 4px solid #d5d4d4;
	margin-bottom: 10%;
	padding-bottom: 10%;
}

.post-header .post-title.entry-title {
    font-size: 3em;
}

.post-header .post-title.entry-title, .post-header .post-title.entry-title a {
	color: #d77900;
	letter-spacing: .025em;
}
/* Titel nur bei Blog-/Archiv-/Kategorien-Überichtsseiten */
.blog .post-title.entry-title a:hover, .archive .post-title.entry-title a:hover {
	color: #333;
}
.content .archive-header, .content .post-meta, .content .post-meta .post-date .post-preview.format-aside .post-meta, .post-preview.format-video .post-meta {
	text-align: left !important;
}

/* Block: Columns */
:root .wp-block-columns, :root .wp-block-columns.igsa-cols {
	margin-bottom: 1rem !important;
}
:root .wp-block-columns .wp-block-column, :root .wp-block-columns.igsa-cols .wp-block-column, :root .wp-block-column {
	padding-bottom: 1rem !important;
}

.featured-media .sticky-post {
	background: #d77900;
}
.post-meta a:hover {
	color: #d77900;
	text-decoration: none;
}
.post-nav a:hover {
	color: #d77900;
	text-decoration: none;
}
.is-style-outline .wp-block-button__link.has-accent-color:hover {
	background-color: #d77900;
	border-color: #d77900;
	color: #fff;
}

.comment-meta-content cite a {color: inherit;}
.comment-meta-content cite a:hover {color: #d77900;	text-decoration: none;}
.comment-meta-content p a {	color: #BBB;}
.comment-meta-content p a:hover {color: #d77900;}

.searchform #searchsubmit {
	background-color: #d77900;
}
.searchform #searchsubmit:hover {background-color: #000;}

#wp-calendar tfoot a:hover, .wp-calendar-nav a:hover {
	text-decoration: none;
	color: #d77900;
}
.tagcloud a:hover {
	background: #d77900;
	text-decoration: none;
	color: #fff;
}
.footer .tagcloud a:hover {
	background-color: #d77900;
	color: #fff;
}

.post-preview.format-aside .post-content {
	background: rgba(121, 180, 213, .3);
}
.blog-menu > li + li:before {
	color: rgba( 255, 255, 255, 0.5 );
}

.post-content .wp-block-pullquote {
	border-bottom: 2px solid rgba( 0, 0, 0, .5 );
	border-top: 2px solid rgba( 0, 0, 0, .5 );
	margin: 1.5em 0;
	padding: 2.5em 0;
}
.post-content blockquote {
	color: #222;
	font-family: 'Raleway', 'Helvetica Neue', sans-serif;
	line-height: 150%;
}

.post-content blockquote a {
	color: #222;
	text-decoration:underline;
}
.post-content blockquote a:hover {
	color:#000;
}

.post-content.entry-content li {
	margin: 0 0 0 -.5em;
	padding: 0;
	color: #444;
}

.post-meta-bottom {
    margin-top: 13%; /* statt 10% */
}

.post-content .wp-caption-text, 
.post-content .gallery-caption, 
.post-content .wp-block-image figcaption, 
.post-content figcaption {
	text-align:left;
}

/* only on page WORKS: */
.post-content.entry-content .pic-holder.works .wp-caption .wp-caption-text,
.post-content.entry-content .pic-holder.works .wp-caption.alignleft .wp-caption-text {
	text-align:center;
}


/* Gutenberg-Block 'File' */
.entry-content .wp-block-file {
    padding: 0;
    margin-bottom: .5rem;
}

/* -------------------------------------------- */

.widget {
	border-bottom: 4px solid #d5d4d4;
	margin-top: 4%;
	margin-bottom: 10%;
	padding-bottom: 10%;
}
.widget-content ul li {
	border-top: 1px solid #d5d4d4;
	line-height: 130%;
	margin: 0;
	padding: 10px 0;
}
.widget-content a:hover {
	color: #000;
	text-decoration: none;
}


.footer .widget {
	margin-top:0;
}
.footer img {
	display: inline-block;
	max-width: 300px;
	height: 96px;
}

/* ENVIRA GALLERY (only under the big pic) */
/* div#envirabox-title { display:none !important; opacity:0 !important; } */


@media ( max-width: 800px ) {
	button.toggle:hover {
		outline: none;
	}	
	
	.sidebar {
		display: block;
		margin-top: 10%;
		border-top: 4px solid #d5d4d4;
	}
	.sidebar .widget.widget_search {
		display: none;
	}
}

@media ( max-width: 700px ) {
	/* column-2 is empty for the moment...*/
	.footer.section .column.column-2 { display:none; }
}

/* styling big-pic view on small mobile 
   otherwise the big pic is shown (in the overlay) smaller than the thumbnail!
*/
@media only screen and ( max-width: 490px ) {
	.blog-title { font-size: 2.75em; }	
	.blog-title a { letter-spacing: 4px; }
		
	#envirabox-wrap,
	#envirabox-wrap.envirabox-ie {
		width: 100% !important;
		left: 0 !important;
		padding: 4px !important;
	}
	#envirabox-outer {
		width: 100% !important;
		height: 100% !important;
		background-color: rgb(119, 119, 119) !important;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0 !important;
	}	
	#envirabox-content {
		width: 99% !important;
		height: auto !important;
		border: 0 none !important;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none !important;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0 !important;
	}		
	#envirabox-close {
		top: -40px !important;
		right:10px !important;
	}
}

@media ( max-width: 330px ) {
	.blog-info { padding: 20px 0;}
	.blog-title { font-size: 2.25em; }	
	.blog-title a { letter-spacing: 2px; }
	.footer .unilabs img { max-width: 98%; }
}
