/*
 Theme Name:   Twenty Fourteen Child
 Description:  Twenty Fourteen Child Theme
 Template:     twentyfourteen
 Version:      2.1.1
 Author:       Tate Bengtson
 Tags:         responsive-layout, custom-background, featured-image-header, microformats, theme-options
*/

/* =Theme customization starts here

!---- Colour Notes----!
corporate blue = #008ad3
corporate orange = #fe8d17
corporate very dark green = #055c39
corporate dark green = #40927c
corporate light green = #7ab34c

navbar top background = #055c39
navbar search background = #24890d
navbar sub hover = #41a62a

------ */

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	margin: 36px 0 12px;
}

h1 {
	font-size: 34px;
	font-weight: 600;
}

h2 {
	font-size: 28px;
	font-weight: 800; 
}

h3 {
	font-size: 22px;
	font-weight: 750;
}

h4 {
	font-size: 20px;
	font-weight: 650;
}

h5 {
	font-size: 18px;
	font-weight: 600;
}

h6 {
	font-size: 16px;
	font-weight: 600;
}

/* Center Site */
.site { margin: 0 auto; }

/* Masthead and Site Description */
#page #masthead{background:#055c39 url()}
.site-description{font-size:44px;font-family:Tangerine;color:#ff8815;font-weight:500;text-shadow:.1px .1px white!important}

/* Absolute Position Site Logo Image in Header */
img.logo-tag {
position: absolute;
top: 10px;
bottom: 10px;
left: 10px;
margin-bottom: auto;
margin-top: auto;
height: 170px;
max-height: 100%;
max-width: 65%;
}

/* Left Align Main Menu and pad between site name and menu */
.header-main { text-align: left; }
.primary-navigation { float: none; }
.primary-navigation li { text-align: left; }
.site-title a, .site-title a:hover { padding-right: 10px; }

/* Match mobile menu toggle color */
.menu-toggle {background-color: #055c39;}

/* Featured Content Slider */
.featured-content {background-color:#000}
.featured-content .entry-header {background-color:#055c39}
.featured-content .entry-title {font-size:23px}
.featured-content .entry-title a:hover {color:#fe8d17!important}
.featured-content .entry-meta a:hover {color:#fe8d17!important}
.slider-control-paging a:before {background-color:#919191}
.slider-control-paging a:hover:before {background-color:#ff8815}
.slider-control-paging .slider-active:before,.slider-control-paging .slider-active:hover:before {background-color:#ff8815}
.slider-direction-nav a {background-color:#055c39}
.slider-direction-nav a:hover {background-color:#055c39}

/* Featured Content Slider - Hide Excerpt and Ephemera */
.featured-content .entry-content,
.featured-content .entry-date,
.featured-content .byline,
.featured-content .edit-link,
.featured-content .cat-links,
.featured-content footer.entry-meta {
display: none;
}

/* Sidebar and Footer Widgets */
.primary-sidebar .widget-title {font-size:14px;color:#41a62a}
.primary-sidebar .widget {font-size:13px}
.footer-sidebar .widget {font-size:13px; color: #ffff; }
.footer-sidebar .widget-title {font-size:13px; color: #ffff; }

/* Site Footer */
.site-footer {background-color:#055c39}
.site-info a {font-size:13px; color:#ffffff;}
.site-info a:hover {color: #41a62a;}
.site-info p {font-size:13px; color:#ffffff; margin: auto; text-align: center; width: 99%;}

/* Remove Title on Home page */
#post-176 .entry-header {display: none;}

/* Fix Margins on Home Page */
#post-176 .entry-content,
#post-176 .content-area {
margin-left: auto;
margin-right: auto;
max-width: 80%;
}

/* Hide Tag Links */
.tag-links { display: none; }

/* Hide Author VCard on Pages and Posts */
a.fn { display: none; }

/* Post Heading Rounded Borders On Top Featured Image */
.site-content .entry-header {
-moz-border-top-right-radius: 15px;
-moz-border-top-left-radius: 15px;
border-top-right-radius: 15px;
border-top-left-radius: 15px;
}

/* Undo image pull left or right x 168px */
.full-width .site-content blockquote.alignleft,
	.full-width .site-content img.size-full.alignleft,
	.full-width .site-content img.size-large.alignleft,
	.full-width .site-content img.size-medium.alignleft,
	.full-width .site-content .wp-caption.alignleft {
		margin-left: 0px;
	}
	.full-width .site-content blockquote.alignright,
	.full-width .site-content img.size-full.alignright,
	.full-width .site-content img.size-large.alignright,
	.full-width .site-content img.size-medium.alignright,
	.full-width .site-content .wp-caption.alignright {
		margin-right: 0px;
	}

/* Remove formatting from anchor */
a.none,
a.none:hover,
a.none:active,
a.none:visited {
	text-decoration: none;
	color: #2b2b2b;
}

 /* Adjust for Sticky Menu for Anchors */
.scroll-element {
  scroll-margin: 48px 0 0 48px;
}

/* Recent Posts query */
div.recentposts table, 
div.recentposts thead,
div.recentposts th,
div.recentposts tbody,
div.recentposts tr,
div.recentposts td {
	border: 0px;
	border: none;
	cellpadding: 6px;
	cellspacing: 6px;
	vertical-align: middle;
}
div.recentposts td.query-field-featured_image { 
	text-align: center; 
}
div.recentposts img {
	border: 1px solid #cbcbcb;
	padding: 2px;
max-height: 100px;
max-width: 150px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}
div.recentposts div.query-footer {
	text-align: right;
	font-style: italic;
}

/*---------------TABLE RECREATION----------------------*/
/* Park Facilities query */
div.parkfacilities a {font-size: 1.25em; text-decoration: none;}
div.parkfacilities table,
div.parkfacilities thead,
div.parkfacilities th,
div.parkfacilities tbody,
div.parkfacilities tr,
div.parkfacilities td {
	border: 0px;
	border: none;
	cellpadding: 6px;
	cellspacing: 6px;
	vertical-align: middle;
}
div.parkfacilities td.query-field-featured_image { 
	text-align: center; 
}
div.parkfacilities img {
	border: 1px solid #cbcbcb;
	padding: 2px;
max-height: 100px;
max-width: 150px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}
div.parkfacilities div.query-footer {
	text-align: right;
	font-style: italic;
}

/* Recreation Programs query */
div.recreationprograms table,
div.recreationprograms thead,
div.recreationprograms th,
div.recreationprograms tbody,
div.recreationprograms tr,
div.recreationprograms td {
	border: 0px;
	border: none;
	cellpadding: 6px;
	cellspacing: 6px;
	vertical-align: middle;
}
div.recreationprograms th { text-transform: capitalize; }

/* --------------TABLE CORPORATE STANDARD--------------*/
table.corporate { 	clear: both; }
table.corporate th, td,
tr.corporate-heading,
tr.corporate-subheading {
border: 1px solid #000000;
border-collapse: collapse;
margin-left: auto;
margin-right: auto;
}
tr.corporate-heading {
background-color: #055c39;
color: white;
font-size: 1.15em;
font-weight: bold;
}
tr.corporate-subheading {
background-color: #40927c;
color: white;
font-size: 1.1em;
font-weight: bold;
}

/* --------------POST QUERIES--------------*/
/* Learn More post query */
div.learnmore img {
	margin: 12px 15px 15px 0;
	float: left;
	clear: left;
	border: 1px solid #cbcbcb;
	padding: 2px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}
div.learnmore div.query-field-post_title { 
	font-size: 110%;
	font-weight: bold;
        padding-top: 20px;
}

div.learnmore div.query-field-post_date {
	font-size: 0.9em;
	color: #545454;
	margin-bottom: 1.0em;
}
div.learnmore div.query-field-post_excerpt {
	margin-bottom: 20px;
}

div.learnmore div.query-row-0 {
	margin-top: -20px;
}
div.learnmore div.query-row {
clear: both;
}
div.learnmore div.query-footer {
	text-align: right;
	font-size: 110%;
	font-style: italic;
	margin-top: 1.0em;
}

/* Emergency Dashboard Page query */
div.emergency div.query-field-post_content h1, h2, h3, h4, h5 { font-size: 100%; }
div.emergency .su-spoiler-title {
	background: #551414;
	color: #fe8d17;
	font-size: 1.0em;
line-height: 1.4em;
}
div.emergency .su-spoiler-icon { font-size: 1.0em; }
/* Past Situation Reports spoiler */
div.emergency-sitrep .su-spoiler-title {
	background: inherit;
	color: inherit;
	}
/* Master Parks Plan Page */
.su-spoiler.parksplan { margin-bottom: .5em; }
.su-spoiler-title.parksplan { font-weight: normal; }
.su-spoiler-style-fancy.parksplan > .su-spoiler-title {
	background: #7ab34c;
}
/* ---------------Shortcodes Ultimate custom CSS--------------------- */
div.su-tabs { background-color: white; }
div.su-tabs-vertical { background-color: white; }
div.su-tabs-nav span {
	color: #fff;
	background-color: #055c39;
	}
div.su-tabs-nav span:hover { background-color: #055c39; }
div.su-tabs-nav span.su-tabs-current { background-color: #24890d; color: white; }
div.su-tabs-pane { background-color: #f3f3f3; color: black; border: 1; padding: 1.75em; border-width: 1px; border-color: #24890d; border-style: solid; }
div.su-post-comments-link { display: none; }

/* Shortcodes Spoiler for Parks and Recreation */ div.recreation > div.su-spoiler-title { color: white; background-color: green; }
/* Shortcodes Spoiler for Water Conservation and Meters */ div.water > div.su-spoiler-title { color: white; background-color: #008ad3; }
/* Shortcodes Spoiler for Public Works -> Snow Clearing */ div.snow > div.su-spoiler-title { color: white; background-color: #008ad3; }
/* Shortcodes Spoiler for Protective Services -> Citizens on Patrol */ div.cop > div.su-spoiler-title { color: white; background-color: #008ad3; }

/* Pullquote coloured margin */
div.su-pullquote-align-left {
	border-right: 5px solid #008ad3;
}
div.su-pullquote-align-right {
	border-left: 5px solid #008ad3;
}

/* Make File Download Button Inline-Block and add Bottom Margin */
.wp-block-file__button { display: inline-block; }
.wp-block-file:not(.wp-element-button) { font-size: 0.9em; margin-bottom: 1.5em; }

/* Formatting for Consolidated Bylaws List */
.bylaws_consolidated_modified {font-size: 12px; }
.bylaws_consolidated_modified::before { content: "("; font-size: 12px; }
.bylaws_consolidated_modified::after { content: ")"; font-size: 12px; }

/* Hide a Block */
.hide-this { display: none; }

/* Indent Pull Quote Block */
blockquote.indent-quote { margin-left: 2.0em; font-size: 97%; font-style: normal; color: black; }

/* Double Space List Items */
ol.list-2x-space li { margin: 0 0 1.0em 0; }