body,
html {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: #3c3c3c;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.clear {
  clear: both;
}

a img {
  border: 0;
}

.topmenu ul,
form {
  padding: 0;
  margin: 0;
}

#system-message {
  display: none !important;
}

.content {
  margin: 0 auto;
  text-align: left;
  width: 100%;
  max-width: 1300px;
  padding: 0 15px;
  box-sizing: border-box;
}

.btn,
nav {
  width: 100%;
  transition: all 0.3s;
}

.btn {
  max-width: 250px;
  border-radius: 20px;
  padding: 13px;
  font-weight: 500;
  font-size: 24px;
  display: inline-block;
  border: 2px solid transparent;
  cursor: pointer;
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
}

.btn-primary {
  background: #4e87db;
  color: #fff;
  border-color: #4e87db;
}

.btn-primary a {
  color: #fff;
  padding: 10px 55px;
  display: block;
}

.btn-primary:hover {
  background: 0 0;
  color: #4e87db;
}

.btn-primary:hover a,
.connect-block .twit-ico:hover a,
footer h4 {
  color: #4e87db;
}

.table {
  display: table;
  vertical-align: middle;
}

.table-row {
  display: table-row;
}

.table-cell {
  display: table-cell;
  vertical-align: middle;
  text-align: left;
}

nav {
  position: relative;
  top: 0;
  left: 0;
  z-index: 9000;
  background: #0d47a1;
}

#homepage nav {
  background: rgb(13 72 160/85%);
  position: absolute;
}

#homepage nav.slide,
nav.slide {
  background: #0d47a1;
  position: fixed;
}

