a, a:visited {
	color:#031c66;
}
a:hover {
	color:#031c66;
}

/* LAYOUT */
body {
	background-color:#e0e0e0;	color:#000000;
	font-family:Helvetica, Arial, sans-serif;
    font-size:14px;
}

.fButton, 
.fForm .buttons input,
.page-filters input {
	background-color:#616061;
	font-size: 14px;
	padding: 8px 14px;
	color:#ffffff !important;
	text-decoration: none;
	display: inline-block;
	border: 0px none;
}

#fWrapper {
	margin:20px auto;
	width:1024px;
	
		max-width: 1024px;
	width: 100%;
	}

.fForm input,
.fForm select,
.fForm textarea {
	border-color: #a3a3a3;
}
.fForm input:focus,
.fForm select:focus,
.fForm textarea:focus {
    outline:none;
}

#fPage {
	border:1px solid #a3a3a3;background-color:#ffffff;}

#fHeader {
	background-color:#ffffff;
			display:none	border:0px none;
}
#fContent h1 {
	color:#000000;
	font-family:Helvetica, Arial, sans-serif;
    font-size:18px;
}

.fModuleTitle,
.fForm legend {
	background-color:#616061;	
}
.fModuleTitle h3,
.fForm legend {
	color:#ffffff;
	font-family:Helvetica, Arial, sans-serif;
    font-size:14px;
}
.fForm legend {
	display:block;
	width:100%;
	padding:0px !important;
}

#fSidebarLeft {
	display:none;
}

#fSidebarRight {
display:none;
}

#fContent {
	background-color:#ffffff;}
#fContentContainer {
	width: 1024px;
	margin: 0 auto;
}

#fMatter {
	width: 100%;
}
#fMatter.sR {
		width:1004px;	
}
#fMatter.sL {
		width:1004px;	
}
#fMatter.sR.sL {
		width:1004px;
}


#fFooter {
	border:0px none;
}

/* FORM */
.fForm input, .fForm select, .fForm textarea {
font-size:;
}

.fListing {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #a3a3a3;
}
.fListing td,
.fListing th {
	padding: 0.5rem;
	border-bottom: 1px solid #a3a3a3;
	vertical-align: top;
	text-align: left;
}
.fListing th {
	color:#ffffff;
	font-family:Helvetica, Arial, sans-serif;
    font-size:14px;
	background-color:#616061;
	text-transform: uppercase;
}

#fContentContainer {
	max-width: 100%;
}
@media (max-width:1024px) {
	#fMatter.sR {
		width: calc(100% - 0px);	
	}
	#fMatter.sL {
		width: calc(100% - 0px);
	}
	#fMatter.sR.sL {
		width: calc(100% - 0px);
	}
	#fSidebarRight {
		width: 0px;
	}
}

@media (max-width: 768px) {
	.fForm label {
		width: 100%;
		text-align: left;
	}
	.fForm .buttons {
		text-align: left;
	}
	.fForm .hint,
	.fForm .error {
		margin-left: 0;
	}
}
@media (max-width: 576px) {
	#fMatter,
	#fSidebarRight {
		width: 100% !important;
	}
}

/* =========================================================
   NCSI 2027 – Bengaluru
   Custom eRegNow Registration Theme
   27th–29th August 2027 | Convention Centre, NIMHANS
   Header: /templates/custom/images/ncsi-2027-header.png
   ========================================================= */

:root {
    --ncsi-black: #111111;
    --ncsi-charcoal: #292929;
    --ncsi-gold: #c69123;
    --ncsi-gold-dark: #a87310;
    --ncsi-gold-light: #f5e5bd;
    --ncsi-red: #9b1024;
    --ncsi-red-dark: #73101d;
    --ncsi-cyan: #18aeb7;
    --ncsi-cyan-dark: #087e88;
    --ncsi-cream: #fffaf0;
    --ncsi-soft: #fafafa;
    --ncsi-white: #ffffff;
    --ncsi-text: #282828;
    --ncsi-muted: #6f6f6f;
    --ncsi-border: #e6dcc8;
    --ncsi-success: #397457;
    --ncsi-shadow: 0 14px 38px rgba(17,17,17,0.12);
}

html, body { margin: 0; padding: 0; min-height: 100%; }
body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--ncsi-text);
    background:
        radial-gradient(circle at 7% 7%, rgba(24,174,183,0.08), transparent 24%),
        radial-gradient(circle at 92% 8%, rgba(198,145,35,0.10), transparent 24%),
        linear-gradient(180deg, #fbfbfb 0%, #ffffff 52%, #faf7f0 100%);
    font-size: 15px;
    line-height: 1.55;
}
* { box-sizing: border-box; }
a { color: var(--ncsi-red); text-decoration: none; font-weight: 650; }
a:hover { color: var(--ncsi-gold-dark); text-decoration: underline; }

