/*
Theme Name: Schenectady Metroplex
Author: Scott Warren
Author URI: http://potratzny.com
Description:  Theme for the Schenectady Metroplex
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: schenectady-metroplex
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Woocommerce
# Footer
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700');

html {
    font-size: 80%;
  }

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  color:#000;
  font-weight:400;
  font-size:1.3rem;
  font-family: 'Lato', sans-serif;
}
#masthead .container {
  padding-top:34px;
}
section {
  padding:0 10px;

}
#page {
  overflow-x:hidden;
}
.greyBG {
  background-color:#42535c;
}
.yellow {
  color:#edb138;
}

#main {
  padding:8px;
}

#news_archive_widget-2.affix{
    position:fixed;
    top:50px;
}
.resultsRow {
  margin: 20px 0;
}
.homeNews h2 {
  display:inline-block;
  text-transform:uppercase;
  margin:30px 0 20px;
  padding:8px 0;
  border-top:4px solid #edb138;
  font-weight:700;
}
.homeNews h3 {
  color:#000;
  font-size:1.4rem;
  font-weight:700;
}
.homeNews h6 {
  color:#000;
}
.homeNews p {
  color:#000;
  margin: 20px 0;
}
.homeNews span {
  display:block;
  margin:0 0 20px;
  color:#edb138;
  font-size:1.2rem;
  font-weight:600;
}
.homeNews a:hover {
  text-decoration:none;
}
#toTop {
  position:fixed;
  bottom:20px;
  right:20px;
  z-index:9999;
  color:#edb138;
  font-size:3rem;
  display:none;
  transition:all .3s ease;
  background-color: rgba(0,0,0,.6);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height:50px;
}

.showThis {
  display:block !important;
}
.pad-0 {
  padding:0 !important;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 2.5rem;
}

hr {
  box-sizing: content-box;
  height: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  clear: both;
  font-weight:700;
}

p {
  margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
body {
  background: #fff;
  /* Fallback for when there is no custom background color defined. */
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
header#masthead {
  border-bottom:2px solid #eee;
  margin-bottom: 0;
/*  padding-top:34px;*/
}

.navbar-brand > a {
  color: rgba(0, 0, 0, 0.9);
  font-size: 1rem;
  outline: medium none;
  text-decoration: none;
}

.navbar-brand > a:visited, .navbar-brand > a:hover {
  text-decoration: none;
}

#page-sub-header {
  padding: 1.875rem 0;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  color: #cdbfe3;
  padding: 4rem 0.938rem;
  text-align: center;
  font-size: 1.25rem;
  background-size: cover;
}

#page-sub-header h1 {
  margin-top: 0;
  color: #fff;
  margin-bottom: 0.625rem;
}

#page-sub-header p {
  margin-bottom: 0;
  font-weight: 300;
  line-height: 1.4;
}

@media screen and (min-width: 768px) {
  #page-sub-header h1 {
    font-size: 3.750rem;
    line-height: 1;
  }

  #page-sub-header {
    padding-top: 3.750rem;
    padding-bottom: 3.750rem;
    text-align: left;
    font-size: 1.5rem;
  }
}
@media screen and (min-width: 992px) {
  #page-sub-header p {
    max-width: 50rem;
  }
}
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#masthead nav {
  padding-left: 0;
  padding-right: 0;
}

#masthead #desktopNav .navbar-nav > li > a {
  color: #333;
  padding: 0.5rem;
  font-size:1.4rem;
}

#masthead #desktopNav .navbar-nav > li > a:hover {
  color: #292b2c;
  /*background: #f9f9f9;*/
}

.navbar-brand {
  height: auto;
}

.navbar-toggle .icon-bar {
  background: #000 none repeat scroll 0 0;
}

.dropdown-menu .dropdown-toggle::after {
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid;
  border-top: 0.3em solid transparent;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

.dropdown-item {
  line-height: 1.2;
  padding-bottom: 8px;
  padding-top: 8px;
  text-transform:uppercase;
  font-weight:300;
  color:#fff;
}
.dropdown-item:hover {
  background-color:#42535c;
  color:#fff;
}
.dropdown-menu {
  min-width: 12.500rem;
  width:100%;
  text-align:center;
  top:65% !important;
  background-color:#edb138;
}

.dropdown .open .dropdown-menu {
  display: block;
  left: 12.250em;
  top: 0;
}

.dropdown-menu .dropdown-item {
  white-space: normal;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
}
@media screen and (min-width: 769px) {
  .dropdown-menu li > .dropdown-menu {
    right: -9.875rem;
    top: 1.375rem;
  }
}
@media screen and (max-width: 991px) {
  .dropdown-menu {
    border: medium none;
    margin-left: 1.250rem;
    padding: 0;
  }

  .dropdown-menu li a {
/*    padding: 0;*/
  }

  #masthead .navbar-nav > li > a {
    padding-bottom: 0.625rem;
    padding-top: 0.313rem;
  }

  .navbar-light .navbar-toggler {
    border: medium none;
    outline: none;
  }
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 49%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 49%;
}

