@font-face {
    font-family: "MyriadProRegular";
    src: url('../../core_css/fonts/MyriadPro-Regular.eot');
    src: url('../../core_css/fonts/MyriadPro-Regular.eot?') format('embedded-opentype'), 
         url('../../core_css/fonts/MyriadPro-Regular.woff') format('woff'), 
         url('../../core_css/fonts/MyriadPro-Regular.ttf') format('truetype');
    font-style: normal;
    font-stretch: normal;
}

@font-face {
  font-family: 'MyriadProBoldIta';
  src: url('../../core_css/fonts/MyriadPro-BoldIt.eot');
  src: url('../../core_css/fonts/MyriadPro-BoldIt.eot?#iefix') format('embedded-opentype'),
       url('../../core_css/fonts/MyriadPro-BoldIt.woff2') format('woff2'),
       url('../../core_css/fonts/MyriadPro-BoldIt.woff') format('woff'),
       url('../../core_css/fonts/MyriadPro-BoldIt.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.top-contact {
  font-size: 14px;
  position: relative;
  min-height: 350px;
  /*background:url("../images/bg-atiz-v1.jpg") no-repeat scroll 40% 0 transparent;*/
  background: url("../images/atiz-contact-bg1.png") no-repeat top center; 
  /*-webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;*/
  /*background-size: cover;*/
  font-family: "MyriadProRegular", Arial,sans-serif, Helvetica;
  /*background-size: 100% 100%;*/
}

@media (max-width: 768px) {
  .top-contact {
    background: url("../images/bg3.png") no-repeat top center;
    }   
}

@media (max-width: 414px) {
  .top-contact {
    background: url("../images/bg2.png") no-repeat top center;
    }   
}


.contact-adr {
  background: #FFF;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  opacity: 0.9;
  filter: alpha(opacity=90); /* For IE8 and earlier */
  float: right;
  margin-right: 20px;
  margin-top: 65px;
  padding: 20px 0 20px 10px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .contact-adr {
    float: none;
    margin: 310px auto 30px auto;  
  }  
}

@media (max-width: 414px) {
  .contact-adr {
    float: none;
    margin: 310px 15px 30px auto;  
  }  
}

/*@media (max-width: 320px) {
  .contact-adr {
    font-size: 12px;
  }  
}*/

@media (max-width: 414px) {
  .thai-adr {
    margin-bottom: 15px;
  }
}

@media (max-width: 375px) {
  .thai-adr {
    padding-left: 8px;
    padding-right: 8px;
  }

  .usa-adr {
    padding-left: 8px;
    padding-right: 8px;
  }
}

.contact-adr h3 {
  font-size: 20px;
  font-weight: bold;
  margin-top: 0px;
}

.right-contact {
  padding-left: 5px;
}

@media (max-width: 768px) {
  .right-contact {
    padding-left: 15px;  
  }  
}

.us-detail h5 {
  padding-top: 0;
  margin-top: 0;
  font-weight: bold;
}

.us-detail p {
  margin-bottom: 0px;
}

.last-sec {
  margin-bottom: 2px !important;
}

.contact-line {
  margin-top: 20px;
}

.contact-line h5 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 2px;
}

.contact-line .left-lbl{
  width: 40%;
  display: inline-block;

}

.media-line .left-lbl{
  width: 40%;
  display: inline-block;

}

.thai-adr h5 {
  margin-bottom: 0px;
  font-size: 15px;
  font-weight: bold;
}

.contact-adr .table th, .contact-adr .table td { 
     border-top: none !important; 
 }

 .contact-adr .table>tbody>tr>td, .contact-adr .table>tbody>tr>th, 
 .contact-adr .table>tfoot>tr>td, .contact-adr .table>tfoot>tr>th, 
 .contact-adr .table>thead>tr>td, .contact-adr .table>thead>tr>th {
    padding: 2px 0px;
    line-height: 1.42857143;
    vertical-align: middle;
    border-top: 1px solid #ddd;
}

.contact-adr .table {
  margin-bottom: 0px;

}

@media screen and (max-width: 767px) {
  .contact-adr .table {
    margin-bottom: 0px;
  } 
}

/*.mail-sec {
  margin-top: 5px;
}*/

.th-no p, .us-no p{margin-bottom: 2px;}

.th-detail, .th-no, .us-detail, .us-no {
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 768px) {
  .th-detail {
    padding-right: 410px;
  }
}

@media (max-width: 414px) {
  .th-detail {
    padding-right: 130px;
  }
}

@media (max-width: 375px) {
  .th-detail {
    padding-right: 110px;
  }
}

@media (max-width: 320px) {
  .th-detail {
    padding-right: 75px;
  }
}

.th-detail p, .us-detail p {
  line-height: 20px;
}

.th-detail span {
  float: right;
}

@media (max-width: 768px) {
  .us-no {
    padding-top: 30px;
  }
}

