/*
 Theme Name:     NAM 2019
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
#top-menu li.current-menu-ancestor>a
{
  color: #1B91AB;
}

.nav li ul {
  border-top: 3px solid #1B91AB;
}

a {
  transition: all .4s;
}

a:hover {
  opacity: .7;
}

.tablet-only {
  display:none;
}

.mobile-show {
  display:none;
}

#main-content .container:before {
  background-color: unset;
}

@media (min-width: 768px) and (max-width: 979px) {

  .no-tablet {
    display:none;
  }

 .tablet-only {
   display: block;
 }

  #main-header {
    padding: 0;
  }

  #newsletterHead2 {
    display:inline-block;
    float: right;
  }

  #newsletterHead2 form {
    display: flex;
    align-items: center;
  }

  #newsletterHead2 form label {
    margin-right:8px;
  }

  #newsletterHead2 form input[type='email']{
    flex: 1;
    background-color: #324541;
    color: #fff;
    border: unset;
    padding: 22px 0;
    overflow: visible;
    width:10%;
  }

  #newsletterHead2 form input[type='email']::placeholder,
  #newsletterHead2 form input[type='email']:placeholder-shown
  {
    padding-left:5px;
    color: #fff;
    font-weight: bold;
  }

  #newsletterHead2 form input[type='submit']{
    background-color: #65AF98;
    overflow: visible;
    padding: 22px;
    color: #fff;
    border:unset;
  }

}



@media all and (max-width: 980px) {
  .desktop-only {display:none;}
}



/* HEADER OVERRIDES */

@media (max-width: 980px) {
  #et_mobile_nav_menu {
    position: absolute;
    top: 15%;
    left: 15px;
    float: unset;
    z-index: 999;
  }


  #main-header {
    background-color: #005f51;
  }

  .mobile_menu_bar:before {
    color: #fff;
  }

  .mobile_menu_bar:after {
    content: 'MENU';
    top: -9px;
    left: 0;
    position: relative;
    color: #fff;
  }
}

#et-secondary-menu {
  float: unset;
}

#top-header .container {
  padding-top: 0;
}

#et-info, #et-secondary-menu>ul>li a {
  padding-bottom: 0;
}

#et-secondary-nav, #et-secondary-nav li {
  padding:10px 0;
}

#newsletterHead {
  display:inline-block;
  float: right;
  width: 33%;
}

#newsletterHead form {
  display: flex;
  align-items: center;
}

#newsletterHead form input[type='email'],
#newsletterHead form input[type='submit'] {
  display: inline-block;
  border-radius: 0;
  -webkit-appearance: none;
}

#newsletterHead form label {
  margin-right:8px;
}

#newsletterHead form input[type='email']{
  flex: 1;
  padding: 2em;
  background-color: #324541;
  color: #fff;
  border: unset;
  overflow: visible;
  width:10%;
}

#newsletterHead form input[type='email']::placeholder,
#newsletterHead form input[type='email']:placeholder-shown
{
  padding-left:5px;
  color: #fff;
  font-weight: bold;
}

#newsletterHead form input[type='submit']{
  background-color: #65AF98;
  overflow: visible;
  color: #fff;
  border:unset;
  padding: 2em 1em;
  font-weight:bold;
  font-size: 14px;
  line-height: 0;
}




@media (min-width: 981px) {
  .et_fullwidth_nav #main-header .container {
    display:flex;
    justify-content: space-between;
  }

  .et_non_fixed_nav.et_fullwidth_nav.et_header_style_left .logo_container {
    position: relative;
    width: 80%;
  }

  #socialHeader {
    width:20%;
    align-self: flex-end;
  }

  #namSearch {
    display: flex;
    align-items: flex-end;
    margin-top: -6px;
  }

  #namForm input[type='search'] {
    border:none;
  }

  #namForm input[type='search']:placeholder-shown {
    color: #005F51 !important;
    font-size:20px;
    line-height: 26px;
    font-family: "Roboto Condensed";
    text-align: right;
  }



  #namForm button {
    background: none;
    border: none;
  }



}

.logo_container a {
  display: block;
}

#socialHeader .text,
#socialTabHeader .text
{
  font-size:16px;
  text-transform: uppercase;
  text-align: right;
  color: #505050;
}

