@charset "UTF-8";
/*手機版*/
/*非手機版*/
/*中間混合*/
/*某值(包含)以上*/
/*某值(不包含)以下*/
/*計算比例值*/
:root {
  --frame-shadow: 0 3px 2px rgba(0, 0, 0, 0.1);
  --photo-shadow: 0 3px 6px rgba(0,0,0,.16);
  --border-radius: 5px;
}

body, html {
  height: 100%;
}

body {
  margin: 0px;
  /*font-family: "Roboto", sans-serif;*/
  font-weight: 400;
  background: #f8f8f8;
  color: #333333;
  padding-top: 50px;
  /**03/11/21 Update for overwrite boostrap*/
  line-height: 1.42857143;
}
@media screen and (min-width: 992px) {
  body {
    padding-top: 0px;
  }
  body.ontop {
    margin-top: 50px;
  }
}
body.m-menu-noscroll {
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  body.m-menu-noscroll {
    overflow: auto;
  }
}

a {
  text-decoration: none;
  color: #333333;
}
a.underline {
  text-decoration: underline;
}
a.underline:hover {
  text-decoration: underline;
}
a:hover {
  /**03/11/21 Update for overwrite boostrap*/
  color: inherit;
  text-decoration: none;
}

label {
  /**03/11/21 Update for overwrite boostrap*/
  margin-bottom: 0px;
}

ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
}

menu {
  list-style: none;
  padding: 0px;
  margin: 0px;
}

button {
  padding: 0px;
}

.my-menu {
  position: relative;
  cursor: pointer;
  /*padding: 0px 7px;*/
}
.my-menu .text {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 13px;
  display: flex;
  align-items: center;
}
.my-menu .mat-select-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid;
  margin-left: 8px;
  color: rgba(0, 0, 0, 0.54);
}
.my-menu .menu-frame {
  display: none;
  position: absolute;
  z-index: 11;
  left: 0px;
  top: 30px;
  background-color: #ffffff;
  min-width: 112px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  max-height: 300px;
  border-radius: 4px;
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
  padding: 5px 0px;
}
.my-menu .menu-frame .menu-item {
  -webkit-user-select: none;
          user-select: none;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  height: 36px;
  line-height: 36px;
  color: rgba(0, 0, 0, 0.87);
  padding: 0 16px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
}
.my-menu .menu-frame .menu-item a {
  display: inline-block;
  width: 100%;
}
.my-menu .menu-frame .menu-item:hover {
  background-color: #F5F5F5;
}
.my-menu:hover {
  /*background-color: #f0f0f0;*/
}

.my-container {
  max-width: 500px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  /*padding: 0px 20px;*/
}
@media screen and (min-width: 768px) {
  .my-container {
    max-width: 1280px;
  }
}

.col-left {
  flex: 0 0 100%;
  max-width: 100%;
}
@media screen and (min-width: 992px) {
  .col-left {
    flex: 0 0 calc(100% - 366px);
    max-width: calc(100% - 366px);
  }
}

.col-right {
  flex: 0 0 100%;
  max-width: 100%;
}
@media screen and (min-width: 992px) {
  .col-right {
    flex: 0 0 366px;
    max-width: 366px;
  }
}

.subject-title {
  width: 100%;
  height: 50px;
  margin-top: 25px;
  margin-bottom: 20px;
  position: relative;
  border-bottom: 3px solid #aaa;
  box-sizing: content-box;
  /*display: flex;*/
  align-items: center;
  justify-content: space-between;
}
.subject-title .text {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 20px;
  padding-bottom: 10px;
  display: inline-block;
  border-bottom: 3px solid #F49C00;
  position: absolute;
  bottom: -3px;
  z-index: 1;
  transition: color 0.1s ease-in-out;
  cursor: default;
}
.subject-title .text.small {
  font-size: 18px;
}
.subject-title .text[href]:hover {
  cursor: pointer;
  color: #F49C00;
}
.subject-title .text.border-grey {
  border-bottom: 3px solid #555;
}
@media screen and (min-width: 768px) {
  .subject-title .text {
    font-size: 22px;
  }
}
@media screen and (min-width: 992px) {
  .subject-title .text {
    font-size: 24px;
  }
}

.breadcrumbs {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 10px 0px;
  margin-top: 25px;
}
.breadcrumbs.dash {
  height: 53px;
  margin-bottom: 20px;
  border-bottom: 3px solid #aaa;
}
.breadcrumbs .link {
  font-size: 14px;
  color: #888888;
  transition: color 0.3s ease-in-out;
}
.breadcrumbs .link:hover {
  color: #333333;
}
.breadcrumbs .link.current {
  pointer-events: none;
}
.breadcrumbs .icon {
  width: 10px;
  height: 10px;
  margin: 0px 10px;
}

