/*
Theme Name:   Vít Fučík
Description:  Child theme of Sydney for vitfucik.cz. The look comes from Sydney and its settings; this theme only replaces two removed plugins (images in the menu, download boxes) and keeps small adjustments, so the parent theme can be updated safely.
Template:     sydney
Version:      1.0.0
Text Domain:  vitfucik
*/

/* Menu items shown as images (was the Menu Image plugin). The title stays for screen
   readers and search engines. */
.menu-item a img.menu-image {
	border: none;
	box-shadow: none;
	vertical-align: middle;
	width: auto;
	display: inline;
}
.menu-image-title-hide .menu-image-title {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Sydney 2.74 no longer spaces headings on pages with the "Front page" template; the
   content of those pages (Home, Hudba, O mně, Kontakt, ...) was written with Sydney 2.39. */
body.page-template-page_front-page:not(.elementor-page):not(.panel-layout) .entry-content h1 {
	margin-top: 1em;
	margin-bottom: .5em;
}
body.page-template-page_front-page:not(.elementor-page):not(.panel-layout) .entry-content :is(h2, h3, h4, h5, h6) {
	margin-top: 1.2em;
	margin-bottom: .5em;
}

/* Image captions in the text size of the page, as with Sydney 2.39 (2.74 sets 16px). */
.entry-content .wp-caption-text,
.entry-content .gallery-caption {
	font-size: inherit;
}

/* Sidebar lists as on the old site (spacing came from the Rara Theme Companion plugin's CSS,
   which was active there). */
.widget-area ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.widget-area ul li {
	margin: 0 0 20px;
}

/* DOWNLOADS page: one box per file (was the Download Manager plugin, shown as an
   embedded card 600px wide). */
.site-download {
	max-width: 600px;
	margin: 0 0 25px;
	padding: 25px;
	border: 1px solid #dcdcde;
	background: #ffffff;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
	font-size: 12px;
	color: #777777;
}
.entry-content .site-download__title {
	margin: 0 0 20px !important; /* not the spacing of headings in the text */
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	color: #1d2327;
}
.site-download__info {
	width: 100%;
	margin: 0;
	border: 1px solid #eeeeee;
}
.site-download__info td {
	padding: 10px 10px;
	border: 0;
	border-top: 1px solid #eeeeee;
	text-align: left;
}
.site-download__info td:first-child {
	width: 60%;
}
.entry-content .site-download__action {
	margin: 0;
	padding: 10px;
	border: 1px solid #eeeeee;
	border-top: 0;
	text-align: right;
}
.site-download__button,
.site-download__button:visited {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 3px;
	background: #5cb85c;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .5px;
	line-height: 1.5;
	text-transform: uppercase;
}
.site-download__button:hover,
.site-download__button:focus {
	background: #449d44;
	color: #ffffff;
}