nav.slide {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

nav.slide.fixed {
  opacity: 1;
  max-height: 2000px;
  overflow: visible;
}

nav .content {
  max-width: 3000px;
  display: flex;
  align-items: center;
  padding: 0;
}

.inner-logo {
  padding: 10px 15px;
  display: inline-block;
  vertical-align: middle;
}

.inner-logo img {
  max-width: 100%;
}

.mobile-logo {
  display: none;
}

.topmenu {
  margin: 0 auto;
}

.topmenu ul {
  display: flex;
}

.topmenu li {
  list-style: none;
  position: relative;
  padding: 0 2px 9px 0;
}

.topmenu li.parent:after {
  content: "";
  position: absolute;
  top: 10px;
  right: 0;
  width: 0;
  height: 0;
  margin-right: 8px;
  vertical-align: middle;
  border-top: 4px solid #fff;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.topmenu li a,
span.nav-header,
span.span-separator {
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  transition: all 0.3s;
  white-space: nowrap;
  padding: 6px 8px;
  border-radius: 3px;
}

.topmenu li.parent a {
  padding: 6px 20px 6px 12px;
}

.topmenu li.active li a {
  color: #fff;
  border-bottom: 3px solid transparent;
}

.topmenu li a:hover,
.topmenu li li a:hover,
.topmenu li li.active a,
.topmenu li.active a,
.topmenu li.active li a:hover {
  border-bottom: 3px solid #fff;
}

.topmenu li.parent li a {
  padding: 6px 12px;
  color: #fff;
}

.topmenu li ul {
  position: absolute;
  top: 100%;
  left: 0;
  width: 200px;
  display: block;
  max-height: 0;
  overflow-y: hidden;
  transition: all 0.2s;
}

.topmenu li ul,
nav.fixed .topmenu li ul {
  background: #005260;
}

.topmenu li:hover ul {
  padding-top: 10px;
  max-height: 3000px;
  overflow-y: auto;
}

.topmenu li li {
  display: block;
  padding: 10px;
}

.top-right {
  margin: 0 10px 0 auto;
  text-align: right;
}

.top-phone,
.top-phone a {
  display: inline-block;
  vertical-align: top;
  font-size: 34px;
  font-weight: 500;
  color: #fff;
}

.top-phone {
  margin: -1px 10px 0 0;
}

.top-loc {
  font-family: "Lato", sans-serif;
  color: #cac9c9;
  font-size: 20px;
  display: block;
  margin-right: 8px;
}

nav .social-btns {
  display: inline-flex;
  margin-top: 4px;
}

nav .fb-wrap,
nav .social-btn {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}

nav .social-btn {
  cursor: pointer;
  transition: all 0.3s;
}

nav .fb-wrap:hover .fb-ico,
nav .social-btn:hover {
  transform: scale(1.1);
}

nav .fb-wrap {
  position: relative;
  width: 32px;
  height: 32px;
  white-space: nowrap;
}

nav .fb-wrap .fb-like,
nav .fb-wrap iframe {
  width: 32px !important;
  height: 32px !important;
  overflow: hidden;
}

nav .fb-ico {
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s;
}

.hamburger {
  display: none;
}

nav p {
  display: inline-block;
}

.topline {
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid #fff;
}

.top-buttons {
  margin: 15px 0;
}

.top-button {
  font-size: 18px;
  font-weight: 600;
  color: #fff !important;
  background: #9f2e52;
  border: 2px solid #9f2e52;
  padding: 7px 18px;
  border-radius: 7px;
  transition: 0.3s ease-in-out;
}

.top-button.po:hover,
.top-button:hover {
  color: #fff;
  background: #0d47a1;
  border: 2px solid #fff;
}

.top-button.po {
  background: #0484b7;
  border: 2px solid #0484b7;
}

.inner-ra-btn {
  text-align: center;
  margin: 30px auto;
}

.inner-ra-btn .top-button:hover {
  color: #fff;
  background: #0d47a1;
  border: 2px solid #0d47a1;
}

.slider-block {
  text-align: center;
  position: relative;
}

.nivo-slider-wrapper {
  position: relative;
  z-index: 10;
}

.maintext-block-wrapper {
  position: absolute;
  top: 170px;
  left: 0;
  width: 100%;
  z-index: 11;
}

.maintext-block {
  display: inline-block;
  padding: 15px;
  background: rgb(0 0 0/70%);
  margin-top: 6%;
}

.maintext-block h2 {
  font-size: 33px;
  color: #fff;
  font-weight: 400;
  font-family: "Cabin", sans-serif;
  margin: 0 0 10px;
}

.maintext-block ul,
.subtext-block p,
nav p {
  padding: 0;
  margin: 0;
}

.blogs-list li,
.maintext-block li {
  display: block;
  list-style: none;
  padding: 5px 0 5px 35px;
  position: relative;
}

.maintext-block li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 24px;
  height: 24px;
  background: url(../images/bullet.png) no-repeat center;
}

.maintext-block li a {
  font-weight: 500;
}

.blogs-list li a:hover,
.maintext-block li a:hover,
.quick-links-block li a:hover {
  text-decoration: underline;
}

.about-block h2,
.services-block h2,
.subtext-block {
  font-family: "Lato", sans-serif;
  text-align: center;
  font-weight: 400;
}

.subtext-block {
  position: absolute;
  bottom: 0;
  padding: 20px 15px;
  background: rgb(0 0 0/70%);
  left: 0;
  width: 100%;
  z-index: 11;
  font-size: 30px;
  color: #fff;
  box-sizing: border-box;
}

.nivo-caption {
  background: 0 0;
  padding: 0;
  opacity: 1;
}

.theme-pure .nivoSlider {
  margin-bottom: 0;
}

.services-block {
  padding: 50px 0;
}

.services-block .content {
  text-align: center;
}

.about-block h2,
.services-block h2 {
  font-size: 48px;
  position: relative;
}

.services-block h2 {
  color: #4e87db;
  padding-bottom: 20px;
  margin: 0 auto;
}

.service-block {
  display: inline-flex;
  margin: 10px;
  transition: all 0.2s;
}

.service-block:hover {
  background-size: 120%auto;
}

.service1,
.service2 {
  background-size: 100%auto;
}

.service1 {
  background: url(../images/service1.jpg) no-repeat center;
}

.service2 {
  background: url(../images/service2.jpg) no-repeat center;
}

.service3 {
  background: url(../images/service3.jpg) no-repeat center;
}

.service3,
.service4,
.service5 {
  background-size: 100%auto;
}

.service4 {
  background: url(../images/service4.jpg) no-repeat center;
}

.service5 {
  background: url(../images/service5.jpg) no-repeat center;
}

.service6 {
  background: url(../images/service6.jpg) no-repeat center;
}

.service6,
.service7,
.service8 {
  background-size: 100%auto;
}

.service7 {
  background: url(../images/service7.jpg) no-repeat center;
}

.service8 {
  background: url(../images/service8.jpg) no-repeat center;
}

.service-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  width: 240px;
  height: 213px;
}

.service-block .service-title {
  width: 100%;
  padding: 10px;
  background: rgb(13 72 160/80%);
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  text-align: center;
}

.banner-home-page {
  display: block;
  background: rgb(1 10 39/60%);
  background: url(../images/banner-bg.jpg) no-repeat center;
  background-size: cover;
  padding: 50px 10px;
}

.banner-wrap {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 30px;
  background-color: rgb(13 72 160/95%);
  max-width: 960px;
  margin: 0 auto;
  padding: 30px;
}

.banner-wrap .image,
.banner-wrap .item {
  width: 250px;
  margin: 10px;
  text-align: center;
}

.banner-wrap .item {
  width: 530px;
}

.banner-wrap .image img {
  width: 100%;
  filter: drop-shadow(2px 4px 6px rgb(0 0 0/50%));
}

.banner-wrap .item p {
  margin: 0;
  font-size: 43px;
  color: #fff;
  font-weight: 700;
  line-height: 47px;
}

