.conferences {
  padding-bottom: 50px;
}

#conf-sb {
  float: left;
  width: 25%;
  margin-right: 2%;

  display: none;
}

#conf-sb a.button {
  margin-bottom: 0;
}

.post-type-archive-conferences .main-content,
.single-conferences .main-content,
.single_session .main-content {
  width: 73%;
  margin-left: 0;

  width: 100%;
}

.conferences .desktop {
    display: block;
}
.conferences .mobile {
    display: none;
}

@media screen and (max-width: 767px) {
  #conf-sb {
    width: 100%;
    display: none;
  }
  .post-type-archive-conferences .main-content,
  .single-conferences .main-content {
    width: 100%;
  }
}

a.button {
  display: inline-block;
  margin-bottom: 30px;
}

.content .conferences h3 {
  font-size: 18px;
  text-align: left;
  margin-bottom: 4px;
  line-height: 26px;
}

.conf-banner {
  display: block;
  position: relative;
  height: 320px;
  background-color: rgba(0, 0, 0, 0.1);
  background-position: 50% 50%;
  background-size: cover;
  border-radius: 3px 3px 50px 3px;
  background-repeat: no-repeat;
  margin-bottom: 20px;

}
div.conf-banner {
  width: calc(100% - 232px);
}
.conf-logo {
  display: block;
  width: 150px;
  height: 150px;
  position: absolute;
  bottom: 25px;
  right: -25px;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.conf-logo-solo {
  width: 100%;
  max-width: 200px;
  margin: 15px 0 20px;
}

.conf-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  height: auto;
  width: 100%;
  max-width: 75%;
  max-height: 75%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

span.on-demand {
  display: inline-block;
  font-weight: 400;
  font-size: 13px;
  padding: 0 6px;
  background: #d71f2f;
  color: #fff;
  margin-right: 4px;
  line-height: 24px;
  border-radius: 4px;
  vertical-align: 1px;
  text-transform: uppercase;
}

a.button-secondary {
  background: #000 !important;
}

.conf-banner-thumbs {
  display: block;
  /*margin-bottom: 40px;*/
}

.conf-banner-thumbs ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  margin-top: 6px;
}

.conf-banner-thumbs ul li {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 75px;
  flex: 0 0 75px;
  padding: 1px;
  line-height: 0;
  display: table;
  height: 75px;
}

.conf-banner-thumbs img {
  width: 100%;
  height: auto;
  max-width: 75px;
  max-height: 75px;
  border-radius: 2px;
  line-height: 0;
}

.conf-banner-thumbs a {
  -webkit-transition: opacity 0.5s, border-color 0.5s;
  -o-transition: opacity 0.5s, border-color 0.5s;
  transition: opacity 0.5s, border-color 0.5s;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  line-height: 0;
  border-radius: 3px;
  display: table-cell;
  vertical-align: middle;
  border: 1px solid rgba(0, 0, 0, 0.12);
  outline: 0;
}

.conf-banner-thumbs a:hover,
.conf-banner-thumbs a:active {
  opacity: 0.7;
  border-color: rgba(0, 0, 0, 0.4);
}

.content .conferences h3 {
  padding: 0;
}

.conf-host {
    float: right;
    width: 200px;
    margin-left: 16px;
    margin-bottom: 16px;
    padding-left: 16px;
    border-left: 2px solid #9a9a9a;

}
.conf-host > p:first-child {
    margin-top: 0;
}
.conf-host img {
  border-radius: 2px;
}

.session_list {
    position: relative;
    clear: both;
}
.session_list h2 {
    margin-bottom: 0;
    padding-bottom: 0;
}

.content .conferences h3.widgettitle {
  margin-bottom: 20px;
}

.widget-conferences {
  padding-top: 20px;
}

.content h2.page-title.conf-title {
  padding-bottom: 15px;
  text-align: center;
}

body.conferences h2.page-title {
  line-height: 1;
  margin-bottom: 6px;
}

.conferences-archive .main-content {
  padding-top: 20px;
}

.conference-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
}

.conference-grid article.conferences {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 33.33%;
  flex: 0 0 33.33%;
  padding: 12px;

  flex: 0 0 25%;
}

@media screen and (max-width: 767px) {
  .conference-grid article.conferences {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
  }
}

@media screen and (max-width: 507px) {
  .conference-grid article.conferences {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }
}

