body, html {width: 100%; height: 100%; padding: 0; margin: 0; font-family: 'Lato', sans-serif; font-weight: 300; font-size: 18px; color: #000; -webkit-text-size-adjust: 100%;}
body {overflow-x: hidden;}
a {text-decoration: none;}
.clear {clear: both;}
input,textarea,button {outline:none;}
a img {border: none;}
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 {
    width: 100%;
    max-width: 250px;
    border-radius: 20px;
    padding: 13px 13px;
    font-weight: 500;
    font-size: 24px;
    display: inline-block;
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
	}

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

.btn-primary a {
    color: #fff;
	}

.btn-primary:hover {
    background: #fff;
    color: #043156;
	}

.btn-primary:hover a {
    color: #043156;
	}
	
.top-right {
    display: flex;
    white-space: nowrap;
    align-items: center;
    text-align: right;
    margin: 0 0 0 auto;
    flex: 1;
    flex-direction: row-reverse;
	}

.toploc {
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: flex-end;
    color: #ffffff;
    font-size: 20px;
    line-height: 21px;
    margin-left: 20px;
	}

.toploc div {
	line-height: 23px;
	}

.toploc a {
    margin-left: 5px;
    font-size: 26px;
    line-height: 26px;
    color: #ffffff;
    text-decoration: none;
  	font-weight: 500;
	}

.topline {
    background: #3d729d;
    display: flex;
    padding: 5px 15px;
	}

nav .social-btns {
    display: flex;
    flex: 1;
	}

nav .social-btn {
    margin-right: 5px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    vertical-align: middle;
	}

nav .social-btn:hover {
    transform: scale(1.1);
	}

nav .fb-wrap {
    position:relative;
    display: inline-block;
    vertical-align: middle;
    width: 32px;
    height: 32px;
    white-space: nowrap;
    margin-right: 5px;
	}

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

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

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

.top-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    }

.top-button {
    color: #fff;
    font-weight: 500;
    border: 2px solid #043156;
    padding: 3px 10px;
    border-radius: 3px;
    text-align: center;
    margin: 1px 0 2px 0;
    background: #043156;
    }

.top-button:hover {
    color: #043156;
    border: 2px solid #043156;
    background: #fff;
    }

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

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

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

/*Navbar*/
nav {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9000;
    background: #ffffff;
    transition: all 0.3s;
    /* box-shadow: 0 3px 3px rgb(61 114 157 / 30%); */
	}

#homepage nav {
    background: transparent;
    /* position: absolute; */
    position: relative;
    /* box-shadow: 0 3px 3px rgb(61 114 157 / 30%); */
    background: #ffffff;
    }

#homepage nav.slide {
    background: #ffffff;
    position: fixed !important;
    box-shadow: 0 3px 3px rgb(61 114 157 / 30%);
    display: block !important;
    }

nav.slide {
    position: fixed;
    background: #ffffff;
    box-shadow: 0 3px 3px rgb(61 114 157 / 30%);
    /* opacity: 0; */
    /* max-height: 0; */
    /* overflow: hidden; */
	}

/* nav.slide.fixed {
    opacity: 1;
    max-height: 2000px;
    overflow: visible;
    position: fixed !important;
	} */

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%;
	}

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

.topmenu ul {
    padding: 0;
    margin: 0;
    display: flex;
	}

.topmenu ul li {
    list-style: none;
    position: relative;
    font-family: 'Cabin',sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
	margin: 0 3px;
    transition: all 0.3s;
    white-space: nowrap;
    border-radius: 3px;
	}

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

.topmenu ul li a , .nav-header , span.separator {
    font-family: 'Cabin', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 400;
    color: #518fc2;
    transition: all 0.3s;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 3px;
	}
	
.nav-header {
    margin-right: 10px;
    }
	
.topmenu ul li.parent {
    margin-right: 10px;
	}

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

.topmenu ul li.active ul li a {
    color: #fff;
    background: transparent;
	}

