/* ==========================================================================
   site.css  -  Common professional theme for Online Admission (all pages)
   Linked from MasterPage / MasterPage1 / MasterAdmin AFTER weaver.css / master.css,
   so it overrides the legacy styles. Selectors are prefixed with "body" so they
   also win over the small <style> blocks inside individual pages.
   Change the colours once in :root to re-theme the whole site.
   ========================================================================== */

:root {
    --brand: #1f4e79;          /* deep blue */
    --brand-dark: #14355a;
    --brand-light: #e8f0f8;
    --accent: #c9a227;         /* gold */
    --success: #2e7d32;
    --danger: #c62828;
    --text: #263238;
    --muted: #607d8b;
    --border: #d5dde5;
    --bg: #f3f6fa;
    --card: #ffffff;
    --radius: 8px;
    --shadow: 0 2px 10px rgba(20, 53, 90, .10);
    --shadow-lg: 0 8px 24px rgba(20, 53, 90, .18);
    --font: "Segoe UI", "Open Sans", OpenSansRegular, Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
html body, html body * { font-family: var(--font); }
html body { font-size: 15px; line-height: 1.5; color: var(--text); background: var(--bg) !important; background-image: none !important; padding-bottom: 70px; }
html * { font-size: inherit; }
body input, body select, body textarea, body button, body table, body td, body th, body p, body li, body span, body div, body label { font-size: 15px; }
body a { color: var(--brand); transition: color .2s, background .2s; }
body a:hover { color: var(--brand-dark); }
body img { max-width: 100%; }
body hr { border: 0; border-top: 1px solid var(--border); margin: 10px 0; }

/* ---------- Header ---------- */
body header { background: #fff; border-bottom: 3px solid var(--accent); box-shadow: var(--shadow); }
body header table { max-width: 1100px !important; margin: 0 auto; }
body .headerImg { width: 100%; height: auto; display: block; }
body .mainlable, body header div[align="center"] {
    background: linear-gradient(90deg, var(--brand-dark), var(--brand));
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    text-align: center;
    padding: 12px 15px !important;
    border-radius: 0 0 var(--radius) var(--radius);
}

/* ---------- Navigation ---------- */
body nav { background: var(--brand-dark); box-shadow: var(--shadow); margin-bottom: 25px; }
body .nav a { color: #fff; font-size: 15px; font-weight: 500; padding: 13px 22px; text-shadow: none; letter-spacing: .3px; }
body .nav a:hover { background: var(--brand); color: #fff; }
body .nav > li > a { border-bottom: 3px solid transparent; }
body .nav > li > a:hover { border-bottom-color: var(--accent); }
body .toggleMenu { background: var(--brand); color: #fff; border-radius: 4px; }
body .blink { color: var(--accent) !important; font-weight: 700; animation: pulse 1.6s ease-in-out infinite; -webkit-animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@-webkit-keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* ---------- Footer ---------- */
body footer { background: var(--brand-dark) !important; height: auto !important; min-height: 34px; padding: 8px 10px; text-align: center; box-shadow: 0 -2px 8px rgba(0, 0, 0, .15); z-index: 50; }
body footer p { color: #cfd8e3; font-size: 13px; margin: 0; }
body footer a { color: var(--accent); }

/* ---------- Headings / text ---------- */
body h1, body h2, body h3, body h4 { color: var(--brand-dark); font-weight: 600; }
body .title { color: var(--brand-dark); font-family: var(--font); font-size: 22px; font-weight: 600; padding: 10px 0; border-bottom: 2px solid var(--accent); text-align: center; }
body .text h1 { color: var(--brand-dark); font-size: 24px; }
body .text p, body .text li, body .text b, body .text strong { font-family: var(--font); }
body .text li { margin-bottom: 8px; }
body #instruct li { font-family: var(--font); font-size: 15px; color: var(--text); }

/* ---------- Cards / panels / boxes ---------- */
body .panelbox, body .box, body .div, body .tab1, body .queryform, body .logindivform, body .forms-sign-up2 {
    background: var(--card) !important;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--text);
}
body .div { border-top: 4px solid var(--brand) !important; height: auto !important; min-height: 280px; padding: 20px; }
body .tab1 { height: auto !important; padding: 20px !important; font-weight: 600; color: var(--text) !important; }
body .box { border-color: var(--border); }
body .box td { font-family: var(--font); color: var(--text); }
body .highlight { background: var(--brand-light); color: var(--brand-dark); border-radius: var(--radius); }
body .forms-sign-up2 { padding: 15px; }
body .logindivform { background: var(--card) !important; color: var(--text); padding: 30px; border-top: 4px solid var(--brand); }

/* ---------- Tables / forms layout ---------- */
body .myform, body .myform2 { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
body .myform th, body .myform2 th { background: var(--brand); color: #fff; padding: 10px; border-radius: 0; text-align: left; font-weight: 600; }
body .myform td, body .myform2 td { padding: 8px 10px; }
body .mytable { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
body .mytable th { background: var(--brand); color: #fff; padding: 10px; border-radius: 0; font-weight: 600; }
body .mytable td { padding: 8px 10px; border-bottom: 1px solid var(--border); }

/* GridView / data tables */
body table.grid, body .grid { background: var(--brand-light); color: var(--brand-dark); font-weight: 600; }
body table[rules] { border-collapse: collapse; }
body table[rules] th { background: var(--brand); color: #fff; padding: 9px 10px; font-weight: 600; border: 1px solid var(--brand-dark); }
body table[rules] td { padding: 7px 10px; border: 1px solid var(--border); }
body table[rules] tr:nth-child(even) td { background: #f7f9fc; }
body table[rules] tr:hover td { background: var(--brand-light); }

/* ---------- Form controls ---------- */
body input[type=text], body input[type=password], body input[type=email], body input[type=number],
body input[type=tel], body input[type=date], body input[type=file], body select, body textarea, body .input-text, body .text-box {
    border: 1px solid #b8c4d0;
    border-radius: 5px;
    padding: 8px 10px;
    color: var(--text);
    background: #fff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    max-width: 100%;
}
body input[type=text]:focus, body input[type=password]:focus, body input[type=email]:focus, body input[type=number]:focus,
body input[type=tel]:focus, body input[type=date]:focus, body select:focus, body textarea:focus, body .input-text:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(31, 78, 121, .18);
}
body input[disabled], body select[disabled], body textarea[disabled], body input[readonly] { background: #eef2f6; color: var(--muted); }
body input[type=checkbox], body input[type=radio] { accent-color: var(--brand); cursor: pointer; }
body input.largerCheckbox { width: 20px; height: 20px; }
body label { cursor: pointer; }

/* ---------- Buttons ---------- */
body .example_b, body .example_c, body .btn, body .button, body .action-button,
body input[type=submit], body input[type=button], body button, body .aspNetDisabled.example_c {
    background: var(--brand);
    color: #fff !important;
    border: 1px solid var(--brand);
    border-radius: 5px;
    padding: 9px 22px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
    height: auto;
    width: auto;
    box-shadow: 0 2px 4px rgba(20, 53, 90, .2);
    transition: background .2s, box-shadow .2s, transform .1s;
}
body .example_b:hover, body .example_c:hover, body .btn:hover, body .button:hover, body .action-button:hover,
body input[type=submit]:hover, body input[type=button]:hover, body button:hover {
    background: var(--brand-dark);
    color: #fff !important;
    letter-spacing: .3px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}
body .example_c { width: 100%; }
body input[disabled].example_c, body input[type=submit][disabled], body input[type=button][disabled] { background: #9aa8b5; border-color: #9aa8b5; cursor: not-allowed; box-shadow: none; transform: none; }

/* ---------- Login ---------- */
body .login { color: var(--brand-dark); }
body .form-style-1 input[type=text], body .form-style-1 input[type=password] { width: 100%; padding: 10px 12px; border: 1px solid #b8c4d0; }
body .form-style-1 input[type=text]:focus, body .form-style-1 input[type=password]:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31, 78, 121, .18); }

/* ---------- Popup / overlay ---------- */
body .popupRegister { border-top: 6px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
body .hider { background-color: rgba(20, 53, 90, .65); }

/* ---------- Validation / messages ---------- */
body span[style*="color:Red"], body span[style*="color:red"], body .error { color: var(--danger) !important; }

/* ---------- jQuery UI datepicker ---------- */
body .ui-widget { font-family: var(--font); }
body .ui-datepicker { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
body .ui-widget-header { background: var(--brand); border: 0; color: #fff; }
body .ui-state-default, body .ui-widget-content .ui-state-default { background: #f3f6fa; border-color: var(--border); color: var(--text); }
body .ui-state-hover, body .ui-state-active, body .ui-widget-content .ui-state-active { background: var(--brand) !important; border-color: var(--brand) !important; color: #fff !important; }

/* ---------- Refinements: neutralise legacy inline styles ---------- */
/* old pale-green page wrapper on home/registration pages */
body div[style*="c3dc72"], body div[style*="C3DC72"] { background: transparent !important; }
body .welcometext { color: var(--text); font-size: 15px; }
body .welcometext h1 { color: var(--brand-dark); font-size: 24px; font-weight: 600; }
body .panelbox { padding: 24px; }
body .panelbox h2 { color: var(--brand-dark); font-size: 20px; font-weight: 600; }

/* "NEW REGISTRATION" call-to-action link (inline orange text) -> gold button */
body a#refnew {
    display: inline-block;
    background: var(--accent);
    color: var(--brand-dark) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: .8px;
    padding: 11px 34px;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(201, 162, 39, .45);
    text-decoration: none;
    transition: transform .15s, box-shadow .2s;
}
body a#refnew:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(201, 162, 39, .55); }
body .panelbox marquee { display: none; }

/* lookup / login card on home page */
body .div { margin: 30px auto 60px !important; max-width: 640px; width: 94% !important; }
body .tab1 { width: 100% !important; max-width: 520px; margin: 0 auto !important; box-sizing: border-box; border-left: 4px solid var(--accent); text-align: left; }
body .tab1 td { vertical-align: middle; padding: 8px 6px; }
body .tab1 input[type=text] { width: 100% !important; box-sizing: border-box; }
body .example_b { background: var(--brand) !important; color: #fff !important; text-transform: none !important; letter-spacing: .3px; font-weight: 600 !important; padding: 10px 26px !important; border-radius: 5px !important; }
body .example_b:hover { background: var(--brand-dark) !important; color: #fff !important; font-weight: 600 !important; letter-spacing: .3px !important; box-shadow: var(--shadow-lg); }

/* header banner + navigation polish */
body header { border-bottom: 0; }
body header .headerImg { max-height: 150px; object-fit: contain; background: #fff; padding: 6px 0; }
body .mainlable { font-size: 17px !important; border-radius: 0 !important; border-top: 3px solid var(--accent); }
body nav { border-bottom: 3px solid var(--accent); margin-bottom: 0; }
body .nav { display: flex; justify-content: center; flex-wrap: wrap; }
body .nav > li { float: none; }
body .nav a { text-shadow: none; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; }
body .nav > li > a:hover { background: rgba(255, 255, 255, .08); }
body .welcometext { padding-top: 25px; }

/* footer never hides page content */
body { padding-bottom: 60px; }
body footer { backdrop-filter: none; }

/* subtle page-load animation */
body .panelbox, body .div, body .tab1, body .logindivform { animation: fadeUp .45s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* login card sizing */
body .logindivform { min-width: 300px; border-radius: 10px; box-shadow: var(--shadow-lg); }
body .logindivform .example_c { margin-top: 6px; }

/* ==========================================================================
   HOME PAGE (home.aspx)
   ========================================================================== */
body .hm-hero {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 60%, #2c6aa0 100%);
    color: #fff; text-align: center; padding: 56px 20px 80px; position: relative; overflow: hidden;
}
body .hm-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
body .hm-hero::before { content: ""; position: absolute; left: -60px; bottom: -120px; width: 280px; height: 280px; border-radius: 50%; background: rgba(201, 162, 39, .12); }
body .hm-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
body .hm-hero h1 { color: #fff; font-size: 34px; font-weight: 700; margin: 14px 0 10px; line-height: 1.25; }
body .hm-hero p { color: #dbe7f3; font-size: 16px; margin: 0 0 26px; }
body .hm-badge { display: inline-block; background: rgba(201, 162, 39, .18); color: #f3d77a; border: 1px solid rgba(243, 215, 122, .5); padding: 5px 16px; border-radius: 30px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
body a.hm-cta, body a.hm-btn { display: inline-block; cursor: pointer; text-decoration: none; text-align: center; }
body a.hm-cta { background: var(--accent); color: var(--brand-dark) !important; font-weight: 700; font-size: 16px; padding: 14px 38px; border-radius: 40px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: transform .15s, box-shadow .2s; }
body a.hm-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }

body .hm-wrap { max-width: 1100px; margin: 36px auto 0; padding: 0 16px 30px; position: relative; z-index: 2; }
body .hm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
body .hm-card { background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--brand); border-radius: 10px; box-shadow: var(--shadow); padding: 26px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform .2s, box-shadow .2s; }
body .hm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
body .hm-card h2 { font-size: 19px; margin: 12px 0 8px; color: var(--brand-dark); }
body .hm-card p { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
body .hm-icon { width: 54px; height: 54px; line-height: 54px; border-radius: 50%; background: var(--brand-light); color: var(--brand); font-size: 24px; text-align: center; }
body .hm-input { width: 100%; box-sizing: border-box; padding: 11px 12px; margin-bottom: 14px; text-align: center; }
body .hm-btn, body input.hm-btn { background: var(--brand); color: #fff !important; border: 0; border-radius: 5px; padding: 11px 28px; font-weight: 600; font-size: 15px; cursor: pointer; margin-top: auto; text-decoration: none; transition: background .2s, transform .15s; }
body .hm-btn:hover, body input.hm-btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
body .hm-list { list-style: none; margin: 0; padding: 0; text-align: left; width: 100%; }
body .hm-list li { position: relative; padding: 7px 0 7px 26px; font-size: 14px; color: var(--text); border-bottom: 1px dashed var(--border); }
body .hm-list li:last-child { border-bottom: 0; }
body .hm-list li::before { content: "\2713"; position: absolute; left: 0; top: 7px; color: var(--success); font-weight: 700; }

/* process steps (home + registration) */
body .hm-steps { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
body .hm-step { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 40px; padding: 8px 18px 8px 8px; box-shadow: var(--shadow); }
body .hm-step b { width: 30px; height: 30px; line-height: 30px; text-align: center; border-radius: 50%; background: var(--brand-light); color: var(--brand); font-size: 14px; }
body .hm-step span { font-size: 14px; font-weight: 600; color: var(--text); }
body .hm-step.active { background: var(--brand); border-color: var(--brand); }
body .hm-step.active b { background: var(--accent); color: var(--brand-dark); }
body .hm-step.active span { color: #fff; }

/* ==========================================================================
   REGISTRATION PAGE (registration.aspx) + all .myform data-entry forms
   ========================================================================== */
body .pg-head { max-width: 920px; margin: 28px auto 22px; padding: 0 16px; text-align: center; }
body .pg-head h1 { font-size: 28px; margin: 0 0 8px; color: var(--brand-dark); }
body .pg-head h1::after { content: ""; display: block; width: 60px; height: 3px; background: var(--accent); margin: 10px auto 0; border-radius: 2px; }
body .pg-head p { color: var(--muted); font-size: 14px; max-width: 700px; margin: 12px auto 0; }
body .pg-steps { margin-top: 20px; }

body .myform, body .myform2 { width: 94% !important; max-width: 920px; margin: 0 auto 22px !important; border-collapse: separate; border-spacing: 0; padding: 0; }
body .myform th.title, body .myform2 th.title, body .myform th, body .myform2 th {
    background: linear-gradient(90deg, var(--brand-dark), var(--brand)); color: #fff !important;
    font-size: 15px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; text-align: left !important;
    padding: 12px 20px; border: 0; border-bottom: 3px solid var(--accent);
}
body .myform td, body .myform2 td { padding: 10px 20px; border-bottom: 1px solid #edf1f5; vertical-align: middle; color: var(--text); }
body .myform td:first-child:not([colspan]), body .myform2 td:first-child:not([colspan]) { width: 36% !important; font-weight: 500; background: #fafbfd; }
body .myform tr:hover > td:not([colspan]) { background: #f5f9fd; }
body .myform td font[color], body .myform td font[style*="red"] { color: var(--danger) !important; font-weight: 700; }
body .myform td input[type=text], body .myform td input[type=password], body .myform td textarea { width: 100%; max-width: 460px; box-sizing: border-box; }
body .myform td select { min-width: 110px; max-width: 100%; background: #fff; }
body .myform td select.dropSelect { min-width: 200px; }
body .myform #SiblingDetails table td, body .myform #vReason td { padding: 6px 8px; border: 0; background: transparent !important; width: auto !important; }
body .myform #SiblingDetails { margin-top: 12px; padding: 10px; background: var(--brand-light); border-radius: 6px; }
body .myform #vReason { width: 100%; }
body .myform #vReason td { padding: 8px 12px; font-size: 14px; }
body .myform .largerCheckbox { vertical-align: middle; margin-right: 6px; }
body .myform .text li { margin-bottom: 8px; line-height: 1.6; }
body #btnContinue, body #btnContinue.example_c { min-width: 200px; font-size: 16px; padding: 12px 34px; background: var(--brand) !important; color: #fff !important; border: 1px solid var(--brand) !important; }
body #btnContinue:hover, body #btnContinue.example_c:hover { background: var(--brand-dark) !important; color: #fff !important; border-color: var(--brand-dark) !important; }

/* terms popup */
body .hider { z-index: 9999; }
body #boxshadow16.popupRegister { width: 92% !important; max-width: 760px; left: 50% !important; margin-left: 0 !important; transform: translateX(-50%); top: 6% !important; height: auto !important; max-height: 88vh; }
body #boxshadow16 h2 { color: var(--brand-dark) !important; font-family: var(--font) !important; font-size: 20px !important; }
body #popInstruct { height: auto !important; max-height: 55vh; border: 1px solid var(--border); border-radius: 6px; }
body #popInstruct .forms-sign-up2 { background: #fff; margin-top: 0; }
body .popup-info td, body .popup-note td { padding: 10px 14px; background: transparent; }
body .popup-info td.grid, body td.grid { background: var(--brand-light) !important; color: var(--text) !important; font-weight: 400; font-size: 14px; }
body tr.popup-note td { background: var(--brand-light); }
body tr.popup-note p { font-size: 15px !important; color: var(--brand-dark); }
body #instruct li { font-family: var(--font); font-size: 14px; min-height: 0; margin-bottom: 4px; }
body #popupMsgAlert { width: 92% !important; max-width: 420px; left: 50% !important; transform: translateX(-50%); top: 30% !important; text-align: center; }
body #lblMsgAlert { color: var(--brand-dark) !important; font-family: var(--font) !important; }

/* ---------- Admin / report / selection pages ---------- */
body #tbdata { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
body #tbdata th { background: var(--brand) !important; color: #fff !important; text-align: left; padding: 11px 12px; font-weight: 600; }
body #tbdata td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--border); }
body #tbdata tr:nth-child(even) { background-color: #f7f9fc; }
body #tbdata tr:hover { background-color: var(--brand-light); }
body .example_c:hover { border: 1px solid var(--brand-dark) !important; background: var(--brand-dark) !important; }
body .example_b:hover { background: var(--brand-dark); }
body .grid, body td.grid { font-family: var(--font); }

/* ---------- Fixes from review ---------- */
/* banner image has white lettering -> needs a dark background */
body header { background: linear-gradient(180deg, #14355a 0%, #1f4e79 100%) !important; border-bottom: 0; }
body header > table { max-width: none !important; width: 100% !important; border-collapse: collapse; }
body header > table > tbody > tr > td, body header > table > tr > td { padding: 0 !important; }
body header .headerImg { max-width: 1100px; margin: 0 auto; background: transparent !important; padding: 8px 0 !important; max-height: 170px; }
body header .mainlable, body header div[align="center"] { background: rgba(0, 0, 0, .22) !important; border-top: 1px solid rgba(255, 255, 255, .15) !important; border-bottom: 3px solid var(--accent); border-radius: 0 !important; width: 100%; box-sizing: border-box; margin: 0; }

/* registration form: strict two-column layout, left aligned */
body .myform { table-layout: fixed; }
body .myform td, body .myform th { text-align: left !important; }
body .myform td:first-child:not([colspan]) { width: 38% !important; padding-left: 24px; }
body .myform td:nth-child(2) { width: 62% !important; }
body .myform td[colspan] { text-align: left; }
body .myform td[colspan][align="center"], body .myform td[colspan] p[align="center"] { text-align: center !important; }
body .myform select { width: auto; }

/* ---------- Home / registration responsive ---------- */
@media only screen and (max-width: 900px) {
    body .hm-grid { grid-template-columns: 1fr; }
    body .hm-hero h1 { font-size: 26px; }
    body .hm-hero { padding: 40px 16px 70px; }
}
@media only screen and (max-width: 750px) {
    body .myform td, body .myform2 td { display: block; width: 100% !important; box-sizing: border-box; padding: 6px 14px; border-bottom: 0; }
    body .myform td:first-child:not([colspan]) { background: transparent; padding-top: 12px; font-weight: 600; }
    body .myform th { display: block; }
    body .myform td input[type=text] { max-width: 100%; }
    body .pg-head h1 { font-size: 22px; }
    body .hm-step { padding-right: 12px; }
    body .hm-step span { font-size: 12px; }
}

/* ---------- Print: keep receipts clean ---------- */
@media print {
    html body { background: #fff !important; padding-bottom: 0; }
    body header, body nav, body footer { box-shadow: none; }
}

/* ---------- Responsive ---------- */
@media only screen and (max-width: 750px) {
    body .mainlable, body header div[align="center"] { font-size: 14px !important; padding: 9px 8px !important; }
    body .nav { display: block; }
    body .nav a { padding: 11px 16px; }
    body a#refnew { font-size: 15px !important; padding: 10px 24px; }
    body .div, body .tab1, body .box, body .myform, body .myform2, body .mytable { width: 94% !important; margin-left: auto !important; margin-right: auto !important; }
    body .title { font-size: 18px; }
    body footer p { font-size: 11px; }
}
