/*
 * Slides HTML5 Web Component by Martin Ivanov (@wemakesitesnet)
 * More info regarding this exciting new technology: http://webcomponents.org/, http://www.x-tags.org/, http://www.polymer-project.org/
 * @author Martin Ivanov
 * @url developer website: http://wemakesites.net/
 * @url developer twitter: https://twitter.com/#!/wemakesitesnet
 * @url developer blog http://acidmartin.wordpress.com/
 **/

@font-face 
{
    font-family: 'TeXGyreAdventorRegular';
    src: url('fonts/texgyreadventor-regular-webfont.eot');
    src: url('fonts/texgyreadventor-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/texgyreadventor-regular-webfont.woff') format('woff'),
         url('fonts/texgyreadventor-regular-webfont.ttf') format('truetype'),
         url('fonts/texgyreadventor-regular-webfont.svg#TeXGyreAdventorRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

acidjs-xslides form,
acidjs-xslides > form > fieldset > ul > li > section,
acidjs-xslides > form > fieldset > ul > li > input,
acidjs-xslides > form > fieldset > ul > li section::before
{
    position: absolute;
}

acidjs-xslides > form > fieldset > ul > li > input,
acidjs-xslides > form > fieldset > ul > li > section
{
    opacity: 0;
}

acidjs-xslides form,
acidjs-xslides > form > fieldset > ul > li > section
{
    top: 16px;
    right: 16px;
    bottom: 16px;
    left: 16px;
}

acidjs-xslides > form > fieldset > ul > li,
acidjs-xslides > form > fieldset > ul > li > label
{
    width: 10px;
    height: 10px;
}

acidjs-xslides,
acidjs-xslides > form > fieldset > ul > li > label,
acidjs-xslides > form > fieldset > ul > li > label::before
{
    display: block;
}

acidjs-xslides > form > fieldset > ul > li,
acidjs-xslides > form > fieldset > ul > li section::before
{
    display: inline-block;
}

acidjs-xslides > form > fieldset > ul > li > input
{
    z-index: -1;
}

acidjs-xslides > form > fieldset > ul > li > section
{
    visibility: hidden;
}

acidjs-xslides > form > fieldset > ul > li > input:checked ~ section
{
    visibility: visible;
}

acidjs-xslides > form > fieldset > ul
{
    text-align: center;
}

acidjs-xslides > form > fieldset > ul > li
{
    padding: 1px;
    margin: 1px;
}

acidjs-xslides > form > fieldset > ul > li > label
{
    height: 10px;
    border: solid 1px #3c8cd3;
    z-index: 15;
    cursor: pointer;
}

acidjs-xslides > form > fieldset > ul > li > label::before
{
    content: "";
    margin: 1px;
    height: 8px;
    width: 8px;
}

acidjs-xslides > form > fieldset > ul > li > input:checked ~ label::before,
acidjs-xslides > form > fieldset > ul > li > input:not(:checked) ~ label:hover::before
{
    background: #3c8cd3;
}

acidjs-xslides > form > fieldset > ul > li > input:not(:checked) ~ label:hover::before
{
    opacity: .6;
}

acidjs-xslides
{
    counter-reset: slide;
    font-family: TeXGyreAdventorRegular, Arial, Sans-serif;
    cursor: default;
}

acidjs-xslides form
{
    box-shadow: 0 4px 13px 5px rgba(0, 0, 0, .2), 
                0 2px 2px rgba(0, 0, 0, .15);
    background: #fff;
}

acidjs-xslides > form > fieldset > ul > li > section
{
    padding: 16px;
    overflow-x: hidden;
    overflow-y: auto;
    text-align: left;
    
    -moz-transition: all 500ms 10ms ease-in;
    -webkit-transition: all 500ms 10ms ease-in;
    -ms-transition: all 500ms 10ms ease-in;
    -o-transition: all 500ms 10ms ease-in;
    transition: all 500ms 10ms ease-in;
}

/* slides counter */
acidjs-xslides > form > fieldset > ul > li section::before
{
    counter-increment: slide;
    content: "Slide " counter(slide);
    top: 6px;
    right: 6px;
    padding: 6px;
    font-size: 14px;
    line-height: 14px;
    background: #3c8cd3;
    color: #fff;
}

acidjs-xslides > form > fieldset > ul > li > section
{
    z-index: 5;
}

/* the slide is visible only if it's radio button is selected */
acidjs-xslides > form > fieldset > ul > li > input:checked ~ section
{
    opacity: 1;
}

acidjs-xslides::before
{
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .5);
    top: 0;
    left: 0;
}