.banner-wrap .item p.bold-font {
  text-transform: uppercase;
}

.banner-wrap .item p.light-font {
  font-weight: 400;
  font-size: 36px;
  line-height: 40px;
}

.banner-wrap .item a {
  display: block;
  max-width: 120px;
  margin: 0 auto;
  padding: 8px 10px;
  color: #fff;
  border-radius: 3px;
  background-color: #1d94d1;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  font-weight: 600;
}

.about-block {
  padding: 30px 0;
  background-size: cover;
  background: #0d48a0;
}

.about-block h2 {
  color: #fff;
  padding: 20px 0;
  margin: 0 auto 20px;
}

.about-block h2::after,
.inner-pages .page-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -35px;
  width: 70px;
  height: 2px;
  background-color: #fff;
}

.about-wrapper {
  display: flex;
}

.about-block .about-text {
  order: 1;
  color: #fff;
}

.about-block .doctors {
  order: 2;
  white-space: nowrap;
}

.about-block .doctor {
  display: inline-block;
  text-align: center;
  padding: 15px;
  box-sizing: border-box;
  width: 280px;
}

.doctor a,
.formTableLayout input#Send {
  color: #fff;
  font-weight: 700;
  font-family: "Lato", sans-serif;
}

.doctor a {
  display: block;
  font-size: 20px;
}

