/*******************************************************   */

/*                     Generic elements                 */

/*******************************************************   */

/* Count & close */
.count,
.close {
    position: absolute;
    z-index: 88;
    top: 0;
    padding: 0 2px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 16px;
    font-weight: bold;
    height: 16px;
    min-width: 12px;
    text-align: center;
    -webkit-background-clip: padding-box;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
    border-width: 1px;
    border-style: solid;
    font-weight: bold;
    -webkit-box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 1px 3px rgba(0, 0, 0, 0.75);
    -moz-box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 1px 3px rgba(0, 0, 0, 0.75);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 1px 3px rgba(0, 0, 0, 0.75);
    -webkit-text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    -moz-text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.count.simpler,
.close.simpler {
    border-color: #808080;
    background: #808080;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-text-shadow: none;
    -moz-text-shadow: none;
    text-shadow: none;
}
.count {
    right: 6%;
    margin: -10px 0 0 0;
}
.close {
    cursor: pointer;
}
.count.right,
.count.inset,
.close {
    right: 0;
    margin: -10px -10px 0 0;
}
.count.left,
.close.left {
    right: auto;
    left: 0;
    margin: -10px 0 0 -10px;
}
.count.inset,
.close.inset {
    margin: 4px 4px 0 0;
}
.count.left.inset,
.close.left.inset {
    margin: 4px 0 0 4px;
}
#access > li > .count,
#access > li > a > .count {
    right: 50%;
    margin: 10px -25px 0 0;
}
#access > li > a > .count {
    -webkit-transition: all 200ms;
    -moz-transition: all 200ms;
    -ms-transition: all 200ms;
    -o-transition: all 200ms;
    transition: all 200ms;
}
#access > li > a:hover > .count {
    margin-top: 6px;
}

