/*Applies only to the single posts page*/

#container {
  background: white;
}

#sidebar1.sidebar {
  display: none;
}
#postHeroImage {
  max-width: 100%;
  overflow: hidden;
}

.articleContainer a,
.articleContainer a:visited {
  color: #378891;
}

.articleContainer a:hover {
  color: #135057;
}

.single-post .articleContainer p a,
.single-post .articleContainer p a:visited {
  border-color: #378891;
}

#custom-bg {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
}

header.article-header {
  margin-top: 100px;
  padding: 0 10px;
}

.articleContainer {
  max-width: 650px;
  margin: 0 auto;
}

/************
SECTION CSS REINPUT HERE
************/

section ul {
  font-size: 20px;
  line-height: 28px;
  list-style-image: url(https://sfdesignweek.org/wp-content/uploads/2017/12/bulletpoint-2-e1513188347725.jpg);
}

section ul li {
  margin-bottom: 28px;
  margin-left: 35px;
}

section ol {
  list-style-image: none;
  list-style-type: decimal;
}

section .wp-caption {
  background: white;
}

section.entry-content p {
  font-family: "Walsheim Regular";
  font-size: 20px;
  font-weight: 100;
  line-height: 28px;
  margin-bottom: 28px;
  padding-left: 35px;
}

.single-post .articleContainer section.entry-content p {
  padding-left: 10px;
  padding-right: 10px;
}

.single-post section.entry-content p {
  padding-left: 0;
}

article {
  font-family: "Walsheim Regular";
  background-color: white;
  max-width: 978px;
  margin-left: auto;
  margin-right: auto;
}

h1.page-title {
  font-size: 30px;
  color: #4a4a4a;
  margin-bottom: 0px;
  margin-top: 0px;
}

.article-header .article-social {
  text-align: center;
}

#categories {
  text-align: center;
}

.byline {
  padding: 0 10px;
  border-top: none;
}

/************ PROBLEM CHILD COMMENT OUT
section{
	float:right;
	width: 600px;
	padding: 0 10px;
}

************/
.fa-inverse {
  color: #d45b49;
}

.byline a {
  color: #d45b49 !important;
  border-color: #d45b49 !important;
}

.byline a:hover {
  color: #d45b49 !important;
}

header.header {
  background: rgba(0, 0, 0, 0.5);
}

@media only screen and (min-width: 800px) {
  .articleSocialShare img {
    display: none;
  }
  #custom-bg {
    height: 550px;
  }
  .article-header .article-social {
    margin: -0 0 0 -13px;
    text-align: left;
  }

  .single-post .articleContainer section.entry-content p {
    padding-left: 0px;
    padding-right: 0px;
  }

  #categories {
    text-align: left;
  }

  .byline {
    clear: both;
    float: right;
    width: 650px;
    margin-bottom: 100px;
    padding: 0 15px;
  }

  .byline p {
    font-size: 20px;
    font-family: "Walsheim Regular", sans-serif;
  }

  section .wp-caption {
    background: white;
  }

  section .wp-caption p.wp-caption-text {
    text-align: left;
    margin-top: 0;
    color: silver;
    line-height: 20px;
  }
}

/************
EP _ Single EVENT pages
************/

.single-ja-event #sidebar1.sidebar {
  display: inline;
}

.single-ja-event .articleContainer {
  max-width: 100%;
  margin: 0 auto;
}

.single-ja-event section {
}

.single-ja-event #top_event {
  padding-top: 80px;
}

.single-ja-event #top_event,
#content {
  background: #ffffff;
}

/* start #7aamu8 changes */
.single-ja-event #top_event section.entry-content {
  width: 96%;
  max-width: 1280px;
  padding: 0;
}

.single-ja-event #top_event section.entry-content .event_image_details {
  display: flex;
  flex-direction: column;
}

#top_event section.entry-content .frame {
  height: auto;
}

@media screen and (min-width: 990px) and (max-width: 1349px) {
  #top_event section.entry-content .frame {
    width: 65.74585634900001% !important;
    padding-right: 60px;
  }
}

.single-ja-event #top_event section.entry-content .event_image_details img {
  width: 100%;
}

