
/*--multi-used--*/
.e-maindiv
{
	font-family: Arial, Helvetica, sans-serif;
	user-select: none;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	overflow: auto;
}
.e-hide 
{
	display: none !important;
}

/*----mount----*/
.e-document-view 
{
	text-align: center;
	position: absolute;
	left: 0;
	right: 0;
	top: 20px;
}

.e-info-container
{
	background-color: #844bff;
	text-align: center;
	border-radius: 20px 20px 0 0;
	position: absolute;
	padding: 20px;
	left: 0px;
	right: 0px;
	box-shadow: rgb(0 0 0 / 23%) 0 0 16px 0px;
	height: 50%;
	bottom: 0;
	transition: transform 800ms ease;
	z-index: 9;
}

.e-info-container.e-no-show
{
	transform: translateY(+100%);
}

.e-info-icon 
{
	display: inline-block;
	color: #ffffff;
	margin-right: 10px;
	font-size: 40px;
	margin-bottom: 30px;
}

.e-ico-info
{
	width: 35px;
	height: 35px;
	background-image: url(e-ico-info.svg);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}

.e-ico-print
{
	width: 24px;
	height: 24px;
	background-image: url(e-ico-print.svg);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}

.e-ico-minus
{
	width: 24px;
	height: 24px;
	background-image: url(e-ico-minus.svg);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}

.e-ico-plus
{
	width: 24px;
	height: 24px;
	background-image: url(e-ico-plus.svg);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}

.e-ico-close
{
	width: 35px;
	height: 35px;
	background-image: url(e-ico-close.svg);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}


.e-ico-erase
{
	width: 24px;
	height: 24px;
	background-image: url(e-ico-erase.svg);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}


.e-ico-trash
{
	width: 25px;
	height: 25px;
	background-image: url(e-ico-trash.svg);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}


.e-info-text 
{   
	width: auto;
  color: #ffffff;
  font-size: 20px;
  text-align: center;
  margin-bottom: 50px;
}

.e-info-btn 
{
	color: #814af8ed;
	background-color: white;
	height: 40px;
	width: 150px;
	line-height: 40px;
	border-radius: 8px;
  display: inline-block;
  cursor: pointer;
}

.e-fixed-btn
{
	width: 120px;
	background-color: #8049f7;
	height: 50px;
	color: white;
	border-radius: 8px;
	line-height: 50px;
	box-shadow: rgb(0 0 0 / 26%) 0px 2px 4px 0px;
	position: relative;
	display: inline-block;
	margin-right: 10px;
	bottom: 20px;
}

.e-print-btn
{
	background-color: #959595 !important;
}

.e-fixed-button
{
	background-color: #844bff;
	width: 50px;
	height: 50px;
	position: relative;
	border-radius: 8px;
	box-shadow: rgb(0 0 0 / 26%) 0px 2px 4px 0px;
	display: inline-block;
	text-align: center;
	position: relative;
	margin-right: 10px;
}

.e-fixed-icon
{
	position: absolute;
	top: 50%;
	font-size: 1.6rem;
	color: white;
	transform: translate(-50%, -50%);
}

.e-bottom-button-bar 
{
	cursor: pointer;
	display: block;
	text-align: center;
	padding: 10px;
	height: auto;
	min-height: 55px;
	position: absolute;
	right: 0px;
	bottom: 0px;
}

.e-signature-counter-container 
{
  position: fixed;
  height: 30px;
  width: auto;
  line-height: 30px;
  top: 0;
  left: 0;
  border-radius: 0 0 10px 10px;
  right: 0;
  background-color: #ff7d00b3;
}

.e-signature-counter
{
	display: inline-block;
	margin-right: 5px;
}

/*----loadDocument----*/
.e-png-wrapper 
{
	display: inline-block;
	position: relative;
	margin-bottom: 20px;
	text-align: left;
	box-shadow: rgb(0 0 0 / 26%) 0px 2px 11px 0px;
}
.e-maindiv.issuer .e-png-wrapper
{
	cursor: copy;
}
.e-bottom-space
{
	height: 200px;
  padding-top: 50px;
}
/*----addSignatureSelector----*/
.e-signature-type-selector 
{
	position: absolute;
	width: 300px;
	height: 100px;
	background-color: #9f69ff30;
	border-radius: 8px;
	outline: 2px solid #d7c3ff;
	backdrop-filter: blur(3px);
	cursor: pointer;
}

