/* ==========================================================================
   Trail Capital Pharmacy – self-contained theme stylesheet
   (base theme, layout grid, widgets, testimonial slider, animations)
   ========================================================================== */

/* ---------- Base ---------- */
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:'PT Serif',Georgia,serif;font-size:16px;line-height:1.6;color:#666;background:#fff;-webkit-font-smoothing:antialiased}
a{color:#00a4ef;text-decoration:none;transition:color .2s}
a:hover,a:active,a:focus{color:#00a4ef;text-decoration:none;outline:0}
img{max-width:100%;height:auto;border:0;vertical-align:middle}
h1,h2,h3,h4,h5,h6{font-family:'PT Sans',Helvetica,Arial,sans-serif;font-weight:700;color:#333;line-height:1.2}
ul{list-style:none;margin:0;padding:0}
.at-display-inline-block{display:inline-block}
.clearfix:after{content:"";display:table;clear:both}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.skip-link:focus{background:#f1f1f1;clip:auto!important;clip-path:none;color:#21759b;display:block;font-size:14px;height:auto;left:5px;padding:15px 23px 14px;top:5px;width:auto;z-index:100000}
.init-animate{visibility:visible}
#page{overflow:hidden}

/* FA5 core also targets .fa – restore the FA4 font for .fa (FA5 solid is used only via .fas) */
.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased}

/* ---------- Top bar ---------- */
.top-header{background:#088edd;padding:4px 0}
.top-header .socials li,.copy-right .socials li,.footer-ful-width .socials li{display:inline-block;margin:0 2px}
.top-header .socials li a{display:inline-block;color:#fff;font-size:18px;width:34px;height:34px;line-height:34px;text-align:center;transition:color .2s}
.top-header .socials li a:hover{color:#041150}

/* ---------- Contact info bar ---------- */
.info-icon-box-wrapper{background:#f5f5f5;padding:22px 0}
.info-icon-box{margin:0;padding-top:4px;padding-bottom:4px}
.info-icon{float:left;width:50px;text-align:center;font-size:32px;line-height:1.1;color:#666}
.info-icon-details{margin-left:60px}
.info-icon-details .icon-title{font-family:'PT Sans',sans-serif;font-size:20px;font-weight:700;color:#666;margin:0 0 6px;line-height:1.2}
.info-icon-details .icon-desc{display:block;font-size:17px;line-height:1.4;color:#666}
.info-icon-details .icon-desc a{color:#666}
.info-icon-details .icon-desc a:hover{color:#00a4ef}


/* Contact boxes: size to content so long emails/addresses never overlap the next icon */
@media(min-width:992px){
 .info-icon-box-wrapper .row,.site-footer .col-md-9>.row{display:flex;flex-wrap:nowrap;justify-content:space-between}
 .info-icon-box-wrapper .row:before,.info-icon-box-wrapper .row:after,.site-footer .col-md-9>.row:before,.site-footer .col-md-9>.row:after{display:none}
 .info-icon-box-wrapper .info-icon-box,.site-footer .col-md-9>.row>.info-icon-box{float:none;width:auto;flex:0 1 auto;display:flex;align-items:flex-start}
 .info-icon-box .info-icon{float:none;flex:0 0 50px}
 .info-icon-box .info-icon-details{margin-left:10px;min-width:0}
}

@media(min-width:992px){
 .footer-ful-width>.container>.row{display:flex;flex-wrap:nowrap;align-items:flex-start}
 .footer-ful-width>.container>.row:before,.footer-ful-width>.container>.row:after{display:none}
 .footer-ful-width>.container>.row>.col-md-3{float:none;width:auto;flex:0 0 auto;padding-right:30px}
 .footer-ful-width>.container>.row>.col-md-9{float:none;width:auto;flex:1 1 auto;min-width:0}
}
@media(min-width:1200px){
 .info-icon-box-wrapper .icon-desc,.site-footer .col-md-9 .icon-desc{white-space:nowrap}
}
@media(min-width:768px) and (max-width:991px){
 .site-footer .col-md-9>.row>.info-icon-box{width:50%;float:left;margin-bottom:10px}
}

/* ---------- Header / navbar ---------- */
.at-navbar{background:#fff;border-bottom:1px solid #eee;margin:0;min-height:0;padding:10px 0;z-index:9999;position:relative}
.medical-circle-sticky{position:sticky;top:0}
.admin-bar .medical-circle-sticky{top:32px}
@media(max-width:782px){.admin-bar .medical-circle-sticky{top:46px}}
.navbar-toggle{display:none}
.navbar-header{float:none;width:100%;margin:0}
.custom-logo-link{display:inline-block;vertical-align:middle}
.custom-logo-link img{width:230px;height:auto}
.site-title{display:inline-block;vertical-align:middle;font-family:'PT Sans',sans-serif;font-size:30px;font-weight:700;margin:0 0 0 10px;line-height:1.2}
.site-title a,.site-description{color:#00a4ef}
.site-description{margin:0;font-size:18px;line-height:1.5}
.main-navigation{display:none}
@media only screen and (min-width:1100px) and (max-width:1605px){
 a.custom-logo-link{float:left}
 .site-title,.site-title a{float:right;padding-left:10px}
 .navbar-header{display:flex;flex-wrap:wrap}
 p.site-description{flex-basis:100%;padding-left:37%;margin-top:0}
}
@media(max-width:900px){.site-title,.site-title a{margin-top:5px}}

/* ---------- Footer ---------- */
.site-footer{background:#3a3a3a;color:#fff}
.footer-ful-width{padding:40px 0 30px}
.site-footer .socials li a{display:inline-block;color:#fff;font-size:20px;width:34px;height:34px;line-height:34px;text-align:center}
.site-footer .socials li a:hover{color:#00a4ef}
.site-footer .info-icon,.site-footer .info-icon-details .icon-title,.site-footer .info-icon-details .icon-desc,.site-footer .info-icon-details .icon-desc a{color:#fff}
.site-footer .info-icon-details .icon-desc a:hover{color:#00a4ef}
.copy-right{background:#2d2d2d;padding:18px 0;position:relative}
.copy-right p{margin:0;color:#fff;font-size:15px}
.footer-copyright{padding-top:6px}
.copy-right .socials a{display:inline-block;color:#fff;font-size:20px;width:34px;height:34px;line-height:34px;text-align:center}
.copy-right .socials a:hover{color:#00a4ef}
.sm-up-container{position:fixed;right:20px;bottom:20px;width:44px;height:44px;background:#00a4ef;color:#fff;border-radius:6px;z-index:9999;display:flex;align-items:center;justify-content:center;text-align:center;font-size:24px;line-height:1;opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s}
.sm-up-container.is-visible{opacity:1;visibility:visible}
.sm-up-container:hover,.sm-up-container:focus{color:#fff;background:#088edd}
.sm-up-container .sm-up{display:block;line-height:1;margin:0;padding:0;font-size:26px}
@media(max-width:767px){
 .info-icon-box-wrapper{display:none}
 .copy-right .text-right,.copy-right .text-left{text-align:center!important}
 .site-footer .col-md-3{text-align:center;margin-bottom:10px}
 .info-icon-box{margin-bottom:10px}
}

/* ==========================================================================
   Page layout (section / column / widget system)
   ========================================================================== */
.elementor{width:100%}
.elementor-section{position:relative}
.elementor-section .elementor-container{display:flex;margin-left:auto;margin-right:auto;position:relative}
.elementor-section.elementor-section-boxed>.elementor-container{max-width:1140px}
.elementor-section.elementor-section-full_width>.elementor-container{max-width:100%}
.elementor-section.elementor-section-content-middle>.elementor-container{align-items:center}
.elementor-column{position:relative;min-height:1px;display:flex}
.elementor-column-gap-default>.elementor-column>.elementor-element-populated{padding:10px}
.elementor-col-25{width:25%}.elementor-col-33{width:33.333%}.elementor-col-50{width:50%}.elementor-col-100{width:100%}
.elementor-widget-wrap{position:relative;width:100%;flex-flow:wrap;align-content:flex-start;display:flex}
.elementor-widget-wrap>.elementor-element{width:100%}
.elementor-widget{position:relative}
.elementor-widget:not(:last-child){margin-bottom:20px}
.elementor-inner-section .elementor-container{width:100%}
.elementor-element-populated .elementor-inner-section{width:100%}

/* hero block */
.elementor-element-66a5c5d5{background-color:var(--tcp-hero-bg,#f4f9fd);padding:30px 0 40px}
.elementor-element-66a5c5d5 .elementor-container{max-width:100%}
.elementor-element-1a4b7441 .elementor-element-populated{position:relative}

/* headings */
.elementor-heading-title{padding:0;margin:0;line-height:1.2;font-family:'PT Sans',Helvetica,Arial,sans-serif;font-weight:700;text-align:center;color:var(--tcp-title,#041150)}
.elementor-widget-heading .elementor-heading-title.elementor-size-medium{font-size:19px}
.elementor-widget-heading .elementor-heading-title.elementor-size-large{font-size:29px}
.elementor-widget-heading .elementor-heading-title.elementor-size-xl{font-size:39px}
.elementor-heading-title.elementor-size-default{font-size:inherit}
p.elementor-heading-title{font-family:'PT Serif',Georgia,serif;font-weight:400;font-size:20px}
h2.elementor-heading-title.elementor-size-default{font-size:28px}
.elementor-element-3176055 .elementor-heading-title{color:#fff}
.elementor-widget-heading .elementor-heading-title.elementor-size-medium{font-weight:400}

/* buttons */
.elementor-button-wrapper{text-align:center}
.elementor-align-center .elementor-button-wrapper{text-align:center}
.elementor-button{display:inline-block;line-height:1;background-color:var(--tcp-btn,#265C8D);font-family:'PT Serif',Georgia,serif;font-size:15px;color:#fff;fill:#fff;text-align:center;border-radius:3px;padding:12px 24px;transition:all .3s}
.elementor-button.elementor-size-md{font-size:16px;padding:15px 30px;border-radius:4px}
.elementor-button:hover,.elementor-button:focus{color:#fff;background-color:var(--tcp-btn-hover,#A52344)}
.elementor-button .elementor-button-content-wrapper{display:flex;justify-content:center;flex-direction:row;gap:5px}
.elementor-button-text{display:inline-block}
.elementor-widget-button:hover a{color:#fff!important}
.elementor-button-danger .elementor-button{background-color:var(--tcp-btn,#265C8D)}
.elementor-button-danger .elementor-button:hover,.elementor-button-danger .elementor-button:focus{background-color:var(--tcp-btn-hover,#A52344);color:#fff}

/* NEW badge: attached to the top-left corner of the Family Doctor button */
#new_button .elementor-button{position:relative;overflow:visible}
@keyframes tcpBlink{0%,49%{opacity:1}50%,100%{opacity:.15}}
#new_button .elementor-button .label{animation:tcpBlink 1s linear infinite;top:-22px;left:-12px;margin:0;font-family:'PT Serif',Georgia,serif;text-decoration:none}


/* ---------- Uniform button sizing ----------
   Group A (6 buttons: transfer, refill, submit picture, covid, flu, other) – identical size
   Group B (2 buttons: family doctor, minor ailments) – identical size */
.elementor-element-7d1501df .elementor-button,.elementor-element-463f6416 .elementor-button,
.elementor-element-78c9fa5 .elementor-button,.elementor-element-c5954cd .elementor-button,
.elementor-element-b07dc17 .elementor-button,.elementor-element-290319b .elementor-button,
.elementor-element-fd2142d .elementor-button,.elementor-element-9a3c63a .elementor-button{
 display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;margin-left:auto;margin-right:auto;
 line-height:1.25;min-height:52px;padding-top:0;padding-bottom:0;text-wrap:balance}
.elementor-element-7d1501df .elementor-button,.elementor-element-463f6416 .elementor-button,
.elementor-element-78c9fa5 .elementor-button,.elementor-element-c5954cd .elementor-button,
.elementor-element-b07dc17 .elementor-button,.elementor-element-290319b .elementor-button{max-width:480px}
.elementor-element-fd2142d .elementor-button,.elementor-element-9a3c63a .elementor-button{max-width:800px}
@media(max-width:1024px){
 .elementor-section .elementor-element-7d1501df .elementor-button,.elementor-element-463f6416 .elementor-button,
 .elementor-element-78c9fa5 .elementor-button,.elementor-element-c5954cd .elementor-button,
 .elementor-element-b07dc17 .elementor-button,.elementor-element-290319b .elementor-button,
 .elementor-element-fd2142d .elementor-button,.elementor-element-9a3c63a .elementor-button{min-height:68px;padding-left:20px;padding-right:20px}
}
@media(max-width:600px){
 .elementor-element-fd2142d .elementor-button,.elementor-element-9a3c63a .elementor-button{min-height:92px}
 .elementor-element-7d1501df .elementor-button,.elementor-element-463f6416 .elementor-button,
 .elementor-element-78c9fa5 .elementor-button,.elementor-element-c5954cd .elementor-button,
 .elementor-element-b07dc17 .elementor-button,.elementor-element-290319b .elementor-button{min-height:68px}
}


/* Space between the last button row and the main pharmacy heading (gap ≈ 35px) */
.elementor-element-4a05cd55{margin-top:26px}
@media(max-width:1024px){.elementor-element-4a05cd55{margin-top:25px}}
@media(max-width:767px){.elementor-element-4a05cd55{margin-top:22px}}

/* icons & images */
.elementor-widget-icon{text-align:center}
.elementor-icon-wrapper{text-align:center}
.elementor-icon{display:inline-block;line-height:1;transition:all .3s;color:var(--tcp-icon,#041150);font-size:58px;text-align:center}
.elementor-icon i{display:block;line-height:1}
.elementor-widget-image{text-align:center}
.elementor-widget-image img{vertical-align:middle;display:inline-block}
.elementor-element-0f74465,.elementor-element-7d65906,.elementor-element-84bf1d0{margin-bottom:10px}
.elementor-element-ea80889{padding:30px 0 20px}

/* testimonials block */
.elementor-element-fe4a440{background-color:var(--tcp-testi-bg,#2f6fb5);padding:40px 0 20px;max-width:100%}
.elementor-element-fe4a440>.elementor-container{max-width:1140px}

/* entrance animation */
.elementor-invisible{visibility:hidden}
.animated{animation-duration:1.25s;animation-fill-mode:both}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.fadeIn{animation-name:fadeIn}

@media(max-width:1024px){
 .elementor-widget-heading .elementor-heading-title.elementor-size-xl{font-size:34px}
}
@media(max-width:767px){
 .elementor-section .elementor-container{flex-wrap:wrap}
 .elementor-column{width:100%!important}
 .elementor-widget-heading .elementor-heading-title.elementor-size-xl{font-size:26px}
 .elementor-widget-heading .elementor-heading-title.elementor-size-large{font-size:24px}
 .elementor-col-33,.elementor-col-25{margin-bottom:0}
}

/* ==========================================================================
   Testimonial slider
   ========================================================================== */
.sp-testimonial-free-wrapper{width:100%}
.sp-testimonial-free-section{position:relative;margin:0 50px 50px;padding:0}
.sp-testimonial-free-section .tcp-swiper{position:relative;overflow:hidden;padding-bottom:35px}
.sp-testimonial-free-section .sp-testimonial-item{height:auto;box-sizing:border-box}
.sp-testimonial-free{background:transparent;border:1px solid transparent;border-radius:0;text-align:center;padding:10px 20px}
.sp-testimonial-client-testimonial,.sp-testimonial-content{color:#fff;font-size:18px;line-height:1.7}
.sp-testimonial-content p{margin:0 0 15px;color:#fff}
.sp-testimonial-client-name{color:#fff;font-family:'PT Sans',sans-serif;font-size:20px;font-weight:700;margin:0}
.sp-testimonial-free-section .testimonial-pagination{position:absolute;bottom:0;left:0;right:0;text-align:center;line-height:1}
.sp-testimonial-free-section .testimonial-pagination .swiper-pagination-bullet{width:8px;height:8px;margin:0 4px;background:#ccc;opacity:1;border-radius:50%;display:inline-block;cursor:pointer}
.sp-testimonial-free-section .testimonial-pagination .swiper-pagination-bullet-active{background:#1595ce}
.sp-testimonial-free-section .testimonial-nav-arrow{position:absolute;top:calc(50% - 17px);margin:0;width:40px;height:40px;line-height:36px;text-align:center;font-size:30px;background:transparent;border:2px none #777;color:#fff;cursor:pointer;z-index:10;transform:translateY(-50%);transition:all .3s}
.sp-testimonial-free-section .testimonial-nav-arrow:after{display:none;content:none}
.sp-testimonial-free-section .testimonial-nav-arrow:hover{background:#1595ce;border-color:#1595ce;color:#fff}
.sp-testimonial-free-section .swiper-button-prev{left:-45px;right:auto}
.sp-testimonial-free-section .swiper-button-next{right:-45px;left:auto}
@media(max-width:767px){
 .sp-testimonial-free-section{margin:0 10px 40px}
 .sp-testimonial-free{padding:10px 30px}
 .sp-testimonial-free-section .swiper-button-prev{left:-8px}
 .sp-testimonial-free-section .swiper-button-next{right:-8px}
}

@media (prefers-reduced-motion:reduce){#new_button .elementor-button .label{animation:none}}
