/*!
* Iconic Pharmacy
* https://www.iconicpharmacy.co.th
* @license Copyright 2020, Iconic Pharmacy. All rights reserved.
* @author: atthaphon@dnaagency.co.th
*/
/*
.content a {
  color: #3e98cc;
}
.content a:hover {
  color: #3e98cc;
}
*/
.content .side a {
  color: #333;
}
.content .side a:hover {
  color: #3e98cc;
}
.content.article{
  margin: 0 auto;
}
.article .highlight{
  background-color: #f9f9f9;
  margin:0;
  margin-bottom: 40px;
  display: flex;
}
.article .highlight .text_holder {
  display: inline-block;
  float: left;
  width: 50%;
  position: relative;
}
.text_holder .text_flex{
  top: 45%;
  transform: translate(0, -50%);
  position: absolute;
  padding: 0 8%;
  font-family: 'promptbold', 'NotoSansSC-Black', 'amiribold', 'padaukbold', 'hanumanbold', 'NotoSansJP-Black', 'open_sansextrabold';
}
.text_holder .text_flex b{
  display: block;
  color: #b3976f;
  font-family: 'promptbold', 'NotoSansSC-Black', 'amiribold', 'padaukbold', 'hanumanbold', 'NotoSansJP-Black', 'open_sansextrabold';
  padding-bottom: 3%;
  font-size: min(3vw,26px);
}
.text_holder .text_flex h1{
  color: #4192c1;
  font-size: min(4vw,42px);
  line-height: 1.1;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}
.img_holder{
  width: 50%;
  float: right;
  display: inline-block;
}
.article_body{
  max-width: 800px;
  margin: auto;
  line-height: 1.5;
  font-size: min(3.6vw, 16px);
}
#highlight{
  padding-bottom: 40px;
}
.buy_fix .buy {
  color: #000!important;
  background-color: #fff!important;
  background-image: url(../images/ic_cart.png)!important;
}

.content{
  width: 100%;
  max-width: 1280px;
  position: relative;
  margin: 20px auto;
  padding: 15px;
}
.content.flex{
  display: flex;
}
.content.fix_970{
  max-width: 970px;
}
.content_bg{
  background-color: #f9f9f9;
  padding: 20px 40px 60px 40px;
}


.content h2{
  font-family: 'promptmedium', 'NotoSansSC-Bold', 'amiribold', 'padaukbold', 'hanumanbold', 'NotoSansJP-Bold', 'open_sansbold';
  font-size: min(8vw,22px);
  line-height: 1.4;
  color: #419dc6;
  margin: 0;
  padding-bottom: 10px;
}


.bottom_break{
  margin-bottom: 30px;
}

.bt{
  display: inline-block;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  opacity: 0.8;
  max-width: 150px;
  width: 100%;
  font-size: min(6vw,16px);
  margin-right: 10px;
}
.bt:hover{
  opacity: 1;
}

.main.flex{
  margin-left: 20px;
}
.main.flex h1{
  margin:10px 0;
}
.sub_h1{
  padding-bottom: 20px;
}
.text{
  font-size: min(4vw,14px);
  color: #333;
  margin-top: -10px;
  padding-bottom: 20px;
}
.bt_holder{
  margin-left: -5px;
  margin-top: 15px;
}
.content .tag b{
  color: #4196cd;
  display: block;
  padding-bottom: 5px;
  font-size: min(3vw,16px);
}
.content .tag a{
  color: #666;
  background-color: #f0f0f0;
  padding: 5px 15px;
  border-radius: 99px;
  display: inline-block;
  font-size: min(3vw,12px);
  margin-right: 5px;
  margin-bottom: 10px;
}
.content .tag a:hover{
  color: #fff;
  background-color: #3e98cc;
}

