/* Add custom CSS/SCSS */
@import url("css/addiction.css");

/* BFrye WPUF CSS */

.wpuf-category-checklist {-webkit-column-count: 3; -moz-column-count: 3; column-count: 3;}
ul.wpuf-form li .wpuf-fields a.file-selector {padding: 20px 20px !important;height: auto !important;line-height: 1 !important;}
body.page-id-9718 img.featured-image, body.page-id-9723 img.featured-image  {display: none;}
ul.wpuf-form li {margin-bottom: 0px !important; padding: 0px !important;}
.wpuf-form input, .wpuf-form textarea, .wpuf-form select {border: 1px solid #ddd; font-size: 14px !important; padding: 12px 10px !important; box-sizing: border-box !important; background: #fff !important; height: auto !important;}
.wpuf-form input[type="submit"] {background-color: #9fc54d !important; padding: 20px 40px !important; border: 0 !important; text-transform: none !important; font-size: 18px !important;}
ul.wpuf-form li .wpuf-fields .wpuf-help {display: block;}
body.postid-13939 .featured-image,
body.page-id-11 .featured-image{display:none}

.top-bar-cta a {color: inherit !important; text-decoration: none !important;}




.mobile-line-break {
  display: none;
}

@media (max-width: 440px) {
  .mobile-line-break {
     display: block;
  }
}



.mobile-header-logo {
    max-width: 25px;
    top: 30px;
    left: 24px;
}

@media (min-width: 370px) and (max-width: 500px) {
  .entry h1 {
    font-size: 35px;
    margin-top: 10px;
  }

  .hero-h1-small {
    font-size: 24px;
  }
}

@media only screen and (min-width: 360px) and (max-width: 410px) {
  .hero-background {
    margin-top: 0;
    padding: 20px 5px;
  }
}

@media (min-width: 410px) and (max-width: 600px) {
  .hero-background {
    margin-top: 0;
    padding: 20px 5px 60px;
  }
}

@media (max-width: 500px) {
  #hero-cta-button {
    width: 250px;
  }
}

@media only screen and (max-width: 1180px) {
  .business .home-listing-section .one-half {
    width: 100%;
  }
}

@media (min-width: 360px) and (max-width: 500px) {
  .business .home-listing-section {
    margin-top: 0;
    position: relative;
  }
}

@media (min-width: 330px) and (max-width: 360px) {
  .business .home-listing-section {
    margin-top: 95px;
    position: relative;
  }
}

@media only screen and (max-width: 330px) {
  .business .home-listing-section {
    margin-top: 0;
    position: relative;
  }
}







/* for /news/ slug
@media only screen and (min-width: 980px) {
  .news-container {
    width: 100%;
  }

  .news-container aside {
	width: 25%;
  }

  .news-main, .news-sidebar {
	width: 74%;
  }
} */



@media only screen and (min-width: 1380px) {
  section.entry {
	max-width: 1300px;
    margin: 0 auto;
  }

  img.size-full.addiction-image  {
	width: 100%;
  }

  .dark-blue-background {
    max-width: 1800px !important;
  }

  .dark-blue-bg-wrapper {
	margin: 0 auto;
  }

  .home #wrapper {
    background-size: 1700px auto;
  }

  .hero-background {
    padding-top: 20px;
  }

  .row.home-listing-section {
    margin-top: 0;
  }
}



/* home-page wrapper */
@media only screen and (max-width: 450px) {
  .home #wrapper {
    background: url('../addiction/img/mobile-hero-bg.png') no-repeat right top !important;
  }
}


@media only screen and (max-width: 330px) {
  .entry h1 {
    font-size: 30px;
    margin-top: 10px;
  }

  .hero-h1-small {
    font-size: 20px;
  }

  #hero-subhead {
    font-size: 17px !important;
  }


  .home #wrapper {
	width: 103vw !important;
  }

  #hero-cta-button {
    width: 230px;
    font-size: 95%;
  }

  .dropbtn {
    width: 250px;
  }

  .home #wrapper {
	background-size: auto 420px !important;
    background-position: calc(100% - 0px) 2px !important;
  }
}




/* addiction treatment options for every need */
@media only screen and (min-width: 481px) and (max-width: 768px) {
  .home .dark-blue-background {
    width: 100vw !important;
  }
}

@media only screen and (max-width: 480px) {
	/* hide home -> addiction tratment options for every need img */
	.wp-image-14155 {
		display: none;
	}
}


/* view treatment centers mobile button */
a.button-secondary.mobile-only {
  width: 170px !important;
}



/* mobile menu toggle */
.ubermenu-responsive-toggle {
  padding-right: 5px;
  padding-top: 15px;
}

.ubermenu-responsive-toggle .fa-bars {
  margin-right: 0 !important;
}



/* removing white space after gambling addictions */
@media only screen and (max-width: 768px) {
  .row.addiction-types::before,
  .row.addiction-types::after {
    display: none;
  }
}


/* home -> state dropdown was getting cut off */
@media only screen and (max-width: 480px) {
  .dropdown-content {
    z-index: 1000;
  }
}



/* SEARCH BAR -- hiding the search bar from the hero and header for now */
#header-form {
  display: none;
}

#hero-form {
  visibility: hidden;
}




