/*
Theme Name:   WebAble
Description:  Content structure for WebAble v1
Author:       joedolson
Author URL:   https://www.joedolson.com
Template:     embla
Version:      1.0.4
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  webable
*/

h1 a, h2 a, h3 a {
	display: block;
}

img.alignleft, img.alignright, img.alignnone {
	outline: 1px solid #ccc;
	font-size: 1rem;
	color: #444;
}

.search-excerpt {
	background: #ffaa;
}

article.archive-description {
	display: grid;
	grid-template-columns: 174px 1fr;
}

article.archive-description img {
	margin: 24px;
}

article .taxonomy-description {
	margin-bottom: 24px;
	font-size: 16px;
}

.search_container label {
	display: block;
	font-weight: 700;
}

.site-branding {
	margin: 2em 0 .5em;
	font-family: myriad-pro, sans-serif;
	font-weight: 900;
	font-style: normal;
	color: #3878b6;
	/* Colors: lt blue = 3878b6; dk blue = 2c3f8e */
}

.site-title {
	font-size: 4rem;
}

.logo-mark:first-of-type {
	font-family: myriad-pro, sans-serif;
	font-weight: 900;
	font-style: normal;
	color: #3878b6;
}

.site-title span, .logo-mark:first-of-type span {
	color: #2c3f8e;
}

.header-row {
	position: relative;
	display: grid;
	grid-template-columns: .5fr .5fr;
	align-items: center;
}

.main-navigation li,
.main-navigation ul ul li {
	padding: 1px;
}
.main-navigation a {
	padding: .5em 1em;
	width: 100%;
	outline-offset: 1px;
}

.main-navigation li.current_page_item > a, .main-navigation li.current-menu-item > a {
	/* border-bottom: 1px solid #f66400; */
}

.main-navigation li.current_page_parent > a {
	/* border-bottom: 1px solid #f2e1d0; */
}

a.page-numbers {
	text-decoration: underline;
}

.custom-logo-link {
	vertical-align: middle;
	margin-top: -40px;
	border: 1px solid transparent !important;
	margin-right: 1em;
}

.custom-logo-link img {
	padding: 0 4px;
	align-self: flex-start;
	margin-right: 0 !important;
}

.byline {
	white-space: normal;
}

.webable_excerpt h2 {
	margin-top: 0;
}

.archive.tax-mcm_category_article .site-main {
	display: block;
}

.archive.tax-mcm_category_article .site-main ul {
	margin-top: 1em;
}

.home.page .site-main {
	grid-template-columns: repeat(6, 1fr);
}

#main .yikes-easy-mc-success-message {
	color: #1f5a00;
}

#main .notice p {
	padding: .5em;
	border-left: 3px solid #888;
	background-color: #f7f7f7;
}

#main .mc-submissions .notice p {
	padding: 0;
	border-left: none;
	background-color: transparent;
}

#main .notice.error p {
	background-color: #a9535322;
	border-left-color: #a00;
}

#main .notice.status p {
	background-color: #5353a922;
	border-left-color: #00a;
}

#main .notice.success p {
	background-color: #53a95322;
	border-left-color: #0a0;
}

.topic-latest-accessibility-news .entry-content {
	max-width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
}

section.topics:nth-child(1) {
	grid-column: span 6;
}

section.topics:nth-child(n+2) {
	grid-column: span 3;
}

section.topics:nth-child(n+4) {
	grid-column: span 2;
}

.social-menu a, .social-menu a:hover, .social-menu a:focus {
	display: inline-block;
}

.header-wrap {
	position: relative;
}

.header-wrap form {
	position: absolute;
	right: 0;
	top: 15%;
}

.header-wrap form .search-submit {
	position: relative;
	top: -2px;
}

.site-header {
	box-shadow: none;
	border-bottom: none;
	margin: 0;
}

section.topics, article {
	box-sizing: border-box;
	vertical-align: top;
	overflow: visible;
}

section.topics ul {
	margin-left: 0;
}

section.topics .entry-content {
	padding: 0;
}

.footer-menu {
	text-align: center;
}

.footer-menu ul {
	display: inline;
	margin: 0;
	padding: 0;
}

.footer-menu li {
	display: inline-block;
}

.footer-menu li a {
	display: block;
	padding: 1em;
}

.topic-sponsor-link a,
.premium-sponsor-link a {
	display: block;
}

.topic-sponsor-link a:hover .label,
.premium-sponsor-link a:hover .label,
.topic-sponsor-link a:focus .label,
.premium-sponsor-link a:focus .label {
	opacity: 1;
}

.topic-sponsor, .premium-sponsor {
	outline: 1px solid #ddd;
	background: #fafafa;
	margin-bottom: 1em;
	position: relative;
	min-height: 100px;
}

.page-header .topic-sponsor {
	max-width: 720px;
	margin: .5em auto 1em;
}

.topic-sponsor img,
.premium-sponsor img {
	margin: auto;
	max-height: 100px;
	width: auto;
	display: block !important;
	border: none !important;
	padding: 4px;
}

.premium-sponsor {
	margin-top: 2em;
}

.topic-sponsor .label, .premium-sponsor .label {
	position: absolute;
	font-size: .8em;
	padding: 3px;
	font-family: Arial;
	line-height: 1;
	color: #444;
}

a .topic-sponsor .label, a .premium-sponsor .label {
	opacity: 0;
}

.social-menu .icon {
	height: 2.5em;
	width: 2.5em;
}

#heading-latest-accessibility-news a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