#socialHeader .icons,
#socialTabHeader .icons{
  text-align: right;
}

#socialHeader .icons li,
#socialTabHeader .icons li
{
  display: inline-block;
  background-color: #005F51;
  padding: 9px 8px;
  border-radius: 50%;
  height: 40px;
  width: 40px;
}

#socialHeader .icons a.icon:before,
#socialTabHeader .icons a.icon:before{
  color: #fff;
  font-size: 22px;
}

.et-social-mail a.icon:before {
  content: "\e076";
}

#et-top-navigation {
  float: unset;
  padding: 30px 30px 0 30px !important;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #F2F2F2;
  margin-top: 25px;
  align-items: start  ;
}

#main-header {
  -webkit-box-shadow: unset;
  -moz-box-shadow: unset;
  box-shadow: unset;
  padding: 10px 0 0 0;
}

#namSearch .textSearch{
  font-size:20px;
  text-transform: uppercase;
  color: #005F51;
}

#namSearch i {
  color: #005F51;
  font-size: 20px;
  margin-left: 15px;
}

#top-menu li.current-menu-item>a {
  color: #1B91AB;
}

/* END HEADER OVERRIDES */



/* FOOTER OVERRIDES */
#main-footer {
  font-family: 'Roboto Condensed',Helvetica,Arial,Lucida,sans-serif;
}

#footer-widgets {
  padding: 3% 0 0;
}

@media (min-width: 981px) {
  .et_pb_gutters3 .footer-widget {
    margin-bottom: 2.5%;
  }
}

@media (max-width: 768px) {
  .bottom-nav li {

    padding-right: .5em !important;
    padding-left: .5em !important;
  }
}

#hwim-2 .hwim-text {
  margin-top:15px;
}

.footer-widget .et-social-icons {
  float:unset;
}

#footer-widgets .footer-widget li {
  list-style: none;
}

#footer-widgets .footer-widget li:before {
  display: none;
}

#footer-widgets .et-social-icons li{
  display: inline-block;
  background-color: #fff;
  padding: 9px 10px;
  border-radius: 50%;
  height: 40px;
  width: 40px;
}

#footer-widgets .et-social-icons a.icon:before {
  color: #000;
  font-size: 22px;
}

#custom_html-2.et_pb_widget{
  float:unset;
}

.footer-widget.last,
#et-footer-nav ul,
#custom_html-2 {
  text-align: right;
}

#et-footer-nav .container {
  margin-right: 0;
}

#menu-footer li:last-of-type {
  padding-right:0;
}


@media (min-width: 768px) and (max-width: 981px) {

  #main-header .container {
    width: unset;
    padding: 0 3%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #socialTabHeader,
  #newsletterHead2 {
    margin-left:auto;
  }

  #socialTabHeader .text {
    display:none;
  }

  #main-header #et-top-navigation {
    padding-bottom:0 !important;
    padding-top: 0 !important;;
    border-top:unset;
    margin-bottom:0;
  }

  .tablet-only {
    display: block;
  }

  #main-header {
    padding: 0;
  }

  #newsletterHead2 {
    width: 40%;
  }

  #newsletterHead2 form {
    display: flex;
  }

  #newsletterHead2 form label {
    margin-right:8px;
    color: #fff;
  }

  #newsletterHead2 form input[type='email']{
    flex: 1;
    background-color: #324541;
    color: #fff;
    border: unset;
    padding: 15px 0;
    overflow: visible;
    width:10%;
  }

  #newsletterHead2 form input[type='email']::placeholder,
  #newsletterHead2 form input[type='email']:placeholder-shown
  {
    padding-left:5px;
    color: #fff;
    font-weight: bold;
  }

  #newsletterHead2 form input[type='submit']{
    background-color: #65AF98;
    overflow: visible;
    padding: 15px;
    color: #fff;
    border:unset;
  }

  #socialTabHeader .icons li{
    background-color: #fff;
  }

  #socialHeader .icons a.icon:before,
  #socialTabHeader .icons a.icon:before {
    color: #005F51;
  }

}

