*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: #1b8c99; color: #000; font-family: "Open Sans", Arial, Helvetica, sans-serif; font-size: 12px; }
img { max-width: 100%; height: auto; border: 0; }
a { color: #fff; }
a:hover { color: #ffe640; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 8px; top: 8px; background: #fff; color: #000; padding: 6px 10px; z-index: 40; }
.site-wrap { width: 1000px; margin: 0 auto; }

#header {
    background: url("../images/theme/header.avif") bottom center / 100% 100% no-repeat;
}
.head-row { position: relative; height: 110px; }
#logo { position: absolute; left: 0; top: 0; z-index: 2; }
#logo img { width: 600px; height: 100px; object-fit: contain; object-position: left center; max-width: none; }
.regd {
    float: right;
    margin-top: 38px;
    color: #191919;
    font-size: 24px;
    text-decoration: none;
    position: relative;
    z-index: 2;
}
.regd:hover { color: #13626b; }

.slider-container { position: relative; width: 1000px; height: 320px; margin: 0 auto -10px; }
.fp-slides { position: relative; width: 1000px; height: 320px; overflow: hidden; }
.fp-slides-items { position: absolute; inset: 0; opacity: 0; transition: opacity 1s linear; z-index: 0; }
.fp-slides-items.is-active { opacity: 1; z-index: 1; }
.fp-slides-items img { width: 100%; height: 320px; object-fit: cover; display: block; max-width: none; }
.fp-nav { position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; z-index: 3; }
.fp-pager {
    width: 18px;
    height: 18px;
    margin: 0 4px;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: url("../images/theme/slider-page.png") center / 18px 18px no-repeat;
    text-indent: -999px;
    overflow: hidden;
}
.fp-pager.is-active, .fp-pager:hover { background-image: url("../images/theme/slider-page-active.png"); }

#mainmenu-container {
    width: 1102px;
    height: 72px;
    margin: 0 auto;
    background: url("../images/theme/mainmenu-container.png") top center / 1102px 72px no-repeat;
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 4;
    padding: 8px 48px 0 66px;
}
#mainmenu ul { display: flex; list-style: none; margin: 0; padding: 8px 0 0; }
#mainmenu a {
    display: block;
    padding: 16px 14px;
    color: #5b5a5a;
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;
}
#mainmenu a:hover, #mainmenu a.is-active { color: #191919; }
.menusearch { margin-left: auto; margin-top: 16px; width: 230px; flex: 0 0 230px; }
.searchform {
    height: 25px;
    background: #17747f;
    box-shadow: 0 1px 2px #0a3338 inset;
    border-radius: 13px;
    display: flex;
    align-items: center;
}
.menusearch.searchform { background: #f7df3e; box-shadow: 0 1px 2px #6c621b inset; }
.searchtxt {
    background: transparent;
    border: 0;
    color: #7ba5ab;
    width: 100%;
    min-width: 0;
    height: 25px;
    padding: 0 8px;
    font-size: 12px;
    text-transform: lowercase;
}
.menusearch .searchtxt { color: #686767; }
.searchbtn {
    width: 25px;
    height: 25px;
    border: 0;
    flex: 0 0 25px;
    cursor: pointer;
    background: url("../images/theme/search.png") center no-repeat;
}
.menusearch .searchbtn { background-image: url("../images/theme/header-search.png"); }
.mobile-jump, .mobile-menu { display: none; }

#content { margin: 20px 0 48px; }
.layout { display: flex; align-items: flex-start; gap: 6px; }
#main_content {
    width: 700px;
    flex: 1 1 auto;
    min-width: 0;
    color: #e8e8e8;
    padding: 0 30px 20px 0;
    background: url("../images/star-logo.png") 0 0 no-repeat;
    background-size: 240px auto;
}
h1 {
    margin: 0;
    padding: 14px 0 24px;
    color: #fff;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 700;
    font-size: 35px;
    line-height: 35px;
}
.post-body { font-size: 13px; line-height: 23px; overflow-wrap: anywhere; }
.post-body p { margin: 0 0 14px; }
.post-body h2, .post-body h3 {
    color: #fff;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 700;
    margin: 16px 0 8px;
}
.post-body h2 { font-size: 22px; }
.post-body h3 { font-size: 16px; }
.post-body ul { margin: 8px 0 16px; padding-left: 22px; }
.post-body li { margin: 2px 0; }
.post-body hr { border: 0; border-top: 1px solid rgba(255,255,255,.35); margin: 16px 0; }
.ink { color: #000; }
.services h2 { font-size: 18px; }

.gallery { display: flex; flex-wrap: wrap; margin: 0 -6px; }
.gallery-item { width: 33.333%; padding: 10px 6px 0; text-align: center; }
.gallery-item img { width: 100%; height: 170px; object-fit: cover; border: 2px solid #cfcfcf; display: block; }
.gallery-item figcaption {
    background: #1019D9;
    color: #fff;
    width: 92%;
    margin: 0 auto;
    padding: 3px 4px;
    font-weight: 500;
}

.sidebar {
    width: 294px;
    flex: 0 0 294px;
    background: #197f8b;
    border: 1px solid #14646e;
    border-radius: 18px;
    margin-top: 15px;
    color: #e8e8e8;
    padding: 10px 21px 18px;
}
.sidebar h3 {
    margin: 0;
    padding: 8px 0 4px;
    color: #fff;
    font-family: "Josefin Sans", sans-serif;
    font-size: 30px;
    font-weight: 700;
}
.widget_search { margin-bottom: 8px; }
#wp-calendar { width: 100%; border-collapse: collapse; }
#wp-calendar caption { font-family: "Josefin Sans", sans-serif; font-size: 14px; color: #fff; padding: 8px 0; caption-side: top; }
#wp-calendar th, #wp-calendar td { text-align: center; padding: 5px 0; }
#today { color: #ffe640; font-weight: 700; }

.feedback { margin: 18px 0; }
.feedback h3 { margin-top: 0; }
.feedback .input { display: block; margin-top: 4px; }
.feedback input[type="text"], .feedback textarea {
    width: 100%;
    max-width: 460px;
    background: #13626b;
    color: #fff;
    border: 1px solid #0e4e56;
    padding: 6px 8px;
}
.readmore, .send-row .readmore {
    background: #13626b;
    color: #fff;
    border: 0;
    text-transform: lowercase;
    padding: 4px 15px;
    font-size: 13px;
    cursor: pointer;
}
.readmore:hover { background: #ffe640; color: #191919; }
.form-error, .form-ok { color: #ffe640; display: block; margin-top: 4px; }
.find-us { margin: 8px 0 12px; }
.contact-details { list-style: none; margin: 0 0 20px; padding: 0; }
.contact-details li {
    min-height: 32px;
    padding: 4px 0 10px 40px;
    background-repeat: no-repeat;
    background-position: left top;
}
.contact2 { background-image: url("../images/theme/phone.png"); }
.contact3 { background-image: url("../images/theme/mail.png"); }
.contact4 { background-image: url("../images/theme/icq.png"); }
.map { width: 100%; max-width: 600px; height: 450px; }

.search-hits { list-style: none; margin: 0; padding: 0; }
.search-hits li { margin-bottom: 16px; }
.search-hits a { font-size: 18px; }

.footer_txt { padding: 30px 0 36px 50px; color: #000; font-size: 12px; }
.footer_txt a { color: #fff; }
.smthemes { display: none; }

#scrollUp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 20;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}
#lightbox[hidden] { display: none !important; }
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .86);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
#lightbox figure { margin: 0; max-width: 92vw; }
#lightbox img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; object-fit: contain; }
#lightbox figcaption { color: #fff; text-align: center; margin-top: 8px; }
.lightbox-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 1140px) {
    .site-wrap, .slider-container, .fp-slides, #mainmenu-container { width: 100%; max-width: 1000px; }
    #mainmenu-container { background-size: 100% 72px; }
    #logo img { width: min(600px, 62vw); height: auto; }
    .fp-slides-items img { max-width: 100%; }
}
@media (max-width: 1023px) {
    #header { background-image: url("../images/theme/header-tablet.avif"); background-size: cover; background-position: top center; }
    .head-row { height: auto; padding-top: 10px; }
    #logo { position: static; display: inline-block; }
    #logo img { width: min(460px, 100%); }
    .regd { float: none; display: block; text-align: right; margin: 6px 0 10px; font-size: 18px; }
    .layout { display: block; }
    #main_content { width: 100%; padding-right: 0; }
    .sidebar { width: 100%; margin-top: 18px; }
    #mainmenu-container { height: auto; flex-wrap: wrap; background: #ffe640; border-radius: 10px; padding: 8px 10px 10px; }
    #mainmenu ul { flex-wrap: wrap; padding-top: 0; }
    .menusearch { width: 220px; flex-basis: 220px; margin: 8px 0 0 auto; }
    .slider-container, .fp-slides, .fp-slides-items img { height: 220px; }
    .smthemes { display: block; margin-top: 8px; }
    .footer_txt { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 639px) {
    #mainmenu { display: none; }
    .mobile-menu { display: block; width: calc(100% - 24px); margin: 10px 12px 0; max-width: 100%; }
    #mainmenu-container { display: block; margin: 0 12px; }
    .menusearch { width: 100%; flex-basis: auto; margin-top: 8px; }
    .slider-container { width: calc(100% - 24px); }
    .fp-slides { width: 100%; }
    .slider-container, .fp-slides, .fp-slides-items img { height: 180px; }
    .gallery-item { width: 50%; }
    .map { height: 260px; }
    #logo img { max-width: 100%; }
}
