    @media only screen and (max-width: 600px) {
.thg-theme h1 {
    font-size: 35px !important;
   
}
.thg-theme h2 {
    font-size: 28px !important;
}
.thg-theme h3 {
    font-size: 24px !important;
}
.thg-theme h4 {
    font-size: 20px !important;
}
.thg-theme p {
    font-size: 16px;
    color: #A7A8AA;
    letter-spacing: 1.1px;
    line-height: 1.6em;
}
.thg-theme h1, .thg-theme h2, .thg-theme h3, .thg-theme h4, .thg-theme h5, .thg-theme h6, .thg-theme h6, {
     font-family: 'Bitter', serif;
    line-height: 1em;
    font-weight: 400;
   letter-spacing: 1.1px;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}
section#locations-intro-content .icon.mb-3 {
    margin: -5px 115px !important;
}
 .thg-theme .mobile-center {
    display: flex;
    align-items: center;
    flex-direction: column;
}
ul#menu-top-header-left a {
    text-decoration: underline;
}
section#footer-cta h2 {
    font-size: 50px !important;
}

section#footer-cta a.btn.bg-warning-cta {
    font-size: 16px !important;
}
}
/* end of mobile */ 
.thg-theme .footer__social-media-icons {
    display: flex;
    align-content: space-between;
}
a.footer__social-media-icon {
    padding: 0px 10px;
    font-size: 22px;
    color: #7D838B;
}

li#menu-item-291 .dropdown-menu a, li#menu-item-306  .dropdown-menu a, li#menu-item-294 .dropdown-menu a, li#menu-item-310 .dropdown-menu a {
    font-weight: 300;
    flex-direction: column;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: .5px;
    color: #2C3D5B !important;
    margin-bottom: 20px;
    cursor: pointer;
    margin: 0;
    text-transform: none !important;
}
li#menu-item-291 ul.dropdown-menu.show, li#menu-item-306  ul.dropdown-menu.show,li#menu-item-294 ul.dropdown-menu.show, li#menu-item-310 ul.dropdown-menu.show {
    display: block;
    column-count: 1 !important;
    margin-bottom: 45px !important;
    margin-top: -50px !important;
}
@media screen and (min-width: 768px) { 
  .thg-theme span.navbar-toggler-icon.mobile.mt-2 {
display: none !Important;
}
}
.background-radius {
    background: #8f94991f !important;
    border-radius: 20px;
    margin-right: 0px;
    border: 5px solid #fff;
}
.thg-theme span.navbar-toggler-icon.mt-2 {
        font-size: 22px;
    margin-bottom: 8px;
    margin-left: 10px;
}

.thg-theme i.fa.fa-long-arrow-down {
    position: absolute;
    right: -20px;
}

.thg-theme button.btn-close.text-reset {
    font-size: 25px;
    position: absolute;
    right: 35px;
    top: 110px;
}
.main-color {
    color: #77E69D !important;
    height: 3px !important;
}

.thg-theme h6.offcanvas-h6.text-center {
    font-weight: 500;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    width: 260px;
    text-align: center;
    color: #5d1626;
    font-size: 13px;
    margin-top: -15px;
}

li#menu-item-291 .dropdown-menu, li#menu-item-306 .dropdown-menu, li#menu-item-294 .dropdown-menu, li#menu-item-310 .dropdown-menu {
   font-weight: 500;
   margin-top: 17px !important;
    box-shadow: 0 20px 30px -8px rgb(0 0 0 / 0%);
    z-index: 1;
    transition: all .3s ease-in-out;
    padding: 0px;
    padding-left: 10px !important;
    transition: visibility 25ms;
    min-width: 225px !important;
    background: #fff;
    box-shadow: 0;
    position: relative !important;
    display: none;
}
ul#menu {
    background: #fff !important;
}

.thg-theme ul#menu-sidebarmenu2 li {
    font-weight: 600;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: .5px;
    color: #2C3D5B !important;
    text-decoration: none;
}


.thg-theme ul#menu-sidebarmenu2 {
    font-weight: 600;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: .8px;
    color: #2C3D5B;
    text-decoration: none;
    margin: 20px 0;
    cursor: pointer;
    padding-left: 0;
list-style: none;
}
div#offcanvasRight {
    padding: 55px 15px;
}


#patient-experiences-home a.btn.btn-primary, #patient-experiences a.btn.btn-primary, #review-section  a.btn.btn-primary {
    background: #8f94991a !important;
    box-shadow: none!important;
    padding: 10px 40px 10px 40px;
    margin-top: 35px;
    font-size: 16px;
    color: #0D1A3A !important;
    letter-spacing: 2px !important;
}