.topmenu ul li a:hover, .topmenu ul li.active a, .topmenu ul li.active ul li a:hover, .topmenu ul li ul li.active a {
    background: #518fc2;
    background: -moz-linear-gradient(top,  #4a9fb9 0%, #518fc2 100%);
    background: -webkit-linear-gradient(top,  #4a9fb9 0%,#518fc2 100%);
    background: linear-gradient(to bottom,  #4a9fb9 0%,#518fc2 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4a9fb9', endColorstr='#518fc2',GradientType=0 );
    color: #fff;
	}

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

.topmenu ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 6px;
    min-width: 170px;
    display: block;
    background: #525252;
    max-height: 0;
    overflow-y: hidden;
    transition: all 0.2s;
	}

/*nav.fixed .topmenu ul li ul {
    background: #2e2e2e;
	}*/

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

.topmenu ul li ul li {
    display: block;
    padding: 10px;
	}
	
.topmenu ul li ul li:last-child {
	margin-bottom: 10px;
	}

/* .inner-nav.slide {
	display: none;
	} */
	
/* .inner-nav.slide.fixed {
	display: block;
	} */

.hamburger {
    display: none;
	}

nav p {
    padding: 0;
    margin: 0;
    display: inline-block;
	}

/* Slider block*/
.slider-block {
    text-align: center;
    position: relative;
    /* max-height: 900px; */
    overflow: hidden; 
    }

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

.maintext-block {
    text-align: center;
    position: absolute;
    top: 80px;
    left: 100px;
    width: 540px;
    padding: 0 0 20px 10px;
    z-index: 11;
    background: rgba(4,4,4,0.55);
    }

.maintext-block h2 {
    font-size: 37px;
    color: #fff;
    font-weight: 400;
    font-family: 'Cabin',sans-serif;
    }

.maintext-block ul {
    padding: 0;
    margin: 0;
	}

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

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

.maintext-block ul li a {
    font-size: 22px;
    color: #fff;
    font-weight: 500;
    font-family: 'Cabin', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
	}

.maintext-block ul li a:hover {
    text-decoration: underline;
	}

.subtext-block {
    font-family: 'Roboto',sans-serif;
    text-align: center;
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    z-index: 11;
    font-size: 30px;
    font-weight: 300;
    color: #fff;
    box-sizing: border-box;
    background: rgba(4,4,4,0.55);
    padding: 15px 0 15px;
    }

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

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

/* About block*/
.about-block {
    padding: 50px 0;
    background: #f4f4f4;
	}

.about-block h2 {
    font-family: 'Cabin', sans-serif;
    font-size: 48px;
    text-align: center;
    font-weight: 400;
    color:#151515;
    padding-bottom: 20px;
    margin: 0 auto 20px auto;
    position: relative;
	}

.about-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -35px;
    width: 70px;
    height: 5px;
    background-color: #518fc2;
	}

.about-box p {
    color: #fff;
    text-align: left;
	}

.about-block .image {
    float: left;
    padding: 0 15px 15px 0;
    box-sizing: border-box;
    max-width: 34%;
    text-align: center;
	}

.about-block .image img {
    max-width: 100%;
    box-shadow: 3px 5px 3px rgba(0,0,0,0.2);
    display: block;
    margin-bottom: 15px;
	}

/*Doctors block*/
.doctors-block {
    padding: 50px 0;
	}

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

.doctors-block h2 {
    font-weight: 400;
    font-family: 'Cabin', sans-serif;
    color: #151515;
    font-size: 44px;
    text-align: center;
    padding-bottom: 20px;
    margin: 0 auto 20px auto;
    position: relative;
	}

.doctors-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -35px;
    width: 70px;
    height: 5px;
    background-color: #518fc2;
	}

.doctors-block .doctor {
    display: inline-block;
    padding: 15px;
    box-sizing: border-box;
	}

.doctor a {
    font-size: 20px;
    color: #518fc2;
    font-weight: 700;
	}

.doctors-block .doctor img {
    max-width: 100%;
    box-shadow: 3px 5px 3px rgba(0,0,0,0.2);
    display: block;
    margin-bottom: 15px;
    transition: all 0.3s;
	}

.doctors-block .doctor:hover img {
    transform: scale(1.02);
	}

