/* simpleSign styles          */
/* by GearBox Web Solutions */

:root {
	--secondary-color: #555;  
	--section-hover-color: #eee;
	--title-color: #333;
	--text-color: #333;
	--text-font: "Roboto", sans-serif;
	--title-font: "Roboto Slab", sans-serif;
}

h1.simpleSign {
	color: #9ECE5B;
	font-weight: 200;
	font-family: "Roboto Slab", sans-serif;
}

p.simpleSign {
	color: #333;
	font-size: 1.2em;
	font-family: "Roboto Slab", sans-serif;
}

#modalBox {
	position: fixed;
	display: none;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: 0;
	background: rgba(0,0,0,0.6);
	z-index: 50;
	overflow: hidden;
	text-align: center;
	/*overflow-y: scroll;*/
}
#modalBox p {
	display: inline-block;
	color: #fff;
	padding: 20px 20px;
	margin-top: 20%;
	text-align: center;
	font-size: 1.5em;
	font-family: var(--text-font);
	box-sizing: border-box;
	background: var(--main-color);
}

.fluid1col, .fluid2col, .fluid3col, .fluid23col, .fluid4col, .fluid5col, .fluid6col {
	position: relative;
	display: inline-block;
	float: left;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;	
	padding: 5px 10px;
}

@media screen and (min-width: 701px) {
	#modalBox p {
		width: 60%;
	}
	input[type='radio'] { 
		transform: scale(2);
		margin-left: 5px;		
	}
	label.radio { 
		padding: 0 10px;
		margin-right: 5px;
	}
	/* two column layout */
	.fluid1col {
		width: 100%;
	}	
	.fluid2col {
		width: 50%;
	}
	.fluid3col {
		width: 33.33333333333333%;
	}	
	.fluid23col {
		width: 66.66666666666666666%;
	}
	.fluid4col {
		width: 25%;
	}
	.fluid5col {
		width: 20%;
	}
	.fluid6col {
		width: 16.66666666%;
	}	
	#simpleSign-section {
		width: 80%;
	}
	table.dentTable td {
		border: 1px solid #ccc;
		padding: 5px;
		border-collapse: collapse;
		border-spacing: 0;
		text-align: center;
	}	
	#subDentFrm, .subBtn {
		position: relative;
		display: inline-block;
		cursor: pointer;
		font-family: var(--text-font);
		color: #fff;
		padding: 2% 10% 2% 10%;
		margin-left: 5px;
		background: #777; 
		/*border-radius: 0.4em;*/
		outline: none;
		border: none;
		font-size: 1.0em;
		text-align: center; 
		transition: all 0.4s ease;	
		box-sizing: border-box;	
		text-transform: uppercase;
	}
	#subDentFrm:hover, .subBtn {
		color: #ffffff; 
		background: var(--main-color);		
	}
}
@media screen and (max-width: 700px) {
	#modalBox p {
		width: 95%;
	}
	input[type='radio'] { 
		transform: scale(1);
		margin-left: 5px;
	}
	label.radio { 
		padding: 0 10px;
		margin-right: 5px;
	}	
	/* two column layout */
	.fluid1col, .fluid2col, .fluid3col, .fluid23col, .fluid4col, .fluid5col {
		width: 100%;
	}
	.fluid6col {
		width: 50%;
	}
	#simpleSign-section {
		width: 99%;
	}
	table.dentTable td {
		border: 1px solid #ccc;
		padding: 2px;
		border-collapse: collapse;
		border-spacing: 0;
		text-align: center;
		font-size: 0.7em;
	}	

	#subDentFrm, .subBtn {
		position: relative;
		display: inline-block;
		width: 100%;
		cursor: pointer;
		font-family: var(--text-font);
		color: #fff;
		padding: 2% 10% 2% 10%;
		background: #777; 
		/*border-radius: 0.2em;*/
		outline: none;
		border: none;
		font-size: 1.5em;
		text-align: center; 
		transition: all 0.4s ease;	
		box-sizing: border-box;	
		text-transform: uppercase;
	}
	#subDentFrm:hover, .subBtn {
		color: #ffffff; 
		background: var(--main-color);		
	}	
	.frmInput {
		width: 100%;
	}	
}

/* common styles */
body {
	padding: 0;
	margin: 0;
	height: 100%;
	width: 100%;
	text-align: center;
	color: var(--text-color);
}

.logo {
	position: relative;
	display: inline-block;
	max-height: 100px;
	max-width: 100%; 
	padding: 5px;
}

::placeholder {
	color: #ccc;
	font-weight: 200;
}

#ticker {
	position: fixed;
	top: 0; left: 0;
	display: inline-block;
	float: left;
	width: 100%;
	padding: 20px 0;
	background: var(--secondary-color);
	color: #fff;
	text-align: center;
	z-index: 20;
}
#ticker > a {
	color: #ececec;
	font-size: 1.0em;
	text-decoration: none;
	font-family: var(--text-font);
	text-transform: capitalize;
	transition: all 0.5s ease;
}
#ticker > a:hover {
	color: #9ECE5B;
}
#footer {
	position: relative;
	display: inline-block;
	float: left;
	width: 100%;
	padding: 20px 0;
	background: var(--secondary-color);
	color: #fff;
	text-align: center;
	font-size: 1.0em;	
	font-family: var(--text-font);
}

h1 {
	font-weight: 400;
	font-family: var(--title-font);
	color: var(--title-color);
}
h2 {
	font-weight: 400;
	font-family: var(--title-font);
	color: var(--title-color);
}
h3 {
	font-weight: 400;
	font-family: var(--title-font);
	color: var(--title-color);	
}
h2.simpleSignTitle {
	font-weight: 400;
	font-family: var(--title-font);
	color: var(--title-color);
}
#simpleSignSubmissionStatus {
	display: none;
	padding: 2%;
	color: green;
	font-size: 1.2em;
	font-weight: 500;
	border: #ccc;
	background: #ececec;
	margin: 10px 0;
	/*border-radius: 0.5em;*/
}