.about-block .doctor img,
.second-banner-wrap .item img {
  box-shadow: 3px 5px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.about-block .doctor img {
  max-width: 100%;
  display: block;
  margin-bottom: 15px;
}

.about-block .doctor:hover img,
.second-banner-wrap .item:hover img {
  transform: scale(1.02);
}

.second-banner-wrap {
  display: flex;
  justify-content: center;
  padding: 50px 15px;
  background-color: rgb(13 72 160/60%);
}

.second-banner-wrap .item img {
  width: 100%;
  max-width: 1020px;
}

.second-banner-wrap .item.mob {
  display: none;
}

.locations-block {
  background: url(../images/locations-bg.jpg) no-repeat center;
  background-size: cover;
  padding: 50px 0;
}

.locations-block .content {
  display: flex;
  justify-content: space-around;
}

.loc {
  margin: 0 10px;
  max-width: 480px;
  width: 100%;
  box-sizing: border-box;
  padding: 15px;
  background: rgb(1 10 39/80%);
  text-align: center;
}

.loc h2,
.message-block h2 {
  font-weight: 400;
  color: #fff;
  font-family: "Cabin", sans-serif;
  font-size: 44px;
  margin: 0;
}

.loc .address {
  font-size: 20px;
  margin: 10px 0 30px;
  color: #d6d6d6;
}

.loc .phone {
  font-size: 26px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

.loc .shedule {
  margin: 15px auto 0;
  font-size: 20px;
  color: #fff;
  font-weight: 500;
}

.loc .day {
  padding-right: 10px;
}

.loc .office-note {
  margin-top: 5px;
  font-size: 17px;
  color: #d6d6d6;
}

.loc .btn {
  text-align: center;
  margin: 25px auto 10px;
  padding: 0;
  border-radius: 10px;
}

.message-block {
  background-color: #0d47a1;
  padding: 50px 10px;
}

.message-block .content {
  border: 1px solid #fff;
  text-align: center;
  padding: 30px;
}

.message-block h2 {
  margin: 0 0 20px;
}

.footer-logo-wrap p,
.message-block p {
  margin: 0;
  color: #fff;
  font-size: 20px;
}

.blogs-block {
  padding: 40px 0 50px;
  background: url(../images/blogs-bg.jpg) no-repeat center;
  background-size: cover;
}

.blogs-block,
.blogs-block .content {
  text-align: center;
}

.blogs-block h2 {
  font-size: 48px;
  color: #fff;
  font-weight: 400;
  display: block;
  margin: 10px 0;
}

.blogs-list ul {
  display: inline-block;
  padding: 0;
  margin: 0 auto;
  text-align: left;
}

.blogs-list li {
  padding: 8px 0 8px 15px;
}

.blogs-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 10px;
  color: #fff;
}

.blogs-list li a,
.maintext-block li a {
  color: #fff;
  text-decoration: none;
  font-size: 22px;
}

.blogs-block .btn {
  margin-top: 30px;
}

.connect-block {
  padding: 20px 0;
  background: #fff;
}

.blogs-block h2,
.connect-block .content {
  text-align: center;
}

.connect-block h3,
.inner-pages .page-header h2 {
  font-family: "Lato", sans-serif;
  text-align: center;
  font-weight: 400;
}

.connect-block h3 {
  font-size: 44px;
  color: #4e87db;
  padding: 30px;
  margin: 0;
}

.bot-social-btns,
.connect-block .social-btns,
.connect-block h3 {
  display: inline-block;
  vertical-align: middle;
}

.bot-social-btns div,
.connect-block .social-btn {
  box-sizing: border-box;
  border: 1px solid #4e87db;
  cursor: pointer;
  transition: all 0.3s;
  margin: 0 2px;
  display: inline-block;
  vertical-align: middle;
}

.connect-block .social-btn {
  font-size: 14px;
  color: #fff;
  height: 26px;
  padding: 3px 15px 3px 35px;
}

.connect-block .fb-wrap {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 97px;
  white-space: nowrap;
  padding: 0;
  margin: 0 2px;
}

.connect-block .fb-ico {
  background: url(../images/fb-ico.png) #4e87db no-repeat 10px center;
  position: absolute;
  left: 0;
}

.connect-block .fb-wrap:hover .fb-ico {
  background: url(../images/fb-ico.png) #fff no-repeat 10px center;
  color: #4e87db;
}

.connect-block .twit-ico {
  background: url(../images/twit-ico.png) #4e87db no-repeat 10px center;
}

.connect-block .twit-ico:hover {
  background: url(../images/twit-ico.png) #fff no-repeat 10px center;
  color: #4e87db;
}

.connect-block .goog-ico {
  background: url(../images/goog-ico.png) #4e87db no-repeat 10px center;
}

.connect-block .goog-ico:hover {
  background: url(../images/goog-ico.png) #fff no-repeat 10px center;
  color: #4e87db;
}

.bot-social-btns {
  padding: 0 15px;
  display: none;
}

.bot-social-btns div {
  height: 45px;
  width: 45px;
}

.bot-fb-ico {
  height: 45px;
  width: 45px;
  background: url(../images/bot-fb.png) no-repeat center #4e87db;
}

.bot-fb-ico:hover,
.bot-twit-ico:hover {
  transform: scale(1.1);
}

.bot-twit-ico {
  height: 45px;
  width: 45px;
  background: url(../images/bot-twit.png) no-repeat center #4e87db;
}

.testimonial-container {
  border: 2px solid #eee;
  background-color: #eee;
  border-radius: 5px;
  padding: 16px;
  margin: 16px 0;
}

.testimonial-container::after {
  content: "";
  clear: both;
  display: table;
}

.testimonial-container span {
  font-size: 20px;
  margin-right: 6px;
}

.testimonial-p {
  text-align: left;
}

.checked {
  color: gold;
}

footer {
  background: #010a27;
}

#offices.images,
footer .content {
  text-align: center;
}

.footer-logo-wrap {
  display: inline-block;
  max-width: 490px;
  padding: 75px 30px;
  text-align: center;
}

.logo-footer {
  display: inline-block;
  vertical-align: middle;
  max-width: 430px;
}

.footer-logo-wrap p {
  font-weight: 500;
  margin: 20px auto;
}

.bottom-loc-block,
.quick-links-block {
  display: inline-block;
  vertical-align: middle;
  padding: 30px;
  text-align: left;
}

footer h4 {
  font-size: 18px;
  font-weight: 400;
  margin-top: 0;
}

.quick-links-block ul {
  padding: 0;
  margin: 0;
}

.quick-links-block li {
  display: block;
  list-style: none;
  padding: 2px 0;
}

.quick-links-block li a {
  color: #d1d1d0;
  font-size: 18px;
  line-height: 25px;
  text-decoration: none;
}

.quick-links-block ul ul {
  padding: 0;
  margin: 2px 0 0 10px;
}

.bottom-loc-block {
  vertical-align: top;
  padding: 55px 0 30px 30px;
  color: #d1d1d0;
  font-size: 18px;
  line-height: 25px;
}

.white-text {
  color: #fff;
}

.offices-block {
  display: flex;
}

.office {
  padding-right: 30px;
}

.copy-left,
.copy-right {
  text-align: left;
  float: left;
  color: #6e6d6d;
  font-size: 14px;
  padding: 30px;
}

.copy-right {
  text-align: right;
  float: right;
}

.copy-left a,
.copy-right a {
  color: #6e6d6d;
  text-decoration: none;
}

.copy-left a:hover,
.copy-right a:hover {
  text-decoration: underline;
}

.scroll-to-top {
  position: fixed;
  bottom: 50px;
  right: 30px;
  z-index: 8999;
  opacity: 1;
  transition: all 0.3s;
  display: none;
  cursor: pointer;
}

.scroll-to-top.active {
  display: block;
}

.scroll-to-top:hover {
  opacity: 0.8;
}

.about-block h2 p,
.connect-block p,
.social-btns p,
.top-phone p,
.topline p {
  display: inline-block;
  padding: 0;
  margin: 0;
}

.social-btns a {
  color: #fff;
}

.social-btns a:hover {
  color: #3dc1fd;
}

.inner-pages {
  padding-bottom: 30px;
}

.inner-pages a,
div.k2ArchivesBlock li a,
h2.latestItemTitle a {
  color: #4e87db;
}

.inner-pages img {
  max-width: 100% !important;
  height: auto !important;
}

.inner-pages .page-header,
.one,
.two {
  margin-bottom: 20px;
}

.inner-pages .page-header h2 {
  font-size: 48px;
  color: #010a27;
  padding: 20px 0;
  margin: 0 auto 20px;
  position: relative;
}

.inner-pages .page-header h2::after {
  background-color: #010a27;
}

.one,
.two {
  width: 49%;
}

.one {
  float: left;
  padding-right: 2%;
}

.two {
  float: right;
}

.offices {
  margin: 0;
  width: 100%;
  float: left;
  margin-bottom: 25px !important;
}

.hours,
.one .address,
.week {
  float: left;
  width: 45%;
  margin-bottom: 0;
}

.hours,
.week {
  width: 105px;
}

.hours {
  width: 140px;
}

.office-note-inner {
  float: left;
  font-size: 15px;
  margin-top: 5px;
  margin-bottom: 20px;
  margin-left: 273px;
}

.coloredtext.semi {
  font-weight: 600;
}

.inner-pages .doctor {
  float: right;
  text-align: center;
  margin: 0 0 5px 10px;
  max-width: 250px;
  font-size: 20px;
  color: #010a27;
  font-weight: 500;
}

.inner-pages .doctor img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.inner-pages .doctors-wrap,
.staff-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.inner-pages .doctors-wrap img {
  margin: 10px;
}

.staff-wrap {
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
}

.staff-wrap .staff {
  max-width: 47%;
}

div.latestItemsCategory {
  background: 0 0;
  border: 0;
  border-radius: 4px;
  margin: 0;
  padding: 0;
}

#k2Container {
  padding-top: 30px;
}

