input, textarea, keygen, select, button {
	font-family: 'Proxima Nova Regular', sans-serif;
}

/* #E6 bg, #CC placeholder */
/* Don't use `.formset *` because that applies globally to modals in such a way that trying to override it with a different default font-size on a modal can only be done via `#id *` which then overrides all of the modal's subordinate `.no-id-class` styles, for which the only workaround is to instead wastefully repeat all the styles suboridnately to the modal content's `#id`. */
.formset
{
	box-sizing: border-box;
	font-size: 15px;
}

.formset.style-a * { font-family: 'Asap', sans-serif; }
.formset.style-b * { font-family: 'Proxima Nova Regular', sans-serif; }

.formset label {
	font-family: 'Proxima Nova Regular', sans-serif;
	font-size: 15px;
}


.formset input[type=text],
.formset input[type=password],
.formset input[type=email],
.formset input[type=tel],
.formset input[type=button],
.formset button,
.formset textarea,
.formset select,
.formset .fake-input,
.formset .btn
{
	background-color: white;
	border: none;
	border-bottom: 1px solid #B3B3B3;
	border-top: 1px solid white;
	box-sizing: border-box;
	color: #333;
	font-size: inherit;
	line-height: 24px;
	margin: 0 0 15px 0;
	padding: 3px .5em;
	width: 100%;
}

.formset .fake-text {
	cursor: text;
}

.formset .fake-input {
	display: inline-block;
	vertical-align: middle;
	margin-top: -3px;  /* HACK: fixme! */
}

.formset .fake-input input[type=text],
.formset .fake-input textarea,
.formset .fake-input select {
	border: none;
	margin: 0;
	padding: 0;
	background-color: transparent;
}

.formset .fake-button {
	width: 26px;
	height: 26px;
	padding: 0;
}

.formset .pull-right {
	float: right;
	margin-left: .5em;
}


.formset textarea {
	resize: none;
	overflow-x: hidden;
	overflow-y: scroll;
}

/* Form settings for login, signup, and reset password forms */
.formset .main-login-format input[type=text],
.formset .main-login-format input[type=password],
.formset .main-login-format input[type=email],
.formset .main-login-format input[type=tel]
{
	font-size: 22px;
	line-height: 34px;
}
.formset .main-login-format button{
	height: 42px;
	padding-left: 0.5em;
	padding-right: 0.5em;
	font-size: 22px;
}

.fieldset {
	margin-bottom: 1em;
}

.fieldset div.field-group {
	line-height: 32px;
	vertical-align: middle;
	clear: left;
}

.fieldset div.input-container {
	line-height: 32px;
}


.fieldset-narrow div.field-group > label {
	width: 3.5em;
}

.fieldset-wide div.field-group > label {
	width: 135px;
}


.fieldset div.field-group > label,
.fieldset div.field-group > div > label {
	display: block;
	float: left;
	color: #662D91;
}