/*Locations block*/
.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(0 0 0 / 85%);
    text-align: center;
	}

.loc h2 {
    font-weight: 400;
    color: #518fc2;
    font-family: 'Cabin', sans-serif;
    font-size: 44px;
    margin: 0;
	}

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

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

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

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

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

.loc .note {
 	margin-top: 5px;
  	color: #fff;
  	text-align: center;
  	font-size: 16px;
}

/*Blogs block*/
.blogs-block {
	padding: 50px 0;
	text-align: center;
    background-image: linear-gradient(to bottom, rgb(61 114 157 / 80%), rgb(61 114 157 / 80%)), url(../images/blogs-bg.jpg);
	background-size: cover;
  	background-position: center;
    background-repeat: no-repeat;
	}

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

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

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

.blogs-list ul li {
    list-style: none;
    display: block;
    padding: 8px 0 8px 15px;
    position: relative;
	}

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

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

.blogs-list ul li a:hover {
    text-decoration: underline;
	}

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

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

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

.connect-block h3 {
    font-family: 'Cabin', sans-serif;
    font-weight: 400;
    font-size: 44px;
    color: #444444;
    text-align: center;
    padding: 30px;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
	}

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

.connect-block .social-btn {
    font-size: 14px;
    color: #fff;
    height: 26px;
    padding: 3px 15px 3px 35px;
    box-sizing: border-box;
    border: 1px solid #518fc2;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0 2px;
    display: inline-block;
    vertical-align: middle;
	}

.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) #518fc2 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: #518fc2;
	}

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

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

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

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

.bot-social-btns {
    display: inline-block;
    vertical-align: middle;
    padding: 0 15px;
	}

.bot-social-btns div {
    height: 45px;
    width: 45px;
    box-sizing: border-box;
    border: 1px solid #518fc2;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0 2px;
    display: inline-block;
    vertical-align: middle;
	}

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

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

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

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

/*Footer*/
footer {
    background: #042138;
	}

footer .content {
    text-align: center;
	}

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

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

footer h4 {
    font-size: 18px;
    font-weight: 400;
    color: #518fc2;
    margin-top: 0;
    padding-top: 0;
	}

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

.quick-links-block ul li {
    display: block;
    list-style: none;
    padding: 2px 0;
    color: #d1d1d0;
    font-size: 18px;
    line-height: 25px;
    text-decoration: none;
	}

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

.quick-links-block ul li a:hover {
    text-decoration: underline;
	}

.quick-links-block ul ul {
  	margin: 3px 0 0 5px;
	}

.bottom-loc-block {
    display: inline-block;
    vertical-align: top;
    padding: 30px 0 30px 30px;
    text-align: left;
    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-left a, .copy-right a {
    color: #6e6d6d;
    text-decoration: none;
	}

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

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

.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;
	}

/*Joomla corrections*/
.social-btns p, .top-phone p, .connect-block p, .doctors-block h2 p, .topline p {
    display: inline-block;
    padding: 0;
    margin: 0;
	}

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

.social-btns a:hover {
    color: #518fc2;
	}

/*Inner pages*/
.inner-pages {
    background: #ffffff;
    padding-bottom: 30px;
	}

.inner-pages a {
    color: #518fc2;
	}

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

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

.inner-pages .page-header h2 {
    font-family: 'Cabin', sans-serif;
    font-size: 48px;
    color: #151515;
    text-align: center;
    font-weight: 400;
    position: relative;
    padding: 20px 0;
    margin: 0 auto 20px auto;
    position: relative;
	}

.inner-pages .page-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -35px;
    width: 70px;
    height: 5px;
    background-color: #518fc2;
	}

#one {
    float: left;
    width: 49%;
    padding-right: 2%;
    margin-bottom: 20px;
	}

#two {
    width: 49%;
    float: right;
    margin-bottom: 20px;
	}

#offices {
    margin: 0;
    width: 100%;
    float: left;
	}

#address {
    float: left;
    width: 45%;
    margin-bottom: 20px;
	}

#week {
    float: left;
    width: 105px;
    margin-bottom: 20px;
	}