.mob-img,
body#homepage .content.h,
div.itemToolbar,
div.latestItemsCategory h2 {
  display: none;
}

div.k2ArchivesBlock ul,
div.k2AuthorsListBlock ul,
div.k2CategoriesListBlock ul,
div.k2ItemsBlock ul,
div.k2LatestCommentsBlock ul,
div.k2LoginBlock ul,
div.k2TopCommentersBlock ul,
div.k2UserBlock .k2UserBlockActions,
div.k2UserBlock .k2UserBlockRenderedMenu,
div.k2UsersBlock ul {
  padding: 10px 20px;
  margin: 0;
}

div.k2ArchivesBlock li,
div.k2AuthorsListBlock li,
div.k2CategoriesListBlock li,
div.k2ItemsBlock li,
div.k2LatestCommentsBlock li,
div.k2LoginBlock li,
div.k2TopCommentersBlock li,
div.k2UsersBlock li {
  margin: 0;
  display: block;
  padding: 8px 0 8px 15px;
}

.clearList,
div.genericItemReadMore {
  display: none !important;
}

.formTableLayout {
  margin: 0 auto;
}

.formTableLayout input#Send {
  background: #4e87db;
  padding: 5px 30px;
  border-radius: 5px;
  font-size: 19px;
  border: 2px solid transparent;
}

.formTableLayout input#Send:hover {
  background: #fff;
  color: #4e87db;
  border: 2px solid;
  cursor: pointer;
}

.formTableLayout tr.rsform-block > td {
  padding: 5px;
  font-weight: 600;
}

button,
input,
select,
textarea {
  outline: 0;
  padding: 4px;
}

.osmap-items li .even {
  padding: 2px 0 !important;
}

.pe ul {
  margin: 0;
}

.content.full {
  flex-wrap: wrap;
  display: flex;
}

.divContent {
  flex: 0 0 80%;
}

.divRight {
  flex: 0 0 20%;
}

.divRight .moduletable {
  margin-top: 25px;
  padding-left: 40px;
}

.divRight .moduletable ul {
  padding: 0 4px !important;
}

.divRight .moduletable li {
  padding: 5px 0 5px 3px !important;
}

body#bfa #k2Container,
footer h4 {
  padding-top: 0;
}

.latestItemsCategory {
  float: right;
  width: 30px;
}

@media only screen and (max-width: 1800px) {
  .maintext-block {
    margin-top: 4%;
  }
}

@media only screen and (max-width: 1700px) {
  .maintext-block {
    margin-top: 1%;
  }
}

@media only screen and (max-width: 1550px) {
  .maintext-block {
    margin-top: 0px;
  }

  .maintext-block h2 {
    font-size: 28px;
  }

  .maintext-block li a {
    font-size: 20px;
  }

  .maintext-block li:before {
    top: 4px;
  }

  .subtext-block {
    font-size: 27px;
  }
}

