/* header */
.header {
  background-color: #000000;
}
/* list */
.list {
  position: relative;
  padding: 10% 0 150px 5%;
  background-color: #efefef;
}
.list__titlebox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: column;
  text-align: center;
  margin: 70px;
  margin-top: 20px;
}
.list__title {
  color: #c62b25;
  font-size: 65px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 15px;
}
.list__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 7px;
  margin: 20px auto 0;
  background-color: #c62b25;
}
.list__subtitle {
  padding-top: 5px;
  color: #231815;
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0.1em;
}
.list__itembox {
  background-color: #ffffff;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  margin: 70px auto 0;
  padding: 30px;
  padding-bottom: 0px;
}
.list__item {
  margin-bottom: 30px;
  min-height: 200px;
}
.list__conditions {
  margin: 0px auto;
  width: 80%;
}

/* content */
.content {
  padding: 10% 5%;
  background: linear-gradient(90deg, #EFEFEF 5%, rgba(0, 0, 0, 0) 5%), linear-gradient(180deg, #EFEFEF 400px, #FFFFFF 400px);
  position: relative;
}
.content__img {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  z-index: 2;
}
.content__img > img {
  width: 100%;
  background-color: #c4c4c4;
  margin: 15px 0;
  box-shadow: 7px 20px 20px 0px rgb(0 0 0 / 40%);
}
.content__textarea {
  margin: 80px 0 0 20px;
  padding: 0px 10%;
  background-color: #ffffff;
  width: 100%;
}
.content-back {
  cursor: pointer;
  float: left;
  border: 1px solid #c62b25;
  padding: 10px;
  margin: 10px 10px 10px 0;
  color: black;
  text-decoration: none;
}
.content-back > img {
  height: 10px;
}
.content-back > p {
  font-weight: bold;
  font-size: 16px;
}
.content-back:hover {
  background-color: #c62b25;
}
.content-back:hover > p {
  color: #ffffff;
}
.content-back:hover .hover {
  display: inline-block;
}
.content-back:hover img:not(.hover),
.content-back .hover {
  display: none;
}
.content-back-mobile {
  color: #FFF;
  background: #c62b25;
  border-color: #c62b25;
  width: 90%;
  margin: 20px 5%;
  font-size: 1.2rem;
  font-weight: bold;
  display: none;
  position: relative;
  /* -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button; */
  /* line-height: 5em; */
  text-decoration: none;
  text-align: center;
}
.content-back-mobile::after {
  border-color: #FFFFFF;
    border-style: solid;
    border-width: 0 0 2px 2px;
    content: "";
    display: block;
    height: 16px;
    right: 30%;
    position: absolute;
    width: 16px;
    margin-top: -8px;
    top: 55%;
    transform: rotate( -135deg );
    -webkit-transform: rotate( -135deg );
}
.content__nav {
  background-color: #ffffff;
  padding: 10px 0px;
}
.content__nav > div{
  width: 90%;
}
.content__nav a {
  color: #000000;
  font-size: 16px;
  font-weight: bold;
}
.content__nav a:first-child ,.content__nav a:last-child{
  
  color: #6D6D6D;
  font-size: 12px;
  font-weight: bolder;

  /**
   * If you set it to a value higher than the 'font-size', 
   * you will have to take account of the difference 
   * between the 'line-height' and the 'font-size' 
   * to vertically centre the arrow and align it with the text.
   **/
  line-height: 1;

  /* Makes some place for the arrow */
  padding: 0 15px;

  /* The arrow will be absolutely positioned */
  position: relative;
}
.content__nav a:first-child::before {
  border-color: #6D6D6D;
  border-style: solid;
  border-width: 0 0 2px 2px;
  content: "";
  display: block;
  height: 16px;
  left: -20px;
  position: absolute;
  width: 16px;
  margin-top: -8px;
  top: 50%;
  transform: rotate( 45deg );
  -webkit-transform: rotate( 45deg );
}

.content__nav a:last-child::after {
  border-color: #6D6D6D;
  border-style: solid;
  border-width: 0 0 2px 2px;
  content: "";
  display: block;
  height: 16px;
  right: -20px;
  position: absolute;
  width: 16px;
  margin-top: -8px;
  top: 50%;
  transform: rotate( -135deg );
  -webkit-transform: rotate( -135deg );
}
.content__nav a:link {
  display: block;
  text-align: center;
  margin:  auto 0;
}
.search__group {
  position: relative;
  display: inline-block;
  border: 1px solid;
  border-color: transparent transparent #6d6d6d transparent;
  width: 100%;
}
.search__group::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin: 15px auto 0;
  background-color: #EFEFEF;
}
.search__group input[type="text"] {
  padding: 0px 10px;
  font-size: 17px;
  float: left;
  width: 90%;
  background: #EFEFEF;
  line-height: 28px;
  border: 0px;
}
.search__group input:focus{
  outline: none;
}
.search__group button {
  float: left;
  width: 10%;
  padding: 5px;
  background: #EFEFEF;
  color: #6d6d6d;
  font-size: 17px;
  cursor: pointer;
  border: 0px;
}