#hours {
    float: left;
    width: 150px;
    margin-bottom: 20px;
	}

.office-note {
  	display: inline-block;
  	margin: 0 auto;
}
	
.coloredtext.semi {
	font-weight: 600;
	}
	
#offices.img {
	text-align: center;
	margin: 0 0 5px 0 !important;
	}
	
#offices.img img {
	margin: 5px 5px 15px 5px ;
	}

	
#offices.images {
	text-align: center;
	margin: 5px auto 30px;
	}

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

.staff-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px auto;
	}

.staff-wrap .staff {
    margin: 0 0px 10px 10px;
    font-size: 20px;
    color: #518fc2;
    font-weight: bold;
    text-align: center;
    height: auto;
    width: 250px;
	}

.staff-wrap .staff img {
    margin-bottom: 10px;
	}

.staff-wrap .staff span {
    display: block;
    font-size: 18px;
	}

/*K2*/
div.latestItemsCategory {
    background: transparent;
    border: none;
    border-radius: 4px;
    margin: 0;
    padding: 0;
	}

div.latestItemsCategory h2 {
   display: none;
	}

h2.latestItemTitle a {
    color: #518fc2;
	}

#k2Container {
    padding-top: 30px;
	}

div.itemToolbar {
    display: none;
	}

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

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

.clearList {
    display: none !important;
	}

/*Joomla K2 content*/

body#homepage .contenth {display: none;}
.contentblog {
    background: #ffffff;
	}

.contentfull {
	flex-wrap: wrap;
    display: flex;
    background: #ffffff;
    padding-bottom: 30px;
  	max-width: 1300px;
  	margin: 0 auto;
	}

.divContent {
	flex: 0 0 80%;
	/*max-width: 1000px;
	float: left;*/
	}

.divRight {
	flex: 0 0 20%;
	/*max-width: 300px;
	float: right;*/
	}

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

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

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

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

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

div.genericItemReadMore {
    display: none !important;
	}

div.k2ArchivesBlock ul li a {
	color: #1461ba;
	font-weight: 500;
	}

/*Our Doctor*/

.inner-pages .doctor {
    float: right;
	margin: 0 0px 10px 10px;
	font-size: 20px;
	color: #518fc2;
	font-weight: bold;
	text-align: center;
	height: auto;
    width: 250px;
	}

.inner-pages .doctor img {
	margin-bottom: 10px;
	}

.osmap-sitemap .even {
    padding: 2px 0;
	}

.formTableLayout {
  	margin: 0 auto;
	}

.formTableLayout input#Send {
	background: #043156;
    color: #fff;
    border-color: #043156;
    padding: 5px 30px;
    border-radius: 5px;
    font-size: 19px;
    font-weight: normal;
    font-family: 'Lato', sans-serif;
    border: 2px solid transparent;
	}

.formTableLayout input#Send:hover {
    background: transparent;
    color: #043156;
    border-color: #043156;
    border: 2px solid;
    cursor: pointer;
	}

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

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

table.pe ul {
  	margin: 0;
	}

@media only screen and (max-width: 1650px) {
.maintext-block {
    top: 20px;
    }
}

@media only screen and (max-width: 1460px) {
/*Slider block*/
.maintext-block {
    width: 430px;
    top: 15px;
    }

.maintext-block h2 {
    font-size: 28px;
    margin: 20px 0 10px 0;
    }

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

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

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

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

@media only screen and (max-width: 1250px) {
.maintext-block {
    top: 10px;
    }

/*Locations block*/
.loc h2 {
	font-size: 34px;
    }

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

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

/*Inner pages*/
#address {
	width: 100%;
    }
  
#map iframe {
    height: 587px;
  	}
}

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

.topmenu ul li {
    font-size: 15px;
    }

.topmenu ul li.parent:after {
    top: 7px;
    }

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

/*Connect block*/
.connect-block h3 {
	padding: 15px 0;
	margin: 0;
	display: block;
    }
  
.bot-social-btns {
    display: none;
	}

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

/*Footer*/
.logo-footer {
	max-width: 330px;
    }
}

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

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

.topmenu ul li  {
    font-size: 14px;
    }

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

