html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', Arial, sans-serif;
}

hr {
  margin: 1rem auto;
}

h1.state {
  color: #4a0e01;
  font-size: 1.5em;
  padding: 4px 0 0 55px;
  line-height: 32px;
  min-height: 32px;
  font-weight: 700;
  font-family: 'Lora', serif;
  margin: 20px 0 1rem 0;
  position: relative;
}

h1.state img {
  position: absolute;
  left: 0;
}

[type=color],
[type=date],
[type=datetime-local],
[type=datetime],
[type=email],
[type=month],
[type=number],
[type=password],
[type=search],
[type=tel],
[type=text],
[type=time],
[type=url],
[type=week],
textarea {
  border: 0;
}

.moreinfo {
  margin-left: 3em;
  margin-bottom: 1em;
}

.moreinfo .rMore {
  display: inline-block;
  font-weight: 700;
}

.moreinfo .acc+.rMore {
  margin-left: .5em;
}

.moreinfo .acc.acc-open+.rMore {
  margin-left: 0;
}

/*########## * Search Topper * ##########*/

.search-topper {
  padding: 1em;
  background: #4a0e01;
  border-bottom: 10px solid #f7f0d4;
}

.search-topper-box {
  background: rgba(255, 255, 255, 0.5);
  width: 100%
}

.search-topper-heading {
  background: #f8f8f8;
  width: 100%;
  color: #4a0e01;
  font-size: 1.125em;
  font-weight: 700;
  padding: .75rem 1rem;
}

.search-topper form {
  padding: 1em 0;
}

.search-topper #searchprac {
  margin-bottom: .35rem;
}

.search-topper input {
  margin-bottom: .6rem;
}

.search-topper input,
.search-topper .pracselection_ .selectize-input.full,
.search-topper .searchprac.certifications .selectize-input.full {
  background: #f8f8f8;
}

.bycity {
  margin-left: 0;
}

.disabled-select {
  background-image: url(../images/select-button.jpg);
  background-size: auto;
  background-position: right;
  padding-right: 0;
  border: 0px solid;
}

/*########## * Search Result US Map * ##########*/

.sr-us-map {
  margin: 0 auto;
  max-width: 600px;
}

.sr-us-map.selectbox {
  margin-top: 1em;
  margin-bottom: 1em;
}

/*########## * Browse * ##########*/

.browselist a,
.pa_list_title a {
  color: #4a0e01;
}

.browselist a:hover,
.pa_list_title>a:hover {
  color: #ff3003;
}

.browselist>div>div>ul>li>a {
  color: #4a0e01;
}

.browselist ul {
  padding-left: 20px;
  list-style: none;
}

.browselist li {
  margin-bottom: 4px;
  font-size: .9375em;
}

.browselist li:before {
  font-family: 'FontAwesome';
  content: '\f101';
  margin: 0 5px 0 -15px;
  font-size: .85em;
  position: relative;
  bottom: 1px;
}

.pa_list_title {
  font-size: 1.125em;
  font-weight: 700;
}

.browselist h3 {
  font-size: 1.125em;
  font-weight: 700;
}

.browse-title {
  font-family: 'Lora', serif;
  font-size: 1.5em;
  margin-top: 1.25em;
  font-weight: 700;
}

#top_snipb {
  color: #4A0e01;
  font-weight: 700;
}

#top_snipb:hover {
  color: #FF3003;
}

/*########## * Profile Card * ##########*/

.listing {
  margin-bottom: 1em;
  color: #4a0e01;
}

.listing.enhanced .attorney-name:after {
  content: 'ENHANCED PROFILE';
  margin-left: auto;
  font-weight: 400;
  font-size: .75rem;
  text-align: right;
}

.attorney-name {
  font-family: 'Lato', Arial, sans-serif;
  background: #4a0e01;
  color: #f7f0d4;
  border-radius: 4px;
  padding: 1.125rem 1em;
  font-size: 1.125em;
  font-weight: 700;
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 -.9375em .5em;
  transition: all .25s ease;
}

.namelink:hover {
  text-decoration: none;
}

.namelink:hover .attorney-name {
  background: #FF3003;
  padding-left: .75em;
}

.mobile-photo {
  margin-right: 1em;
}

.sl_firm_logo {
  max-width: 85px;
  margin-right: 1em;
}

.fn.org {
  font-weight: 700;
}

.info-grid .adr .street {
  line-height: normal
}

.desktop-num {
  color: #4a0e01;
  font-weight: 700;
}

.result-contact-btns {
  display: flex;
}

