@CHARSET "ISO-8859-1";

body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form {
	border: 1px solid #ddd;
	border-radius: 2px;
	padding: 1.5rem;
	margin-bottom: 0.75rem;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group {
	width: 100%;
	margin-bottom: 5px;
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group:last-child{
  	margin-bottom: 0;
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group label {
	text-transform: uppercase;
	font-size: 14px;
	display: block;
	margin-bottom: 6px;
	font-weight: 400;
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group #wc-braintree-card-number{
	position: relative;
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field {
	height: 50px;
	box-sizing: border-box;
	width: 100%;
	padding: 12px;
	display: inline-block;
	box-shadow: none;
	font-weight: 600;
	font-size: 14px;
	border-radius: 6px;
	border: 1px solid #dddddd;
	line-height: 20px;
	background: #fcfcfc;
	background: linear-gradient(to right, white 50%, #fcfcfc 50%);
	background-size: 200% 100%;
	background-position: right bottom;
	transition: all 300ms ease-in-out;
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field.save-card-field{
	border: none;
	padding: 0px;
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .hosted-field.braintree-hosted-fields-invalid {
	border: 1px solid #ed574a !important;
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .hosted-field.braintree-hosted-fields-valid {
	border: 1px solid #64d18a;
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .hosted-field.braintree-hosted-fields-focused {
	border: 1px solid #64d18a;
	border-radius: 1px;
	background-position: left bottom;
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field .wc-braintree-card-type.open{
	position: absolute;
	top: 50%;
	-webkit-transform: translatey(-50%);
	-ms-transform: translatey(-50%);
	transform: translatey(-50%);
	right: 5px;
	width: 44px;
	height: 28px;
	background-image: url('../../img/payment-method-sprites.png');
}
@media (max-width: 320px){
	body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field .wc-braintree-card-type.open{
		top: 50px;
		-webkit-transform: translatey(0%);
		-ms-transform: translatey(0%);
		transform: translatey(0%);
	}
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field .wc-braintree-card-type.open.visa {
	background-size: 86px auto;
	background-position: 0 -429px;
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field .wc-braintree-card-type.open.master-card {
	background-size: 86px auto;
	background-position: 0 -317px;
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field .wc-braintree-card-type.open.discover {
	background-size: 84px auto;
	background-position: 0 -199px;
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field .wc-braintree-card-type.open.diners-club {
	background-size: 110px auto;
	background-position: 0 -230px;
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field .wc-braintree-card-type.open.maestro {
	background-size: 86px auto;
	background-position: 0 -289px;
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field .wc-braintree-card-type.open.american-express {
	background-size: 86px auto;
	background-position: 0 -399px;
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field .wc-braintree-card-type.open.jcb {
	background-size: 86px auto;
	background-position: 0 -261px;
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field .wc-braintree-card-type.open.unionpay {
	background-size: 86px auto;
	background-position: 0 -261px;
}

/******* enclosed *******/
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field .wc-braintree-card-type{
	position: absolute;
	top: 50%;
	transform: translatey(-50%);
	-webkit-transform: translatey(-50%);
	-ms-transform: translatey(-50%);
	right: 5px;
	width: 35px;
	height: 22px;
	background-repeat: no-repeat;
	background-size: 100%;
	border-radius: 3px;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field .wc-braintree-card-type.enclosed.visa{
	background-image: url('../../img/payment-methods/visa.png');
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field .wc-braintree-card-type.enclosed.master-card{
	background-image: url('../../img/payment-methods/master_card.png');
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field .wc-braintree-card-type.enclosed.discover{
	background-image: url('../../img/payment-methods/discover.png');
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field .wc-braintree-card-type.enclosed.diners-club{
	background-image: url('../../img/payment-methods/diners_club_international.png');
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field .wc-braintree-card-type.enclosed.maestro{
	background-image: url('../../img/payment-methods/maestro.png');
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field .wc-braintree-card-type.enclosed.american-express{
	background-image: url('../../img/payment-methods/amex.png');
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field .wc-braintree-card-type.enclosed.jcb{
	background-image: url('../../img/payment-methods/jcb.png');
}
/***********************/

body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field.save-card-field{
	background: transparent;
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field.save-card-field input[type="checkbox"]{
	display: none;
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field input[type="checkbox"] + label.wc-braintree-save-label{
	display: inline-block !important;
	position: relative;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field input[type="checkbox"] + label.wc-braintree-save-label:after{
	display: inline-block;
	background-color: #fff;
	content: "";
	border: 1px solid #dddddd;
	width: 20px;
	height: 20px;
	border-radius: 6px;
    cursor: pointer;
    transition: all ease-in 0.3s;
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .form-group .hosted-field input[type="checkbox"]:checked + label.wc-braintree-save-label:after{
	background-color: #64d18a;
}
body.wc-braintree-body .wc-braintree-new-payment-method-container .simple-form .streetAddress input[type="text"]{
    height: 100%;
    width: 100%;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    box-shadow: none;
}