.e-placer-preview-issuer-btn 
{
	background-color: #ff1b72;
	left: 0;
}

.e-placer-preview-signer-btn 
{
	background-color: #844bff;
	right: 0;
}

.e-selector-btn
{
	position: absolute;
	text-align: center;
	color: white;
	margin: 5px;
	display: inline-block;
	width: calc(50% - 7px);
	bottom: 0;
	top: 0;
	border-radius: 8px;
	word-break: break-word;
	font-size: 16px;
	padding: 6px;
	box-sizing: border-box;
	height: 50px;
	margin-top: 42px;
}
/*----addSignature----*/

.e-signature 
{
	position: absolute !important;
	width: 300px;
	height: 100px;
	background-size: contain;
	background-repeat: no-repeat;
	text-align: left;
	box-sizing: border-box;
	padding: 60px 10px 0 10px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	border-radius: 8px;
}

.e-maindiv.issuer .e-signature.signer,
.e-maindiv.issuer .e-signature.issuer
{
	cursor: pointer;
}

.e-maindiv.signer .e-signature.signer
{
	cursor: pointer;
}

.e-maindiv.signer .e-signature.signer.signed .e-signer-mark
{
	display: none;
}

.e-signature .e-location:not(:empty):after
{
	content: ", "
}

.e-maindiv.signer .e-signature.signer:not(.signed),
.e-maindiv.issuer .e-signature.signer:not(.signed)
{
  background-color: #9f69ff30;
  outline: 2px solid #d7c3ff;
  backdrop-filter: blur(3px);
}
.e-maindiv.signer .e-signature.signer:not(.signed)[data-state="required"],
.e-maindiv.issuer .e-signature.signer:not(.signed)[data-state="required"]
{
	outline: 3px solid #ff1b72;
}

.e-maindiv.signer .e-signature.signer.signed:hover,
.e-maindiv.issuer .e-signature.signer.signed:hover
{
	outline: 3px solid #844bff;
	background-color: rgba(255, 255, 255, 0.5);
}
.e-maindiv.signer .e-signature.signer.signed.locked:hover
{
	outline: none;
	background-color: #ffffff00;
	cursor: auto;
}

.e-signature.signer
{
  cursor: pointer;
}

.e-maindiv.issuer .e-signature:hover 
{
	outline: 3px solid #844bff;
	background-color: rgba(255, 255, 255, 0.5);
}

.e-signature-img
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.e-signer-mark
{
	display: none;
}
.e-maindiv.signer .e-signer-mark
{
	position: absolute;
	left: 5px;
	top: 30px;
	width: 40px;
	height: 40px;
}

/*----popupSignatureDrawpad & popupSignerSignature----*/

.e-popup-button-wrapper
{
	text-align: right;
  position: relative;
  margin-top: 30px;
}

.e-popup-btn
{
	padding: 10px 15px;
	border-radius: 8px;
	color: white;
	text-align: center;
	background-color: #8049f7;
	display: inline-block;
	font-size: 15px;
	margin:  0 5px;
}


.e-popup-signature-field 
{
	width: 100%;
	min-height: 120px;
	border-radius: 8px;
	border: solid 1px;
	position: relative;
	margin: 0px 0px 20px 0px;
	border-color: #b9b9b9;
}

.e-popup-name-field-wrapper 
{
	position: relative;
	height: 50px;
}

.e-popup-field 
{
	border-radius: 8px;
	border: solid 1px;
	min-height: 30px;
	width: 100%;
	padding-left: 5px;
	border-color: #b9b9b9;
	box-sizing: border-box;
	display: block;
}

.e-popup-error 
{
	font-size: 10px;
	color: red;
	bottom: 0px;
}

.e-popup-location-and-text-wrapper
{
	height: 50px;
}

.e-signature-line
{
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 90px;
  border-bottom: 1px dotted #b9b9b9;
}

.e-popup-clear-signature-wrapper 
{
	height: 30px;
	width: 30px;
	position: absolute;
	right: 5px;
	background-color: #ffffff;
	bottom: 5px;
	text-align: center;
	padding: 2px;
	border-radius: 8px;
	box-shadow: rgb(0 0 0 / 22%) 0px 2px 4px 0px;
}