@media screen and (min-width: 990px) {
  .single-ja-event #top_event section.entry-content .event_image_details img {
    width: 100%;
    margin: 0;
  }
}

@media screen and (min-width: 1350px) {
  .single-ja-event #top_event section.entry-content .event_image_details img {
    width: 79.5%;
  }
}

@media screen and (min-width: 990px) {
  .single-ja-event #top_event section.entry-content .event_image_details {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* end #7aamu8 changes */

.single-ja-event #top_event section.entry-content .event-details-wrapper {
  width: 100%;
}

@media screen and (min-width: 990px) {
  .single-ja-event #top_event section.entry-content .event-details-wrapper {
    max-width: 275px;
  }
}

@media screen and (min-width: 800px) and (max-width: 990px) {
  #main {
    width: 96%;
    margin: auto 2% !important;
  }
}

.single-ja-event #top_event .entry-title {
  text-align: left;
  text-transform: none;
  font-size: 30px;
  padding: 10px 0;
}

.event-day,
.event-time-description,
.event-time,
.event-location,
.event-city,
.event-venue {
  margin-bottom: 0px;
}

.event-time-description,
.event-time,
.event-month-day,
.event-city,
.event-address {
  list-style-image: none;
}

.event-date-time {
  margin-top: 0px;
}

.event-day {
  font-size: 30px;
  font-family: "Walsheim Medium";
}

.event-time-description {
  font-size: 30px;
  font-family: "Walsheim Medium";
  color: #d45b49;
  line-height: 34px;
}

.event-time,
.event-month-day {
  display: inline;
  font-size: 20px;
  line-height: 40px;
}

.event-month-day {
  margin-left: 10px;
}

.event-venue {
  font-size: 25px;
  line-height: 40px;
}

.event-address {
  font-size: 20px;
  margin-bottom: 0px;
}

.event-city {
  margin-bottom: 60px;
}

.event-region {
  font-size: 20px;
  margin-bottom: 0px;
}

#top_event .data {
  -webkit-box-shadow: none;
  box-shadow: none;
  padding-left: 15px;
}

#top_event .data h3 {
  color: #d45b49;
}

#top_event .data.when {
  background: none;
  margin-top: 0px;
}

#top_event .data.where {
  background: none;
}

.register-button {
  border: 3px solid #d45b49;
  color: #d45b49 !important;
  font-family: "Walsheim Bold", Helvetica, sans-serif;
  font-size: 16px;
  margin-left: 35px;
  padding: 7px 19px 7px 19px;
  transition: ease;
  text-decoration: none;
}

.register-button:hover {
  border: 3px solid #d45b49;
  background-color: #d45b49;
  color: #ffffff !important;
  font-family: "Walsheim Bold", Helvetica, sans-serif;
  font-size: 16px;
  margin-left: 35px;
  padding: 7px 19px 7px 19px;
  transition: ease;
  text-decoration: none;
}

.event_element {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.event_element h4 {
  background: none;
  border-bottom: 1px solid #d2d2d2;
  color: #4b4b4b;
  font-family: "Walsheim Medium", sans-serif;
  font-size: 25px;
  font-weight: normal;
  padding: 0;
  text-transform: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.single-ja-event section.entry-content p {
  padding: 0;
}

.event_element section.entry-content {
  padding: 0;
}

#top_event section.entry-content .frame {
  margin-bottom: 10px;
  box-shadow: none;
  -webkit-box-shadow: none;
  width: 100%;
  margin-right: 35px;
}

.single-ja-event header.header {
  background: #FF0000;
}

.single-ja-event header.article-header {
  margin-top: 20px;
}

/* Alex Edits (testing) */
.header.article-header {
  margin-top: 0px;
}

/* Max editing category above title */

.cat-item {
  float: left;
  list-style-image: none;
  margin-left: 0px;
  margin-right: 8px;
  background-color: #d3d3d3;
  padding-left: 11px;
  padding-right: 11px;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  border-radius: 1px;
  height: 25px;
  margin-bottom: 12px;
}

.cat-item a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.1em;
  vertical-align: super;
}

.single-title {
  display: block;
  clear: both;
  font-size: 43px !important;
  font-weight: normal !important;
}

