/* Compact header (overrides bundle.css). Loaded after bundle.css on every page.
   The fixed navbar height is measured by the inline layout script on load/resize,
   so body padding adapts automatically. */

/* Home page: start the slider below the navbar instead of underneath it */
#header {
	margin-top: 0;
}

/* Desktop: 104px -> 64px */
@media (min-width: 980px) {
	.navbar-inner {
		min-height: 64px !important;
	}
	.navbar .brand {
		height: 56px;
		padding: 4px 0;
	}
	.navbar .brand img {
		width: 60px;
		height: 56px;
	}
	.navbar ul.nav {
		margin-top: 10px;
	}
	.navbar #searchform {
		margin-top: 17px !important; /* bundle.css sets 36px !important */
	}
}

/* Tablet/mobile (collapsed menu): smaller logo, keep the "Menü" button easy to tap */
@media (max-width: 979px) {
	.navbar .brand {
		height: auto;
		padding: 6px 0;
	}
	.navbar .brand img {
		width: 54px;
		height: 50px;
	}
	.navbar .navbar-inner button.btn-navbar,
	.navbar .navbar-inner button.btn-navbar:hover {
		margin-top: 14px !important; /* bundle.css pushes it down to 36px */
		min-height: 36px;
	}
	/* opened menu: no sideways scrollbar (search field was ~25px wider than the panel) */
	.navbar .nav-collapse {
		overflow-x: hidden !important;
	}
}

/* Footer copyright + legal links: identical on every page.
   On the home page this line sits inside #afterfooter, whose bundle.css color is
   near-white (rgb(250,250,250)); force the same black/mauve as on the other pages. */
.rs-footer-legal,
#afterfooter .rs-footer-legal,
#footer .rs-footer-legal {
	color: #000 !important;
	margin: 20px 0 10px;
}
.rs-footer-legal a,
#afterfooter .rs-footer-legal a,
#footer .rs-footer-legal a {
	color: #8a4f72 !important; /* beat #afterfooter a:not(.button) on the home page */
	font-weight: 600;
}
.rs-footer-legal a:hover,
.rs-footer-legal a:focus,
#afterfooter .rs-footer-legal a:hover,
#footer .rs-footer-legal a:hover {
	text-decoration: underline;
}
