/* <=== hpcontactmm ===> */
.hpcontactmm{
  padding: 40px 0 50px;
  text-align: center;
}
.hpcontactmm .mmtitle{
  margin-bottom: 10px;
  text-transform: uppercase;
}
.hpcontactmm .mmtitle, .hpcontactmm .mmtitle h1, .hpcontactmm .mmtitle h2{
  font-size: 45px;
  line-height: 60px;
  font-weight: bold;
}
.hpcontactmm .mmconts{
  font-size: 15px;
  line-height: 30px;
}
/* <=== hpcontactmm ===> */

/* <=== hpcontactmm ===> */
.hpcontacthh{
  padding: 65px 0 60px;
  background-color: #f6f6f6;
  position: relative;
  z-index: 1;
}
.hpcontacthh::before{
  content: '';
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  bottom: 30px;
  background-image: url('../images/hhback.png');
  background-position: top left;
  background-repeat: no-repeat;
  background-size: auto;
  z-index: -1;
  pointer-events: none;
  opacity: 15%;
}
/* <=== hpcontactmm ===> */

/* <=== tpcontactha ===> */
.tpcontactha{
  margin-bottom: 60px;
}
.itcontactha{
  margin-bottom: 20px;
  box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.05);
  padding: 20px 30px 20px;
  position: relative;
  background-color: #fff;
  border-radius: 5px;
}
.itcontactha:last-child{
  margin-bottom: 0;
}
.itcontactha .hhtitle{
  padding: 0 30px 0 0;
  position: relative;
  cursor: pointer;
  font-size: 30px;
  line-height: 40px;
  font-weight: bold;
  color: #15247b;
}
.itcontactha .hhtitle::before{
  content: '';
  position: absolute;
  top: 14px;
  right: 0;
  width: 20px;
  height: 2px;
  background-color: #666666;
}
.itcontactha .hhtitle::after{
  content: '';
  position: absolute;
  top: 5px;
  right: 9px;
  width: 2px;
  height: 20px;
  background-color: #666666;
  -webkit-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  transition: all 0.3s linear;
}
.itcontactha.active .hhtitle::after{
  transform: rotate(90deg);
}
.itcontactha .haconts{
  padding: 20px 0;
  display: none;
}
.itcontactha .ctinfo{
  margin-bottom: 15px;
  border-top: 1px solid #eeeeee;
} 
.itcontactha .ctinfo li{
  border-bottom: 1px solid #eeeeee;
  padding: 12px 0;
  display: flex;
  flex-wrap: wrap;
}
.itcontactha .ctinfo li .tm{
  width: 100px;
  padding-right: 10px;
  font-size: 15px;
  line-height: 23px;
  font-weight: bold;
}
.itcontactha .ctinfo li .th{
  width: calc(100% - 100px);
  font-size: 15px;
  line-height: 23px;
}
.itcontactha .ctmaps a{
  display: inline-block;
  font-size: 14px;
  line-height: 22px;
  padding: 9px 14px 9px 15px;
  border-radius: 5px;
  background-color: #221f1f;
  color: #fff;
}
.itcontactha .ctmaps a span{
  display: inline-block;
  position: relative;
  padding-right: 32px;
}
.itcontactha .ctmaps a span::before{
  content: '\e92e';
  font-family: 'icomoon' !important;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  font-size: 18px;
}
.itcontactha .ctmaps a:hover{
  background-color: #15247b;
}
/* <=== tpcontactha ===> */

/* <=== tpcontacthb ===> */
.tpcontacthb {
  background-color: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.06);
}
.tpcontacthb .hbgrip{
  display: flex;
  flex-wrap: wrap;
}
.tpcontacthb .hbgrip > div{
  width: 50%;
}
.tpcontacthb .hbform{
  padding: 30px 35px;
  height: 100%;
}
.tpcontacthb .frmtitle{
  margin-bottom: 20px;
}
.tpcontacthb .frmtitle, .tpcontacthb .frmtitle h2{
  font-size: 30px;
  line-height: 40px;
  font-weight: bold;
}
.tpcontacthb .frminput{
  margin-bottom: 10px;
}
.tpcontacthb .frmgrip{
  display: flex;
  flex-wrap: wrap;
  margin: 0 -5px;
}
.tpcontacthb .frmgrip > div{
  padding: 0 5px;
}
.tpcontacthb .frmgrip .mcol{
  width: 50%;
}
.tpcontacthb .frmgrip .hcol{
  width: 100%;
}
.tpcontacthb .frmgroup{
  margin-bottom: 15px;
}
.tpcontacthb .frmgroup input{
  width: 100%;
  height: 45px;
  padding: 0 15px;
  border: 1px solid #dddddd;
  font-size: 15px;
  line-height: 23px;
  border-radius: 5px;
}
.tpcontacthb .frmgroup input::-webkit-input-placeholder, .tpcontacthb .frmgroup textarea::-webkit-input-placeholder { 
  color: #666666;
}
.tpcontacthb .frmgroup input:-ms-input-placeholder, .tpcontacthb .frmgroup textarea:-ms-input-placeholder {
  color: #666666;
}
.tpcontacthb .frmgroup input::placeholder, .tpcontacthb .frmgroup textarea::placeholder {
  color: #666666;
}
.tpcontacthb .frmgroup textarea{
  width: 100%;
  height: 170px;
  padding: 10px 15px;
  border: 1px solid #dddddd;
  font-size: 16px;
  line-height: 24px;
  border-radius: 5px;
  resize: none;
}
.tpcontacthb .infconts{
  padding: 30px 20px 45px;
  background-color: #15247b;
}
.tpcontacthb .infconts .ctwrap{
  max-width: 330px;
  margin: 0 auto;
}
.tpcontacthb .infconts .cttitle{
  margin-bottom: 15px;
  color: #fff;
}
.tpcontacthb .infconts .cttitle, .tpcontacthb .infconts .cttitle h2{
  font-size: 30px;
  line-height: 40px;
  font-weight: bold;
}
.tpcontacthb .infconts li{
  display: flex;
  align-items: center;
  align-content: center;
  padding: 5px;
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 15px;
} 
.tpcontacthb .infconts li:last-child{
  margin-bottom: 0;
}
.tpcontacthb .infconts li .tm{
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  background-color: #15247b;
  color: #fff;
  border-radius: 5px;
}
.tpcontacthb .infconts li .tm img{
  max-width: 25px;
  max-height: 80%;
}
.tpcontacthb .infconts li .th{
  width: calc(100% - 45px);
  padding-left: 15px;
  font-size: 16px;
  line-height: 24px;
  word-break: break-all;
}
.tpcontacthb .infconts li .vbold{
  font-size: 25px;
  line-height: 30px;
  font-weight: bold;
}
.tpcontacthb .infthumb img{
  width: 100%;
}
/* <=== tpcontacthb ===> */

