/* Brand components are isolated so MasterStudy keeps its own layout and controls. */
body.sbd-enabled #header,body.sbd-enabled #footer,body.sbd-enabled #footer_bottom{display:none!important}
body.sbd-public-page{margin:0;background:#fff}
.shriteck-brand{font-family:'Open Sans',Arial,sans-serif;font-size:15px;line-height:1.75;color:#6f7074;text-align:left;--e-global-color-primary:#336797;--e-global-color-text:#6f7074}
.shriteck-brand *, .shriteck-brand *:before,.shriteck-brand *:after{box-sizing:border-box}
.shriteck-brand img{max-width:100%;height:auto}
.shriteck-brand .elementor-invisible{visibility:visible!important}
.shriteck-brand .elementor-section-stretched{width:100%!important;left:0!important}
#brand-header{position:relative;z-index:1000;background:white}
#brand-header.home{background:transparent;margin-bottom:calc(-1 * var(--brand-nav-height,72px))}
#brand-header #apus-header{display:block!important;margin:0!important}
#brand-header .brand-sticky-wrap{height:auto!important}
#brand-header .elementor-element-d9180a8{display:flex!important;background:#070707!important}
#brand-header .elementor-element-4cdc08a{background:transparent!important}
#brand-header .logo-main{display:block!important;background:#fff;padding:10px 12px;border-radius:6px;box-shadow:none!important}
#brand-header .logo-main img{filter:none!important;height:auto!important;object-fit:contain;width:100%}
#brand-header .transparent-logo{display:none!important}
#brand-header.home #primary-menu>li>a{color:white!important;text-shadow:0 1px 4px #071422}
#brand-header #primary-menu>li>a{color:#101010}
#brand-header .dropdown-menu a{color:#333!important;text-shadow:none!important}
#brand-header .dropdown-menu{background:#fff!important;max-width:calc(100vw - 32px)}
#brand-header #primary-menu>li:hover>.dropdown-menu,#brand-header #primary-menu>li:focus-within>.dropdown-menu,#brand-header #primary-menu>li.brand-open>.dropdown-menu{display:block;opacity:1;visibility:visible;transform:none}
#brand-header .brand-menu-toggle{display:none}
#brand-header .elementor-element-4cdc08a>.elementor-container{align-items:center}
#brand-page-content{clear:both;overflow:hidden}
.shriteck-brand .shriteck-home-hero button.shriteck-hero-toggle{top:auto!important;bottom:14px!important}
.shriteck-brand .slick-track{width:100%!important;transform:none!important}
.shriteck-brand .slick-slide{width:100%!important;float:none!important;display:none!important}
.shriteck-brand .slick-slide.slick-current{display:block!important}
.shriteck-brand .slick-list{height:auto!important}
.shriteck-brand .tab-pane:not(.active){display:none!important}
.shriteck-brand .tab-pane.active{opacity:1;display:block}
.shriteck-brand details:not([open])>div{display:none!important}
.shriteck-brand .e-n-accordion-item-title{cursor:pointer}
.shriteck-brand .brand-program-banner{padding:72px 24px;background:#15334e;text-align:center;color:white}
.shriteck-brand .brand-program-banner h1{font:700 34px/1.3 Nunito,Arial,sans-serif;color:white;margin:0 0 15px}
.shriteck-brand .brand-program-banner a{color:#fff}
.shriteck-brand .brand-program-grid{max-width:1170px;margin:60px auto;display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:45px;padding:0 20px}
.shriteck-brand .brand-program-grid article>img{width:100%;max-height:450px;object-fit:cover;margin-bottom:30px}
.shriteck-brand .brand-program-grid aside{padding:28px;background:#f7f8fa;align-self:start;border:1px solid #eee;border-radius:8px}
.shriteck-brand .brand-cta{display:block;margin:15px 0;padding:13px 18px;background:#336797;color:#fff;border-radius:5px;text-align:center}
.shriteck-brand .brand-cta.secondary{background:white;color:#336797;border:1px solid #336797}
.shriteck-brand .brand-content-page{max-width:1170px;margin:60px auto;padding:0 20px}
.shriteck-brand .tabs-titles{display:flex;flex-wrap:wrap;gap:5px;list-style:none;padding:0}
.shriteck-brand .tabs-titles>*{padding:10px 14px;background:#f3f5f7;cursor:pointer}
.shriteck-brand .tabs-titles>*.active{background:#336797;color:#fff}
.shriteck-brand .tabs-content>*{display:block!important;opacity:1!important}
.shriteck-brand .tabs-content>*+*{border-top:1px solid #eee;padding-top:24px;margin-top:24px}
.shriteck-brand .sbd-enquiry{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}
.shriteck-brand .sbd-enquiry label{font:600 14px/1.5 'Open Sans',Arial,sans-serif;color:inherit}
.shriteck-brand .sbd-enquiry input,.shriteck-brand .sbd-enquiry textarea{display:block;width:100%;padding:12px;margin-top:6px;border:1px solid #ddd;border-radius:5px;background:#fff;color:#222;font:400 15px/1.5 Arial,sans-serif;height:auto}
.shriteck-brand .sbd-enquiry button{padding:12px 24px;border:0;border-radius:5px;background:#336797;color:white;cursor:pointer}
.sbd-contact-rail{position:fixed;right:0;top:38%;z-index:999;display:flex;flex-direction:column;font:13px Arial,sans-serif}
.sbd-contact-rail a{padding:14px 10px;background:#20ce70;color:#fff;text-decoration:none}
.sbd-contact-rail a:first-child{background:#7961d4;writing-mode:vertical-rl;min-height:145px}
#brand-footer{clear:both}
body.sbd-enabled:not(.sbd-public-page) h1,body.sbd-enabled:not(.sbd-public-page) h2,body.sbd-enabled:not(.sbd-public-page) h3{font-family:Nunito,Arial,sans-serif}
body.sbd-enabled:not(.sbd-public-page) .stm_lms_courses__single{border-radius:7px;overflow:hidden}
@media(max-width:1199px){
 #brand-header .elementor-element-d9180a8{overflow-x:auto;white-space:nowrap;padding:5px 12px;}
 #brand-header #menu-top{display:flex;flex-wrap:nowrap;gap:18px}
 #brand-header #menu-top li{margin:0;flex-shrink:0}
 #brand-header .elementor-element-4cdc08a>.elementor-container{display:flex;flex-wrap:nowrap}
 #brand-header .elementor-element-f4d06f9{width:230px!important;max-width:65%;flex-shrink:0}
 #brand-header .elementor-element-596108d{width:auto!important;flex:1;position:static}
 #brand-header .brand-menu-toggle{display:block;margin-left:auto;background:#fff;color:#183d60;border:1px solid #ddd;border-radius:4px;padding:9px 13px}
 #brand-header .navbar-collapse{display:block!important}
 #brand-header #primary-menu{display:none;position:absolute;left:0;right:0;top:100%;background:white;padding:12px 20px;max-height:70vh;overflow:auto;box-shadow:0 5px 10px #0002}
 #brand-header #primary-menu.brand-visible{display:block}
 #brand-header #primary-menu>li{display:block;float:none}
 #brand-header.home #primary-menu>li>a,#brand-header #primary-menu>li>a{color:#222!important;text-shadow:none;padding:12px}
 #brand-header .dropdown-menu{position:static!important;float:none;box-shadow:none!important;width:100%!important;max-width:100%!important}
 #brand-header .dropdown-menu .elementor-column{width:100%!important}
 .shriteck-brand .brand-program-grid{grid-template-columns:1fr}
 .sbd-contact-rail{display:none}
}
@media(max-width:767px){
 .shriteck-brand .brand-program-banner{padding:40px 20px}
 .shriteck-brand .brand-program-banner h1{font-size:26px}
 #brand-header .logo-main{padding:7px 9px}
 #brand-header .elementor-element-f4d06f9{width:200px!important}
 .shriteck-brand .sbd-enquiry{grid-template-columns:1fr}
 .shriteck-brand .elementor-element-6625ace .elementor-column{width:50%!important}
}
@media(prefers-reduced-motion:reduce){.shriteck-brand *{animation:none!important;transition:none!important}}
#brand-header,#brand-page-content,#brand-footer{margin-top:0!important}
#brand-header{position:sticky;top:0}
body.admin-bar #brand-header{top:32px}
#brand-header.sbd-scrolled{background:#fff!important}
#brand-header.sbd-scrolled #primary-menu>li>a{color:#171717!important;text-shadow:none!important}
body.sbd-public-page #wrapper{margin-top:0!important;padding-top:0!important}
.shriteck-brand .shritek-global-breadcrumb{background-image:var(--shritek-breadcrumb-bg);background-size:cover;background-position:center}
.shriteck-brand .shritek-breadcrumb-inner{padding:70px 24px;text-align:center}
.shriteck-brand .shritek-breadcrumb-title{color:#fff;font:700 34px/1.3 Nunito,Arial,sans-serif;text-transform:uppercase}
.shriteck-brand .shritek-breadcrumb-nav,.shriteck-brand .shritek-breadcrumb-nav a{color:#fff}
.shriteck-brand .shritek-breadcrumb-overlay{background:rgba(0,0,0,.32)}
.shriteck-brand #apus-footer{margin:0}
@media(max-width:767px){body.admin-bar #brand-header{top:46px}.shriteck-brand .shritek-breadcrumb-inner{padding:40px 20px}}
html:has(body.sbd-enabled){margin-top:0!important}
body.admin-bar #brand-header{top:0}
@media(max-width:1199px){
 #brand-header #primary-menu{position:fixed!important;top:var(--brand-menu-top,175px)!important;left:12px!important;right:12px!important;width:auto!important;margin:0!important;max-height:65vh!important;z-index:1001;}
 #brand-header #primary-menu>li{width:100%!important;height:auto!important;float:none!important}
 #brand-header #primary-menu>li>a{display:block!important;white-space:normal!important;line-height:1.4!important;width:100%!important}
 #brand-header #primary-menu>li>.dropdown-menu{display:none!important}
 #brand-header #primary-menu>li.brand-open>.dropdown-menu{display:block!important}
 #brand-header #primary-menu .dropdown-menu img{display:none!important}
 #brand-header #primary-menu .dropdown-menu .elementor-container{display:block!important}
 #brand-header #primary-menu .dropdown-menu .elementor-column{width:100%!important;display:block!important}
}

/* Keep submenus outside the header box and inside the viewport. */
body.sbd-enabled #brand-header{overflow:visible!important}
@media(min-width:1200px){
#brand-header #primary-menu>li>.dropdown-menu{position:fixed!important;top:var(--brand-menu-top,145px)!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(1000px,calc(100vw - 48px))!important;max-height:70vh!important;overflow:auto!important;background:#fff!important;color:#222!important;z-index:1005!important}
#brand-header #primary-menu>li.brand-open>.dropdown-menu{display:block!important;visibility:visible!important;opacity:1!important}
#brand-header #primary-menu .dropdown-menu a{color:#222!important}
}

#brand-header .brand-compact-menu{padding:14px!important;min-height:0!important;height:auto!important}
#brand-header .brand-compact-menu>ul{display:grid!important;grid-template-columns:1fr;gap:0 20px;margin:0!important;padding:0!important;list-style:none!important}
#brand-header .brand-compact-menu>ul>li{display:block!important;float:none!important;width:auto!important;margin:0!important;padding:0!important}
#brand-header .brand-compact-menu>ul>li>a{display:block!important;padding:10px 12px!important;line-height:1.45!important;font-size:14px!important;white-space:normal!important;border-bottom:1px solid #eee;color:#222!important}
#brand-header .brand-compact-menu>ul>li>a:hover{background:#edf4fa;color:#336797!important}
@media(min-width:1200px){
#brand-header #primary-menu>li>.brand-compact-menu{width:300px!important;max-height:65vh!important}
#brand-header #primary-menu>li>.brand-menu-columns{width:640px!important}
#brand-header .brand-menu-columns>ul{grid-template-columns:1fr 1fr!important}
}
@media(min-width:1024px){
#brand-page-content .brand-program-grid,#brand-page-content .brand-content-page{width:calc(100% - 64px)!important;max-width:1440px!important;padding-left:0!important;padding-right:0!important}
#brand-page-content .elementor-section.elementor-section-boxed>.elementor-container{width:calc(100% - 64px)!important;max-width:1440px!important}
#brand-page-content .brand-program-grid{grid-template-columns:minmax(0,3fr) minmax(260px,1fr);gap:36px}
}

/* Clear, consistent course tabs. */
#brand-page-content .tabs-nav{margin:0!important;padding:0!important;background:transparent!important}
#brand-page-content .tabs-titles{display:flex!important;flex-wrap:wrap!important;gap:0!important;padding:0!important;margin:0!important;border-bottom:2px solid #dce6ee!important;background:transparent!important;list-style:none!important}
#brand-page-content .tabs-titles>.tab-title{flex:1 1 auto!important;min-width:120px;display:flex!important;align-items:center;justify-content:center;padding:14px 16px!important;margin:0 0 -2px!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:#f4f7fa!important;color:#42576a!important;font:600 14px/1.5 'Open Sans',Arial,sans-serif!important;text-align:center;cursor:pointer;box-shadow:none!important}
#brand-page-content .tabs-titles>.tab-title.active{background:#fff!important;color:#235c8c!important;border-bottom-color:#336797!important}
#brand-page-content .tabs-titles>.tab-title:hover{background:#eaf1f7!important}
#brand-page-content .tabs-titles>.tab-title:focus-visible{outline:2px solid #336797;outline-offset:-4px}
#brand-page-content .tab-title-media{display:none!important}
#brand-page-content .tabs-content{padding:24px!important;border:1px solid #e3eaf0!important;border-top:0!important;border-radius:0 0 8px 8px;background:#fff!important}
#brand-page-content .tabs-content>.wp-block-atbs-tab{margin:0!important;padding:0!important;border:0!important}
#brand-page-content .tabs-content>.wp-block-atbs-tab:not(.active){display:none!important}
#brand-page-content .single-tab{padding:0!important;color:#455463;line-height:1.8}
@media(max-width:767px){#brand-page-content .tabs-titles>.tab-title{flex:1 1 45%!important;padding:12px 8px!important;font-size:13px!important}#brand-page-content .tabs-content{padding:18px!important}}

#brand-page-content .tabs-titles>.tab-title{width:auto!important;flex-basis:0!important;min-width:120px!important}
@media(max-width:767px){#brand-page-content .tabs-titles>.tab-title{flex-basis:45%!important}}

#brand-page-content .brand-program-banner.brand-image-banner{min-height:330px;padding:95px 24px;background-size:cover;background-position:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
#brand-page-content .brand-image-banner h1{max-width:1100px;text-shadow:0 2px 8px rgba(0,0,0,.3)}
#brand-page-content .shritek-breadcrumb-inner{padding-top:90px;padding-bottom:90px}
@media(max-width:767px){#brand-page-content .brand-program-banner.brand-image-banner{min-height:240px;padding:60px 20px}#brand-page-content .shritek-breadcrumb-inner{padding-top:60px;padding-bottom:60px}}

/* One explicit open state prevents theme hover/click conflicts. */
#brand-header #primary-menu>li:not(.brand-open)>.dropdown-menu{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
#brand-header #primary-menu>li.brand-open>.dropdown-menu{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
#brand-header .brand-compact-menu,#brand-header .brand-compact-menu *{animation:none!important;transition:none!important}
@media(min-width:1200px){#brand-header #primary-menu>li>.brand-compact-menu{left:var(--menu-left,16px)!important;transform:none!important}}
@media(max-width:1199px){
#brand-header #primary-menu{box-sizing:border-box!important;max-width:calc(100vw - 24px)!important;min-width:0!important;overflow-x:hidden!important;overflow-y:auto!important;padding:8px!important}
#brand-header #primary-menu>li{min-width:0!important;max-width:100%!important}
#brand-header #primary-menu>li>.brand-compact-menu{position:static!important;width:100%!important;min-width:0!important;max-width:100%!important;transform:none!important;margin:0!important;padding:0 8px 10px!important;box-shadow:none!important;max-height:none!important;overflow:visible!important}
#brand-header .brand-compact-menu>ul{width:100%!important;min-width:0!important;grid-template-columns:minmax(0,1fr)!important}
#brand-header .brand-compact-menu a{overflow-wrap:anywhere!important}
}

@media(min-width:1200px){
#brand-header #primary-menu>li>.brand-compact-menu{top:var(--menu-top,var(--brand-menu-top,145px))!important}
#brand-header #primary-menu>li>.brand-menu-illustrated{width:760px!important;padding-right:190px!important;min-height:200px!important}
#brand-header .brand-menu-image{display:block!important;position:absolute;right:18px;top:24px;width:150px!important;height:180px!important;object-fit:contain;border:0}
#brand-header #primary-menu>li>a:after{display:none!important}
}
@media(max-width:1199px){#brand-header .brand-menu-image{display:none!important}}

#brand-page-content .brand-program-grid aside.brand-course-enquiry{padding:24px;background:#fff;border:1px solid #d6dce2;border-radius:8px}
#brand-page-content .sbd-course-form{display:grid;grid-template-columns:1fr!important;gap:18px;margin:0}
#brand-page-content .sbd-course-form label{font-weight:400;color:#6f7074}
#brand-page-content .sbd-course-form input{min-height:48px;margin-top:6px;background:#fff;border:1px solid #d8dce1;border-radius:4px}
#brand-page-content .sbd-course-form textarea{margin-top:6px;background:#fff;border:1px solid #d8dce1;border-radius:4px}
@media(min-width:1024px){#brand-page-content .brand-program-grid{grid-template-columns:minmax(0,2.2fr) minmax(320px,1fr)}}

#brand-page-content .sbd-cf7-course label{display:block;font-size:14px;font-weight:400;color:#6f7074}
#brand-page-content .sbd-cf7-course p{margin:0 0 18px}
#brand-page-content .sbd-cf7-course input:not([type=submit]),#brand-page-content .sbd-cf7-course textarea{display:block;box-sizing:border-box;width:100%;margin-top:6px;padding:10px 12px;min-height:48px;border:1px solid #d8dce1;border-radius:4px;background:#fff;color:#333;font:inherit}
#brand-page-content .sbd-cf7-course textarea{height:110px;min-height:80px}
#brand-page-content .sbd-cf7-course input[type=submit]{width:100%;border:0;border-radius:5px;background:#336797;color:#fff;padding:14px 18px;cursor:pointer}
#brand-page-content .sbd-existing-form{margin-top:32px;padding-top:28px;border-top:1px solid #e3e8ed}