/* added back footer text: contact us today for help */
@media (max-width: 640px) {
  .bottom-bar-cta ul li.footer-large-text {
    display: block;
    font-size: 20px;
    padding-top: 20px;
  }
}










/* ================= Round 2 of CSS edits */

/* cassava app page */
body.page-id-143 .hero-description {
  top: 35%;
  width: 80%;
}


body.page-id-143 .hero-description span {
  font-size: 90%;
}

@media only screen and (min-width: 1085px) and (max-width: 1300px) {
  body.page-id-143 .hero-description {
    top: 15%;
    width: 92%;
    left: 25px;
  }

  body.page-id-143 .hero-description p {
    font-size: 15px;
  }
}

@media only screen and (min-width: 955px) and (max-width: 1085px) {
  body.page-id-143 .hero-description {
    top: 5%;
    width: 92%;
    left: 25px;
  }

  body.page-id-143 .hero-description p {
    font-size: 14px;
  }
}




/* find a support meeting */
/* -- for 'show filters' button */
a[ng-click="showFilters=!showFilters"] {
  padding: 10px 20px;
}

@media only screen and (max-width: 480px) {
  body.page-template-page-meeting-finder h1 {
    margin-top: 40px !important;
  }
}




/* addiction a-z */
ul#alphabetical-pagination {
  margin-top: 40px !important;
}

ul#menu-button-nav > li > a {
  padding: 10px 0 !important;
}

ul#menu-button-nav > li > a:before {
  margin-left: 15px !important;
}

.textwidget img {
  width: 100%;
}







/* mobile nav */
@media only screen and (max-width: 480px) {
  #ubermenu-main-177-primary-menu {
    top: 88px !important;
    right: 0 !important;
    width: 100% !important;
  }

  /* .ubermenu.ubermenu-transition-slide .ubermenu-active > .ubermenu-submenu.ubermenu-submenu-type-mega, .ubermenu:not(.ubermenu-transition-slide) .ubermenu-submenu.ubermenu-submenu-type-mega {
    max-height: 200px !important;
  } */
}












/* ===========================================

   ADDICTION.COM: Round 1 Redesign | December 21, 2016

   =========================================== */

/*

   FONTS

   ------------------------------------------- */

@font-face {
  font-family: ProximaNovaBold;
  src: url('fonts/ProximaNova-Bold.otf');
  font-weight: bold;
}

@font-face {
  font-family: ProximaNova;
  src: url('fonts/ProximaNova-Regular.otf');
  font-weight: regular;
}

body, h1, h2,
.entry, .entry p {
  font-family: ProximaNova !important;
  color: #494949;
}

h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

section#main article h2 {
  font-family: ProximaNova !important;
  font-size: 18px;
  color: #494949;
}

h3 {
  font-family: ProximaNova !important;
}

a:link, a:visited {
  color: #62999d;
}

.tel-link a {
    color: #f37831;
}

.nopadding {
  padding: 0 !important;
}

@media only screen and (min-width: 500px) and (max-width: 785px) {
  body {
    margin-top: 55px;
  }
}



/*

   UNIVERSAL

   ------------------------------------------- */
body.full-width #wrapper {
  margin-top: -80px;
}


/*

   NAVBAR

   ------------------------------------------- */
.mobile-header-logo {
  visibility: visible !important;
}

.ubermenu:not(.ubermenu-transition-slide) .ubermenu-submenu.ubermenu-submenu-type-mega {
  max-height: 650px !important;
}

.ubermenu-column-full {
  min-width: 250px !important;
}

.ubermenu .ubermenu-target-text {
  color: #134758 !important;
  font: 15px ProximaNova !important;
  text-transform: none !important;
}

.ubermenu .ubermenu-target-text:hover {
  color: #62999d !important;
  font: 15px !important;
  text-transform: none !important;
}

.ubermenu .ubermenu-item-level-0 .ubermenu-target-text {
  font-size: 15px !important;
}

.ubermenu .ubermenu-item-level-0:hover {
  color: #62999d !important;
  background: transparent !important;
}

.ubermenu .ubermenu-item-level-1 .ubermenu-target-text {
  font-size: 13.5px !important;
}

.ubermenu .ubermenu-item-level-1 .ubermenu-target-text:hover {
  font-size: 13.5px !important;
  font-family: ProximaNovaBold !important;
}

nav.ubermenu-loc-primary-menu li.color-1:hover > a {
  background-color: transparent !important;
}

li.color-1 ul.ubermenu-submenu-type-mega {
  background-color: #fff !important;
}

.ubermenu-item-level-0 > .ubermenu-submenu-drop {
  margin-left: -10px;
}

li.ubermenu-item-level-1 {
  padding-left: 15px;
}

li.ubermenu-item-level-1:nth-child(odd) {
  border-top: 1px solid #cfcfd0;
  background: #fcfcfc;
}

li.ubermenu-item-level-1:nth-child(even) {
  border-top: 1px solid #cfcfd0;
  background: #f3f3f3;
}

li.ubermenu-item-level-1:nth-child(odd) a span {
  color: #62999d !important;
  padding: 3.5px 10px;
}

li.ubermenu-item-level-1:nth-child(even) a span {
  color: #62999d !important;
  padding: 3.5px 10px;
}

