/*
Theme Name:   Twenty Twenty-Two Child
Theme URI: 
Author: McMaster Univeristy Library
Author URI: https://library.mcmaster.ca
Template: twentytwentytwo
Description: Twenty Twenty-Two child theme for macblog.mcmaster.ca. It incorporates the University's global header and footer.
Requires at least: 6.1
Tested up to: 6.2
Requires PHP: 5.6
Version: 1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: twentytwentytwochild
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, accessibility-ready, blog, portfolio, news
*/

body {
  margin: 0;
  --wp--style--global--content-size: 1200px;
  --wp--style--global--wide-size: 1200px;
}

.btn, a.btn, h1, h2, header#mcmaster-header .mcmaster-header__header-title.title-only {
  text-transform: inherit !important;
}
#skiptocontent a {
  color: #000;
  background-color: #fff !important;
  font-size: 16px;
  border: 1px dotted #000000 !important;
}
#site-footer a { text-decoration:underline;}

.btn-link:focus {
  border: 2px dotted #000;
}

.navbar-nav a {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: #FFF !important;
  font-size: 17px;
  line-height: 44px;
  border-radius: 0;
  border-right: 1px solid #dbdbdd;
  position: relative;
  min-height: 60px;
  transition: background-color 0.3s ease-out;
  padding-left: 24px !important;
  padding-right: 24px !important;
  border: 0;
  display: flex;
  justify-content: center;
  flex-direction: row;
  overflow: hidden;
}

.wp-block-search__button {
  color: #fff !important;
}

body .is-layout-constrained > .alignwide {
  max-width: 100%;
  display: block;
}

.wp-block-navigation__responsive-container-close, .wp-block-navigation__responsive-container-open, footer a, footer a:hover, .wp-block-search__button.wp-element-button {
	color: #fff !important;
}
.wp-block-navigation__responsive-container .wp-block-navigation-link a {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: #FFF !important;
  font-size: 17px;
  line-height: 44px;
  border-radius: 0;
  border-right: 1px solid #dbdbdd;
  position: relative;
  transition: background-color 0.3s ease-out;
  padding-left: 24px !important;
  padding-right: 24px !important;
  border: 0;
  display: flex;
  justify-content: center;
  flex-direction: row;
  overflow: hidden;
}

.is-layout-flex.wp-container-9.wp-block-columns {
	padding: 10px;
}


.wp-block-navigation__responsive-container .wp-block-navigation-link a:hover {
  background-color: white;
  color: #222 !important;
  box-shadow: 0 0 36px rgba(94, 106, 113, 0.4);
	text-decoration: none;
}	

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	background-color: #7a003c;
}

.wp-block-navigation.items-justified-right {
   --navigation-layout-justify: inherit;
}

.wp-site-blocks {
	padding-top: inherit;
}

.a2a_thanks {
  color: #fff;
  background: #000;
}

footer {
  background-color: #5e6a71;
  color: #fff;
	margin-bottom: -50px !important;
	padding: 20px;
}

footer img {
	width: 50%;
}

.is-content-justification-space-between.is-layout-flex.wp-container-17.wp-block-group.alignwide {
	padding-top: 10px !important;
}

.is-content-justification-space-between.is-layout-flex.wp-container-3.wp-block-group.alignwide {
	padding-bottom: 0px !important;
}

.has-global-padding.is-layout-constrained.wp-block-group.post-meta {
	margin: 40px;
}

.search-results .is-layout-flow.wp-block-query.alignwide, .search-results h1.wp-block-query-title {
	padding-left: 40px;
}

.home .wp-block-cover, header.wp-block-template-part, footer.wp-block-template-part {
	margin-block-start: 0 !important;
}

.home .wp-block-cover p {
	line-height: 1.5em;
}

.single-post main {
  padding-left: 20px;
  padding-right: 20px;
}

.wp-block-cover:not(.has-background) { background: #000; }

.home .wp-block-cover h2 {
  font-size: 60px;
}

.home .wp-block-cover h3 {
  font-size: 16px;
}

.home .wp-block-search__input {
	flex-grow: .85;
}

header, footer {
  margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
  margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
  width: unset;
}

footer #mac-footer {
  margin-left: inherit !important;
}

footer#mac-footer, header#mcmaster-header {
  margin-left: inherit !important;
}

.wp-block-post-title {
	font-family: inherit !important;
}

footer .wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-16, footer .wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-12 {
	padding-top: inherit !important;
}

main {
	margin-top: 1.5em !important;
	margin-bottom: 1.5em !important;
}

div#site-nav {
    padding-bottom: 0px !important;
}

footer .wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-layout-3.wp-block-group-is-layout-flex {
    padding-top: 0px !important;
}

footer .wp-block-group.alignwide {
	padding-top: inherit !important;
}