@media (max-width: 767px)  {
  .mobile-show {
    display: block;
  }

  .eventNoMobile {
    display:none;
  }

  #main-header{
    padding: 10px 0;
  }

  #et_mobile_nav_menu {
    top:15%;
  }

  #main-header #et-top-navigation {
    padding-bottom:0 !important;
    padding-top: 0 !important;;
    border-top:unset;
    margin:0;
  }

  #main-header .container {
    width: unset;
    padding: 0 2%;
  }

  #socialHeader {
    float:right;
    padding-top: 1.5em;
  }

  #socialHeader .text{
    display:none;
  }

  #socialHeader .icons li{
    display: inline-block;
    background-color: #fff;
    padding: 3px 6px;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    margin-right:5px;
  }

  #socialHeader .icons a.icon:before {
    color: #005F51;
    font-size: 18px;
  }

  #newsletterHead3 form label {
    font-size:14px;
    font-weight: bold;
    color: #fff;
    margin-left: 1.2em;
  }

  #newsletterHead3 form input[type='email']{
    flex: 1;
    background-color: #324541;
    color: #fff;
    border: unset;
    padding: 15px 0;
    overflow: visible;
    width:89%;
    margin-top:1em;
  }

  #newsletterHead3 form input[type='email']::placeholder,
  #newsletterHead3 form input[type='email']:placeholder-shown
  {
    padding-left:5px;
    color: #fff;
    font-weight: bold;

  }

  #newsletterHead3 form input[type='submit']{
    background-color: #65AF98;
    overflow: visible;
    padding: 15px 13px;
    color: #fff;
    border: unset;
    margin-left: 0px;
  }

  #main-footer {
    padding: 5% 0;
  }

  #footer-widgets .footer-widget,
  #et-footer-nav ul {

    text-align: center;
  }

  #footer-widgets .et_pb_widget {
    float:unset;
  }

  #et-footer-nav .container {
    margin: 0 auto;
  }
}


/* Homepage */
#featuredTop, #featuredBottom {
  display:flex;
  flex-direction: row;
  margin-bottom:3em;
}


.et_pb_text_2 h2 {
  margin-bottom: 9%;
}

.home .et_pb_post {
  margin-bottom: 20px;
}

#featuredTop .feature,
#featuredBottom .feature {
  display: flex;
  flex-direction: column;
  padding-right: 20px;
  justify-content: space-between;
}

#featuredTop .feature {
  width:50%;
}

#featuredBottom .feature{
  width: 33%;
}

.feature .title {
  margin-top: .5em;
}

@media (max-width: 767px) {

  #featuredTop, #featuredBottom {
    display:block;
    flex-direction: unset;
    margin-bottom:3em;
  }

  #featuredTop .feature {
    display:block;
    width: 100%;
    flex-direction: unset;
    margin-bottom: 1.5em;
  }

  #featuredBottom .feature {
    display:block;
    width:100%;
    flex-direction: unset;
    margin-bottom:1.5em;
  }

}

/*homepage event list widget overrides */

.tribe-event-title a {
  color: #1B91AB !important;
}

.home .tribe-events-list-widget {
  width: 100% !important;
}

.home .tribe-list-widget li {
  display: inline-block;
  width:33%;
  padding-left: 0;
}

.home .et_pb_text_3 h2 {
  display: inline-block;
}

.home .tribe-events-widget-link {
  float:right;
  padding-bottom:25px !important;
}

.home .tribe-events-widget-link .et_pb_button {
  color: #fff;
  background: #1B91AB;
  font-size:14px;
  text-transform: uppercase;
  padding:1em;
}


.home .tribe-events-widget-link .et_pb_button:after {
  font-size:22px;
}

.home .tribe-events-widget-link .et_pb_button:hover:after {
  margin-left: -3px;
}

.home .tribe-list-widget {
  clear:both;
}

.tribe-event-duration {
  display:flex;
  margin-right:1em;
}

  @media (max-width: 767px) {
    .tribe-event-duration {
      margin-right: 0;
    }
  }

.eWrap .time{
  font-weight: bold;
}

.eWrap .meta {
  margin: 0 1em;
}

@media(max-width: 767px){
  .post-type-archive-tribe_events .eWrap .meta {
    margin: 1em 0;
  }
}

.eWrap .img {
  width: 100%;
}

.dateShow {
  width: 100%;
  border-left:4px solid #65AF98;
  font-size: 15px;
  text-transform: uppercase;
  font-family: "Roboto Slab";
  color: #505050;
  padding-left:15px;
}

