/* Additional styles of the website (frontend). Loaded last, after the template css, so it can adjust it. */

/* Home page: the marquee lines in the dark bar under the slider */
.slider-outer .tp-bannertimer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 200;
    line-height: 40px;
    height: 40px;
}

.slider-outer .tp-bannertimer .header-contact ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.slider-outer .tp-bannertimer .header-contact li {
    flex: none;
    margin-right: 40px;
    font-size: 14px;
}

.slider-outer .tp-bannertimer .header-contact a {
    color: #fff;
    display: flex;
    align-items: center;
}

.slider-outer .tp-bannertimer .new-n img {
    width: 35px;
    height: 15px;
    margin-right: 8px;
}

/* Latest update page: the extra pictures under the text, in an even grid */
.update-gallery a {
    display: block;
}

.update-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

/* Latest update page: the picture beside its description */
.update-detail img {
    max-width: 100%;
    height: auto;
}

.update-detail .wt-post-discription img {
    max-width: 100%;
    height: auto;
}

/* Latest update page: the description wraps around the picture, so a long text fills the space under it */
.update-detail::after {
    content: "";
    display: block;
    clear: both;
}

.update-detail .update-main-image {
    float: left;
    width: 33%;
    margin: 0 30px 20px 0;
}

.update-detail .update-main-image img {
    width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .update-detail .update-main-image {
        float: none;
        width: 100%;
        margin: 0 0 20px;
    }
}

/* Pages with the Default layout: the template removes the bullets and numbers of every list; the lists written in the
   page editor get them back (the PDF list, which is marked not-list, keeps its own look) */
#inner-default-pages .section-head ul:not(.not-list) {
    list-style: disc outside;
    padding-left: 22px;
    margin-bottom: 24px;
}

#inner-default-pages .section-head ol {
    list-style: decimal outside;
    padding-left: 22px;
    margin-bottom: 24px;
}

#inner-default-pages .section-head ul:not(.not-list) li,
#inner-default-pages .section-head ol li {
    list-style: inherit;
    padding: 0 0 6px;
}

/* Contact Us page: the math captcha (the sum and its refresh button) and the answer of the form */
.contact-form-outer .captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-form-outer .captcha-row .captcha-label img {
    height: 44px;
    width: auto;
}

.contact-form-outer .captcha-row button {
    border: 1px solid #ccc;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
}

.contact-form-outer .contact-feedback {
    margin-top: 12px;
    font-weight: 500;
}
