/*
Theme Name:  Healence Homeo Clinic
Author URI: https://www.thegeminigeeks.com/
Version: 1.1
Author: The Gemini Geeks
Description: A theme by The Gemini Geeks
*/
:root {
  /* Color Variables: */
--primarycolor:#000;
--secondarycolor:#43840b;
--tertiarycolor:#0175ad;
  /* Font Variables: */
--primaryfont:"Poppins", sans-serif;
--secondaryfont:"Lato", sans-serif;
}
*{margin: 0;padding: 0;}
body {margin: 0;padding: 0;background: #fff;font-family: var(--secondaryfont);-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;color:var(--primarycolor);font-weight: 400;font-size: 1rem;line-height: 1.8;text-rendering: optimizeLegibility;}
a img {border: none;}
a {color:var(--primarycolor);text-decoration: none !important;transition:0.8s;transition: all 0.8s ease;-moz-transition: all 0.8s ease;-ms-transition: all 0.6s ease;-webkit-transition: all 0.8s ease;-o-transition: all 0.8s ease;}
a:hover {transition:0.8s;text-decoration: none;color: var(--secondarycolor);}
.clear {clear: both;}
.divider {clear: both;border-bottom: 1px solid #ddd;margin: 0 0 1.2rem 0;padding: 20px 0 0 0;}
.alignleft{float:left;margin:0 10px 0 0;}
.alignright{float:right;margin:0 0 0 10px;}
.aligncenter{display:block;margin:0 auto;}

#scroll {position: fixed;right: 10px;bottom: 10px;cursor: pointer;width: 40px;height: 40px;background-color: var(--secondarycolor);text-indent: -9999px;display: none;-webkit-border-radius: 60px;-moz-border-radius: 60px;border-radius: 60px;z-index: 999;}
#scroll span {position: absolute;top: 50%;left: 50%;margin-left: -8px;margin-top: -12px;height: 0;width: 0;border: 8px solid transparent;border-bottom-color: #ffffff;}
#scroll:hover {background-color:var(--tertiarycolor);opacity: 1;filter: "alpha(opacity=100)";-ms-filter: "alpha(opacity=100)";}

.inner {width: 1170px;margin: 0 auto;max-width: 100%;}
.overlay {position: absolute;left: 0;right: 0;top: 0;bottom: 0;background-color: #5C2AB5CF;}

.header_area {position:relative;top: 0;left: 0;width: 100%;z-index: 999;transition: background 0.4s, all 0.3s linear;padding:10px 0}
.header_area .row{align-items:center}

#logo .site-title {float:left;}
#logo .site-title a{color:var(--primarycolorcolor);font-size: 1.5rem;}
#logo img{width:240px;}

.topbar {display: flex;align-items: center;justify-content: end;font-size:16px;margin-bottom: 1rem;}
.topbar img{width:40px;margin-right:10px}
.topbar a{display: flex;align-items: center;margin:0 5px;font-weight: 600}
.topbtn{background:var(--tertiarycolor);padding:8px 0.8rem;border-radius: 0.5rem;text-transform: uppercase;color:#fff;margin-right:0}
.topbtn:hover{background:var(--secondarycolor);color:#fff}
.topbtn img{width:25px;margin-left:10px;margin-right:0}

.site-menu-toggle{display: none;}

h1,h2,h3,h4,h5,h6 {margin: 0 0 0.6rem 0;color: #000;line-height: 1.2;font-family: var(--primaryfont);transition:0.6s ease}

h1 {font-size: 2.4rem;}
h2 {font-size: 2.3rem;;letter-spacing: 1px}
h3 {font-size: 23px;}
h4 {font-size: 20px;}
h5 {font-size: 18px;}
h6 {font-size: 16px;}
.menu-bar {text-align: left;width: 30px;}
.menu-bar span {height:2px;background:var(--secondarycolor);display:block;margin-bottom:6px}
.menu-bar span:nth-child(1) {width:17px}
.menu-bar span:nth-child(2) {width:30px}
.menu-bar span:nth-child(3) {width:15px;margin-left:auto;margin-bottom:0}
.call-now-button {animation: animationFramesTwo 1.5s infinite linear alternate;}
.call-now-button {
	animation: animationFramesTwo 1.5s infinite linear alternate;
}
@keyframes animationFramesTwo {
 0% {
  transform:scale(1)
 }
 50% {
  transform:scale(1.1)
 }
 100% {
  transform:scale(1)
 }
}

#scrolleffect {padding-top: 6.25rem; margin-top: -6.25rem;}
.smalltext{text-transform: uppercase;letter-spacing: 5px;display: block;text-align: center}

.btn-primary{background:var(--secondarycolor);padding: 0.7rem 1.5rem;margin: 2rem 0 0;display:inline-flex;align-items: center;color:#fff;transition: .6s ease-in-out;text-transform: uppercase;/*! font-weight:600; */letter-spacing: 1px;border-radius: 10px}
.btn-primary img{width:25px;margin-left:10px;transition: 0.6s ease-in-out;}
.btn-primary:hover img{transform: rotate(360deg)}
.btn-primary:hover{background:var(--tertiarycolor);color:#fff}

.more-btn{padding: 0.6rem 1.5rem;border: 1px solid var(--secondarycolor);margin:2rem 0 0;display:inline-block;letter-spacing: 1px;border-radius: 10px;text-transform: uppercase;/*! font-weight: 600; */}
.more-btn:hover{background:var(--secondarycolor);color:#fff !important; }

.twobtns{display: flex;align-items: center;gap: 1rem;;margin-top:2rem}
.twobtns a{margin-top:0 !important}

#slider{position:relative;background: url('https://www.healencehomeoclinic.com/wp-content/uploads/2025/04/healencehomeoclinic-Slider-BG.jpg') no-repeat center / cover;padding:3rem 0;}
.navigation-wrapper{position:relative}
#slider .keen-slider img{margin: 0 auto}
#slider .row{align-items: center;margin-top:3rem}
#slider h1{color:#fff;letter-spacing: 2px;margin-bottom: 1.5rem;}
#counter .row{gap: 1rem;justify-content: center}
#counter .cbox{flex:1 0 160px;max-width:180px}
#counter .ctitle{font-weight:600;font-size:17px;color:#fff;text-transform: uppercase;letter-spacing: 0.5px;text-align: center;}
#counter .progressbar-text{font-weight: 900;font-size:3rem;/*! left: 0 !important; */}
#first-circle,
#second-circle,
#third-circle,
#fourth-circle  {margin: 0.1em 0; width: 100%;  height:60px;position: relative;}

.slider-nav {width: 95%;
  margin:10px auto;
  position: absolute;
  left: 0rem;
  right: 0rem;
  top: 40%;
z-index: 3;
}
button.arrow {background:#f1f1f1;color:#555;border:none;padding:5px 10px;font-size:20px;border-radius:100%;width:30px;height: 30px;cursor:pointer;line-height:100%}
button.arrow:hover {color:#000;}
button.arrow--left {float:left;}
button.arrow--right {float:right;}
.textblock{width: 93%;color: #fff;}

#aboutus{width: 100%;padding: 4rem 0 6rem}
#aboutus .row{align-items: center}
#aboutus p{margin-top:1rem;text-align: justify}
.smallheading{text-transform: uppercase;font-size:1.5rem;letter-spacing: 1px;color:var(--secondarycolor);position: relative;display:inline-block}
.smallheading:before{content:"";position: absolute;width:100px;height: 3px;right:-7rem;background:var(--secondarycolor);top:1.3rem}

#fiveboxes{background:url('https://www.healencehomeoclinic.com/wp-content/uploads/2025/04/healencehomeoclinic-Homeopathy-Bg.jpg') no-repeat center / cover;padding: 4rem 0;text-align: center}
#fiveboxes h2{color:#fff}
#fiveboxes .row{justify-content: center;margin-bottom:-12rem;margin-top:3rem}
#fiveboxes .box{flex:1 0 234px;background:#f1f1f1;padding: 2rem;border:1px solid #ccc;transition: 0.6s ease-in-out;}
#fiveboxes img{width:90px;margin: 0 auto 1rem}
#fiveboxes .title{font-size:1.6rem;font-weight:700;line-height: 1.2;font-family: var(--primaryfont)}
.box:hover{transform: scale(1.05);box-shadow: 0px 5px 10px rgb(0,0,0,0.5)}

#diseases{padding:15rem 0 4rem}
#diseases .col-md-6:first-child{border-right:2px solid #888;padding-right:2rem}
#diseases .col-md-6:nth-child(2){padding-left:2rem}
.diseasesrow{gap:3rem 0.7rem;justify-content: center;margin-top:4rem}
.diseasesbox{flex:1 0 250px;text-align: center;max-width: 400px;position:relative}
.diseasetitle{font-size: 22px;  font-family: var(--primaryfont);  font-weight: 600;  line-height: 1.2;  transition:
0.6s ease-in-out;  margin-bottom: 0.8rem;}
.diseasesbox p{line-height:1.4}
.dicon{width: 100px;margin:-3rem auto 1rem;background:var(--tertiarycolor);position: relative;border-radius: 100px;border:8px solid #f1f1f1;padding:1rem;transition:0.6s ease-in-out}
.diseasescontent{padding:0 0.5rem 2rem}
.diseasescontent a{color:#000;font-weight: 600;position: absolute;left: 0;right: 0;bottom:0}
.diseasesbox:hover .dicon{background:var(--secondarycolor)}
.diseasesbox:hover .diseasetitle{color:var(--tertiarycolor)}
.diseasesbox:hover a{color:var(--secondarycolor)}

#why{background:url('https://www.healencehomeoclinic.com/wp-content/uploads/2025/04/healencehomeoclinic-Gradient-Bg.jpg') no-repeat center/ cover;padding:4rem 0;color:#fff}
#why h2,#why .smallheading{color:#fff}
#why .smallheading:before{background:#fff}
#why ul{margin-top:2rem}
#why li{font-size:21px;list-style: none;display:flex;align-items:center;line-height:1.2;margin:1rem 0;letter-spacing: 0.5px;}
#why li span{min-width:55px;height:55px;display:inline-flex;background:#fff;border-radius: 100px;color:var(--tertiarycolor);font-size:2.2rem;font-weight:900;align-items:center;justify-content:center;margin-right:1rem}

#team{width:100%;padding:4rem 0;text-align: center}
#team .smallheading:before{display: none}
#team .row{gap: 1.5rem;justify-content: center;margin-top:2rem}
.teambox{flex:1 0 200px;max-width: 250px;text-align: left;transition: 0.6s ease-in-out;}
.teamimg{background:#f1f1f1;border-radius:8rem 0 0 0;padding-top:2rem;transition: inherit;}
.teamimg img{margin: 0 auto}
.teambox .name{font-size:18px;font-weight: 600;font-family: var(--primaryfont);margin: 10px 0 5px;line-height: 1.2;}
.teambox p{color:var(--secondarycolor);width:80%;line-height: 1.2;font-weight:500;font-size: 14px;}
.teambox:hover .teamimg{background:var(--tertiarycolor)}

.page-id-77 .teamimg{width: 400px;margin: 0 auto;display: table;}
#member1 .row,#member2 .row{align-items: center}
#member1{margin-bottom:3rem;padding-bottom: 3rem;}
#member2{padding-bottom:3rem}

#testimonials{padding: 3rem 0px 6rem;width: 100%;text-align: center}
#testimonials .slider-nav {  width: 108%;	left: -3rem;top:50%}
#testimonials .smallheading:before{display: none}
#testimonials .keen-slider__slide{background:#f5f5f5;border-radius:7rem 0;padding: 2rem 3rem;margin-top:2rem}
#testimonials button.arrow{background:var(--secondarycolor);color:#fff;font-size: 17px;}
.quotes{margin: 0 auto;width: 64px;}
.rating{margin: 1rem auto 0.7rem;width: 150px;}
.testname{font-weight: 600;font-size:1.3rem;margin-top:10px}

.column{column-count: 2;margin:25px 0 !important;}
.column3{column-count: 3;}


#blog{width:100%;float:left;padding:4rem 0;}
#blog h1{text-align: center;}
#blog .col-md-4{margin:3rem 0.5rem 0;width:32%;-webkit-transition-duration: 800ms;transition-duration: 800ms;cursor:pointer;padding:0 0 1.5rem;}
.blog-thumbnail img{width: 100%;height:200px;}
#blog .col-md-4:hover{box-shadow:12px 15px 20px 0px rgba(46,61,73,0.15) ;-webkit-transition-duration: 800ms;transition-duration: 800ms;cursor:pointer;}
#blog .col-md-4 .post-title{font-size: 1.2rem;color:var(--primarycolor);margin:1rem 0;display: block;font-weight: bold;}
#blog .col-md-4 .post-title:hover{color:var(--secondarycolor);}
#blog .col-md-4 p{text-align: justify;margin:0 0 25px;padding:0 15px;}
#blog .col-md-4 .more-link{background:var(--secondarycolor);text-align: center;color:#fff;max-width: 100%;float: right;padding:0.5rem 1rem;margin:0 1rem;border: 2px solid var(--secondarycolor);transition: .6s ease;}
#blog .col-md-4 .more-link:hover{background:transparent;color:var(--primarycolor);border-color: var(--secondarycolor);}

#single-post {padding:3rem 0;}
#single-post .post-title{font-size:1.5rem;color:var(--primarycolor);margin:1rem 0;display: block;border-bottom: 1px solid #eee;line-height: 3rem;}
#single-post .post-title:hover{color:var(--secondarycolor);}
#single-post p{margin-bottom: 25px;text-align:justify;}
#single-post img{max-width: 100%;height: auto;margin-bottom:25px;}
#single-post #featured-img img{max-width: 100%;display: block;margin-top:35px;height: auto;}

.contactpage h3{font-size:24px;font-weight: 500}
.contactpage p{font-size:17px;color:#666}
.info{display: flex;align-items: center;padding:1.7rem 0;border-bottom: 1px solid #ccc;}
.info:last-child{border: 0}
.infoicon{width:60px;background:var(--secondarycolor);border-radius:100px;padding:1rem;margin-right:10px;transition:0.6s ease}
.infoicon img{filter:invert()}
.info:hover .infoicon{background:var(--tertiarycolor)}
.contactpage .col-md-7{background:#f1f1f1;padding:1rem;border-radius: 1rem;text-align: center}
.contactpage{align-items: center}
#contactform{}
#contactform *{color:#595966;font-family: var(--primaryfont);font-size:15px}
#contactform p{margin: 0;}
#contactform input,#contactform select{-webkit-border-radius:0px;border:0;padding:10px 15px;height:45px;margin:5px 0;width:100%}
#contactform textarea{width: 100%;height: 125px;background:#fff;border:0;padding: 20px;margin: 10px 0;}
#contactform input:focus, #contactform textarea:focus, #contactform select:focus{outline:none;
	background: rgba(255,255,255,0.5);color:var(--tertiarycolor)}


::-webkit-input-placeholder { /* WebKit browsers */color:#595966 !important;opacity: 1;}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */color:#595966 !important;opacity: 1;}
::-moz-placeholder { /* Mozilla Firefox 19+ */color:#595966 !important;opacity: 1;}
:-ms-input-placeholder { /* Internet Explorer 10+ */color:#595966 !important;opacity: 1;}

#contactform input.wpcf7-submit{background: var(--tertiarycolor);color: #fff;text-transform: uppercase;cursor: pointer;border: none;margin: 15px auto 0;display: table;width:180px;transition: 0.6s ease-in-out;height: 48px;-webkit-border-radius:0rem;}
#contactform input.wpcf7-submit:hover{background: var(--secondarycolor);color: #fff;}

textarea, iframe{max-width: 100%;}
.wpcf7-response-output{color:#595959 !important;background:tranparent !important;border:0px !important}
#contactform .wpcf7-not-valid-tip {background: var(--secondarycolor) !important;}

#babyseat p,#returnjourney p{width: 100%;display: flex;align-items:center}
#contactform .wpcf7-radio{display: flex;}
#contactform .wpcf7-list-item{display: flex}
#contactform .wpcf7-list-item label{width: 100%;}
#contactform .wpcf7-radio input{width:unset}

.post {padding: 10px;margin: 0 0 10px 0;}
.post p {margin-bottom:1rem}
.post p a {font-weight: bold;}
.post a {color: #000;}
.post ul {margin: 10px 0 0px 0px;}
.post ul li {list-style :none;margin: 0 0px 10px 0px;display: flex;list-style-position: inside;}
.post ul li:before{color: var(--secondarycolor);content: "\f00c";margin-right: 8px;font-family:'Font Awesome 5 Free';font-weight:900}
.post .row{align-items: center}
.row-full	{width: 99.335vw;position: relative;margin-left: -49.99vw;left: 50%;background: #eceff4;padding-top: 3rem;}
.content{padding:0 5rem}
.post ul+h3 {margin: 1.5rem 0 0.5rem 0}
.post #doctor-4 .row{/*! align-items: end */}


.about-homeopathy-img{border: 4px solid var(--secondarycolor); border-radius:25px;margin: 1rem 0;}

#pagetitle {padding:5rem 0;background:url('https://www.healencehomeoclinic.com/wp-content/uploads/2025/04/healencehomeoclinic-Homeopathy-Bg.jpg') no-repeat center / cover;color:#fff;background-size:cover;position: relative;width: 100%;}
#pagetitle h1 {color:#fff;font-weight:500}
#pagetitle p {color:#fff;text-align: center;font-size: 20px;}
.breadcrumb {list-style: none;border-radius: 4px;max-width: 100%;font-size: 14px;text-transform: uppercase;background:#fff;display: table;padding:3px 10px;color: var(--primarycolor);}
.breadcrumb a:hover{color:var(--secondarycolor);}
.breadcrumb>li {display: inline-block;}
.breadcrumb>li+li:before {content: "\f101";padding: 0 5px;color: #fff;font-family:'Font Awesome 5 Free';font-weight:900}
/* #pagetitle .breadcrumb> a {color: #fff} */

#service-page .grid{display: grid; grid-template-columns: 63% auto; gap: 1rem 4rem;}

#side-bar .side-item{background: #f1f1f1;border-radius:15px; overflow:hidden;margin-bottom: 2.5rem;}
#side-bar .side-item h3{text-align: center; font-size: 25px; background: var(--tertiarycolor); padding: 0.8rem;border: none;margin-bottom: 0;color: #fff;}

.side-cta{position: sticky; top: 2rem; border-radius: 25px; overflow: hidden}
.side-cta .content-box{position: absolute; top:0; left:0; bottom:0; right:0; display:flex; align-items:end; text-align:center; justify-content: center; padding-bottom: 1.2rem; }
.side-cta .booking-btn{display: flex; text-transform: uppercase; font-weight: 600;font-size:19px; align-items: center; gap: 0.8rem; width: fit-content; }
.side-cta .booking-btn i{font-size:22px;}
.side-cta .booking-btn:hover{letter-spacing:1px}
.fa-chevron-right::before {content: "\f054";}

.side-item ul {padding: 0.5rem 1.2rem;}
.side-item ul li {list-style :none;padding: 8px 0px 8px 2rem;/*! display: flex; */list-style-position: inside;
align-items: baseline;position:relative; border-bottom:1px dashed #ccc; transition:0.5s ease; font-size: 17px;}
.side-item ul li:hover {transform:translatex(10px)}
#main .side-item ul li a{color: #000 ; text-transform: capitalize;text-decoration:none !important;font-size: 16px;}
.side-item ul li:before{color:var(--tertiarycolor);content: "\f21e";font-family: "Font Awesome 5 Free"; font-weight: 900;margin-right:0.6rem; position:absolute;left:0rem;top:11px; font-size:18px; }
.side-item ul li:last-child{padding-bottom: 0;border-bottom: 0;}


#main{padding: 3rem 0;}
#main h2{font-weight:600;color: var(--tertiarycolor);}
#main p{color: var(--primarycolor); font-weight:400;}
#main a{color:var(--primarycolor);}
#main a:hover{color:var(--secondarycolor);}
#main h3{font-weight: 600;}
#main li{list-style: none;line-height: 30px;color: var(--primarycolor);}


#service-page .subhead{color: var(--secondarycolor); text-transform: uppercase; margin-bottom: 1rem; font-weight: 500}
#service-page h2{font-size: 35px;   line-height: 1.4; position: relative; padding-bottom:1.5rem;font-weight: 600;margin-bottom: 1.6rem;text-transform: capitalize;color: #000;}
#service-page h2:before{content:""; position: absolute; bottom: 0 ; left: 0; width: 190px; height: 5px; background: var(--secondarycolor);  }
#service-page  .round-image{width: 100%; border-radius: 30px; margin-top: 2rem}
#service-page h3{border-bottom:1px dashed #ccc; padding-bottom:10px; margin-bottom: 1.2rem; font-size: 25px;text-transform: capitalize;width: 100%;font-weight: 600;}
#service-page p+h3{margin-top: 2.2rem;}


.widget {margin-top:2rem}
.widget h3 {font-weight:500;text-transform:uppercase;font-size:20px;margin-bottom:1.5rem}
.widget ul li {display:flex;list-style-type:none;border-bottom: 1px dashed var(--primarycolor);margin: 0 0 0.8rem 0;}

.paginate{text-align: center;margin:0 auto;}
.wp-pagenavi {clear: both;padding: 1.5rem 0;}
.wp-pagenavi a {display:inline-block;padding: 0.1rem 1.2rem !important;margin: 2px;border: 1px solid #ccc;color: var(--primarycolor);background: #fff;border-radius: 3px;}
.wp-pagenavi a:hover {color: #fff !important;background: var(--secondarycolor);}
.wp-pagenavi span.pages {padding: 0.3rem 1.2rem !important;margin: 3px;border-radius: 3px;border: 1px solid #ccc;}
.wp-pagenavi span.current {padding: 0.7rem 1rem;margin: 3px;font-weight: 700;border: 1px solid #ccc;background: var(--secondarycolor);border-radius: 3px;color: #fff;}
.wp-pagenavi span.extend {padding: 15px;margin: 3px;border: 1px solid #000;color: #fff;background: #000;}
.wp-pagenavi .next-comment-page,.wp-pagenavi .previous-comment-page {padding: 12px 14px;border: 1px solid #aaa;}
.wp-pagenavi a.nextpostslink {font-weight: 500;padding: 0.2rem 1rem !important;color: var(--secondarycolor);}

#bottom {background: url('https://www.healencehomeoclinic.com/wp-content/uploads/2025/04/healencehomeoclinic-Footer-Bg.jpg') no-repeat center / cover;color:#fff;font-size: 15px;padding: 4rem 0 1rem;overflow: hidden;}
.flogo{background: #fff;display: table;padding: 7rem 1rem;margin-top: -7rem;border-radius: 0 0 4rem 4rem;width: 300px;}
.social{display: flex;gap:10px}
.social a{width:36px}
.social a:hover{opacity: 0.8}

#bottom a {color: #fff;}
#bottom a:hover {color:var(--primarycolor);}
#bottom i {color: #fff;margin-right: 0px;}
#bottom .widget h3 {color: #fff;}
#bottom .widget li {border: none;text-decoration: none;color:#fff ;list-style: none;}


.info li{line-height:30px;display:flex;font-weight:300;}
.info .address:before {content: "\f3c5"; margin-right: 10px;font-size: 24px;color:var(--secondarycolor)}
.info .phone:before {content: "\f095"; margin-right: 10px;font-size: 24px;color:var(--secondarycolor)}
.info .email:before {content: "\f0e0"; margin-right: 10px;font-size: 24px;color:var(--secondarycolor)}


#footer {clear: both;margin-top:3rem;text-align: center;font-size:12px;}
.fleft {float: left;}
.fright {float: right;}

.phone-call {width: 50px;height: 50px;left: 20px;bottom: 20px;background:var(--tertiarycolor);position: fixed;text-align: center;color: #ffffff;cursor: pointer;border-radius: 50%;z-index: 999;display: inline-block;line-height: 65px;font-size: 1.6rem;line-height: 50px;animation: shake 1.8s linear infinite alternate;}
.phone-call i{color:#fff;transform: rotate(70deg)}

@keyframes shake{
    50%{transform:scale(1.1)rotate(90deg)}
}


@media screen and (max-width: 981px) {
body {min-width: 230px;}
.desktoponly {display: none;}
.inner {width: 100%;padding: 0%;}
img.alignleft,
img.alignright {float: none;display: block;margin: 10px auto;}
.site-menu-toggle{display: block;color: var(--secondarycolor);}
.site-navbar{display: none;}

#logo{display:flex;align-items:center;justify-content:space-between}
#logo .site-title{margin: 10px 0;}
#logo img{width: 200px;height: auto;float:left;}
  .topbar{display: none}

  #slider{text-align: center;padding:2rem 0}
  .textblock{width: 100%}
  #first-circle,#second-circle,#third-circle{width:160px;text-align: center}
  #slider .row{margin-top:0}
  #slider .btn-primary{margin: 2rem auto 1rem}
  #fiveboxes{padding:4rem 10px}
  #fiveboxes .row{margin: 0}
  #diseases{padding:4rem 0}
  h2{font-size:2rem}
  #diseases .col-md-6:nth-child(2){padding: 0 10px}
  #diseases .col-md-6:first-child{border-right: 0}
  .diseasesrow{padding: 0 10px}
  .flogo{display: table;margin: -6rem auto 0rem;padding: 4rem 1rem;}
	#testimonials .slider-nav {width: 98%;left: 0rem;}
#bottom {width: 100%;display: block;}
.fleft, .fright {float: none;}
  
  #pagetitle h1{text-align: center}
  .breadcrumb{margin:0 auto}
  
  #main h2{font-size: 28px; text-align: center}
  #main p{text-align: justify;}
  #main h3{text-align: center}
  #service-page #main  h2, #service-page #main  h3{font-size: 28px; text-align: left}
  #service-page .grid {grid-template-columns: 100% }
  
  #member2 .content{padding:0 1.5rem}
  #member2 .row{display: flex; flex-direction: column-reverse}
  
  #member1{padding-bottom:2.5rem;padding-top: 1rem;}
  #member2{padding-bottom:2.5rem;padding-top: 1rem;}
  #doctor-1 #member1{padding-top:0 !important;}
}


@media screen and (min-width: 981px) {
.mobileonly {display: none;}
.lefthalf {float: left;width: 48%;}
.righthalf {float: right;width: 48%;}
.site-menu-toggle{display:none;}
}


@media screen and (max-width: 800px) {
  #slider h1{font-size:2rem}
}
@media screen and (max-width: 600px) {
.wp-pagenavi span.pages, .wp-pagenavi a , .wp-pagenavi a.nextpostslink  {padding: 0.3rem 0.6rem !important;}
.wp-pagenavi span.current{padding:0.8rem}
.column, .column3, .column4{column-count:1}
  #why li{font-size:19px}
  #why li span{min-width:50px;height: 50px;font-size:2rem}
  #service-page #main h2{font-size:25px}
  #service-page #main h3{font-size:22px}
  #service-page .subhead{font-size: 15px}
  #side-bar h3{text-align: center !important;}
  #side-bar{padding: 0 15px}
  
  .side-cta .content-box{padding-bottom: 1rem}
	#main .ngg-gallery-thumbnail-box{width: 50% !important;}
	.twobtns{flex-wrap:wrap}
}

@media screen and (min-width: 220px) and (max-width: 420px) {
  h2{font-size:1.9rem}
}

@media screen and (min-width: 421px) and (max-width: 500px) {
#bottom .col-md-3{width: 49%;float: left;word-wrap: anywhere}
}


@media screen and (min-width: 501px) and (max-width: 768px) {
#bottom .col-md-3{width: 47%;float: left;}
}


@media screen and (min-width: 769px) and (max-width: 980px) {

}

@media screen and (min-width: 769px) and (max-width: 1120px) {
#bottom .col-md-3{width: 47%;float: left;}
}


@media (min-width: 576px) {
.container-fluid {
max-width: 540px;
}
}
@media (min-width: 768px) {
.container-fluid {
max-width: 720px;
}
}
@media (min-width: 992px) {
.container-fluid {
max-width: 1040px;
}
}
@media (min-width: 1200px) {
.container-fluid {
max-width: 1350px;
}
}