.card-btn {
  flex: 0 1 calc(95% / 3);
  border-radius: 3px;
  background: #4a0e01;
  color: #f7f0d4;
  padding: 1em;
  font-size: 0.75em;
  text-align: center;
  margin-top: .5rem;
  margin-bottom: .5rem;
  transition: .25s all ease;
  line-height: 1;
}

a.card-btn:hover,
a.card-btn:focus,
a.card-btn:active {
  background: #ff3003;
  color: #FFF;
}

.btn-icon {
  max-width: 15px;
  margin-right: 8px;
  margin-bottom: 2px;
}

.call-btn {
  color: #FFF;
  background: #ff3003;
}

a.call-btn:hover,
a.call-btn:focus,
a.call-btn:active {
  background: #4a0e01;
  color: #f7f0d4;
}

.tapto {
  display: none;
}

.listing .mobile-contact .result-contact-btns.grid-margin-x>.small-4 {
  width: calc(33.33333% - 0.625rem);
}

.listing .mobile-contact .result-contact-btns.grid-margin-x>.cell {
  margin-left: 0.3125rem;
  margin-right: 0.3125rem;
}

.listing-stars {
  margin-top: .5rem;
}

.listing-stars .total-reviews a {
  color: #4a0e01;
  font-family: 'Lato', Arial, sans-serif;
  font-style: normal;
  position: relative;
  bottom: 2px;
}

.listing-stars .fa.fa-star,
.listing-stars .fa.fa-star-o,
.listing-stars .fa.fa-star-half-o {
  font-size: 1.3125em;
}

.total-reviews {
  font-family: 'Lora', serif;
  font-style: italic;
}

.endbar {
  background: #f9f9f9;
  height: 15px;
  width: 100%;
  border-radius: 4px;
  margin-top: .5em;
}

.claimed-stars .listing-stars {
  margin-left: 35vw;
}

/*########## * Search Result Badges * ##########*/

.sr-badges {
  display: flex;
  padding: .5rem 0 0;
  position: relative;
}

.sr-badges .grid-x {
  width: 100%;
}

.sr-badges .grid-x hr {
  margin: .5rem auto;
}

.sr-badges .badge-container {
  flex: 1;
  margin-right: 10px;
  max-height: none;
  max-width: 60px;
  height: 100%;
}

.sr-badges .badge-container.board-certified {
  flex: 0 1 130px;
  position: relative;
  overflow: hidden;
}

.sr-badges .badge-container.board-certified img {
  position: absolute;
  top: -15%;
}

.sr-badges .badge-container.tbls,
.sr-badges .badge-container.msba {
  min-width: 75px;
  min-height: unset;
  display: flex;
  align-items: center;
  max-height: 50px;
}

.sr-badges .badge-container.msba {
  overflow: hidden;
}

/*########## * Sidebar Search * ##########*/

.search-sidebar #map_canvas {
  height: 345px;
  border: 1px solid #acacac;
  width: 100%;
  border-radius: 4px;
}

.input-wrapper.practices {
  position: relative;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  border: none;
  justify-content: flex-end;
}

.tabs label.tab {
  order: 1;
  display: block;
  padding: .75rem 1.5rem .25rem;
  margin-left: 0.25rem;
  margin-right: 0;
  cursor: pointer;
  background: #c2c1c1;
  color: #FFF;
  font-weight: bold;
  transition: background ease .25s;
  width: 48.5%;
  text-align: center;
}

.tabs .tab-content {
  order: 99;
  flex-grow: 1;
  width: 100%;
  display: none;
  background: #fff;
}

.tabs input[type="radio"] {
  display: none;
}

.tabs input[type="radio"]:checked+label {
  background: #fff;
  color: #4a0e01;
  border-bottom: 6px solid #4a0e01;
}

.tabs input[type="radio"]:checked+label+.tab-content {
  display: block;
}

@media (max-width: 45em) {
  .tabs .tab-content,
  .tabs label.tab {
    order: initial;
  }
  .tabs label.tab {
    margin-right: 0;
    margin-top: 0.2rem;
  }
}

.side-search input,
.side-search select {
  background-color: #f0eeee;
  border: 0px;
  outline: none;
  box-shadow: none;
  color: #4a0e01;
  font-weight: 700;
  border-radius: 4px;
  font-size: 1rem;
}

.side-search .button {
  margin: 0 auto;
  display: block;
  width: 50%;
}

.tab-content label {
  color: #4a0e01;
}

/*########## * Search Legal Issue DropDown * ##########*/

.searchprac {
  position: relative;
  z-index: 100;
  width: 100%;
}

