/* Local additions for the vikitravel Phalcon port (jv_winto theme).
 * Verbatim theme files (default/template/typo/menu.css) stay untouched,
 * except menu.css where one url() was adjusted from ../../images/ to
 * ../images/ (location-dependent path: the file moved from
 * jv_menus/jv_moomenu/ to css/). Everything new or overriding lives here. */

/* --- legacy-absent images: bg-left.png never existed in the source
 * template and is unrecoverable (no archive copy), so template.css
 * #jv-left carries no background image. The other misses (logo.jpg in
 * a comment, icon-pages.gif/bullet-list.gif/shadow-bg.gif/author.gif/
 * info.gif) have no matching elements in our markup and fire no
 * requests. --- */

/* --- main menu dropdown: pure-CSS hover (replaces mootools moo menu) --- */
#menusys_moo li ul {
    background: #1e7ac7;
}
#menusys_moo li ul li a span {
    text-transform: none;
    font-weight: normal;
}
#menusys_moo > li > a.active span {
    text-decoration: underline;
}

/* --- slideshow (AutsonSlideShow replacement, vanilla rotation) --- */
#jv-slideshow {
    padding: 0;
    background: #fff;
}
#jv-slideshow .slideshow {
    position: relative;
    width: 1000px;
    height: 211px;
    overflow: hidden;
}
.slideshow-slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}
.slideshow-slide.active {
    display: block;
}
.slideshow-slide img {
    display: block;
    width: 1000px;
    height: 211px;
}
.slideshow-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 980px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 12px;
}
.slideshow-caption strong {
    display: block;
    font-size: 14px;
}
.slideshow-caption span {
    display: block;
}

/* --- gallery / item images --- */
.item-gallery img,
.cat-thumb {
    margin: 0 8px 8px 0;
    border: 1px solid #d6d6d6;
    padding: 2px;
    background: #fff;
}
table.fields {
    border-collapse: collapse;
    margin: 10px 0;
}
table.fields th,
table.fields td {
    border: 1px solid #d6d6d6;
    padding: 4px 8px;
    text-align: left;
    vertical-align: top;
}
table.fields th {
    background: #f4f4f4;
    white-space: nowrap;
}
ul.tourListing td a {
    padding: 1px 4px;
}

/* --- feedback / contact block (Rapid Contact replacement, read-only) --- */
.feedback-block {
    border: 1px solid #d6d6d6;
    padding: 8px 10px;
    margin: 10px 0;
}
.feedback-block h3 {
    margin: 0 0 6px 0;
}

/* --- search box in the right column --- */
.search-box {
    margin: 10px 0;
}
.search-box .inputbox {
    width: 70%;
}

/* --- pagination --- */
p.pages a {
    padding: 0 4px;
}

/* --- pb_spoiler accordion (ported from
 * plugins/content/pb_spoiler/jquery/style.css; arrow gifs copied
 * byte-identical to theme/images/spoiler-{up,down}.gif) --- */
.technology {
    cursor: hand;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold !important;
    margin-bottom: 3px;
    display: block;
    text-align: center;
    color: #ff6d01;
}
.openlanguage {
    display: block;
    background: transparent url(../images/spoiler-up.gif) no-repeat left center;
    padding-left: 14px;
}
.closedlanguage {
    display: block;
    background: transparent url(../images/spoiler-down.gif) no-repeat left center;
    padding-left: 14px;
}
/* Collapsed by default (JS adds .spoiler-open on click). Grid-rows
 * animation handles arbitrary body heights (ddaccordion animatespeed). */
.thelanguage {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.6s ease;
}
.thelanguage.spoiler-open {
    grid-template-rows: 1fr;
}
.thelanguage > .thetextinter {
    overflow: hidden;
    min-height: 0;
}
