div.webf{
	margin-top: 10px;
	width: 100%;
	border: thin solid black;
	border-radius:6px!important;
	overflow: hidden;
	background-color: white!important;
}
div.webf.expanded{
	position: fixed;
	z-index: 1000;
	left: 0;
	top:0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: calc(100% - 10px);
	overflow-y: scroll;
}

div.expand{
	display: block;
	float: right;
	margin: 0px;
	clear: both;
	position: relative;

}
iframe.webform {
	clear: both;
	margin-top: 10px;
	width: 100%;
	border: none;
	background-color: white!important;
	display: block;
}
div.webf.expanded iframe{
	overflow: hidden;
	height: 100%;
}
body.webform{
	overflow: hidden;
}
.webform.section{
	display: inline-block;
	width: 100%;
	margin: 0px;
	margin-top: 1em;
	padding: 10px;
	padding-top: 0;
	background-color: #cacae3;

}
.section .section{
	border: thin solid #006699;
	border-radius: 10px;
}
input[type='text'].webform, input[type='submit'].webform, textarea.webform, select.webform {
	font-family: 'Roboto';
	width: 100%;
	font-size: 1.1em;
	color: #006699;
	padding-top: 2px;
	padding-left: 1px;
	padding-right: 1px;
}
textarea.webform{
	height: 10em;
}

.conditional {
	display: none;
}
.conditional.required {
	display: block;
}
.conditional.exception {
	display: block;
}
.sectionname{
	font-family: 'Roboto';
	width: 100%;
	font-size: 1.1em;
	color: #006699;
	font-weight: bold;
	padding-left: 0px;
	padding-bottom: 0px;
}
.questiontext{
	padding: 2px;
	width: 100%;
	background-color: #cacae3;
	color: #00099;
	font-size: 16px;
	margin-top: 1em;
  white-space: nowrap;
  overflow: hidden;
}
.questiontext.qwrap{
  white-space: normal!important;
  overflow: auto;
}
.questiontext:after{
	content: '*';
	color: white;
	vertical-align: super;
	font-size: .83em!important;
}
.questiondata {
	font-size: 16px;
	width: 100%;
	padding-top: 4px;
	padding-bottom: 4px;
}
.questiontext.required:after{
	content: '*';
	color: red;
}
.questiontext.exception:after{
	content: '*';
	color: white;
}
.webform.textblock{
	padding: 5px;
	margin-top: 0.5em;
	text-align: left;
	clear: left;
}
.webformsubmit{
	display: block;
	background-color: #4CAF50;
	color: white;
	font-size: 1.1em;
	width: 50%;
	margin-top: 1em;
	margin-left: auto;
	margin-right: auto;
	border: thin #4CAF50 solid;
	box-shadow:0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	border-radius:4px!important;
	cursor: pointer;
	padding: 10px;
}
.webformquestion{
	font-size: 0px;
	margin: 0px;
	overflow: hidden;
}
.newrow {
	clear:left;
}
.webformquestion.nopadding{
	padding: 0px!important;
}
.webformsubmit:hover{box-shadow:0 4px 8px 0 rgba(0,0,0,0.2),0 3px 10px 0 rgba(0,0,0,0.19);}

input[type='checkbox'].webform, input[type='radio'].webform{
	/*-moz-appearance: none;*/ /* Firefox */ 
	width: 20px; /*Desired width*/
	height: 20px; /*Desired height*/
	cursor: pointer;
}
label.webform{
	font-size: 1.1em;
	color: #006699;
	margin-right: 12px;
}
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    grey;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    grey;
   opacity:  0.5;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    grey;
   opacity:  0.5;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    grey;
}


label.fileLabel input[type="file"] {
    /*position: fixed;
    top: -1000px;*/
	width: 0px;
	height: 0px;
	overflow: hidden;
}


.fileLabel {
	border: 2px solid grey;
    border-radius: 4px;
    padding: 2px 5px;
    margin: 2px;
    background: #ffffff;
    display: inline-block;
	box-shadow:0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}

.fileLabel:hover {
	box-shadow:0 4px 8px 0 rgba(0,0,0,0.2),0 3px 10px 0 rgba(0,0,0,0.19);
	cursor: pointer;
}

.fileLabel :valid + span {
    color: green;
}
.fileLabel :invalid + span {
    color: red;
}

.signatureblock {
	color: #006699;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
	margin-top: 15px;
    border: 2px dotted #000;
}
.w3-button{
	box-shadow:0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}
.w3-button:hover{
	box-shadow:0 4px 8px 0 rgba(0,0,0,0.2),0 3px 10px 0 rgba(0,0,0,0.19);
}
.clearbutton{
	padding: 10px;
	color: black;
	background-color: yellow;
	text-align: center;
	display: inline-block;
}
.getsig{
	padding: 10px;
	color: black;
	background-color: green;
	text-align: center;
	display: inline-block;
}
.savesig{
	width: 100%;
	height: 20em;
	border: thin solid black;
}

.echosig{
	width: 100%;
	height: 25%;
	border: none;
	position: relative;
	overflow: hidden;
	/*display: none;*/
}


.sigtext{
	display: inline;
	width: 0px;
	height: 0px;
	margin: 0px;
	padding: 0px;
	margin: 0px;
	border:  0px solid white;
}
svg{
	width: 100%;
	height: auto;
	color: #006699;
}
.signature{
	width: 60%;
}
.keypad {
	background-color: #0099cc; 
	width: calc(33% - 20px); 
	max-width: 33.3%;
	height: 70px; line-height: 70px; 
	vertical-align: middle; 
	margin: 10px; 
	font-size: 2em;
	}
.savekey {
	width: calc(66% - 20px); 
	height: 70px; 
	line-height: 70px; 
	vertical-align: middle; 
	margin: 10px; 
	font-size: 2em;}
.showPin{
	width: 100%; 
	vertical-align: middle; 
	text-align: center; 
	font-size: 3em; 
	letter-spacing: 10px;
	}


/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
	font-size: 32px;
	vertical-align: bottom;
	color: grey;
   /* border-bottom: 1px dotted black;  If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 50vw;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 6px;
	font-size: 16px;
	line-height: 16px;
	text-align: left;
    /* Position the tooltip text */
    position: absolute;
    z-index: 100;
    top: 100%;
    left: calc(50% - 5px);
    margin-left: -25%;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 1s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::before {
    content: "";
    position: absolute;
    bottom: 99%;
    left: 0%;
    margin-left: 8px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent  transparent #555 transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

@media all and (max-width: 500px) {
/* For Phones */
	.showPin{
		width: 100%; 
		
		
		vertical-align: middle; 
		text-align: center; 
		font-size: 2em; 
		letter-spacing: 0px;
	}
	.qwrap {
		white-space: normal!important;
		overflow: auto;
	}
}
@media all and (min-width: 500px) {
    /* For tablets: */
	.showPin{
		width: 100%; 
		vertical-align: middle; 
		text-align: center; 
		font-size: 2em; 
		letter-spacing: 2px;
	}

}
@media only screen and (min-width: 1000px) {
    /* For desktop: */
}