/*!
* Iconic Pharmacy
* https://www.iconicpharmacy.co.th
* @license Copyright 2020, Iconic Pharmacy. All rights reserved.
* @author: atthaphon@dnaagency.co.th
*/

#contract .content{
  width: 100%;
  max-width: 1280px;
  position: relative;
  margin: 20px auto;
  padding: 15px;
  font-size: min(7vw,15px);
  line-height: 1.4;
}
#contentAddress p, h2{
  width: 100%;
  height: 5px;
}
#contract .content .row{
  margin: 0;
}
#contract .content.fix_870{
  max-width: 870px;
}
#contract .content_bg{
  background-color: #f9f9f9;
  padding: 20px 40px 60px 40px;
}
#contract .bottom_break{
  margin-bottom: 30px;
}

#contract .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;
}
#contract .bt:hover{
  opacity: 1;
}
#contract .bt.back{
  color: #333;border: 1px solid #ccc;
}
#contract .bt.submit{
  color: #fff;
  background-color: #0099d2;
}
#contract .content h1{
  text-align: center;
}
#contract .content h2{
  font-family: 'promptmedium', 'NotoSansSC-Bold', 'amiribold', 'padaukbold', 'hanumanbold', 'NotoSansJP-Bold', 'open_sansbold';
  font-size: min(6vw,18px);
  color: #0099d2;
  margin: 0;
  margin-bottom: 5px;
  text-align: left;
}
#contract .content .tel{
  margin: 10px 0;
  display: block;
  font-family: 'promptmedium', 'NotoSansSC-Bold', 'amiribold', 'padaukbold', 'hanumanbold', 'NotoSansJP-Bold', 'open_sansbold';
}
#contract .content .tel i{
  width: 17px;
  height: 17px;
  margin-right: 15px;
  margin-bottom: -2px;
}
#contract .bgimg{
  display: inline-block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
#contract .content .social_fb, .content .social_line{
  text-align: center;
  margin: 0;
  padding: 0;
}
#contract .content .social_fb a, .content .social_line a{
  color: #0099d2;
}
#contract .content .social_fb i, .content .social_line i{
  width: 100%;
  height: 40px;
  display: block;
  margin-bottom: 15px;
  margin-top: 10px;
}
#contract .content .social_fb:hover a, .content .social_line:hover a{
  color: #0099d2;
}
#contract .content .social_fb i{
  background-image: url(../images/ic_fb.png);
}
#contract .content .social_line i{
  background-image: url(../images/ic_line.png);
}
#contract .content .social_fb:hover i{
  background-image: url(../images/ic_fb_over.png);
}
#contract .content .social_line:hover i{
  background-image: url(../images/ic_line_over.png);
}

#contract .box_over{
  padding: 30px 20px;
  background-color: rgba(63, 152, 200, 0.9);
  position: absolute;
  z-index: 14;
  right: 2%;
  top: 0;
  color: #fff;
  font-size: min(6vw,32px);
  letter-spacing: -0.5px;
}
#contract .box_over b{
  display: block;
}

#contract .map-responsive{
  overflow:hidden;
  padding-bottom:30%;
  position:relative;
  height:0;
}
#contract .map-responsive iframe{
  left:0;
  top:0;
  height:100%;
  width:100%;
  position:absolute;
  border:0;
}
#contract .box_over{
  top: auto;
}
#contract .subheader {
  border: 1px solid #9ea0a0;
  border-left: none;
  border-right: none;
  color: #0099d2;
  font-weight: normal;
  margin: 2rem auto;
  padding: 1rem 0;
  width: 100%;
}
#contract .terms_text h2{
  font-size: min(8vw,26px);
  font-weight: normal;
  padding-top: 20px;
}
#contract .terms_text, .terms_text p, .terms_text table, .terms_text td, .terms_text li{
  font-size: 13px;
  font-weight: normal;
}
#contract .terms_text td{
  padding: 10px;
}


#contract #ot-sdk-btn.ot-sdk-show-settings, #contract #ot-sdk-btn.optanon-show-settings {
    color: #0099d2;
    border: 1px solid #68b631;
    height: auto;
    white-space: normal;
    word-wrap: break-word;
    padding: 0.8em 2em;
    line-height: 1.2;
    cursor: pointer;
    -moz-transition: 0.1s ease;
    -o-transition: 0.1s ease;
    -webkit-transition: 1s ease;
    transition: 0.1s ease;
}
#contract #ot-sdk-btn.ot-sdk-show-settings:hover, #contract #ot-sdk-btn.optanon-show-settings:hover {
  color: #fff;
  background-color: #0099d2;
}
#contract #ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table {
    border-collapse: inherit;
    margin: auto;
    border: 1px solid #d7d7d7;
    border-radius: 5px;
    border-spacing: initial;
    width: 100%;
    overflow: hidden;
}
#contract #onetrust-banner-sdk th, #contract #onetrust-banner-sdk td, #contract #onetrust-pc-sdk th, #contract #onetrust-pc-sdk td, #contract #ot-sdk-cookie-policy th, #contract #ot-sdk-cookie-policy td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e1e1e1;
}
#contract #ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table th {
    background-color: #F8F8F8;
}
#contract #ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table th, #contract #ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table td {
    border-bottom: 1px solid #d7d7d7;
    border-right: 1px solid #d7d7d7;
}
#contract #ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr th:last-child, #contract #ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr td:last-child {
    border-right: 0px;
}
#contract #ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr:last-child td {
    border-bottom: 0px;
}
@media only screen and (max-width: 900px) {
  #contract .map-responsive {
    padding-bottom: 50%;
  }
}
@media only screen and (max-width: 768px) {
  #contract .map-responsive {
    padding-bottom: 60%;
  }
}
@media only screen and (max-width: 640px) {
  #contract .content .address, #contract .content .address h2{
    text-align: center;
  }
  #contract .map-responsive {
    padding-bottom: 70%;
  }
  #contract .content h2 {
    text-align: left;
    font-size: 18px;
    margin-left: 0;
    margin-right: -7px;
    line-height: 1.2;
  }
  #contract .content .tel{
    font-size: 15px;
    /* padding-bottom: 40px; */
  }
  #contract .terms_text h2{
    font-size: min(8vw,26px);
    font-weight: normal;
  }
}
@media only screen and (max-width: 480px) {
  #contract .map-responsive {
    padding-bottom: 80%;
  }
  #contract .content .profile_img {
    width: 180px;
    height: 180px;
  }
  #contract .bt {
      max-width: 100%;
      width: 100%;
      margin-right: 0px;
      margin-bottom: 10px
  }
}
@media only screen and (max-width: 375px) {
  #contract .content_bg {
    background-color: #f9f9f9;
    padding: 10px 20px 60px 20px;
  }
}