.event_image_details {
  margin-top: 25px;
}

.event-location-name {
  color: #4b4b4b;
  font-family: "Walsheim Medium", sans-serif;
  font-size: 28px;
  margin-top: 0.3em;
}

.event-date-where,
.event-date-time {
  list-style-image: none !important;
  list-style: none;
}

/* .event-date-time:before {
  content: url(http://dev.sfdesignweek.org/wp-content/uploads/2015/04/night.png);
  float: left;
  margin-left: -6px;
} */

.when .happy-hour:before {
  display: inline-block;
  width: 34px;
  height: 34px;
  margin-right: 12px;
  margin-left: -11px;
  content: "";
  background: url(http://sfdesignweek.org/wp-content/uploads/2015/04/Happy-Hour.png)
    no-repeat 0 0;
  background-size: 100%;
}

.when .full-day:before {
  display: inline-block;
  width: 34px;
  height: 34px;
  margin-right: 12px;
  margin-left: -11px;
  content: "";
  background: url(http://sfdesignweek.org/wp-content/uploads/2015/04/Fulll-Day.png)
    no-repeat 0 0;
  background-size: 100%;
}

.when .afternoon:before {
  display: inline-block;
  width: 34px;
  height: 34px;
  margin-right: 12px;
  margin-left: -11px;
  content: "";
  background: url(http://sfdesignweek.org/wp-content/uploads/2015/04/Afternoon.png)
    no-repeat 0 0;
  background-size: 100%;
}

.when .morning:before {
  display: inline-block;
  width: 34px;
  height: 34px;
  margin-right: 12px;
  margin-left: -11px;
  content: "";
  background: url(http://sfdesignweek.org/wp-content/uploads/2015/04/Morning.png)
    no-repeat 0 0;
  background-size: 100%;
}

/* .event-date-where:before {
  content: url(http://dev.sfdesignweek.org/wp-content/uploads/2015/04/location-e1428889973802.png);
  float: left;
  margin-left: -6px;
  margin-top: 9px;
} */

/* Max editing event description width, images */

.description section {
  width: 100%;
  padding-right: 60px !important;
  margin-top: 15px;
}

@media screen and (min-width: 800px) and (max-width: 990px) {
  .single-ja-event .description section {
    padding-right: 0 !important;
  }
}

.description img {
  border: 1px solid #c3c3c3;
  margin-right: 18px;
}

.single-ja-event .description img {
  border: none;
}

.description h2 {
  letter-spacing: 0.012em;
  line-height: 21px;
  color: #4b4b4b;
  font-family: "Walsheim Medium", sans-serif;
  font-size: 25px;
  margin-top: 2.1em;
  width: 100%;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.7em;
}

registration_event h4 {
}

/* Max turning off related events */

#related_events_section {
  display: none !important;
}

.cat-title {
  padding-top: 40px;
}

#widget_banner a img {
  padding: 8%;
}

#sidebar1 h4 {
  color: #d3d3d3;
  font-family: "Walsheim Medium", sans-serif;
  text-align: center;
  width: 100%;
}

/* Max adding in Panelist social links */

.social-panelist .fa {
  color: #d45b49;
  font-size: 1.6em !important;
  padding-right: 0.8em;
  padding-bottom: 2em;
  transition: all 0.1s ease;
}

.social-panelist {
  margin-left: 7.4em;
}

.fa:hover {
  color: #696969;
}

.ja-event .description .article-header {
  display: none;
}

/* Max adding in Media Queries for events */

@media only screen and (max-width: 800px) {
  .single-ja-event .cat-title {
    display: none;
  }
  .single-ja-event #top_event section.entry-content {
    padding-left: 1.6em;
    padding-right: 1.6em;
  }

  .single-ja-event .description section {
    padding-right: 0px !important;
    text-align: left;
  }
  .single-ja-event #top_event {
    padding-top: 0px;
  }
}

.event_element section.entry-content p {
  margin-bottom: 40px;
}

.on-demand ul {
  padding-left: 0;
  list-style-type: none;
}

.on-demand #main:before {
  content: "On-Demand Events" !important;
}
