:root {
    --bs-primary: #4F5D75;
    --bs-primary-rgb: 79, 93, 117;

    --bs-secondary: #EDA2C1;
    --bs-secondary-rgb: 237, 162, 193;

    --bs-success: #6E9B73;
    --bs-info: #6F9DC7;
    --bs-warning: #D9A441;
    --bs-danger: #C86A6A;

    --bs-light: #F8F5F6;
    --bs-dark: #2F3542;

    --bs-link-color: #4F5D75;
    --bs-link-hover-color: #3D4A61;
}

body {
    font-family: "Open Sans", sans-serif;
    color: #555
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1080px !important;
}

.container a,
footer a {
    text-decoration: none;
    transition: all .4s ease-in-out;
}

.container a:hover {
    text-decoration: underline;
}

.topbar {
    background: #000;
    color: #fff;
    padding: 10px 0;
    font-size: 13px
}

.topbar a {
    color: #fff
}

.topbar input {
    background: transparent;
    border: 1px solid #666;
    color: #fff
}

.site-header {
    border-bottom: 1px solid #eee
}

.logo-placeholder {
    width: 220px;
    height: 70px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center
}

.nav-link {
    letter-spacing: 2px;
    font-size: 13px
}

.nav-link.active {
    color: #ef8ea7
}

.hero .placeholder {
    height: 460px;
    background: #c8d6e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: #fff
}

.video-placeholder,
.facebook-placeholder {
    background: #ddd;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center
}

.facebook-title {
    text-align: center;
    margin: 20px 0
}

/* Blog grid */

.layout-blog .blog-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

@media (max-width: 991px) {
    .layout-blog .blog-items {
        grid-template-columns: 1fr;
    }
}

/* Article */

.blog-item {
    display: flex;
    flex-direction: column;
}

.item-title {
    font-size: 3rem;
    font-weight: 100;
}

/* Images */

.item-image {
    margin: 0 0 1.5rem;
}

.item-image img {
    border-radius: 5px;
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.486);
}

/* Heading */

.page-header {
    margin-bottom: 1rem;
}

.page-header h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 100;
    font-family: "Open Sans", sans-serif;
}

.page-header a {
    color: inherit;
    text-decoration: none;
}

.page-header a:hover {
    color: var(--bs-primary);
}

img.header-img-blur {
    filter: drop-shadow(0 6px 9px black);
}

/* Content */

.item-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.item-content p {
    line-height: 1.8;
}

/* Read more */

.readmore {
    margin-top: auto;
    padding-top: 1rem;
}

.readmore .btn {
    border-radius: 0;
}

/* Joomla frontend article editing button */
.float-end>div>a[aria-describedby^="editarticle"] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.6rem;
    font-size: 0.875rem;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    background: #f5f5f5;
    border-radius: 4px;
    color: #333;
}

.float-end>div>a[aria-describedby^="editarticle"]:hover {
    background: #e5e5e5;
    color: #000;
}

/* Joomla edit icon */
.float-end>div>a[aria-describedby^="editarticle"] .icon-edit {
    display: inline-flex;
    width: 1rem;
    height: 1rem;
    align-items: center;
    justify-content: center;
}

/* Hide the tooltip text that Joomla places inside the link */
.float-end>div>a[aria-describedby^="editarticle"] [role="tooltip"] {
    display: none;
}

.float-end>div>a[aria-describedby^="editarticle"] {
    font-size: 0;
}

.float-end>div>a[aria-describedby^="editarticle"] .icon-edit {
    font-size: 1rem;
}

/* Login modal */
#loginModal .modal-content {
    border: 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .15);
}

#loginModal .modal-header {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

#loginModal .modal-title {
    font-size: 1.35rem;
    font-weight: 600;
}

#loginModal .modal-body {
    padding: 1.75rem;
}


/* Form fields */
#loginModal .mod-login .form-group {
    margin-bottom: 1rem;
}

#loginModal .input-group {
    position: relative;
}

#loginModal .form-control {
    min-height: 48px;
    padding: .75rem 3rem .75rem 1rem;
    border-radius: .5rem;
    border: 1px solid #dee2e6;
    transition: border-color .2s ease, box-shadow .2s ease;
}

#loginModal .form-control:focus {
    border-color: #0d7cc0;
    box-shadow: 0 0 0 .25rem rgba(13, 124, 192, .15);
}


/* User icon */
#loginModal .input-group-text {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 48px;
    border: 0;
    background: transparent;
    color: #6c757d;
    z-index: 5;
    justify-content: center;
}


/* Password visibility button */
#loginModal .input-password-toggle {
    position: absolute;
    right: 0;
    top: 0;
    height: 48px;
    width: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #6c757d;
    z-index: 5;
}

#loginModal .input-password-toggle:hover {
    color: #0d7cc0;
}


/* Remember checkbox */
#loginModal .form-check {
    margin: 1rem 0;
}

#loginModal .form-check-input {
    cursor: pointer;
}

#loginModal .form-check-label {
    cursor: pointer;
}


/* Login button */
#loginModal .btn-primary {
    min-height: 48px;
    border-radius: .5rem;
    font-weight: 600;
    background-color: #023f75;
    border-color: #023f75;
    transition: background-color .2s ease;
}

