/* Department of Computer Science & Engineering - RGU */
/* Basic CSS: selectors, colors, fonts, backgrounds, borders, margins, padding, lists, tables and forms */
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #eef5ff;
    color: #233b61;
    line-height: 1.6;
}
a {
    color: #2563a6;
}
a:hover {
    color: #d18b00;
}
.topline {
    background-color: #123b77;
    color: white;
    padding: 8px 6%;
    font-size: 12px;
}
.topline span {
    margin-left: 25px;
}
header {
    background-color: white;
    border-bottom: 1px solid #cbdcf3;
}
.header-inner {
    width: 90%;
    max-width: 1050px;
    margin: auto;
    padding: 20px 0;
    display: flex;
    gap: 20px;
}
.logo {
    width: 76px;
    height: 76px;
}
.eyebrow {
    color: #d18b00;
    font-size: 12px;
    font-weight: bold;
    margin: 0;
}
h1 {
    font-family: Georgia, serif;
    color: #123b77;
    font-size: 27px;
    margin: 3px 0;
}
.subhead {
    margin: 0;
    font-size: 13px;
    color: #536b88;
}
nav {
    background-color: #123b77;
}
.nav-inner {
    width: 90%;
    max-width: 1050px;
    margin: auto;
    font-size: 0;
}
nav a {
    font-size: 16px;
    display: inline-block;
    padding: 12px 17px;
    color: white;
    text-decoration: none;
}
nav a:hover, nav a.active {
    background-color: #ffcc36;
    color: #123b77;
}
main {
    width: 90%;
    max-width: 1050px;
    margin: 30px auto 45px;
}
h2, h3 {
    color: #123b77;
}
h2 {
    font-family: Georgia, serif;
    font-size: 29px;
}
h3 {
    font-size: 18px;
}
.kicker {
    color: #d18b00;
    font-size: 12px;
    font-weight: bold;
}
.hero {
    display: flex;
    gap: 15px;
    background-color: #dcecff;
    border: 1px solid #bed7f5;
    padding: 25px;
}
.hero-copy {
    width: 48%;
    padding: 15px;
}
.hero-copy h2 {
    font-size: 34px;
    margin: 10px 0;
}
.hero-image {
    width: 48%;
    height: 290px;
}
.button, button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #123b77;
    color: white;
    border: none;
    text-decoration: none;
    font-size: 14px;
}
.button:hover, button:hover {
    background-color: #ffcc36;
    color: #123b77;
}
.intro {
    max-width: 750px;
    margin: 40px auto;
    text-align: center;
}
.feature-grid {
    text-align: center;
}
.feature {
    display: inline-block;
    width: 30%;
    margin: 1%;
    padding: 20px;
    text-align: left;
    background-color: white;
    border: 1px solid #cbdcf3;
}
.number {
    color: #d18b00;
    font-size: 22px;
}
.feature a {
    font-weight: bold;
    text-decoration: none;
}
.note-strip {
    background-color: #dcecff;
    border-left: 4px solid #ffcc36;
    padding: 20px;
    margin-top: 25px;
}
.page-heading {
    border-bottom: 1px solid #cbdcf3;
    margin-bottom: 25px;
}
.faculty-grid {
    text-align: center;
}
.faculty-card {
    display: inline-block;
    width: 30%;
    margin: 1%;
    background-color: white;
    border: 1px solid #cbdcf3;
    text-align: left;
}
.faculty-card img {
    width: 100%;
    height: 230px;
}
.faculty-card div {
    padding: 15px;
}
.faculty-card h3 {
    margin: 0;
}
.role {
    color: #846022;
}
.faculty-card a {
    font-size: 13px;
}
table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    margin-bottom: 25px;
}
th {
    background-color: #123b77;
    color: white;
    text-align: left;
}
th, td {
    padding: 12px;
    border: 1px solid #cbdcf3;
}
tr:hover {
    background-color: #fff5ce;
}
.two-col section {
    display: inline-block;
    width: 47%;
    margin: 1%;
    padding: 20px;
    background-color: white;
    border: 1px solid #cbdcf3;
}
.simple-list {
    list-style-type: square;
    padding-left: 25px;
}
.simple-list li {
    margin-bottom: 6px;
}
.small-note {
    color: #536b88;
    font-size: 13px;
}
.contact-info {
    display: inline-block;
    width: 30%;
    padding: 20px;
    background-color: #dcecff;
}
.form-panel {
    display: inline-block;
    width: 65%;
    margin-left: 2%;
    padding: 20px;
    background-color: white;
    border: 1px solid #cbdcf3;
}
form label, .field-label {
    display: block;
    font-weight: bold;
    margin: 14px 0 5px;
}
input[type=text], input[type=email], input[type=date], select, textarea {
    width: 100%;
    padding: 9px;
    border: 1px solid #a9c3e5;
    font-family: Arial, sans-serif;
}
.inline-options label {
    display: inline-block;
    font-weight: normal;
    margin-right: 15px;
}
.form-actions {
    margin-top: 20px;
}
input[type=reset] {
    padding: 9px 18px;
    margin-left: 10px;
    border: 1px solid #a9c3e5;
}
iframe {
    border: 1px solid #a9c3e5;
}
.thankyou {
    text-align: center;
    padding: 60px 20px;
}
footer {
    background-color: #123b77;
    color: white;
    padding: 22px 5%;
    text-align: center;
    font-size: 12px;
}
.footer-inner span {
    margin: 0 10px;
}
/* Keep layout usable on narrower screens using simple widths */
@media (max-width: 700px) {
    .topline span {
        display: none;
    }
    .hero {
        display: block;
    }
    .hero-copy, .hero-image, .feature, .faculty-card, .two-col section, .contact-info, .form-panel {
        display: block;
        width: 100%;
        margin: 12px 0;
    }
    .hero-image {
        height: 220px;
    }
    h1 {
        font-size: 21px;
    }
    nav a {
        padding: 10px;
    }
}
/* XHTML 1.0 page uses div containers instead of HTML5 semantic elements. */
.site-header {
    background-color: white;
    border-bottom: 1px solid #cbdcf3;
}
.site-nav {
    background-color: #123b77;
}
.site-nav a {
    font-size: 16px;
    display: inline-block;
    padding: 12px 17px;
    color: white;
    text-decoration: none;
}
.site-nav a:hover, .site-nav a.active {
    background-color: #ffcc36;
    color: #123b77;
}
.page-main {
    width: 90%;
    max-width: 1050px;
    margin: 30px auto 45px;
}
.two-col .resource-section {
    display: inline-block;
    width: 47%;
    margin: 1%;
    padding: 20px;
    background-color: white;
    border: 1px solid #cbdcf3;
}
.site-footer {
    background-color: #123b77;
    color: white;
    padding: 22px 5%;
    text-align: center;
    font-size: 12px;
}
@media (max-width: 700px) {
    .two-col .resource-section {
        display: block;
        width: 100%;
        margin: 12px 0;
    }
}

/* Simple yellow highlights for links and form focus */
.feature a:hover, .note-strip a:hover, .faculty-card a:hover {
    color: #b77700;
}
input:focus, select:focus, textarea:focus {
    border-color: #e4ae1c;
}
