@charset "UTF-8";

/*======經銷商問答集===========================================*/

.hot-tag {
  font-size: 14px;
  line-height: 2.5;
  background: #fff;
  border: solid 1px #d59fc0;
  border-radius: 3px;
  padding: 2px 8px;
  margin: 0 3px;
  transition: .3s;
}

.hot-tag:hover {
  color: #fff;
  background: #a23999;
  border: solid 1px #a23999;
}

.hot-tag i {
  font-size: 10px;
  padding-right: 5px;
}

.menu-qa {
  display: inline-block;
}

.textinput-qa {
  display: inline-block;
  width: 120px;
  margin: 0 25px 0 10px;
}

.btns-qa-box {
  display: inline-block;
  font-size: 0.85em;
  text-align: left;
}

a.btns-qa {
  height: 30px !important;
  padding: 3px 20px !important;
}

@media (max-width: 640px) {
  .textinput-qa,
  .btns-qa-box {
    margin-bottom: 30px;
  }
}


/* The Modal (background) */

.modal-qa {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 999 !important; 
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}


/* Modal Content */

.modal-content-qa {
  position: relative;
  background-color: #fff;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 750px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

@media (max-width: 768px) {
  .modal-content-qa {
    width: 90%;
  }
}

/* Add Animation */

@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }
  to {
    top: 0;
    opacity: 1
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }
  to {
    top: 0;
    opacity: 1
  }
}


/* The Close Button */

.close-qa {
  color: #b5b0b4;
  float: right;
  font-size: 28px;
  font-weight: bold;
  transition: .3s;
}

.close-qa:hover,
.close-qa:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header-qa {
  height: 50px;
  padding: 2px 16px;
  background-color: #fbf4fa;
  color: white;
}

.modal-body-qa {  
  font-size: 14px;
  line-height: 2;
  padding: 20px;
}

.modal-body-qa .text-q {
  color: #a14d98;
}

.modal-body-qa .text-a {
  margin-top: 20px;
}

.modal-body-qa .text-q span, .modal-body-qa .text-a span {
  display: inline-block;
  vertical-align: top;
}

.modal-body-qa .text-q div, .modal-body-qa .text-a div {
  display: inline-block;
  width: 95%;
}



/*======精油百科===========================================*/

.eoe-box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  text-align: center;
  font-size: 16px;
  font-weight: 600;  
  margin: 20px auto 25px;
}
.eoe-box a, .eoe-box a:visited {
  display: block;
  color: #000;
  text-decoration: none;
}
.eoe-box a:hover {
  color: #a23999;
}
.eoe-box a:hover img {
  -webkit-filter:opacity(.6);
}
.eoe-box li {
  width: 20%;
  vertical-align: bottom;
  padding: 10px;
  margin-bottom: 20px;
}
.eoe-box img {
  display: block;
  width: 100%;
  transition-duration: .3s;
}
.eoe-box p {
  margin-top: 20px;
}

@media only screen and (max-width: 768px) {
  .eoe-box li {
    width: 50%;
    margin-bottom: 0;
  }
}

.eoe-tag {
  color: #7f288a;
  font-size: 14px;
  background: #fff;
  border: solid 1px #7f288a;
  border-radius: 3px;
  padding: 2px 5px;
  margin-right: 10px;
}

.eoe-list {
  background: #fdfafd;
}

.eoe-title-fl {
  width: 72%;
  float: left;
}
.eoe-title-fr {
  width: 25%;
  float: right;
}
.eoe-title-fr img {
  width: 100%;
}

@media only screen and (max-width: 512px) {
  .eoe-title-fl {
    width: 100%;
    float: none;
  }
  .eoe-title-fr {
    width: 80%;
    float: none;
    margin: 0 auto;
  }
}

.eoe-table {
  font-size: 14px;
}
.eoe-table td {
  vertical-align: top;
}
.eoe-table .title {
  color: #a23999;
  font-weight: 600;
  background: #f9f2f8;
  text-align: center;
  vertical-align: middle;
}

/* IE11 */
_:-ms-lang(x)::-ms-backdrop, .eoe-table .sp-w {
  width: 33%;
}
/* Edge(EdgeHTML) */
_:-ms-lang(x)::backdrop, .eoe-table .sp-w {
  width: 30%;
}

/* Edge(Chromium) */
_:lang(x)::-ms-, .eoe-table .sp-w {
  width: 30%;
}

/* Firefox */
_:lang(x)::-moz-placeholder, .eoe-table .sp-w {
  width: 33%;
}

.eoe-table-bg th {
  color: #fff;
  background: #a23999;
}

.eoe-text-h {
  color: #a23999;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  margin-top: 20px;
}

.oil-box li {
  float: left;
  width: 50%;
}
.oil-box img {
  width: 40px;
  height: auto;
  margin: 5px;
}

@media only screen and (max-width: 768px) {
  .oil-box li {
    width: 100%;
  }
}

/*--------表格RWD--------*/
.rwd-table {
  min-width: 100%;
}
.rwd-table th {
  display: none;
}
.rwd-table td {
  display: block;
}
.rwd-table td:before {
  content: attr(data-th) " : ";
  color: #a23999;
  font-weight: bold;
  display: inline-block;
  margin-right: 0.5em;
}

@media (min-width: 512px) {
  .rwd-table td:before {
    display: none;
  }
  .rwd-table th, .rwd-table td {
    display: table-cell;
  }
}