.news-img {
    float: left;
    width: 260px;
    height: auto;
}

@media (max-width: 600px) {
    .news-img {
        float: none;
        margin-bottom: 10px;
        width: 100%;
    }

    .news-item-title {
        float: left;
        clear: left;
        width: 100%;
    }
}

.news-item {
    float: left;
    width: 100%;
    clear: both;
}

.news-item-description {
    padding-bottom: 8px;
}

.event-rm {
    margin-top: 10px;
}

/* search */
.level-1:not(.level-up) {
    padding-right: 50px;
}

.search-icon {
    position: absolute;
    right: 15px;
    bottom: 10px;
    cursor: pointer;
}

@media (max-width: 991px) {
    .search-icon {
        right: 60px;
        bottom: 20px;
    }
}

.search-icon img {
    width: 30px;
    height: 30px;
}

.search-container {
    margin-top: -120px;
    position: absolute;
    height: 80px;
    width: 360px;
    top: 0;
    right: 0;
    z-index: 4000;
    background: #fff;
    -webkit-transition: margin-top ease-out 1s;
    transition: margin-top ease-out 1s;
    padding: 20px;
    -webkit-box-shadow: 10px 10px 32px -7px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 32px -7px rgba(0,0,0,0.75);
    box-shadow: 10px 10px 32px -7px rgba(0,0,0,0.75);
}

    .search-container.visible {
        margin-top: 95px;
    }

    .search-container input {
        float: left;
        border-color: #0e4194;
        border-width: 1px;
        padding: 5px;
        line-height: 24px;
    }

    .search-container button {
        background: #e30613;
        border: none;
        color: #fff;
        display: inline-block;
        float: left;
        margin-left: 20px;
        border-radius: 10em;
        padding: .5em 2em;
        text-decoration: none;
        font-weight: 600;
        font-size: 12px;
        line-height: 2em;
        -webkit-transition: .3s;
        transition: .3s;
    }

        .search-container button:hover {
            background: #0e4194;
        }

.search-results li {
    padding-bottom: 5px;
}

/* login area */
button.level-1-href {
    border: none;
    background: none;
    font-size: 15px;
}

.form {
    padding: 40px 0 60px;
}

    .form input {
        margin-top: 5px;
        margin-bottom: 5px;
        padding: 5px 10px;
        background: #fff;
        border: 1px solid #0e4194;
    }

    .form label {
        display: block;
        color: #0e4194;
        font-size: 1.4em;
        margin-top: 20px;
    }

    .form .field-validation-error {
        color: #e30613;
        float: left;
        clear: left;
        width: 100%;
        font-size: 1em;
    }

.login-btn {
    border: 1px solid #0e4194;
    color: #fff;
    background-color: #0e4194;
    cursor: pointer;
    padding: 5px 15px;
    margin-top: 20px;
    font-size: 1.3em;
}

    .login-btn:hover {
        color: #0e4194;
        background-color: #fff;
    }

.newsletters {
    background-color: #0e4194;
    padding: 25px;
    color: #fff;
}

    .newsletters a {
        color: #fff;
        text-decoration: none;
    }

        .newsletters a:hover {
            text-decoration: underline;
        }

    .newsletters ul {
        padding-left: 20px;
    }

    .newsletters li {
        padding-bottom: 5px;
    }

.accordion-toggle {
    cursor: pointer;
    position: relative;
}

    .accordion-toggle::after {
        content: '\21E3';
        font-size: 20px;
        margin-left: 20px;
    }

.accordion-container.active .accordion-toggle::after {
    content: '\21E1';
}

.accordion-container .accordion-content {
    display: none;
}

.gallery {
    width: 100%;
    margin-bottom:20px;
    overflow:hidden;
}

    .gallery a {
        width: 18%;
        margin-left: 2.5%;
        margin-bottom: 20px;
        display: inline-block;
        float: left;
        -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.4);
        box-shadow: 0 0 10px rgba(0,0,0,0.4);
        transition: transform 1s;
    }

        .gallery a:nth-child(5n+1) {
            margin-left: 0;
        }
    
        .gallery a:hover {
            transform: scale(1.1);
        }

@media (max-width: 600px) {
    .gallery a{
        width:46%;
        margin-left:2%;
        margin-right:2%;
    }
        .gallery a:nth-child(5n+1) {
            margin-left: 2%;
        }
}

.red-block {
    position: relative;
    max-width: 570px;
    margin: 1rem auto;
    padding: 2rem 1rem;
    background: rgba(227,6,19,0.8);
    color: #fff;
}

.red-title {
    font-weight: 400;
    padding-bottom: .5em;
    line-height: 1.25em;
    font-size: 22px;
}

@media screen and (min-width: 360px) {
    .red-title {
        font-size: calc(22px + 10 * (100vw - 360px) / 1560);
    }
}

.red-subtitle, .red-subtitle * {
    font-weight: 400;
    line-height: 1.5em;
    font-size: 16px;
}

.red-subtitle *{
    margin-top:0;
    margin-bottom:0;
}

@media screen and (min-width: 360px) {
    .red-subtitle, .red-subtitle * {
        font-size: calc(16px + 5 * (100vw - 360px) / 1560);
    }
}

/* Site Notice Bar */
#site-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 3px solid #0e4194;
    padding: 14px 20px;
    z-index: 9999;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
}
.sn-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.sn-text {
    font-size: 13px;
    color: #333;
    flex: 1;
    min-width: 200px;
    margin: 0;
}
.sn-text a {
    color: #0e4194;
    text-decoration: underline;
}
.sn-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.sn-btn {
    border: none;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 10em;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    -webkit-transition: .3s;
    transition: .3s;
    white-space: nowrap;
    line-height: 1.5;
}
.sn-btn-primary {
    background: #0e4194;
    color: #fff;
}
.sn-btn-primary:hover {
    background: #e30613;
}
.sn-btn-secondary {
    background: transparent;
    color: #0e4194;
    border: 1px solid #0e4194;
}
.sn-btn-secondary:hover {
    background: #0e4194;
    color: #fff;
}

/* Preferences Overlay */
#pref-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}
#pref-overlay.active {
    display: -webkit-flex;
    display: flex;
}
.pp-box {
    background: #fff;
    max-width: 520px;
    width: 90%;
    border-radius: 4px;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}
.pp-header {
    background: #0e4194;
    color: #fff;
    padding: 18px 24px;
}
.pp-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
}
.pp-body {
    padding: 20px 24px;
}
.pp-body > p {
    font-size: 13px;
    color: #555;
    margin-bottom: 16px;
}
.pp-item {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 14px 16px;
    margin-bottom: 10px;
}
.pp-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.pp-item-title {
    font-weight: 600;
    font-size: 14px;
    color: #0e4194;
}
.pp-item-desc {
    font-size: 12px;
    color: #666;
    margin: 0;
}
/* Toggle switch */
.pp-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}
.pp-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.pp-toggle-track {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 24px;
    -webkit-transition: .3s;
    transition: .3s;
}
.pp-toggle-thumb {
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    -webkit-transition: .3s;
    transition: .3s;
}
.pp-toggle input:checked ~ .pp-toggle-track {
    background: #0e4194;
}
.pp-toggle input:disabled ~ .pp-toggle-track {
    background: #0e4194;
    opacity: 0.5;
}
.pp-toggle input:checked ~ .pp-toggle-thumb {
    -webkit-transform: translateX(20px);
    transform: translateX(20px);
}
.pp-toggle input:disabled ~ .pp-toggle-thumb {
    -webkit-transform: translateX(20px);
    transform: translateX(20px);
}
.pp-footer {
    padding: 14px 24px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

