/* Adyen credit card iframe styles */

@import url('logo-gloss.css');

/* Everything what needs hidin' */
#logoheader, .imgB, #displayAmount, #stageheader, #foot, #card\.cclogo, #card\.cardNumberTr + tr {
	display: none;
}

html {
	height: 100%;
	max-height: 100%;
	font-size: 13px;
	font-family: sans-serif;
}

html[data-shopperlocale^="he"] *, html[data-shopperlocale^="ar"] *,
html[data-shopperlocale^="fa"] *, html[data-shopperlocale^="ur"] * {
	direction: rtl;
	text-align: right;
}

html[data-shopperlocale^="he"] .fieldDiv,
html[data-shopperlocale^="ar"] .fieldDiv,
html[data-shopperlocale^="fa"] .fieldDiv,
html[data-shopperlocale^="ur"] .fieldDiv {
	padding-right: 0;
	padding-left: 20px;
}

/* some inputs must always be ltr */
input[name="card.cardNumber"], input[name="card.cvcCode"] {
	direction: ltr;
	text-align: left;
	-webkit-appearance: none;
}

/* ensure the cvc hint doesn't wrap under the input box */
input[name="card.cvcCode"] ~ a {
	display: inline-block;
}

/* We hide the cardholder name for all but Hebrew speakers */
html[data-shopperlocale^="he"] #card\.cardNumberTr + tr {
	display: table-row;
}

body {
	color: #333;
}

/* If this element does not have a height set this wild and crazy
   script from 2007 will set a bad one that truncates content:
     https://test.adyen.com/hpp/js/animatedcollapse.js?v=7a9b */
#pmmdetails-card {
	height: 400px;
}

/* Main Elements */
#container {
	margin: 0 auto;
	width: 700px;
}

#pmcontent {
	margin-top: 10px;
}

/* Align better with our form */
#pageform {
	padding: 0;
}

.popupMsg {
	display: none;
	border: 1px solid #a2a9b1;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25);
	background-color: #fff;
	margin-bottom: 5px;
	margin-right: 10px;
	margin-left: 10px;
	padding: 6px;
}

.popupMsgOPP {
	position: relative;
	top: -155px;
	margin-left: 0px;
	z-index: 10;
}

/* Common HTML Elements in #content */

#content p, #content ul, #content pre {
	padding: 5px;
}

#content pre {
	font-family: courier, monospace;
	font-size: 1em;
}

.fieldSub {
	font-weight:bold;
	margin-bottom:0.5em;
	margin-top:0.5em;
}

/* Table */
table.basetable {
	width: 500px;
}

table.basetable td {
	padding-bottom: 0.6em;
	padding-right: 0.6em;
}

/* Image Buttons (Payment Methods) */

.paySubmit {
	background-color: #36c;
	color: #fff;
	width: 100%;
	font-size: 16px;
	padding: .6em;
	text-transform: capitalize;
	text-align: center !important;
	border-radius: 2px;
	border: 0;
	font-family: inherit;
	cursor: pointer;
	-webkit-transition: background-color 100ms, color 100ms, border-color 100ms, box-shadow 100ms;
	-moz-transition: background-color 100ms, color 100ms, border-color 100ms, box-shadow 100ms;
	transition: background-color 100ms, color 100ms, border-color 100ms, box-shadow 100ms;
}
.paySubmit:hover {
  	background-color: #447ff5;
}
.paySubmit:active {
  	background-color: #2a4b8d;
}

.backB {
	background: #696969 !important;
}

/* Links */

a,
a:visited {
	color: #36c;
}

/* Form elements */

input[type="text"], 
select {
	background-color: #fff;
	border-radius: 2px;
	border: 1px solid #a2a9b1;
	color: #000;
	cursor: pointer;
	margin-bottom: .2em;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition:    all .3s ease-in-out;
	-o-transition:      all .3s ease-in-out;
	-ms-transition:     all .3s ease-in-out;
	transition:         all .3s ease-in-out;
	font-family: sans-serif;
	font-size: 13px;
	padding: .8em;
}

select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M11.05 3.996l-.965-1.053-4.035 3.86-3.947-3.86L1.05 3.996l5 5 5-5'/%3E%3C/svg%3E");
	background-position: right;
	background-repeat: no-repeat;
	background-origin: content-box;
	width: 120px;
}

html[data-shopperlocale^="he"] select,
html[data-shopperlocale^="ar"] select,
html[data-shopperlocale^="fa"] select,
html[data-shopperlocale^="ur"] select {
	background-position: left;
}

input[type="text"]:hover,
select:hover {
	border-color: #72777d;
}

input[type="text"]:focus,
select:focus {
	outline: 0;
	border-color: #36c;
	box-shadow: inset 0 0 0 1px #36c;
}

table.basetable div:not(.fieldDiv) {
	font-size: 13px;
}

/* Validation */

table.basetable .errorField {
	border: 1px solid #f33;
	background-color: #fff3f3;
}

.fieldDiv {
	padding-right: 20px;
	background: transparent;
}

.errorDiv {
	background: transparent url("/hpp/img/icons/error.png") no-repeat right 3px;
	padding-right: 20px;
}

.errorFrame {
	background-color: #fff3f3;
}

.cardNumberTitle {
	width:	200px;
}

/* Number input hide buttons */
input[type='number'] {
	-moz-appearance:textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
}

/* Spinner */
@keyframes hpp-spinner {
	to {
		transform: rotate(360deg);
	}
}

@-webkit-keyframes hpp-spinner {
	to {
		-webkit-transform: rotate(360deg);
	}
}

.hpp-spinner {
	position: relative;
	top: -1px;
	left: -20px;

	min-width: 24px;
	min-height: 24px;
}

.hpp-spinner:before {
	position: absolute;
	top: 50%;
	left: 50%;

	height: 16px;
	margin-top: -10px;
	margin-left: -10px;
	width: 16px;

	content: '';
}

.hpp-spinner:not(:required):before {
	border-radius: 50%;
	border: 2px solid #cdcdd3;
	border-top-color: #3c8a2e;

	animation: hpp-spinner 1.2s linear infinite;
	-webkit-animation: hpp-spinner 1.2s linear infinite;
	content: '';
}

/* Helpers */
.hpp-clearfix:before,
.hpp-clearfix:after {
	content: " ";
	display: table;
}

.hpp-clearfix:after {
	clear: both;
}

/* Default */
html,
body {
	min-width: 320px;
}

html,
body,
#container {
	width: 100%;
}

#logoheader {
	background-position: center 15px;
}

table.basetable,
table.basetable td,
.imgB {
	width: auto;
}

table.basetable td {
	display: block;
}

/* extra styles only for mobile */
@media only screen and (max-device-width : 981px) {

	input[type="text"], 
	select {
		box-sizing: border-box;
		font-size: 16px !important;
		padding: 14px !important;
	}


}
