/* Innovate Talks Stylesheet */

/* Google Fonts - Raleway and Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;1,300&family=Raleway:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

/* General */
body {
  font-family: Arial,Helvetica,sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6em;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 19px;
  letter-spacing: 0em;
  line-height: 1.5em;
  text-transform: none;
  color: #292929; 
}
p {
  margin-top: 0;
}
hr {
  border: none;
  color: #dddddd;
  background-color: #dddddd;
  height: 1px;
  margin: 3rem auto;
}
a {
  outline: none;
}
li a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

/* Layout */
header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 61px;
  margin-bottom: 4rem;
  color: #ffffff;
  background-color: #fd9c00;
}
header .logo {
  display: block;
  width: 100%;
  max-width: 200px;
}
header .logo img {
  width: 100%;
}
header h1 {
  display: block;
  margin: 0;
  margin-left: auto;
  padding: 0;
  text-align: right;
  line-height: 1.5em;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #FFFFFF;
}
section {
  padding: 23px 61px;
}
section:first-of-type {
  padding-top: 0;
}
section:last-of-type {
  padding-bottom: 46px;
}
footer {
  color: #525252;
  padding: 46px 61px;
}

/* Buttons */
.button, button, [type="button"], [type="reset"], [type="submit"] {
  display: inline-block;
  width: auto;
  height: auto;
  padding: 0.7em 2em;
  color: #ffffff;
  background-color: #fd9c00;
  border-radius: 3px;
  border-width: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  white-space: nowrap;
  line-height: 1em;
  font-weight: normal;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  line-height: normal;
  -webkit-transition: .1s opacity linear;
  -moz-transition: .1s opacity linear;
  -o-transition: .1s opacity linear;
  transition: .1s opacity linear;
}
.button:hover, .button:focus,
button:hover, button:focus,
[type="button"]:hover, [type="button"]:focus,
[type="reset"]:hover, [type="reset"]:focus,
[type="submit"]:hover, [type="submit"]:focus {
  opacity: .8;
}

/* Helpers */
strong {
  font-weight: bold;
}
.orange-text {
  color: #fd9c00;
}

/* Forms */
.login-form {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-top: 3rem;
}
.login-form div {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 500px;
}
.login-form label {
  margin-right: 0.7rem;
}
.login-form input[type="email"],
.login-form input[type="text"] {
  width: 100%;
  max-width: 500px; /* 根据需要调整 */
  padding: 0.6em;
  border-radius: 3px;
  border: 1px solid #dddddd;
}
.login-form button {
  margin-left: 1rem;
}

/* Margins */
.mt0 {
  margin-top: 0;
}
.mt1 {
  margin-top: 1rem;
}
.mt2 {
  margin-top: 1.5rem;
}
.mt3 {
  margin-top: 2rem;
}
.mb0 {
  margin-bottom: 0;
}
.mb1 {
  margin-bottom: 1rem;
}
.mb2 {
  margin-bottom: 1.5rem;
}
.mb3 {
  margin-bottom: 2rem;
}
.ml0 {
  margin-left: 0;
}
.ml1 {
  margin-left: 1rem;
}
.ml2 {
  margin-left: 1.5rem;
}
.ml3 {
  margin-left: 2rem;
}
.mr0 {
  margin-right: 0;
}
.mr1 {
  margin-right: 1rem;
}
.mr2 {
  margin-right: 1.5rem;
}
.mr3 {
  margin-right: 2rem;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  text-rendering: optimizeLegibility;
  margin-top: 0;
}
h1 {
  color: #707070;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 81px;
  letter-spacing: 0em;
  line-height: 1.1em;
  text-transform: none;
}
h2 {
  color: #707070;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 42px;
  letter-spacing: -.01em;
  line-height: 1em;
  text-transform: none;
}
h3 {
  color: #707070;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 30px;
  letter-spacing: 0em;
  line-height: 1.2em;
  text-transform: none;
}
h4 {
  color: #707070;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 21px;
  letter-spacing: 0em;
  line-height: 1.2em;
  text-transform: none;
}

/* Sessions */
.session-header {
  padding-bottom: 36px;
}
.session-header h2 {
  color: #fd9c00;
}
.session-abstract {
  margin-bottom: 3px;
}
.session-info {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}
.session-info .profile {
  margin-right: 2rem;
}
.session-info .profile img {
  width: 135px;
}
.errorlist {
  position: absolute;
  margin-top: 140px;
}

/* Table of Contents */
html {
  scroll-behavior: smooth;
}

nav {
  float: left;
  position: sticky;
  top: 2rem;
  width: 18rem;
  background: #eeeeee;
  max-height: 100vh;
  overflow-y: auto;
  padding-bottom: 1rem;
}

.table-of-contents h2 {
  font-size: 40px;
  padding: 10px 0 10px 2rem;
  margin-bottom: 3px;
  background: #fd9c00;
  color: #ffffff;
}

.column-right {
  width: 80%;
  padding-left: 18rem;
}

.table-of-contents li {
  list-style: none;
}

.table-of-contents ul {
  padding-left: 20px;
}
.table-of-contents li.active > a {
  color: #333;
  font-weight: 500;
}

.table-of-contents {
  padding-left: 0;
}

.table-of-contents a {
  text-decoration: none;
  display: block;
  padding: .125rem 0;
  color: #707070;
  transition: all 50ms ease-in-out;
}

.table-of-contents a:hover,
.table-of-contents a:focus {
  color: #fd9c00;
}

/* tablet css */
@media only screen and (max-width: 768px) {
  nav {
    position: static;
    float: left;
    width: 100%;
    margin-bottom: 10px;
    top: unset;
    align-self: flex-start;
  }

  .column-right {
    width: 100%;
    padding-left: unset;
  }

  .table-of-contents {
    text-align: center;
  }

  .table-of-contents li,
  .table-of-contents ul {
    padding-left: unset;
    list-style: none;
  }

  .login-form button {
    margin-top: 1rem;
  }
  .login-form {
    height: 200px;
    flex-direction: column;
  }
  .session-header {
    align-items: center;
  }
  .mb1, .session-header h4 {
    text-align: center;
  }
}

/* mobile large */
@media only screen and (max-width: 650px) {
  .session-info .profile img {
    display: none;
  }

  .session-info {
    text-align: center;
    display: unset;
    flex-direction: unset;
    align-self: unset;
  }

  .column-right {
    padding-left: unset;
    margin: 0 auto;
    width: 90%;
  }

  .button{
    text-align: center;
    margin: 0 auto;
  }
}

/* mobile small */
@media only screen and (max-width: 320px) {
  h2.mb1 {
    font-size: 150%;
  }

  .button {
    font-size: 75%;
  }
}