/* simpleSign styles          */
/* by GearBox Web Solutions */

:root {
	--secondary-color: #555;  
	--section-hover-color: #eee;
	--title-color: #333;
	--text-color: #333;
}

.red {
	color: #ff0000;
	margin-right: 5px;
}
strong {
	position: relative;
	display: inline-block;
}
#initialsRequired {
	position: relative;
	display: inline-block;
	box-sizing: border-box;
	color: #ff0000;
	font-weight: 500;
	padding-left: 20px;
	border-left: 2px solid #ff0000;
	padding: 10px 0 10px 20px;
	width: 100%;
	background: #ececec;
}
table.dentTable {
	width: 100%;
}
input[type='radio']:after {
        width: 15px;
        height: 15px;
        border-radius: 15px;
        top: -2px;
        left: -1px;
        position: relative;
        background-color: #d1d3d1;
        content: '';
        display: inline-block;
        visibility: visible;
        border: 2px solid white;
    }

    input[type='radio']:checked:after {
        width: 15px;
        height: 15px;
        border-radius: 15px;
        top: -2px;
        left: -1px;
        position: relative;
        background-color: var(--main-color);
        content: '';
        display: inline-block;
        visibility: visible;
        border: 2px solid white;
    }

h1.simpleSign {
	color: var(--main-color);
	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;
	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, .fluid34col, .fluid5col {
	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;
}

.errorBorder {
	border: 1px solid #ff0000 !important;
}

@media screen and (min-width: 701px) {
	#modalBox p {
		width: 60%;
	}
	input[type='radio'] { 
		transform: scale(1.5);
		margin-left: 5px;	
		margin-top: 10px;	
	}
	label.radio { 
		padding: 0 15px;
		margin-right: 5px;
	}
	/* two column layout */
	.fluid1col {
		width: 100%;
	}	
	.fluid2col {
		width: 50%;
	}
	.fluid3col {
		width: 33.33333333333333%;
	}	
	.flexIt {
		display: flex !important;
	}
	.fluid23col {
		width: 66.66666666666666666%;
	}
	.fluid4col {
		width: 25%;
	}
	.fluid34col {
		width: 75%;
	}	
	.fluid5col {
		width: 20%;
	}
	#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;
		margin-top: 10px;		
	}
	label.radio { 
		padding: 0 10px;
		margin-right: 5px;
	}	
	/* two column layout */
	.fluid1col, .fluid2col, .fluid3col, .fluid23col, .fluid4col, .fluid34col, .fluid5col {
		width: 100%;
	}
	.flexIt {
		display: inline-block;
	}
	#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: var(--main-color);
}
#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);
}
h4 {
	font-weight: 400;
	font-family: var(--title-font);
	/*color: var(--title-color);*/
	color: #fff;
	margin: 5px 0 2px 0;	
	width: 100%;
	background: #999;
	padding: 10px;
	box-sizing: border-box;
}
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: #ff0000 !important;
	background: yellow;
	color: #000;
}
b {
	font-weight: 200;
	font-family: var(--text-font);
	color: #555;
	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: var(--main-color);
}

/* 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;
	border: 2px solid #ccc;
}
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;
}
.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 {
	position: fixed;
	display: none;
	color: #fff;
	padding: 10px;
	bottom: 0;
	left: 0;
	background: rgba(255,0,0,0.7);
	width: 100%;
	text-align: center;
	box-sizing: border-box;
}

/* 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: var(--main-color);
}

/* 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 #333;
	font-size: 1.0em;
	transition: all 0.5s ease;
	font-weight: 600;
	color: #ff0000;
}
.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.1em;
	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;
}

/* text bubbles CODEPEN */
/* https://codepen.io/Founts/pen/gmhcl?css-preprocessor=scss */

/* General CSS Setup */
/* container */
/*.container {
  padding: 5% 5%;
}*/

/* CSS talk bubble */
.talk-bubble {
	margin: 40px 40px 0 0;
  display: inline-block;
  position: relative;
	width: 90%; /* 200px originally */
	height: auto;
	background-color: #fff;
	box-sizing: border-box;
}
.border{
  border: 8px solid var(--main-color);
}
.round{
  border-radius: 30px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;

}