.navigation.post-navigation {
  padding-top: 1.875rem;
}
.nav-links div {
  height:80px;
  background-color:#eee;
  border:1px solid #ccc;
}
.nav-links div:hover {
  background-color:#fff;
}
.nav-previous {
  border-radius: 12px 0 0 12px;
}
.nav-next {
  border-radius: 0 12px 12px 0;
}
.nav-links div a {
  color:#000;
}
.post-navigation .nav-previous a,
.post-navigation .nav-next a {
/*  border: 1px solid #ddd;
  border-radius: 0.938rem;*/
  display: inline-block;
  padding: 0.313rem 0.875rem;
  text-decoration: none;
  position:relative;
  top:50%;
  transform:translateY(-50%);
  line-height:1.3;
}

.post-navigation .nav-next a::after {
  content: " \2192";
}

.post-navigation .nav-previous a::before {
  content: "\2190 ";
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
 /* background: #eee none repeat scroll 0 0;*/
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 0.313rem;
  line-height: normal;
  padding: 0.938rem 1.438rem 0.875rem;
  text-decoration: none;
  top: 0.313rem;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

a img.alignright {
  float: right;
  margin: 0.313rem 0 1.25rem 1.25rem;
}

a img.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.alignleft {
  float: left;
  margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignleft {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignright {
  margin: 0.313rem 0 1.25rem 1.25rem;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 1.5em;
  /* Make sure select elements fit in widgets. */
}
.widget select {
  max-width: 100%;
}

.widget_search .search-form input[type="submit"] {
  display: none;
}

.nav > li > a:focus,
.nav > li > a:hover {
  background-color: #eee;
  text-decoration: none;
}

/*--------------------------------------------------------------
# Sidebar Content
--------------------------------------------------------------*/
.single-news #secondary,
.page-template-page-news #secondary,
.single-meeting #secondary,
.page-template-page-meetings #secondary,
.archive #secondary {
  background-color:#333;
  color:#fff;
  padding:40px;
}
.single-news .widget-title,
.single-meeting .widget-title {
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}
#secondary ul li a {
  color:#edb138;
  font-size:1.3rem;
}
.single-news #main h1,
.single-meeting #main h1,
.single-achievements #main h1 {
  color:#888;
  margin:0 0 20px;
  text-transform:uppercase;
  font-size:1.6rem;
}
.single-news .post-thumbnail {
  margin-bottom:30px;
}
.page-template-page-news #main h1,
.page-template-page-meetings #main h1,
.page-template-page-results #main h1,
.page-template-page-policy #main h1,
.page-template-page-service-district #main h1,
.archive #main .page-header h1,
.faqHeader h1 {
  display:inline-block;
  padding:5px 0;
  border-top:5px solid #edb138;
  font-weight:600;
  text-transform:uppercase;
}
.single-news #main h2,
.single-meeting #main h2,
.single-achievements #main h2 {
  font-weight:600;
  font-size:2.3rem;
}
.page-template-page-news #main h2,
.page-template-page-meetings #main h2,
.page-template-page-results #main h2,
.page-template-page-service-district #main h2,
.archive #main h2 {
  font-size:1.5rem;
  margin-top:8px;
}
.page-template-page-news #main h3,
.page-template-page-meetings #main h3,
.page-template-page-results #main h3,
.page-template-page-policy #main h3,
.archive #main h3 {
  font-size:1.2rem;
  color:#888;
}
.page-template-page-news #main .caption a:hover,
.page-template-page-meetings #main .caption a:hover,
.archive #main .caption a:hover {
  text-decoration:none;
}
.single-news .date,
.single-meeting .date {
  margin:10px 0 20px;
  font-style:italic;
  font-size:1.1rem;
  color:#888;
}
.pagination {
  margin:50px auto 0;
}
.page-numbers {
  display: inline-block;
  padding: 5px 10px;
  margin: 0 2px 0 0;
  border: 1px solid #ccc;
  line-height: 1;
  text-decoration: none;
  border-radius: 2px;
  font-weight: 400;
  font-size:1.2rem;
  color:#44535C;
}
.page-numbers:hover {
  text-decoration:none;
  color:#000;
}
.page-numbers.current,
a.page-numbers:hover {
  background: #eee;
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
#content.site-content {
/*  padding-bottom: 3.75rem;
  padding-top: 4.125rem;*/
}
.content-area {
  padding-top:40px;
  padding-bottom:50px;
}
.sticky .entry-title::before {
  content: '\f08d';
  font-family: fontawesome;
  font-size: 1.563rem;
  left: -2.5rem;
  position: absolute;
  top: 0.375rem;
}

.sticky .entry-title {
  position: relative;
}