#loginModal .btn-primary:hover {
    background-color: #0d7cc0;
    border-color: #0d7cc0;
}


/* Links */
#loginModal .mod-login__options {
    margin: 1.5rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, .08);
    text-align: center;
}

#loginModal .mod-login__options li {
    margin-bottom: .5rem;
}

#loginModal .mod-login__options a {
    color: #023f75;
    font-size: .9rem;
    text-decoration: none;
}

#loginModal .mod-login__options a:hover {
    color: #0d7cc0;
    text-decoration: underline;
}

#jform_alias-desc {
    display: none;
}


.kart {
    position: relative;
    max-width: 1360px;
    margin: 0 auto;
}

.kart h2 {
    text-align: center;
    display: block;
    position: absolute;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.29);
    bottom: 10%;
    color: #fff;
    padding: 20px 0;
    pointer-events: none;
}

/* Hide labels visually but keep them for screen readers */

.element-invisible,
.mod-finder label {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Search form */
.search form {
    display: flex;
    align-items: stretch;
    max-width: 420px;
    width: 100%;
}

/* Search field */
.search input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 2rem;
    padding: 0 1rem;
    border: 1px solid #ced4da;
    border-right: 0;
    border-radius: .5rem 0 0 .5rem;
    font-size: 1rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.search input[type="search"]:focus {
    border-color: var(--bs-secondary);
    box-shadow: inset 0 0 0 1px var(--bs-secondary);
}

/* Search button */
.search button {
    height: 2rem;
    padding: 0 1.25rem;
    border: 1px solid var(--bs-primary);
    border-radius: 0 .5rem .5rem 0;
    background: var(--bs-primary);
    color: var(--bs-light);
    font-weight: 600;
    white-space: nowrap;
    transition: background-color .2s;
}

.search button:hover {
    background: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

/* Mobile */
@media (max-width: 576px) {
    .search form {
        max-width: none;
    }
}

/* ==================================================
   Contact Page
   ================================================== */

.com-contact {
    max-width: 1200px;
    margin: 0 auto;
}

/* Page title */

.com-contact .page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.com-contact .contact-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bs-primary, #4F5D75);
}

/* ==================================================
   Contact Information
   ================================================== */

.com-contact__container {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 3rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.com-contact__container h2 {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--bs-primary, #4F5D75);
}

.com-contact__thumbnail {
    text-align: center;
}

.com-contact__thumbnail img {
    max-width: 180px;
    width: 100%;
    height: auto;
}

.contact-address {
    margin: 0;
}

.contact-address dt {
    display: none;
}

.contact-address dd {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-address a {
    color: var(--bs-primary, #4F5D75);
    text-decoration: none;
}

.contact-address a:hover {
    text-decoration: underline;
}

/* ==================================================
   Contact Form Card
   ================================================== */

.contact-form form {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

/* Hide old Joomla legend */

.contact-form legend {
    display: none;
}

.field-spacer {
    display: none;
}

/* Form fields */

.contact-form .control-group {
    margin-bottom: 1.5rem;
}

.contact-form .control-label {
    margin-bottom: .5rem;
}

.contact-form .control-label label {
    display: block;
    font-weight: 600;
    color: #333;
}

.contact-form .controls {
    width: 100%;
}

.contact-form .form-control {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d9dee3;
    border-radius: .5rem;
    padding: .75rem 1rem;
    transition: all .2s ease;
}

.contact-form textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

.contact-form .form-control:focus {
    border-color: var(--bs-primary, #4F5D75);
    box-shadow: 0 0 0 .25rem rgba(79, 93, 117, .15);
    outline: none;
}

/* Required star */

.contact-form .star,
.contact-form .red {
    color: #dc3545;
}

/* Submit button */

.contact-form .btn-primary {
    min-width: 220px;
    min-height: 50px;
    border-radius: .5rem;
    font-weight: 600;
    border: 0;
    background: var(--bs-primary, #4F5D75);
}

.contact-form .btn-primary:hover {
    background: #3d4a61;
}

/* ==================================================
   Mobile
   ================================================== */

@media (max-width: 768px) {

    .com-contact__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .com-contact .contact-name {
        font-size: 2rem;
    }

    .contact-form form {
        padding: 1.5rem;
    }

    .contact-form .btn-primary {
        width: 100%;
    }
}

/* Page 131 - Link list */
.itemid-131 .com-content-article__body {
    max-width: 900px;
}

.itemid-131 .com-content-article__body p {
    margin: 0 0 .75rem;
}

.itemid-131 .com-content-article__body p a {
    display: block;
    padding: .9rem 1.25rem;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-left: 4px solid #EDA2C1;
    border-radius: .5rem;
    color: #2f3542;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s ease;
}

.itemid-131 .com-content-article__body p a:hover,
.itemid-131 .com-content-article__body p a:focus {
    background: #faf7f9;
    border-left-color: #4F5D75;
    color: #4F5D75;
    transform: translateX(4px);
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .08);
}

.itemid-131 .com-content-article__body p a::after {
    content: "›";
    float: right;
    font-size: 1.25rem;
    line-height: 1;
    color: #EDA2C1;
    transition: transform .2s ease;
}

.itemid-131 .com-content-article__body p a:hover::after {
    transform: translateX(4px);
    color: #4F5D75;
}