#fWrapper { width: 100%; min-height: 100vh; padding: 26px 16px; }
#fPage {
    width: 100%; max-width: 1140px; margin: 0 auto; overflow: hidden;
    background: rgba(255,255,255,0.99);
    border: 1px solid rgba(17,17,17,0.10);
    border-radius: 22px;
    box-shadow: var(--ncsi-shadow);
}

.section-heading td {
    background:#eeeeee !important;
    color:#1c2a3a;
    font-size:20px;
    font-weight:700;
    padding:8px 5px !important;
    text-align:left !important;
}
/* Header artwork */
#fHeader {
    position: relative;
    width: 100%;
    min-height: 180px;
    aspect-ratio: 1271 / 177;
    padding: 0;
    overflow: hidden;
    background-color: #ffffff;
    background-image: url("/templates/custom/images/ncsi-2027-header.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    border-bottom: 6px solid var(--ncsi-gold);
}
#fHeader h1 {
    position: absolute !important;
    width: 1px !important; height: 1px !important;
    margin: -1px !important; padding: 0 !important;
    overflow: hidden !important; clip: rect(0 0 0 0) !important;
    white-space: nowrap !important; border: 0 !important;
}

#fContent { padding: 0; }
#fPageTitle {
    padding: 27px 38px 18px;
    background: linear-gradient(90deg, #ffffff 0%, #fffaf0 58%, #f5fafb 100%);
    border-bottom: 1px solid var(--ncsi-border);
}
#fPageTitle h1 {
    margin: 0; color: var(--ncsi-black); font-size: 30px; font-weight: 850; letter-spacing: -0.4px;
}
#fPageTitle h1::after {
    content: ""; display: block; width: 92px; height: 4px; margin-top: 10px;
    background: linear-gradient(90deg, var(--ncsi-cyan) 0%, var(--ncsi-gold) 50%, var(--ncsi-red) 100%);
    border-radius: 999px;
}

#fContentContainer { display: flex; gap: 26px; align-items: flex-start; padding: 30px 34px 38px; }
#fMatter, #fMatter.sL, #fMatter.sR, #fMatter.sL.sR { flex: 1 1 auto; width: auto !important; min-width: 0; }
#fSidebarLeft:empty, #fSidebarLeft .runner.menu:empty { display: none; }
#fSidebarLeft { width: 0; }
#fSidebarRight { flex: 0 0 250px; width: 250px; }

.fModule, fieldset {
    margin: 0 0 24px; overflow: hidden; background: var(--ncsi-white);
    border: 1px solid var(--ncsi-border); border-radius: 18px;
    box-shadow: 0 9px 26px rgba(17,17,17,0.07);
}
.fModuleTitle, fieldset legend {
    display: block; width: 100%; margin: 0; padding: 0; color: #fff;
    background: linear-gradient(135deg, var(--ncsi-black), var(--ncsi-charcoal));
    border-bottom: 4px solid var(--ncsi-gold);
}
.fModuleTitle h3, fieldset legend span {
    display: block; margin: 0; padding: 15px 20px; color: #fff; font-size: 18px; font-weight: 800;
}
.fModuleContent { padding: 22px; }
fieldset { padding: 0 0 22px; }
fieldset > .field-para, fieldset > .fieldset-para, fieldset > p { padding-left: 22px; padding-right: 22px; }

.fForm { width: 100%; }
.field-para {
    display: grid; grid-template-columns: minmax(175px, 32%) minmax(0, 1fr);
    gap: 14px 18px; align-items: center; margin: 0 0 17px;
}
.field-para > label { margin: 0; color: var(--ncsi-black); font-size: 14px; font-weight: 750; }

