.query_rule {color:#000;}

/* Team member photos: grayscale by default, full color on hover (same effect as Eva Černá's box, applied to every box). No image edits required. */
.team_member a.grayHover img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -webkit-transition: -webkit-filter 0.3s ease-out;
    transition: filter 0.3s ease-out, -webkit-filter 0.3s ease-out;
}
.team_member:hover a.grayHover img,
.team_member a.grayHover:hover img {
    filter: grayscale(0);
    -webkit-filter: grayscale(0);
}
/* Hide the stray duplicate image that the legacy canvas grayscale script may inject (it fails under file:// / unloaded images). */
.team_member a.grayHover img.grayscale {
    display: none;
}

/* Make the on-hover details popup span the full box width for every team member.
   Without this it shrinks to fit its content, so boxes with short text (e.g. Zdeněk Voves)
   appear narrower than boxes with longer text (e.g. Eva Černá). */
.team_member .details {
    left: 0;
    right: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Product catalog tabs (tabs_style_my) — custom DIRMAX style, not in Kalypso core CSS */
.tabbable.tabs_style_my {
    background: #fff;
    border: 1px solid #ececec;
    margin-bottom: 20px;
}
.tabbable.tabs_style_my > ul.nav {
    margin: 0;
    padding: 0;
    list-style: none;
    background: #cd2122;
    overflow: hidden;
}
.tabbable.tabs_style_my > ul.nav > li {
    float: left;
    margin: 0;
    padding: 10px 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}
.tabbable.tabs_style_my > ul.nav > li b {
    color: #fff;
    font-weight: 700;
}
.tabbable.tabs_style_my .tab-content {
    background: #fff;
    border-top: 1px solid #ececec;
    padding: 15px 20px;
}