html { overflow-x: hidden; }
body {
    margin: 0;
    color: #000;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}
img { max-width: 100%; height: auto; }
a { color: #333; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.wrapper { width: 960px; max-width: 100%; margin: 0 auto; background: #fff; }

#header {
    height: 138px;
    margin-top: 5px;
    padding: 38px 12px 8px;
    background: #fff;
    border: 1px solid #c0c0c0;
    box-sizing: border-box;
    overflow: hidden;
}
#header img { display: block; width: 732px; max-width: 100%; height: auto; }

#menubar { background: #eee; margin: 0 0 8px; }
.menu-toggle {
    display: none;
    width: 100%;
    border: 0;
    background: #07a2e5;
    color: #fff;
    font-size: 20px;
    line-height: 40px;
    cursor: pointer;
}
#menubar > ul {
    display: flex;
    align-items: stretch;
    height: 37px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #07a2e5;
}
#menubar > ul > li {
    position: relative;
    box-sizing: border-box;
    min-width: 99px;
    background: #07a2e5;
    border: 1px solid #0790cc;
    border-bottom: none;
    border-radius: 3px 3px 0 0;
}
#menubar > ul > li.current,
#menubar > ul > li:hover { background: #0b81b4; }
#menubar > ul > li > a {
    display: block;
    padding: 0 17px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 35px;
    text-decoration: none;
    white-space: nowrap;
}
.submenu {
    display: none;
    position: absolute;
    top: 36px;
    left: 0;
    z-index: 40;
    width: 200px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
}
.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu { display: block; }
.submenu li {
    background: #f3f3f3;
    border: 1px solid #6eb6dc;
}
.submenu a {
    display: block;
    position: relative;
    padding: 8px 10px 8px 22px;
    color: #555;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    text-decoration: none;
    background: #f4f4f4;
}
.submenu a::before {
    content: "›";
    position: absolute;
    left: 8px;
    color: #333;
    font-weight: 700;
}
.submenu a:hover,
.submenu a.current { background: #fff; }

.slider-block { max-width: 960px; }
.slider {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #ddd;
    border: 1px solid #c0c0c0;
}
.slide { display: none; width: 100%; height: 250px; object-fit: cover; }
.slide.on { display: block; }
.slider .prev,
.slider .next {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    border: 0;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    cursor: pointer;
}
.slider .prev { left: 8px; }
.slider .next { right: 8px; }
.dots { position: absolute; bottom: 8px; left: 0; right: 0; z-index: 2; text-align: center; }
.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 3px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}
.dot.on { background: #07a2e5; }
.slider-shadow { display: block; width: 100%; max-width: 960px; margin: 0 auto 6px; }

#content { padding: 0 0 10px; }
.itembox {
    clear: both;
    margin: 0 0 15px;
    border: 1px solid #e2e2e2;
    background: #fff;
}
.itembox h1.title {
    height: 32px;
    margin: 0;
    padding: 0 10px;
    border-bottom: 2px solid #986801;
    background: #000;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
}
.pstyle,
.pstyle1 {
    margin: 12px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 0 14px #d1d1d1;
    color: #000;
    font-family: Calibri, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-align: justify;
    overflow: auto;
}
.pstyle:hover,
.pstyle1:hover { box-shadow: 0 0 14px #707070; }
.pstyle p,
.pstyle1 p { margin: 0 0 12px; }
.pstyle ul,
.pstyle ol { margin: 0 0 14px; padding-left: 24px; }
.pstyle li { margin: 0 0 4px; }
.pstyle a,
.pstyle1 a { color: #333; }
.lead { font-size: 18px; }
.alignleft { float: left; margin: 0 16px 10px 0; }
.alignright { float: right; margin: 0 0 10px 16px; }
.aligncenter { display: block; margin: 10px auto; }
.center-title { margin: 8px 0; text-align: center; font-size: 18px; text-decoration: underline; }
.spare { width: auto; margin: 0 auto 10px; border-collapse: collapse; }
.spare td { width: 280px; padding: 10px; border: 1px solid #ccc; vertical-align: top; }
.spare .spare-title { margin: 0 0 8px; text-align: center; font-weight: 700; text-decoration: underline; }
.spare img { display: block; max-width: 220px; margin: 0 auto; }

.co { margin: 0 0 8px; color: #339966; font-size: 20px; font-weight: 700; text-align: left; }
.per { border-collapse: separate; border-spacing: 0 8px; }
.per td { padding-right: 12px; vertical-align: top; text-align: left; }
.indent { margin-left: 30px; }

.enquiry { margin: 0 12px 16px; font-family: Calibri, "Segoe UI", sans-serif; font-size: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enquiry label { display: block; margin-bottom: 4px; }
.required { color: #c00; }
.enquiry input[type="text"],
.enquiry textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 8px;
    border: 1px solid #ccc;
    background: #fff;
    color: #000;
    font-family: inherit;
    font-size: 15px;
}
.enquiry textarea { min-height: 90px; }
.green-box {
    margin: 8px 0 12px;
    padding: 12px;
    border: 1px solid #8fca8f;
    background: #f3fff3;
}
.green-box input { max-width: 180px; }
.form-actions { text-align: right; }
.send {
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    background: transparent;
    color: #666;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 30px;
    cursor: pointer;
}
.send:hover { background: #f3f3f3; }
.form-note { margin: 0 0 10px; padding: 8px 10px; }
.form-note.ok { background: #e8f7ee; color: #146c36; }
.form-note.error,
.field-error { color: #a40000; font-size: 14px; }
.field-error { display: block; margin-top: 4px; }

.gallery { display: flex; flex-wrap: wrap; margin: 8px; }
.gallery a { box-sizing: border-box; width: 33.33%; padding: 8px; text-align: center; }
.gallery img { width: 150px; height: 150px; max-width: 100%; object-fit: cover; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.82);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; }
.lb-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}

#footer { margin-top: 10px; background: #efefef; border-top: 1px solid #ddd; }
.copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 41px;
    padding: 10px 15px;
    background: #07a2e5;
    color: #fff;
    box-sizing: border-box;
}
.copyright p { margin: 0; color: #fff; }
.credit { color: #eee; font-size: 12px; font-weight: 700; text-decoration: underline; }

@media (max-width: 900px) {
    .menu-toggle { display: block; }
    #menubar > ul { display: none; height: auto; flex-direction: column; }
    body.nav-open #menubar > ul { display: flex; }
    #menubar > ul > li { border-radius: 0; border-bottom: 1px solid #0790cc; }
    #menubar > ul > li > a { line-height: 40px; }
    .submenu { position: static; display: none; width: 100%; box-shadow: none; }
    .has-sub:hover > .submenu,
    .has-sub:focus-within > .submenu { display: none; }
    .has-sub.open > .submenu { display: block; }
    .form-row { grid-template-columns: 1fr; }
    .alignleft, .alignright { float: none; display: block; margin: 0 auto 12px; }
    .gallery a { width: 50%; }
    .spare, .spare td { width: 100%; display: block; box-sizing: border-box; }
    #header { height: auto; }
    .slider, .slide { height: auto; }
    .slide { object-fit: contain; }
}