.card.bg-transparent.mt-lg-0.border.rounded-3.h-100.special:hover {
    background: #fff !important;
}
section#locations-intro-content a.btn.btn-appt:hover {
    background: #44EA96 !important;   
color: #fff !important;
}
section#locations-intro-content a {
    color: #fff;
}
.review-rating {
    color: #89E9AD;
    font-size: 30px;
    letter-spacing: 3.1px;
}

.testimonial-desc {
    font-size: 16px;
    color: #A7A8AA;
    letter-spacing: 1.1px;
    font-family: 'DM Sans',Helvetica,Arial,Lucida,sans-serif;
}
p.category.text-primary {
    color: #89E9AD !important;
    font-size: 20px;
    letter-spacing: 1.1px;
}
nav#footermenu a {
    color: #7D838B;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
}
.thg-theme section#conditions-archive-content h2.card-title, section#procedures-archive-content h3.card-title {
    font-size: 25px;
    text-transform: uppercase;
}
section#team-template h3 {
    font-size: 24px;
    color: #101A38;
    font-weight: 500;
    letter-spacing: 1.1px;
}
section#conditions-archive-content .card.card-plain, section#procedures-archive-content .card.card-plain {
    background: #8f94991f !important;
    border-radius: 20px;
height: 100%;
}
section#conditions-archive-content h2.card-title a, section#procedures-archive-content h3.card-title a{
    color: #0D1A3A !important;
    letter-spacing: 2px !important;
}

section#conditions-archive-content a.btn.btn-primary, section#procedures-archive-content a.btn.btn-primary{
    background: #8f94991a !important;
    box-shadow: none!important;
    padding: 10px 40px 10px 40px;
    margin-top: 35px;
    font-size: 16px;
    color: #0D1A3A !important;
    letter-spacing: 2px !important;
}
#team-template img {
    border-radius: 20px !important;
    box-shadow: rgb(0 0 0 / 16%) 0px 3px 6px, rgb(0 0 0 / 23%) 0px 3px 6px !important;
}
.text-underline-gray {
    font-size: 18px;
    color: #A7A8AA;
    letter-spacing: 1.1px;
    text-decoration: underline;
}
div#block-4 p {
    font-size: 16px;
}
footer.footer.pt-9 h3 {
    font-size: 24px;
}
.text-blue {
color: #4678F5 !important;
}
.thg-theme .footer li {
    padding: 0 0 1.5rem 0;
}
ul#menu-procedures-menu > li > a, ul#menu-for-patients-menu > li > a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: #7D838B;
font-weight: 600;
    padding-bottom: 10px !important;
}
.thg-theme ul#menu-procedures-menu, .thg-theme  ul#menu-for-patients-menu {
    list-style-type: none;
    margin: 0;
padding: 0;
}
div#block-17  a.btn.btn-primary {   
background: linear-gradient(306deg, rgba(132,208,250,1) 16%, rgba(119,230,157,1) 78%) !important;
    box-shadow: none!important;
    padding: 10px 40px 10px 40px;
    margin-top: 15px;
    font-size: 14px;
    color: #fff !important;
}
div#block-17 img {
    border-radius: 20px !important;
    box-shadow: rgb(0 0 0 / 16%) 0px 3px 6px, rgb(0 0 0 / 23%) 0px 3px 6px !important;
}

.profile-photo > a > img {
    border-radius: 20px !important;
    box-shadow: rgb(0 0 0 / 16%) 0px 3px 6px, rgb(0 0 0 / 23%) 0px 3px 6px !important;
}

#author-bio-box {
   background-color: #F9F9F9 !important;
    border-radius: 30px !important;
}
section#conditions-content h2, section#procedures-content h2, section#page-content h2 {
    font-size: 32px;
    letter-spacing: 1.1px;
    margin-bottom: 25px;
}
section#conditions-content .col-lg-3.col-12, section#procedures-content .col-lg-3.col-12, section#page-content .col-lg-3.col-12{
    border-left: 2px solid #EDEDEE;
}

div#table-of-contents > ul > li a {
    color: #3967ebc9 !important;
    font-size: 17px !important;
    letter-spacing: 1.1px;
    font-weight: 600;
}

div#global-page-title {
    background: linear-gradient(261deg, rgba(211,79,93,1) 0%, rgba(57,103,235,1) 100%);
}

