/* 
	Nick 2017-05-18
	pulled styles out of the header;
	now they're all here!
*/

.ui-autocomplete
{
	font-size: 12px;
	max-height: 150px;
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 15px;
	display: block;
}

body
{
	font-size: 15px;
}

.input-item-wrapper {
    margin-bottom: 20px;
}

.input-item-wrapper .label,
.input-item-wrapper label {
    display: block;
    margin-bottom: 2px;
    font-weight: 100;
}

textarea,
input[type=email],
input[type=tel],
input[type=number],
input[type=text],
input[type=static],
input[type=calculation] {
    display: block;
    font-size: 1.1em;
    padding: 5px 10px 7px;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    border: none;
    border-bottom: 2px solid transparent;
    background: #f5f5f5;
    border-radius: 0px;
    color: #555;
}

input[type=tel].inline-input-field {
    display: inline-block;
    max-width: none;
    width: auto;
}

textarea:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=number]:focus,
input[type=text]:focus,
input[type=static]:focus,
input[type=calculation]:focus {
    color: #1787de;
    border-bottom: 2px solid #1787de;
    outline: none;
}

.select-wrapper {
    position: relative;
    display: inline-block;
    top: 1px;
}

select {
    display: block;
    font-size: 1.1em;
    padding: 3px 20px 5px 10px;
    box-sizing: border-box;
    border: 2px solid transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #f5f5f5;
    border-radius: 3px;
    color: #555;
}

.select-wrapper::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #aaa; /* #1787de */
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
}

.select-wrapper.full-width-select {
    width: 100%;
    max-width: 500px;
}

.select-wrapper.full-width-select select {
    width: 98.5%;
    max-width: 500px;
}

.select-wrapper-mobile {
    position: relative;
    display: inline-block;
    top: 1px;
}

.select-wrapper-mobile::after {
  position: absolute;
  top: 20%;
  right: 15px;
  content: "\f09a";
  font-family: 'Font Awesome 5 Pro';
  content: "\f078";
}

.select-wrapper-mobile.full-width-select {
    width: 100%;
    max-width: 500px;
}

.select-wrapper-mobile.full-width-select select {
    width: 90%;
    max-width: 500px;
}

.radio-btns-option input[type="radio"] {
    position: absolute;
    left: -9000px;
}

input[type="radio"]:checked + .radio-label {
    background: #1787de;
    color: #fff;
}

.radio-label {
    display: inline-block;
    background: #f5f5f5;
    padding: 8px 30px;
    margin: 0;
    cursor: pointer;
}

.radio-label:hover {
    background: #1787de;
    color: #fff;
}

.radio-btns-option:first-of-type .radio-label {
    border-radius: 3px 0 0 3px;
}

.radio-btns-option:last-of-type .radio-label {
    /*border-left: 2px solid #fff;
    border-top: 2px solid #fff;*/
    border-radius: 0 3px 3px 0;
}

.checkbox-option:first-of-type .checkbox-label {
   /*border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;*/
}

.checkbox-option:nth-of-type(2) .checkbox-label {
    /*border-left: 2px solid #fff;*/
    border-top: 2px solid #fff;
}

input[type="checkbox"].styled-checkbox {
  position: absolute;
  left: -9000px;
}

.checkbox-label {
    position: relative;
    display: inline-block;
    margin-left: 30px;
    cursor: pointer;
    line-height: 24px;
}

.checkbox-label::before {
    position: absolute;
    top: 0;
    left: -30px;
    height: 24px;
    width: 24px;
    background: #f5f5f5;
    text-align: center;
    content: "";
}

input[type="checkbox"].styled-checkbox:checked + .checkbox-label {

}

input[type="checkbox"].styled-checkbox:checked + .checkbox-label::before {
  color: #1787de;
  content: "\002714";
  font-size: 20px;
}


.checkbox-label:hover::before {
    background: #ccc;
}

select, textarea, input
{
	font-size: 15px;
}
canvas
{
	width: 100%;
}

.img_full_size
{
	width:100%;
}

.img_set_size
{
	width:559px;
	height:723px;
}

