/* KalaSutra: shared mobile rules for every shortcode, popup and report (loaded with the global stylesheet). */
[class*="ks-"] img,[class*="ks-"] svg,[class*="ks-"] canvas,[class*="kalasutra"] img,[class*="kalasutra"] svg,.arx img,.arx svg{max-width:100%}
[class*="ks-"] svg:not([width]),.ks-chart svg,.ks-chart-box svg{height:auto}
@media (max-width:768px){
 [class*="ks-"] table,[class*="kalasutra"] table,.arx table,.mh-card table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 [class*="ks-"] input:not([type=checkbox]):not([type=radio]),[class*="ks-"] select,[class*="ks-"] textarea,#ksdy input,#ksdy select,#ksdy textarea,#ks_pm input,#ks_pm select{font-size:16px;min-height:40px;max-width:100%}
 [class*="ks-"] button,[class*="ks-"] .button,#ksdy button,#ks_pm button{min-height:40px}
 [class*="ks-"][class*="filters"],[class*="ks-"][class*="actions"],[class*="ks-"][class*="row"],[class*="ks-"][class*="controls"],.ks-kota-filters{flex-wrap:wrap}
 [class*="ks-"][class*="grid"]:not(.ks-av-grid):not(.ks-south-grid):not(.ks-north-grid){grid-template-columns:1fr!important}
 .ks-charts-grid{flex-direction:column!important}.ks-chart-col{width:100%!important;max-width:100%!important}
 .ks-field,.ks-field-loc,.ks-coord{flex:1 1 100%!important;min-width:0!important}
 .ks-multi-dropdown{min-width:0!important;width:calc(100vw - 32px)!important;max-width:100%!important;left:0!important;right:auto!important}
 #ks_pm,#ksbp-card,#ksdy{max-width:100%!important;border-radius:10px}#ks-btrpop{padding:8px!important}#ksbp-card{padding:12px!important}#ksbp-card .ksbp-tab{padding:8px 10px;font-size:13px}
 .arx{font-size:14px}.arx h2.sec{font-size:15px}.arx .g3{grid-template-columns:1fr!important}
 .ksrp-lab{flex:1 0 100%!important}
}
@media (max-width:480px){
 [class*="ks-"][class*="panel"],[class*="ks-"][class*="card"]{padding-left:10px;padding-right:10px}
 [class*="ks-"] h1{font-size:22px}[class*="ks-"] h2{font-size:19px}
}
/* v50: shop / consultation forms (inline 2-column grids), match-making and shared containers */
.kalasutra-module,.ks-shop-container{max-width:100%;box-sizing:border-box}
@media (max-width:640px){
 .ks-shop-container{padding:0 6px!important}.ks-shop-container h1{font-size:24px!important}
 .ks-shop-container [style*="grid-template-columns: 1fr 1fr"],.ks-shop-container [style*="grid-template-columns:1fr 1fr"]{grid-template-columns:1fr!important}
 .ks-shop-container input,.ks-shop-container select,.ks-shop-container textarea{max-width:100%;box-sizing:border-box;font-size:16px}
 .ks-shop-container [style*="width: 800px"],.ks-shop-container [style*="width:600px"]{width:100%!important}
 .kalasutra-module [style*="min-width"]{min-width:0!important}
}