.thg-theme #breadcrumb-nav {
    text-transform: none !important;
    letter-spacing: 0.4px;
    color: #fff !important;
}
.thg-theme #breadcrumb-nav a {
color: #fff !important;
}
section#locations-intro-content .icon.mb-3 {
    background: #ffffff1f !important;
    border-radius: 60px;
    margin: -25px 132px;
    padding: 1em;
}
section#locations-intro-content h2 {
    letter-spacing: 2px;
    font-size: 28px !important;
}
section#locations-intro-content p {
    letter-spacing: 2px;
    font-size: 16px !important;
}
.card.bg-transparent.mt-lg-0.border.rounded-3.h-100 {
    background: linear-gradient(86deg, rgb(100 151 206 / 35%) 0%, rgb(95 126 217 / 63%) 100%);
    border: 2px solid #fff !important;
    border-radius: 25px !important;
}
.alignright,
.alignright { 
float: right;
margin-bottom: 15px;
margin-left: 15px;
}
.alignleft,
.alignleft{ 
float: left;
margin-bottom: 5px;
margin-right: 15px;
}
section#locations-intro-content {
    background: linear-gradient(86deg, rgba(108,174,245,1) 0%, rgba(57,103,235,1) 100%);
}
a.btn.btn-treatments {
    font-size: 17px;
    background: #fff0 !important;
    color: #ffffff !important;
    border-radius: 30px;
    border: 1px solid #fff !important;
    padding: 10px 30px;
margin-left: 5px;
}


a.btn.btn-appt {
    font-size: 17px;
    background: #fff !important;
    color: #0D1A3A !important;
    border-radius: 30px;
margin-right: 5px;
}

section#our-specialists .card.card-profile .card-avatar .img {
    margin-top: 0 !important;
    border-radius: 30px 30px 0px 0px !important;
    width: auto;
}
section#our-specialists p.card-description {
  display: none !important;
}
section#our-specialists h6 { 
 color: #A7A8AA !important;
 text-transform: uppercase;
font-size: 15px !important;
padding: 10px 0px 10px 0px;
letter-spacing: 2px;
}
section#our-specialists  a.btn.btn-primary:hover {
background-color: #2C65F4 !important;
}

section#our-specialists  a.btn.btn-primary, #educational-media a.btn.btn-primary {
  background: linear-gradient(306deg, rgba(132,208,250,1) 16%, rgba(119,230,157,1) 78%) !important;
    box-shadow: none!important;
    padding: 10px 40px 10px 40px;
    margin-top: 15px;
     font-size: 14px;
    color: #fff !important;
}
section#our-specialists h2.card-title {
margin: 25px 0px;
}
section#our-specialists h2.card-title a { 
color: #0D1A3A !important;
}

section#footer-cta h2 {
    font-size: 60px;
}
section#footer-cta a.btn.bg-warning-cta:hover {
background: #2C65F4 !important;
color: #fff  !important;
}

section#footer-cta a.btn.bg-warning-cta {
    font-size: 25px;
    background: #fff !important;
    color: #0D1A3A !important;
    border-radius: 30px;
}

section#footer-cta {
  background-image: url(https://www.advancedpainsolutions.com/wp-content/uploads/2022/07/Mask-Group-4.png), linear-gradient(333deg, rgba(132,208,250,1) 16%, rgba(119,230,157,1) 78%);
  background-repeat: no-repeat;
  background-size: cover;
 background-position: center center;
}

section#about-advanced h4 {
    color: #4678F5;
}

.thg-theme #our-care .nav.nav-pills .nav-link.active {
background-color: #6cd2ff !important;
color: #fff !Important;
}
a#procedures-tab, a#locations-tab {
    padding: 12px 40px 14px 40px;
    border-radius: 30px;
    background: #8f94991f !important;
    font-size: 16px !important;
     color: #8f949982 !important;
 letter-spacing: 2px !important;
text-transform: uppercase;
}
section#our-care h3.card-title a, section#our-care  h2.card-title a {
    color: #0D1A3A !important;
 letter-spacing: 2px !important;
}
section#our-care .card.h-100.text-center {
    background: #8f94991f !important;
    border-radius: 20px;
}
section#our-care a.btn.btn-primary {
    background: #8f94991a !important;
    box-shadow: none!important;
    padding: 10px 40px 10px 40px;
    margin-top: 35px;
     font-size: 16px;
    color: #0D1A3A !important;
 letter-spacing: 2px !important;
}
section#our-care a.btn.btn-primary:hover {
background: linear-gradient(306deg, rgba(132,208,250,1) 16%, rgba(119,230,157,1) 78%) !important;
color: #fff !important;
}
.card.card-background.mt-lg-0.mt-5.align-middle {
    border-radius: 30px;
}
a.btn.btn-outline-white.btn-lg.bg-transparent.mt-3.text-uppercase.text-center:hover, a.btn.btn-outline-white.btn-lg.bg-transparent.mt-3.text-uppercase:hover {
    background-color: hsla(150, 80%, 59%, 1) !important;
}
.card.card-background:after {
border-radius: 2rem !important;
background: rgb(0 0 0 / 0%) !important;
}
section#home-hero{
  background-image: url('https://www.advancedpainsolutions.com/wp-content/uploads/2022/08/3-scaled.jpg'), linear-gradient(333deg, rgba(132,208,250,1) 16%, rgba(119,230,157,1) 78%);
  background-repeat: no-repeat;
  background-size: cover;
}
nav#topheader, nav#mainheader, nav#bottomheader, .thg-theme a  {
 font-family: 'DM Sans',Helvetica,Arial,Lucida,sans-serif;
}