@media screen and (min-width:240px) and (max-width:480px),
screen and (min-device-width:240px) and (max-device-width:480px)
{
	select, textarea
	{
		/*max-width: 200px;*/
		width:90%;
		font-size:1.1em;
	}

	input[type='radio'], input[type='checkbox']
	{
		max-width: 90% !important;
		font-size:1.1em;
	}

	input[type='text'], input[type='number'], input[type='tel']
	{
		width:90%;
		font-size:1.1em;
	}

	input[type='button']
	{
		font-size:1.1em;
	}

	body
	{
		font-family:Verdana,Arial,sans-serif;
		font-size:1.1em;
		margin:0;
	}

	.header
	{
		color:
		#000000;
		font-size:1.1em;
		font-weight: bold;
	}

	.rheader
	{
		color: #CC0000;
		font-size:1.1em;
		font-weight: bold;
	}

	.mobile_device_release_font_resize
	{
		font-size:0.6em;
	}

	/* Portrait */
	@media screen and (orientation:portrait)
	{
	   .sig_container {width: 100%;height: 230px;}
	}

	/* Landscape */
	@media screen and (orientation:landscape)
	{
	   .sig_container {width: 100%;height: 230px;}
	}

	html
	{
		-webkit-text-size-adjust: none; /* Prevent font scaling in landscape */
	}

	#ui-datepicker-div
	{
		font-size:inherit !important;
	}
}

@media screen and (min-device-width:481px) and (max-device-width:960px)
{
	select, textarea
	{
		/*max-width: 250px;*/
		width:90%;
		font-size:1.1em;
	}

	input[type='radio'], input[type='checkbox']
	{
		max-width: 90% !important;
		font-size:1.1em;
	}

	input[type='text'], input[type='number'], input[type='tel']
	{
		width:90%;
		font-size:1.1em;
	}

	input[type='button']
	{
		font-size:1.1em;
	}

	body
	{
		font-family:Verdana,Arial,sans-serif;
		font-size:1.1em;
		margin:0;
	}

	input
	{
		-webkit-user-modify: read-write-plaintext-only;
	}

	.header
	{
		color: #000000;
		font-size:1.1em;
		font-weight: bold;
	}
	.rheader
	{
		color: #CC0000;
		font-size:1.1em;
		font-weight: bold;
	}
	.mobile_device_release_font_resize
	{
		font-size:0.7em;
	}

	/* Portrait */
	@media screen and (orientation:portrait)
	{
	   .sig_container{width: 100%; height: 300px;}
	}

	/* Landscape */
	@media screen and (orientation:landscape)
	{
	   .sig_container{width: 100%; height: 300px;}
	}
	html {
		-webkit-text-size-adjust: none; /* Prevent font scaling in landscape */
	}

	#ui-datepicker-div
	{
		font-size:inherit !important;
	}
}

.border_around
{
	color:#000;
	font-family: arial;
	/*font-size: 13px;*/
	overflow: hidden;
	max-width: 550px;
    margin: 0 auto;
}

.form_around
{
	width:85%;
	max-width: 550px;

	box-shadow:3px 3px 3px #888;
	border-radius:10px;
	border: 1px solid #000;
	/*padding-bottom:25px;*/
}

td
{
	width:40%;
}

#ui-datepicker-div
{
	font-size:13px;
}

.ui-datepicker td
{
	width:auto !important;
}

.save
{
	width:50%;
	background-color:#31659C;
	font-size:16px;
	font-weight:bold;
	color:#FFF;
}

.clear
{
	width:30%;
	background-color:#ccc;
	font-size:16px;
	font-weight:bold;
}

.saved1 {
	position:absolute;
	top:0;left:0;
	width:300px;
	height:212px;
	opacity: .5;
	background-color:#CCCCCC;
	font-family:arial;
	font-size:30px;
	z-index:11;
	color:#FF0000;
	font-weight: bold;
	display: none;
}

