html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Roboto Condensed', 'Roboto Condensed Fallback', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  text-align: left;
  background-color: #fff;
}

@media (min-width:1200px) {
  .container-xxl {
    max-width: 1380px;
  }
}

/* Text Styling */

.material-icons {
  font-size: inherit;
}

.text-theme {
  font-family: 'Old Standard TT', serif;
}

.text-theme-2 {
  font-family: 'Roboto Condensed', 'Roboto Condensed Fallback', sans-serif;
}

.lh-sm {
  line-height: 1.35 !important;
}

.text-black {
  color: #000;
}

.text-lt-blue {
  color: #16ffff;
}

.text-pink {
  color: #ffa5d6;
}

.text-lt-purple {
  color: #edceff;
}

a:hover {
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  a.text-warning:focus, a.text-warning:hover {
    color: #ffd600!important;
  }
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  line-height: 1.35;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

p {
  font-size: 18px;
  color: #fff;
  font-weight: 300;
  text-shadow: .5px .5px 3px rgba(0,0,0,0.5);
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

@media (min-width: 1200px) {
  p {
    font-size: 19px;
  }
}

.no-hyphens {
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

.text-shadow {
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.shadow-none {
  text-shadow: none !important;
}

.p-small {
  font-size: 16px;
}

@media (min-width: 992px) {
  .p-small {
    font-size: 18px;
  }
}

.fs-2 {
  font-size: calc(21px + 1vw) !important;
  line-height: 1.3;
}

@media (min-width: 1200px) {
  .fs-2 {
    font-size: 33px !important;
  }
}

.heading-text {
  font-size: calc(18px + 2vw);
  line-height: 1.3;
}

@media (min-width: 1200px) {
  .heading-text {
    font-size: 42px;
  }
}

h1, .h1 {
  font-family: 'Old Standard TT', serif;
  color: #fff;
  font-weight: 700;
  font-size: calc(12px + 3vw);
}

@media (min-width: 1200px) {
  h1, .h1 {
    font-size: 48px;
  }
}

h2, .h2 {
  font-family: 'Old Standard TT', serif;
  color: #fff;
  font-weight: 700;
  font-size: calc(21px + 1vw);
}

@media (min-width: 992px) {
  h2, .h2 {
    font-size: 31px;
  }
}

h3, .h3 {
  font-family: 'Old Standard TT', serif;
  font-size: 20px;
  font-size: calc(1.3rem + .6vw);
  color: #fff;
  font-weight: 700;
}

@media (min-width: 992px) {
  h3, .h3 {
    font-size: 27px;
  }
}

h4, .h4 {
  font-family: 'Old Standard TT', serif;
  color: #16ffff;
  font-weight: 700;
  font-size: 20px;
}

@media (min-width: 768px) {
  h4, .h4 {
    font-size: 24px;
  }
}

@media (min-width: 992px) {
  h4, .h4 {
    font-size: 25px;
  }
}

h5, .h5 {
  font-size: 18px;
}

@media (min-width: 768px) {
  h5, .h5 {
    font-size: 20px;
  }
}

.quote-text {
  font-family: 'Old Standard TT', serif;
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  text-shadow: none;
  color: #300f43;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .quote-text {
    font-size: 25px;
  }
}

/* Background colors */

.bg-pur1 {
  background-color: #be8adc;
}

.bg-pur2 {
  background-color: #9641b9;
}

.bg-pur3 {
  background-color: #7d3296;
}

.bg-pur4 {
  background-color: #42165c;
}

.bg-heading {
  background: #7d3296;
  background: -webkit-linear-gradient(top, #8638a4 0%,#9641b9 100%);
  background: linear-gradient(to bottom, #7d3296 0%,#9641b9 100%);
}

/* Button Styling */

.btn-responsive {
  padding: 8px 15px !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
}

@media (min-width: 576px) {
  .btn-responsive {
    font-size: 20px !important;
  }
}

@media (min-width: 992px) {
  .btn-responsive {
    padding: 8px 20px !important;
    font-size: 24px !important;
    line-height: 1.3 !important;
  }
}

.form-submit-btn {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
  border: none;
}

@media (min-width: 768px) {
  .form-submit-btn {
    font-size: 28px;
  }
}

@media (min-width: 992px) {
  .form-submit-btn {
    font-size: 34px;
  }
}

.form-submit-btn .click-icon {
  font-size: 28px;
  top: -2px;
}

.btn-info {
  border: none;
  box-shadow: none;
  line-height: 1.3;
}

.btn-info.focus, .btn-info:focus {
  box-shadow: none;
  border: none;
}

.btn-info:not(:disabled):not(.disabled).active, .btn-info:not(:disabled):not(.disabled):active, .show > .btn-info.dropdown-toggle {
  box-shadow: none;
  border: none;
}

.btn-info:not(:disabled):not(.disabled).active:focus, .btn-info:not(:disabled):not(.disabled):active:focus, .show > .btn-info.dropdown-toggle:focus {
  box-shadow: none;
  border: none;
}

/* 1. Mobile/Touch Devices Only: Lock down states so tapping doesn't stick */

@media (hover: none) {
  .btn-info:not(:disabled):not(.disabled):hover, .btn-info:not(:disabled):not(.disabled):focus, .btn-info:not(:disabled):not(.disabled):active {
    background-color: #17a2b8;
    border-color: #17a2b8;
    box-shadow: none;
  }
}

/* 2. Desktop/Mouse Devices: Standard hover and click feedback */

@media (hover: hover) and (pointer: fine) {
  .btn-info:hover {
    background-color: #138496;
    border-color: #117a8b;
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn-info:active, .btn-info:not(:disabled):not(.disabled):active {
    background-color: #117a8b;
    border-color: #10707f;
  }
}

/* Header Styling */

.header-bg {
  background: #a55ac3;
}

@media (max-width: 575.9px) {
  .header-wrapper {
    max-width: 310px;
  }
}

.header-copy h1 {
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5), 0px 0px 2px rgba(0,0,0,0.5);
  font-size: 26px;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .header-copy h1 {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5), 0px 0px 5px rgba(0,0,0,0.5);
    font-size: 30px;
  }
}

@media (min-width: 1200px) {
  .header-copy h1 {
    font-size: 38px;
  }
}

@media (min-width: 992px) {
  .header-copy {
    position: absolute;
    z-index: 999;
    width: 930px;
  }
}

@media (min-width: 1200px) {
  .header-copy {
    width: 1140px;
  }
}

@media (max-width: 1199px) {
  .header-copy .img-fluid {
    width: 270px;
  }
}

.header-copy .material-icons {
  font-size: 19px;
}

@media (min-width: 992px) {
  .header-copy .material-icons {
    font-size: 24px;
  }
}

.header-copy .mobilefonts {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7), 0px 0px 2px rgba(0,0,0,0.7);
}

@media (min-width: 992px) {
  .header-copy .mobilefonts {
    font-size: 22px !important;
  }
}

/* Issues List Styling */

.issues li {
  line-height: 1.4;
  margin-bottom: 5px;
}

.issues li {
  font-size: 16px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

@media (min-width: 992px) {
  .issues li {
    font-size: 18px;
  }
}

@media (min-width: 576px) {
  .issue-col {
    column-count: 2;
    column-gap: 40px;
  }
}

@media (min-width: 768px) {
  .issue-col {
    column-count: 2;
    column-gap: 65px;
    margin-left: 50px;
  }
}

@media (min-width: 992px) {
  .issue-col {
    column-count: 3;
    column-gap: 30px;
  }
}

@media (min-width: 1200px) {
  .issue-col {
    column-count: 3;
    column-gap: 70px;
    margin-left: 60px;
  }
}

/* Virtual Tele-Health Styling */

.virtual li {
  line-height: 1.4;
  margin-bottom: 10px;
}

.virtual li {
  font-size: 18px;
}

.virtual-wrapper {
  background: #16ffff;
}

.virtual-wrapper, .virtual-wrapper p {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: inherit;
}

@media (min-width: 576px) {
  .virtual-wrapper, .virtual-wrapper p {
    font-size: 19px;
  }
}

@media (min-width: 992px) {
  .virtual-wrapper, .virtual-wrapper p {
    font-size: 22px;
  }
}

.virtual-wrapper .touch-icon {
  margin-top: -7px;
}

.virtual-wrapper .click-icon {
  position: relative;
  font-size: 18px;
  top: -2px;
}

.virtual-wrapper .close {
  position: absolute;
  right: 0;
  padding: 0px 7px 0px 8px;
  z-index: 999;
  font-size: 30px;
}

.virtual-wrapper a {
  color: #fff !important;
  transition: all .3s;
}

@media (hover: hover) and (pointer: fine) {
  .virtual-wrapper a:hover {
    text-shadow: none;
    color: #ffd600 !important;
  }
}

/* New Location Styling */

.newlocation-wrapper {
  position: relative;
  background: #7fffff;
}

.newlocation-wrapper .moved {
  text-shadow: none;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: #300f43;
}

.newlocation-wrapper .address {
  text-shadow: none;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: #300f43;
}

@media (min-width: 768px) {
  .newlocation-wrapper .address {
    font-size: 26px;
  }
}

.newlocation-wrapper .close {
  position: absolute;
  top: 0px;
  right: 0px;
  padding: 0px 7px 0px 8px;
  font-size: 30px;
  z-index: 1000;
}

/* Explore Our Services Buttons */

#servicesButtons .card {
  background-color: #42165c;
  border: 1px solid rgba(0,0,0,.125);
  border-radius: .25rem;
}

#servicesButtons .card img {
  border-radius: 3px;
}

#servicesButtons .card-body {
  padding: 10px;
}

@media (min-width: 576px) {
  #servicesButtons .card-body {
    padding: 20px;
  }
}