.top-bar-cta ul li {
  font: 16px ProximaNova;
}

.top-bar-cta .button-header {
  border-radius: 8px;
}

.top-bar-cta .button-header .fa {
  margin-right: 12px;
}

@media only screen and (min-width: 787px) {
  header#header {
    position: absolute!important;
  }

  #ubermenu-main-177-primary-menu {
    position: absolute!important;
  }

  .top-bar-cta {
    position: relative!important;
    top: -90px!important;
  }
}

@media only screen and (min-width: 787px) and (max-width: 1075px) {
  .ubermenu-responsive-toggle.ubermenu-responsive-toggle-main {
    position: absolute;
  }
}


/*

   MAP (jqvmap jquery plugin)

   ------------------------------------------- */
.jqvmap-pin {
  font-size: 10px;
}

.jqvmap-label {
  font-size: 14px;
  position: absolute;
  z-index: 99;
}



/*

   FOOTER

   ------------------------------------------- */

.brought-to-you {
/*  background-position: 0 0;
  background: url(../img/footer-brought-to-you-by.png) no-repeat; */
  background: white;
  text-align: center;
  padding: 10px 0;
}

.footer-supporting-orgs {
  background: #e9e9e9;
  padding: 35px 0;
  text-align: center;
}

.footer-supporting-orgs h2 {
  color: #000 !important;
  display: inline-block;
  margin-right: 10px;
  line-height: 40px;
}

.footer-supporting-orgs img {
  max-height: 40px;
  width: auto;
  display: inline-block;
  margin: 0 0 10px 2%;
}

#footer-widgets .social-icons {
  background-color: #838182;
}

.bottom-bar-cta ul li {
  font-family: ProximaNova !important;
}

.bottom-bar-cta .button-header {
  font-size: 80%;
  border-radius: 8px;
}

.bottom-bar-cta .button-header .fa {
  margin-right: 12px;
}

.bottom-bar-cta ul li.footer-large-text, .bottom-bar-cta ul li.footer-small-text {
  font-size: 16px !important;
}

@media only screen and (min-width: 768px) and (max-width: 1000px) {
  #footer-container, #footer-widgets-container, .bottom-bar-cta {
    width: calc(100% + 12px);
  }
}

@media only screen and (min-width: 787px) {
  .bottom-bar-cta {
    position: fixed;
    bottom: 0;
  }

  #footer {
    margin-bottom: 70px;
  }
}


/*

   HOME PAGE

   ------------------------------------------- */



h1.home-page-text {
  font-family: ProximaNovaBold !important;
  line-height: 1.4 !important;
  font-size: 45px !important;
}

h2#hero-subhead {
  font-family: ProximaNova !important;
}

h3.homepage-h3 {
  font-family: ProximaNovaBold !important;
  margin-top: 50px;
}


#hero-phone-link {
  color: #f37831 !important;
}

#hero-subhead {
  max-width: 800px !important;
  line-height: 2;
  margin-top: 0 !important;
}

.state-listing {
  padding: 0 !important;
  margin: 0 12% 15px 0 !important;
  border-bottom: 0 !important;
}

.state-listing li {
  text-decoration: none !important;
}

.state-listing li a {
  color: #62999d !important;
  font-weight: normal !important;
  border-bottom: 1px solid #e1ebed !important;
  text-decoration: none !important;
}

.row.dark-blue-background::before, .row.dark-blue-background::after {
  padding: 0 !important;
}

#treatment-options {
  padding: 2em 0 !important;
  margin-left: 3%;
}

.treatment-options-img {
  width: 48% !important;
  margin: 0 !important;
}

.treatment-options-img .size-full {
  width: auto !important;
  height: 100% !important;
  object-fit: cover !important;
  margin: 0 !important;
}

.right-direction {
  margin-bottom: 40px !important;
}

.home-btn.button-main span a, .home-btn.button-main .fa-phone {
  font-size: 20px;
}

.home-btn.button-main .fa-phone {
  margin-right: 10px;
}


.addiction-types h5 a {
  color: #62999d !important;
  margin-left: 30px;
  text-align: left;
}

.addiction-types p {
  margin: 0 30px 30px !important;
}

.lm-addiction-btn-wrap {
  width: 255px;
  margin: 30px auto;
}

.home-btn.learn-more-addiction-button {
  background: transparent;
  border-bottom: 1px solid #e1ebed !important;
  color: #62999d !important;
  font-size: 20px;
  font-weight: normal;
  width: auto !important;
  padding: 0 !important;
}



@media only screen and (min-width: 450px) {
  .home #wrapper {
    background: url('../addiction/img/home-herov2.jpg') no-repeat right top/auto 500px !important;
  }
}

@media only screen and (min-width: 787px) {
  .home #wrapper {
    margin-top: -125px!important;
  }
}

@media only screen and (min-width: 1400px) {
  .home #wrapper {
    background: url('../addiction/img/home-herov2.jpg') no-repeat right top/auto 700px !important;
    height: 500px;
  }
}


@media only screen and (min-width: 1485px) {
  .treatment-options-img .size-full {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    margin: 0 !important;
  }
}

@media only screen and (min-width: 1305px) {
  .one-fourth.thin-border img.addiction-image {
    width: 100%;
  }
}