.search__group button:hover {
  color: #c62b25;
}

.search__group::after {
  content: "";
  clear: both;
  display: table;
}
.share_fb {
  text-align: center;
  margin: 100px auto 20px;
}
.share_fb a {
  color: #000;
}
.share_fb p {
  margin-bottom: 15px;
}
.share_fb p::after {
  content: "";
  display: block;
  width: 80%;
  height: 5px;
  margin: 1px auto 0;
  background-color: #c62b25;
}

/*dropdown */
/* Custom dropdown */
.custom-dropdown {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  flex-direction: column;
  display: flex;
}
.custom-dropdown div.select-selected {
  color: #000;
  font-size: inherit;
  padding: .5em;
  padding-right: 1em; 
  border: 0;
  margin: 0;
  text-indent: 0.01px;
  text-overflow: '';
  font-weight: bold;
  -webkit-appearance: button; /* hide default arrow in chrome OSX */
  border-bottom: solid 1px;
}

.custom-dropdown select {
  color: #000;
  font-size: inherit;
  padding: .5em;
  padding-right: 1em; 
  border: 0;
  margin: 0;
  text-indent: 0.01px;
  text-overflow: '';
  font-weight: bold;
  -webkit-appearance: button; /* hide default arrow in chrome OSX */
  border-bottom: solid 1px;
}

.custom-dropdown::before{
  content: "";
  position: absolute;
  pointer-events: none;
}


.custom-dropdown::before { /*  Custom dropdown arrow cover */
  width: 2em;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 0 3px 3px 0;
}

.custom-dropdown select[disabled] {
  color: rgba(0,0,0,.3);
}

.custom-dropdown select[disabled]::after {
  color: rgba(0,0,0,.1);
}

.dropdown__select {
  display: inline-block;
  position: relative;
}
.dropdown__select-content {
  top: 18px;
  left: 20px;
  display: none;
  position: absolute;
  width: 130%;
  box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.4);
  padding: 18px 0px 0px 0px;
  text-align: center;
  font-weight: bold;
}
/*the container must be positioned relative:*/
.custom-select {
  position: relative;
  font-family: Arial;
}

.custom-select select {
  display: none; /*hide original SELECT element:*/
}

/*style the arrow inside the select element:*/
.select-selected:after {
  position: absolute;
  content: "";
  top: 20px;
  right: 20px;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-color: #EFEFEF transparent transparent transparent;
}
.select-selected:before{
  position: absolute;
  content: "";
  top: 20px;
  right: 18px;
  width: 0;
  height: 0;
  border: 10px solid;
  border-color: #000 transparent transparent transparent;
}
/*point the arrow upwards when the select box is open (active):*/
/* .select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}
.select-selected.select-arrow-active:before {
  border-color: transparent transparent #000 transparent;
  top: 7px;
} */
/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
  padding: 8px 16px;
  border: 1px solid;
  border-color: transparent transparent #6d6d6d transparent;
  cursor: pointer;
  user-select: none;
  background-color: #EFEFEF;
}
.select-selected[data-disabled="true"] {
  cursor: not-allowed;
  color: #dddddd;
}
.select-selected[data-disabled="true"]::before {
  border-color: #dddddd transparent transparent transparent;
  }
.select-items div {
  border: 0px;
}
/*style items (options):*/
.select-items {
  position: absolute;
  background-color: transparent;
  padding: 18px 0px 0px 0px;
  right: -20px;
  z-index: 2;
  box-shadow: 7px 20px 20px 0px rgb(0 0 0 / 40%);
  text-align: center;
  width: 100px;
  color: #6D6D6D;
}
.select-items::before{
  border: solid transparent;
  content: " ";
  height: 0;
  top: -8px;
  position: absolute;
  width: 0;
  border-width: 12px;
  border-bottom-color: #C72B25;
  left: 40%;
}
.select-items::after {
  content: " ";
    position: absolute;
    width: 98%;
    border: solid;
    border-width: 100%;
    border-color: #C72B25;
    top: 15px;
    left: 0px;
}
/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  font-weight:bold;
  color: #000000;
  
}

/* 平板 */
@media (max-width: 991.98px) {
  .content__img {
    width: 90%;
  }
  .content__textarea {
    padding: 0px 5%;
    margin: 80px 0 0 0;
  }
}
/* 平板 */
@media (min-width: 768px) and (max-width: 991.98px) {
}
/* 手機螢幕 */
@media (max-width: 767.98px) {
  .content {
    background:  linear-gradient(180deg, #EFEFEF 200px, #FFFFFF 200px);
  }
  .content-back {
    width: 50%;
  }
  .content-back-mobile {
    display: inline-block;
  }
}