@media (max-width: 414px) {
  .us-no {
    padding-top: 48px;
  }
  .th-no {
    padding-top: 22px;
  }
}

@media (max-width: 320px) {
  .us-no {
    font-size: 9px;
  }  
}


.contact-explain {
  padding-left: 65px;
}

@media (max-width: 768px) {
  .contact-explain {
    padding-left: 15px;
  }  
}

.explain-first {
  padding-bottom: 6px;
}

.explain-second {
  padding-top: 20px;
}

.clr {
  clear: both;
}

.contact-content {
  padding-bottom: 40px;
  font-family: "MyriadProRegular", Arial,sans-serif, Helvetica;
  font-size: 14px;
}

.contact-content h3 {
  margin-top: 40px;
  padding-bottom: 20px;
}

#contact-form-page {
  margin-top: 25px;
}

#contact-form-page .form-group {
  margin-bottom: 25px;
}

#contact-form-page .form-control{
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;

}

#contact-form-page .control-label{ 
  text-align: left;
  font-weight: normal;
} 

#contact-form-page .con-email, #contact-form-page .con-subj {
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #000;
}

#contact-form-page .con-msg {
  border: 1px solid #000;  
}

#contact-form-page .submitBtn {
  text-align: center;
}

#btnButton {
  background: #555;
  height: 34px;
  color: #FFF;
  width: 200px;
  text-transform: uppercase;
  font-size: 16px;
  text-align: center;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  border: 1px solid #555;
}

@media (max-width: 414px) {
  #btnButton {
      width: 100%;
  }  
}

.first-email {
  padding-top: 40px;
}

@media (max-width: 414px) {
  .first-email {
    padding-top: 56px;
  }  
}

.map {
  font-weight: bold;
  padding-left: 10px;
}

/* new design */

.global-no-desc h5, .usa-no-desc h5 {
  font-weight: bold;
  margin-bottom: 3px;
  font-size: 16px;
}

.tb-left {
  width: 30%;
  font-weight: bold;
}

@media (max-width: 414px) {
  .tb-left {
    width: 20%;
  }
}

@media (min-width: 415px) and (max-width: 767px) {
  .table-responsive {
      width: 50%;
      margin-bottom: 0px;
      overflow-y: hidden;
      border: none;
  }
}

@media (max-width: 414px) {
  .table-responsive {
    border: none;
    margin-bottom: 0px;  
  }  
}


/* loading */
#contact-form-page .block-loader {    
  position: absolute;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: visible;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 99999;
}

#contact-form-page .lds-default {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

#contact-form-page .lds-default div {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #cd122f;
  border-radius: 50%;
  animation: lds-default 1.2s linear infinite;
}

#contact-form-page .lds-default div:nth-child(1) {
  animation-delay: 0s;
  top: 37px;
  left: 66px;
}

#contact-form-page .lds-default div:nth-child(2) {
  animation-delay: -0.1s;
  top: 22px;
  left: 62px;
}

#contact-form-page .lds-default div:nth-child(3) {
  animation-delay: -0.2s;
  top: 11px;
  left: 52px;
}

#contact-form-page .lds-default div:nth-child(4) {
  animation-delay: -0.3s;
  top: 7px;
  left: 37px;
}

#contact-form-page .lds-default div:nth-child(5) {
  animation-delay: -0.4s;
  top: 11px;
  left: 22px;
}

#contact-form-page .lds-default div:nth-child(6) {
  animation-delay: -0.5s;
  top: 22px;
  left: 11px;
}

#contact-form-page .lds-default div:nth-child(7) {
  animation-delay: -0.6s;
  top: 37px;
  left: 7px;
}

#contact-form-page .lds-default div:nth-child(8) {
  animation-delay: -0.7s;
  top: 52px;
  left: 11px;
}

#contact-form-page .lds-default div:nth-child(9) {
  animation-delay: -0.8s;
  top: 62px;
  left: 22px;
}

#contact-form-page .lds-default div:nth-child(10) {
  animation-delay: -0.9s;
  top: 66px;
  left: 37px;
}

#contact-form-page .lds-default div:nth-child(11) {
  animation-delay: -1s;
  top: 62px;
  left: 52px;
}

#contact-form-page .lds-default div:nth-child(12) {
  animation-delay: -1.1s;
  top: 52px;
  left: 62px;
}

@keyframes lds-default {
  0%, 20%, 80%, 100% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.5);
  }
}

#contact-form-page label.error {
  color: #FF0000;
  font-size: 13px;
}

#contact-page-response-msg {
    margin-bottom: 20px;
}

#contact-page-response-msg .bottom-show-msg{
    background: #dff0d8;
    border: 1px spolid #d6e9c6;
    padding: 15px !important;
}

#contact-page-response-msg .failed-message,
#contact-page-response-msg .invalid-message {
    color: #FF0000;
}

