/*
 Theme Name:   ESZC Theme 2026
 Description:  Twenty Twelve Child Theme
 Author:       Steve Wallace
 Template:     twentytwelve
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-twelve-child
*/

/* Note that we don't need to import the parent style sheet here because it is done in functions.php with enqueue_style */

/*  Theme customization starts here
-------------------------------------------------------------- */
p {
  -moz-hyphens: none;
  -ms-hyphens: none;
  -webkit-hyphens: none;
  hyphens: none;
}
.site { max-width: 960px; 
}
.entry-header img.wp-post-image {
display: none;
}
.wp-block-post-featured-image,
div.wp-block-latest-posts__featured-image.alignleft {
  margin-left: 0;
  margin-right: 10px;
}
a.wp-block-latest-posts__post-title {
	font-size: 20px;
	font-weight: bold;
}
ul.wp-block-latest-posts__list li {
	margin: 0;
}
ul.wp-block-latest-posts__list li {
	line-height: 1.25;
}
body {
	background-color: #FFFFFF;
}
body .site {
	margin-top: 0;
	padding: 0;
	box-shadow: none;
}
.site-header { 
	margin: 0;
	margin-top:5px;
	padding: 0;
}
.site-header h1, .site-header h2 {
	line-height: 120%;
	margin-bottom: 0;
	text-align: left;
}
footer#colophon a {
	text-decoration: none;
	text-align: center;
}
img.header-image,
img.front-image {
	box-shadow: none;
	margin: 0 0 5px 0;
	float: left;
}
div#top-bar div.textwidget {
	width: 300px;
	float: right;
	font-size: 110%;
	font-weight: bold;
	color: #A22103;
	margin-top: 30px;
	text-align: center;
	line-height: 120%;
}
div#top-bar blockquote {
	width: 280px;
	float: right;
	padding: 0;
	margin-bottom: 5px;
	margin-right: 0;
	font-weight: bold;
	font-size: 110%;
	text-align: center;
	line-height: 120%;
}
header#masthead hgroup {
	float:left;
}
div#primary {
	position: relative;
	margin: 0;
}
div#primary div#content {
	padding-right: 2px;
	padding-left: 2px;
}
div.widget-area {
	margin: 0;
	padding: 0;
}
header.entry-header {
	margin-bottom: 15px;
}
.entry-content ul { overflow: hidden; }

.entry-content p {
	margin: 1.2rem 0;
	line-height: normal;
}
em {
	color: #A22103;
}
.entry-content a,
.entry-content a:visited,
.entry-meta a,
.widget-area .widget a,
.widget-area .widget a:visited {
	color: #4480BB;
}
.entry-content a:hover,
.entry-meta a:hover,
.widget-area .widget a:hover {
	color: #A22103;
}

