 /*
Copyright (C) 2016 Apple Inc. All Rights Reserved.
See LICENSE.txt for this sample’s licensing information
 
Abstract:
Styles the example site, as well as the Apple Pay button using -webkit-named-image
*/

/* body {
	font-family: -apple-system, "Helvetica Neue", "Lucida Grande";
	background: linear-gradient(180deg, #ffffff, #d7d7d7); 
	background-repeat: no-repeat; 
	background-attachment: fixed;
}

h2 {
	font-weight: 300;
	font-size: xx-large;
}

p {
	font-weight: 300;
}*/

.apple-pay {
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
#creditcard_form #buttons.span12.apple-pay-buttonCSP {
	margin-bottom:0!important;
}

/* .apple-pay-button {
	-webkit-appearance: -apple-pay-button; 
	-apple-pay-button-type: pay;
	visibility: hidden;
	display: inline-block;
	width: 200px;
	min-height: 30px;
	border: 1px solid black;
	background-image: -webkit-named-image(apple-pay-logo-black);
	background-size: 100% calc(60% + 2px);
	background-repeat: no-repeat;
	background-color: white;
	background-position: 50% 50%;
	border-radius: 5px;
	padding: 0px;
	margin: 5px auto;
	transition: background-color .15s;
} */
.apple-pay-button {
    background-color: rgb(0, 0, 0);
    background-image: url("/images/template2-icons/apple-pay-2X-1.png");
    background-size: 180px;
    width: 150px;
    height: 40px;
    background-position: center center;
    padding: 0;
    margin:auto;
}
.apple-pay-button.visible {
	visibility: visible;
}

.apple-pay-button:active {
	background-color: rgb(152, 152, 152);
}


@supports not (-webkit-appearance: -apple-pay-button) {
    .apple-pay-button {
        display: inline-block;
        /* background-size: 100% 60%; */
        background-repeat: no-repeat;
        background-position: 50% 50%;
        border-radius: 5px;
        padding: 0px;
        box-sizing: border-box;
        min-width: 200px;
        min-height: 32px;
        max-height: 64px;
    }
    .apple-pay-button-black {
        background-image: -webkit-named-image(apple-pay-logo-white);
        background-color: black;
    }
    .apple-pay-button-white {
        background-image: -webkit-named-image(apple-pay-logo-black);
        background-color: white;
    }
    .apple-pay-button-white-with-line {
        background-image: -webkit-named-image(apple-pay-logo-black);
        background-color: white;
        border: .5px solid black;
    }
    .apple-pay-button, .apple-pay-button:hover, .apple-pay-button:focus{
	background-color: rgb(0, 0, 0)!important;
} 
}