@media only screen and (max-width: 1440px) {
  .maintext-block h2 {
    font-size: 24px;
  }

  .maintext-block li {
    padding: 3px 0 3px 35px;
  }

  .maintext-block li a {
    font-size: 19px;
  }

  .maintext-block li:before {
    top: 4px;
    height: 20px;
    width: 20px;
    background-size: contain;
  }
}

@media only screen and (max-width: 1310px) {
  .subtext-block {
    font-size: 22px;
    padding: 15px 15px;
  }
}

@media only screen and (max-width: 1250px) {
  .loc .phone {
    font-size: 23px;
  }

  .maintext-block {
    top: 130px;
  }

  .maintext-block h2 {
    font-size: 19px;
  }

  .maintext-block li {
    padding: 0 0 0 25px;
  }

  .maintext-block li a {
    font-size: 14px;
  }

  .subtext-block {
    font-size: 16px;
    padding: 10px 15px;
  }

  .maintext-block li:before {
    top: 4px;
    width: 15px;
    height: 15px;
    background: url(../images/bullet.png) no-repeat center;
    background-size: cover;
  }

  .loc h2 {
    font-size: 34px;
  }

  .loc .shedule {
    font-size: 17px;
  }

  .loc .office-note {
    font-size: 15px;
  }

  .one .address {
    width: 100%;
    margin-bottom: 20px;
  }

  .office-note-inner {
    width: 100%;
    margin: 5px 0 20px;
  }

  .map iframe {
    height: 587px;
  }
}

@media only screen and (max-width: 1150px) {
  .topmenu li a,
  span.nav-header,
  span.span-separator {
    font-size: 15px;
  }

  .top-right {
    text-align: right;
  }

  .service-inner {
    width: 200px;
    height: 173px;
  }

  .connect-block h3 {
    padding: 15px 0;
    margin: 0;
    display: block;
  }

  .connect-block .social-btns {
    padding: 0 0 20px;
  }

  .bottom-loc-block {
    padding: 30px 0 30px 30px;
  }

  .footer-logo-wrap,
  .logo-footer {
    max-width: 330px;
  }

  .footer-logo-wrap p {
    font-size: 16px;
  }
}

@media only screen and (max-width: 1080px) {
  .top-right {
    margin: 3px 10px 0 auto;
  }

  .top-button {
    font-size: 16px;
  }

  nav .social-btns {
    margin-top: 1px;
  }

  .topmenu {
    margin: -3px auto 0;
  }

  .topmenu li a,
  span.nav-header,
  span.span-separator {
    font-size: 14px;
  }

  .topmenu li.parent:after {
    top: 12px;
    border-top: 3px solid #fff;
    border-right: 3px solid transparent;
    border-left: 3px solid transparent;
  }

  .top-phone,
  .top-phone a {
    font-size: 31px;
  }

  .top-phone {
    margin: -2px 10px 0 0;
  }

  .top-loc {
    font-size: 14px;
  }

  .inner-logo {
    max-width: 45%;
  }

  .maintext-block h2 {
    font-size: 17px;
  }

  .maintext-block-wrapper {
    top: 160px;
  }

  .about-wrapper,
  .logo-footer {
    display: block;
  }

  .about-block .about-text {
    order: 2;
    color: #fff;
  }

  .about-block .doctors {
    order: 1;
    white-space: normal;
    text-align: center;
  }

  .doctor a {
    font-size: 16px;
  }

  .loc h2 {
    font-size: 26px;
  }

  .loc .address {
    font-size: 17px;
  }

  .loc .phone {
    font-size: 18px;
  }

  .loc .shedule {
    font-size: 16px;
  }

  .map iframe {
    height: 587px;
  }

  .logo-footer {
    margin: 0 auto;
  }

  .divContent {
    flex: 0 0 70%;
  }

  .divRight {
    flex: 0 0 30%;
  }
}

@media only screen and (max-width: 1030px) {
  nav .social-btns {
    margin: 1px 0 3px;
  }

  /* .maintext-block-wrapper {
    top: 150px;
  } */
  
  .slider-block {
    background: url(../images/topbg-mob.jpg) no-repeat center;
    background-size: cover;
  }

  .nivo-slider-wrapper {
    display: none;
  }

  .maintext-block-wrapper {
    padding-top: 200px;
    position: relative;
    top: 0;
  }

  .maintext-block {
    top: 0;
    margin: 0 auto;
    display: block;
    width: 239px;
  }

  .subtext-block {
    position: relative;
    bottom: 0;
    padding: 10px 15px;
    margin-top: 50px;
  }

  #offices .nivo-slider-wrapper {
    display: block;
  }

}

@media only screen and (max-width: 980px) {
  .topline {
    padding-bottom: 0;
  }

  .topmenu li a,
  span.nav-header,
  span.span-separator {
    padding: 4px 6px;
  }

  .topmenu li.parent a {
    padding: 4px 20px 4px 6px;
  }
}