/* Blocks */
.block,
details.details {
    border: 1px solid #bfbfbf;
    position: relative;
    background-color: white;
    color: #666;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
}
.block-title,
details.details > summary {
    display: block;
    position: relative;
    padding: 18px 19px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    cursor: pointer;
    -webkit-box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 1px 1px rgba(0, 0, 0, 0.15);
    -moz-box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 1px 1px rgba(0, 0, 0, 0.15);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 1px 1px rgba(0, 0, 0, 0.15);
    -webkit-text-shadow: 0 1px 0 white;
    -moz-text-shadow: 0 1px 0 white;
    text-shadow: 0 1px 0 white;
}
.block-title {
    -webkit-border-top-left-radius: 8px;
    -webkit-border-top-right-radius: 8px;
    -moz-border-radius-topleft: 8px;
    -moz-border-radius-topright: 8px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
details.details > summary {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}
details.details.open > summary,
html.details details.details[open] > summary {
    -webkit-border-bottom-left-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    -moz-border-radius-bottomleft: 0;
    -moz-border-radius-bottomright: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
details.details > summary::before {
    content: '?';
    padding-right: 5px;
}
html.details details.details > summary::before {
    display: none;
}
details.details.open > summary::before {
    content: '?';
}
h3.block-title {
    padding: 15px 19px;
    margin: 0;
}
.block-title > h3,
details.details > summary > h3 {
    padding: 0;
    margin: -3px 0;
}
.block-title > .absolute-right {
    right: 17px;
}

/* Accordions */
.accordion {
    border: 1px solid #bfbfbf;
    position: relative;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}
.accordion > dt {
    display: block;
    position: relative;
    padding: 10px 11px;
    border-top-width: 1px;
    border-top-style: solid;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    cursor: pointer;
    -webkit-box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 1px 1px rgba(0, 0, 0, 0.15);
    -moz-box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 1px 1px rgba(0, 0, 0, 0.15);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 1px 1px rgba(0, 0, 0, 0.15);
}
.accordion > dt:first-child {
    border-top-width: 0;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.accordion > dt.closed {
    margin-bottom: -1px;
}
.accordion > dt.closed:last-of-type {
    border-bottom-width: 0;
    margin-bottom: 0;
    -webkit-border-bottom-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    -moz-border-radius-bottomright: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* Ribbon, from Chris Coyer CSS Tricks : http://css-tricks.com/snippets/css/corner-ribbon */
.ribbon {
    display: block;
    width: 85px;
    height: 88px;
    overflow: hidden;
    position: absolute;
    z-index: 88;
    top: -5px;
    right: -5px;
}
.no-csstransforms .ribbon {
    width: 70px;
    height: 46px;
}
.ribbon.tiny {
    width: 43px;
    height: 44px;
    top: -4px;
    right: -4px;
}
.no-csstransforms .ribbon.tiny {
    width: 40px;
    height: 23px;
}
.ribbon-inner {
    display: block;
    font-weight: bold;
    font-size: 15px;
    line-height: 15px;
    text-align: center;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    position: relative;
    padding: 7px 0;
    left: -7px;
    top: 17px;
    width: 120px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    -webkit-text-shadow: rgba(0, 0, 0, 0.25) 0 1px 1px;
    -moz-text-shadow: rgba(0, 0, 0, 0.25) 0 1px 1px;
    text-shadow: rgba(0, 0, 0, 0.25) 0 1px 1px;
}
.no-csstransforms .ribbon-inner {
    left: -25px;
}
.tiny > .ribbon-inner {
    font-size: 10px;
    line-height: 10px;
    padding: 3px 0;
    left: -2px;
    top: 7px;
    width: 60px;
}
.no-csstransforms .tiny > .ribbon-inner {
    left: -9px;
}
.ribbon-inner::before,
.ribbon-inner::after {
    content: '';
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 3px solid;
    border-top-color: inherit;
    position: absolute;
    bottom: -3px;
}
.tiny > .ribbon-inner::before,
.tiny > .ribbon-inner::after {
    border-left-width: 2px;
    border-right-width: 2px;
    border-top-width: 2px;
    bottom: -2px;
}
.ribbon-inner::before {
    left: 1px;
}
.ribbon-inner::after {
    right: 1px;
} /* Meter bars */
.meter {
    display: inline-block;
    height: 11px;
    line-height: 11px;
    width: 4px;
    margin-left: -2px;
    *margin-left: 2px;
    *vertical-align: middle;
    background: #999 url(../img/old-browsers/style/bg_meter.png) repeat-x;
    -webkit-background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    -o-background-size: 100% 100%;
    background-size: 100% 100%;
    background:
        -webkit-gradient(
            linear,
            left top,
            left bottom,
            from(#808080),
            to(#999)
        );
    background: -webkit-linear-gradient(top, #808080, #999);
    background: -moz-linear-gradient(top, #808080, #999);
    background: -ms-linear-gradient(top, #808080, #999);
    background: -o-linear-gradient(top, #808080, #999);
    background: linear-gradient(top, #808080, #999);
    -webkit-box-shadow:
        inset 0 0 1px rgba(0, 0, 0, 0.75),
        0 1px 0 rgba(255, 255, 255, 0.25);
    -moz-box-shadow:
        inset 0 0 1px rgba(0, 0, 0, 0.75),
        0 1px 0 rgba(255, 255, 255, 0.25);
    box-shadow:
        inset 0 0 1px rgba(0, 0, 0, 0.75),
        0 1px 0 rgba(255, 255, 255, 0.25);
} /* Information spot */
.info-spot {
    display: inline-block;
    width: 16px;
    height: 16px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 16px;
    font-weight: normal;
    vertical-align: middle;
    *vertical-align: baseline;
    position: relative;
    margin: -1px 0 1px;
    -webkit-text-shadow: none;
    -moz-text-shadow: none;
    text-shadow: none;
    cursor: help;
}
.info-spot > [class^='icon-'],
.info-spot > [class*=' icon-'] {
    position: absolute;
    font-size: 17px;
    top: 0;
    left: 0;
}
.info-spot:hover > [class^='icon-'],
.info-spot:hover > [class*=' icon-'] {
    color: white;
    z-index: 99;
}
.info-bubble {
    display: none;
    position: absolute;
    z-index: 98;
    top: -5px;
    left: 15px;
    min-width: 100px;
    padding: 8px 11px;
    background: #4c4c4c;
    color: white;
    text-align: left;
    -webkit-border-radius: 5px;
    -webkit-border-top-left-radius: 0;
    -moz-border-radius: 0 5px 5px 5px;
    border-radius: 0 5px 5px 5px;
}
.info-spot:hover > .info-bubble {
    display: block;
}
.info-bubble::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 100%;
    height: 26px;
    width: 21px;
    background-color: inherit;
    -webkit-border-top-left-radius: 13px;
    -webkit-border-bottom-left-radius: 13px;
    -moz-border-radius: 13px 0 0 13px;
    border-radius: 13px 0 0 13px;
} /* IE7 */
.info-bubble-before {
    display: block;
    position: absolute;
    top: 0;
    right: 100%;
    height: 26px;
    width: 21px;

    /* background-color:expression(this.parentNode.currentStyle['background-color']); */
}

/* Flipped */
.on-top > .info-bubble {
    top: auto;
    bottom: -5px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-bottom-left-radius: 0;
    -moz-border-radius: 5px 5px 5px 0;
    border-radius: 5px 5px 5px 0;
}
.on-top > .info-bubble::before {
    top: auto;
    bottom: 0;
} /* IE7 */
.on-top > .info-bubble > .info-bubble-before {
    top: auto;
    bottom: 0;
}
.on-left > .info-bubble {
    left: auto;
    right: 15px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 0;
    -moz-border-radius: 5px 0 5px 5px;
    border-radius: 5px 0 5px 5px;
}
.on-left > .info-bubble::before {
    right: auto;
    left: 100%;
    -webkit-border-radius: 0;
    -webkit-border-top-right-radius: 13px;
    -webkit-border-bottom-right-radius: 13px;
    -moz-border-radius: 0 13px 13px 0;
    border-radius: 0 13px 13px 0;
} /* IE7 */
.on-left > .info-bubble > .info-bubble-before {
    right: auto;
    left: 100%;
}
.on-top.on-left > .info-bubble {
    left: auto;
    right: 15px;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 0;
    -moz-border-radius: 5px 5px 0 5px;
    border-radius: 5px 5px 0 5px;
} /* IE7 */
.on-top.on-left > .info-bubble > .info-bubble-before {
    left: auto;
    right: 15px;
}

/* Touch screen do not handle hover correctly, the text is shown on an modal */
.js.touch .info-spot:hover > [class^='icon-'],
.js.touch .info-spot:hover > [class*=' icon-'] {
    color: inherit;
}
.js.touch .info-spot:hover > .info-bubble {
    display: none;
}