.field-para input[type="text"], .field-para input[type="password"],
.field-para input[type="email"], .field-para input[type="number"],
.field-para input[type="tel"], .field-para select, .field-para textarea,
.fForm input[type="text"], .fForm input[type="password"], .fForm select, .fForm textarea {
    width: 100%; min-height: 44px; padding: 10px 12px; color: var(--ncsi-text);
    background: #fff; border: 1px solid #d8d1c2; border-radius: 9px; outline: none;
    box-shadow: inset 0 1px 2px rgba(17,17,17,0.04);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field-para textarea, .fForm textarea { min-height: 100px; resize: vertical; }
.field-para input:focus, .field-para select:focus, .field-para textarea:focus,
.fForm input:focus, .fForm select:focus, .fForm textarea:focus {
    border-color: var(--ncsi-cyan);
    box-shadow: 0 0 0 4px rgba(24,174,183,0.12);
}
.field-para .label {
    display: inline-block; min-height: 42px; padding: 10px 12px;
    background: #fbfaf7; border: 1px solid var(--ncsi-border); border-radius: 9px;
}
.hint, .lowlight { color: var(--ncsi-muted); font-size: 13px; line-height: 1.45; }
.hint { grid-column: 2; }

.checks p, .checksCCY p {
    display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 13px 14px;
    background: #fbfaf7; border: 1px solid var(--ncsi-border); border-radius: 10px;
}
.checks input[type="radio"], .checksCCY input[type="radio"], .registration_slab input[type="radio"] {
    width: 18px; height: 18px; accent-color: var(--ncsi-red);
}

.fTable, .registration_slab, .financial, .tableTransaction {
    width: 100%; overflow: hidden; border-collapse: separate; border-spacing: 0;
    background: #fff; border: 1px solid var(--ncsi-border); border-radius: 12px;
}
.fTable td, .registration_slab td, .financial td, .tableTransaction td {
    padding: 13px 14px; border-right: 1px solid #ece7dd; border-bottom: 1px solid #ece7dd; vertical-align: middle;
}
.fTable tr:last-child td, .registration_slab tr:last-child td, .financial tr:last-child td, .tableTransaction tr:last-child td { border-bottom: 0; }
.fTable td:last-child, .registration_slab td:last-child, .financial td:last-child, .tableTransaction td:last-child { border-right: 0; }

/* Registration slab headings + visible dates */
.registration_slab tr.heading td {
    padding: 14px 9px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--ncsi-black), var(--ncsi-charcoal)) !important;
    font-size: 15px !important; font-weight: 750 !important; line-height: 1.45 !important;
    text-align: center !important; vertical-align: middle !important;
    border-right: 1px solid rgba(255,255,255,0.24) !important;
    opacity: 1 !important;
}
.registration_slab tr.heading td *, .registration_slab .headingDate, .registration_slab .headingDate * {
    color: #ffffff !important; opacity: 1 !important;
}
.registration_slab tr.heading td span, .registration_slab tr.heading td small,
.registration_slab tr.heading td div, .registration_slab tr.heading td p {
    display: block; margin: 4px 0 0; padding: 0;
    color: var(--ncsi-gold-light) !important;
    font-size: 13px !important; font-weight: 550 !important; line-height: 1.4 !important; opacity: 1 !important;
}