@media only screen and (max-width: 955px) {
  .staff-wrap .staff {
    max-width: 100%;
  }
}

@media only screen and (max-width: 930px) {
  .pe td {
    display: block;
  }

  .pe ul {
    margin: 0;
  }
}

@media only screen and (max-width: 890px) {
  .service-inner {
    width: 160px;
    height: 133px;
  }

  .service-block .service-title {
    font-size: 15px;
  }

  .message-block h2 {
    font-size: 38px;
  }
}

@media only screen and (max-width: 950px) {
  .mobile-logo {
    display: inline-block;
    width: 70%;
    max-width: 300px;
    padding: 10px 5px 10px 15px;
  }

  .mobile-logo img {
    max-width: 100%;
  }

  .inner-logo,
  .topmenu li.parent:after {
    display: none;
  }

  .hamburger {
    display: inline-block;
    position: relative;
    z-index: 9002;
    margin: 10px 20px 10px auto;
  }

  body .accessib-block {
    top: 30% !important;
  }

  nav.slide {
    max-height: 3000px;
    overflow: visible;
    opacity: 1;
  }

  .topmenu {
    position: fixed;
    z-index: 9001;
    top: -150%;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background: #010a27;
    transition: all 0.3s;
    margin: 0;
  }

  .topmenu.active {
    top: 0;
  }

  .topmenu ul {
    padding: 40px 15px 15px;
  }

  .topmenu li {
    display: block;
    padding: 5px;
  }

  .footer-logo-wrap p,
  .topmenu li a,
  footer h4,
  span.nav-header,
  span.span-separator {
    font-size: 15px;
  }

  .topmenu li ul {
    position: relative;
    top: 0;
    left: 0;
    width: auto;
    display: block;
    background: 0 0;
    max-height: 3000px;
  }

  .topmenu li li {
    padding: 5px 10px;
  }

  nav.fixed .topmenu li ul {
    background: 0 0;
  }

  .topmenu li ul,
  .topmenu li:hover ul {
    overflow-y: visible;
    padding: 5px 0 0;
  }

  .hamburger.hamburger--slider.is-active {
    position: fixed;
    right: 0;
    top: 15px !important;
  }

  .inner-nav.slide {
    display: none;
  }

  .inner-nav.slide.fixed,
  .topmenu ul {
    display: block;
  }

  nav .content {
    display: flex;
  }

  .inner-logo {
    max-width: 250px;
  }

  .topline {
    margin-bottom: 0;
  }

  .footer-logo-wrap {
    max-width: 300px;
    padding: 25px;
  }

  .logo-footer {
    width: 100%;
  }

  .quick-links-block li a {
    font-size: 15px;
    line-height: 15px;
  }

  .quick-links-block {
    padding: 25px;
    vertical-align: top;
  }

  .bottom-loc-block {
    font-size: 15px;
    line-height: 15px;
    padding: 25px 0 26px 25px;
  }
}

@media only screen and (max-width: 840px) {
  .banner-wrap .item p {
    font-size: 34px;
    line-height: 34px;
  }

  .banner-wrap .item p.light-font {
    font-size: 26px;
    line-height: 28px;
    margin-top: 5px;
  }

  .banner-wrap {
    gap: 20px;
  }

  .banner-home-page {
    padding: 30px 10px;
  }
}

@media only screen and (max-width: 800px) {
  body .accessib-block {
    top: 40% !important;
  }

  .topmenu {
    margin: -10px auto 0;
  }

  .copy-left,
  .copy-right {
    width: 100%;
    padding: 0;
    text-align: center;
  }

  .copy-right p {
    margin-top: 0;
  }
}

@media only screen and (max-width: 768px) {
  .formCaption {
    width: 100% !important;
  }

  form#userForm textarea,
  input#Email,
  input#Your_Email {
    width: 90% !important;
  }
}

