/* Tag cloud and product tag block (bomastags). Taken over from the patched blocktags module. */
a.tag_level3 {
    font-size: 1.8em;
    font-weight: bold
}

a.tag_level2 {
    font-size: 1.4em
}

a.tag_level1 {
    font-size: 1em;
    color: #888
}



div.tags_block {
    list-style: none;
    position: relative;
    clear: both;
    display: block;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.tags_block .tags-word {
    /*     border-color: #75b7e0; #1b82d6 */
    border-bottom: 2px solid #75b7e0;
}

div.tags_block li,
div.tags_block a {
    float: left;
    height: 24px;
    line-height: 24px;
    position: relative;
    font-size: 11px;
    /* padding-top: 5px; */
    margin-top: 8px;
    margin-bottom: 8px;
}

div.tags_block a {
    margin-left: 20px;
    padding: 0 10px 0 12px;
    background: #4b85b7;
    color: #fff;
    text-decoration: none;
    -moz-border-radius-bottomright: 4px;
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
}

div.tags_block a:visited {
    color: #fff;
}

div.tags_block a:before {
    content: "";
    float: left;
    position: absolute;
    top: 0;
    left: -11px;
    width: 0;
    height: 0;
    border-color: transparent #4b85b7 transparent transparent;
    border-style: solid;
    border-width: 12px 12px 12px 0;
}

div.tags_block a:after {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    float: left;
    width: 4px;
    height: 4px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    background: #fff;
    -moz-box-shadow: -1px -1px 2px #4b85b7;
    -webkit-box-shadow: -1px -1px 2px #4b85b7;
    box-shadow: -1px -1px 2px #4b85b7;
}

div.tags_block a:hover {
    background: #216198;
    text-decoration: none;
}

div.tags_block a:hover:before {
    border-color: transparent #216198 transparent transparent;
}

/* Facet colour swatch border; lived in blocktags.css, kept so the filters look the same */
.facet-label.active .custom-checkbox span.color,
.facet-label:hover .custom-checkbox span.color {
    border-color: #ccc;
}

/* The tags are floated: clear them inside the block, otherwise the next column block
   (e.g. brands) slides up underneath them. A clearfix rather than overflow/flow-root,
   because the theme's mobile accordion sets an inline display:block on .block_content. */
div.tags_block .block_content {
    margin-bottom: 0;
}

div.tags_block .block_content:after {
    content: "";
    display: block;
    clear: both;
}

/* Column tag cloud: keep only the 20px bottom margin the theme gives every column block
   (.columns .block); the extra padding left a double gap under the heading. */
#tags_block_left {
    padding-bottom: 0;
}
