/* Vaighai Agro – small additions (popup + form messages). Theme CSS is untouched. */
.pum-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:1999999999;overflow-y:auto}
.pum-overlay.vg-open{display:block;animation:vgFade .35s}
.pum-overlay.vg-open .pum-container{display:block!important;opacity:1!important;position:relative;margin:100px auto 30px;max-width:640px;width:92%;left:auto!important;top:auto!important}
@keyframes vgFade{from{opacity:0}to{opacity:1}}
.vg-msg{padding:12px 16px;margin:0 0 14px;border-radius:4px;font-size:15px;line-height:1.5}
.vg-ok{background:#e8f6ec;border:1px solid #46b450;color:#1e5e2c}
.vg-err{background:#fdecea;border:1px solid #dc3232;color:#8a1f11}
.vg-fm .fm-sum{margin:6px 0 14px}
.vg-fm .fm-sum label{display:block;margin-bottom:6px;font-weight:600}
.vg-fm .fm-sum input{width:120px;max-width:100%;padding:10px 12px;border:1px solid #d2d2d2;border-radius:4px}
img{max-width:100%;height:auto}
@media (max-width:767px){.fusion-body .fusion-builder-row{margin-left:0!important;margin-right:0!important}}
/* footer always at the bottom (short pages showed a grey strip under the footer) */
html,body{background:#fff!important}
#boxed-wrapper{min-height:100vh}
#wrapper{min-height:100vh;display:flex;flex-direction:column}
#wrapper>main{flex:1 0 auto}
/* home banner: image shows if the YouTube background video is slow / blocked */
#vaighai-home-banner{background:url(../uploads/2022/01/home-banner-img.jpg) center center/cover no-repeat!important}
/* Investors pages: even card spacing */
.vg-investor main .fusion-content-boxes,.vg-investor main .content-box-column{margin-bottom:0!important}
.vg-investor main .content-box-wrapper{height:100%}
.vg-investor main .fusion-layout-column{margin-top:12px!important;margin-bottom:12px!important}
.vg-investor main #content{padding-bottom:40px}
.vg-investor #main{padding-top:0!important}
.vg-investor #innerpages-banner-section{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:0!important}
.vg-investor #content{float:none}
/* tablet: "Enquire now" box text was running outside the blue box */
@media (max-width:1024px){
  #global-enquirenow-sec{overflow:hidden}
  #global-enquirenow-sec>.fusion-builder-row{margin-left:0!important;margin-right:0!important;width:100%!important;max-width:100%!important;padding-left:24px!important;padding-right:24px!important;box-sizing:border-box}
  #wrapper img{max-width:100%;height:auto}
}
/* mobile: very large intro headings on product pages */
@media (max-width:640px){
  html body[class] #main .post-content .fusion-text h2.heading,html body[class] #main .post-content .fusion-text h3.heading{font-size:26px!important;line-height:1.25!important}
  #main .fusion-text p{word-wrap:break-word}
  #main .fusion-builder-row-inner>.fusion_builder_column_inner{padding-left:0!important;padding-right:0!important}
}