nav#bottomheader a, nav#mainheader a {
    font-size: 16px !important;
    letter-spacing: 1.1px;
    color: #96979A;
}
nav#topheader a {
    font-size: 12px !important;
    letter-spacing: 1.1px;
text-align: center;
}
a.navbar-brand img {
    width: 260px;
}
.navbar.bg-white:not(.navbar-transparent) .nav-item.active .nav-link:not(.btn), .navbar.bg-white:not(.navbar-transparent) .nav-item .nav-link:not(.btn):focus, .navbar.bg-white:not(.navbar-transparent) .nav-item .nav-link:not(.btn):hover, .navbar.bg-white:not(.navbar-transparent) .nav-item .nav-link:not(.btn):active {
    background-color: rgb(255 255 255 / 0%) !important;
}
ul#menu-bottom-menu > li > a {
    color: #888888 !important;
    font-size: 14px;
}

ul#menu-main-menu > li > a {
    font-size: 14px;
    text-transform: uppercase;
}
/* appt button */
li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-228.nav-item.nav-item.dropdown-hover.mx-1 {
     background: linear-gradient(306deg, rgba(132,208,250,1) 16%, rgba(119,230,157,1) 78%) !important;
    padding: 2px 20px 2px 20px;
    border-radius: 20px;
    
}
li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-228.nav-item.nav-item.dropdown-hover.mx-1 a {
color: #fff !important;
}
/* Ky Top button */
.thg-theme li#menu-item-336 {
    background: #F4A44D;
    padding: 2px 20px 2px 20px;
    border-radius: 20px;
color: #fff !important;
}
.thg-theme li#menu-item-336 a:hover {
     background: #F4A44D !important;
}

/* portal button */
.thg-theme li#menu-item-192 {
    background: #ffffff29;
     padding: 2px 20px 2px 20px;
    border-radius: 20px;
}
.thg-theme li#menu-item-192 a:hover {
     background: #f4a44d00 !important;
}
.thg-theme .navbar {
margin-bottom: 0px !important;
}

.thg-theme section#our-care h3.card-title, .thg-theme section#our-care h2.card-title {
    font-size: 25px;

text-transform: uppercase;
}
.card.card-background:after {
border-radius: 0 !important;
}

.py-special {
    padding-top: 11rem!important;
    padding-bottom: 10.7rem!important;
}

.py-custom {
    padding-top: 13rem!important;
    padding-bottom: 12.3rem!important;
}



.thg-theme h1 {
    font-size: 60px;
}
.thg-theme h2 {
    font-size: 45px;
    line-height: 1em;
    font-weight: 500;
color: #0D1A3A;
}
.thg-theme h3 {
    font-size: 32px;
}
.thg-theme h4 {
    font-size: 24px;
}
.thg-theme p {
    font-size: 16px;
    color: #A7A8AA;
    letter-spacing: 1.1px;
}
.thg-theme h1, .thg-theme h2, .thg-theme h3, .thg-theme h4, .thg-theme h5, .thg-theme h6, .thg-theme h6 {
     font-family: 'Bitter', serif;
    line-height: 1.3em;
    font-weight: 400;
   letter-spacing: 1.1px;
}

.thg-theme body, .thg-theme input, .thg-theme textarea, .thg-theme select, .thg-theme p {
    font-family: 'DM Sans',Helvetica,Arial,Lucida,sans-serif;
}

.thg-theme a.btn.btn-warning {
    background: #F4A44D !important;
}

.thg-theme .btn {
border-radius: 20px
}

a.btn.btn-default {
    background: #78777700;
    border: 1px solid #000 !important;
}
a.btn.btn-success {
    background: #44EA96;
}

.thg-theme hr.footer-line {
    background-image: linear-gradient(333deg, rgba(132,208,250,1) 16%, rgba(119,230,157,1) 78%);
    height: 2px;
}

