/*
Theme Name: Nerd Nite Global AKA Son of City
Theme URI: https://nerdnite.com
Description: Remake of NN Global theme as child theme for NN City
Author: Alexander Bailey
Author URI: https://alexanderbailey.com
Template: nerdnite_city_theme
Text Domain: nerdnite_city_theme
Version: 1.0
*/
#masthead #desktop_nav nav .main-menu li a {
  background-color: #ED1C24;
  border-color: #ED1C24;
}
#masthead #mobile-header #header-offcanvas nav ul li a, #header-offcanvas nav ul li a {
  background-color: #ED1C24;
}
#masthead #desktop-header nav .main-menu li a:hover, #masthead #desktop-header nav .main-menu li.current_page_item a {
  color: #ff7d42;
  background: #002a37;
}
#masthead #mobile-header #header-offcanvas nav ul li a {
  background-color: #ED1C24;
}
#masthead #mobile-header #header-offcanvas nav ul li.current_page_item a, #masthead #mobile-header #header-offcanvas nav ul li a:hover, #masthead #mobile-header #header-offcanvas nav ul li a:active {
  color: #ff7d42;
}
.the-slideshow .pagination a.selected {
  background: #ED1C24
}
.the-video .wrap {
  max-width: 850px !important
}
hr {
  margin: 0;
  /* City has 1.5em 0; */
}
.sidebar hr:last-child {
  /*	hides unneded hr in Signup Widget area*/
  display: none;
}
.select2-container--default #select2-nerdnite-city-selector-results .select2-results__option--highlighted.select2-results__option--selectable {
  /* override for highlight from select2 in cityListSelector */
  background-color: #FF6223;
  font-weight: bold;
}
.home .post a.more-link {
  /* used? */
  color: #000;
  font-size: 18px;
  font-weight: 700;
}
.home .post .post-thumbnail .link, .home .video .post-thumbnail .link, .archive .post .post-thumbnail .link, .archive .video .post-thumbnail .link, .sidebar .post .post-thumbnail a, .sidebar .video .post-thumbnail a {
  font-size: 80%;
}
.home .posts .post, .home .posts .video, .archive .posts .post, .archive .posts .video {
  float: left;
  display: block;
  margin-right: 3.57866%;
  width: 48.21067%; /*conflicting styles from redundant selector */
}
.home .posts .post:last-child, .home .posts .video:last-child, .archive .posts .post:last-child, .archive .posts .video:last-child {
  margin-right: 0
}
.home .posts .post:nth-child(2n), .home .posts .video:nth-child(2n), .archive .posts .post:nth-child(2n), .archive .posts .video:nth-child(2n) {
  margin-right: 0
}
.home .posts .post:nth-child(2n+1), .home .posts .video:nth-child(2n+1), .archive .posts .post:nth-child(2n+1), .archive .posts .video:nth-child(2n+1) {
  clear: left
}
@media screen and (max-width: 480px) and (min-width: 320px) {
  .home .posts .post, .home .posts .video, .archive .posts .post, .archive .posts .video {
    /*    float: left !important;*/
  }
}
@media screen and (max-width: 640px) /*	and (min-width: 481px) */ {
  .home .posts .post, .home .posts .video, .archive .posts .post, .archive .posts .video {
    width: 100%;
    /*    width: 100% !important;*/
  }
}
.home .post, .home .video, .archive .post, .archive .video {
  position: relative;
  height: 200px;
  margin: 0 0 2em;
  background: #fff;
  color: #000;
}
.home .post .post-thumbnail, .home .video .post-thumbnail, .archive .post .post-thumbnail, .archive .video .post-thumbnail {
  position: relative;
  width: 50%;
  height: 100%;
  float: left;
  margin-right: 1.5em;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover
}
.home .post .post-thumbnail .link, .home .video .post-thumbnail .link, .archive .post .post-thumbnail .link, .archive .video .post-thumbnail .link {
  position: absolute;
  bottom: 1em;
  left: 1em;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase
}
.home .post .pad, .home .video .pad, .archive .post .pad, .archive .video .pad {
  padding: 1em
}
@media screen and (max-width: 768px) {
  .home .post .post-thumbnail, .home .video .post-thumbnail, .archive .post .post-thumbnail, .archive .video .post-thumbnail {
    margin-right: .5em
  }
  .home .post .pad, .home .video .pad, .archive .post .pad, .archive .video .pad {
    /*    padding: .5em*/
  }
}
.home .post .post-more, .home .video .post-more, .archive .post .post-more, .archive .video .post-more {
  position: absolute;
  right: 1em;
  bottom: 1em;
  width: 45%;
  padding-top: 5px;
  border-top: 1px solid #f2f2f2;
  text-align: right
}
.home .sidebar .post .post-title, .home .sidebar .video .post-title, .archive .sidebar .post .post-title, .archive .sidebar .video .post-title {
  font-size: 1.3rem
}
.home .sidebar .post .post-title a, .home .sidebar .video .post-title a, .archive .sidebar .post .post-title a, .archive .sidebar .video .post-title a {
  font-size: 1.3rem
}
@media screen and (max-width: 1080px) {
  .home .sidebar .post .post-title a, .home .sidebar .video .post-title a, .archive .sidebar .post .post-title a, .archive .sidebar .video .post-title a {
    font-size: 1.3rem
  }
}
@media screen and (max-width: 768px) {
  .home .sidebar .post .post-title a, .home .sidebar .video .post-title a, .archive .sidebar .post .post-title a, .archive .sidebar .video .post-title a {
    font-size: 1.2rem
  }
}
.home .posts h3, .template-tpl-videos .posts h3, .archive .posts h3 {
  max-height: calc(200px - .5em);
  overflow: hidden;
  /*	hide overlow from overly long titles*/
}
.home .posts a, .template-tpl-videos .posts a, .archive .posts a {
  text-decoration: none;
  font-weight: 300;
}
/*video header and youtube subscribe link on video page*/
.template-tpl-videos h1 {
  margin-bottom: 0;
}
ul.youtube_sub {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.youtube_sub li {
  display: inline-block;
  float: left;
}
li.text-data {
  padding: 8px 15px 8px 0px;
}
.youtube_sub li img {
  max-width: 120px;
  width: 120px;
}
/*video section header on .home page*/
.home .mainbar h2.newest-videos {
  float: left;
  font-size: 2em;
  margin: 0;
}
.youtubeHeaderWrap {
  margin-bottom: 1em;
}
.youtubeHeaderWrap li {
  margin-bottom: 0;
}
.home ul.youtube_sub {
  float: right;
}
.sponsors .sponsor {
  float: left;
  display: block;
  width: 48%;
  margin-right: 2%;
}
.press-ul {
  margin-top: 0;
  padding-left: 0;
}
.press-ul li {
  display: inline-block;
  max-width: 165px;
}
@media screen and (max-width: 768px) {
  .press-ul li {
    max-width: 22%;
    margin: 0;
  }
}
.custom-padding-30 {
  padding: 30px;
  height: auto !important;
}
.custom-padding-30 p {
  margin: 0 !important;
  padding-bottom: 12px;
}
.custom-padding-30 p:last-child {
  padding-bottom: 0;
}
@media screen and (max-width: 480px) {
  .custom-padding-30 {
    padding: 17px !important;
  }
}
/*Upcoming Events page and sidebar*/
.page-id-4313 .sidebar-post.sidebar-social:nth-child(3) {
  display: none;
}
.netsposts-content {
  margin: 0 0 1em 0;
}
a.netsposts-posttitle-link {
  text-decoration: none;
}
.netsposts-content h3, .netsposts-content h5 {
  margin: 0;
}
.netsposts-content > a:after, .netsposts-content a.netsposts-posttitle-link:after {
  clear: both;
  content: "";
  display: table
}
.netsposts-acf-fields {
  display: inline-flex;
  flex-direction: column;
}
.acf-value:nth-child(1) {
  background-color: #002a37;
  color: #fff;
  padding: 1px .61em;
  text-align: center;
}
.acf-label, .acf-label-colon {
  /* not needed with hide_acf_labels='true' */
  display: none;
}
/*Styles below needed if we change to hide_source='false' */
.netsposts-source {
  margin: 0 !important;
  /* override hard-coded margin */
}
.netsposts-source span:nth-child(-n+3), .netsposts-source br {
  /*  text-decoration: line-through;*/
  /*  color: #a0a5aa;*/
  display: none;
}
.netsposts-source a {
  text-decoration: none;
}
.the-video {
  position: relative;
  top: -1px;
  background: #000;
}
.the-video .wrap {
  max-width: 850px !important
}
.the-video .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.the-video .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.the-video .video-wrapper .single-post-thumb {
  display: block;
  height: auto;
  width: 100%;
  float: left;
}
.the-slideshow {
  float: left;
  width: 100%;
  background: #002a37
}
.the-slideshow .wrap {
  padding: 0
}
.the-slideshow .slider {
  height: 300px;
  overflow: hidden
}
.the-slideshow .slider .post, .the-slideshow .slider .video {
  float: left;
  height: 300px;
  margin: 0
}
.the-slideshow .slider .post .post-thumbnail, .the-slideshow .slider .video .post-thumbnail {
  width: 100%;
  height: 100%;
  border: 1px solid #fff;
  border-width: 1px .5px
}
@media screen and (min-width:1280px) {
  .the-slideshow .slider .post .post-thumbnail:first-child, .the-slideshow .slider .video .post-thumbnail:first-child {
    border-left-width: 1px;
  }
  .the-slideshow .slider .post .post-thumbnail:last-child, .the-slideshow .slider .video .post-thumbnail:last-child {
    border-right-width: 1px;
  }
}
.the-slideshow .slider .post .pad, .the-slideshow .slider .video .pad {
  position: absolute;
  bottom: 35px;
  left: 0;
  z-index: 1;
  padding: 1.5rem 0
}
.the-slideshow .slider .post .pad {
  top: inherit;
  bottom: 1rem;
  padding: 3rem 0;
}
.the-slideshow .slider .post .post-title, .the-slideshow .slider .video .post-title {
  font-size: 1.75em;
  font-weight: 300;
  width: 75%;
  padding: 1.5rem;
  margin: 0;
  background: #002a37;
  background: rgba(30, 35, 42, 0.5);
  color: #fff;
}
.the-slideshow .slider .post .post-title a, .the-slideshow .slider .video .post-title a {
  color: #fff
}
.the-slideshow .slider .post .post-meta, .the-slideshow .slider .post .post-more, .the-slideshow .slider .video .post-meta, .the-slideshow .slider .video .post-more {
  display: none
}
.the-slideshow .pagination {
  height: 20px;
  margin: 10px 0;
  text-align: center;
  position: absolute;
  bottom: 0px;
  z-index: 1;
  width: 100%;
}
.the-slideshow .pagination a {
  overflow: hidden;
  text-indent: 101%;
  white-space: nowrap;
  display: inline-block;
  width: 30px;
  height: 5px;
  margin: 0 10px;
  background: #fff;
}
.the-slideshow .post-thumbnail .link {
  margin-bottom: 20px;
  z-index: 99999;
  bottom: 0px !important
}
/*Spotlight section goes below slider on homepage. Display is turned off as of August 2020 in Homepage Settings. If switched back on, formatting could use improvement. */
.the-spotlight {
  float: left;
  width: 100%;
  background: #c9e4ef;
  color: #000;
}
.the-spotlight .viewmore-btn {
  text-align: center;
  display: block;
  background: #fff;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: bold
}
.the-spotlight .viewmore-btn:hover {
  text-decoration: none
}
.the-spotlight .spotlight-title {
  text-transform: none
}
.the-spotlight .spotlight-title .spotlight-title-text {
  margin: 0
}
.the-spotlight .spotlight-title .todays-spotlight {
  margin: 0;
  color: #879097;
  font-family: "Courier New", "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif;
  font-weight: bold;
  font-size: 20px
}
.the-spotlight .spotlight-content {
  float: left;
  display: block;
  margin-right: 2.35765%;
  width: 74.41059%;
  width: 84%;
  height: 235px;
  overflow: hidden;
  -webkit-transition: height 0.2s;
  -moz-transition: height 0.2s;
  transition: height 0.2s
}
.the-spotlight .spotlight-content:last-child {
  margin-right: 0
}
.the-spotlight .post, .the-spotlight .video {
  float: left;
  display: block;
  margin-right: 2.35765%;
  width: 31.76157%
}
.the-spotlight .post:last-child, .the-spotlight .video:last-child {
  margin-right: 0
}
.the-spotlight .post:nth-child(3n), .the-spotlight .video:nth-child(3n) {
  margin-right: 0
}
.the-spotlight .post .post-thumbnail, .the-spotlight .video .post-thumbnail {
  margin-right: 0
}
.the-spotlight .post .post-thumbnail .link, .the-spotlight .video .post-thumbnail .link {
  font-size: 0.5em;
  color: #fff;
  bottom: 0;
  left: 0;
  padding: 1em;
  width: 100%
}
.the-spotlight .post .pad, .the-spotlight .video .pad {
  float: left;
  width: 50%;
  padding: 0.5em
}
.the-spotlight .post .pad .post-title a, .the-spotlight .video .pad .post-title a {
  font-size: 1.3rem
}
@media screen and (max-width: 480px) {
  .the-spotlight .post, .the-spotlight .video {
    float: none;
    width: auto;
    margin-right: 0 !important;
  }
  .the-spotlight {
    /*
    float: none;
    width: auto;
*/
  }
  .the-spotlight:after {
    clear: both;
    display: block;
    content: " ";
    font-size: 0;
    visibility: hidden;
  }
}
@media screen and (max-width: 768px) {
  .the-spotlight .post .pad .post-title a, .the-spotlight .video .pad .post-title a {
    font-size: 1.2rem
  }
}
@media screen and (max-width: 1080px) {
  .the-spotlight .post, .the-spotlight .video {
    float: left;
    display: block;
    margin-right: 2.35765%;
    width: 48.82117%
  }
  .the-spotlight .post:last-child, .the-spotlight .video:last-child {
    margin-right: 0
  }
  .the-spotlight .post:nth-child(3n), .the-spotlight .video:nth-child(3n) {
    margin-right: 2.35765%
  }
  .the-spotlight .post:nth-child(2n), .the-spotlight .video:nth-child(2n) {
    margin-right: 0
  }
  .the-spotlight .viewmore-btn {
    display: none
  }
  .the-spotlight .spotlight-content {
    float: left;
    display: block;
    margin-right: 2.35765%;
    width: 100%
  }
  .the-spotlight .spotlight-content:last-child {
    margin-right: 0
  }
  .the-spotlight .spotlight-content {
    float: none;
    width: auto;
    height: auto !important;
    margin-right: 0
  }
}
@media screen and (min-width: 1200px) {
  .the-spotlight .spotlight-title {
    margin: 1em 0;
    float: left;
    display: block;
    margin-right: 2.35765%;
    width: 23.23176%
  }
  .the-spotlight .spotlight-title:last-child {
    margin-right: 0
  }
  .the-spotlight .spotlight-title {
    margin-right: 2%;
    width: 14%;
  }
}