@import url('https://fonts.googleapis.com/css?family=Kanit:400,500,600,700&display=swap');

body{
	font-family: 'Kanit', sans-serif;
}




/*----------- PAYMENT ----------*/

.wallet01 {padding: 0px 23px;}
.payment{
	margin-top: 30px;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  background: #fafafa;
}

.toppic{
	width: 100%;
	font-size: 30px;
	font-weight: 500;
	margin-bottom: 30px;
}


.payment-choice{
	width: 100%;
	padding: 10px 0;
}




[class^="flaticon-"]:before, 
[class*=" flaticon-"]:before, 
[class^="flaticon-"]:after, 
[class*=" flaticon-"]:after {
	font-family: Flaticon;
	font-size: 32px;
	font-style: normal;
}


.choice-text{
	font-size: 14px;
}


.toppic-tab{
	text-align: center;
  margin: 50px 0;
  padding-top: 30px;
  font-size: 26px;
  font-weight: 500;
  border-top: 2px dashed #ccc;
}


.flaticon-pay:before,
.flaticon-counter:before,
.flaticon-bank:before{
  font-size: 55px;
}

.card-m {margin-top: 13px;}
.card-m img {
  width: 100px;
  margin-bottom: 10px;
  margin-top: 5px;
}

.toppic-detail{
	font-size: 16px;
    margin-bottom: 10px;
}

.toppic-detail span{
	color: red;
}


.typecard{
	width: 100%;
    padding: 5px 0;
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 30px;
}

.typecard-text{
	font-size: 14px;
}


.infocard{
	margin: 10px 0 0 0;
}


.infocard input {
  height: 45px;
  padding-left: 20px;
  font-size: 16px;
  margin-bottom: 5px;
}

.infocard select {
    height: 45px;
    padding-left: 0px;
    font-size: 14px;
}



.btn-cf{
	margin-top: 30px
}


.btn-cf .btn{
	font-size:18px;
	height: 60px;
	padding-top:15px;
	
}



.btn-cc{
	margin-top: 30px
}


.btn-cc .btn{
	font-size:18px;
	height: 60px;
	padding: 15px 0;
}



.has-error .form-control {
      
}


.form-control:focus {
  border-color: #5a5a5a;
  outline: 0;
  box-shadow:none;
  /* -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6); */
  /* box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6); */
}



label.error, input[type=file] {
  font-size: 0.75em;
  margin-top: 0.5em;
}

label.error {
	color: red;
	font-weight: normal;
	margin-left: 5px;
	font-size: 14px;
}

label.error.valid {
  display: none !important;
}

.cc-container {
  position: relative;
}

.cc-icon {
  position: absolute;
  display: inline-block;
  font: normal normal normal 14px/1 PaymentFont;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  right: 1em;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.visa:not(.cc-invalid) ~ .cc-icon:before {
  content: "\f045";
}

.mastercard:not(.cc-invalid) ~ .cc-icon:before {
  content: "\f02d";
}

.amex:not(.cc-invalid) ~ .cc-icon:before {
  content: "\f001";
}

.dinersclub:not(.cc-invalid) ~ .cc-icon:before {
  content: "\f013";
}

.discover:not(.cc-invalid) ~ .cc-icon:before {
  content: "\f014";
}

.unionpay:not(.cc-invalid) ~ .cc-icon:before {
  content: "\f041";
}

.jcb:not(.cc-invalid) ~ .cc-icon:before {
  content: "\f028";
}

.maestro:not(.cc-invalid) ~ .cc-icon:before {
  content: "\f02b";
}

.dankort:not(.cc-invalid) ~ .cc-icon:before {
  content: "\f04f";
}


@media only screen and (max-device-width: 768px) {
    .card-m{
      margin-bottom: 10px;
    }

    .btn-cc{
      margin: 0;
    }

    .toppic-tab {
      margin: 35px 0;
      font-size: 24px;
  }
}




/*@media only screen and (max-device-width: 480px) {
    .card-m{
    	margin-bottom: 10px;
    }

    .btn-cc{
    	margin: 0;
    }

    .toppic-tab {
	    margin: 35px 0;
	    font-size: 24px;
	}
}
*/




/*---------- Counter Service ------------*/



.infocounter{
	width: 100%;
	margin-bottom: 20px;
}


.infocounter-img{
	width: 100%;
	height: 70px;
	border: 1px solid #ccc;
	background: #fff;
	text-align: center;
	border-radius: 5px;
	padding-top: 10px;

}


.infocounter-img img{
	max-height: 50px;
}


.img_radio{
    width: 100%;
     height: 40px; 
    border: 1px solid #ccc;
    background: #fff;
    /* text-align: center; */
    border-radius: 5px;
    padding: 2px 10px;
    font-size: 1.2em;
}


.payment [type=radio] { 
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}


[type=radio] + div {
  cursor: pointer;
}



[type=radio]:checked + div {
    /*border: 2px solid #333;*/
    border: 3px solid #ae1b09;
}






/*--------- BILL --------*/

.cash-bill{
	margin-top: 30px;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    background: #fafafa;
}


.price-total{
	font-size: 42px;
    font-weight: 600;
    color: #b90f0f;
    margin-bottom: 20px;
    border-bottom: 2px dashed #ccc;
    padding-bottom: 10px;
}



.price-detail{
	font-size: 11px;
}




.toppic-step1{
	font-size: 18px;
    margin-bottom: 10px;
}



@media only screen and (max-device-width: 768px) {
  .price-detail{
    font-size: 14px;
  }

}



/*------------- RADIO PAYMENT VISA MASTER -------------*/


.payment-card label {
  position: relative;
  display: block;
  margin-bottom: 15px;
  padding: 10px 15px 15px 60px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  color: #333;
  border-radius: 5px;
  cursor: pointer;
  font-weight: normal;
  font-size: 16px;
}
.payment-card label::before, .payment-card label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 23px;
  margin-top: -6px;
  border-radius: 50%;
}
.payment-card label::before {
  width: 15px;
  height: 15px;
  background-color: #ffffff;
  border: 2px solid #337ab7;
}
.payment-card label::after {
  left: 18px;
  width: 25px;
  height: 25px;
  margin-top: -11px;
  border: 2px solid #337ab7;
  transform: scale(0);
  transition: transform 0.28s ease-in-out;
}