.dateShow .monthYr {
  font-size: 15px;
  display: inline-block;
}



.dateShow .day {
  font-size: 60px;
  line-height: 66px;
  padding-left:14px;
  display:block;
}
  @media (max-width: 767px) {

    .dateShow .day {
      font-size: 43px;
      line-height: 48px;
      padding-left: 0;
      display:block;
    }
  }


.tribe-event-duration .title h4 {
  font-size: 18px;
}

.tribe-event-duration .title h4 a {
  color: #1B91AB;
}

.home #tribe-events-list-widget-4 .tribe-events-widget-link{
  display: none;
}

@media (max-width: 768px) {
  .home .tribe-list-widget li {
    display: block;
    width:100%;
    margin-bottom:2em;
  }

  .home .tribe-event-duration .dateShow {
    width: 35%;
    margin-right: 1em;
  }
}

/* Perspectives Overrides */
.searchandfilter ul li {
  display: inline-block;
  padding: 10px 29px;
}

#preFooter {
  background: #1B91AB;
  padding: 4em 0;
  margin-bottom: 0;
}

#preFooter .container {
  display:flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 767px) {
  #preFooter .container {
    display:grid;
  }
}

#custom_html-3,
#mc4wp_form_widget-2 {
  flex:1;
}

@media (max-width: 767px) {
  #custom_html-3,
  #mc4wp_form_widget-2 {
    flex:unset;
  }
}

#mc4wp_form_widget-2 {
  height: 86px;
}

#custom_html-3 {
  text-align: right;
  padding-right: 5em;
}

@media (max-width: 767px) {
  #custom_html-3 {
    display:block;
    justify-content: unset;
    align-items: unset;
    padding-right: unset;
    text-align: left;
  }
}


#custom_html-3 h4{
  color: #fff;
}

#mc4wp_form_widget-2 input[type='text'],
#mc4wp_form_widget-2 input[type='email'],
#mc4wp-form-1 input[type='text'],
#mc4wp-form-1 input[type='email']{
  padding:1em;
}

#custom_html-3 .widgettitle {
  font-size:35px;
  line-height: 46px;
  font-family: "Roboto Slab";
}

.mcName {
  display: flex;
  justify-content: space-between;
  margin-bottom:1em;
}

.mcName,
.mcEmail {
  width: 93%;
}

.mcName input[type='text'] {
  width:50%;
}

#mcEm {
  width:100%;
}

#mcFN {
  margin-right:1em;
}

.mcSub {
  float: right;
  position: relative;
  top: -94px;
  right:0;
}

#mcSign {
  background: #000;
  border: unset;
  padding: 26px 5px 26px;
  right: -11px;
  color: #fff;
  font-size: 30px;
  height:94px;
}

.page-id-157 .et_pb_toggle {
  border:unset;
  border-bottom: 1px solid #BFBFBF;
}

.page-id-157 .et_pb_toggle_close {
  background-color: unset;
}

.page-id-157 .et_pb_toggle_title {
  color: #005F51;
  font-family: "Roboto Slab";
  font-size: 24px;
  padding-left:20px !important;
}

.page-id-157 .et_pb_toggle_title:before {
  position: absolute;
  top: 59%;
  right: unset;
  margin-top: -.5em;
  font-size: 30px;
  color: #1B91AB;
  content: "\36";
  left: 90px !important;
}

.page-id-157 .et_pb_toggle_open .et_pb_toggle_title:before {
  content: "\37";
}

.page-id-157 .et_pb_toggle_title:after {
  position: absolute;
  top: 59%;
  margin-top: -.5em;
  font-size: 30px;
  color: #1B91AB;
  font-weight: 900;
  font-family: "Font Awesome\ 5 Free";
  content: "\f0b0";
  left: -25px;
}

.et_pb_toggle_content input[type='text']{
  padding:1em;
}

#search-filter-form-1880 ul {
  padding-left:0;
}

.searchandfilter ul li {
  padding: 10px 15px !important;
}

.searchandfilter ul li:first-of-type {
  padding-left:0;
}

ul.sf_date_field li:first-of-type{
  padding-right: 20px;
}