.single .byline,
.group-blog .byline {
  display: inline;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.page-template-blank-page .entry-content,
.blank-page-with-container .entry-content {
  margin-top: 0;
}

.post.hentry {
  margin-bottom: 4rem;
}

.posted-on, .byline, .comments-link {
  color: #9a9a9a;
}

.entry-title > a {
  color: inherit;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

.comment-body .pull-left {
  padding-right: 0.625rem;
}

.comment-list .comment {
  display: block;
}

.comment-list {
  padding-left: 0;
}

.comments-title {
  font-size: 1.125rem;
}

.comment-list .pingback {
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  padding: 0.563rem 0;
}

.comment-list .pingback:first-child {
  border: medium none;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
  background: #f1f1f1 none repeat scroll 0 0;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 0.313rem 0.313rem 0;
  text-align: center;
}
.wp-caption img[class*="wp-image-"] {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 100%;
  padding: 0;
  width: auto;
}
.wp-caption .wp-caption-text {
  font-size: 0.688rem;
  line-height: 1.063rem;
  margin: 0;
  padding: 0.625rem;
}

.wp-caption-text {
  text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  margin:3px;
}
.gallery-item .gallery-columns-2 {
  max-width: 50%;
}
.gallery-item .gallery-columns-3 {
  max-width: 33.33333%;
}
.gallery-item .gallery-columns-4 {
  max-width: 25%;
}
.gallery-item .gallery-columns-5 {
  max-width: 20%;
}
.gallery-item .gallery-columns-6 {
  max-width: 16.66667%;
}
.gallery-item .gallery-columns-7 {
  max-width: 14.28571%;
}
.gallery-item .gallery-columns-8 {
  max-width: 12.5%;
}
.gallery-item .gallery-columns-9 {
  max-width: 11.11111%;
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugin Compatibility
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Woocommerce
--------------------------------------------------------------*/
.woocommerce-cart-form .shop_table .coupon .input-text {
  width: 8.313rem !important;
}

.variations_form .variations .value > select {
  margin-bottom: 0.625rem;
}

.woocommerce-MyAccount-content .col-1,
.woocommerce-MyAccount-content .col-2 {
  max-width: 100%;
}

/*--------------------------------------------------------------
## Elementor
--------------------------------------------------------------*/
.elementor-page article .entry-footer {
  display: none;
}

.elementor-page.page-template-fullwidth #content.site-content {
  padding-bottom: 0;
  padding-top: 0;
}

.elementor-page .entry-content {
  margin-top: 0;
}

/*--------------------------------------------------------------
## Visual Composer
--------------------------------------------------------------*/
.vc_desktop article .entry-footer {
  display: none;
}

.vc_desktop #content.site-content {
  padding-bottom: 0;
  padding-top: 0;
}

.vc_desktop .entry-content {
  margin-top: 0;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer#colophon {
  background: #2a2730 none repeat scroll 0 0;
  color: #99979c;
  padding: 1.250rem 0;
  text-align: center;
}

.copyright {
  font-size: 0.875rem;
  margin-bottom: 0;
  text-align: center;
}

.copyright a, footer#colophon a {
  color: inherit;
}

@media screen and (max-width: 767px) {
  #masthead .navbar-nav > li > a {
    padding-bottom: 0.938rem;
    padding-top: 0.938rem;
  }
}
/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Notebook
--------------------------------------------------------------*/
@media only screen and (max-width: 1280px) {
  html {
    font-size: 75%;
  }
}
/*--------------------------------------------------------------
## Netbook
--------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
  html {
    font-size: 70%;
  }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 960px) {
  html {
    font-size: 65%;
  }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 768px) {
  html {
    font-size: 70%;
  }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 480px) {
  html {
    font-size: 70%;
  }
}

.fa-bars {
    color: #edb138;
    font-size: 2rem !important;
}
#bigMenu {
    position: fixed;
    height: 100%;
    background-color: #fff;
    width: 75%;
    left: -100%;
    transition: all .3s ease-in-out;
    border-right: 1px solid #eee;
    overflow-y: scroll;
    z-index: 5;
    top:34px;
}
.showMenu {
    left: 0 !important;
}
nav#mobileNav .navbar-toggler {
    padding: 0;
    display:none;
}
.navbar-toggler-left {
    position: absolute;
    left: 1rem;
}
.menuPotratz .closeMenu {
    font-size: 3rem;
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    background: 0 0;
    font-weight: bold;
    color: rgba(0,0,0,0.5);
    border:0 !important;
}
.menuPotratz {
    font-size: 3rem;
    letter-spacing: .2em;
    padding: 20px;
}
@media(max-width:991px){
  nav#mobileNav .navbar-toggler {
    display:block;
  }
  #menu-footer-menu {
    display:none;
  }
}

.modal {
    z-index: 1;
    background-color: #fff;
    overflow-y: scroll;
}
body.printing {
    display: block;
}

@media print {
  body {
    margin: 0in 0in 0in 0in;
  }
  html, body {
    border: 1px solid white;
    height:99%;
    page-break-after: avoid;
    page-break-before: avoid;
  }
  body, html, p {
    font-size:12pt !important;
  }
  #masthead,
  aside,
  .subFooter,
  .otherHeader,
  .post-navigation,
  #toTop,
  .preFooter {
    display:none;
    height:1px;
  }
  h2.entry-title {
    font-size:16pt !important;
    display:block !important;
  }
  .site-footer {
    padding:0;
  }
  #myModal-faqs,
  #faqContent {
    display:none;
    height:1px;
    overflow:hidden;
  }
  #map {
    page-break-before: always;
  }



}

