/*------------------------------------*\
    Globel
\*------------------------------------*/

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}

html, body {
  font-family: "NotoSansCJKtc", 微軟正黑體;
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6, p {
  padding: 0;
  margin: 0;
}

p {
  padding: 0;
  margin: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

hr {
  margin: 0;
}

a {
  text-decoration: none;
  color: #494949;
  font-family: NotoSansCJKtc;
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
}

a:hover {
  text-decoration: none;
}

::-webkit-input-placeholder {
  color: #cdcdcd;
}

:-ms-input-placeholder {
  color: #cdcdcd;
}

::-ms-input-placeholder {
  color: #cdcdcd;
}

::placeholder {
  color: #cdcdcd;
}

.separate {
  border: 1px dashed #bababa;
}

input.droptext {
  border: 0px;
}

/* ----------------------------------------------------------------------------------------------------
Super Form Reset
A couple of things to watch out for:
- IE8: If a text input doesn't have padding on all sides or none the text won't be centered.
- The default border sizes on text inputs in all UAs seem to be slightly different. You're better off using custom borders.
- You NEED to set the font-size and family on all form elements
- Search inputs need to have their appearance reset and the box-sizing set to content-box to match other UAs
- You can style the upload button in webkit using ::-webkit-file-upload-button
- ::-webkit-file-upload-button selectors can't be used in the same selector as normal ones. FF and IE freak out.
- IE: You don't need to fake inline-block with labels and form controls in IE. They function as inline-block.
- By turning off ::-webkit-search-decoration, it removes the extra whitespace on the left on search inputs
----------------------------------------------------------------------------------------------------*/

input, label, select, button, textarea {
  margin: 0;
  border: 0;
  padding: 0;
  display: inline-block;
  vertical-align: middle;
  white-space: normal;
  background: none;
}

/* Remove the stupid outer glow in Webkit */

input:focus {
  outline: 0;
}

/* Box Sizing Reset
-----------------------------------------------*/

/* All of our custom controls should be what we expect them to be */

input, textarea {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

/* These elements are usually rendered a certain way by the browser */

button, input[type="reset"], input[type="button"], input[type="submit"], input[type="checkbox"], input[type="radio"], select {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Text Inputs
-----------------------------------------------*/

input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="email"], input[type="month"], input[type="number"], input[type="password"], input[type="range"], input[type="search"], input[type="tel"], input[type="text"], input[type="time"], input[type="url"], input[type="week"] {}

/* File Uploads
-----------------------------------------------*/

input[type="file"] {}

/* Search Input
-----------------------------------------------*/

/* Make webkit render the search input like a normal text field */

input[type="search"] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: content-box;
}

input, input[type="text"], input[type="button"], input[type="submit"], input[type="radio"] {
  -webkit-appearance: none;
  /* Safari 和 Chrome，常用於iOS下移除內建樣式 */
  -moz-appearance: none;
  /* FireFox */
  appearance: none;
}

/* Turn off the recent search for webkit. It adds about 15px padding on the left */

::-webkit-search-decoration {
  display: none;
}

/* Buttons
-----------------------------------------------*/

button, input[type="reset"], input[type="button"], input[type="submit"] {
  /* Fix IE7 display bug */
  overflow: visible;
  width: auto;
}

/* IE8 and FF freak out if this rule is within another selector */

::-webkit-file-upload-button {
  padding: 0;
  border: 0;
  background: none;
}

/* Textarea
-----------------------------------------------*/

textarea {
  /* Move the label to the top */
  vertical-align: top;
  /* Turn off scroll bars in IE unless needed */
  overflow: auto;
}

/* Selects
-----------------------------------------------*/

select {}

select[multiple] {
  /* Move the label to the top */
  vertical-align: top;
}

/*------------------------------------*\
    Components
\*------------------------------------*/

.wrapper {
  overflow-x: hidden;
}

.header .brand {
  display: inline-block;
  float: left;
  height: 64px;
  width: 94px;
  background-image: url("/image/year/logo.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  white-space: nowrap;
  overflow: hidden;
  text-indent: 100%;
  z-index: 9999;
}

.header {
  height: 64px;
}

.navbar {
  padding: 0 16px;
  height: 64px;
  background-color: #fff;
}

.logo {
  display: inline-block;
  width: 160px;
  height: 64px;
  background-image: url("/images/common/logo.jpg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  white-space: nowrap;
  overflow: hidden;
  text-indent: 100%;
}

.navbar .menu {
  float: right;
}

@media (max-width: 768px) {
  .navbar .menu {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 1000;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    text-align: left;
    padding-top: 64px;
  }
  #popup-menu:target {
    visibility: visible;
    opacity: 1;
  }
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  float: right;
  margin-top: 8px;
  padding: 12px 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background-color: #585858;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
}

.navbar .menu .menu-item {
  float: left;
}

.navbar .menu .menu-item a {
  display: inline-block;
  color: #585858;
  line-height: 24px;
  padding: 20px 16px;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.navbar .menu .menu-item a:hover {
  color: #585858;
}

@media (max-width: 768px) {
  .navbar .menu .menu-item {
    float: none;
    text-align: left;
  }
  .navbar .menu .menu-item a {
    width: 100%;
    padding: 12px 16px;
  }
  .navbar .menu .close-btn {
    display: block;
    width: 48px;
    height: 48px;
    padding: 8px;
    position: absolute;
    top: 8px;
    right: 16px;
  }
  .navbar .menu .close-btn span {
    display: block;
    width: 40px;
    height: 2px;
    background-color: #585858;
    position: absolute;
    top: 50%;
    left: 50%;
  }
  .navbar .menu .close-btn span:nth-child(1) {
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    -ms-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .navbar .menu .close-btn span:nth-child(2) {
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    -ms-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}

.navbar .menu-item .nav-link.btn {
  float: right;
  border-radius: 4px;
  border: solid 1px #bababa;
  padding: 8px 16px;
  margin-top: 11px;
  max-width: 300px;
  text-align: center;
}

@media (max-width: 768px) {
  .navbar .menu-item .nav-link.btn {
    float: none;
    display: block;
    margin: 0 auto;
  }
}

.navbar .menu .menu-item .user-avator {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-image: url(/image/google-logo.png);
  background-position: center;
  background-size: cover;
  margin-top: 14px;
  padding: 0px;
}

.remind {
  margin-bottom: 8px;
}

/* btn */

.btn {
  display: inline-block;
  padding: 8px 16px;
}

.btn-center {
  text-align: center;
  position: relative;
}

.btn.btn-primary:hover {
  text-decoration: none;
}

.btn-lg {
  padding: 8px 0px;
  height: 44px;
  line-height: 28px;
  width: 100%;
  max-width: 300px;
  font-size: 16px;
}

.btn-md {
  padding: 8px 20px;
}

.btn-fluid {
  max-width: initial !important;
  width: 100% !important;
}

.btn.btn-radius-25 {
  border-radius: 25px;
}

.btn-fb {
  background-color: #3b5998;
  color: #fff;
  border-radius: 4px;
  margin-bottom: 20px;
  padding: 8px 0px;
}

.btn-fb:hover {
  color: #fff;
}

.btn-google {
  background-color: #fff;
  border: solid 1px #9b9b9b;
  border-radius: 4px;
  margin-bottom: 32px;
  padding: 8px 0px;
}

.btn-bg-pink {
  background-color: #eb527a;
  color: #fff;
  margin-bottom: 32px;
  border: 0px;
  border-radius: 4px;
}

.navbar-fixed-bottom {
  width: 100%;
  position: fixed;
  bottom: 12px;
  left: 0;
  z-index: 500;
}

@media (max-width: 767px) {}

/* separate */

.separate {
  border: 1px dashed #bababa;
}

/* banner */

@media (max-width: 767px) {
  .banner {
    margin-bottom: 28px;
  }
  .banner .image-left {
    width: 150px;
    top: -54px;
  }
  .banner .image-right {
    width: 126px;
    top: -24px;
  }
}

.main-content {
  margin: 0 auto;
  text-align: center;
  padding: 60px 0px;
}

@media (max-width: 767px) {
  .main-content {
    padding: 32px 0px;
  }
}

.banner .title-image {
  width: 296px;
  height: 75px;
  margin: 0 auto;
  background-image: url("/image/year/title-image.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 30px;
}

.banner .title-image21 {
  width: 296px;
  height: 75px;
  margin: 0 auto;
  background-image: url("/image/year21/title-image.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 30px;
}

@media (max-width: 767px) {
  .banner .title-image {
    width: 220px;
    margin-bottom: 8px;
  }
}

.banner .subtitle {
  font-family: NotoSansCJKtc;
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: 3px;
  color: #494949;
  padding: 2px 20px;
  display: inline-block;
  opacity: 0.9;
  border-radius: 14.3px;
}

/* circle-image */

.image-left {
  height: 380px;
  width: 168px;
  position: absolute;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 500;
}

.image-right {
  height: 310px;
  width: 148px;
  position: absolute;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 500;
}

@media (max-width: 767px) {
  .image-left {
    width: 144px;
  }
  .image-right {
    width: 128px;
  }
}

/* image-container */

/*.image-container {
    border: 1px solid #000;
    width: 100%;
    padding-top: 75%;
    margin-bottom: 8px;
}*/

.image-container .image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* section-card */

.section-card {
  -webkit-box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.14);
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.14);
  padding: 40px 52px;
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 20px;
}

.section-card .section-title {
  text-align: center;
  font-family: NotoSansCJKtc;
  font-size: 24px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: 0.6px;
  color: #494949;
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  .section-card {
    padding: 28px 24px;
  }
}

.section-center {
  max-width: 400px;
  margin: 0 auto;
  padding: 24px 16px 12px 16px;
}

@media (min-width: 768px) {
  .section-center {
    max-width: 400px;
    margin: 0 auto;
    padding: 24px 4px 24px 4px;
  }
  .main-teacher {
    bottom: -24px;
  }
}

/*fancy-card*/

.fancy-card {
  border-radius: 4px;
}

.fancy-card .card-title {
  color: #494949;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.fancy-card .card-subtitle {
  margin-top: 8px;
  color: #494949;
  font-weight: 400;
  text-align: center;
}

.fancy-card .dashed-small {
  border: 1px dashed #bababa;
  max-width: 300px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.fancy-card .card-para {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
}

.fancy-card .card-btn {
  text-align: center;
  margin-top: 32px;
}

.fancy-card .alert-text {
  width: 100%;
  text-align: center;
  display: inline-block;
  margin-top: 16px;
  font-size: 16px;
}

.countdown-row {
  margin-top: 16px;
}

.countdown-title {
  color: #353452;
  font-size: 16px;
  display: inline-block;
}

.countdown-itspan {
  display: inline-block;
  font-size: 16px;
}

.countdown-item {
  display: inline-block;
}

.g-mb-8 {
  margin-bottom: 8px !important;
}

.g-mt-8 {
  margin-top: 8px !important;
}

.g-mb-24 {
  margin-bottom: 24px !important;
}

.g-mt-24 {
  margin-top: 24px !important;
}

.desktop-hidden {
  display: none;
  visibility: hidden;
}

@media (max-width: 768px) {
  .desktop-hidden {
    display: block;
    visibility: visible;
  }
}

.navbar-fixed-bottom li {
  display: inline-block;
}

.loading {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(/image/blur.png);
  opacity: 0.6;
  z-index: 1000;
}

.loading:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-filter: blur(20px);
  filter: blur(20px);
}

.loading-ball {
  position: fixed;
  left: 50%;
  top: 50%;
  margin: -60px 0 0 -60px;
  background: #fff;
  width: 100px;
  height: 100px;
  border-radius: 100%;
  border: 5px solid #eb527a;
}

.loading-ball:after {
  content: "";
  background: trasparent;
  width: 140%;
  height: 140%;
  position: absolute;
  border-radius: 100%;
  top: -20%;
  left: -20%;
  opacity: 0.7;
  -webkit-box-shadow: rgba(235, 82, 122, 0.6) -4px -5px 3px -3px;
  box-shadow: rgba(235, 82, 122, 0.6) -4px -5px 3px -3px;
  -webkit-animation: rotate 2s infinite linear;
  animation: rotate 2s infinite linear;
}

@-webkit-keyframes rotate {
  0% {
    -webkit-transform: rotateZ(0deg);
    transform: rotateZ(0deg);
  }
  100% {
    -webkit-transform: rotateZ(360deg);
    transform: rotateZ(360deg);
  }
}

@keyframes rotate {
  0% {
    -webkit-transform: rotateZ(0deg);
    transform: rotateZ(0deg);
  }
  100% {
    -webkit-transform: rotateZ(360deg);
    transform: rotateZ(360deg);
  }
}

.line-height-28 {
  line-height: 28px;
}

.line-height-24 {
  line-height: 24px;
}

.ui-timepicker-wrapper {
  width: 10em !important;
}