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;
	}
}


/* =========================================================
   MDSICON 2027 – RGB(235, 157, 93) Custom Theme
   Header image:
   /templates/custom/images/mdsicon-2027-header.jpg
   ========================================================= */

:root {
    --mdsi-gold: rgb(235, 157, 93); /* #EB9D5D */
    --mdsi-gold-light: #fff0e4;
    --mdsi-maroon: #b8573c;
    --mdsi-maroon-dark: #793326;
    --mdsi-brown: #704331;
    --mdsi-navy: #8f4934;
    --mdsi-navy-dark: #4f2a22;
    --mdsi-white: #ffffff;
    --mdsi-page: #fff8f2;
    --mdsi-text: #3c2b25;
    --mdsi-muted: #80685e;
    --mdsi-border: #ebc9ad;
    --mdsi-shadow: 0 14px 38px rgba(111, 62, 39, 0.16);
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--mdsi-text);
    background:
        radial-gradient(circle at 10% 7%, rgba(235, 157, 93, 0.22), transparent 26%),
        radial-gradient(circle at 90% 8%, rgba(184, 87, 60, 0.10), transparent 24%),
        linear-gradient(180deg, #fff3ea 0%, #ffffff 48%, #fff8f3 100%);
    font-size: 15px;
    line-height: 1.55;
}

* {
    box-sizing: border-box;
}

a {
    color: var(--mdsi-maroon);
    text-decoration: none;
    font-weight: 650;
}

a:hover {
    color: var(--mdsi-navy);
    text-decoration: underline;
}

#fWrapper {
    width: 100%;
    min-height: 100vh;
    padding: 26px 16px;
}

#fPage {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(184, 87, 60, 0.14);
    border-radius: 22px;
    box-shadow: var(--mdsi-shadow);
}


/* Supplied primary event colour: rgb(235, 157, 93) / #EB9D5D */

/* Header artwork */
#fHeader {
    position: relative;
    width: 100%;
    min-height: 200px;
    aspect-ratio: 5 / 1;
    padding: 0;
    overflow: hidden;
    background-color: var(--mdsi-gold);
    background-image: url("/templates/custom/images/mdsicon-2027-header.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    border-bottom: 6px solid var(--mdsi-maroon);
}

#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: 28px 38px 18px;
    background: linear-gradient(180deg, #ffffff, #fff3ea);
    border-bottom: 1px solid var(--mdsi-border);
}

#fPageTitle h1 {
    margin: 0;
    color: var(--mdsi-maroon);
    font-size: 30px;
    font-weight: 850;
    letter-spacing: -0.4px;
}

#fPageTitle h1::after {
    content: "";
    display: block;
    width: 82px;
    height: 4px;
    margin-top: 10px;
    background: linear-gradient(90deg, var(--mdsi-maroon), var(--mdsi-gold));
    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 245px;
    width: 245px;
}

.fModule,
fieldset {
    margin: 0 0 24px;
    overflow: hidden;
    background: var(--mdsi-white);
    border: 1px solid var(--mdsi-border);
    border-radius: 18px;
    box-shadow: 0 9px 26px rgba(111, 62, 39, 0.09);
}

.fModuleTitle,
fieldset legend {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--mdsi-white);
    background: linear-gradient(135deg, var(--mdsi-maroon-dark), var(--mdsi-maroon));
}

.fModuleTitle h3,
fieldset legend span {
    display: block;
    margin: 0;
    padding: 15px 20px;
    color: var(--mdsi-white);
    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;
}

.field-para {
    display: grid;
    grid-template-columns: minmax(170px, 32%) minmax(0, 1fr);
    gap: 14px 18px;
    align-items: center;
    margin: 0 0 17px;
}

.field-para > label {
    margin: 0;
    color: var(--mdsi-maroon-dark);
    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(--mdsi-text);
    background: var(--mdsi-white);
    border: 1px solid #dfb995;
    border-radius: 9px;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(111, 62, 39, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.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(--mdsi-maroon);
    box-shadow: 0 0 0 4px rgba(235, 157, 93, 0.22);
}

.field-para .label {
    display: inline-block;
    min-height: 42px;
    padding: 10px 12px;
    background: #fff4eb;
    border: 1px solid var(--mdsi-border);
    border-radius: 9px;
}

.hint,
.lowlight {
    color: #fff;
    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: #fff4eb;
    border: 1px solid var(--mdsi-border);
    border-radius: 10px;
}

.checks input[type="radio"],
.checksCCY input[type="radio"],
.registration_slab input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--mdsi-maroon);
}

.fTable,
.registration_slab,
.financial,
.tableTransaction {
    width: 100%;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--mdsi-white);
    border: 1px solid var(--mdsi-border);
    border-radius: 12px;
}

.fTable td,
.registration_slab td,
.financial td,
.tableTransaction td {
    padding: 13px 14px;
    border-right: 1px solid #f0d5bf;
    border-bottom: 1px solid #f0d5bf;
    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;
}

.fTable .heading td,
.registration_slab .heading td,
.financial .heading td,
.tableTransaction .heading td,
tr.heading td {
    color: var(--mdsi-white);
    background: linear-gradient(135deg, var(--mdsi-navy), var(--mdsi-maroon-dark));
    font-weight: 750;
}

.registration_slab .trtype:hover {
    background: #fff1e7;
}

.registration_fee label {
    display: block;
    margin-bottom: 4px;
    color: var(--mdsi-maroon-dark);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.registration_cost,
.amount {
    color: var(--mdsi-maroon);
    font-weight: 850;
}

.financial tr.total td {
    color: var(--mdsi-white);
    background: linear-gradient(135deg, var(--mdsi-maroon-dark), var(--mdsi-maroon));
    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(--mdsi-text);
    background: #fff4eb;
    border: 1px solid var(--mdsi-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(--mdsi-maroon);
    background: var(--mdsi-white);
    border: 2px solid var(--mdsi-maroon);
    border-radius: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 850;
}

.runner-step-title {
    display: block;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.3;
}

ul.runner li.completed a {
    color: var(--mdsi-white);
    background: linear-gradient(135deg, #4a8064, #32644d);
    border-color: transparent;
}

ul.runner li.current a {
    color: var(--mdsi-white);
    background: linear-gradient(135deg, var(--mdsi-navy), var(--mdsi-maroon));
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(184, 87, 60, 0.24);
}

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 22px;
    color: var(--mdsi-white);
    background: linear-gradient(135deg, var(--mdsi-maroon-dark), var(--mdsi-maroon));
    border: 0;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(184, 87, 60, 0.24);
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

input.submit:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.page-filters input:hover {
    transform: translateY(-1px);
    box-shadow: 0 11px 24px rgba(184, 87, 60, 0.30);
}

.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: #fff4eb;
    border: 1px solid var(--mdsi-border);
    border-radius: 14px;
}

.pmode-title {
    margin: 0 0 8px;
    color: var(--mdsi-maroon-dark);
    font-size: 16px;
}

.pmode-description {
    color: var(--mdsi-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;
}

#fFooter {
    color: rgba(255, 255, 255, 0.85);
    background: linear-gradient(135deg, var(--mdsi-navy-dark), var(--mdsi-maroon-dark));
    border-top: 5px solid var(--mdsi-gold);
}

#fFooterContainer {
    padding: 18px 30px;
    text-align: center;
    font-size: 13px;
}

#fFooter a {
    color: var(--mdsi-white);
}

@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: 125px;
        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: var(--mdsi-white);
    }

    #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;
    }
}
