/*
	Theme Name: ANC6C 2019
	Theme URI: http://anc6.org
	Description: HTML5 Custom WordPress Theme
	Author: Max Kukoy
	Author URI: http://maxkukoy.com

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/
/* http://meyerweb.com/eric/tools/css/reset/
   .0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:400 1.6rem/1.6 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#444546;
	background: #fff;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#98101a;
	text-decoration:underline;
	transition: all .3s linear;
	font-weight: 600;
}
a:hover {
	color:#003366;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
nav#menu a {
	text-decoration: none;
	}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
h1 {
	font-size: 2.8rem;
	color: #98101a;
	font-weight: 600;
	line-height: 1.2;
	padding-bottom: .25rem;
	border-bottom: 1px solid #f2f2f2;
	margin-bottom: 1rem;
	margin-top: 1rem;
	}
h2 {
	font-size: 2.4rem;
	font-weight: 600;
	color: #5c8ab8;
	padding-top: .25em;
	}
h3 {
	font-size: 2rem;
	font-weight: 600;
	color: #444;
	padding-top: .25em;
	border-top: 1px solid #f2f2f2;
	margin-top: 1rem;
	}
h4 {
	font-size: 1.6rem;
	font-weight: 400;
	margin-bottom: 2rem;
	margin-left: 50px;
	margin-top: 1rem;

	}
article h3:first-child {
	border-top: 0;
	}
p,
li p
{
	margin: 0;
	padding: .5em 0;
	}
strong {
	font-weight: 700;
	}
em {
	font-style: italic;
	}
ul, ol {
	margin: .5em 15px .5em 30px;
	list-style: disc outside;
	padding: 0;
	}
ol {
	list-style: decimal outside;
	}
ul li {
	margin: 0;
	padding: .25em;
	}
td {
	padding: 5px 10px;
	border: 1px solid #ccc;
	border-collapse: collapse;
	font-size: 1.4rem;
	}
tr:nth-of-type(odd) td {
	background: #f9f9f9;
	}
tr:nth-of-type(even) td {
	background: #fff;
	}
tr th {
	background: #807f7f;
	color: #fff;
	font-weight: bold;
	}
table {
	margin-bottom: 1em;
	width: 100%;
	}
/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.menuwrapper{
	width: 100%;
	height: 40px;
	background: #012e5b;
	}
.menubar {
	margin: 0 auto;
	}
.wrapper {
	max-width:1024px;
	margin:0px auto;
	position:relative;
	padding: 0 50px;
	border:0px solid #000;
	clear: both;
}
.wrapper::after {
	content: " ";
	clear: both;

}
header.header {
	position: relative;
	display: block;
	margin-top: 0px;
	}
main {
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: 1fr 200px;
	}
/* header */
nav#menu a:hover{
	color: #98101a;
	background: #fff;
	}
.header {
}
span.fa {
	color: #fff;
	font-size: 3rem;
	line-height: 37px;
	padding-left: 20px;
	}
/* logo */
.logo {
	padding: 0px;
	z-index: 1;
	position: absolute;
	top: -24px;

}
.tippy {
	position: relative;
	margin-left: 115px;
	z-index: 0;
	background-image: url('img/anc6c-bannerv2.jpg');
	background-position: 50%;
	background-size: cover;
	width: 809px;
	height: 115px;
	border-bottom: 5px solid #012e5b;
	background-repeat: no-repeat;
}

/* footer */
.footer {
 text-align: center;
	border-top:2px solid #f2f2f2;
}
aside {
	padding-top: 81px;
	margin-bottom: 25px;
	}
span.welcome {
	font-style: italic;
	color: #fff;
	text-align: right;
	display: block;
	font-size: 2rem;
	line-height: 40px;
	}
article.type-post {
	border-bottom: 1px solid #f2f2f2;
	padding-bottom: 25px;
	margin-bottom: 15px;
}
article.type-post:last-of-type {
	border-bottom: 0;
}

/*------------------------------------*\
    NAVIGATION
\*------------------------------------*/
#toggle-menu {
	display: none;
	}
main section {
	padding-top: 35px;
	}
section {
	margin: 0px;
	padding-right: 24px;
	}
nav {
	border-top: 0;
	background: #f2f2f2;
	color: #336647;
	border: 1px solid #646161;
	}
nav ul {
	margin: 0 0 0 0;
	padding: 1rem 0 0 0;
	list-style: none outside;
	}
nav ul ul {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	}
nav ul li {
	margin: 0;
	padding: .5rem 0;
	}
nav ul ul li {
	margin: 0;
	padding: .2rem 0;
	}