.formset .accent-neutral,
.formset .accent-neutral-light { border-top-color: #FFFFFF !important;  background-color: #E6E6E6 !important;  border-bottom-color: #B3B3B3 !important;  color: #333333; }
.formset .accent-neutral:hover,
.formset .accent-neutral-med   { border-top-color: #E6E6E6 !important;  background-color: #B3B3B3 !important;  border-bottom-color: #333333 !important;  color: #333333; }
.formset .accent-neutral:active,
.formset .accent-neutral-dark  { border-top-color: #B3B3B3 !important;  background-color: #333333 !important;  border-bottom-color: #000000 !important;  color: #FFFFFF; }

.formset .accent-fresh,
.formset .accent-fresh-light   { border-top-color: #FFFFFF !important;  background-color: #85B940 !important;  border-bottom-color: #609124 !important;  color: #396600; }
.formset .accent-fresh:hover,
.formset .accent-fresh-med     { border-top-color: #85B940 !important;  background-color: #609124 !important;  border-bottom-color: #396600 !important;  color: #396600; }
.formset .accent-fresh:active,
.formset .accent-fresh-dark    { border-top-color: #609124 !important;  background-color: #396600 !important;  border-bottom-color: #000000 !important;  color: #FFFFFF; }

.formset .accent-strong,
.formset .accent-strong-light  { border-top-color: #FFFFFF !important;  background-color: #CBB8DB !important;  border-bottom-color: #9A62C4 !important;  color: #652D90; }
.formset .accent-strong:hover,
.formset .accent-strong-med    { border-top-color: #CBB8DB !important;  background-color: #9A62C4 !important;  border-bottom-color: #652D90 !important;  color: #652D90; }
.formset .accent-strong:active,
.formset .accent-strong-dark   { border-top-color: #9A62C4 !important;  background-color: #652D90 !important;  border-bottom-color: #000000 !important;  color: #FFFFFF; }

.formset .accent-cool,
.formset .accent-cool-light    { border-top-color: #FFFFFF !important;  background-color: #8CE2FF !important;  border-bottom-color: #2BBEF0 !important;  color: #0068CF; }
.formset .accent-cool:hover,
.formset .accent-cool-med      { border-top-color: #8CE2FF !important;  background-color: #2BBEF0 !important;  border-bottom-color: #0068CF !important;  color: #0068CF; }
.formset .accent-cool:active,
.formset .accent-cool-dark     { border-top-color: #2BBEF0 !important;  background-color: #0068CF !important;  border-bottom-color: #000000 !important;  color: #FFFFFF; }

.formset .accent-tree			{ border-top-color: #FFFFFF !important; border-bottom-color: #609124 !important; }
.formset .accent-tree:hover 	{ border-top-color: #85B940 !important; border-bottom-color: #396600 !important; }
.formset .accent-tree:active 	{ border-top-color: #396600 !important; border-bottom-color: #000000 !important; }

button:disabled {
	opacity: .5;
	cursor: inherit;
}

button:focus {
	outline: 0;
}

/* buttons */
.button-icon {
	height: 26px;
	width: 26px;
	vertical-align: baseline;
	display: block;
	margin-top: 3px;  /* HACK: fixme! */
	padding: 0px;
	text-align: center;
}

.button-icon > div.field-icon {
	cursor: pointer;
	display: inline-block;
}

::-webkit-input-placeholder { color: #CCC; opacity: 1; }
:-moz-placeholder           { color: #CCC; opacity: 1; }
::-moz-placeholder          { color: #CCC; opacity: 1; }
:-ms-input-placeholder      { color: #CCC; opacity: 1; }
:placeholder-shown          { color: #CCC; opacity: 1; }

.button-list {
	display: flex;
	justify-content: flex-end;
	padding-top: 1em;
	font-size: 14.5px;
}

button {
	font-size: 18px;
	font-family: 'Proxima Nova Regular';
	cursor: pointer;
}

button.wide {
	padding-left: 2em;
	padding-right: 2em;
}


.button-list > button + button {
	margin-left: 1em;
}

.zoom-icon {
	width: 24px;
	height: 24px;
	background-image: url('../images/zooms.png');
	cursor: pointer;
}

.preview-controls {
	position: absolute;
	right: 2em;
	top: 1em;

	display: flex;
	flex-direction: column;
}

.zoom-icon + .zoom-icon {
	margin-top: 0.67em;
}

.zoom-icon.plus        { background-position:   0px   0px; }
.zoom-icon.minus       { background-position: -24px   0px; }
.zoom-icon.plus:hover  { background-position:   0px -24px; }
.zoom-icon.minus:hover { background-position: -24px -24px; }


.modal-fade {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
	background-color: rgba(0,0,0,.5);
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: auto;
}

.modal {
	background-color: #EEE;
	padding: 3em;
}

#btnClose {
	background: transparent url('../images/x-cancel.png') no-repeat center center;
	background-size: cover;
	position: absolute;
	right: 16px;
	top: 16px;
	width: 20px;
	height: 20px;
	line-height: 20px;
	vertical-align: middle;
	text-align: center;
	cursor: pointer;
	opacity: .8;
}

#btnClose:hover {
	opacity: 1;
}

#file-input {
	display: none;
}

/* for high resolution display */
/* http://www.hongkiat.com/blog/css-retina-display/ */
@media  only screen and (-webkit-min-device-pixel-ratio: 1.5),
    only screen and (min--moz-device-pixel-ratio: 1.5),
    only screen and (-o-min-device-pixel-ratio: 3/2),
    only screen and (min-device-pixel-ratio: 1.5),
    only screen and (min-resolution: 192dpi) {

	#btnClose {
		background-image: url('../images/x-cancel_2x.png');
	}

}

.add-new-person.hidden {
	display: none !important;
}

.required {
	color: red;
	font-weight: bold;
}

.not-required {
	color: #000 !important;
}

input[disabled=disabled],
select[disabled=disabled],
textarea[disabled=disabled]
{
	color: #ccc !important;
}

.coupon-box-title {
	margin-bottom: 0px;
	padding-left: 0px;	
}

.coupon-box {
	border: 0;
	border-top: 2px solid #cccccc;
	box-sizing: border-box;
	font-family: 'Proxima Nova Regular', sans-serif;
	font-size: 30px;
	padding: 3px;
	width: 35%;
	margin-right: 25px;
	padding-bottom: 10px;
}

.comment-box-label {
	display: block;
	margin-top: 20px;
}

.comment-box {
	border: 0;
	border-top: 2px solid #cccccc;
	box-sizing: border-box;
	font-family: 'Proxima Nova Regular', sans-serif;
	font-size: 18px;
	height: 60px;
	line-height: 1.4em;
	padding: 10px;
	width: 100%;
}

.comment-box:focus {
	outline: none;
}

.indexer-details_input {
	box-sizing: border-box;
	background-color: white;
	color: #333;
	border: none;
	margin-bottom: 15px;
	padding: 0 .5em;
	line-height: 1.3;
	border-top: 1px solid white;
	border-bottom: 1px solid #B3B3B3;
	width: 100%;
	font-size: 16px;
}

/*
.indexer-details_input[type=date] {
	width: 50%;
}
*/

.indexer-details_radio {
	line-height: 1em;
	color: #000;
	text-transform: uppercase;
}

.indexer-details_radio span {
	margin-left: 20px;
	font-size: 13px;
  	position: relative;
  	top: -2px;
}

.indexer-details_radio:first-of-type {
	margin-top: 10px;
}

.indexer-details_radio:last-of-type {
	margin-bottom: 15px;
}

.validation-error {
	color: red;
	font-weight: 400;
}

.validation-error.-transcribe {
	padding-top: 20px;
}

.option-buttons {
	width: 100%;
}

.option-buttons_image {
	margin: 0 auto 20px;
	display: block;
}

.option-buttons_image:first-of-type {
  	width: 120px;
  	margin-top: 10px;
}

.option-buttons_image:last-of-type {
  	width: 80%;
}

.option-buttons_divider {
	font-size: 22px;
	font-weight: bold;
	margin: 40px 0 20px;
	text-align: center;
}

.option-button {
	height: initial !important;
	width: 100% !important;
	padding: 15px !important;
	font-size: 20px !important;
	border-top-color: #9A62C4 !important;
	border-bottom-color: #000000 !important;
	background-color: #6A1B9A !important;
	color: #FFFFFF !important;
}

.option-button.is-active {
	background-color: #652D90 !important;
}

.option-button:hover {
	background-color: #333333 !important;
}

.option-button.is-disabled {
	background-color: #c3c3c3 !important;
	border-color: #c3c3c3 !important;
	cursor: inherit !important;
}

.add-record_container {
	position: relative;
}
 
.add-record_upload,
.add-record_family-search,
.modal-content-reset_email,
.modal-content-reset_password {
  display: none;
}

.add-record_upload.is-visible,
.add-record_family-search.is-visible,
.modal-content-reset_email.is-visible,
.modal-content-reset_password.is-visible {
  display: block;
}

.add-record_instructions {
	color:black;
	margin: 0 0 2em 0;
}

.person-uid_label {
	display: block;
	color: black;
	margin: .5em 0;
}

#person-uid {
	width: 60%;
}

#search-person-now {
	width: 39%;
}

#add-person-result {
	margin-top: 10px;
	background: palegoldenrod;
	line-height: 1em;
	padding: 10px;
	font-size: 10pt;
	display: none;
	color: #666;
}

#add-person-result[success] {
    background: #5EEEA5;
}

.loading {
  font-size: 20px;
}

.loading:after {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  -webkit-animation: ellipsis steps(4,end) 1300ms infinite;
  animation: ellipsis steps(4,end) 1300ms infinite;
  content: "\2026"; /* ascii code for the ellipsis character */
  width: 0px;
}

@keyframes ellipsis {
  to {
    width: 20px;
  }
}

@-webkit-keyframes ellipsis {
  to {
    width: 20px;
  }
}

.indexer-panel button {
	max-width: 180px;
	width: 100%;
}

.more-info label {
	margin-bottom: 5px;
	display: block;
}

.more-info textarea {
	height: 85px;
}

.more-info input {
	width: 100%;
}
