/* presentations style

   requires:    /common/framework/css/framework.en.css
                /common/framework/css/gui.en.css
   ========================================================================== */

:root {
    --lh: 1.4rem;
    --max-lines: 4;
    --max-width: 290px;
}
body {
    font-size: 1rem;
    line-height: var(--lh);
}
#presentations main h2 {
    font-size: 1.5rem;
}
#presentations .big-image {
    background-image: url('/events/technology-conference/2022/presentations/img/presentations.jpg');
}
#presentations .details {
    width: 90%;
    border-bottom: 1px solid #c0c0c0;
    padding: 1.625rem 0 1.625rem 0;
}
#presentations .details:last-of-type {
    border-bottom: none;
    padding: 0;
}
#presentations h2.date {
    color: #ee3032;
    font-size: 1.5625rem;
    font-weight: 300;
    margin: 1.875rem 0 1.875rem -1.25rem;
}
#presentations .talks ol, #presentations .talks ol li {
    display: list-item;
    list-style: auto;
}
#presentations .talks ul, #presentations .talks ul li {
    display: list-item;
    list-style: disc;
}
#presentations .talks ol, #presentations .talks ul {
    margin-left: 1rem;
}
#presentations .talks ol.roman, #presentations .talks ol.roman li {
    list-style: lower-roman;
}
.visible-talks h2.date::before {
    border-style: solid;
    border-width: 0.1em 0.1em 0 0;
    content: '';
    display: inline-block;
    height: 0.35em;
    left: -0em;
    margin-right: .5em;
    position: relative;
    top: 0.5em;
    transform: rotate(135deg);
    vertical-align: top;
    width: 0.35em;
}
.hidden-talks h2.date::before {
    border-style: solid;
    border-width: 0.1em 0.1em 0 0;
    content: '';
    display: inline-block;
    height: 0.35em;
    left: -0em;
    margin-right: .5em;
    position: relative;
    top: 0.5em;
    transform: rotate(45deg);
    vertical-align: top;
    width: 0.35em;
}
#presentations h3.talk {
    color: #5fab9c;
    font-size: 1.25rem;
    line-height: 1.5rem;
    padding: 0;
    padding-bottom: 5px;
}
.speaker {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    /* margin: 0 0 1px; */
    padding: 0;
    display: block;
}
p.speaker+p.speaker {
    margin: 7px 0 0 0;
}
.speaker-title {
    font-style: italic;
    margin: 0 0 7px 0;
    padding: 0;
}
.right {
    width: 960px;
}
.divider {
    border-top: 1px solid #c0c0c0;
    margin: 1.625rem 0 1.625rem 0;
}
.download, .watch {
    margin: 10px 0 0 0;
    padding: 0 0 0 1.7rem !important;
    display: inline-block;
    font-size: 0.9rem;
}
.download {
    background: url('../img/download.jpg') no-repeat left center;
    margin: 10px 1rem 0 0;
}
.watch {
    background: url('../img/watch.jpg') no-repeat left center;
}
.row {
    margin: 0;
    width: 100%;
}
.half {
    margin: 0;
    width: 41%;
}
.half+.half {
    margin: 0 0 0 160px;
}
.details a[href=""]:link {
    display: none;
}
.details a[href=""]:link+.watch {
    margin: 0;
}
.footer .row {
    margin: 0 0 0 -4%;
    width: 104%;
}
.footer .half {
    display: inline-block;
    margin: 0 0 0 4%;
    vertical-align: top;
    width: 44%;
}
.footer .half+.half {
    margin: 0 0 0 4%;
}
.hidden-talks>div {
    display: none;
}
.visible-talks>div {
    display: block;
}
.abstract p.closed {
    display: -webkit-inline-box;
    -webkit-line-clamp: var(--max-lines);
    -webkit-box-orient: vertical;
    max-width: var(--max-width);
    overflow: hidden;
}
.open {
    background: url('../img/expand.svg') no-repeat top left;
    display: inline-block;
/*    height: 12px;*/
/*    width: 12px;*/
/*    position: absolute;*/
/*    margin-top: calc(var(--lh) * var(--max-lines) - 16px);*/
}
.abstract .open:hover {
    background: url('../img/expand-hover.svg') no-repeat top left;
}
.close {
    background: url('../img/collapse.svg') no-repeat top left;
    display: inline-block;
    height: 12px;
    margin: 0 0 -2px 5px;
    width: 12px;
}
.close:hover {
    background: url('../img/collapse-hover.svg') no-repeat top left;
}
.abstract p {
    display: inline;
    padding: 0;
}
.abstract {
    padding: 1rem 1rem 0.3125rem 0;
    max-width: var(--max-width);
}
/* styles for medium screens (1200px)
   ========================================================================== */

@media all and (max-width: 1200px) {}
/* styles for medium screens (900px)
   ========================================================================== */

@media all and (max-width: 900px) {
    .download {
        font-size: 1rem;
    }
}
/* styles for small screens (600px)
   ========================================================================== */

@media all and (max-width: 600px) {
    :root {
        --max-lines: 2;
        --max-width: 500px;
    }
    #presentations h2.date {
        margin: 1rem 0 0 0;
    }
    .abstract, .abstract p.closed {
        max-width: var(--max-width);
    }
}
/* styles for very small screens (400px)
   ========================================================================== */

@media all and (max-width: 400px) {
    .download {
        margin: 15px 20px 0 0;
    }
}
/* styles for very small screens (400px)
   ========================================================================== */

@media all and (max-width: 320px) {
    :root {
        --max-lines: 3;
        --max-width: 300px;
    }
    .download {
        margin: 15px 20px 0 0;
    }
}