nav ul li a {
	display: block;
	color: #012e5b;
	padding: .4em 10px .4em 13px;
	line-height: 1.2;
	}
nav ul ul.sub-menu  {
	display: none;
	}

nav ul ul li {
	font-size: 1.4rem;
	}

nav ul ul li a {
	padding: .3em 10px .3em 20px;
	}
nav ul li.current-menu-parent ul.sub-menu,
nav ul li.current-menu-item ul.sub-menu {
	display: block;
	}
nav ul li.current-menu-item a {
	color: #98101a;
	}
nav ul li.current-menu-item ul.sub-menu li a,
nav ul li.current-menu-parent ul.sub-menu li a
 {
	color: #012e5b;
	}
.mobilenav {
	display: none;
}
/*------------------------------------*\
    SEARCHFORM
\*------------------------------------*/

span.searchform {
	position: absolute;
	right: 50px;
	border: 0px solid red;
	z-index: 10;
	top: 5px;
	}
.search-input,
.search-submit	 {
	font-size: 1.3rem;
	}
span.rss {
	float: right;
	display: block;
	max-width: 32px;
	max-height: 32px;
	display: none;
	}

/*------------------------------------*\
    MINUTES / REPORTS AND ARCHIVE
\*------------------------------------*/
ul.minutesreportslist ul	{
	display: none;
	}
ul.minutesreportslist li:nth-of-type(1) ul
	{
	display: block;
	}

/*------------------------------------*\
    SLIDESHOW
\*------------------------------------*/

div.slideshow {
	max-height: 475px;
	min-height: 400px;
	width: 100%;
	float: none;
	border: 0px solid #646161;
	padding: 0;
	margin: 0 0 0 0px;
	background: #fff;
	overflow: hidden;
	list-style: none outside;
	}
div.slideshow ul li {
	margin: 1px 0 0 0;
	padding: 0;
	}
div.slidecaption {
	display: grid;
	grid-template-columns: 75% 25%;
	min-height: 25px;
	padding-top: 5px;
}
div.slideshow span.caption {
	margin: 0 ;
	padding: 0;
	display: block;
	font-size: 1.2rem;
	border-bottom: 0px solid #f2f2f2;
	text-align: left;
	line-height: 1;
	}
.caption p {
	margin: 0;
	padding: 0;
}
div.slideshow span.credit {
	margin: 0;
	padding: 0;
	display: block;
	font-size: 1.1rem;
	text-align: right;
	font-style: italic;
	line-height: 1;
	}
div.slideimg {
	width: 100%;
	height: 100%;
	max-height: 440px;
}
div.slideshow img {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	}
div.slideimg img {
	vertical-align: top;
}
div.cycle-slide {
	width: 100%;
	height: 100%;
	overflow: visible;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

/*------------------------------------*\
    Calendar Page
\*------------------------------------*/
.one-month h2 {
	background: #5c8ab8;
	color: #fff;
	padding-left: 1rem;
	line-height: 2.8rem;
	padding-top: 0;
	margin-top: 1rem;
	}
hr {
	width: 50%;
	text-align: center;
	border: 0;
	border-top: 1px solid #f2f2f2;
	}

/*------------------------------------*\
    COMMISSIONERS
\*------------------------------------*/
ul.boxlist {
	list-style: none outside;
	margin:0;
	padding: 0;
	}
.onebox {
	float: left;
	width: 320px;
	padding: 10px;
	margin: 10px 20px 10px 0 ;
	border-top: 1px solid #efefef;
}
ul.onebox:nth-of-type(2n+1) {
	clear: both;
	}
.more-link {
	display: none;
	}
ul.boxlist:after {
	display: block;
	content: "";
	clear: both;
	height: 1px;
	}
/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.postlist {
	list-style: none;
	border-top: 2px solid #f2f2f2;
	margin: 2rem 0 0 0;
	padding: 2rem 0 0 0;
}
.postinfo {
	display: block;
	font-size: 1.5rem;
	text-transform: uppercase;
}
.pagecontent + h2.doclistgroup,
h1 + h2.doclistgroup {
	border: 0;
}
h2.doclistgroup {
	border-top: 1px solid #f2f2f2;
}
h3.yearlabel {
	margin-left: 20px;
	border: 0;
	cursor: pointer;
	display: block;
	position: relative;
}
h3.yearlabel::after {
	content: "\2794";
	display: inline-block;
	font-size: 1.6rem;
	padding: 0 0 0 5px;
	position: absolute;
	top: .75rem;
}
h3.yearlabel.showlist::after {
	transform: rotate(90deg);
}

ul.agendalist {
	margin-left: 50px;
	margin-top: 0;
	margin-bottom: 2rem;
}
ul.agendalist li {
	padding: 0;
}
h3.yearlabel + ul.agendalist {
	display: none;
}
h3.yearlabel + ul.agendalist.showhide {
	display: block;
}
h2 + h3.yearlabel + ul.agendalist {
	display: block;
}
/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:768px) and (max-width: 1024px) {

	.wrapper {
		width: 768px;
		padding: 0 20px;
		}
	div.logo {
		max-width: 140px;
	}
	div.tippy {
		width: 628px;
		height: 105px;
		margin-left: 100px;
		}
	section {
		width: 568px;
		padding: 0 20px;
	}
	nav#menu {
		width: 160px;
		}
	nav {
		font-size: 1.5rem;
		}
	nav ul {
		padding: 6rem 0 0 0;
		}
	nav ul li {
		margin: 0;
		padding: .5rem 0;
		}
	nav ul li a {
		line-height: 1;
		}
	td a {
		font-size: 1.2rem;
		}

}

