/* SKRAU identity within the existing examination portal layout. */
/* Reserve usable space while loading; the homepage script fits the full form list. */
.imp-notify iframe#examination-forms{display:block;width:100%;height:560px;min-height:240px;max-height:none;border:0}
header{background:#fff!important;padding:18px 0!important}
header .helpdesk,header .helpdesk a{color:#173e2d;font-size:14px;line-height:1.8}
header .helpdesk i{color:#75591c;font-size:18px}
header .helpdesk a:hover{text-decoration:underline}
footer{background:#39765b!important}
/* Notifications size naturally to their content. */
.exam-notifications .skrau-notice-content{display:flex;flex-direction:column;flex:1;padding:18px;background:#fff;color:#263d32}
.skrau-notice-source{font-size:12px;line-height:1.6;margin:0 0 14px;color:#526652}
.exam-notifications ul.skrau-notice-list{list-style:none;margin:0;padding:0;background:transparent}
.exam-notifications ul.skrau-notice-list li{margin:0;padding:15px 0;border-top:1px solid #e0e7dc;font-family:inherit;font-size:14px;line-height:1.6}
.exam-notifications ul.skrau-notice-list li:before{display:none}
.skrau-notice-type{display:block;font-size:10px;font-weight:700;letter-spacing:.7px;color:#756025;margin-bottom:5px}
.exam-notifications ul.skrau-notice-list li a{display:block;color:#173e2d;padding:0;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.exam-notifications ul.skrau-notice-list li a:hover{padding:0;background:transparent;text-decoration:underline}
.skrau-all-notices{display:block;margin-top:auto;padding:15px 0 2px;border-top:1px solid #e0e7dc;color:#245b40;font-size:13px;font-weight:700}
.exam-notifications a:focus-visible{outline:2px solid #8a702a;outline-offset:3px}
.exam-notifications{height:auto!important;min-height:0!important;margin:0}
.exam-notifications h2{margin-bottom:0}
.exam-notifications .skrau-notice-content>p{margin:0;line-height:1.6}

header .logo .skrau-name,header .logo .skrau-name>span{position:static;white-space:normal;text-transform:none;text-align:left;margin:0;display:block}
header .logo .skrau-crest{display:block!important}
.marquee p{transform:none!important;margin:0!important}
@media(max-width:991px){.content-wrap .col-lg-3,.content-wrap .col-lg-3:last-child{order:0!important}}
header .row{align-items:center}
header .logo .navbar-brand{display:flex;align-items:center;gap:15px;white-space:normal;width:100%;margin-right:0}
header .logo .skrau-crest{width:76px;height:84px;object-fit:contain;flex-shrink:0}
.skrau-name{display:block;line-height:1.4;color:#173e2d}
.skrau-name>span{display:block;font-family:"Nirmala UI",Arial,sans-serif;font-size:15px;margin-bottom:5px}
.skrau-name strong{display:block;font-size:18px;line-height:1.4;font-weight:700}
.skrau-name small{display:block;font-size:11px;letter-spacing:2px;margin-top:7px;font-weight:700;color:#75591c}
.menu-wrapper{background:linear-gradient(110deg,#468066 0%,#407a60 50%,#3d755c 100%)!important}.menu-wrapper .navbar{background:transparent!important}
.marquee{background:#f6f0df!important;color:#273e2d!important}
.marquee p{animation:none!important;white-space:normal!important;color:#273e2d!important}
.imp-links h2,.imp-notify h2,.latest-news h2{background:linear-gradient(110deg,#468066 0%,#407a60 50%,#3d755c 100%)!important;color:white!important}
@media(min-width:992px){header .col-lg-6:first-child{flex:0 0 68%;max-width:68%}header .col-lg-6:last-child{flex:0 0 32%;max-width:32%}}
@media(max-width:600px){header .logo .skrau-crest{width:56px;height:66px}.skrau-name strong{font-size:14px}.skrau-name>span{font-size:12px}.skrau-name small{font-size:10px}header .logo .navbar-brand{gap:10px}.helpdesk{font-size:12px}}


/* Public navigation submenus share the green portal palette. */
.menu-wrapper .mainnav .navbar-nav .dropdown-menu {
  background: linear-gradient(110deg,#468066,#3d755c) !important;
  min-width: 245px; margin-top: 0; padding: 6px 0;
  border: 1px solid rgba(255,255,255,.18); border-radius: 0 0 10px 10px;
}
.menu-wrapper .mainnav .navbar-nav .dropdown-item {
  background: transparent; color: #fff; padding: 11px 18px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.menu-wrapper .mainnav .navbar-nav .dropdown-item:last-child { border-bottom: 0; }
.menu-wrapper .mainnav .navbar-nav .dropdown-item:hover,
.menu-wrapper .mainnav .navbar-nav .dropdown-item:focus {
  background: #305d49; color: #fff;
}
.menu-wrapper .mainnav .navbar-nav .dropdown-item:focus-visible { outline: 2px solid #f4df86; outline-offset: -3px; }
@media(min-width:992px) {
  .menu-wrapper .mainnav .navbar-nav .dropdown-menu { top: 100%; }
}
@media(max-width:991px) {
  .menu-wrapper .mainnav .navbar-nav .dropdown-menu { position: static; min-width: 0; width: 100%; }
}

.imp-links ul li a,.online-services ul li a{color:#285b43!important;background:#f0f5f2}
.imp-links ul li a svg path,.online-services ul li a svg path{fill:#39765b!important}
.imp-links ul li a:hover,.imp-links ul li a:focus-visible,.online-services ul li a:hover,.online-services ul li a:focus-visible{background:#407a60;color:#fff!important;transform:none}
.imp-links ul li a:hover svg path,.imp-links ul li a:focus-visible svg path,.online-services ul li a:hover svg path,.online-services ul li a:focus-visible svg path{fill:#fff!important}

/* Desktop density matches the approved 90% reference at normal browser zoom.
   Use actual sizes so browser zoom and mobile accessibility still work normally. */
@media screen and (min-width:992px) {
 body.skrau-aligned { font-size:14.4px; }
 body.skrau-aligned header { padding:16px 0!important; }
 header .logo .skrau-crest { width:68px; height:76px; }
 header .logo .navbar-brand { gap:13.5px; }
 .skrau-name>span { font-size:13.5px; }
 .skrau-name strong { font-size:16.2px; }
 .skrau-name small { font-size:10px; margin-top:6px; letter-spacing:1.8px; }
 header .helpdesk, header .helpdesk a { font-size:12.6px; }
 header .helpdesk i { font-size:16px; }
 .menu-wrapper .navbar-expand-lg .navbar-nav .nav-link { font-size:15.3px; padding:9px 11px; }
 .menu-wrapper #navbarResponsive .nav-item { margin-inline:11px; }
 .menu-wrapper .mainnav .navbar-nav .dropdown-item { font-size:14.4px; padding:10px 16px; }
 .marquee p { font-size:14.4px; line-height:22px; padding:13.5px 0; }
 .skrau-aligned .content-wrap { margin:18px 0; }
 .crm-panel { margin-bottom:27px; border-radius:13px; }
 .crm-panel h2 { font-size:19.8px; line-height:23.4px; padding:14.4px 18px 12.6px; }
 .crm-panel-body { padding:16px; }
 .crm-panel-body>p { font-size:14.4px; line-height:22px; padding-bottom:18px; }
 .imp-links ul, .online-services ul { padding:14.4px; gap:9px; }
 .imp-links ul li a, .online-services ul li a { font-size:13.5px; padding:10.8px 14.4px; }
 .imp-links ul li a svg { width:18px; height:18px; }
 .exam-notifications .skrau-notice-content { padding:16px; }
 .exam-notifications .skrau-notice-content>p { font-size:14.4px; }
 body.skrau-aligned>footer, body.skrau-aligned>form>footer { font-size:14.4px; padding:14.4px 18px!important; }
}

/* Both primary homepage sections fill the available desktop height as a minimum. */
@media screen and (min-width:992px) {
 body.skrau-aligned .content-wrap:has(.skrau-home-panels) { flex:1 0 auto; display:flex; }
 .content-wrap:has(.skrau-home-panels)>.container-fluid { display:flex; flex-direction:column; }
 .skrau-home-panels { flex:1; align-items:stretch; }
 .skrau-home-panels>.col-lg-6,
 .skrau-home-panels>.col-lg-3:last-child { display:flex; flex-direction:column; }
 .skrau-home-panels>.col-lg-6>.crm-panel,
 .skrau-home-panels>.col-lg-3:last-child>.crm-panel { display:flex; flex-direction:column; flex:1; margin-bottom:0; }
 .skrau-home-panels .imp-notify,
 .skrau-home-panels .exam-notifications { display:flex; flex-direction:column; flex:1; }
 .skrau-home-panels>.col-lg-3:first-child>.crm-panel:last-child { margin-bottom:0; }
}
/* Compact mobile public pages: remove the old menu offset and prioritise the form. */
@media screen and (max-width:767px) {
 body.skrau-aligned header { padding:10px 0!important; }
 header .logo { margin:0; }
 header .logo .skrau-crest { width:44px; height:50px; }
 header .logo .navbar-brand { gap:10px; }
 header .logo .skrau-name>[lang="hi"] { display:none; }
 header .logo .skrau-name strong { font-size:0; line-height:1; }
 header .logo .skrau-name strong::after { content:"SKRAU, Bikaner"; font-size:16px; line-height:1.4; }
 header .logo .skrau-name small { font-size:9px; letter-spacing:1.3px; margin-top:4px; }
 .menu-wrapper { margin-top:0!important; height:auto; min-height:46px; }
 .menu-wrapper .navbar { min-height:46px; padding:0; }
 .menu-wrapper .navbar>.container-fluid>.row { width:100%; }
 .menu-wrapper .navbar-toggler { right:12px; top:5px; padding:3px 6px; border-width:1px; }
 .menu-wrapper .navbar::before { content:"Menu"; color:white; font-size:14px; padding-left:16px; }
 .menu-wrapper #navbarResponsive { top:46px; }
 .skrau-portal .marquee { display:none; }
 .marquee p { font-size:12px; line-height:1.5; padding:10px 0; }
 .skrau-aligned .content-wrap { margin:14px 0; }
 .skrau-student-login.row { gap:16px; }
 .skrau-student-login .card-header { min-height:56px; padding:12px 16px; gap:8px; }
 .skrau-student-login .card-header h4 { font-size:18px; }
 .skrau-student-login .card-header .btn { font-size:11px; padding:7px 9px; }
 .skrau-student-login .card-body { padding:16px; }
 .skrau-student-login .form-group { margin-bottom:16px; }
 .skrau-student-login .form-group label { font-size:14px; margin-bottom:6px; }
 .skrau-student-login .form-control { font-size:16px; min-height:44px; }
 .skrau-student-login .btn { font-size:14px; min-height:42px; }
 .skrau-student-login .text-left { margin-top:16px; padding-top:16px; }
 .skrau-student-login .ratio { padding:12px; }
}