.conferences-archive a.conf-banner {
  height: 130px;
  margin-bottom: 12px;
  -webkit-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

.conferences-archive a.conf-banner:hover,
.conferences-archive a.conf-banner:active {
  opacity: 0.7;
}

.conferences-archive a.conf-banner span {
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  width: 150px;
  height: 40px;
  margin: -20px 0 0 -75px;
  z-index: 1;
  color: rgba(0, 0, 0, 0.4);
  font-weight: bold;
}

.conferences-archive .conf-logo {
  width: 66px;
  height: 66px;
  bottom: -6px;
  right: -6px;
}

.conference-grid article.conferences h3 {
  color: #000;
  font-weight: 400;
  text-transform: capitalize;
  line-height: 1.2;
  font-size: 16px;
}

.conference-grid article.conferences h3 a {
  color: #000;
}

.conf-date {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.4);
}

.conf-date span {
  display: block;
  font-weight: 700;
}

article.conferences button.conf-register {
  margin: 0 0 20px !important;
  display: inline-block;
  width: auto;
}

#sortby {
  display: block;
  text-align: right;
  margin-bottom: 5px;
}

#sortby span {
  padding-right: 5px;
}

.session-holder {
  font-weight: 300;
  padding: 5px;
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 3px;
}

body.conferences {
  overflow-x: hidden;
}

body.conferences ul.social-icons {
  float: none;
  margin: 0;
}

body.conferences .main-menu {
  position: relative;
  margin-top: 0;
  height: 54px;
}

body.conferences .main-menu:before,
body.conferences .main-menu:after {
  content: "";
  display: block;
  position: absolute;
  width: 100vw;
  top: 0;
  height: 100%;
  background: #000;
}

body.conferences .main-menu:before {
  right: 100%;
}

body.conferences .main-menu:after {
  left: 100%;
}

body.conferences .main-menu ul.site-links {
  float: right;
  margin: 15px 0;
}

body.conferences #dl-menu .social-icons {
  display: none;
}

body.conferences #dl-menu {
  text-align: right;
}

.conf-top-bar {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-line-pack: center;
  align-content: center;
  height: 50px;
}

.conf-top-bar h1#conf-logo {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 999999;
  display: block;
  width: 272px;
  height: 294px;
  margin: 0;
}

.conf-top-bar h1#conf-logo img {
  width: 100%;
  height: auto;
}

body.conferences ul.social-icons li a {
  display: inline-block;
  width: 30px;
  height: 30px;
  padding: 0;
  line-height: 30px;
  text-align: center;
  background: #e92337;
  color: #202020;
  font-size: 12px;
  margin: 0 0 0 6px;
  border-radius: 999px;
}

.conf-header {
  min-height: 320px;
  text-align: right;
}

@media screen and (max-width: 1040px) {
  .conf-top-bar h1#conf-logo {
    /* Adjusted for more sponsor logos */
    width: 200px;
    height: 216px;
  }
}
@media screen and (max-width: 767px) {
  .conf-top-bar h1#conf-logo {
    width: 200px;
    height: 216px;

    /* Adjusted for more sponsor logos */
    width: 120px;
    height: 130px;
  }

  .conf-header {
    min-height: 260px;
  }

  .page-template-full-width-conference.my-schedule .conf-header,
  .page-template-full-width-conference.conference_register .conf-header,
  .page-template-full-width-conference.login .conf-header {
    min-height: 160px;
  }
  .page-template-full-width-conference.my-schedule .content,
  .page-template-full-width-conference.conference_register .content,
  .page-template-full-width-conference.login .content {
      margin-top: 0;
  }

}

body.conferences #menu-the-main-menu {
  z-index: 999999;
}

.conf-user {
  display: block;
  margin-top: 60px;
  width: 50%;
  float: right;
}

@media screen and (max-width: 767px) {
  .conf-user {
    margin-top: 20px;
  }
}

.conf-user span {
  display: block;
}

@media screen and (max-width: 599px) {
  .conf-top-bar h1#conf-logo {
    width: 120px;
    height: 130px;
  }

  .conf-user {
    font-size: 14px;
    width: 75%;
  }

  .conferences .desktop {
      display: none;
  }
  .conferences .mobile {
      display: block;
  }

}

.site-footer.conf-footer {
  background: #2c2c2c;
  height: 210px;
  margin-bottom: 42px;
}

.conf-footer a.foot-logo {
  position: absolute;
  display: block;
  width: 211px;
  height: 228px;
  top: -35px;
  left: -10px;
}

.conf-footer a.foot-logo img {
  width: 100%;
  height: auto;
}

.conf-footer:before,
.conf-footer:after {
  content: "";
  display: block;
  position: absolute;
  width: 100vw;
  top: 0;
  height: 100%;
  background: #2c2c2c;
}

.conf-footer:before {
  right: 100%;
}

.conf-footer:after {
  left: 100%;
}

.brought-by {
  position: absolute;
  top: 50%;
  right: 0;
  text-align: center;
  color: #fff;
  margin-top: -35px;
}

.brought-by b {
  display: block;
  padding-bottom: 5px;
  font-weight: 500;
}