@media only screen and (min-width:600px) and (max-width: 767px) {

}

@media only screen and (min-width:320px) and (max-width: 767px) {

	#toggle-menu {
		display: block;
		}
	#mobilemenu {
	    position: absolute;
	    width: 100%;
			background: #fff;
	    display: block;
	    margin-top: 0px;
	    cursor: pointer;
	    padding-top: 10px;
	    left: -100%;
			top: 40px;
			z-index: 100;
	}
	.togglebtn {
		position: absolute;
		top: 7px;
		left: 15px;
		display: block;
		height: 25px;
		width: 25px;
		z-index: 100;

	}
	.togglebtn span,
	.togglebtn span:after,
	.togglebtn span:before {
	    border-radius: 1px;
	    height: 4px;
	    width: 25px;
	    background: #fff;
	    position: absolute;
	    display: block;
	    content: '';
	    transition: all .5s ease-in-out;
			top: 0;
	}
	.togglebtn span:before {
	    top: 10px;
	}
	.togglebtn span:after {
	    top: 20px;
	}

	.togglebtn.menuopen span {
	    background-color: transparent;
	}

	.togglebtn.menuopen span:after,
	.togglebtn.menuopen span:before {
		top: 10px;
	}

	.togglebtn.menuopen span:before {
	    transform: rotate(45deg);
	}

	.togglebtn.menuopen span:after {
	    transform: rotate(-45deg);
	}

	.wrapper {
		padding: 0 20px;
		}
	div.logo {
		max-width: 120px;
		margin-left: 15px;
	}
	span.welcome {
		font-size: 1.8rem;
		}
	main {
		display: grid;
		grid-template-columns: 1fr;
		}
	aside {
		display: none;
	}
	.tippy {
		margin-left: 75px;
		z-index: 0;
		background-image: url('img/anc6c-bannerv2.jpg');
		background-position: 50%;
		background-size: cover;
		border-bottom: 5px solid #012e5b;
		background-repeat: no-repeat;
		width: auto;
		min-height: 77px;
		max-height: 85px;
	}
	nav {
			border: 1px solid #646161;
	}
	nav ul {
		padding-top: 0px;
		}
	div.slideshow {
		height: auto;
		width: 100%;
		min-height: 20px;
		}
	div.slideimg {
		max-height: 90%;
	}
	div.slidecaption {
		grid-template-columns: 50% 50%;
	}
}

@media only screen and (max-width:500px) {

	div.slideshow {
		float: none;
		margin-left: 0;
		width: auto;
		max-width: 100%;
		}
	tr th {
		background: #807f7f;
		color: #fff;
		font-weight: bold;
		}
	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr {
		display: block;
	}

	/* Hide table headers (but not display: none;, for accessibility) */
	th {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	tr { border: 1px solid #ccc; }

	td {
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee;
		position: relative;
		padding-left: 35%;
		min-height: 3rem;

	}

	td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 30%;
		padding-right: 10px;
		white-space: nowrap;
		display: block;
	}

	/*
	Label the data
	*/
	td:nth-of-type(1):before { content: "SMD"; }
	td:nth-of-type(2):before { content: "Name"; }
	td:nth-of-type(3):before { content: "Address"; }
	td:nth-of-type(4):before { content: "Phone"; }
	td:nth-of-type(5):before { content: "Email"; }

	 div.cycle-slide {
		max-height: 400px;
	 }
	 div.cycle-slide .slideimg {
		 max-height: 350px;
	 }
	 div.slideshow span.caption,
	 div.slideshow span.credit {
		 margin: 0;
	 }
}


@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