@media only screen and (max-width: 900px) {
  #treatment-options {
    width: 97% !important;
  }
  .treatment-options-img {
    width: 100% !important;
  }

  .treatment-options-img .size-full {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    margin: 0 !important;
  }
}

@media only screen and (min-width: 501px) and (max-width: 768px) {
  h1.home-page-text {
    margin-top: 0px;
  }
}

@media only screen and (min-width: 480px) and (max-width: 1030px) {
  .hero-background {
    max-height: 350px;
  }

  h1.home-page-text {
    font-size: 35px !important;
  }
}

@media only screen and (min-width: 769px) {
  h1.home-page-text {
    margin-top: 70px;
  }
}

@media only screen and (min-width: 810px) and (max-width: 1030px) {
  .state-listing {
    margin: 0 6% 15px 0 !important;
  }
}

@media only screen and (min-width: 768px) and (max-width: 810px) {
  .state-listing {
    margin: 0 5% 15px 0 !important;
  }
}


@media only screen and (min-width: 770px) {
  .addiction-types .thin-border {
    min-height: 420px;
  }
}

@media only screen and (max-width: 768px) {
  .home #wrapper {
    margin-top: 240px !important;
  }

  .addiction-types h5 a {
    text-align: center;
  }
}



@media only screen and (min-width: 330px) and (max-width: 370px) {
  .home #wrapper {
	background-size: auto 460px !important;
    background-position: calc(100% - 0px) 2px !important;
  }

  h1.home-page-text {
    font-size: 30px !important;
    margin-top: 10px;
  }

  .hero-h1-small {
    font-size: 19px;
  }

  #hero-subhead {
    font-size: 17px !important;
    line-height: 1.4;
  }
}


@media (max-width: 785px) {
  .home.page.page-id-14152 {
    margin-top: -160px !important;
  }
}


@media only screen and (min-width: 370px) and (max-width: 768px) {
  .home #wrapper {
    background-size: auto 420px;
    width: 100vw !important;
    overflow-x: hidden;
  }
}


@media only screen and (min-width: 370px) and (max-width: 480px) {
  h1.home-page-text {
    font-size: 35px !important;
    margin-top: 10px;
  }
}


@media only screen and (min-width: 370px) and (max-width: 380px) {
  .home #wrapper {
	background-size: auto 580px !important;
    background-position: calc(100% - 0px) 2px !important;
  }
}


@media only screen and (max-width: 360px) {
  h1.home-page-text {
    font-size: 25px !important;
    margin-top: 10px;
  }

  .hero-background {
    margin-top: -40px;
  }

  h3.homepage-h3 {
    margin-top: 0;
  }
}



/*

   IN RECOVERY

   ------------------------------------------- */
.redesign-recovery-main {
  width: 100% !important;
}

.redesign-recovery-main section#main article h2 {
  font-family: ProximaNovaBold !important;
  font-size: 18px;
  color: #494949;
}

.redesign-recovery-container {
  float: left !important;
  padding-left: 7%;
  width: 58.92% !important;
}


.redesign-recovery-container .featured-image {
  height: 230px !important;
  object-fit: cover;
}

.redesign-recovery-sidebar-right {
  float: left;
  width: 20.5%;
  padding-left: 7%;
  margin-top: 30px;
}

.redesign-recovery-sidebar-right small a {
  color: #62999d !important;
  text-decoration: none !important;
  font-size: 16px !important;
}


ul#related-posts.redesign-recovery-rp article {
  width: 73%;
}

.redesign-recovery-rp-entry {

}

.redesign-recovery-rp-img {
  width: 100%;
  overflow: auto;
}

ul#related-posts.redesign-recovery-rp article header h2 {
  font-family: ProximaNovaBold !important;
}

ul#related-posts.redesign-recovery-rp article header h2,
ul#related-posts.redesign-recovery-rp article p {
  padding: 0 !important;
  margin: 0 !important;
}

ul#related-posts.redesign-recovery-rp article img {
  min-height: auto;
  max-height: auto;
  width: auto;
}

@media only screen and (min-width: 768px) and (max-width: 785px) {
  .col-full.redesign-recovery {
    margin-top: 90px !important;
  }
}

@media only screen and (min-width: 600px) and (max-width: 767px) {
  .col-full.redesign-recovery {
    margin-top: 60px !important;
  }
}


@media only screen and (max-width: 600px) {
  .redesign-recovery-container, .redesign-recovery-sidebar-right {
    width: 94% !important;
    padding-left: 3% !important;
  }
}





/*

   FIND A SUPPORT MEETING

   ------------------------------------------- */
.redesign-support-mtg-main {
  width: 60% !important;
}

.redesign-support-mtg-container {
  float: left !important;
  padding-left: 3%;
  width: 100% !important;
}

#meeting-finder-sidebar {
  float: left;
  width: 20.5%;
  padding-left: 7%;
  margin-top: 30px;
}

#redesign-support-mtg-text {
  width: 100%;
  float: left;
}

#redesign-support-mtg-finder {
  width: 27%;
  float: left;
}

#searchMenu.redesign-support-mtg {
  width: 100%;
  /* margin-left: 13%;
  position: fixed;
  right: 5%; */
  width: 100%;
  top: 25%;
}

#searchMenu {
  margin-left: 15%;
}

