/* SierraSentry Styles - modernized 2026 */

/* Scope box-sizing to sierra layout only to avoid affecting table-based layouts */
#page-wrap *,
#page-wrap *::before,
#page-wrap *::after {
    box-sizing: border-box;
}

body {
    margin: 35px 0 0 0;
    background-color: #D6D6D6;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #333;
}

/* --- Outer wrapper --- */
#page-wrap {
    width: 761px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #CCCCCC;
    border-radius: 6px;
    overflow: hidden;
}

/* --- Green top bar --- */
#page-top-bar {
    background-color: #24923A;
    height: 23px;
}

/* --- Header: logo + nav --- */
#page-header {
    background: #fff;
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #CCCCCC;
}

#page-header .logo {
    flex: 0 0 263px;
    padding: 0;
}

#page-header .logo img {
    display: block;
}

#page-header .nav-area {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 10px;
    padding-right: 10px;
    background: #fff;
}

/* --- Top nav bar --- */
#top-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

#top-nav li {
    display: inline-block;
}

#top-nav li a,
#top-nav li span {
    display: block;
    padding: 2px 10px;
    border-right: 1px solid #8C8B8B;
    white-space: nowrap;
}

#top-nav li:last-child a,
#top-nav li:last-child span {
    border-right: none;
}

a.nav, a.comNav {
    color: #24923A;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
}

a.nav:hover, a.comNav:hover {
    text-decoration: underline;
}

span.navOn {
    font-weight: bold;
    font-size: 12px;
    color: #333;
    padding: 2px 10px;
    border-right: 1px solid #8C8B8B;
    display: inline-block;
}

/* --- Content area --- */
#page-content-wrap {
    display: flex;
    align-items: stretch;
    background: #fff;
}

#page-content-photo {
    flex: 0 0 116px;
    background-color: #E9EFE4;
}

#page-content-photo img {
    display: block;
}

#page-content-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#page-content-title {
    background: #fff;
    flex: 0 0 40px;
    display: flex;
    align-items: stretch;
}

#page-content-title .title-img {
    flex: 0 0 244px;
}

#page-content-title .signin-area {
    flex: 1;
    background-color: #E9EFE4;
    border-top: 1px solid #CCCCCC;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
}

#page-content-body {
    padding: 20px 30px;
    background: #fff;
}

/* --- Footer --- */
#page-footer {
    border-top: 1px solid #CCCCCC;
    padding: 10px 0 0 0;
    background: #fff;
}

#page-bottom-bar {
    background-image: url('/images/bg_bottom.gif');
    height: 29px;
}

#footer-nav {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#footer-nav li {
    display: inline-block;
}

#footer-nav li a {
    display: block;
    padding: 2px 10px;
    border-right: 1px solid #8C8B8B;
}

#footer-nav li:last-child a {
    border-right: none;
}

.copyRight {
    text-align: center;
    font-size: 11px;
    color: #666;
    padding: 10px 0 20px 0;
}

/* --- General body text --- */
.bodyText {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #333;
}

.greenTextBold {
    color: #24923A;
    font-weight: bold;
}

.error {
    color: #cc0000;
    font-weight: bold;
}

.reportPhoto {
    margin: 2px;
}

/* --- Forms --- */
input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    padding: 2px 4px;
    border: 1px solid #999;
}

/* --- Tables used in content (not layout) --- */
table.bodyText td {
    padding: 3px 6px;
    vertical-align: top;
}