#servicesButtons .card-header {
  padding: 10px 5px 8px 5px;
}

#servicesButtons .card-header h3 {
  font-family: 'Roboto Condensed', 'Roboto Condensed Fallback', sans-serif;
  font-weight: 400;
  color: #edceff;
  text-shadow: 0px 0px 3px rgba(0,0,0,0.7) !important;
  font-size: calc(12px + 1vw);
  line-height: 1.4;
  text-decoration: none;
}

@media (min-width: 768px) {
  #servicesButtons .card-header h3 {
    font-size: 22px;
    text-shadow: .5px 0px 3px #4f2465;
  }
}

#servicesButtons .card-cover {
  background-color: transparent;
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: all .3s;
  z-index: 999;
}

#servicesButtons .card-cover:hover {
  opacity: 1;
}

#servicesButtons a:hover {
  text-decoration: none;
}

/* Publications Accordion */

#accordionPub .card-header {
  padding: 0;
}

#accordionPub .card {
  background-color: #8638a4;
  margin-bottom: 8px;
}

#accordionPub .card-header h5 {
  font-size: 20px;
}

#accordionPub small {
  display: inline-block;
  font-weight: 300;
  font-size: 100%;
  line-height: 1.4;
  color: rgba(255,255,255,.85);
  text-shadow: .5px .5px 1px rgba(0,0,0,0.5);
}

