.mgb-20 {
  margin-bottom: 20px;
}
.mgb-30 {
  margin-bottom: 30px;
}
.font-c-blue {
  color: #0091d2;
}
.font-c-red {
  color: #ff0000;
}

.pop-regis-box .mdd-input-field .input{
  margin-bottom: 15px;
  border: none;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.pop-regis-box .mdd-input-field input {
  font-family: "dtac_2018regular",
  helvetica,
  arial;
  font-size: 16px;
  border: 1px solid #00a4ed;
  padding: 10px 20px;
  height: 45px;
  max-width: 300px;
  width: 100%;
  border-radius: 4px;
  line-height: 45px;
  margin-bottom: 0;
  background: transparent;
}

.pop-regis-box .mdd-input-field input:focus {
  outline: none;
}
input.error {
  color: #f00 !important;
  border-color: #f00 !important;
}
input.error + div {
  display: block;
  margin-top: 30px;
}
.error-message {
  display: none;
  color: #f00;
  text-align: left;
  margin-bottom: 15px;
}
.pop-regis-box .mdd-input-field .error-message {
  max-width: 300px;
  width: 100%;
  margin: 5px auto 0;
  font-size: 14px;
}


 
  button[disabled],button[disabled]:hover {
    background: #d6d6d6;
    color: #767676;
    cursor:not-allowed;
    }

  .pop-regis-box {
    background: #fff;
    overflow: hidden;
    
    font-family: 'dtac_2018regular';
    width: 530px;
  }
  .pop-regis-box .nav-link.active{
    background-color: #F5F5F5;
  }
  .pop-regis-box a.nav-link, a.nav-link:hover {
    color: #333;
  }
  .pop-body {
    background-color: #F5F5F5;
  }

  .popup-head-pack {
    position: relative;
    margin-bottom: 20px;
  }

  .popup-name-pack {
    min-height: 132px;
  }

  .popup-name-pack h5 {
    padding: 0 10px;
    color: #1A1A1A;
    margin-bottom: 0.2rem;
    font-size: 1.1875rem;
    font-size: 18px;
    
    font-weight: 500;
    
  }

  .popup-name-pack span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px 0;
    background-color: #9CE7F5;
    font-size: 14px;
  }

  
  .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: none !important;
  }

  .popup-pack-table td {
    width: 50%;
    text-align: center;
    vertical-align: middle !important;
    position: relative;
    padding: 13px 0 !important;
    border: 0 !important;
    
  }

  .popup-pack-table .popup-pack-price::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    border-left: 1px solid #a7a7a7;
  }

  .popup-pack-table .popup-pack-price p {
    font-size: 32px;
    display: inline-block;
    width: 100%;
    text-align: center;
    margin: 0;
  }

  .popup-pack-table .popup-pack-price p span {
    font-size: 16px;
    display: inline-block;
    color: #5A5A5A;
  }

  .popup-pack-table .popup-pack-detail ul {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .popup-pack-table .popup-pack-detail ul {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .popup-pack-table .popup-pack-detail li:first-child {
    padding: 0 0 4px;
  }

  .popup-pack-table .popup-pack-detail li {
    padding: 4px 0;
  }

  .popup-pack-table .popup-pack-detail [class*="ico-"] {
    width: 15px;
    height: 15px;
    background-size: 100% auto;
    position: relative;
    top: 2px;
    display: inline-block;
  }

  .popup-pack-table .popup-pack-detail [class*="ico-"] {
    width: 15px;
    height: 15px;
    background-size: 100% auto;
    position: relative;
    top: 2px;
    display: inline-block;
  }

  .popup-pack-table .popup-pack-detail .ico-net {
    background: url('/md-offer/mdd_v6/assets/images/sm-internet.svg') center center no-repeat;
  }

  .popup-pack-table .popup-pack-detail .ico-calendar {
    background: url('/md-offer/mdd_v6/assets/images/sm-calendar.svg') center center no-repeat;
  }

  .popup-pack-table .popup-pack-detail .ico-call {
    background: url('/md-offer/mdd_v6/assets/images/call.svg') center center no-repeat;
    background-size: cover;
  }
  .popup-pack-table .popup-pack-detail .ico-call-all {
    background: url('/md-offer/mdd_v6/assets/images/ico-call-all.svg') center center no-repeat;
  }
  .popup-pack-table .popup-pack-detail .ico-wifi {
    background: url('/md-offer/mdd_v6/assets/images/ico-wifi.png') center center no-repeat;
    background-size: cover;
  }

  .popup-pack-table .popup-pack-detail p {
    display: inline-block;
    
    margin: 0;
    color: #333;
    font-size: 16px;
  }

  .popup-pack-table .popup-pack-detail span {
    font-size: 12px;
    color: #767676;
    display: block;
  }

  .popup-pack-table {
    padding: 0 0 31px;
  }

  .popup-pack-table table {
    margin: 5px 0;
  }

  .pack-detail {
    padding: 20px 15px;
  }

  .fancybox-close-small:focus:after {
    outline: none;
  }
  .regis-box {
    font-size: 16px;
    text-align: center;
  }
  .condition-wrapper {
    display: block;
    width: 100%;
    max-width: 530px;
    border-top: 1px solid #d3d3d3;
    padding: 0 0 15px;
    margin: 25px auto 0;
  }

  .condition-wrapper .tab-content {
    padding: 15px 10px 0;
    font-size: 14px;
  }

  .condition-wrapper .tab-content ul {
    padding-inline-start: 30px;
  }

  .pop-regis-box .nav-tabs {
    border-bottom: none;
  }

  .pop-regis-box .nav-tabs>li {
    width: 50%;
    border: none;
    margin-bottom: 0;
    position: relative;
  }

  .pop-regis-box .nav-tabs>li>a {
    margin-right: 0px;
    line-height: 1.42857143;
    border-bottom: 1px solid #ddd !important;
    border-radius: 0;
    border-left: none !important;
    border-right: none !important;
    background-color: #F5F5F5;
    font-family: 'dtac_2018bold';
    font-size: 16px;
  }

  .pop-regis-box .nav-tabs>li>a:hover {
    
    border-left: none;
    border-right: none;
    border-color: transparent transparent #ddd;
  }

  

  .pop-regis-box .nav-tabs>li.active>a:after {
    content: "";
    position: absolute;
    height: 2px;
    background: #19AAF8;
    width: 100%;
    bottom: -1px;
    left: 0;
    visibility: visible;
    opacity: 1;
  }

  

  .pop-regis-box .nav-tabs>li.active>a,
  .pop-regis-box .nav-tabs>li.active>a:focus,
  .pop-regis-box .nav-tabs>li.active>a:hover {
    color: #19AAF8 !important;
    cursor: default !important;
    background-color: #F5F5F5 !important;
    border-left: none !important;
    border-right: none !important;
    border-color: transparent transparent #ddd !important;
    
  }

  .nav>li>a:focus,
  .nav>li>a:hover {
    text-decoration: none;
    background-color: #f5f5f5;
    color: #333;
    outline: none;
  }

  .tab-content>.tab-pane {
    display: none;
  }

  .tab-content>.active {
    display: block;
  }
  .tab-content .country_support{
    margin-top: 5px;
  }
  .tab-content .country_support tbody th{
    font-size: 16px;
  }
  .tab-content .country_support tbody tr td {
    
    padding: 2px 0 2px 20px;
    font-size: 14px;
  }

  
  .btn-blue {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: all 0.35s ease-in-out 0s;
    -moz-transition: all 0.35s ease-in-out 0s;
    -o-transition: all 0.35s ease-in-out 0s;
    -ms-transition: all 0.35s ease-in-out 0s;
    transition: all 0.35s ease-in-out 0s;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    cursor: pointer;
    display: inline-block;
    min-width: 120px;
    text-align: center;
    padding: 10px 15px;
    background: #007AD0;
    color: #fff;
    font-size: 16px;
  }

  .sm-btn-blue {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: none;
    -webkit-transition: all 0.35s ease-in-out 0s;
    -moz-transition: all 0.35s ease-in-out 0s;
    -o-transition: all 0.35s ease-in-out 0s;
    -ms-transition: all 0.35s ease-in-out 0s;
    transition: all 0.35s ease-in-out 0s;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: inline-block;
    font-size: 16px;
    color: #fff;
    background: #007AD0;
    min-width: 85px;
    padding: 7px 15px;
    cursor: pointer;
  }

  .btn-blue:hover {
    background: #036bb5;
  }

  .sm-btn-blue:hover {
    background: #036bb5;
  }

  button[class^="btn"] {
    border: none;
    outline: none;
  }

  .message-box {
    padding: 0 15px;
    margin-bottom: 30px;
  }
  .message-box .f-hade {
    font-size: 18px;
  }

  .button-wrap {
    position: relative;
    text-align: center;
    top: 50%;
    margin: 5px auto 10px;
  }
  .button-label {
    font-family: "dtac2017";
    font-weight: normal;
    
    padding: 10px 10px !important;
    width: 28%;
    display: inline-block !important;
    cursor: pointer;
    padding: 1em 2em;
    margin: 0.4em;
    color: #292929;
    border-radius: 0.25em;
    background: #fff;
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1),
      inset 0 -3px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1),
      inset 0 -3px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1), inset 0 -3px 0 rgba(0, 0, 0, 0.12);
    -webkit-transition: 0.3s;
    transition: 0.3s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  .button-label:hover {
    background: #00ace7;
    color: #fff;
    -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1),
      inset 0 -3px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1),
      inset 0 -3px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), inset 0 -3px 0 rgba(0, 0, 0, 0.12);
  }
  input[name="p_pay_jaidee"]:checked + .button-label {
    background: #00ace7;
    color: #fff;
  }

  @media only screen and (min-width: 768px) {
    
    

    .popup-name-pack {
      width: 100%;
      
      
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
      -ms-flex-line-pack: center;
      align-content: center;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -ms-flex-direction: column;
      flex-direction: column;
      text-align: center;
      height:auto;
    }

    

    .popup-head-pack [class*="col-"] {
      position: static;
    }

    .popup-head-pack [class*="col-"]:nth-child(2) {
      border-left: 1px solid #FFFFFF;
    }


  }

  @media(max-width:767px) {

    .popup-name-pack span{
      position: relative;
      display: block;
      padding: 5px;
    }


    .popup-head-pack {
      margin-bottom: 0;
    }

    .popup-name-pack {
      height: auto;
      padding: 5% 0 0;
      position: relative;
      text-align: center;
      min-height: auto;
    }

    .popup-name-pack h5 {
      padding: 0 15px;
      line-height: 24px;
    }

    .popup-pack-table {
      padding: 0;
    }
  }

  @media(max-width:575px) {
    .pop-regis-box {
      max-width: 530px;
      width: 100% !important;
    }
  }

  .fancybox-button svg {display: none !important;}
  .hide,.hidden{display: none;}
  .result-icon{
    margin-bottom: 30px;
    width: 40px;
    
  }

  

  [class*="bttn-"],.txt-dtac{
    font-family: "dtac_2018regular";
  }
  .fancybox-slide>.crossell-box{
    padding:0 !important;
    text-align:center !important;
  }
  .fancybox-container{
    z-index:101!important;
  }
  .fancybox-slide>div{
    max-width:100%
  }