.fTable .heading td, .financial .heading td, .tableTransaction .heading td, tr.heading td {
    color: #fff; background: linear-gradient(135deg, var(--ncsi-black), var(--ncsi-charcoal)); font-weight: 750;
}
.registration_slab .trtype { background: #fff; transition: background .2s ease; }
.registration_slab .trtype:nth-child(even) { background: #fdfcf9; }
.registration_slab .trtype:hover { background: #fff8e8; }
.registration_fee label { display: block; margin-bottom: 4px; color: var(--ncsi-black); font-size: 16px; font-weight: 800; cursor: pointer; }
.registration_cost { color: var(--ncsi-red) !important; font-size: 17px; font-weight: 850 !important; white-space: nowrap; }
.amount { color: var(--ncsi-red); font-weight: 850; }
.financial tr.total td {
    color: #fff; background: linear-gradient(135deg, var(--ncsi-red-dark), var(--ncsi-red));
    font-size: 16px; font-weight: 850;
}

ul.runner { margin: 0; padding: 0; list-style: none; }
ul.runner li { position: relative; margin: 0 0 12px; }
ul.runner li a {
    display: block; padding: 14px 14px 14px 54px; color: var(--ncsi-text);
    background: #fbfaf7; border: 1px solid var(--ncsi-border); border-radius: 12px; text-decoration: none;
}
.runner-step-number {
    position: absolute; top: 50%; left: 13px; display: grid; width: 30px; height: 30px; place-items: center;
    color: var(--ncsi-black); background: #fff; border: 2px solid var(--ncsi-gold); border-radius: 50%;
    transform: translateY(-50%); font-size: 11px; font-weight: 850;
}
.runner-step-title { display: block; color: inherit; font-size: 13px; font-weight: 750; line-height: 1.3; }
ul.runner li.completed a { color: #fff; background: linear-gradient(135deg, #397457, #24563f); border-color: transparent; }
ul.runner li.completed .runner-step-number { color: #24563f; border-color: #fff; }
ul.runner li.current a {
    color: #fff; background: linear-gradient(135deg, var(--ncsi-red-dark), var(--ncsi-red));
    border-color: transparent; box-shadow: 0 8px 18px rgba(155,16,36,0.22);
}
ul.runner li.current .runner-step-number { color: var(--ncsi-red); border-color: var(--ncsi-gold); }

p.buttons { display: flex; justify-content: flex-end; gap: 12px; margin: 18px 0 0; padding: 0; }
input.submit, button, input[type="submit"], input[type="button"], .page-filters input {
    width: auto; min-height: 44px; padding: 11px 23px; color: #fff !important;
    background: linear-gradient(135deg, var(--ncsi-red-dark), var(--ncsi-red));
    border: 2px solid transparent; border-radius: 999px;
    box-shadow: 0 8px 18px rgba(155,16,36,0.20); cursor: pointer; font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
input.submit:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover, .page-filters input:hover {
    color: #fff !important; transform: translateY(-1px);
    background: linear-gradient(135deg, var(--ncsi-gold-dark), var(--ncsi-gold));
    box-shadow: 0 11px 24px rgba(198,145,35,0.25);
}

.pmodes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pmodes li { padding: 18px; background: #fbfaf7; border: 1px solid var(--ncsi-border); border-radius: 14px; }
.pmode-title { margin: 0 0 8px; color: var(--ncsi-black); font-size: 16px; font-weight: 800; }
.pmode-description { color: var(--ncsi-muted); font-size: 13px; line-height: 1.55; }

#fModuleLogin { max-width: 640px; margin: 0 auto 26px; }

.message { margin-top: 14px; padding: 13px 15px; border-radius: 10px; font-weight: 650; }
.message.success { color: #245a43; background: #e8f5ee; border: 1px solid #b9dec9; }
.message.error, .message.warning { color: #842231; background: #fdecef; border: 1px solid #efc1ca; }

.ncsi-registration-notice {
    position: relative; margin: 0 0 26px; padding: 24px 26px; overflow: hidden; color: #fff;
    background: linear-gradient(135deg, var(--ncsi-black), var(--ncsi-charcoal));
    border-left: 6px solid var(--ncsi-gold); border-radius: 16px;
    box-shadow: 0 12px 28px rgba(17,17,17,0.16);
}
.ncsi-registration-notice p { position: relative; z-index: 1; margin: 5px 0; color: #fff; font-size: 16px; line-height: 1.55; }
.ncsi-registration-notice strong { color: var(--ncsi-gold-light); }

#fFooter {
    color: rgba(255,255,255,0.86);
    background: linear-gradient(135deg, var(--ncsi-black), var(--ncsi-charcoal));
    border-top: 5px solid var(--ncsi-gold);
}
#fFooterContainer { padding: 18px 30px; text-align: center; font-size: 13px; }
#fFooter a { color: var(--ncsi-gold-light); }

@media (max-width: 900px) {
    #fContentContainer { display: block; padding: 24px 22px 30px; }
    #fSidebarRight { width: 100%; margin-bottom: 22px; }
    ul.runner { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
    ul.runner li { margin: 0; }
    .pmodes { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    #fWrapper { padding: 0; }
    #fPage { border-radius: 0; border-left: 0; border-right: 0; }
    #fHeader { min-height: 115px; aspect-ratio: auto; background-size: contain; }
    #fPageTitle { padding: 22px 20px 15px; }
    #fPageTitle h1 { font-size: 25px; }
    #fContentContainer { padding: 20px 14px 28px; }
    .field-para { display: block; margin-bottom: 16px; }
    .field-para > label { display: block; margin-bottom: 7px; }
    .hint { margin-top: 7px; }
    .fModuleContent, fieldset > .field-para, fieldset > .fieldset-para, fieldset > p { padding-left: 16px; padding-right: 16px; }
    ul.runner { grid-template-columns: 1fr; }
    .fTable, .registration_slab, .financial, .tableTransaction { display: block; overflow-x: auto; white-space: nowrap; }
    p.buttons { display: block; }
    input.submit, input[type="submit"], input[type="button"], .page-filters input { width: 100%; margin: 6px 0; }
}

@media print {
    body { background: #fff; }
    #fWrapper { padding: 0; }
    #fPage { max-width: none; border: 0; box-shadow: none; }
    #fSidebarRight, #fFooter, .page-filters, p.buttons { display: none !important; }
    #fContentContainer { padding: 0; }
    .fModule, fieldset { box-shadow: none; break-inside: avoid; }
}