#search-filter-form-1880 select {
  -webkit-appearance: none;
  -moz-appearance: none;
  background-position: right 50%;
  background-repeat: no-repeat;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAMCAYAAABSgIzaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDZFNDEwNjlGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDZFNDEwNkFGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NkU0MTA2N0Y3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0NkU0MTA2OEY3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuGsgwQAAAA5SURBVHjaYvz//z8DOYCJgUxAf42MQIzTk0D/M+KzkRGPoQSdykiKJrBGpOhgJFYTWNEIiEeAAAMAzNENEOH+do8AAAAASUVORK5CYII=);
  padding: 1em !important;
  border-radius: 0;
  border-color: #bbb;
}

#search-filter-form-1880 input[type="submit"]{
  padding: 1em 2em;
  background: #1B91AB;
  color: #fff;
  font-weight: bold;
  border:unset;
  font-size: 14px;
  line-height: 14px;
  text-transform: uppercase;
}

#search-filter-form-1880 .search-filter-reset {
  padding: .8em 2em;
  background: #F2F2F2;
  font-size: 14px;
  line-height: 14px;
  text-transform: uppercase;
}



.search-filter-results .et_pb_row {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  width: 100%;
  max-width: unset;
}

@media (max-width:767px) {
  .search-filter-results .et_pb_row {
    display: grid;
  }
}

.search-filter-results .et_pb_row .perspectivesCol {
  flex: 1;
}

@media (min-width: 768px) and (max-width: 979px) {
  .search-filter-results .et_pb_row .perspectivesCol {
    padding:0 1em;
  }

  .search-filter-results .et_pb_row .perspectivesCol:first-of-type {
    padding-left:0;
  }

  .search-filter-results .et_pb_row .perspectivesCol:last-of-type {
    padding-right:0;
  }



}



.search-filter-results .resultsCt {
  font-family: "Roboto Condensed";
  font-size:14px;
  line-height: 34px;
  color:#005F51;
  font-weight: bold;
}


.perspectivesCol .image {
  position:relative;
}

.perspectivesCol .image img{
  position:relative;
  max-width: 100%;
  object-fit: cover;
  max-height:187px;
}

.perspectivesCol .category {
  position: absolute;
  bottom: 8px;
  right:0;
  background: rgba(242,242,242,.8);
  color: #505050;
  font-family: "Roboto Condensed";
  font-size:14px;
  font-weight: bold;
  padding: .5em;
}

.search-filter-results .pagination {

  text-align: right;
}

.search-filter-results .pagination .nav-previous,
.search-filter-results .pagination .nav-next{
  float:unset;
  display:inline-block;
}

.search-filter-results .pagination .nav-next a,
.perspectivesBtn,
.namGreen {
  color: #fff;
  padding: .8em 2em;
  background: #1B91AB;
  font-weight: bold;
  border:unset;
  font-size: 14px;
  line-height: 14px;
  text-transform: uppercase;
  display: inline-block;
}

.search-filter-results .pagination .nav-previous a {
  padding: .8em 2em;
  background: #F2F2F2;
  font-size: 14px;
  line-height: 14px;
  text-transform: uppercase;
  color: #1B91AB;
  margin-right: 1em;
  font-weight: bold;
}

.resultTop,
.resultBottom{
  display: flex;
  justify-content: space-between;
  margin-bottom:2em;
}

/* Events */

.tribe-events-list-widget .tribe-event-featured {
  background: #fff !important;
}

.tribe-events-list-widget .tribe-event-featured .tribe-event-title a {
 color: #1B91AB !important;
}

@media (min-width: 981px) {
  .single-tribe_events #left-area {
    width: 75%;
    padding-right:0;
  }

  .single-tribe_events #sidebar {
    float: left;
    width: 25%;
  }

}

.events-archive .entry-content, .events-archive .entry-header {
  width: 100%;
}

.post-type-archive-tribe_events #content-area,
.single-tribe_events #content-area
{
  padding:0 30px;
}

.post-type-archive-tribe_events header{
  padding-bottom:0 !important;
}

.tribe-bar-disabled {
  display:none;
}

.tribe-events-title-bar {
  background: #005F51;
  padding:1em;
  margin-bottom:2em;
}

.tribe-events-title-bar h2,
.tribe-events-title-bar h1
{
  color: #fff;
  font-size:3em;
  font-family: "Roboto Slab";
  padding-bottom:0;
  margin-bottom:0;
  text-align: left;
}