.page{
  text-align: right;
  padding-right: 15px;
  padding-bottom: 40px;
  margin-top: -20px;
}
.page a{
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid #ddd;
}
.page a:hover{
  color: #fff;
  background-color: #3f98cc;
}
.page a.selected{
  color: #fff;
  border: 1px solid #3f98cc;
  background-color: #3f98cc;
}
.page a.more{
  border: none;
}
.swiper-article{
  padding: 15px;
  padding-top: 20px;
  padding-bottom: : 0px;
  margin-bottom: -15px;
  max-width: 1280px;
  text-transform: uppercase;
}
.swiper-article .swiper-slide{
  padding: 5px;
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-right: 0px;
  text-align: center;
  font-family: 'promptmedium', 'NotoSansSC-Bold', 'amiribold', 'padaukbold', 'hanumanbold', 'NotoSansJP-Bold', 'open_sansbold';
  cursor: pointer;
}
.swiper-article .swiper-slide:last-child{
  border-right: 1px solid #ddd;
}
.swiper-article .swiper-slide.selected{
  color: #fff;
  background-color: #4598c9;
  border: 1px solid #4598c9;
}
.swiper-article .swiper-slide:hover{
  color: #fff;
  background-color: #2f83b5;
  border: 1px solid #2f83b5;
}
/* Fix Relate Product margin */
.relate.products #product{
  padding: 0px 5px;
  margin-bottom: 0px;
}
.relate.article .tab_head{
  padding-bottom: 10px;
}
.relate .tab_head {
  margin: 0px;
}
.swiper-slide.tab_article {
  /*min-height: 70px;*/
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-size: min(3vw, 14px);
}
@media only screen and (max-width: 1300px) {
}
@media only screen and (max-width: 900px) {
}
@media only screen and (max-width: 768px) {
  .page_load.show_mobile{
    display: block;
  }
  .page.show_pc{
    display: none;
  }
  .tag{
    padding-bottom: 40px;
  }
}
@media only screen and (max-width: 640px) {

  .content h2 {
    text-align: left;
    font-size: min(5vw,36px);
    margin-left: 0;
    margin-right: -7px;
    margin-bottom: 20px;
  }
  .view_all {
    margin-top: -40px;
  }
  .article .highlight .text_holder {
    width: 100%;
    padding: 20px 10px;
  }
  .article .highlight .img_holder {
    width: 100%;
  }
  .text_holder .text_flex {
    display: contents;
    font-size: min(6vw,42px);
    line-height: 1.3;
  }
  .article .highlight {
    display: inline-block;
  }
  .text_holder .text_flex b {
    font-size: min(5vw,26px);
  }
  .text_holder .text_flex h1{
    font-size: min(6vw,42px);
    line-height: 1.3;
  }
  .mobile_padding_top{
    padding-top: 40px;
  }
}
@media only screen and (max-width: 480px) {
  .content .profile_img {
    width: 180px;
    height: 180px;
  }
  .bt {
      max-width: 100%;
      width: 100%;
      margin-right: 0px;
      margin-bottom: 10px
  }

}
@media only screen and (max-width: 375px) {
  .content_bg {
    background-color: #f9f9f9;
    padding: 10px 20px 60px 20px;
  }
}


/* บทความ */
h1{
  font-family: 'promptmedium', 'NotoSansSC-Bold', 'amiribold', 'padaukbold', 'hanumanbold', 'NotoSansJP-Bold', 'open_sansbold';
  font-size: min(10vw,32px);
  line-height: 1.4;
  color: #419dc6;
  margin: 0;
  padding-bottom: 20px;
}
h2{
  padding-bottom: 20px;
}
.spacer{ clear: both;height: 40px;}
ol ::marker {
  font-weight: bold;
}
ol{
  padding-left: 20px;
}
li{
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
}
.text_highlight{
  font-weight: bold;
  color: #419dc6;
  padding-bottom: 20px;
  display: inline-block;
}
.tb_holder{overflow: auto;}
.tg  {border-collapse:collapse;border-spacing:0;}
.tg td{border-color:black;border-style:solid;border-width:1px;font-size:14px;
  overflow:hidden;padding: 15px 15px 15px;word-break:normal;}
.tg th{border-color:black;border-style:solid;border-width:1px;
  font-weight:normal;overflow:hidden;padding:15px 15px 15px;word-break:normal;font-weight: bold;
    background-color: #419dc6; color: #fff;text-align:center; color: #fff;}
.tg .tg-0lax{vertical-align:top}



.swiper-article .disable.swiper-slide{
  cursor:auto!important;
  pointer-events: none!important;
}
.swiper-article .disable.swiper-slide:hover , .swiper-article .disable.swiper-slide.selected{
  background-color: #fafafa!important;
  border: 1px solid #ddd!important;
  color: #000;
}