.payment input[type="radio"] {
  display: none;
}
.payment input[type="radio"]:checked ~ label::after {
  transform: scale(1.1);
}
.payment input[type="radio"]:checked ~ label::before {
  background-color: #337ab7;
}

.payment [type=radio]:checked + label {
  border: 2px solid #337ab7;
}



.payment-card label h1{
  font-size: 18px;
  margin: -50px 0 0 80px;
  font-weight: normal;
  color: #333;
}


.payment-card label h2{
  font-size: 14px;
  margin: 0px 0 0 80px;
  font-weight: normal;
  color: #b9b9b9;
}

.payment-card img{
  width: 60px;
  height: auto;
}



.addcard{
  width: 100%;
  background: #fff;
  border: 2px dotted #ccc;
  border-radius: 5px;
  text-align: center;
  font-size: 16px;
}


.addcard a{
  color: #333;
  display: block;
  padding: 15px 0;
}

.addcard a:hover{
  text-decoration: none;
}


.payment-addDelete {
    position: relative;
}



a.delete_store_card {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 12px;
    color: #c7c7c7;
    cursor: pointer;
    display: block;
    text-align: center;
    background: #efefef;
    padding: 5px 15px;
    border-radius: 5px;
    transition: all 0.3s;
}


a.delete_store_card:hover{
  background: #c7c7c7;
  color: #fff;
}



@media screen and (max-width: 900px){

  .payment-card label{
    padding: 15px 15px 20px 60px;
  }


  a.delete_store_card {
    /*top: 10px;
    right: 10px;*/
    font-size: 14px;
    padding: 10px 25px;
  }



}





@media screen and (max-width: 600px){

  .payment-card label{
    padding: 17px 15px 20px 50px;
  }

  .payment-card img {
    width: 40px;
  }

  .payment-card label h1{
    font-size: 14px;
    margin: -40px 0 0 50px;
  }

  .payment-card label h2 {
    margin: 0px 0 0 50px;
  }

  a.delete_store_card {
    padding: 4px 10px;
    border-radius: 3px;
  }



}





@media screen and (max-width: 320px){
  
  .payment-card label {
    padding: 25px 15px 20px 30px;
  }

  .payment-card label::before {
    width: 8px;
    height: 8px;
  }

  .payment-card label::before, 
  .payment-card label::after {
      top: 58%;
      left: 10px;
      margin-top: -8px;
  }

  .payment-card label::after {
    left: 7px;
    width: 14px;
    height: 14px;
    margin-top: -11px;
  }

  .payment-card img {
    width: 30px;
    margin-top: -3px;
  }

  .payment-card label h1 {
    font-size: 14px;
    margin: -35px 0 0 40px;
  }

  .payment-card label h2 {
    font-size: 12px;
    margin: 0px 0 0 40px;
  }


  a.delete_store_card {
    font-size: 10px;
    padding: 5px 5px;
    border-radius: 2px;
  }

}








