/* Reset CSS */

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Speaker Stack CSS */

/* For accessible text: https://webaim.org/techniques/css/invisiblecontent/ */
.hidden-for-accessibility {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.speaker-stack-embed {
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

.speaker-stack-presentation-wrapper {
    position: relative;
}

/* Hide first slide until loaded to prevent flash */
.speaker-stack-presentation {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 300ms, opacity 300ms;
}

.speaker-stack-presentation.slick-initialized{
    visibility: visible;
    opacity: 1;
    transition: visibility 0s linear 0s, opacity 300ms;
}

.slick-slide,
.slick-loading {
    background:#eee url('https://i.gifer.com/7plQ.gif') no-repeat center;
}

.slick-slide img {
    max-width: 100vw;
    max-height: 100vh;
    height: auto !important;
    width: auto !important;
}

.speaker-stack-presentation .slick-slide img {
    margin: 0 auto;
}

.speaker-stack-embed:fullscreen .speaker-stack-presentation .slick-slide img {
    width: 100% !important;
    max-height: 100vh;
    object-fit: contain;
}

.speaker-stack-embed:fullscreen .speaker-stack-presentation-nav-wrapper {
    display: none;
}

.speaker-stack-presentation-nav .slick-slide img {
    height: 100px !important;
}

.speaker-stack-presentation-actions-wrapper {
    display: flex;
    /* Activate this for hover interactivity */
    opacity: 0;
    transition: .3s ease;
    background: rgba( 255,255,255, 0.9 );
    color: #212121;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.speaker-stack-presentation-actions-wrapper:after {
    box-shadow: inset 0 0 0 200px rgba(255,255,255,0.05);
    filter: blur(10px);
}

.speaker-stack-embed:hover .speaker-stack-presentation-actions-wrapper {
    opacity: 0.9;
}

.speaker-stack-slide-controls,
.speaker-stack-action-controls {
    flex: 50%;
    padding: 10px;
}

.speaker-stack-action-controls {
    text-align: right;
}

.speaker-stack-presentation-actions-wrapper a {
    color: #212121;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 5px;
}

@media ( max-height: 300px ) {
    .speaker-stack-presentation-nav .slick-slide img {
        height: 50px !important;
    }
    .speaker-stack-presentation-actions-wrapper {
        position: relative;
        opacity: 0.9;
        margin-top: -40px;
    }
    .speaker-stack-presentation-nav-wrapper + .speaker-stack-presentation-actions-wrapper {
        margin-top: 0;
    }
    .speaker-share-slide-numbers {
        display: none;
    }
}

.slick-prev,
.slick-next {
    display: none !important;
}

.modal {
    display: none;
}

.modal pre code {
    padding: 10px;
    background: whitesmoke;
    display: block;
    white-space: pre-wrap;       /* css-3 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
    font-size: 12px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

.modal h3 {
    margin: 10px 0;
}

.modal .social-share-speaker-stack a {
    position: relative;
    display: inline-block;
}

.modal .social-share-speaker-stack a:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.modal .social-share-speaker-stack object {
    height: 40px;
}

@media ( max-width: 300px ) {
    .speaker-stack-embed .modal {
        padding: 10px;
    }
    .modal pre code {
        font-size: 10px;
        height: 20px;
        overflow: scroll;
    }
    .modal h3 {
        font-size: 14px;
        margin: 5px 0;
    }
    .modal .social-share-speaker-stack object {
        height: 25px;
    }
}