/* Right triangle placed top left flush. */
.tri-right.border.left-top:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: -40px;
	right: auto;
  top: -8px;
	bottom: auto;
	border: 32px solid;
	border-color: var(--main-color) var(--main-color) transparent transparent transparent;
}
.tri-right.left-top:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: -20px;
	right: auto;
  top: 0px;
	bottom: auto;
	border: 22px solid;
	border-color: #fff transparent transparent transparent;
}

/* Right triangle, left side slightly down */
.tri-right.border.left-in:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: -40px;
	right: auto;
  top: 30px;
	bottom: auto;
	border: 20px solid;
	border-color: var(--main-color) var(--main-color) transparent transparent;
}
.tri-right.left-in:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: -20px;
	right: auto;
  top: 38px;
	bottom: auto;
	border: 12px solid;
	border-color: #fff #fff transparent transparent;
}

/*Right triangle, placed bottom left side slightly in*/
.tri-right.border.btm-left:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: -8px;
  right: auto;
  top: auto;
	bottom: -40px;
	border: 32px solid;
	border-color: transparent transparent transparent var(--main-color);
}
.tri-right.btm-left:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: 0px;
  right: auto;
  top: auto;
	bottom: -20px;
	border: 22px solid;
	border-color: transparent transparent transparent #fff;
}

/*Right triangle, placed bottom left side slightly in*/
.tri-right.border.btm-left-in:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: 30px;
  right: auto;
  top: auto;
	bottom: -40px;
	border: 20px solid;
	border-color: var(--main-color) var(--main-color) transparent transparent var(--main-color);
}
.tri-right.btm-left-in:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: 38px;
  right: auto;
  top: auto;
	bottom: -20px;
	border: 12px solid;
	border-color: #fff transparent transparent #fff;
}

/*Right triangle, placed bottom right side slightly in*/
.tri-right.border.btm-right-in:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: auto;
	right: 30px;
	bottom: -40px;
	border: 20px solid;
	border-color: var(--main-color) var(--main-color) transparent transparent;
}
.tri-right.btm-right-in:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: auto;
	right: 38px;
	bottom: -20px;
	border: 12px solid;
	border-color: #fff #fff transparent transparent;
}
/*
	left: -8px;
  right: auto;
  top: auto;
	bottom: -40px;
	border: 32px solid;
	border-color: transparent transparent transparent var(--main-color);
	left: 0px;
  right: auto;
  top: auto;
	bottom: -20px;
	border: 22px solid;
	border-color: transparent transparent transparent #fff;

/*Right triangle, placed bottom right side slightly in*/
.tri-right.border.btm-right:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: auto;
	right: -8px;
	bottom: -40px;
	border: 20px solid;
	border-color: var(--main-color) var(--main-color) transparent transparent;
}
.tri-right.btm-right:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: auto;
	right: 0px;
	bottom: -20px;
	border: 12px solid;
	border-color: #fff #fff transparent transparent;
}

/* Right triangle, right side slightly down*/
.tri-right.border.right-in:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: auto;
	right: -40px;
  top: 30px;
	bottom: auto;
	border: 20px solid;
	border-color: var(--main-color) transparent transparent var(--main-color);
}
.tri-right.right-in:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: auto;
	right: -20px;
  top: 38px;
	bottom: auto;
	border: 12px solid;
	border-color: #fff transparent transparent #fff;
}

/* Right triangle placed top right flush. */
.tri-right.border.right-top:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: auto;
	right: -40px;
  top: -8px;
	bottom: auto;
	border: 32px solid;
	border-color: var(--main-color) transparent transparent transparent;
}
.tri-right.right-top:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: auto;
	right: -20px;
  top: 0px;
	bottom: auto;
	border: 20px solid;
	border-color: #fff transparent transparent transparent;
}

/* talk bubble contents */
.talktext{
  padding: 1em;
	text-align: left;
  line-height: 1.5em;
}
.talktext p{
  /* remove webkit p margins */
  -webkit-margin-before: 0em;
  -webkit-margin-after: 0em;
}

.bubble {
	margin: 10px 0 0 0;
	display: inline-block;
	position: relative;
	width: 100%; /* 200px originally */
	height: auto;
	background-color: #fff;
	box-sizing: border-box;	
	border: 2px solid var(--main-color);
	border-radius: 0.3em;
}

a:link, a:active, a:visited {
	color: #333;
	transition: all 0.5s ease;
}
a:hover {
	color: #ccc;
}