header.entry-header { margin-bottom: 10px;
}
.entry-header img.wp-post-image { 
	margin-right: 20px;
	margin-bottom: 15px;
	float: left;
}
.entry-header h1.entry-title { 
	margin: 15px 0 10px 0;
	clear: none;
	font-size: 28px;
  	line-height: 28px;
  	font-weight: bold;
}
body.home header.entry-header { display: none;
}
.entry-header p.meta {
	color: #999;
	font-size: 11px;
  	line-height: 13px;
}
div.entry-content { clear: both;
}
div.entry-content p:first-child { margin-top: 5px;
}
header.archive-header {
    display: block;
    width: 100%;
    border-bottom: 4px double #E6E5E5;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
h1.archive-title { 
    display: table-cell;
    min-width: 235px;
    vertical-align: top;
    font-size: 24px;
    line-height: 1;
}
.category-podcast .entry-header h1.entry-title {
    font-size: 20px;
}

.site-content article.category-podcast {
    margin-bottom: 20px;
    padding-bottom:  20px;
    border-bottom-style: solid;
    border-color: #E6E5E5;
}
.site-content .category-podcast iframe {
    margin-bottom: 0px;
}
.category-podcast div.archive-meta {
    margin: 0;
    display: table-cell;
}
div.podcast-icons {
    display: table;
    max-width: 120px;
    vertical-align: middle;
    margin: auto;
    margin-right: 0;
}
.podcast-icons br {
    display: none;
}
div.icon-wrapper {
    display: table-cell;
    padding-right: 10px;
}
.podcast-icons img {
    max-width: 100%;
    height: auto;
}
.widget-area aside.widget {
	border: 1px solid #DDD;
	padding: 5px 5px 5px 10px;
	margin: 2px 0;
}
.widget h3.widget-title {
	font-size: 18px;
	margin: 0 0 5px 0;
	line-height: normal;
	color: #404040;
	text-align: center;
}
.widget-area .widget .textwidget { 
	line-height: normal;
}
.widget-area .textwidget ul {
	margin: 0 0 0 0;
	padding-left: 15px;
	list-style-type: disc;
}
.widget-area .widget li {
	margin: 0;
	line-height: normal;
}
.widget-area .widget p {
	line-height: normal;
}
.widget img {
	box-shadow: none;
}
.textwidget::after {
	content: "";
	clear: both;
	display: table;
}
div.wp-block-image {
	clear: both;
}
.clear-pad {
	clear: both;
	padding-top: 24px;
}
/*  Tables  */
.entry-content table {
	font-size: 100%;
}

button,
input,
select,
textarea {
	padding: 2px;
	font-size: 12px;
}

.wp-block-file a.wp-block-file__button {
	color:#777777;
	background-color: #E6E6E6;
}

.wp-block-file a.wp-block-file__button:active,
.wp-block-file a.wp-block-file__button:focus,
.wp-block-file a.wp-block-file__button:hover,
.wp-block-file a.wp-block-file__button:visited {
 box-shadow:none;
 color:#262525;
 opacity:.85;
 text-decoration:none
}

/* Nagigation Menu */

.main-navigation ul.nav-menu.toggled-on {
	display: block; /* show phone-size menu */
}
.menu-toggle:active,
.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggle,
.menu-toggle.toggled-on {
	/* show menu toggle button on phone-sized screens */
	position: relative;
	z-index: 90;
	top: 2px;
	clear: both;
	padding: 0;
	color: transparent;
	display: block;
	background-image: url('menu-button-grey3.jpg');
	background-color: white;
	background-repeat: no-repeat;
	width: 81px;
	height: 24px;
	margin: -10px auto auto auto;
	box-shadow: 5px 5px 5px 0 lightgray;
	border: 1px solid gray;
	border-radius: 8px;
}

.main-navigation {
	text-align: left;
	margin-top: 0px;
}
.main-navigation div {
	margin-top: 10px;
	clear: both;
}

.main-navigation ul {
	padding-left: 20px;
	width: auto;
	background: #F5F5F5;
}
.main-navigation li {
	border-top: 1px solid;
	display: block;
	width: auto;
	margin: 0;
	line-height: 3;
}
.main-navigation ul#menu-main-menu > li:first-child {
	border: 0;
}

.main-navigation li a{
	display: block;
	text-decoration: none;
	line-height: 3;
	border-width: 0;
	text-transform: uppercase;
	font-size: 14px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #1A1919;
}

.main-navigation li a:hover,
.main-navigation li ul li a:hover{
	color: inherit;
	background-color: inherit;
}


/* sidebar menu */
.widget-area .widget_nav_menu li a {
	display: block;
	text-decoration: none;
	font-size: 14px;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
	font-weight: bold;
}
.widget-area .widget_nav_menu li {
	border-top: 1px solid #DDD;
}
.widget-area .widget_nav_menu li:first-child {
	border-top: 0;
}
.widget-area .widget_nav_menu li a span {
	padding-right: 5px;
}
.widget-area .widget_nav_menu li:hover,
.widget-area .widget_nav_menu li:hover a {
	background: #A22103;
	color: white;
	border-radius: 4px;
}
.cptch_block > input {
    float: none !important;
}
input[type="text"]#cptch_input {
	width: 40px !important;
}

/* bottom nav on single posts */
nav.nav-single { display: none; }

/* Image Captions */

.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 2px 0 0 0;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
line-height: 1;
}
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}
.wp-caption .wp-caption-text {
font-size: 11px;
padding: 0;
margin: 2px 0 0 0;
text-align: right;
line-height: 1;
}
.wp-caption.alignright { margin: 0 0 .5rem .5rem; }
.wp-caption.alignleft { margin: 0 .7rem .5rem 0; }
.entry-content .wp-caption-50 { max-width: 50%; }

/* =Media queries
-------------------------------------------------------------- */

/* Does the same thing as <meta name="viewport" content="width=device-width">,
 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
 * the meta tag. See http://core.trac.wordpress.org/ticket/25888.
 */
@-ms-viewport {
	width: device-width;
}
@viewport {
	width: device-width;
}

/* Minimum width of 600 pixels. */
@media screen and (min-width: 600px) {

/* adjust size of sidebar */
.site-content { width: 65%; }
.widget-area { width: 35%;}

/* Mega Drop-Down Menu
----------------------------------------------------------------------------------------------------*/
.main-navigation {
	line-height: normal;
	margin:0;
}
.main-navigation .menu-toggle { 
	display: none;
}
.main-navigation div.menu-main-menu-container {
	border-top: 0;
	margin-top: 10px;
	clear: both;
	padding-left: 2px;
}
.main-navigation ul,
.main-navigation li,
.main-navigation .sub-menu li a,
.main-navigation li a { 
	line-height: 1.5;
	text-transform: uppercase;
	border: 0;
	display: inline-block;
}
.main-navigation .sub-menu li a,
.main-navigation .sub-menu li ,
ul#menu-main-menu,
ul.menu-level-2.sub-menu {
	background-color: #E8EBFF;
}
ul#menu-main-menu {
	border-radius: 5px;
}

	/* Level 1 */