#mobile-menu-toggle {
	padding: 7px 0.4em;
}

pre {
	background: #f0f0f0;
}

em, i, dfn, cite {
	font-weight: 600;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus, select:focus {
	outline: thin dotted;
}

/* Screens 960px and less */
@media screen and (max-width: 960px) {
	
}

/* Screens 900px and less */
@media screen and (max-width: 900px) {
	.header-wrap form {
		position: static;
		text-align: center;
	}
	
	.header-row {
		grid-template-columns: 1fr;
	}
	
	section.topics:nth-child(1) {
		grid-column: span 6;
	}

	section.topics:nth-child(n+1) {
		grid-column: span 3;
	}

	section.topics:nth-child(n+3) {
		grid-column: span 3;
	}
}

.nav-links .dashicons {
	vertical-align: inherit;
}

.article-a11y {
	border: 2px solid #ed942f;
	background: #f9f9f9;
	padding: 1em;
}

.article-a11y h3 {
	margin-top: 0;
}

.article-a11y table {
	font-size: 1rem;
}

.article-a11y th {
	border-bottom: 3px solid;
	background: #fff;
}

.inhouse-digital .topic-sponsor,
section.topics .inhouse-digital .topic-sponsor {
	background: #0B132B;
}

.duet-date__cell {
	padding: 0;
	border-width: 0;
}

.share-article-buttons {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	column-gap: 10px;
}

.share-article-buttons a {
	padding: 5px;
	border-radius: 10px;
	background: #fff;
	color: #000;
	display: inline-block;
	text-align: center;
	text-shadow: 1px 1px #000;
}

.share-article-buttons .social-facebook {
	background: #4267b2;
	color: #fff;
}

.share-article-buttons .social-twitter {
	background: #1da1f2;
	color: #fff;
}

.share-article-buttons .social-linkedin {
	background: #2867b2;
	color: #fff;
}


.webable-ad-pricing .wp-block-column {
	box-shadow: 3px 3px 6px #aaa;
	padding: 1em;
}

.webable-ad-pricing .wp-block-group {
	text-align: center;
	background: #2c3f8e;
	margin: -1em -1em 0;
	padding: 1em;
	color: #fff;
	border-bottom: 8px solid #3878b6;
}

.webable-ad-pricing .wp-block-group h2 {
	color: #fff;
	font-size: 1.5em;
	margin: 0;
}

.webable-ad-pricing .wp-block-buttons {
	display: block;
	margin-top: .5em;
}

.webable-ad-pricing .wp-block-group .wp-block-button__link {
	color: #0e152e;
	background: #e4a646;
	padding: 4px 24px;
}

.webable-ad-pricing .has-medium-font-size {
	margin-bottom: 0;
}

.webable-ad-pricing .has-medium-font-size strong {
	font-size: 2em;
}

.webable-ad-pricing ul {
	margin-left: 1em;
}

.page-with-sidebar article {
	background: transparent;
	box-shadow: none;
	border: none;
	padding: 0;
}

.page-with-sidebar .site-main {
	width: 100%;
}

.page-with-sidebar article .wp-block-columns {
	grid-gap: 12px;
}

.page-with-sidebar .wpcf7 form.wpcf7-form {
	background: transparent;
	padding: 0;
}

.webable-cta {
	text-align: center;
}

.webable-cta .button {
	display: block;
}

.webable-cta .button:focus,
.webable-cta .button:hover {
	color: #fff;
	text-decoration: none;
}

.widget-area {
	grid-template-columns: repeat( 4, 1fr );
}

@media screen and (max-width: 840px) {
	.widget-area {
		grid-template-columns: repeat( 1, 1fr );
	}
}

.page-with-sidebar .demo-form-wrapper {
	display: flex;
	grid-gap: 24px;
}

.demo-form-wrapper input {
	max-width: 400px;
}

.wpcf7 legend {
	border-bottom: 4px solid #3878b6;
}

.page-with-sidebar article .wp-block-columns .wp-block-column {
	background: #fff;
	margin: 0;
	position: relative;
	padding: 3em;
	border-radius: 8px;
	box-shadow: 0 2px 3px 0 #0000000d;
	border: 1px solid #0000001a;
}

.pagination h2.screen-reader-text {
	color: #2c3f8e;
}

.mcs_location_fields {
	max-width: 600px;
}

.mc-submissions button.toggle_location_fields {
	width: auto;
	margin-top: 6px;
}

.breadcrumb-area {
	display: block;
	margin-top: .5em;
}

/* Screens 841px and more */
@media screen and (min-width: 841px) {
	.mcm_article .entry-content {
		display: grid;
		/* grid-template-columns: 60% 1fr;
		column-gap: 30px; */
	}
}

/* Screens 800px and less */
@media screen and (max-width: 800px) {
	.wpcf7 .demo-form-wrapper,
	.page-with-sidebar article .wp-block-columns {
		grid-template-columns: 1fr;
		display: grid;
	}
}


/* Screens 700px and less */
@media screen and (max-width: 700px) {
	section.topics:nth-child(n+1) {
		grid-column: span 6;
	}
	.site-title {
		font-size: 3rem;
	}
	.main-navigation ul li {
		display: none;
	}
	.main-navigation {
		text-align: center;
	}
	.header-row .search-field {
		max-width: 60%;
	}
}

/* Screens 600ps and less */
@media screen and (max-width: 600px) {
	article.archive-description {
		display: block;
	}
	article.archive-description img {
		width: calc( 100% - 48px );
	}
}