/* Additions to the thefacets.com stylesheet: pieces that lived in animate.css / plugins on the old site,
   plus parts the new site adds (form messages, search, lists). Same colours and fonts as the live site. */

body { font-family: 'Raleway', sans-serif; }

/* banners slide in from the left (animate.css "slideInLeft", 1s, .2s delay) */
@keyframes slideInLeft { 0% { opacity: 0; transform: translateX(-2000px); } 100% { transform: translateX(0); } }
.slide-banner .carousel-inner > .item > img, .slide-banner .carousel-inner > .item > a > img { animation-duration: 1s; animation-delay: .2s; animation-fill-mode: both; }
@media (prefers-reduced-motion: reduce) { .slide-banner img { animation: none !important; } }

/* spam trap */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* form feedback */
.form-msg { display: none; margin: 8px 0 0; padding: 8px 12px; font-size: 13px; clear: both; }
.form-msg.alert-success, .form-msg.alert-danger { display: block; }
.enquiry-in1 .form-group { margin: 0; }
.enquiry-in1 .t4 { margin-top: 10px; }
.enquiry-in1 .form-msg { width: 97.5%; margin: 60px 5px 0; }
.getpr .t1, .getpr .t2 { width: 100%; height: 40px; margin: 5px 0; border: 1px solid #f0f0f0; font-size: 13px; padding: 10px; color: #000; box-shadow: none; }
.getpr .t4 { margin-top: 10px; }
#getyourprice .modal-body, #basicModal .modal-body { height: auto; }
.webinar-form .t1, .webinar-form .t2 { width: 100%; height: 40px; margin: 5px 0; border: 1px solid #fff; font-size: 13px; padding: 10px; color: #000; background: #fff; box-shadow: none; }
.webinar-form .t4 { border-radius: 25px; margin-top: 10px; }
.newsletter .form-msg { margin-top: 8px; }
.newsletter .form-msg.alert-success { color: #0b5d1e; }

/* Google translate inside the blue top bar */
.lang .goog-te-gadget-simple { width: 100%; height: 30px; border-radius: 25px; border: 1px solid #fff; background: none; padding: 5px 10px; font-size: 12px; line-height: 18px; }
.lang .goog-te-gadget-simple span, .lang .goog-te-gadget-simple a { color: #fff !important; }
.lang .goog-te-gadget-icon { display: none; }

/* video / photo popups */
.imgpop .modal-body { height: auto; background: #000; text-align: center; }
.imgpop .modal-body img { margin: 0 auto; max-height: 85vh; }
.imgpop-cap { color: #fff; padding: 8px; margin: 0; font-size: 13px; }

/* branch maps (lazy) */
.branch-right iframe { display: block; background: #e9f4fb; }

/* content imported from the old site */
.innerpage .innleft img { max-width: 100%; height: auto !important; }
.innerpage .innleft table { width: 100%; margin: 15px 0; border-collapse: collapse; }
.innerpage .innleft td, .innerpage .innleft th { border: 1px solid #c5e8ff; padding: 8px 10px; vertical-align: top; font-size: 14px; }
.innerpage .innleft iframe { max-width: 100%; }
.innerpage .innleft .content-body { overflow-wrap: anywhere; }
.author-line { margin: 20px 0 0; padding: 10px 0 0; border-top: 1px dashed #ccc; font-size: 14px; }
.author-line a { color: #0072bc; font-weight: 600; }

/* "Share This" row */
.share-this { margin: 25px 0 0; }
.share-this h2 { font-size: 20px; margin: 0; letter-spacing: 1px; }
.share-this .hr1 { margin: 8px 0 12px; }
.share-this ul { margin: 0; padding: 0; }
.share-this li { display: inline-block; list-style: none; margin: 0 6px 6px 0; }
.share-this li a { display: block; width: 36px; height: 36px; line-height: 36px; border-radius: 50%; text-align: center; color: #fff; background: #0072bc; transition: .4s; }
.share-this li a:hover { background: #009bff; }
.share-this li a svg { vertical-align: middle; }

/* experts & branch sliders under inner pages */
.experts .item .expd, .inbrances .item .inbrpd { float: left; }
.expert-box img { width: 110px; height: 110px; object-fit: cover; border-radius: 50%; border: 3px solid #fff; margin: 0 auto 10px; display: block; background: #fff; }
.expert-box { min-height: 290px; }
.expert-box .exbtn1 { background: #fff; color: #0072bc; }
.expert-box .exbtn1:hover { background: #009bff; color: #fff; }
.experts .carousel-inner, .inbrances .carousel-inner { overflow: visible; }
.experts-in { margin-top: 25px; }
.inbrances .thead-left { margin: 0 0 20px; }
.inbrances-box { overflow: hidden; }

/* doctor, team, branch pages */
.team-detail { text-align: center; margin: 0 0 20px; }
.team-detail img { margin: 0 auto; display: block; }
.inner-team { min-height: 380px; margin: 5px 0 10px; }
.inner-team img { max-width: 100%; object-fit: cover; }
.inner-team-in { min-height: 150px; }
.branchpage-map iframe { width: 100%; height: 350px; border: 0; margin: 15px 0 0; }
.branchpage-right .bkbtn { text-align: center; line-height: 32px; margin-top: 10px; }
.branchpage-doc { margin-top: 15px; text-align: center; }
.facility-list { margin: 10px 0 0 20px; }
.clinic-card { margin: 0 0 20px; }

/* blog / news list */
.inner-blog .blog-thumb { width: 100%; height: 190px; object-fit: cover; border-radius: 6px; margin: 0 0 10px; }
.inner-blog .post-date { color: #8e8e8e; font-size: 12px; font-weight: 600; margin: 0 0 6px; }
.inner-blog h2 a, .inner-news h2 a { color: #000; }
.inner-blog h2 a:hover, .inner-news h2 a:hover { color: #0072bc; }
.post-cover { width: 100%; max-height: 420px; object-fit: cover; margin: 0 0 15px; }
.pager-live { margin: 10px 0 0; text-align: center; }
.pager-live a, .pager-live span { display: inline-block; min-width: 36px; height: 36px; line-height: 34px; margin: 0 3px; border: 1px solid #0072bc; border-radius: 25px; color: #0072bc; }
.pager-live span { background: #0072bc; color: #fff; }

/* galleries */
.gal-tabs { margin: 0 0 20px; }
.gal-tabs a { display: inline-block; margin: 0 6px 8px 0; padding: 6px 16px; border: 1px solid #0072bc; border-radius: 25px; font-size: 13px; color: #0072bc; }
.gal-tabs a.active, .gal-tabs a:hover { background: #0072bc; color: #fff; }
.photo-grid .gal-item { display: block; width: 100%; padding: 0; border: 0; margin: 0 0 20px; background: #f0f0f0; overflow: hidden; box-shadow: 0 0 15px rgba(0,0,0,.12); cursor: zoom-in; }
.photo-grid .gal-item img { width: 100%; height: 220px; object-fit: cover; transition: .4s; }
.photo-grid .gal-item:hover img { transform: scale(1.08); }
.video-grid .vid { position: relative; display: block; margin: 0 0 20px; box-shadow: 0 0 15px rgba(0,0,0,.15); background: #000; cursor: pointer; border: 0; padding: 0; width: 100%; }
.video-grid .vid img { width: 100%; aspect-ratio: 16/9; object-fit: cover; opacity: .9; }
.video-grid .vid span.play { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(0,114,188,.9); color: #fff; line-height: 60px; font-size: 22px; }
.video-grid .vid-cap { font-size: 13px; margin: -12px 0 20px; color: #333; }
.reviewv-box a[data-video] { cursor: pointer; }

/* written reviews page */
.inner-testi p { font-size: 14px; line-height: 26px; }

/* contact & appointment */
.contact-card { padding: 15px; margin: 0 0 20px; box-shadow: 0 0 15px rgba(0,0,0,.15); border-top: 3px solid #0072bc; min-height: 250px; }
.contact-card h4 { margin: 0 0 8px; font-weight: 600; color: #0072bc; }
.contact-card p { text-align: left !important; }
.appt-box { padding: 20px; box-shadow: 0 0 20px rgba(0,0,0,.15); }
.appt-box .t1, .appt-box .t2, .appt-box .t3 { width: 100%; margin: 5px 0; padding: 5px 10px; border: none; border-bottom: 1px solid #68c4ff; background: #e5f5ff; box-shadow: none; height: 40px; font-size: 13px; }
.appt-box .t3 { height: 90px; }

/* search & sitemap */
.search-results { margin: 0; padding: 0; list-style: none; }
.search-results li { padding: 12px 0; border-bottom: 1px dashed #ccc; }
.search-results li a { font-size: 16px; font-weight: 600; color: #0072bc; }
.search-results li p { margin: 4px 0 0; }
.search-again { margin: 0 0 20px; }
.search-again input { width: 70%; height: 40px; padding: 5px 10px; border: 1px solid #68c4ff; background: #e5f5ff; }
.search-again button { height: 40px; padding: 0 20px; border: 0; background: #0072bc; color: #fff; text-transform: uppercase; }
.sitemap-list ul { margin-left: 20px !important; }

/* mobile */
@media (max-width: 991px) {
  .expert-box { min-height: 0; }
  .experts .item .expd, .inbrances .item .inbrpd { width: 100%; }
  .inbrances-box { height: auto; }
  .exbtn3 { position: static; margin: 0 0 10px; }
}

/* keep the faded inner banner tall enough for the header even before its image loads */
.inner-banner { min-height: 230px; background: #f3f9fd; overflow: hidden; }
.inner-banner img { min-height: 190px; object-fit: cover; }
@media (max-width: 991px) { .inner-banner { min-height: 0; padding: 0; } .inner-banner img { min-height: 120px; } .booknow { top: 40%; } }
.fixed-div ul li:nth-child(5) span { background: #009bff; }

/* "Book An Appointment" box in the inner-page sidebar (replaces the Ask Doctor form) */
.book-box-in { padding: 10px 20px 5px; text-align: center; }
.book-box-in p { text-align: center !important; font-size: 14px; line-height: 24px; color: #333; margin: 0 0 12px; }
.book-box .book-btn { display: block; border-radius: 25px; color: #fff; text-decoration: none; transition: .4s; }
.book-box .book-btn:hover, .book-box .book-btn:focus { background: #009bff; color: #fff; }
.book-box .book-call { margin: 12px 0 0; font-weight: 600; }
.book-box .book-call a { color: #0072bc; }
.top-banner .enquiry { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