#searchResults {
  width: 100vw !important;
  position: relative;
  left: -234%;
  padding: 0 !important;
  margin-top: 50px;
}


#meetingFinder .button-simple.show-filters {
  top: -30px;
  position: relative;
  background: transparent !important;
  color: #999 !important;
  font-size: 85%;
}

#meetingFinder .button-block {
  width: 38% !important;
  float: right;
  border-radius: 10px;
}



#meetingFinder .row:after, #meetingFinder .row:before {
  padding: 0 !important;
}

#meetingFinder .extra-padding {
  border-top: 1px solid #cfcfd0;
  padding: 20px calc(1.618em + 3%) !important;
}

#meetingFinder .location-heading {
  text-align: left !important;
  color: #999 !important;
}

#meetingFinder .light {
  color: #999 !important;
  font-weight: bold;
}

#meetingFinder .bright-green-border-light {
  border: 1px solid #cfcfd0 !important;
}

#meetingFinder .bright-green-bg {
  background: #fff !important;
  padding: 20px calc(1.618em + 3%) !important;
}

#meetingFinder .bright-green-bg-light {
  background: #f3f3f3 !important;
}

.support-mtg-padding-left {
  padding-left: calc(1.618em + 3%);
}

@media only screen and (min-width: 768px) and (max-width: 981px) {
  #searchResults {
     margin-top: 100px;
  }
}


@media only screen and (max-width: 768px) {
  #searchMenu {
    margin-left: 0%;
  }

  #redesign-support-mtg-finder {
    width: 100%;
    float: left;
  }
  #searchMenu.redesign-support-mtg {
     position: relative;
     top: inherit;
     right: inherit;
  }

  .redesign-support-mtg-main {
     width: 100% !important;
  }

  #searchResults {
    width: auto !important;
    position: relative;
    left: initial;
  }
}





/*

   EXPERT BLOGS

   ------------------------------------------- */

.sticky-cta {
  z-index: 1000;
}

.col-full.ebrv2 {
  margin: 0 3em;
}

.entry.ebrv2 {
  width: 100% !important;
  max-width: none !important;
}

.featured-bloggers-wrapper {
  border-bottom: 1px solid #cfcfd0;
  overflow: auto;
  margin-bottom: 4em;
}

.col-full.ebrv2 h1.no-float {
  float: none !important;
}

.featured-bloggers-container {
  margin: 0 auto;
  width: 71.385%;
}

.featured-bloggers-container.main-blog {
  margin: 0;
}

#main-sidebar-container.main-blog {
  width: 100% !important;
}

/*.featured-bloggers-search {
  float: right;
  margin-right: 2%;
  position: relative;
  top: -45px;
}*/


.ebrv2 .title-wrapper, .ebrv2 .search-wrapper {
  width: 50%;
  float: left;
  margin-bottom: 60px;
  overflow: auto;
}

.ebrv2 .search-wrapper {
  text-align: right;
}

.ebrv2 .search-wrapper h3 {
  display: inline-block;
  margin-right: 3.5%;
}

.ebrv2 .search-wrapper .select2-container.blog-topics {
  float: none !important;
  margin: 0 !important;
  text-align: left;
}



ul.featured-bloggers.ebrv2 {
  background: transparent;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

ul.featured-bloggers.ebrv2 h2, .ebrv2 h2.title-float {
  color: #134758;
  font-family: ProximaNovaBold !important;
  letter-spacing: 1px;
}

ul.featured-bloggers.ebrv2 h2 {
  text-align: center;
}

ul.featured-bloggers.ebrv2 li.blogger li.post h3 {
  -moz-text-decoration-color: #e1ebed;
  text-decoration-color: #e1ebed;
  color: #62999d !important;
  font-family: ProximaNova !important;
  margin: 0 auto;
  width: 66%;
}

.blogger.ebrv2 {
  width: 33%;
  float: left;
  margin-bottom: 4em !important;
}

.blogger.ebrv2 li.author a {
  color: #666666 !important;
}


ul.expert-blog.ebrv2 h2 a {
  color: #f37831 !important;
}

ul.expert-blog.ebrv2 li.post2 {
  width: 47%;
  float: left;
  min-height: 220px;
  padding: 10px 3% 10px 0 !important;
}





ul.expert-blog.ebrv2 {
  position: inherit !important;
}

ul.expert-blog.ebrv2 li {
  position: inherit !important;
  overflow: auto;
}

ul.expert-blog.ebrv2 li.post {
  width: 48%;
  float: left;
  padding: 10px 10px 10px 0 !important;
}


ul.expert-blog.ebrv2 li.post, ul.expert-blog.ebrv2 li.post:first-child {
  min-height: auto !important;
}

ul.expert-blog.ebrv2 li.post:first-child {
  position: inherit !important;
  padding: 10px 10px 10px 0 !important;
}


ul.expert-blog.ebrv2 li:first-child li.thumb {
  margin-bottom: 0 !important;
  width: auto !important;
  position: inherit !important;

  float: left;
  max-width: 33%;
  margin-bottom: 15px !important;
}

ul.expert-blog.ebrv2 li.post:first-child li.teaser {
  width: auto !important;
  position: inherit !important;
  background: transparent;
  padding: 0 !important;
}

ul.expert-blog.ebrv2 li.post:first-child li.teaser h2 {
  font-size: 18px !important;
}

ul.expert-blog.ebrv2 li.post:first-child li.teaser a {
  color: #62999d;
}

ul.expert-blog.ebrv2 li.post:first-child li.title a,
ul.expert-blog.ebrv2 li.post:first-child li.teaser p {
  color: #444;
}

ul.expert-blog.ebrv2 li.post:first-child .excerpt {
  display: block;
}


@media only screen and (max-width: 900px) {
  ul.expert-blog.ebrv2 li.post2 {
    width: 100% !important;
  }
}

@media only screen and (max-width: 767px) {
  .featured-bloggers-container, .featured-bloggers-side {
    width: 100% !important;
  }

  .col-full .ebrv2 {
    margin: 0 10px;
  }

  ul.expert-blog.ebrv2 li:first-child li.thumb {
    float: none;
    max-width: 100%;
  }

  .ebrv2 .title-wrapper, .ebrv2 .search-wrapper {
    width: 100%;
    float: none;
    overflow: initial;
    text-align: left;
  }
}

@media only screen and (min-width: 768px) and (max-width: 785px) {
  .entry.ebrv2 {
    margin-top: 90px;
  }
}

@media only screen and (max-width: 550px) {
  .entry.ebrv2 {
    margin: 40px 0 0 !important;
  }

  .col-full.ebrv2 h1.title-float {
    width: 100% !important;
  }

  .featured-bloggers-search {
    float: right;
    margin-right: 0;
    position: relative;
    top: -15px;
  }
}


/*

   ADDICTION A-Z

   ------------------------------------------- */
li.az-char a.active {
  color: #fff !important;
  background-color: #f37831;
  border-radius: 50%;
  width: 50%;
  padding: 7px 10px !important;
  margin: 3px !important;
}

.redesign-az-main {
  margin-left: 3%;
}

.redesign-az-main h1.entry-title {
  display: none !important;
}

.redesign-az-fullwidth {
  width: 100% !important;
}

ul#alphabetical-pagination {
  margin: 40px 0 !important;
}