.main-event-date {
  font-size: 28px;
  color: #fff;
  line-height: 32px;
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -20px;
  width: 300px;
  text-align: center;
  margin-left: -150px;
  font-weight: 300;
}

@media screen and (max-width: 767px) {
  .conf-footer a.foot-logo {
    width: 120px;
    height: 130px;
    top: -65px;
    left: 50%;
    margin-left: -60px;
  }

  .brought-by {
    top: auto;
    bottom: 10px;
    right: auto;
    left: 50%;
    margin-left: -90px;
  }
}

.conf-copyright {
  font-weight: 300;
  text-align: center;
}

.conf-copyright span {
  display: block;
  padding-top: 12px;
}

/* dropdown fixes 6/25 */

@media screen and (min-width: 768px) {
  li.menu-item-has-children {
    position: relative;
  }

  ul.sub-menu {
    position: absolute;
    z-index: 999;
    display: block;
    width: 250px;
    top: 100%;
    left: 0;
    line-height: 0;
    padding: 0;
    margin: 0;
    height: 0;
  }

  ul.sub-menu li {
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    height: 0;
    -webkit-transition: height 0.5s, background 0.5s;
    -o-transition: height 0.5s, background 0.5s;
    transition: height 0.5s, background 0.5s;
    line-height: 0px;
    padding: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0);
  }

  li.menu-item-has-children:hover ul.sub-menu {
    height: auto;
  }

  li.menu-item-has-children:hover ul.sub-menu li {
    height: 52px;
    background: #111;
  }

  ul.sub-menu li a {
    display: block;
    line-height: 16px;
    font-size: 16px;
    padding: 18px 12px;
    border-color: #000;
  }

  .main-menu ul.site-links li a {
    display: block;
  }

  .main-menu ul.site-links {
    margin: 0;
  }
}

/* search fixes 6/25/20 */
.conferences .mobile-search {
  display: none;
}

.conferences #wpadminbar {
    /*
    margin-top: -52px;
    */
}

@media screen and (max-width: 767px) {
  .site-header {
      /*
    padding-top: 40px;
    */
  }

  .conferences .mobile-search {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 48px;
    background: #000;
    padding: 5px;
    z-index: 999999;

    display: none;
  }

  .mobile-search form {
    display: block;
    width: 100%;
    margin: 0;
  }

  .mobile-search form.search input[type="text"] {
    width: 100%;
  }

  .mobile-search form.search input[type="submit"] {
    position: absolute;
    top: 5px;
    right: 5px;
  }
}

body.search h2.archive-title {
  text-transform: lowercase;
  border-bottom: 1px solid #000;
  font-size: 1.6em;
  color: #333;
}

body.search article.post header .h2 {
  text-align: left;
  font-size: 1.5em;
  font-family: "alternate-gothic-no-3-d", Helvetica, Arial, sans-serif;
  font-weight: 400;
}

body.search article.post .article-footer,
body.search article.post .byline {
  font-size: 0.75em;
  color: #bbb;
}

body.search article.post header .h2 a:visited {
  color: #555;
}

body.search article.post p {
  margin: 0.5em 0;
}

body.search article.post .article-footer {
  margin-top: 1em;
  padding-top: 0.5em;
  border-top: 1px solid #f5f5f5;
}

body.search article.post {
  padding: 20px 0;
}

body.search article.post .featimg a {
  display: block;
  width: 100%;
}

body.search article.post .featimg {
  position: relative;
  overflow: hidden;
}

body.search article.post .featimg img {
  width: 100%;
  max-width: 100%;
  padding-top: 20px;
  height: auto;
}

aside.sidebar h3 span.title-wrap:before,
aside.sidebar h3 span.title-wrap:after {
  content: none !important;
}

@media screen and (max-width: 767px) {
    .conf-host {
        float: none;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }
    div.conf-banner {
        width: 100%;
    }
}

/* 2023-03-29: New theme overrides */
aside.sidebar h3.widgettitle, .content h2:not(.features-heading), body.archive h2.archive-title {
    background: none;
    color: #000;
    font-weight: 900;
    font-family: "aktiv-grotesk-std", Georgia, Times, serif;
    text-transform: none;
} 
.gform_wrapper .gform_validation_errors {
    border: 1px solid #c02b0a;
    border-radius: 0;
    box-shadow: unset;
}
.gform_wrapper .gform_validation_errors>h2 {
    color: #e92337;
    font-size: 14.992px;
    font-weight: normal;

    line-height: 17.6px;
    margin: 0 0 12px 0;
    border: 0;
    text-transform: none;

    font-family: "aktiv-grotesk-std",Georgia,Times,serif;
    text-rendering: initial;
}
.gform_wrapper .gform_validation_errors>h2 .gform-icon--close {
    display: none;
}