.arrow_box_left {
	position: relative;
	background: #88b7d5;
	border: 4px solid #c2e1f5;
	width:60px;
	padding:10px;
	left:30px;
}
.arrow_box_left:after, .arrow_box_left:before {
	right: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_box_left:after {
	border-color: rgba(136, 183, 213, 0);
	border-right-color: #88b7d5;
	border-width: 30px;
	margin-top: -30px;
}
.arrow_box_left:before {
	border-color: rgba(194, 225, 245, 0);
	border-right-color: #c2e1f5;
	border-width: 36px;
	margin-top: -36px;
}

.arrow_box_right {
	position: relative;
	background: #88b7d5;
	border: 4px solid #c2e1f5;
	padding:10px;
	width:60px;
	left:25px;
}
.arrow_box_right:after, .arrow_box_right:before {
	left: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_box_right:after {
	border-color: rgba(136, 183, 213, 0);
	border-left-color: #88b7d5;
	border-width: 30px;
	margin-top: -30px;
}
.arrow_box_right:before {
	border-color: rgba(194, 225, 245, 0);
	border-left-color: #c2e1f5;
	border-width: 36px;
	margin-top: -36px;
}

.click_log:hover
{
	text-decoration:underline;
	color:blue;
	font-style: italic;
}

#loading_spinner
{
	display: none;
    z-index: 100 !important;
    position: fixed;
    width: 100%;
    height: 100%;
    text-align: center;
    /*background: #FFF;*/
    /*opacity: .8;*/
    top: 45px;

}
.uil-cube-css {
  background: none;
  position: relative;
  width: 200px;
  height: 200px;
	margin: 0 auto;
    top: 10%;
}
@-ms-keyframes uil-cube-css {
  0% {
    -ms-transform: scale(1.4);
    -moz-transform: scale(1.4);
    -webkit-transform: scale(1.4);
    -o-transform: scale(1.4);
    transform: scale(1.4);
  }
  100% {
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
}
@-moz-keyframes uil-cube-css {
  0% {
    -ms-transform: scale(1.4);
    -moz-transform: scale(1.4);
    -webkit-transform: scale(1.4);
    -o-transform: scale(1.4);
    transform: scale(1.4);
  }
  100% {
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
}
@-webkit-keyframes uil-cube-css {
  0% {
    -ms-transform: scale(1.4);
    -moz-transform: scale(1.4);
    -webkit-transform: scale(1.4);
    -o-transform: scale(1.4);
    transform: scale(1.4);
  }
  100% {
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
}
@-o-keyframes uil-cube-css {
  0% {
    -ms-transform: scale(1.4);
    -moz-transform: scale(1.4);
    -webkit-transform: scale(1.4);
    -o-transform: scale(1.4);
    transform: scale(1.4);
  }
  100% {
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
}
@keyframes uil-cube-css {
  0% {
    -ms-transform: scale(1.4);
    -moz-transform: scale(1.4);
    -webkit-transform: scale(1.4);
    -o-transform: scale(1.4);
    transform: scale(1.4);
  }
  100% {
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
}
.uil-cube-css > div {
  position: absolute;
	width: 50px;
	height: 50px;
	border-radius: 10px;
  -ms-animation: uil-cube-css 1s cubic-bezier(0.2, 0.8, 0.2, 0.8) infinite;
  -moz-animation: uil-cube-css 1s cubic-bezier(0.2, 0.8, 0.2, 0.8) infinite;
  -webkit-animation: uil-cube-css 1s cubic-bezier(0.2, 0.8, 0.2, 0.8) infinite;
  -o-animation: uil-cube-css 1s cubic-bezier(0.2, 0.8, 0.2, 0.8) infinite;
  animation: uil-cube-css 1s cubic-bezier(0.2, 0.8, 0.2, 0.8) infinite;
}
.uil-cube-css > div:nth-of-type(1) {
  top: 10px;
  left: 40px;
  background: #c80501;
  opacity: 0.9;
  -ms-animation-delay: 0s;
  -moz-animation-delay: 0s;
  -webkit-animation-delay: 0s;
  -o-animation-delay: 0s;
  animation-delay: 0s;
}
.uil-cube-css > div:nth-of-type(2) {
  top: 10px;
  right: 40px;
  background: #c80501;
  opacity: 0.8;
  -ms-animation-delay: 0.1s;
  -moz-animation-delay: 0.1s;
  -webkit-animation-delay: 0.1s;
  -o-animation-delay: 0.1s;
  animation-delay: 0.1s;
}
.uil-cube-css > div:nth-of-type(3) {
  top: 75px;
  left: 40px;
  background: #c80501;
  opacity: 0.7;
  -ms-animation-delay: 0.3s;
  -moz-animation-delay: 0.3s;
  -webkit-animation-delay: 0.3s;
  -o-animation-delay: 0.3s;
  animation-delay: 0.3s;
}
.uil-cube-css > div:nth-of-type(4) {
  top: 75px;
  right: 40px;
  background: #c80501;
  opacity: 0.6;
  -ms-animation-delay: 0.2s;
  -moz-animation-delay: 0.2s;
  -webkit-animation-delay: 0.2s;
  -o-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.grey_header
{
    max-width: 550px;
    padding: 10px 0 10px 0;
    margin: 0 auto;
    font-size: 18px;
    font-weight: 100;
    border-bottom: 1px solid #ccc;
    text-align: center;
}

.continue_button
{
    cursor: pointer;
    width: 25%;
    margin: 0 auto;
    min-width:150px;
    background-color: #a7cfdf;
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(35, 83, 138, 0.19)), to(#23538a));
    background-image: -webkit-linear-gradient(top, rgba(35, 83, 138, 0.19), #23538a);
    background-image: -moz-linear-gradient(top, rgba(35, 83, 138, 0.19), #23538a);
    background-image: -ms-linear-gradient(top, rgba(35, 83, 138, 0.19), #23538a);
    background-image: -o-linear-gradient(top, rgba(35, 83, 138, 0.19), #23538a);
    background-image: linear-gradient(to bottom, rgba(35, 83, 138, 0.19), #23538a);
    padding: 10px;
    color: #fff;
    border-radius: 5px;
}

.continue_button:hover
{
    background-color: #a7cfdf;
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(35, 83, 138, 0.19)), to(#1b426f));
    background-image: -webkit-linear-gradient(top, rgba(35, 83, 138, 0.19), #1b426f);
    background-image: -moz-linear-gradient(top, rgba(35, 83, 138, 0.19), #1b426f);
    background-image: -ms-linear-gradient(top, rgba(35, 83, 138, 0.19), #1b426f);
    background-image: -o-linear-gradient(top, rgba(35, 83, 138, 0.19), #1b426f);
    background-image: linear-gradient(to bottom, rgba(35, 83, 138, 0.19), #1b426f);
}

.mobile_label
{
    /* font-weight: bold; */
    padding-top: 10px;
}

.landing_text_div
{
    max-width: 550px;
    padding:10px 0 10px 0;
    margin:0 auto;
    font-size: 16px;
    font-weight: 100;
    border-bottom: 1px solid #ccc;
}

#navigation_and_form
{
    font-size: 16px;
    padding: 0 10px 0 10px;
	max-width: 700px;
	margin: 0 auto;
}

#main_form_content
{
	max-width: 700px;
	margin: 0 auto;
}

#static_form_navigation
{
	max-width: 700px;
	margin: 0 auto;
}

#document_holder
{
	max-width: 700px;
	margin: 0 auto;
}

.animated-icon-container {
	position: absolute;
	top: 150px;
	left: 50%;
	transform: translateX(-50%);
}

.animated-icon-container.pulse-icon {
	height: 150px;
	width: 150px;
}

/* animations */
.ekg-line {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  -ms-animation: ekg_dash_animation 2.3s linear infinite;
  -moz-animation: ekg_dash_animation 2.3s linear infinite;
  -webkit-animation: ekg_dash_animation 2.3s linear infinite;
  animation: ekg_dash_animation 2.3s linear infinite;
}

@-ms-keyframes ekg_dash_animation {
  0% {
	stroke-dashoffset: 500;
  }
  50% {
	stroke-dashoffset: 0;
  }
  100% {
	stroke-dashoffset: -500;
  }
}
@-moz-keyframes ekg_dash_animation {
  0% {
	stroke-dashoffset: 500;
  }
  50% {
	stroke-dashoffset: 0;
  }
  100% {
	stroke-dashoffset: -500;
  }
}
@-webkit-keyframes ekg_dash_animation {
  0% {
	stroke-dashoffset: 500;
  }
  50% {
	stroke-dashoffset: 0;
  }
  100% {
	stroke-dashoffset: -500;
  }
}
@keyframes ekg_dash_animation {
  0% {
	stroke-dashoffset: 500;
  }
  50% {
	stroke-dashoffset: 0;
  }
  100% {
	stroke-dashoffset: -500;
  }
}

#upload_widget
{
    list-style-type: none;
    width: 100%;
}

.upload_widget
{
        border: none;
}
.file-wrapper
{
    cursor: pointer;
    /* display: inline-block; */
    overflow: hidden;
    position: relative;
    vertical-align: top;
    width: 100%;
}

.file-wrapper .button
{
  background: transparent;
  cursor: pointer;
  display: inline-block;
  color: #007aff;
  font-size:14px;
  vertical-align: middle;
}

.file-wrapper input {
    cursor: pointer;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    filter: alpha(opacity=1);
    -moz-opacity: 0.01;
    opacity: 0;
    /*font-size: 100px;*/
    vertical-align: top;
    width: 100%;
}

.upload_widget_item
{
    width: 100%;
    /*display: inline-block;*/
}

.thumb_nail_preview
{
    display: none;
    cursor: pointer;
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    margin-top: 0.5rem;
}

.thumb_nail_postview
{
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}

#submit_doc_button
{
    width: 90%;
    cursor: pointer;
    text-align: center;
    font-size: 23px;
    font-weight: 300;
    color: #fff;
    background: #337ab7;
    box-shadow: 0 4px 8px -4px #aaa;
    font-weight: 300;
    border: 1px solid #337ab7;
    border-radius: 5px;
    padding: 7pt;
}

.file_input_icon_wrapper{
    height: 60px;
    float: left;
    padding-left: 20px;
}

.add_more {
    cursor: pointer;
}

.btn-pulse-primary
{
	  font-size: 16px;
    box-sizing: border-box;
    border: 1px solid #166FC7;
    border-radius: 25px;
    background: #2D8EED;
    min-width: 100px;
    color: #fff;
    padding: 12px 10px 10px 10px;
    text-align: center;
}

.gallery_thumbnail {
  height: 150px;
  cursor: pointer;
  color: #9c9c9c;
}

.add_img_btn {
    color: #9c9c9c;
}