ul.glossary li:nth-child(odd), body.page-id-366 section#main ul.display-posts-listing li:nth-child(odd), body.single-azglossary ul.display-posts-listing li:nth-child(odd) {
  width: 50%;
  float: left;
  background: transparent;
  clear: both;
}

ul.glossary li a, body.page-id-366 section#main ul.display-posts-listing li a, body.single-azglossary ul.display-posts-listing li a {
  color: #62999d !important;
}


@media only screen and (min-width: 980px) {
  .redesign-az-main {
    width: 66.385% !important;
    float: left !important;
  }
}

@media only screen and (max-width: 500px) {
  ul.glossary li:nth-child(odd), body.page-id-366 section#main ul.display-posts-listing li:nth-child(odd), body.single-azglossary ul.display-posts-listing li:nth-child(odd) {
    width: 100%;
    float: none;
  }
}






/*

   EXPERT BLOGS, ADDICTION A-Z SIDEBAR

   ------------------------------------------- */

.featured-bloggers-side, .az-nav-side {
  width: 28.615%;
  float: left;
}

ul.featured-bloggers-nav {
  padding-left: 15%;
}

ul.az-nav {
  padding-left: 0;
  padding-right: 15%;
}

ul.featured-bloggers-nav li,
ul.az-nav li {
  border-bottom: 1px solid #cfcfd0;
  font-size: 17px;
  list-style: none;
}

ul.featured-bloggers-nav li:last-child,
ul.az-nav li:last-child {
  border-bottom: 0;
}

ul.featured-bloggers-nav li a,
ul.az-nav li a {
  color: #666666;
}

ul.featured-bloggers-nav .fa,
ul.az-nav .fa {
  color: #f37831;
  width: 20px;
  font-size: 18px;
  margin: 7px 10px 7px 0;
}


@media only screen and (max-width: 980px) {
  .az-nav-side {
    width: 100%;
  }

  ul.featured-bloggers-nav, ul.az-nav {
    margin: 20px 0;
    padding: 0;
  }
}




/*

   FIND TREATMENT CENTER BY SPECIALTY

   ------------------------------------------- */
.td-redesign h1 {
  color: #134758 !important;
  font-size: 30px !important;
  font-family: ProximaNovaBold !important;
}

.td-redesign ul {
  padding: 0;
}

.td-redesign li {
  list-style: none;
  color: #62999d !important;
}

.td-redesign .wpbdp-listing-excerpt {
  min-height: 240px;
}

.td-redesign .wpbdp-region-selector {
  display: none;
}


.searchby .wpbdp-map.auto {
  display: none;
}


.wpbdp-field-title span {
  font-family: ProximaNova !important;
  font-size: 18px;
  color: #134758 !important;
}


.wpbdp-page-category #wpbdp-map-0 {
  display: none;
}

.td-redesign wpbdp-listing-single {
  display: block !important;
}


.wpbdp-listing-excerpt {
  border-bottom: 0px solid #ddd;
  border: 1px solid #ddd;
  width: 30.3%;
  float: left;
  margin-bottom: 2%;
  min-height: 150px;
}

.wpbdp-listing-excerpt:nth-child(3n) {
  margin: 0 2% 2%;
}