/*Slider block*/

.maintext-block {
    width: 310px;
    padding: 0 0 15px 5px;
    }

.maintext-block h2 {
    font-size: 20px;
    margin: 12px 0 7px;
    }

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

.maintext-block ul li:before {
    width: 17px;
    height: 17px;
    }   

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

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

/*Locations block*/
.loc h2 {
	font-size: 26px;
    }

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

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

.loc .shedule {
	font-size: 16px;
    }
  
/*Sidebar*/
	
.divContent {
	flex: 0 0 70%;
	}
	
.divRight {
    flex: 0 0 30%;
	}

/*Footer*/
.logo-footer {
	display: block;
	margin: 0 auto;
    }
}

@media only screen and (max-width: 890px) {
.toploc a {
	font-size: 24px;
	line-height: 24px;
    }

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

/*Navbar*/

#homepage nav {
    background: #ffffff;
    position: relative;
    }

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

.hamburger--slider.is-active .hamburger-inner {
    transform: translate3d(0,10px,0) rotate(45deg);
    position: fixed;
    top: 25px;
    }

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: #ffffff;
	transition: all 0.3s;
	margin: 0;
    }

.topmenu.active {
	top: 0;
    }

.topmenu ul {
	display: block;
	padding: 80px 15px 15px 15px;
    }

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

.topmenu ul li.parent:after {
	display: none;
    }

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

.topmenu ul li ul {
	position: relative;
	top: 0;
	left: 0;
	width: auto;
	display: block;
	background: transparent;
	max-height: 3000px;
	overflow-y: visible;
	padding: 5px 0 0 0;
	margin: 0;
    }

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

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

.topmenu ul li:hover ul {
	overflow-y: visible;
	padding: 5px 0 0 0;
    }
	
.topmenu ul li ul li:last-child {
	margin-bottom: 0;
	}

.top-right {
	text-align: left;
	align-items: flex-start;
	/*margin: 0 auto 0 0;*/
	padding: 2px 0 0 0;
    }

nav .content {
	display: flex;
    }

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

/*Slider block*/
.maintext-block {
    width: 315px;
    left: 80px;
    top: 43%;
    }

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

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

.maintext-block ul li:before {
    width: 12px;
    height: 12px;
	top: 3px;
    }

.slider-block video {
    display: none;
    }

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

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

.maintext-block {
    padding-top: 1px;
    position: relative;
    top: 0;
    margin: 50px auto 40px;
    left: 0;
    }

.subtext-block {
    position: relative;
    bottom: 0;
    padding: 13px 15px 15px 15px;
    }

table.pe td {display: block;}
	
table.pe ul {margin: 0;}

#offices .nivo-slider-wrapper {
	display: block;
    }  
  
#map iframe {
    height: 568px;
  	}
}

@media only screen and (max-width: 825px) {
.topline .content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    }

.top-right {
    order: 1;
    }

.top-buttons {
    order: 2;
    }

.top-right {
    order: 1;
    }
}

@media only screen and (max-width: 800px) {
/* Slider Block */
.maintext-block {
    top: 38%;
    }
}

@media only screen and (max-width: 768px) {
#address {
	float: left;
	width: 100%;
	}
  
#map iframe {
    height: 450px;
  	}
	
table.pe td {
	padding-right: 1px;
	}
}

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

.btn {
	width: 100%;
	max-width: 180px;
	border-radius: 5px;
	padding: 10px 10px;
	font-weight: 600;
	font-size: 14px;
    }
  
/*Sidebar*/
	
.divContent {
	flex: 0 0 70%;
	}
	
.divRight {
    flex: 0 0 30%;
	}

/*About block*/
.about-block h2 {
	font-size: 28px;
    }

.about-block .image {
	float: none;
	padding: 0;
	margin: 0 auto;
	max-width: 350px;
    }

/*Doctors block*/
.doctors-block h2 {
	font-size: 28px;
    }

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

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

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

.loc {
	flex: 100%;
    }