.main-navigation ul.nav-menu,
.main-navigation div.nav-menu > ul {
	background-color: white;
	border-width: 0 0 1px 0;
	border-color: #CCCCCC;
	display: inline-block;
	text-align: left;
	padding: 0;
}

.main-navigation ul.nav-menu > li > a {
	padding: 4px 5px;
	font-size: 16px;
	border-radius: 4px;
}	

.main-navigation ul.nav-menu > li {
	padding: 0;
	border-radius: 4px;
	margin: 0 10px 0 0;
	line-height: normal;
	width: auto;
}

/* Current and hover */
.main-navigation ul.nav-menu > li.current-menu-ancestor > a,
.main-navigation ul.nav-menu > li.current-menu-item > a,
.main-navigation ul.nav-menu > li:hover > a{
	background: #A22103;
	color: white;
	font-weight: normal;
	display: inline-block;
}

/* Level 2 */

/* disabled because div wrapper removed
.main-navigation ul.nav-menu > li > div > ul {
    border: 2px solid #E8DCE8;
	margin: 0 0 0 0;
	padding: 0 0 3px 0;
	position: absolute;
	top: 100%;
	z-index: 1;
	height: 1px;
	width: 240px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}
*/
.main-navigation ul.nav-menu > li > ul {
    border: 2px solid #E8DCE8;
	margin: 0 0 0 0;
	padding: 0 0 3px 0;
	position: absolute;
	top: 100%;
	z-index: 1;
	height: 1px;
	width: 240px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}
.main-navigation div.menu-wrap-level-2 {
    padding-top: 0;
    margin: 0;
}
.main-navigation ul.sub-menu > li {
	width: 240px;
	padding: 0 0 5px 0;
}
.main-navigation ul.nav-menu > li > div > ul >li:first-child {
	padding-top: 5px;
}
.main-navigation .sub-menu .current-menu-item > a {
	font-weight: bold;
	color: #A22103;
	background: #E3DFE3;
}
.main-navigation .sub-menu a[href]:hover {
	background: #A22103;
	color: white;
}

.main-navigation ul.nav-menu > li > div > ul > li > a {
	width: auto;
	padding: 0 0 0 10px;
	margin: 0;
	font-size: 14px;
	display:block;	
}

/* Level 3 */
.main-navigation div.menu-wrap-level-3 {
    padding-bottom: 2px;
    margin: -2px 0 0 0;
}
.main-navigation ul.sub-menu > li {
	 padding:0;
    background-color: inherit;
}
.main-navigation ul.menu-level-3 > li > a {
    font-size: 14px;
    line-height: 1.3;
}

/* Sub Menu.  Applies to level 2 and 3 */
.main-navigation li ul {
	margin: 0;
	display: block;
	position: absolute;
	height: auto;
	overflow: visible;
}

.main-navigation ul.sub-menu li div ul li a {
	display: block;
	padding: 0 0 0 30px;
	border: 0;
	width: auto;
}

/* override hidden when hover or focus */
/* disabled because div wrapper removed
.main-navigation ul li:hover > div > ul,
.main-navigation ul li:focus > div > ul,
.main-navigation .focus > ul {
	clip: inherit;
	overflow: inherit;
	height: inherit;
	width: inherit;
}
*/
/* show sub-menu - override hidden when hover or focus */
.main-navigation ul li:hover > ul,
.main-navigation ul li:focus > ul,
.main-navigation .focus > ul {
	clip: inherit;
	overflow: inherit;
	height: inherit;
	width: inherit;
}

} /* end media query */

@media screen and (max-width: 998px) {
div#page { margin: 0 0 0 2px; }
}
@media screen and (max-width: 785px) {
div#top-bar { display: none;}
}

/* tablet sizes */
@media screen and (max-width: 664px) {
.site-content {
	width: 100%;
	float:right;
}
div#content {
	margin-right: 232px;
	width: auto;
}
div.widget-area { 
	width: 232px;
	float: right;
	margin-right: -100%;
}
}
/* Phone size screens */
@media screen and (max-width: 599px) {
header#masthead > a {
	pointer-events: none;
   	cursor: default;
}
img.header-image, img.front-image {
	margin: 0 0 -5px;
}

div#content { margin: auto; }

div.widget-area { 
	margin: auto; 
	width: 100%;
}

.site-content article {
	margin-bottom: 0;
	padding-bottom: 0;
}

.main-navigation .menu-item-type-post_type:hover,
.main-navigation .menu-item-home:hover {
	background-color: lightgrey;
}
} /* media query */