.error {
	color: red;
}
.success {
	color: green;
}
.section {
	position: relative;
	display: inline-block;
	padding: 5px 5px;
	transition: all 0.5s ease;
	width: 100%;
	box-sizing: border-box;
	margin: 2px 0;	
	border-top: 1px solid #fff;
}
.section:hover {
	background: var(--section-hover-color);
	border-top: 1px solid var(--main-color);
}
.section:hover .initialsx {
	color: #333 !important;
	background: yellow;
	color: #000;
}
b {
	font-weight: 200;
	font-family: var(--text-font);
	color: #333;
	font-size: 0.8em;
}
#simpleSign-section {
	position: relative;
	display: inline-block;
	margin: 0;
	padding: 80px 0 0 0;
	text-align: center;
	font-family: var(--text-font);
}
#simpleSign-form > p {
	margin: 0 0 0 0;
	padding: 5px 0 0 0;
}
/* link styles */
a.footerLink:link, a.footerLink:active, a.footerLink:visited {
	text-decoration: none;
	color: #fff;
	transition: all 0.5s ease;
}
a.footerLink:hover {
	color: #9ECE5B;
}

/* form buttons */
a.formButtons:link, a.formButtons:active, a.formButtons:visited {
	position: relative;
	display: inline-block;
	padding: 10px 20px;
	text-align: center;
	border-left: 2px #ccc;
	/*border-radius: 0.5em;*/
	transition: all 0.5s ease;
	text-decoration: none;
	color: #333;
}
a.formButtons:hover {
	border: 2px solid var(--main-color);
}

/* e-signature */
#btnSaveSign {
	color: #fff;
	background: var(--main-color);
	padding: 5px;
	border: none;
	/*border-radius: 5px;*/
	font-size: 20px;
	margin-top: 10px;
}
#signArea{
	width: 100%;
	margin: 15px auto;
	float: left;
	background: #fff;
}
.sign-wrapper {
	background: #fff;
}
.sign-container {
	width: 90%;
	margin: auto;
}
.sign-preview {
	display: inline-block;
	width: 150px;
	height: 50px;
	margin: 10px 5px;
	border-bottom: 1px solid #333;
}
.tag-ingo {
	font-family: cursive;
	font-size: 12px;
	text-align: left;
	font-style: oblique;
}
.center-text {
	text-align: center;
}

#errors {
	display: none;
	color: #ff0000;
	padding: 10px;
}

/* check box container */
.checkContainer {
	display: block;
	position: relative;
	padding-left: 35px;
	margin-bottom: 12px;
	margin-top: 12px;
	cursor: pointer;
	font-size: 1.0em;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	display: flex;
	align-items: center;
}

/* Hide the browser's default checkbox */
.checkContainer input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

/* Create a custom checkbox */
.checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 20px;
	width: 20px;
	background-color: #eee;
	border: 1px solid #333;
}

/* On mouse-over, add a grey background color */
.checkContainer:hover input ~ .checkmark {
	background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkContainer input:checked ~ .checkmark {
	background-color: green;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

/* Show the checkmark when checked */
.checkContainer input:checked ~ .checkmark:after {
	display: block;
}

/* Style the checkmark/indicator */
.checkContainer .checkmark:after {
	left: 6px;
	top: 1px;
	width: 5px;
	height: 12px;
	border: solid white;
	border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}	

/* the form */
form#simpleSign-form {
	position: relative;
	display: inline-block;
	width: 100%;
	padding: 10px;
	border: 1px solid var(--main-color);
	border-radius: 0em;
	box-sizing: border-box;
	margin-bottom: 10px;
}

#signaturex {
	font-size: 16pt;
	font-family: 'Satisfy', cursive;
	text-transform: capitalize;	
}
#patientNamex { 		
	text-transform: capitalize;
}
.initialed {
	/*font-family: 'Satisfy', cursive;*/
}

.initialsx {
	position: relative;
	display: inline-block;
	padding: 1px;
	margin: 0;
	border-bottom: 1px solid #cccccc;
	font-size: 1.0em;
	transition: all 0.5s ease;
	font-weight: 600;
	color: #cccccc;
}
.initialsx:hover {
	background: #ececec;
	border-bottom: 1px solid #333333;
	cursor: pointer;
}
.frmInputSmall {
	font-family: 'Satisfy', cursive;
}
.frmInput {
	font-size: 16pt;
	padding: 5px;
	margin: 1px;
	width: 100%;
	/*border-radius: 0.5em;*/
	outline: none;
	border: 1px solid #ccc;
	box-sizing: border-box;
	color: #333;
	font-weight: 200;
}
input[type="date"] {
	font-size: 1.3em;
	text-transform: uppercase;
}
.clearBtn {
	position: relative;
	display: inline-block;
	cursor: pointer;
	font-family: var(--text-font);
	color: #fff;
	padding: 10px 20px;
	margin-left: 5px;
	background: #777; 
	/*border-radius: 0.4em;*/
	outline: none;
	border: none;
	font-size: 0.7em;
	text-align: center; 
	transition: all 0.4s ease;	
	box-sizing: border-box;	
	text-transform: uppercase;
}
.clearBtn:hover {
	color: #ffffff; 
	background: var(--main-color);		
}
#submittingMedFrmMessage{
	position: relative;
	display: none;
	padding: 20px 0;
}

.clear {
	clear: both;
}