#accordionPub .articlename-text {
  font-style: italic;
  display: inline-block;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.4;
  color: rgba(255,255,255,.85);
  text-shadow: .5px .5px 1px rgba(0,0,0,0.5);
}

/* Base style */

#accordionPub .panel-heading .panel-title > a {
  display: block;
  padding: 10px 15px;
  word-wrap: break-word;
  border-radius: 4px;
  transition: all .3s;
  color: #edceff;
}

/* Closed state - Reset color even when focused after closing */

#accordionPub .panel-heading .panel-title > a[aria-expanded="false"], #accordionPub .panel-heading .panel-title > a[aria-expanded="false"]:focus {
  background-color: #8638a4;
  color: #edceff;
}

/* Hover state */

#accordionPub .panel-heading .panel-title > a:hover {
  background-color: #7d3296;
  color: var(--warning);
  text-decoration: none;
}

/* Open/Expanded state - Stays styled while open */

#accordionPub .panel-heading .panel-title > a[aria-expanded="true"] {
  background-color: #7d3296;
  color: var(--warning);
}

/* Our Team Styling */

#psychstaff {
  text-align: left;
}

.team-title {
  font-size: 20px;
}

.fas.fa-transgender-alt.text-pink {
  font-size: 14px;
}

.team-border:before {
  content: "";
  display: block;
  margin: 0 auto;
  width: 100%;
  padding-bottom: 25px;
  border-top: solid 1px rgba(0,0,0,0.4);
}

.badge {
  display: inline-block;
  padding: 6px 5px 4px 5px;
  vertical-align: middle;
  min-width: 30px;
  text-shadow: 0px 0px 3px #000, .5px .5px 1px #000;
}

@media (min-width: 576px) {
  .team-span {
    position: relative;
    top: -2px;
  }
}

/* Intake Form */

.intake-form {
  min-height: 100vh;
}

.bg-intake-form {
  background: #9641b9;
}