/*  <===== stypomap =====>  */
.stypomap .fancybox-slide{
  padding:  0;
}
.stypomap .fancybox-toolbar{
  opacity: 1;
  visibility: initial;
  z-index: 100000;
  pointer-events: auto;
}
.stypomap .fancybox-button{
  height: 40px;
  width: 40px;
  background-color: #15247b;
  color: #fff;
  opacity: 1;
  padding: 0;
}
.stypomap .fancybox-button svg{
  width: 80%;
}
/* Nút close bản đồ luôn trên iframe, bấm được trên mobile */
.stypomap .fancybox-close-small{
  z-index: 100001;
  pointer-events: auto;
  cursor: pointer;
}
/*  <===== stypomap=====>  */
@media all and (max-width: 1200px){

}
@media all and (max-width: 991px){
  /* <=== hpcontactmm ===> */
  .hpcontactmm{
      padding: 40px 0 30px;
  }
  .hpcontactmm .mmtitle, .hpcontactmm .mmtitle h1, .hpcontactmm .mmtitle h2{
      font-size: 30px;
      line-height: 40px;
  }
  /* <=== hpcontactmm ===> */

  /* <=== tpcontacthb ===> */
  .hpcontacthh{
      padding: 40px 0 60px;
  }
  .hpcontacthh::before{
      top: 20px;
      left: 0;
      right: 0;
      bottom: 0;
  }
  .tpcontacthb .hbgrip{
      flex-direction: column-reverse;
  }
  .tpcontacthb .hbgrip > div{
      width: 100%;
  }
  .tpcontacthb .infthumb{
      display: none;
  }
  .tpcontacthb .infconts{
      padding: 25px 20px 30px;
  }
  .tpcontacthb .infconts .cttitle, .tpcontacthb .infconts .cttitle h2{
      font-size: 25px;
      line-height: 35px;
  }
  .tpcontacthb .infconts li .vbold{
      font-size: 22px;
      line-height: 30px;
  }
  .tpcontacthb .infconts li{
      font-size: 14px;
      line-height: 22px;
  }
  .tpcontacthb .frmtitle{
      margin-bottom: 15px;
  }
  .tpcontacthb .frmtitle, .tpcontacthb .frmtitle h2{
      font-size: 25px;
      line-height: 35px;
  }
  .tpcontacthb .hbform{
      padding: 25px 20px 45px;
  }
  .tpcontactha{
      margin-bottom: 40px;
  }
  .itcontactha{
      padding: 20px;
  }
  .itcontactha .hhtitle{
      font-size: 22px;
      line-height: 32px;
  }
  .itcontactha .ctinfo li .th{
      font-size: 14px;
      line-height: 22px;
  }
  /* <=== tpcontacthb ===> */
}
@media all and (max-width: 767px){
   /* <=== tpcontacthb ===> */
   .hpcontacthh::before{
      background-size: 100% auto;
  }
    /* <=== tpcontacthb ===> */
    .itcontactha .ctmaps a{
          display: block;
          text-align: center;
    }
  /* Nút close bản đồ: vùng chạm lớn hơn trên mobile */
  .stypomap .fancybox-close-small{
    min-width: 48px;
    min-height: 48px;
    padding: 12px;
    right: 8px;
    top: 8px;
    -webkit-tap-highlight-color: rgba(0,0,0,0.2);
  }
  .stypomap .fancybox-button--close{
    min-width: 48px;
    min-height: 48px;
    padding: 12px;
  }
}