.thg-theme img.source-img {
    max-width: 150px;
    height: auto;
}

#select-preference,
#select-preference-header { display: none; };

    /* Link Colors */
    /*a {
      color: #f05f3e;
    }*/

    .thg-theme a, .thg-theme a:visited {
      color: #f05f3e;
    }

    .thg-theme a:hover, .thg-theme a:active {
      color: #353b38;
    }

    .thg-theme img {
      max-width:  100%;
      height: auto;
    }

    /* Button Colors */

    .thg-theme .bg-dark a:link, .thg-theme .bg-dark a:visited {
      color: #dce1ea;
    }

    .thg-theme .bg-dark a:hover, .thg-theme .bg-dark a:active {
      color: #FFFFFF;
    }

   .thg-theme .btn-primary {
      color: #dce1ea;
    }

   .thg-theme .btn-secondary {
      color: #dce1ea;
    }

   .thg-theme .btn-success {
      color: #dce1ea;
    }

   .thg-theme .btn-info {
      color: #dce1ea;
    }

   .thg-theme .btn-warning {
      color: #dce1ea;
    }

   .thg-theme .btn-danger {
      color: #dce1ea;
    }

   .thg-theme .btn-light {
      color: #353b38;
    }

   .thg-theme .btn-dark {
      color: #dce1ea;
    }

    /* Header Background Colors */

    #topheader.navbar {
      background-color: rgb(13, 26, 58) !important;
    }

    #bottomheader.navbar {
      background-color: rgb(249, 249, 249) !important;
    }

    /* Footer Background Colors */

   .thg-theme .footer {
      background-color: rgb(13,26,58) !important;
    }

    #footerbottom.navbar {
      background-color: rgb(10,21,46) !important;
    }

    /* TESTIMONIALS PAGE */
    .thg-theme label {
      font-size: 1rem;
    }

    /* APPT PAGE */
    .thg-theme .ui.container {
      width: 100%;
      max-width: 100%;
      padding-left: 0;
      padding-right: 0;
    }

    /* Table of contents */
    .thg-theme #table-of-contents {
      text-transform: uppercase;
      letter-spacing: 0.4px;
    }

    .thg-theme #table-of-contents a, .thg-theme #table-of-contents a:visited {
      color: #f05f3e;
    }

    /* Breadcrumb nav */
    .thg-theme #breadcrumb-nav {
      text-transform: uppercase;
      letter-spacing: 0.4px;
    }

    .thg-theme #breadcrumb-nav a, .thg-theme #breadcrumb-nav a:visited {
      color: #f05f3e;
    }

    .thg-theme #page-content img,
    .thg-theme #procedures-content img,
    .thg-theme #conditions-content img,
    .thg-theme #locations-content img,
    .thg-theme #departments-content img,
    .thg-theme #team-content img {
      max-width: 100%;
      height: auto;
    }

    iframe {
      max-width: 100%;
    }

    .thg-theme img.single-post-img {
      object-fit: cover; /* keep aspect ratio */
      width: 100%;
      height:  265px;
      max-height: 265px;
    }

    .thg-theme #global-list .cards .container {
      padding-left: 0;
      padding-right: 0;
    }

   .thg-theme .card-image img {
      object-fit: cover; /* keep aspect ratio */
      max-width: 100%;
      height: 220px;
      border-radius: 0.625rem;
      box-shadow: 0 5px 10px 0 rgba(0,0,0,.08)!important;
    }

   .thg-theme .icon .ni {
      font-size:  3.5rem;
    }

    .thg-theme #locations-overview-grid .nav-link {
        padding: 10px 23px;
        background-color: rgba(53, 59, 56, 0.3);
        min-width: 100px;
        font-weight: 400;
        text-align: center;
        border-radius: 25px;
        margin:  0 5px 10px 0;
    }
    .thg-theme #locations-overview-grid .nav-pills .nav-item .nav-link:focus , .thg-theme #locations-overview-grid .nav-pills .nav-item .nav-link:active {
        background: #f05f3e !important;
        color: #fff !important;
    }

    .thg-theme #mainheader .dropdown-menu {
      min-width:  250px;
    }

    .thg-theme #bottomheader .dropdown-menu {
      min-width:  450px;
    }

    .thg-theme #right-sidebar .widget #menu-locations {
      list-style-type: none;
      margin: 0;
      padding: 0;
    }

    .thg-theme #right-sidebar .widget #menu-locations li {
      text-transform: uppercase;
      line-height: 2rem;
    }

    .thg-theme #right-sidebar .widget #menu-locations li a{
      color: #f05f3e;
    }