.featuredEvent {
  background: #F2F2F2;
  padding:1em;
}

.featuredEvent .tribe-event-duration {
  align-items: end;
}

.featuredEvent .dateShow {
  text-align: center;
}

@media(max-width: 767px){
  .post-type-archive-tribe_events .featuredEvent .dateShow {
    text-align:left;
  }
}

.featuredTitle {
  color: #005F51;
  font-size:1.3em;
  font-family: "Roboto Slab";
  margin-bottom:2em;
}

.eWrap {
  display:flex;
}

@media(max-width: 767px){
  .eWrap {
    display:block;
  }
}



.featuredEvent .meta {
  width: 70%;
}

@media(max-width: 767px){
  .post-type-archive-tribe_events .featuredEvent .meta {
    width: 100%;
  }
}



ul.tabs{
  margin: 0px;
  padding: 0px;
  list-style: none;
}
ul.tabs li{
  background: none;
  color: #005F51;
  display: inline-block;
  padding: 10px 15px;
  cursor: pointer;
  font-size:2em;
  font-family: "Roboto Slab";
  border-bottom: 1px solid #BFBFBF;
}

@media (max-width: 981px) {
  ul.tabs li{
    width:50%;
  }

}

ul.tabs li:nth-of-type(2){
  margin-left: -4px;
}

ul.tabs li:nth-of-type(1):before{
  content: url(images/upcoming.png);
  margin-right: .7em;
}

ul.tabs li:nth-of-type(2):before{
  content: url(images/past.png);
  margin-right: .7em;
}


ul.tabs li.current{
  border-top: 1px solid #BFBFBF;
  border-left: 1px solid #BFBFBF;
  border-right: 1px solid #BFBFBF;
  border-bottom: none;
}

.tab-content{
  display: none;
  padding: 15px 0;
}

.tab-content.current{
  display: inherit;
}

.eventsList {
  margin-top:2em;
}

.eventsList .eWrap {
  margin-bottom: 2em;
  width: 75%;
}

  @media(max-width: 767px){
    .post-type-archive-tribe_events .eventsList .eWrap {
      width: 100%;
    }
  }

.eventsList .title h2 a {
  font-size:.8em;
}

.evtSide {
  background: #F2F2F2;
  padding:1em;
}

.evtSide .register {
  padding: 1em 0;
}

.evtSide .register a {
  width: 100%;
  display:block;
  text-align: left;
}

.pastWrap {
  margin: 2em 0;
  padding:1em;
}


@media(max-width: 767px){
  .single-tribe_events #content-area {
    padding: 0 15px;
  }
}

.wp-pagenavi .pages {
  float:left;
}

.hybrid-login-txt {
  text-align: center;
  border-top: solid 5px #A5DACA;
  border-bottom: solid 5px #A5DACA;
  padding: 10px;
  font-size: 16px;
  color: #275346;
  margin-bottom: 20px;
}

.pastWrap:nth-child(even) {
  background: #f2f2f2;
}

.search-filter-results .et_pb_column_0,
.search-filter-results .et_pb_column_1 {
  background-color: unset !important;
}

.page-template-page-past-events-template .no-results{
  margin: 3% 0;
}

div.nam-authors{
  margin-bottom:15px;
}
div.nam-date{
  margin-bottom:15px;
}

div.nam-pdf-link{
  margin-bottom:25px;
  display: block;
}

.nam-pdf-link a {
  width:100%;
  text-align: center;
}

#otherEvents{
  background: #F2F2F2;
  width: 100%;
  display: inline-block;
}

#otherEvents .et_pb_widget {
  float:unset;
}

#otherEvents h4 {
  font-family: "Roboto Slab";
  font-size: 18px;
  color: #005F51;
  display:block;
  text-transform: uppercase;
  padding-left: 13px;
  padding-top: 1em;
}

#otherEvents ul li {
  list-style: none;
  display: inline-block;
  width: 33%;
  padding: 1em;
}

#otherEvents ul li:nth-child(3n+1) {
  padding-left: 0;
}

#otherEvents .et_pb_widget a {
  color: #1b91ab;
}

.nav li ul {
  width: 400px;
}

#top-menu li li a {
  width: 380px;
}


