/*
 * 1. Google Font
 */
@import url("../../css.css");

/*
 * 2.0 Global Style
 */
html {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}

body {
  color: #4e4e4e;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

tr {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

a {
  color: dodgerblue;
}

a:focus {
  outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

p {
  margin: 0 0 30px;
}

#listing {
  margin-bottom: 0px;
}

ul li {
  font-weight: 700;
  margin-bottom: 10px;
}

ulx li {
  font-weight: 100;
  margin-bottom: 10px;
}

.custom-list-icon,
.list-arrow-right {
  list-style-type: none;
  padding: 0;
}

.custom-list-icon li,
.list-arrow-right li {
  position: relative;
  padding-left: 20px;
}

.custom-list-icon li::before,
.list-arrow-right li::before {
  position: absolute;
  left: 0;
  color: #4e4e4e;
  font-family: "Ionicons";
}

.social-block {
  list-style-type: none;
  padding: 0;
}

.social-block li {
  display: inline-block;
}

.social-block li a {
  display: inline-block;
  height: 32px;
  width: 32px;
  color: #4e4e4e;
}

.social-block li a i {
  font-size: 1.5em;
}

.social-block li a:hover,
.social-block li a:focus {
  color: #000;
}

.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
  outline: none;
}

.btn {
  border: 0;
  border-radius: 0;
  padding: 6px 28px;
  text-transform: uppercase;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: -webkit-transform;
  transition-property: transform;
}

.btn:hover {
  -webkit-transform: scale(0.9);
  -ms-transform: scale(0.9);
  transform: scale(0.9);
}

.form-control {
  border-radius: 0;
  box-shadow: none;
  height: 48px;
  padding: 10px 12px;
  font-size: 16px;
  line-height: 1.6;
}

.form-control:focus {
  box-shadow: none;
  border-color: #ccc;
  background-color: #f8f8f8;
}

.valign-center {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.section {
  padding: 70px 0;
}

.section-title {
  color: #313131;
  letter-spacing: 1px;
  margin: 0 0 20px;
  /*text-transform: uppercase;*/
  text-align: center;
}

/*
 * 3.0 Helper Class
 */
/*
 * 3.1 Helper Class: font-weight
 */
.font-300 {
  font-weight: 300;
}

.font-400 {
  font-weight: 400;
}

.font-700 {
  font-weight: 700;
}

/*
 * 3.2 Helper Class: margin
 */
.mt0 {
  margin-top: 0;
}

.mb0 {
  margin-bottom: 0;
}

.mt20 {
  margin-top: 20px;
}

/*
 * 3.3 Helper Class: list
 */
.list-arrow-right li::before {
  content: "\f3d3";
}

/*
 * 3.4 Helper Class: button
 */
.btn-white {
  color: #000;
  background-color: #fff;
}

.btn-white:hover,
.btn-white:focus {
  color: #000;
  background-color: #fff;
}

.btn-black {
  color: #fff;
  background-color: #000;
}

.btn-black:hover,
.btn-black:focus {
  color: #fff;
  background-color: #000;
}

/*
 * 3.5 Helper Class: background
 */
.bg-image,
.bg-image-1,
.bg-image-2 {
  position: relative;
}

.bg-image::before,
.bg-image-1::before,
.bg-image-2::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.testbed_logos_row {
  display: flex;
  flex-wrap: wrap;
}

.testbed_logos_column {
  flex: 25%;
}

.testbed_logos_column img {
  max-height: 100px;
  width: auto;
  vertical-align: middle;
  margin: 8px 15px 0px 15px;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 768px) {
  .testbed_logos_column {
    flex: 100%;
    max-width: 100%;
  }

  .testbed_logos_column img {
    margin-top: 0px;
    max-height: 65px;
  }

  .mobile-break {
    display: none;
  }
}

.bg-image-1 {
  background: url("../img/background/japan.jpg") no-repeat center center/cover;
}

.bg-image-1::before {
  background-color: rgba(0, 0, 0, 0.7);
}

.bg-image-2 {
  background: url("../img/background/japan.jpg") no-repeat center bottom/cover;
}

.bg-image-2::before {
  background-color: rgba(0, 0, 0, 0.7);
}

@media (min-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .section-title {
    color: #313131;
    letter-spacing: 1px;
    margin: 0 0 60px;
    /*text-transform: uppercase;*/
    text-align: left;
  }
}

/*
 * 4.0 Navigation
 */
.navbar-custom {
  border: 0;
  margin: 0;
  padding-top: 0px;
  padding-bottom: 0px;
  background-color: #000;
  -webkit-transition: all 0.2s linear 0s;
  transition: all 0.2s linear 0s;
}

.navbar-custom .navbar-nav li {
  margin: 0;
}

.navbar-custom .navbar-nav>li>a {
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 400;
  border-bottom: 1px solid transparent;
}

.navbar-custom .navbar-nav>li>a:focus,
.navbar-custom .navbar-nav>li>a:hover {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar-custom .navbar-nav>.active>a {
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggle {
  border: 0;
  border-radius: 0;
  margin-top: 2px;
}

.navbar-toggle .icon-bar {
  background-color: #fff;
}

.navbar-solid {
  background-color: #000 !important;
  padding: 0 !important;
  -webkit-transition: all 0.2s linear 0s;
  transition: all 0.2s linear 0s;
}

.site-branding {
  float: left;
  margin-top: 0px;
  margin-left: 10px;
  padding-top: 3px;
  padding-bottom: 0px;
}

.site-branding .logo {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-right: 5px;
  margin-left: 10px;
  /* letter-spacing: 3px; */
  /*text-transform: uppercase;*/
}

.site-branding .logo:focus,
.site-branding .logo:hover {
  text-decoration: none;
}

/*
 * 5.0 Site Header
 */
.site-header {
  width: 100%;
  height: 100%;
  min-height: 10vh;
  position: relative;
  text-align: center;
  background-image: linear-gradient(to right, #b92b274D, #1565C04D), url("../img/background/bg_beijing.jpeg");
  background-size: auto auto, cover;
  background-repeat: no-repeat, no-repeat;
  background-position: right bottom, center;
  box-shadow: inset 0px 0px 0px 1000px rgba(0, 0, 0, .15);
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.15);
}

/.intro {
  margin-top: 150px;
}

.site-header .intro {
  color: #fff;
  position: relative;
  text-align: center;
  /*text-transform: uppercase;*/
  width: 100%;
  z-index: 1;
  padding: 0 15px;
}

.site-header .intro h2 {
  margin-top: 0px;
  font-size: 30px;
  font-weight: 300;
}

.site-header .intro h1 {
  margin-top: 0px;
  font-size: 35px;
}

.site-header .intro p {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 300;
}

@media (min-width: 268px) {
  .navbar-custom {
    /* background-color: transparent;*/
    padding-top: 5px;
  }

  .site-branding {
    margin-top: 6px;
    margin-left: 0;
  }
}

@media only screen and (max-width: 768px) {
  .intro {
    margin-top: 60px;
  }

  .site-header .intro h1 {
    font-size: 25px;
  }

  .site-header .intro h2 {
    font-size: 20px;
  }

  /*
   * 6.0 Section
   */
  /*
   * 6.1 Section: About
   */

  .about .section-title {
    margin: 0 0 25px;
  }

  .about figure {
    margin-bottom: 25px;
  }

  /*
   * 6.2 Section: Facts
   */
  .facts i {
    color: #fff;
    font-size: 3em;
  }

  .facts h4 {
    color: #fff;
    text-align: center;
    font-weight: 400;
  }

  /*
   * 6.3 Section: Speaker
   */
  .speaker {
    text-align: center;
    color: #313131;
    text-transform: uppercase;
    margin: 25px 0;
  }

  .speaker h4 {
    margin-top: 15px;
    margin-bottom: 5px;
  }

  .speaker p {
    margin-bottom: 5px;
  }

  .speaker img:hover {
    opacity: .7;
  }

  /*
   * 6.4 Section: Registration & Pricing
   */
  /*
   * 6.5 Section: Contribution
   */
  .contribution {
    text-align: center;
    color: #fff;
  }

  /*
   * 6.6 Section: Schedule
   */
  .schedule-box {
    position: relative;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 50px 0;
    margin: 25px 0 0;
  }

  .schedule-box::before {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    left: 5px;
    border: 1px solid #fff;
  }

  /*
   * 6.7 Section: Schedule
   */
  .partner {
    background-color: #f8f8f8;
  }

  .partner .partner-box {
    display: block;
    opacity: 0.3;
    height: 150px;
    width: 150px;
    margin: 25px auto;
    -webkit-transition: 0.5s all linear;
    transition: 0.5s all linear;
  }

  .partner .partner-box:hover {
    opacity: 1;
  }

  .partner .partner-box-1 {
    background: url("https://nss.cs.nctu.edu.tw/img/partner/partner-1.png") no-repeat center center/contain;
  }

  .partner .partner-box-2 {
    background: url("https://nss.cs.nctu.edu.tw/img/partner/partner-2.png") no-repeat center center/contain;
  }

  .partner .partner-box-3 {
    background: url("https://nss.cs.nctu.edu.tw/img/partner/partner-3.png") no-repeat center center/contain;
  }

  .partner .partner-box-4 {
    background: url("https://nss.cs.nctu.edu.tw/img/partner/partner-4.png") no-repeat center center/contain;
  }

  .partner .partner-box-5 {
    background: url("https://nss.cs.nctu.edu.tw/img/partner/partner-5.png") no-repeat center center/contain;
  }

  .partner .partner-box-6 {
    background: url("https://nss.cs.nctu.edu.tw/img/partner/partner-6.png") no-repeat center center/contain;
  }

  .partner .partner-box-7 {
    background: url("https://nss.cs.nctu.edu.tw/img/partner/partner-7.png") no-repeat center center/contain;
  }

  .partner .partner-box-8 {
    background: url("https://nss.cs.nctu.edu.tw/img/partner/partner-8.png") no-repeat center center/contain;
  }

  /*
   * 6.8 Section: FAQ
   */
  .faq .panel-heading {
    cursor: pointer;
  }

  .faq .faq-toggle.collapsed::before {
    font-family: "Ionicons";
    content: "\f218";
    -webkit-transition: 0.5s linear ease-out;
    transition: 0.5s linear ease-out;
    position: absolute;
    left: 15px;
  }

  .faq .faq-toggle::before {
    position: absolute;
    left: 15px;
    font-family: "Ionicons";
    content: "\f209";
  }

  .faq .panel-group .panel+.panel {
    margin-top: 15px;
  }

  .faq .panel-default>.panel-heading {
    color: #FFF;
    background-color: #000000;
    border-color: #000;
    border-radius: 0;
    padding: 0;
  }

  .faq .panel-default>.panel-heading a {
    position: relative;
    display: block;
    text-decoration: none;
    padding: 15px 15px 15px 35px;
  }

  /*
   * 6.9 Section: photos
   */
  .grid {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }

  .grid::after {
    content: '';
    display: block;
    clear: both;
  }

  .grid-item {
    float: left;
    overflow: hidden;
    padding: 3px;
    margin: 0;
    width: 100%;
  }

  @media (min-width: 768px) {
    .grid-item-sm-6 {
      width: 50%;
    }

    .grid-item-sm-3 {
      width: 25%;
    }

    .section-title {
      margin: 0 0 30px;
    }

    figure {
      margin-bottom: 0;
    }
  }

  @media (min-width: 992px) {
    .schedule-box {
      margin: 0;
    }

    .grid-item-md-6 {
      width: 50%;
    }

    .grid-item-md-3 {
      width: 25%;
    }
  }

  /*
   * 7.0 Site-footer
   */
  .site-footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 30px 0;
  }

  .site-footer .site-info {
    font-weight: 400;
    margin-bottom: 10px;
  }

  .site-footer .site-info a {
    color: #fff;
  }

  .site-footer .social-block li a {
    color: #fff;
  }

  .site-footer .social-block li a:hover,
  .site-footer .social-block li a:focus {
    opacity: 0.8;
  }

}

.registration img {
  width: 30%;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  z-index: 100;
  display: none;
  position: absolute;
  background-color: #fff;
  width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);

  a {
    color: #000;
    display: block;
    padding: 10px 8px;
    text-decoration: none;
    font-size: 13px;
  }

  a:hover {
    color: #fff;
    background-color: #000000;
  }

  a:focus {
    outline: none;
  }
}

.dropdown:hover .dropdown-content {
  display: block;
}