.e-popup-clear-signature-btn 
{
	position: absolute;
	top: 50%;
	font-size: 1.2rem;
	color: #8b8b8b;
	transform: translate(-50%, -50%);
}

.e-popup-text 
{
	display: block;
	font-weight: bold;
	margin-bottom: 15px;
}

.e-popup-required-wrapper
{
	position: relative;
}

.e-popup-required-checkbox
{
	display: inline-block;
	margin-right: 10px;
}

.e-popup-required-label
{
	display: inline-block;
}

.e-popup-close-btn 
{
   display: inline-block;
}

.e-popup-remove-signature-button 
{
  position: absolute;
  font-size: 20px;
  color: #ff1b72;
  left: 0;
  bottom: 0;
}
.e-popup-close-wrapper
{
	position: relative;
	height: 30px;
}

.e-popup-close-icon
{
  position: absolute;
  right: 0;
  font-size: 25px;
  background-color: #8b8b8b;
  border-radius: 50%;
  background-size: 50%;
  cursor: pointer;
  width: 24px;
  height: 24px;
}

.e-popup-required-icon
{
	display: inline-block;
	margin-right: 10px;
	color: #ff1b72;
}
.e-popup-required
{
  display: block;
  color: #ff1b72;
  font-size: 15px;
  margin-bottom: 10px;
}

/*----buildPopupBase----*/

.e-popup-click-blocker 
{
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: #8080802e;
}

.e-popup-wrapper 
{
	cursor: pointer;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-width: 400px;
	padding: 20px;
	box-shadow: rgb(150 150 150 / 26%) 0px 7px 29px 0px;
	border-radius: 10px;
	background-color: white;
	z-index: 9;
}

/*----showSavePopup----*/

.e-save-close-btn
{
	background-color: #ff1b72 !important;
}
.e-popup-accept-btn
{
	background-color: #844bff;
}
.e-policy-label
{
	font-size: 13px;
  color: grey;
}
.e-policy-checkbox
{
	display: inline-block;
}
.e-policy-wrapper
{
	position: relative;
}
/*---------*/

@media print
{
	*
	{
		page-break-inside: avoid;
		break-inside: avoid;
	}
	body, 
	html
	{
		margin: 0 !important;
		padding: 0 !important;
		height: 100% !important;
	}
	
	.e-maindiv
	{
		overflow: visible !important;
	}
	
	.e-document-view
	{
		margin-left: 0 !important;
		height: auto !important;
		width: 100% !important;
		top: 0 !important;
	}
	
	.e-bottom-button-bar, 
	.e-top-bar,
	.e-popup-wrapper,
	.e-signature-type-selector,
	.e-popup-click-blocker
	{
		display: none;
	}
	
	.e-document
	{
		zoom: 100% !important;
		width: 100% !important;
		height: 100% !important;
		object-fit: contain;
		object-position: center;
		display: block;
		page-break-after: always;
	}
	.e-png-wrapper
	{
		zoom: 100% !important;
		height: 100% !important;
		width: 100% !important;
		overflow: hidden;
    box-shadow: none !important;
    margin-bottom: 0 !important;
    margin-top: -10px !important;
	}
	.e-info-container
	{
		display: none;
	}
	
	@page
	{
		margin: 0;
	}
	.e-signature.signer
	{
		background-color: #9f69ff00 !important;
		border: none !important;
		backdrop-filter: none !important;
		outline: none !important;
	}
}

@media (max-width: 915px) 
{
  .e-popup-wrapper {
    transform: none;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    min-width: 200px;
    text-align: center;
    border-radius: 10px 10px 0 0 ;
  }
  
  .e-document-view
  {
  	top: 0;
  }

  .e-popup-signature-field 
  {
    max-width: 450px;
    display: inline-block;
    overflow: hidden;
  }
  
  .e-popup-name-field-wrapper,
  .e-popup-location-and-text-wrapper,
  .e-popup-button-wrapper
  {
  	max-width: 450px;
  	width: 100%;
  	display: inline-block;
  }
  .e-popup-btn
  {
	  display: block;
  	margin-bottom: 10px;
  }
  .e-popup-remove-signature-button 
	{
	  position: relative;
	  display: block;
	  width: 40px;
	  height: 40px;
	  text-align: left;
	}
}