.back-but {
  position: absolute;
  right: 20px;
  margin-top: -60px;
}

/* Towns Styling */

#towns p {
  font-family: 'Old Standard TT', serif;
  line-height: 1.4;
  font-size: 18px;
  font-weight: 700;
}

@media (min-width: 576px) {
  #towns p {
    font-size: 20px;
  }
}

/* Town List Styling */

@media (min-width: 768px) {
  #towns p {
    font-size: 20px;
  }
}

#towns ul {
  padding-left: 0px !important;
}

#towns li {
  margin-bottom: 6px;
  line-height: 1.3;
  font-size: 18px;
}

@media (min-width: 1200px) {
  #towns li {
    font-size: 20px;
  }
}

#towns .list-towns {
  margin-left: calc(-66px + 29vw);
  column-count: 2;
  column-gap: 40px;
  line-height: 1.2;
}

@media (min-width: 576px) {
  #towns .list-towns {
    margin-left: 34px;
    column-count: 3;
  }
}

@media (min-width: 768px) {
  #towns .list-towns {
    margin-left: 76px;
  }
}

@media (min-width: 992px) {
  #towns .list-towns {
    margin-left: 100px;
  }
}

@media (min-width: 992px) {
  #towns .list-towns {
    column-count: 4;
  }
}

/* Misc Styling */

hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid rgba(0,0,0,.4);
}

@media (min-width: 992px) {
  .v-rule-right {
    border-right: 1px solid rgba(0,0,0,.4);
  }
}

.table-hours {
  max-width: 250px;
  margin: 0 auto;
}

.s-margin {
  scroll-margin-top: 90px;
}

@media (min-width: 992px) {
  .s-margin {
    scroll-margin-top: 55px;
  }
}

.svg-drop-shadow {
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, .7));
}

.flip-x {
  transform: scaleX(-1);
}

.click-icon {
  position: relative;
  font-size: 18px;
  top: -2px;
}

.touch-icon {
  margin-top: -7px;
}

.insurance-images {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .insurance-images:hover {
    transform: scale(1.03) translateZ(0);
  }
}

.insurance-text {
  isolation: isolate;
  transform: translateZ(0);
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.3));
}

.googlehoverlink {
  opacity: 1;
  transition: all .3s;
}

@media (hover: hover) and (pointer: fine) {
  .googlehoverlink:hover {
    opacity: .8;
  }
}

.google-link {
  width: 24px;
  height: auto;
}

@media (min-width: 576px) {
  .google-link {
    width: clamp(30px, 4vw, 48px);
    height: auto;
  }
}

.psych-today {
  opacity: .8;
  transition: all .3s;
}

@media (hover: hover) and (pointer: fine) {
  .psych-today:hover {
    opacity: 1;
    transition: all .3s;
  }
}

.photo-gallery .item {
  padding-bottom: 30px;
}

.photo-gallery .photos {
  padding-bottom: 20px;
}

.alert {
  padding: 8px 13px;
  line-height: 1.2;
}

.alert-success, .alert-info {
  color: #4f2465;
  background-color: #edceff;
  font-size: 20px;
  border: none;
  transition: all .3s ease-in-out !important;
}

.my-alert .material-icons {
  position: relative;
  font-size: 24px;
  line-height: 15px;
  bottom: -2px;
}

.alert-link {
  color: #4f2465 !important;
  font-size: 20px;
  line-height: 1.2 !important;
}

@media (hover: hover) and (pointer: fine) {
  .alert-info:hover {
    background-color: #bdffff;
  }
}

/* BTop Button */

#btop-but:before {
  position: absolute;
  content: "";
  background: #000;
  width: 38px;
  height: 38px;
  top: 3px;
  left: 1px;
  border-radius: 4px;
  z-index: -1;
  box-shadow: 0 0 5px 2px rgba(0,0,0,0.5);
}

#btop-but {
  position: fixed;
  bottom: -4px;
  right: 7px;
  font-size: 40px;
  line-height: 38px;
  height: 54px;
  z-index: 9999;
  text-shadow: none;
  opacity: .8 !important;
  transition: all .3s;
}

#btop-but a {
  color: #edceff !important;
}

/* 2. Hover styles - EXCLUSIVELY for desktop/mouse users */

@media (hover: hover) and (pointer: fine) {
  #btop-but:hover {
    opacity: 1 !important;
  }
}

body.modal-open #btop-but {
  display: none !important;
}

