﻿/* general layout */
body {
	padding-bottom: 20px;
	background-color: #efefef;
}

.ui-dialog-titlebar-close {
	background-image: url("/lib/jquery-ui/images/ui-icons_777777_256x240.png");
	background-position: -96px -128px;
	border-radius: 3px;
	border: 2px solid #e9e9e9;
	background-color: #e9e9e9;
}

nav button.nav-link.hasalerts-True {
	background-color: #d00 !important;
	color: #fff !important;
	border-color: #f00 !important;
}

a.hc,
nav button.nav-link {
	color: #000;
	text-decoration: none;
}

#apple-logo {
	position: relative;
	left: -16px;
	top: 16px;
	border-bottom-left-radius: 0.375rem;
}

#mobile-logo a,
#OutstandingChanges {
	color: #d00;
}

.hc-y3 {
	position: relative;
	top: 8px;
}

.btn-home {
	width: 75%;
	margin-top: 15px;
	margin-bottom: 15px;
}

div.container-fluid.body-content {
	border-top: 1px solid rgba(0,0,0,0.175);
	background-color: #efefef;
}

.hc-form-actions button,
.hc-form-actions input {
	margin-left: 4px;
	margin-right: 4px;
}

.nav-tabs.hc {
	border-bottom: 0;
	position: relative;
	z-index: 2;
}

#nav-tabContent div.card {
	border-radius: 0;
}

div.ui-dialog {
	z-index: 99 !important;
}

	div.ui-dialog div.address-list {
		padding-left: 0;
		padding-right: 0;
	}

div.hc-font-smaller > * {
	font-size: 0.9rem;
}

.tox.tox-tinymce {
	padding: 0;
	border-color: #333 !important;
}

div.ms-auto > form.navbar-right {
	display: inline;
}

.blackBorder {
	border: 1px solid #000;
}

.unlinked {
	text-decoration: line-through;
	background-color: #dc3545;
}

.attendee-address-margin .address-list label,
.attendee-address-margin .address-picker {
	margin-left: 12px;
}

.address-picker-label {
	top: 3px!important;
}

@media (min-width: 992px) {
	table .d-lg-block {
		display: table-cell !important;
	}
}

/* custom form labels */
.form-control.hc {
	border-top-left-radius: 0;
}

.form-control.hc, 
.form-check-input[type="radio"], 
.form-check-input[type="checkbox"] {
	border-color: #333;
}

input.form-control.hc:read-only,
.col-form-label.hc:has(+ input.form-control.hc:read-only),
.col-form-label.hc:has(+ select.form-control.hc:disabled) {
	background-color: #e9ecef;
}

.col-form-label.hc:has(+ input.form-control.hc:read-only),
.col-form-label.hc:has(+ select.form-control.hc:disabled) {
	border-bottom: 1px solid #e9ecef;
}

.col-form-label.hc {
	line-height: 0.8;
	border-left: 1px solid #333;
	border-top: 1px solid #333;
	border-right: 1px solid #333;
	border-bottom: 1px solid #fff;
	width: auto;
	border-top-left-radius: 0.375rem;
	border-top-right-radius: 0.375rem;
	font-size: 0.7rem;
	background-color: #fff;
	position: relative;
	top: 1px;
	z-index: 6;
	padding-top: 0.3rem;
	padding-bottom: 0.3rem;
}

.form-check label.hc.mandatory {
	font-size: 1rem !important;
	border: 0 !important;
	padding-left: 0 !important;
	padding-top: 0.8rem;
}

.hc.mandatory {
	font-size: 0.7rem;
	font-weight: 800;
}

.hc-group {
	border: 1px solid #333;
	border-bottom-left-radius: 0.375rem;
	border-bottom-right-radius: 0.375rem;
	border-top-right-radius: 0.375rem;
}

	.hc-group input[type="checkbox"] {
		margin-left: -1.3rem;
	}

.col-form-label.hc:has(+ input.form-control.hc:focus),
.col-form-label.hc:has(+ div.input-group > input.form-control.hc:focus),
.col-form-label.hc:has(+ select.form-control.hc:focus),
.col-form-label.hc:has(+ textarea.form-control.hc:focus),
.col-form-label.hc:has(+ div.input-group.hc > input.form-control.hc:focus),
.form-control.hc:focus,
.col-form-label.hc:has(+ div.hc-group > label > input:focus),
div.hc-group:has( label > input:focus) {
	border-color: #86b7fe;
	outline: 0;
	box-shadow: 6px 0 4px -4px rgba(13, 110, 253, .25);
}

.col-form-label.hc:has(+ input.form-control.hc:focus),
.col-form-label.hc:has(+ div.input-group > input.form-control.hc:focus),
.col-form-label.hc:has(+ select.form-control.hc:focus),
.col-form-label.hc:has(+ textarea.form-control.hc:focus),
.col-form-label.hc:has(+ div.input-group.hc > input.form-control.hc:focus),
.col-form-label.hc:has(+ div.hc-group > label > input:focus) {
	border-bottom: 1px solid #fff;
}

div.form-check > label.col-form-label {
	position: relative;
	top: -6px;
}

.input-group.hc {
	padding-left: 0;
	padding-right: 0;
}

label.col-form-label.hc {
	padding-left: 12px;
	padding-right: 12px;
}

.Unapproved {
	background-color: #e0e0e0 !important;
}

.red {
	color: #d00;
}

/* field validation errors */
.input-validation-error {
	border: 1px solid #f00;
	background-color: #fee;
}

.validation-summary-errors {
	color: #fff!important;
	background-color: #a00;
}

.col-form-label.hc:has(+ input.form-control.hc.input-validation-error) {
	border: 1px solid #f00;
	background-color: #f00;
	color: #fff;
}

/* address picker */
div.addresspicker {
	padding-left: 0;
	padding-right: 0;
}

/* datatables header and footer controls */
div.dt-container div.row:first-child,
div.dt-container div.row:last-child {
	padding-left: 15px;
	padding-right: 15px;
}

div.dt-container div.row:last-child {
	padding-bottom: 12px;
}

/* loader */
#loader {
	position: fixed;
	display: none;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 99;
	color: #fff;
}

	#loader div.center {
		width: 100%;
		height: 100%;
		text-align: center;
		position: absolute;
		top: 50%;
	}

/* print register */
.print-table {
	width: 95% !important;
	border: 1px solid #000000;
	margin-left: auto;
	margin-right: auto;
}

	.print-table caption {
		font-size: 1em;
		color: #000000;
	}

	.print-table td {
		border: 1px solid #000000;
		padding: 10px;
	}

	.print-table th {
		text-align: center;
	}

	.print-table .bold {
		font-weight: bold;
	}

	.print-table th {
		border: 1px solid #000000;
	}

	.print-table .signature {
		width: 25% !important;
	}

/* attendee address picker alignment fix */
div.form-group.mb-3.attendee-address-margin div.form-group.row.mb-3 {
	margin-right: 12px;
}