@media only screen and (max-width: 767px) {
  body {
    font-size: 16px;
  }

  .btn {
    width: 100%;
    max-width: 180px;
    border-radius: 5px;
    padding: 10px;
    font-weight: 600;
    font-size: 15px;
  }

  .btn-primary a {
    padding: 10px 50px;
  }

  .top-right {
    margin: 0 auto;
    text-align: center;
    align-items: flex-start;
    padding: 5px 0 8px;
  }

  .top-loc {
    margin-right: 0;
  }

  .maintext-block-wrapper {
    padding-top: 220px;
  }

  .about-block h2,
  .blogs-block h2,
  .inner-pages .page-header h2,
  .message-block h2,
  .services-block h2 {
    font-size: 28px;
  }

  .about-block .doctor {
    padding: 20px;
    max-width: 350px;
  }

  .doctor a {
    font-size: 17px;
  }

  .second-banner-wrap .item.mob {
    display: block;
  }

  .second-banner-wrap .item.desk {
    display: none;
  }

  .locations-block {
    background: url(../images/locations-bg-mob.jpg) no-repeat center;
    background-size: cover;
  }

  .loc {
    flex: 100%;
  }

  .blogs-list li a {
    font-size: 15px;
  }

  .message-block p {
    font-size: 1em;
  }

  .connect-block h3 {
    font-size: 26px;
    padding: 15px;
    margin: 0 auto;
    display: block;
  }

  footer .content {
    text-align: left;
  }

  .logo-footer {
    display: block;
    padding: 30px 0 0;
    max-width: 100%;
  }

  .copy-left,
  .copy-right {
    font-size: 12px;
  }

  footer h4 {
    font-size: 14px;
  }

  .bottom-loc-block,
  .quick-links-block li a {
    font-size: 14px;
    line-height: 18px;
  }

  .scroll-to-top {
    width: 30px;
    bottom: 15px;
    right: 15px;
  }

  .one,
  .two {
    float: none;
    width: 100%;
  }

  .one {
    padding-right: 0;
  }

  .two {
    margin-bottom: 20px;
  }

  #offices.images {
    clear: both;
  }

  .map iframe {
    height: 450px;
  }

  .divContent {
    flex: 0 0 70%;
  }

  .divRight {
    flex: 0 0 30%;
  }
}

@media only screen and (max-width: 730px) {
  .footer-logo-wrap {
    display: block;
    margin: 0 auto;
  }

  img.np,
  img.pe,
  img.se {
    float: none !important;
    margin: 0 0 10px !important;
    max-width: 100%;
    height: auto;
  }

  .mob-img {
    display: block;
  }

  .desk-img {
    display: none;
  }
}

@media only screen and (max-width: 630px) {
  nav .fb-wrap {
    width: 30px;
    height: 30px;
  }

  nav .fb-wrap .fb-like,
  nav .fb-wrap iframe {
    width: 30px !important;
    height: 30px !important;
    overflow: hidden;
  }

  nav .social-btns {
    margin: 2px 0 3px;
  }

  .social-btn img {
    height: 30px;
    width: auto;
  }

  .inner-pages .doctor {
    float: none;
    text-align: center;
    margin: 0 auto 10px;
  }

  .staff-wrap h3 {
    display: none;
  }
}

@media only screen and (max-width: 590px) {
  .divContent,
  .divRight {
    flex: 0 0 100%;
  }

  .divRight .moduletable {
    padding-left: 5px;
  }
}

@media only screen and (max-width: 550px) {
  .banner-wrap .item p {
    font-size: 28px;
    line-height: 30px;
  }

  .banner-wrap .item p.light-font {
    font-size: 24px;
    line-height: 26px;
  }

  .locations-block .content {
    display: block;
    flex: auto;
    text-align: center;
  }

  .loc {
    margin: 10px auto;
  }

  .loc h2 {
    font-size: 23px;
  }

  .loc .address {
    font-size: 16px;
  }

  .loc .phone {
    font-size: 18px;
  }

  .loc .shedule {
    font-size: 16px;
  }

  .logo-footer {
    margin: 0 auto;
  }

  .connect-block .social-btn {
    font-size: 12px;
    padding: 5px 6px 3px 26px;
  }

  .connect-block .fb-wrap {
    width: 72px;
  }

  .connect-block .fb-ico {
    background: url(../images/fb-ico.png) #4e87db no-repeat 5px center;
  }

  .connect-block .fb-wrap:hover .fb-ico {
    background: url(../images/fb-ico.png) no-repeat 5px center;
  }

  .connect-block .twit-ico {
    background: url(../images/twit-ico.png) #4e87db no-repeat 5px center;
  }

  .connect-block .twit-ico:hover {
    background: url(../images/twit-ico.png) no-repeat 5px center;
  }

  .connect-block .goog-ico {
    background: url(../images/goog-ico.png) #4e87db no-repeat 5px center;
  }

  .connect-block .goog-ico:hover {
    background: url(../images/goog-ico.png) no-repeat 5px center;
  }

  .logo-footer,
  .offices-block,
  tbody#rsform_3_page_0 td,
  tbody#rsform_4_page_0 td {
    display: block;
  }

  tbody#rsform_4_page_0 textarea,
  textarea#Message {
    width: 90%;
    display: block;
  }

  .rsform-input-box {
    width: 65% !important;
    display: block;
  }

  table#cal4_0 tbody td {
    display: table-cell;
  }

  .office {
    padding-right: 10px;
    margin-bottom: 25px;
  }

  .bottom-loc-block {
    padding: 25px 0 0 26px;
  }
}
@media only screen and (max-width: 480px) {
  .slider-block {
    background: url(../images/topbg-mob-xs.webp) no-repeat center;
    background-size: cover;
  }
  .locations-block {
    background: url(../images/locations-bg-mob.webp) no-repeat center;
    background-size: cover;
  }
}