/*Blogs block*/
.blogs-block {
	text-align: center;
    background-image: linear-gradient(to bottom, rgb(61 114 157 / 80%), rgb(61 114 157 / 80%)), url(../images/blogs-bg-mob.jpg);
	background-size: cover;
  	background-position: center;
    background-repeat: no-repeat;
    }

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

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

/*Connect block*/
/*.connect-block {
	padding-bottom: 15px;
    }*/

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

/*Footer*/
footer .content {
	text-align: left;
    }

.logo-footer {
	display: block;
	vertical-align: top;
	padding: 15px 0;
	max-width: 90%;
    }

.copy-left, .copy-right {
	float: left;
	padding: 15px 30px;
	font-size: 12px;
    }

footer h4 {
	font-size: 14px;
    }

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

.quick-links-block ul li {
    font-size: 14px;
    line-height: 18px;
    }

.bottom-loc-block {
	font-size: 14px;
	line-height: 18px;
    }

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

/*Inner pages*/
.inner-pages .page-header h2 {
	font-size: 28px;
    }

#one {
	float: none;
	width: 100%;
	padding-right: 0;
    }

#two {
	float: none;
	width: 100%;
	margin-bottom: 20px;
    }
}

@media only screen and (max-width: 740px) {
.topline .content {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: start;
    -moz-box-align: start;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
    }

.social-btns {
    -webkit-box-ordinal-group: 1;
    -moz-box-ordinal-group: 1;
    -ms-flex-order: 1;
    -webkit-order: 1;
    order: 1;
    margin-top: 3px;
    flex: 0 0 100% !important;
    justify-content: center;
    }

.top-buttons {
    -webkit-box-ordinal-group: 3;
    -moz-box-ordinal-group: 3;
    -ms-flex-order: 3;
    -webkit-order: 3;
    order: 3;
    margin: 0 auto;
    padding: 5px 0;
    flex-wrap: wrap;
    flex: 0 0 100%;
    margin: 4px 0 0;
    justify-content: center;
    }

.top-right {
    -webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
    margin-top: 3px;
    flex: 0 0 100% !important;
    justify-content: center;
    }

.toploc {
    margin: 5px 10px;
    }
}

@media only screen and (max-width: 730px) {

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

@media only screen and (max-width: 700px) {

.copy-left, .copy-right {
    float: none;
    padding: 0px 2% 10px;
    width: 95%;
	text-align: center;
	}
}

@media only screen and (max-width: 630px) {
/*Nav*/
.toploc {
    font-size: 18px;    
    }

.toploc a {
    font-size: 22px;
    line-height: 24px;
    }

nav .fb-wrap {
	width: 30px;
	height: 30px;
    }

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

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

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


@media only screen and (max-width: 590px) {

.topline .content {
    flex-wrap: wrap;
    }


/*Sidebar*/
	
.divContent , .divRight {
	flex: 0 0 100%;
	}
	
.divRight .moduletable {
    padding-left: 5px;
	}

}

@media only screen and (max-width: 550px) {
/*Locations block*/
.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;
    }

/*Footer*/
.logo-footer {
	display: block;
	margin: 0 auto;
    }

.office {
    margin-bottom: 15px;
    }

/*Connect block*/
.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) #518fc2 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) #518fc2 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) #518fc2 no-repeat 5px center;
    }

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

/*Footer*/
.offices-block {
	display: block;
    }

/*Our Doctor*/
.inner-pages .doctor {
	float: none;
	margin: 0 auto 10px;
	height: auto;
	width: 100%;
	}
	
tbody#rsform_3_page_0 td , tbody#rsform_4_page_0 td {
	display: block;
	}

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

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

#cal4_0Container td {
	display: table-cell !important;
	}
	
img.pe {
	margin: 0 10px 0 !important;
	float: none !important;
	}
}

@media only screen and (max-width: 480px) {	
.top-right {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    }

 .toploc {
    margin: 5px auto;
    }

}

@media only screen and (max-width: 440px) {	
.topline {
    padding: 5px 10px;
	}
	
img.pe, img.se {
	margin: 0 0 5px !important;
	max-width: 100%;
	float: none !important;
	}
	
.offices.img img {
    margin: 5px 0 15px 0;
	}
}