.pracselection {
  overflow: hidden;
}

.searchprac .pracselection {
  height: 2.4375rem;
  padding: .5rem;
  background: #f0eeee;
  border: 0px;
  outline: none;
  box-shadow: none;
  color: #4a0e01;
  font-weight: 700;
  border-radius: 4px;
  position: relative;
}

.searchprac.open .pracselection {
  border-radius: 4px 4px 0 0;
}

.searchprac .pracselection:after {
  content: '\f0d7';
  font-family: FontAwesome;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  color: #f7f0d4;
  background: #4a0e01;
  width: 60px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.searchprac.open .pracselection:after {
  content: '\f0d8'
}

.pracfind.textfield {
  background: #FFF;
  margin-bottom: .25em;
}

.practicepop {
  display: none;
  position: absolute;
  width: 100%;
  top: 100%;
  left: 0;
  z-index: 300;
  background: #f0eeee;
  padding: .5em;
  border-radius: 0px 0px 4px 4px;
}

.searchprac.open .practicepop {
  display: block;
}

.practicepop ul {
  width: 100%;
  overflow: auto;
  max-height: 261px;
  list-style-type: none;
  position: relative;
  margin: 0;
  padding: 0;
}

.practicepop ul li {
  padding: 7px 0 7px 5px;
  white-space: nowrap;
  overflow: hidden;
  line-height: normal;
}

.practicepop .parent {
  font-weight: 700;
}

.practicepop .child {
  padding-left: 1em;
}

.practicepop ul li.nomatch {
  display: none;
}

/*########## * Search Pagination * ##########*/

.search-pagination-container {
  position: relative;
  background: #f9f9f9;
  color: #4a0e01;
  font-family: 'Lora', serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5em 1em;
  border-radius: 4px;
}

.search-pagination-container a {
  color: #4a0e01;
}

.search-pagination-container a:hover,
.search-pagination-container a:active,
.search-pagination-container a:focus {
  color: #ff3003;
}

.prev-page,
.next-page {
  flex: 0 1 15%;
}

.next-page {
  text-align: right
}

.search-pages {
  align-self: center;
  width: 100%;
}

.page-numbers {
  text-align: center;
  margin-top: .5em;
}

.page-num {
  padding: .4em .8em;
  margin: 0 .25em;
}

.page-num.current {
  background: #4a0e01;
  color: #f9f9f9;
  border-radius: 4px;
}

.search-showing {
  flex: 0 1 100%;
  text-align: center;
  margin: .5em 0;
  font-size: .875em;
}

/*########## * Mobile nav popups * ##########*/

#large_mapD,
#large_searchD {
  max-height: calc(100% - 62px);
  min-height: unset;
  top: 0 !important;
}

.full.reveal #large_map {
  height: 95%;
  margin: 2.5em 0 0;
}

#large_searchD #basic-search {
  margin-top: 2em;
}

/*Larger Phones*/

@media(min-width: 330px) {
  /*########## * Search Result Badges@330 * ##########*/
  .sr-badges .badge-container.tbls,
  .sr-badges .badge-container.msba {
    min-width: 90px;
    max-height: 65px;
  }
}

@media(min-width: 375px) {
  .card-btn {
    font-size: 0.8125em;
  }
  .result-contact-btns.desktop .call-btn {
    font-size: 1em;
  }
  /*########## * Search Result Badges@375 * ##########*/
  .sr-badges .badge-container.tbls,
  .sr-badges .badge-container.msba {
    min-width: 90px;
  }
  .claimed-stars .listing-stars {
    position: relative;
    top: -2em;
    margin-bottom: -1.5em;
  }
}

/*Larger Phones*/

@media(min-width: 500px) {
  .tapto {
    display: inline;
  }
  /*########## * Search Result Badges@500 * ##########*/
  .sr-badges .badge-container {
    max-height: 86px;
    max-width: 86px;
  }
  .sr-badges .badge-container.tbls,
  .sr-badges .badge-container.msba {
    min-width: 140px;
  }
  .claimed-stars .listing-stars {
    position: relative;
    top: -2.5em;
    margin-bottom: -2em;
  }
}

/*Small windows/horizontal phone*/