.wpbdp-pagination {
  clear: both;
}


.wpbdp-field-title span {
  font-family: ProximaNova !important;
  font-size: 18px;
  color: #134758 !important;
}

.wpbdp-listing-excerpt .listing-actions {
  display: none;
}


.wpbdp-main-box {
  display: none;
}

@media only screen and (max-width: 1530px) {
  .wpbdp-listing-excerpt:nth-child(3n) {
    margin: 0 1.5% 2%;
  }
}

@media only screen and (max-width: 1270px) {
  .wpbdp-listing-excerpt {
    width: 29.5%;
  }
}

@media only screen and (max-width: 1010px) {
  .wpbdp-listing-excerpt {
    width: 29.3%;
  }
}

@media only screen and (max-width: 855px) {
  .wpbdp-listing-excerpt {
    width: 28%;
  }
}

@media only screen and (max-width: 1000px) {
  .wpbdp-listing-excerpt {
    min-height: 200px;
  }
}


@media only screen and (max-width: 768px) {
  .td-redesign .wpbdp-listing-excerpt {
    width: 93%;
    float: none;
    margin-bottom: 2%;
    margin-right: 0%;
    min-height: 150px !important;
  }

  .wpbdp-listing-excerpt:nth-child(3n) {
    margin: 0% 0% 2% 0%;
  }

  .wpbdp-listing-excerpt:nth-child(3n + 1) {
	margin: 2% 0% !important;
  }
}

@media only screen and (max-width: 500px) {
  .wpbdp-listing-excerpt {
    min-height: 200px;
  }
}


@media only screen and (min-width: 647px) and (max-width: 768px) {
  .td-redesign h1 {
    position: relative;
    left: -90px;
  }
}




/*

   FIND TREATMENT CENTER BY STATE

   ------------------------------------------- */
.searchby {
  float: left !important;
  padding: 0 calc(1.618em + 3%);
  width: 92% !important;
}

.searchby-main {
  width: 100% !important;
}

.searchby-main article {
  float: none !important;
  width: 100% !important;
}

.searchby-main.adv-search {
  width: 60% !important;
  margin: 0 auto;
  float: none !important;
}

.searchby h1 {
  color: #134758 !important;
  font-size: 30px !important;
  font-family: ProximaNovaBold !important;
}

.searchby #wpbdp-search-page h2 {
  display: none;
}

.searchby .wpbdp-bar {
  display: none;
}

.searchby #wpbdp-search-form .wpbdp-search-filter {
  margin: 30px 0;
}

.searchby #wpbdp-search-form .wpbdp-search-filter>.wpbdp-search-field-label {
  width: 40%;
}

.searchby #wpbdp-search-form .wpbdp-search-filter>div.field {
  display: block;
  width: 60%;
  margin-left: 40%;
  padding-left: 5px;
}

form#wpbdp-search-form input.wpbdp-button.reset{
  display: none;
}

.searchby input[type="submit"], .searchby input[type="reset"] {
  padding: .45em 2.5em!important;
  border-radius: 10px !important;
  display: inline-block;
  color: white !important;
  text-align: center;
  text-decoration: none;
  font-size: 1em;
  font-family: inherit;
  cursor: pointer;
  overflow: visible;
  line-height: 1.618em;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  white-space: normal;
  font-weight: 200;
  text-transform: uppercase;
  box-shadow: 0 0 0 0 #888;
  -webkit-box-shadow: 0 0 0 0 #888;
  text-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin: .5em 0 4em;
  text-transform: none!important;
}

.searchby input[type="submit"] {
  background: #f37831 !important;
  border: 2px solid #ef8a4f!important;
}

.searchby input[type="reset"] {
  background: transparent !important;
  border: 2px solid #ef8a4f!important;
  color: #ef8a4f!important;
  margin-right: 1em;
}

.wpbdp-category-name {
  margin-bottom: 20px;
}

.wpbdp-category-learn-more {
  margin: 50px 0 35px;
}

.wpbdp-category-name p {
  display: inline-block;
  font: 20px ProximaNova;
  margin-left: 10px;
}

.wpbdp-category-bubble {
  background: #f0f0f0;
  border: 1px solid #ddd;
  padding: 30px 40px;
  margin-bottom: 30px;
}

.wpbdp-category-bubble, .wpbdp-category-bubble p {
  font: normal 16px/1.5em ProximaNova !important;
  color: #797a78 !important;
}

.wpbdp-category-bubble b, .wpbdp-category-bubble strong {
  font: normal 16px/1.5em ProximaNovaBold !important;
}

.wpbdp-category-bubble h3 {
  color: #134758 !important;
  font-family: ProximaNovaBold !important;
}

.wpbdp-category-description {
  margin: 10px 0 20px;
}

.wpbdp-category-listings .wpbdp-category-description {
  display: none;
}

#wpbdp-page-all_listings #wpbdp-map-0 {
  display: none;
}


@media only screen and (max-width: 1180px) {
  .searchby .one-half {
    width: 100%;
  }
}

@media only screen and (min-width: 480px) and (max-width: 768px) {
  .searchby-main.adv-search {
    width: 100% !important;
    margin: 0 auto;
    float: none !important;
  }
}