.label {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  background-color: #F49C00;
  font-size: 12px;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-block;
  white-space: nowrap;
  box-sizing: content-box;
}
.label.grey {
  background-color: #aaaaaa;
}

.date {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 14px;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.date .icon {
  width: 14px;
  height: 14px;
  margin-right: 5px;
}

.square-ad {
  margin-top: 20px;
  text-align: center;
  background-color: #E6E8EB;
  padding: 20px 0px;
  border-radius: var(--border-radius);
}

.my-checkbox {
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  padding-left: 28px;
  height: 18px;
  -webkit-user-select: none;
  user-select: none;
}
.my-checkbox input {
  opacity: 0;
  width: 0;
  height: 0;
}
.my-checkbox input:checked ~ .checkmark:before {
  background-color: #F49C00;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 405.272 405.272' fill='white'%3E%3Cpath d='M393.401 124.425L179.603 338.208c-15.832 15.835-41.514 15.835-57.361 0L11.878 227.836c-15.838-15.835-15.838-41.52 0-57.358 15.841-15.841 41.521-15.841 57.355-.006l81.698 81.699L336.037 67.064c15.841-15.841 41.523-15.829 57.358 0 15.835 15.838 15.835 41.514.006 57.361z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 12px 12px;
  background-position: center;
}
.my-checkbox .checkmark:before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 14px;
  color: #ffffff;
  border-radius: 3px;
  background-color: #dddddd;
}
.my-checkbox .checkmark:hover:before {
  background-color: #cccccc;
}

.my-input {
  position: relative;
  height: 45px;
}
.my-input .icon {
  position: absolute;
  left: 0px;
  bottom: 8px;
  width: 16px;
  height: 16px;
  margin-right: 5px;
}
.my-input .icon + input {
  margin-left: 25px;
}
.my-input .icon ~ .input-label {
  left: 25px;
}
.my-input .input-label {
  z-index: 1;
  position: absolute;
  left: 0px;
  top: calc(100% - 22px - 6px);
  font-size: 16px;
  color: #888;
  display: inline-flex;
  align-items: center;
}
.my-input input {
  z-index: 2;
  position: absolute;
  width: 100%;
  margin-bottom: 4px;
  bottom: 0;
  left: 0px;
  color: #333333;
  border: none;
  outline: none;
  transition: border 0.1s;
  background-color: transparent;
}
.my-input input.hasDefault + .input-label {
  animation-name: small;
  animation-duration: 0s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-origin: 0px 0px;
}
.my-input input.hasvalue + .input-label {
  animation-name: small;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-origin: 0px 0px;
}
.my-input input.novalue + .input-label {
  animation-name: large;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-origin: 0px 0px;
}
.my-input input:focus + .input-label {
  animation-name: small;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-origin: 0px 0px;
}
.my-input input:focus::placeholder {
  color: #888888;
}
.my-input input::placeholder {
  color: transparent;
}
.my-input input:-ms-input-placeholder {
  color: transparent;
}
.my-input input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
}
.my-input:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: #c8c8c8;
  bottom: 0px;
}
.my-input:after {
  content: "";
  position: absolute;
  width: 50%;
  height: 2px;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  bottom: -1px;
}
.my-input.focus:after {
  background: #F49C00;
  width: 100%;
}
@keyframes small {
  to {
    transform: scale(0.75);
    top: 0px;
    color: #F49C00;
  }
}
@keyframes large {
  from {
    transform: scale(0.75);
    top: 0px;
    color: #F49C00;
  }
  to {
    transform: scale(1);
    top: calc(100% - 22px - 6px);
    color: #888888;
  }
}

.my-button {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.87);
  background-color: #fff;
  box-sizing: border-box;
  position: relative;
  -webkit-user-select: none;
          user-select: none;
  cursor: pointer;
  outline: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none;
  vertical-align: baseline;
  text-align: center;
  margin: 0;
  min-width: 64px;
  height: 36px;
  padding: 0 16px;
  border-radius: 4px;
  transform: translate3d(0, 0, 0);
  transition: background 400ms cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.my-button:active {
  outline: none;
  box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
}
.my-button:focus {
  outline: none;
}
.my-button.round {
  border-radius: 100px;
}
.my-button.black {
  background-color: #222;
  color: #ffffff;
}
.my-button.digi-color {
  background-color: #F49C00;
  color: #ffffff;
}

.mt-0 {
  margin-top: 0px;
}

.mt-15 {
  margin-top: 15px;
}

::selection {
  background: #F49C00;
  color: #ffffff;
}