/* basic */

* {
    font-family: sans-serif;
}

a {
    color: gray;
}

b {
    color: red;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: darkcyan;
}


/* layout */

body {
    width: 1000px;
    margin: 16px auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #1F7292;
}

body.cncp2025 {
    width: 1050px;
    margin: 16px auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #1979a0;
}

main {
    margin: 32px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

nav {
    width: 150px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

article {
    width: 750px;
    border-radius: 32px;
    padding: 32px;
    background: #fff;
}

article.cncp2025 {
    width: 800px;
    border-radius: 16px;
    padding: 32px;
    background: #ffffff;
    opacity: 0.95;
}

#cans {
    position: relative;
    margin: 0 auto;
    margin-top: 5vh;
    height: 500px;
    width: 750px;
}

#video {
    /*height: 80vh;*/
    float: left;
    background: black;
    position: relative;
    /*去掉这句将会使得video优先级失效*/
    z-index: 99;
}

aside {
    float: left;
    height: 400px;
    width: 110px;
    background: black;
    opacity: 0.8;
    position: relative;
    overflow-y: scroll;
}

aside::-webkit-scrollbar-track {
    background-color: rgb(27, 41, 53);
}

aside::-webkit-scrollbar {
    width: 15px;
}

aside::-webkit-scrollbar-thumb {
    /* background-color: rgb(120, 139, 135);
    border-radius: 100%; */
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #555;
}

aside::-webkit-scrollbar-button {
    background-color: #555;
}

aside header h4 {
    color: white;
    margin-bottom: 10px;
    margin-top: 5px;
    text-align: center;
}

aside h5 {
    color: white !important;
}

aside ul {
    background: black;
    list-style: disc;
    text-align: center;
}

aside ul li {
    color: white;
    font-size: 14px;
    line-height: 25px;
}

aside ul li:hover {
    background-color: rgb(27, 27, 27);
    color: rgb(144, 211, 241);
    font-weight: bold;
}

footer {
    padding-top: 16px;
    border-top: dotted thin gray;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    color: silver;
}


/* header */

header img {
    display: block;
    width: 100%;
    border-radius: 8px;
}


/* nav */

nav span {
    margin-top: 16px;
    margin-bottom: 8px;
    display: block;
    color: lightcyan;
    font-size: larger;
}

nav a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px;
    margin: 8px 0;
    border-radius: 4px;
    border: solid thin;
    text-align: center;
    text-decoration: none;
    color: lightcyan;
    font-size: large;
}

nav a:hover {
    font-weight: bold;
    background: lightblue;
}

nav a.qr {
    padding: 0;
    border: none;
    background: white;
}

nav img.qr {
    width: 100%;
    border-radius: 4px;
}

nav a.logo {
    height: 80px;
    margin: 4px 0;
    padding: 0;
    border: none;
    background: lightblue;
}

nav img.logo {
    max-height: 80px;
    max-width: 100%;
}


/* article */

article h1 {
    width: fit-content;
    padding: 4px 64px;
    margin: auto;
    border-radius: 20px;
    background: lightcyan;
    text-align: center;
}

article h2 {
    width: fit-content;
    padding: 4px 64px;
    margin: auto;
    border-radius: 16px;
    background: lightcyan;
    text-align: center;
}

article h3 {
    text-align: center;
}

article img.Writing_course_agenda {
    display: block;
    width: 100%;
    margin: 0 auto;
    image-rendering: -moz-crisp-edges;
    /* Firefox */
    image-rendering: -o-crisp-edges;
    /* Opera */
    image-rendering: -webkit-optimize-contrast;
    /*Webkit (non-standard naming) */
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
    /* IE (non-standard property) */
}


/* footer */

footer a {
    text-decoration: none;
    color: silver;
}


/* news */

section.news {
    margin: 64px 0;
    padding: 16px 0;
}

section.news time {
    width: 128px;
    padding: 4px;
    border: dashed thin;
    border-radius: 4px;
    text-align: center;
    color: goldenrod;
    font-size: small;
}

section.news div img.torsten {
    /* width: 350px !important; */
    width: 50% !important;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

section.news div {}

section.news img {
    display: block;
    width: 80%;
    margin: 0 auto;
}

section.news div img.cncp {
    display: block;
    width: 80%;
    margin: 0 auto;
}


/* speaker */

section.speaker-nav {
    margin-top: 32px;
    padding: 16px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
}

section.speaker-nav1 {
    margin-top: 32px;
    padding: 16px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
}

section.speaker-nav span {
    width: 64px;
    margin: 4px;
    text-align: center;
}

section.speaker-nav1 span {
    width: 150px;
    margin: 10px;
    text-align: center;
}

section.speaker {
    padding: 16px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    border-top: dotted 2px darkcyan;
}

section.speaker div.bio {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section.speaker div.bio div {
    margin: 4px;
}

section.speaker div.bio img {
    display: block;
    width: 160px;
    margin: 8px;
    border-radius: 8px;
}

section.speaker div.name {
    font-weight: bold;
    font-size: larger;
}

section.speaker div.affiliation {
    text-align: center;
}

section.speaker div.talk {
    width: 550px;
    text-align: justify;
}

section.speaker div.talk h3 {
    text-align: left;
}

section.speaker h4 {
    margin-bottom: 4px;
}

section.schedule table {
    border-collapse: collapse;
    width: 100%;
    text-align: center;
    border-bottom: solid 1px gray;
}

section.schedule tr:nth-child(odd) {
    background: #f0f0f0;
}

section.schedule tr:hover {
    background: #dddddd;
}

section.schedule th {
    padding: 16px 4px;
    background: darkcyan;
    color: white;
    font-weight: bolder;
}

section.schedule td {
    padding: 8px 4px;
}

section.schedule td.session,
section.schedule td.host {
    font-weight: bold;
}

section.schedule td.time,
section.schedule td.session {
    width: 100px;
    text-align: center;
}

section.schedule td.title {
    width: 400px;
    /* text-align: left; */
}

section.schedule td.name {
    width: 64px;
}

section.schedule td.affiliation {
    width: 128px;
}