@media only screen and (max-width: 479px) {
  .searchby {
    float: none !important;
    padding: 0;
    width: 100% !important;
  }

  .searchby-main.adv-search {
    width: 100% !important;
    margin: 0 auto;
    float: none !important;
  }
}



/*

   SINGLE TREATMENT CENTER

   ------------------------------------------- */
.td-redesign .wpbdp-view-content-wrapper .wpbdp-single {
  padding: 0 3%;
}

.td-redesign .wpbdp-view-content-wrapper #wpbdp-map-0 {
  width: 94%;
  margin-left: 3%;
}

.wpbdp-single h2 {
  color: #134758 !important;
  font-size: 22px !important;
  font-family: ProximaNovaBold !important;
}

.wpbdp-single hr {
  display: none;
}

.wpbdp-single label {
  font-family: ProximaNovaBold !important;
  text-transform: none !important;
}

.wpbdp-single .wpbdp-field-phone {
  border-top: 1px solid #cfcfd0;
  padding-top: 20px;
  margin-top: 40px;
}

.wpbdp-single .wpbdp-field-website {
  border-bottom: 1px solid #cfcfd0;
  padding-bottom: 20px;
  margin-bottom: 40px !important;
}

.wpbdp-single .wpbdp-field-specialty {
  width: 70% !important;
}

.wpbdp-view-content-wrapper .wpbdp-ratings-reviews {
  margin: -1% 3% 3%;
}


.wpbdp-view-content-wrapper .wpbdp-map-directions-config,
.wpbdp-view-content-wrapper #post-author {
  display: none;
}

@media only screen and (max-width: 479px) {
  .wpbdp-single .wpbdp-field-specialty {
    width: 100% !important;
  }
}



/*

   BEST REHABS

   ------------------------------------------- */
.best-rehabs-redesign h1 {
  color: #134758 !important;
  font-size: 30px !important;
  font-family: ProximaNovaBold !important;
}

.best-rehabs-redesign h3 {
  color: #134758 !important;
  font-size: 22px !important;
  font-family: ProximaNovaBold !important;
}

.best-rehabs-redesign .wplp-best-rehabs p.location {
  display: inline-block;
  font-size: 22px !important;
}

.best-rehabs-redesign img {
  margin: 1.5em 0;
}

.wplp-best-rehabs {
  padding: 0 calc(1.618em + 3%);
}

.best-rehabs-redesign .main-sidebar-container {
  width: 71.385%;
}

.best-rehabs-redesign .main {
  width: 100%;
}

.best-rehabs-redesign .wplp-best-rehabs:nth-child(odd) {
  background: #f3f3f3;
  padding-top: 3em;
}

.best-rehabs-redesign .wplp-best-rehabs:nth-child(even) {
  padding-top: 3em;
}

.best-rehabs-redesign .cta-button {
  width: 28vw!important;
  padding: .65em 1em!important;
  border-radius: 10px !important;
  display: inline-block;
  color: white !important;
  text-align: center;
  text-decoration: none;
  font-size: 1em;
  font-family: inherit;
  cursor: pointer;
  overflow: visible;
  line-height: 1.618em;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  white-space: normal;
  font-weight: 200;
  text-transform: uppercase;
  box-shadow: 0 0 0 0 #888;
  -webkit-box-shadow: 0 0 0 0 #888;
  text-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin: .5em 0 4em;
}

.best-rehabs-redesign ul.contact li .cta-button.outline {
  background-color: transparent!important;
  border: 2px solid #ef8a4f!important;
  color: #ef8a4f!important;
  margin-right: 1.5em;
}

.best-rehabs-redesign ul.contact li .cta-button.fill {
  background-color: #ef8a4f!important;
  border: 2px solid #ef8a4f!important;
}

.best-rehabs-redesign-sidebar {
  float: right;
  width: 25%;
}

@media only screen and (max-width: 980px) {
  .best-rehabs-redesign-sidebar {
    float: none;
    width: 94%;
    margin-left: 1.218em;
    overflow: hidden;
  }
}


@media only screen and (min-width: 768px) and (max-width: 980px) {
  .best-rehabs-redesign .cta-button {
    width: 38vw!important;
  }

  .wplp-best-rehabs {
    width: 85% !important;
  }
}


@media only screen and (min-width: 479px) and (max-width: 768px) {
  .best-rehabs-redesign .cta-button {
    width: 37vw!important;
  }

  .wplp-best-rehabs {
    width: 85% !important;
  }
}

@media only screen and (min-width: 479px) and (max-width: 604px) {
  .best-rehabs-redesign .cta-button {
    width: 35vw!important;
  }

  .wplp-best-rehabs {
    width: 85% !important;
  }
}

@media only screen and (max-width: 479px) {
  .best-rehabs-redesign .wplp-best-rehabs {
    padding: 1.5em 1.168em;
    width: calc(100% - 32px) !important;
  }

  .wplp-best-rehabs {
    padding: 0;
  }

  .best-rehabs-redesign .cta-button {
    width: 76vw!important;
    margin: 0 0 2em;
  }

  .best-rehabs-redesign ul.contact li .cta-button.fill {
    margin-bottom: 4em;
  }
}

@media only screen and (max-width: 325px) {
  .best-rehabs-redesign .cta-button {
    width: 73vw !important;
  }
}
