@import url("https://fonts.googleapis.com/css?family=Open+Sans");

@keyframes spin-animation 
{
	0%
	{
		transform: rotate(0deg);
	}
	100% 
	{
		transform: rotate(359deg);
	}
}

@keyframes fadein 
{
    from { opacity: 0; }
    to   { opacity: 1; }
}

#main-container
{
	display: none;
}

#main-container.loaded
{
	display: block;
	animation: fadein 2s;
}

#loading-container
{
	padding: 100px;
	text-align: center;
}
#loading-container .loading-icon
{
	animation: spin-animation 1s infinite;
	width: 100px;
}
.tdshadow 
{
	position: relative;
	-webkit-box-shadow: 5px 5px 25px 5px rgba(10, 10, 10, 0.3);
	-moz-box-shadow: 5px 5px 25px 5px rgba(10, 10, 10, 0.3);
	box-shadow: 5px 5px 25px 5px rgba(10, 10, 10, 0.3);
}

body 
{
	font-family: "Open Sans", sans-serif;
}

button:focus 
{
	outline: 0;
}

h3 
{
	font-size: 1.2rem;
}

label 
{
	cursor: pointer;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

input[type='checkbox'] 
{
	margin-right: 4px;
}

canvas 
{
	padding-left: 0;
	padding-right: 0;
	margin-left: auto;
	margin-right: auto;
	width: inherit;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

#canvas_wrapper
{
	transition: height 0.5s ease-out;
    height: 0;
    overflow: hidden;
}

.canvas-container 
{
	min-width: fit-content;
}

.info_messages_wrapper #info_message
{
	text-align: left;
}

.info_messages_wrapper
{
	padding-top: 20px;
}

#verify-signature-canvas 
{
	max-height: 175px;
}

.top24 
{
	margin-top: 24px;
}

.logo 
{
	width: 250px;
	height: auto;
}

.logo--container 
{
	padding-top: 24px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.status 
{
	padding: 24px;
}

#default-status-message 
{
	font-weight: bolder;
}

.status--container 
{
	background-color: #f1f1f1;
	border-radius: 15px;
	margin-top: 20px;
}

.red 
{
	color: red;
}

.center
{
	text-align: center;
}

.info-wrapper
{
	justify-content: center;
}

.pos--container 
{
	/*height: fit-content;*/
	height: 100%;
	border-radius: 10px;
	padding: 40px 60px;
	background-color: white;
	min-height: 400px;
}

@media ( max-height : 750px) 
{
	.pos--container 
	{
		padding-top: 1rem !important;
		padding-bottom: 1rem !important;
	}
}

@media ( min-width : 768px) 
{
	.pos--container 
	{
		padding: 40px 20px;
	}
}

@media ( min-width : 992px) 
{
	.pos--container 
	{
		padding: 40px 60px;
	}
}

.display 
{
	border-radius: 10px;
	background-color: #FFF;
	color: #000;
	max-width: 260px;
	padding: 5px 0;
	margin: 0 auto;
	font-size: 2em;
	-webkit-box-shadow: 0px 2px 25px 2px rgba(10, 10, 10, 0.3);
	-moz-box-shadow: 0px 2px 25px 2px rgba(10, 10, 10, 0.3);
	box-shadow: 0px 2px 25px 2px rgba(10, 10, 10, 0.3);
}

.space-between 
{
	display: flex;
	justify-content: space-between;
}

.numpad 
{
	max-width: 300px;
	justify-content: center;
	margin: 30px auto;
}

.numpad--key 
{
	background-color: #949494;
	border: 1px solid rgba(221, 238, 213, 0.4);
	border-radius: 10px;
	color: white;
	cursor: pointer;
	font-size: 1.5em;
	margin: 6px;
	text-align: center;
	-webkit-box-shadow: 0px 3px 0px #777777, 0px 3px 25px rgba(0, 0, 0, 0.7);
	-moz-box-shadow: 0px 3px 0px #777777, 0px 3px 25px rgba(0, 0, 0, 0.7);
	box-shadow: 0px 3px 0px #777777, 0px 3px 25px rgba(0, 0, 0, 0.7);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.numpad--row>div:first-of-type 
{
	padding-right: 0;
}

.numpad--row>div:nth-of-type(2)
{
	padding: 0 7.5px;
}

.numpad--row>div:last-of-type 
{
	padding-left: 0;
}

.numpad--key:active 
{
	background: #949494;
	-webkit-box-shadow: 0px 1px 0px #777777, 0px 1px 6px rgba(0, 0, 0, 0.9);
	-moz-box-shadow: 0px 1px 0px #777777, 0px 1px 6px rgba(0, 0, 0, 0.9);
	box-shadow: 0px 1px 0px #777777, 0px 3px 1px rgba(0, 0, 0, 0.9);
	position: relative;
	top: 2px;
}

.double 
{
	padding: 15px 0;
}

.triple 
{
	padding: 15px 0;
}

.key--primary, .key--primary:active 
{
	background-color: #65AC42;
	-webkit-box-shadow: 0px 6px 0px #65AC42, 0px 6px 25px rgba(0, 0, 0, 0.7);
	-moz-box-shadow: 0px 6px 0px #65AC42, 0px 6px 25px rgba(0, 0, 0, 0.7);
	box-shadow: 0px 6px 0px #65AC42, 0px 6px 25px rgba(0, 0, 0, 0.7);
}

.key--primary:disabled
{
	background-color: #d5e6cc;
	-webkit-box-shadow: 0px 6px 0px #d5e6cc, 0px 6px 25px rgba(0, 0, 0, 0.7);
	-moz-box-shadow: 0px 6px 0px #d5e6cc, 0px 6px 25px rgba(0, 0, 0, 0.7);
	box-shadow: 0px 6px 0px #d5e6cc, 0px 6px 25px rgba(0, 0, 0, 0.7);
}

.key--secondary, .key--secondary:active 
{
	background-color: #bf5252;
	color: #FFF;
}

.key--back, .key--back:active 
{
	background-color: #bf5252;
	color: #FFF;
	max-width: 200px;
    margin-top: 60px;
	padding: 5px 10px;
    width: 100%;
}

.key--secondary:disabled
{
	background-color: #ccbaba;
	-webkit-box-shadow: 0px 6px 0px #ccbaba, 0px 6px 25px rgba(0, 0, 0, 0.7);
	-moz-box-shadow: 0px 6px 0px #ccbaba, 0px 6px 25px rgba(0, 0, 0, 0.7);
	box-shadow: 0px 6px 0px #ccbaba, 0px 6px 25px rgba(0, 0, 0, 0.7);
}

.key--danger 
{
	background-color: #b75454;
	margin-top: 16px;
	-webkit-box-shadow: 0px 6px 0px #b75454, 0px 6px 25px rgba(0, 0, 0, 0.7);
	-moz-box-shadow: 0px 6px 0px #b75454, 0px 6px 25px rgba(0, 0, 0, 0.7);
	box-shadow: 0px 6px 0px #b75454, 0px 6px 25px rgba(0, 0, 0, 0.7);
}

#key--charge, .key--primary, .key--secondary 
{
	width: 100%;
}

.key__disabled, .key__disabled:active 
{
	background-color: #777777;
	box-shadow: none;
	cursor: not-allowed;
	top: 0px;
}

.pos--container select
{
	padding: 8px;
	border-radius: 10px;
	width: 100%;
}

.manual-card-entry-wrapper
{
	padding-top: 20px;
	padding-bottom: 20px;	
}

.refresh_devices
{
	display: flex;
    align-items: center;
}
.refresh_devices .refresh
{
	width: 20px;
	height: auto;
	cursor: pointer;
	margin-left: 10px;
}