body {
    margin: 0px;
    padding: 0px;
    font-size: 10pt;
    background-image: url(../images/bg.jpg);
    background-repeat: repeat-x;
    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
}

td {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10pt;
    line-height: 14pt;
    text-align: justify;
    vertical-align: top;
}

#wrapper {
    width: 940px;
    max-width: 100%;
    min-height: 600px;
    margin: 0 auto;
    text-align: left;
}

#mnuTop {
    padding: 0px;
    width: 100%;
    height: 76px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

#logo {
    width: 250px;
    height: 76px;
    flex-shrink: 0;
}

#logo img {
    display: block;
    width: 250px;
    height: 76px;
}

#menuItems {
    display: flex;
    align-items: flex-end;
}

.top_mitem {
    background-image: url(../images/menu_bg.jpg);
    background-repeat: repeat-x;
    background-position: bottom;
    height: 40px;
    width: 100px;
    color: #333333;
    font-weight: bold;
    text-align: center;
    padding-top: 30px;
    cursor: pointer;
    border-left: 1px solid #CCCCCC;
    letter-spacing: 1px;
    font-size: 10pt;
    text-decoration: none;
    display: block;
    box-sizing: content-box;
}

a.top_mitem, a.top_mitem:visited {
    color: #333333;
    text-decoration: none;
}

a.top_mitem:hover {
    color: #333333;
    text-decoration: underline;
}

.top_mitem.mitem_sel, a.top_mitem.mitem_sel, a.top_mitem.mitem_sel:visited {
    background-image: url(../images/menu_bg.jpg);
    color: #0084ce;
}

.top_mitem_efile {
    height: 45px;
    padding: 15px 0 10px 0;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top_mitem_efile img {
    width: 100px;
    height: auto;
    display: block;
    border: 0;
}

.homeMain {
    padding: 30px;
    background-color: #ffffff;
    margin-top: 25px;
    text-align: left;
}

.homeGrid {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.homeText {
    flex: 1;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10pt;
    line-height: 15pt;
    text-align: justify;
    color: #000000;
}

.homePic {
    border: 1px solid #C0C0C0;
    background-image: url(../images/apt.png);
    width: 320px;
    height: 211px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.aboutPic {
    border: 1px solid #C0C0C0;
    background-image: url(../images/apt.png);
    width: 320px;
    height: 211px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.servicesPic {
    border: 1px solid #C0C0C0;
    background-image: url(../images/services_pic.jpg);
    width: 320px;
    height: 211px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.contactPic {
    border: 1px solid #C0C0C0;
    background-image: url(../images/contactus_pic.jpg);
    width: 320px;
    height: 211px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.linksPic {
    border: 1px solid #C0C0C0;
    background-image: url(../images/links_pic.jpg);
    width: 320px;
    height: 211px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.subtitle {
    color: #0791B6;
    font-size: 16pt;
    font-weight: bold;
}

.subtitle:hover {
    text-decoration: underline;
}

.sep {
    background-image: url(../images/sep_bg.jpg);
    height: 10px;
    margin: 20px 0 10px 0;
}

.actionBar {
    width: 100%;
    margin-top: 10px;
}

.actionBar td {
    padding: 6px;
}

#footer {
    text-align: center;
    padding: 6px 6px 6px 20px;
    min-height: 22px;
    background-color: #EFEFEF;
    color: #666666;
    margin-top: 25px;
    margin-bottom: 30px;
    font-size: 10pt;
    line-height: 22px;
}

#footer a, #footer a:visited {
    color: #E67300;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

a, a:visited {
    text-decoration: none;
    color: #E67300;
}

a:hover {
    text-decoration: underline;
}

h2 {
    padding: 0px;
    margin: 0px 0px 10px 0px;
    color: #336699;
    font-size: 16pt;
    line-height: 1.2;
    font-weight: bold;
}

/* Responsive adjustments for mobile so it doesn't break horizontal width */
@media (max-width: 960px) {
    #wrapper {
        width: 100%;
        padding: 0 10px;
    }
    #mnuTop {
        height: auto;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    #menuItems {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 680px) {
    .homeGrid {
        flex-direction: column;
        align-items: center;
    }
    .homePic, .aboutPic, .servicesPic, .contactPic, .linksPic {
        max-width: 100%;
    }
    .homeText {
        text-align: left;
    }
    .top_mitem {
        width: 80px;
        font-size: 8.5pt;
        padding-top: 24px;
        height: 36px;
    }
    .top_mitem_efile {
        height: 40px;
        padding-top: 6px;
    }
    .top_mitem_efile img {
        width: 75px;
    }
}
