@import url('../basic.css');
@import url('../article.css');

p {
    text-align: justify;
}

#paper_video {
    padding-top: 2ex;
}

#paper_video p {
    margin: 0;
    margin-bottom: .5ex;
    text-align: center;
}

#paper_video table {
    margin: auto; /* centers the table in div */
}

#paper_video .idiv800 {
    margin: auto; /* centers iframes in div */
    width: 800px;
    max-width: 100%;
}

#paper_video .idiv320 {
    margin: auto; /* centers iframes in div */
    width: 320px;
    max-width: 100%;
}

#paper_video .idiv16to9 {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

#paper_video iframe {
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#paper_video .paper_title {
    font-weight: bold;
    font-size: larger;
    letter-spacing: -.1ex;
}

#paper_video .paper_authors {
    letter-spacing: -.1ex;
}

#paper_video .paper_venue {
    color: #999;
    font-style: italic;
    letter-spacing: -.1ex;
    margin-bottom: 2ex;
}

#bibtex {
    background: #eee;
    display: inline-block;
    padding-left: 1ex;
    padding-right: .5ex;
    margin-bottom: 2ex;
    letter-spacing: -.15ex;
}

#bibtex h3 {
    margin-top: .5ex;
}

#bibtex p {
    margin-bottom: .5ex;
}

#bibtex tt, #bibtex pre {
    color: #000;
    font-size: smaller;
}

#paper_video, #bibtex {
    display: block;
    overflow: auto; /*scrolls horizontally on phones*/
}

/* ---- General style ---------------------------------- */

a {
    color: #069;
    text-decoration: none;
    border-bottom: 1px dotted #069;
}

a:hover {
    color: white;
    background-color: #c60;
}

/* ---- Special Elements-------------------------------- */

.download_link {
    padding: .7ex 0 1ex 0;
}

.download_link a {
    padding: .7ex 1.4ex .7ex 1.4ex;
    color: #069;
    background-color: #ddd;
    border: 1px solid #333;
    text-decoration: none;
    font-weight: bold;
}

.download_link a:visited {
    color: #518;
}

.download_link a:focus, .download_link a:hover, .download_link a:active {
    color: white;
    background-color: #c60;
}