@media(min-width: 640px) {
  /*########## * Search Topper @640 * ##########*/
  .search-topper {
    padding: 1.875em;
  }
  .search-topper-heading {
    padding: 1.25em 2em;
  }
  .search-topper form {
    padding: 2em 0;
  }
  .search-topper input,
  .search-topp button {
    margin-bottom: 0;
  }
  .search-topper .input-wrapper {
    margin-right: .5em;
  }
  .search-topper #searchprac,
  .search-topper input {
    margin-bottom: 0;
  }
  .search-topper .dark_button {
    height: 39px;
    padding: 0 1em;
  }
  /*########## * Profile Card@640 * ##########*/
  .listing.enhanced .attorney-name:after {
    padding-right: 1em;
    font-size: .5em 1em;
  }
  .attorney-name {
    max-height: 50px;
    margin: 0 0 .5rem;
    padding: 1.125rem 0px;
  }
  .attorney-name:before {
    content: '';
    position: absolute;
    background: #4a0e01;
    top: 0;
    bottom: 0;
    left: -315px;
    margin: auto;
    height: 50px;
    width: 100%;
    z-index: -1;
    border-radius: 4px;
  }
  .desktop-photo {
    padding-right: 1em;
  }
  .desktop-photo .sr-portrait-frame {
    display: block;
  }
  .profile-btn {
    border-radius: 3px;
    background: #ff3003;
    color: #FFF;
    padding: 1em;
    text-align: center;
    margin: .5rem 0 .5rem 0;
    transition: .25s all ease;
    display: block;
    max-width: unset;
  }
  .info-grid {
    display: flex;
  }
  .button-photo-combo:hover {
    text-decoration: none;
  }
  .profile-btn:hover,
  .profile-btn:active,
  .profile-btn:focus,
  .button-photo-combo:active .profile-btn,
  .button-photo-combo:focus .profile-btn,
  .button-photo-combo:hover .profile-btn {
    background: #4a0e01;
    color: #f7f0d4;
    text-decoration: none;
    cursor: pointer;
  }
  .result-contact-btns.desktop {
    flex-wrap: wrap;
    justify-content: unset;
    align-items: center;
  }
  .result-contact-btns.desktop .card-btn {
    flex: 0 1 calc(57% / 3);
    font-weight: 400;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .result-contact-btns.desktop .call-btn {
    flex: 0 1 100%;
    margin-top: .25em;
    margin-bottom: 1em;
    background: #FFF;
    color: #4a0e01;
    padding: 0px;
    text-align: left;
    font-weight: 700;
    justify-self: flex-start;
    margin-bottom: 13px;
  }
  .result-contact-btns.desktop .call-btn .num {
    margin-right: auto;
  }
  .result-contact-btns.desktop .msg-btn {
    position: relative;
    margin-right: .5em;
    margin-left: .5em;
  }
  .result-contact-btns.desktop .msg-btn {
    position: relative;
  }
  .result-contact-btns.desktop .msg-btn,
  .result-contact-btns.desktop .site-btn,
  .result-contact-btns.desktop .profile-btn {
    font-size: 1.87vw;
    min-height: 48px;
  }
  .result-contact-btns.desktop .listing-stars {
    margin-left: 1em;
  }
  .stars {
    margin-bottom: .5em;
  }
  .stars .fa {
    font-size: 1.5em;
  }
  .goToReviews {
    color: #4a0e01;
    font-weight: 700;
    white-space: nowrap;
  }
  .goToReviews:hover,
  .goToReviews:active,
  .goToReviews:focus {
    color: #ff3003;
    text-decoration: underline;
  }
  .contact-info {
    padding-right: 1em;
  }
  .claimed-stars .listing-stars {
    top: unset;
    margin-bottom: unset;
    margin-left: 50%;
  }
  /*########## * Search Result Badges@640 * ##########*/
  .sr-badges {
    order: -1;
    padding-top: 0px;
  }
  .sr-badges .badge-container.tbls,
  .sr-badges .badge-container.msba {
    min-width: 125px;
  }
  /*########## * Browse@640 * ##########*/
  ul.statecert {
    columns: 2;
    column-gap: 48px;
  }
  /*########## * Search tabs@640 * ##########*/
  .side-search.tabs label.tab {
    width: unset;
  }
}

@media(max-width: 768px) {
  .show-for-tablet {
    display: none;
  }
}

/*small tablets/small window*/

@media(min-width: 768px) {
  /*########## * Profile Card@768 * ##########*/
  .desktop-photo {
    padding-right: 1em;
  }
  /*########## * Search Result Badges@768 * ##########*/
  .sr-badges .badge-container.tbls,
  .sr-badges .badge-container.msba {
    min-width: 140px;
  }
}

/*tablets/resized web browser*/

@media(min-width: 1024px) {
  /*########## * Profile Card@1024 * ##########*/
  .listings-container {
    position: relative;
  }
  .listings-container {
    padding-right: 2em;
  }
  .listings-container.no-sidebar {
    padding-right: 0;
  }
  .profile-items {
    padding-left: 0px;
  }
  .info-grid {
    padding-left: 0px;
  }
  .result-contact-btns {}
  .result-contact-btns.desktop .card-btn {
    font-size: 1em;
    flex: 0 1 calc(57% / 3);
  }
  .result-contact-btns.desktop .card-btn.profile-btn {
    width: 166px;
    flex: 0 1 166px;
  }
  .result-contact-btns.desktop .msg-btn,
  .result-contact-btns.desktop .site-btn,
  .result-contact-btns.desktop .profile-btn {
    font-size: 1.2vw;
  }
  .result-contact-btns.desktop .card-btn.call-btn {
    margin-bottom: 26px;
  }
  /*########## * Search Result Badges@1024 * ##########*/
  .sr-badges .badge-container {
    height: 95px;
    display: flex;
    align-items: center;
  }
  .sr-badges .badge-container.tbls,
  .sr-badges .badge-container.msba {
    min-width: 125px;
  }
  .sr-badges .badge-container.tbls .seal-tbls,
  .sr-badges .badge-container.msba .seal-msba {
    padding-right: 1rem;
  }
  .sr-badges .badgeHover {
    top: 68%;
    bottom: unset;
    z-index: 2;
  }
  .sr-badges .badge-container:hover .arrow {
    position: absolute;
    bottom: 8px;
    top: unset;
    margin-left: 3.75%;
    display: block;
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #cacaca;
    border-top: 0px;
  }
  .sr-badges .badge-container:hover .arrow:after {
    content: '';
    position: absolute;
    top: unset;
    bottom: -16px;
    left: -14px;
    margin: auto;
    display: block;
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 14px solid #FFF;
    border-top: 0px;
    z-index: 1;
  }
  /*########## * Search Pagination * ##########*/
  .search-pagination-container:before {
    content: '';
    position: absolute;
    background: #f9f9f9;
    top: 0;
    bottom: 0;
    left: -315px;
    margin: auto;
    width: 100%;
    z-index: -1;
    border-radius: 4px;
  }
  /*########## * Sidebar Search@1024 * ##########*/
  .sidebar-container {
    position: relative;
    padding-top: 1em;
  }
  .sidebar-container:before {
    content: '';
    position: absolute;
    height: 500px;
    width: 1px;
    background: #f2eeed;
    top: 16px;
    left: -16px;
    margin: auto;
  }
  .sidebar-container.sticky {
    position: fixed;
    top: 0px;
    margin-top: 1em;
    max-width: 32.4%;
  }
  .sidebar-container.sticky:before {
    position: fixed;
  }
  .cert-search-label {
    margin-left: -1rem;
  }
}

@media(min-width: 1100px) {
  /*########## * Search Result Badges@1100 * ##########*/
  .sr-badges .badge-container.tbls,
  .sr-badges .badge-container.msba {
    min-width: 140px;
  }
  .sr-badges .badge-container.tbls .seal-tbls,
  .sr-badges .badge-container.msba .seal-msba {
    padding-right: 0px;
  }
  .sr-badges .badge-container:hover .arrow {
    margin-left: 4.25%;
  }
}

/*desktop/large tablet*/

@media(min-width: 1200px) {
  .listing.enhanced .large-7.info.cell {
    width: 50%;
  }
  .listing.enhanced .grid-x>.reviews.large-5 {
    width: 50%;
  }
  .profile-items {
    padding-left: 0;
  }
  /*########## * Search Result Badges@1200 * ##########*/
  .sr-badges .badge-container:hover .arrow {
    margin-left: 4.75%;
  }
  /*.sr-badges {
height:104px;
}*/
  .sr-badges .grid-x hr {
    align-self: flex-end;
  }
  /*.sr-badges > .grid-x {
height:103px;
}*/
}

/*when card width wouls naturally exceed 400px*/

@media(min-width: 1328px) {
  /*########## * Profile Card@1328 * ##########*/
  .result-contact-btns.desktop .card-btn {
    font-size: 1rem;
  }
  /*########## * Search Result Badges@1328 * ##########*/
  .sr-badges .badge-container:hover .arrow {
    margin-left: 4.25%;
  }
  /*########## * Sidebar Search@1328 * ##########*/
  .sidebar-container.sticky {
    position: fixed;
    top: 0px;
    margin-top: 1em;
    max-width: 442px;
    width: 100%;
  }
}

.acc {
  display: none;
}