body {
	margin-left: 0;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	overflow: auto;
	text-align: left;
	font-size: 14px;
	font-weight: 400;
	font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	-moz-osx-font-smoothing: grayscale;
	/* Fix Firefox Font Weight Issue */
}

#cover {
	-webkit-backdrop-filter: saturate(180%) blur(100px);
	backdrop-filter: saturate(180%) blur(20px);
}

#cover,
.cover-image {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	overflow: hidden !important;
}


#cover .cover-image {
	background-image: url("dark-wave.jpg");
	background-size: cover;
	background-position: 50% 50%;
	background-attachment: scroll;
}

#cover .zoom {
	transform-origin: 50% 80%;
	animation: coverZoom linear 50s;
	animation-iteration-count: infinite;
	-webkit-animation: coverZoom linear 50s;
	-webkit-animation-iteration-count: infinite;
	-moz-animation: coverZoom linear 50s;
	-moz-animation-iteration-count: infinite;
	-ms-animation: coverZoom linear 50s;
	-ms-animation-iteration-count: infinite
}

@keyframes coverZoom {

	0%,
	100% {
		transform: scale(1)
	}

	50% {
		transform: scale(1.24)
	}
}

@-moz-keyframes coverZoom {

	0%,
	100% {
		-moz-transform: scale(1)
	}

	50% {
		-moz-transform: scale(1.24)
	}
}

@-webkit-keyframes coverZoom {

	0%,
	100% {
		-webkit-transform: scale(1)
	}

	50% {
		-webkit-transform: scale(1.24)
	}
}

@-ms-keyframes coverZoom {

	#content .content-block 0%,
	#content .semplice-cover 0%,
	#content-holder .content-block 0%,
	#content-holder .semplice-cover 0% {
		-ms-transform: scale(1)
	}

	#content .content-block 50%,
	#content .semplice-cover 50%,
	#content-holder .content-block 50%,
	#content-holder .semplice-cover 50% {
		-ms-transform: scale(1.24)
	}

	#content .content-block 100%,
	#content .semplice-cover 100%,
	#content-holder .content-block 100%,
	#content-holder .semplice-cover 100% {
		-ms-transform: scale(1)
	}
}

#container {
	margin: 10px;
	/* 	min-width:900px; */
}

.content_container {
	margin-left: 185px;
	margin-right: 7px;
	margin-top: 4px;
	padding: 10px;
}

fieldset {
	padding: 16px;
	margin: 8px 0;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background-color: #FFF;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}


legend {
	position: relative;
	padding: 8px 16px;
	margin: 0 8px;
	border: none;
	border-left: 3px solid #4a7ab5;
	background-color: #f7f8fa;
	text-align: left;
	border-radius: 0 6px 6px 0;
	font-weight: 600;
	font-size: 15px;
	color: #333;
	letter-spacing: -0.2px;
}

/* Add spacing between filter row and table header */
fieldset > div[style*="text-align: right"],
fieldset > div[style*="text-align:right"] {
	margin-bottom: 12px;
}

a:link {
	color: #4a7ab5;
}

a:visited {
	color: #4a7ab5;
}

a:hover {
	color: #2d5a8a;
}

td {
	font-size: 13px !important;
}

th,
.prepended {
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 700
}

.SmallWords {
	font-size: xx-small;
}

.SmallWordsBlack {
	font-size: xx-small;
	color: #000;
}

.FormText {
	font-size: 8pt;
	color: #000;
}

.FormHelpText {
	font-size: 8pt;
	color: green;
}

pre {
	font-size: 11px;
	text-decoration: none;
	line-height: 15px;
	color: #2f2f2f;
	margin: 10px;
	padding: 0;
	display: block;
}

.gray10 {
	font-size: 10px;
	color: #979797;
}

.black11_top {
	font-size: 11px;
	text-decoration: none;
	color: #fff;
	text-shadow: 1px 1px 2px #000;
	font-weight: 700;
}

.black11 {
	font-size: 13px;
}

.black11b {
	font-size: 11px;
	text-decoration: none;
	color: #2f2f2f;
	text-shadow: 1px 1px #fff;
}

.black12 {
	color: #2f2f2f;
	text-decoration: none;
}

.black12b {
	font-size: 14px;
	font-weight: 200;
	text-decoration: none;
}

/*
.black12:hover,.black12b:hover {
	text-decoration:underline;
}
*/

a.blue11 {
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	color: #4a7ab5;
	background: #f0f4f8;
	padding: 2px 7px;
	border-radius: 4px;
	transition: all 0.15s ease;
}

a.blue11:hover {
	color: #fff;
	background: #4a7ab5;
	text-decoration: none;
}

a.blue11b {
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	color: #4a7ab5;
}

a.blue11b:hover {
	font-size: 13px;
	text-decoration: none;
	font-weight: 600;
	color: #2d5a8a;
}

.red11,
.vred {
	color: #C00;
}

.vorange {
	color: orange;
}

.alert_message_container {
	font-size: 16px;
	line-height: 18px;
	color: #296a3d;
	background-color: #40E172;
	border-radius: 5px;
	border: 1px rgba(102, 204, 65, 1) solid;
	height: auto;
	margin: auto;
	text-align: center;
}

.alert_error_container {
	font-size: 16px;
	line-height: 18px;
	color: #C00;
	background-color: #FFCECE;
	border-radius: 5px;
	border: 1px #F4B0B0 solid;
	height: auto;
	margin: auto;
	text-align: center
}

.message_container {
	font-size: 16px;
	line-height: 18px;
	color: #296a3d;
	background-color: yellow;
	border-radius: 5px;
	border: 1px yellow solid;
	height: auto;
	margin: auto;
	text-align: center
}

.alert_message:before {
	content: "";
	display: inline-block;
	margin-right: 10px;
	width: 1em;
	height: 1em;
	vertical-align: -0.125em;
	background-color: #296a3d;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0-64 0 32 32 0 1 0 64 0z'/%3E%3C/svg%3E");
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0-64 0 32 32 0 1 0 64 0z'/%3E%3C/svg%3E");
}

.alert_error:before {
	content: "";
	display: inline-block;
	margin-right: 10px;
	width: 1em;
	height: 1em;
	vertical-align: -0.125em;
	background-color: #C00;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1-64 0z'/%3E%3C/svg%3E");
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1-64 0z'/%3E%3C/svg%3E");
}

.alert_message,
.alert_error,
.message {
	padding: 7px 20px;
}

.alert_message a,
.alert_error a,
.message a {
	text-decoration: underline;
}

.alert_message a:hover,
.alert_error a:hover,
.message a:hover {
	text-decoration: none;
}

.green11 {
	font-size: 11px;
	color: #060;
}

.textbox {
	border-bottom: 1px solid;
	border-left: 1px solid;
	border-right: 1px solid;
	border-top: 1px solid;
	border-color: silver;
	font-size: 12px;
	color: #2f2f2f;
	background-color: #fff;
}

/* small text */
.grey9 {
	font-size: 9px;
	line-height: 12px;
	color: #666;
}

A.grey9:link {
	font-size: 9px;
	color: #666;
	line-height: 12px;
	text-decoration: none;
}

A.grey9:visited {
	font-size: 9px;
	color: #666;
	line-height: 12px;
	text-decoration: none;
}

A.grey9:hover {
	font-size: 9px;
	color: #060;
	line-height: 12px;
}

A.menu:link {
	font-size: 11px;
	text-decoration: none;
	padding-left: 10px;
}

A.menu:visited {
	font-size: 11px;
	text-decoration: none;
	padding-left: 10px;
}

A.menu:hover {
	font-size: 11px;
	padding-left: 10px;
}

.menutop_title {
	font-weight: 700;
	text-decoration: none;
	font-size: 13px;
	color: #666;
}

A.menutop:link {
	font-size: 11px;
	text-decoration: none;
}

A.menutop:visited {
	font-size: 11px;
	text-decoration: none;
}

A.menutop:hover {
	font-size: 11px;
	text-decoration: underline;
}

.fill01 {
	font-size: 13px;
	/* text-shadow:1px 1px 2px #F2F1F2; */
}

.fill01 a,
.fill01 span {
	text-shadow: none;
}

.fill02 {
	/* text-shadow:1px 1px #fff; */
}

.fill03 {
	background-color: #F5F5F5;
}

.fill04 {
	background-color: #FAFAFA;
}

.fill05 {
	background-color: #fff8e6;
	border-left: 3px solid #e6a817;
}

.fill05:nth-child(odd) {
	background-color: #fff3d0;
	border-left: 3px solid #e6a817;
}

fieldset.fill05,
fieldset.fill05:nth-child(odd) {
	background-color: #fffdf5;
	border: 1px solid #e6a817;
}

/* Green */
.fill06 {
	background-color: rgba(0, 128, 0, 0.5) !important;
}

/* Blue */
.fill07 {
	background-color: rgba(0, 0, 255, 0.5) !important;
}

/* Yellow */
.fill08 {
	background-color: rgba(255, 255, 0, 0.5) !important;
}

/* Green */
.help {
	color: green;
}

.textfill01 {
	font-size: 11px;
	text-decoration: none;
	color: #2f2f2f;
	background-color: #CCF;
}

.textfill02 {
	font-size: 11px;
	text-decoration: none;
	color: #2f2f2f;
	background-color: #DDD;
}

.textfill03 {
	font-size: 11px;
	text-decoration: none;
	color: #2f2f2f;
	background-color: #F5F5F5;
}

.textfill04 {
	font-size: 11px;
	text-decoration: none;
	color: #2f2f2f;
	background-color: #FAFAFA;
}

.text,
.black12 {
	font-size: 11px;
	line-height: 14px;
	color: #333;
}

.black12 a {
	text-decoration: none;
	/* text-shadow:1px 1px 1px #fff; */
}

.black12 img {
	padding-right: 5px;
}

.fine {
	font-size: 9px;
	line-height: 12px;
	color: #999;
}

.menu_container {
	width: 175px;
	position: absolute;
	top: 40px;
	left: 15px;
	padding-bottom: 5px;
}

.topBar {
	background-color: #f0f0f0;
	border-radius: 8px;
	border-spacing: 0;
	padding-left: 10px;
	transition: background-color 0.15s ease;
}

.topBar:hover {
	background-color: #e4e4e4;
}

.topBar.open {
	border-radius: 8px 8px 0 0;
}

.panelContent {
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	padding: 6px 4px 8px 4px;
}

/* Sidebar menu links */
a.menu {
	display: inline-block;
	font-size: 12.5px;
	line-height: 1.6;
	color: #555;
	text-decoration: none;
	transition: color 0.1s ease;
}

a.menu:hover {
	color: #4a7ab5;
}

.standard {
	color: #666;
	background-color: #FFF;
	border-radius: 10px;
	border-spacing: 0;
	width: 100%;
}

.standard_transparent {
	font-size: 10px;
	line-height: 12px;
	color: #666;
	background: transparent;
	border-radius: 10px;
	border-spacing: 0;
	background-image: linear-gradient(#C5C5C5, #F4F3F4 50px);
	padding: 10px;
}

.standard_billed {
	font-size: 10px;
	line-height: 12px;
	color: #666;
	background-color: #FFF;
	border-radius: 10px;
	border-spacing: 0;
	background-image: linear-gradient(#F9D3CD, #fff 60px);
	padding: 10px;
}

table.standard {
	width: 100%;
	padding: 0;
	margin-top: 12px;
	margin-bottom: 10px;
	border-collapse: separate;
	border-spacing: 0;
}

table.standard td {
	padding: 6px;
}

table.standard th {
	padding: 14px 12px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #777;
	background: #f7f8fa;
	text-align: left;
	border-bottom: 2px solid #e0e0e0;
	border-top: 1px solid #e8e8e8;
}

table.standard tr.table_header td {
	padding: 12px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #777;
	background: #f7f8fa;
	border-bottom: 2px solid #e0e0e0;
}

.alternate_a,
table.standard:not(.noaltbgcolor) tr:nth-child(even) {
	background-color: #FFF;
}

.alternate_b,
table.standard:not(.noaltbgcolor) tr:nth-child(odd) {
	background-color: #fafbfc;
}

.standard {
	border: 1px #e0e0e0 solid;
	border-radius: 8px;
	overflow: hidden;
}

.standard_support {
	border: 1px rgba(255, 206, 99, 1) solid;
	border-radius: 5px;
}

.standard_sales {
	border: 1px rgba(137, 179, 255, 1) solid;
	border-radius: 5px;
	background-color: rgba(137, 179, 255, 0.05);
}

.standard_design {
	border: 1px rgba(98, 186, 69, 1) solid;
	border-radius: 5px;
}

.standard_billing {
	border: 1px rgba(58, 0, 255, 1) solid;
	background-color: rgba(58, 0, 255, 0.05);
}

.standard_billing .table_header {
	background-color: rgba(58, 0, 255, 0.15) !important;
}

tr.standard_billing {
	background-color: rgba(58, 0, 255, 0.15) !important;
}

table.standard_sales .alternate_a,
table.standard_sales:not(.noaltbgcolor) tr:nth-child(even) {
	background-color: transparent;
}

table.standard_support .alternate_b,
table.standard_support:not(.noaltbgcolor) tr:nth-child(odd) {
	background-color: rgba(255, 206, 99, 0.33);
}

table.standard_sales .alternate_b,
table.standard_sales:not(.noaltbgcolor) tr:nth-child(odd) {
	background-color: rgba(137, 179, 255, 0.33);
}

table.standard_design .alternate_b,
table.standard_design:not(.noaltbgcolor) tr:nth-child(odd) {
	background-color: rgba(98, 186, 69, 0.33);
}

.topic_name {
	font-size: 16px;
}

table.hover tr:not(.nohover):hover {
	background-color: #f0f4f8 !important;
}

/* table.hover tr:first-child:hover {
    background-color: transparent !important;
} */

/*
table.hover tr.nohover {
    background-color: white !important;
}
*/

.bordertop {
	border-top: 1px solid #CCC;
}

.standardtext {
	font-size: 10px;
	line-height: 150%;
	color: #666;
}

.line {
	border-top: 1px solid #CCC;
}

.fill06 {
	background-color: #D6DFF7;
}

.strike {
	text-decoration: line-through;
	color: red;
}

.highlight {
	background-color: rgba(255, 255, 0, 0.25) !important;
}

.highlight_2 {
	/* background-color: rgba(255, 206, 99, 0.25) !important; */
	background-color: yellow !important;
}

.highlight_3 {
	background-color: rgba(189, 0, 17, 0.25) !important;
}

#overlay_container {
	position: fixed;
	z-index: 9999997;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	display: none;
	overflow: scroll;
	background-color: rgba(0, 0, 0, 0.5);
}

#overlay {
	position: relative;
	vertical-align: middle;
	background-color: #FFF;
	margin: 100px;
	padding: 20px;
	box-shadow: 1px 1px 15px rgba(125, 125, 125, 0.81);
	border-radius: 25px;
	z-index: 9999998;
}

#overlay_content {
	position: relative;
	z-index: 9999999;
}

body.mobile #overlay {
	margin: 5%;
	padding: 10px;
}

#ajax_window {
	z-index: 9999999;
	background-color: #FFC;
	opacity: .95;
	filter: alpha(opacity=95);
	border: 1px solid red;
	position: fixed;
	top: 30px;
	left: 30px;
	bottom: 30px;
	right: 30px;
	overflow: auto;
	padding: 15px;
}

.status {
	background-color: #900;
	color: #FFF;
	text-align: center;
	font-size: 125%;
}

.status_icon {
	font-size: 20px;
	line-height: 20px;
}

#csv_file_preview {
	border: 1px solid red;
	height: 225px;
	margin: 4px auto;
	overflow: scroll;
	width: 730px;
}

.caution span {
	background-color: #000;
	padding: 5px;
	border-radius: 20px;
}

.caution {
	text-align: center;
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	height: 40px;
	left: 0;
	line-height: 35px;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	visibility: visible;
}

.warning {
	text-align: center;
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	height: 40px;
	left: 0;
	line-height: 35px;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	visibility: visible;
}


.alert_text {
	background-color: #292929;
	padding: 5px;
	border-radius: 20px;
}

#otherContent {
	/* Normal text content */
	float: left;
	/* Firefox - to avoid blank white space above panel */
	padding-left: 10px;
	/* A little space at the left */
}

.style1 {
	color: #666
}

.style2,
style2 a {
	font-size: 22px;
}

textarea,
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"] {
	font-size: 12px;
	font-weight: 500;
	color: #000;
	border: 1px solid #bbb;
	background-color: #FFF;
	padding: 2px 4px;
	margin: 0;
	border-radius: 3px;
	outline: 0;
	outline-style: none;
	outline-width: 0;
	-webkit-appearance: none;
}

textarea {
	padding: 2px 10px;
	box-sizing: border-box;
}

/*
input {
 outline:none;
}
*/

input[type="submit"],
input[type="reset"],
button[type="submit"],
button,
a.button,
.qq-upload-button {
	background-color: #4a7ab5;
	background-image: none;
	color: #FFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	overflow: hidden;
	padding: 8px 16px;
	margin: 4px;
	text-transform: none;
	cursor: pointer;
	border: 1px solid #4a7ab5;
	letter-spacing: 0.2px;
	border-radius: 6px;
	box-shadow: none;
	transition: all 0.15s ease;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	-webkit-appearance: none;
	line-height: 1.4;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
button[type="submit"]:hover,
button:hover,
a.button:hover,
.qq-upload-button:hover {
	background-image: none;
	background-color: #3a6499;
	border-color: #3a6499;
	color: #FFF;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

/* Secondary/outline button style */
.btn-outline,
input[type="reset"] {
	background-color: transparent;
	border: 1px solid #ccc;
	color: #555;
}

.btn-outline:hover,
input[type="reset"]:hover {
	background-color: #f0f0f0;
	border-color: #bbb;
	color: #333;
}

img:focus {
	border: 2px solid #4a7ab5;
	outline-style: none;
}

input[type="submit"]:focus,
button:focus {
	background-color: #3a6499;
	background-image: none;
	color: #FFF;
	box-shadow: 0 0 0 3px rgba(74, 122, 181, 0.3);
	outline: none;
}

select,
select.form {
	padding: 6px 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 13px;
	background-color: #fff;
	color: #333;
	cursor: pointer;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 8px center;
	padding-right: 28px;
}

select:focus,
select.form:focus {
	border-color: #4a7ab5;
	box-shadow: 0 0 0 2px rgba(74, 122, 181, 0.15);
}

/*
select_old {
	height:25px;
	padding:6px 16px;
	border:none;
	font-weight: 700;
}
*/

textarea {
	background-color: #FFF;
}

div.autocomplete {
	position: absolute;
	top: 0;
	left: 0;
	width: auto;
	background-color: #fff;
	border: 1px solid #CCC;
	margin: 0;
	padding: 0;
	overflow: auto;
	height: 400px;
	opacity: .9;
	white-space: nowrap
}

div.autocomplete ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

div.autocomplete ul li.selected {
	background-color: #ffb;
}

div.autocomplete ul li {
	list-style-type: none;
	display: block;
	color: #000;
	font-size: 10px;
	text-align: left;
	margin: 0;
	padding: 2px;
	height: 16px;
	cursor: pointer;
	white-space: nowrap
}

#current_time {
	font-size: 40px;
	height: 44px;
	display: block;
}

#weather_container {
	float: right;
	width: 30%;
	margin: 0 0 10px 10px;
}

#venueweather {
	padding: 10px;
	font-size: 12px;
}

#venueweather .venue_weather_icon {
	border-radius: 5px;
	box-shadow: 0 0 6px #7d7d7d;
}

#venueweather .venue_weather_temperature {
	font-size: 50px;
	line-height: 40px;
}

#venueweather .venue_weather_string {
	font-size: 28px;
	line-height: 32px;
	clear: left;
}

#venueweather .venue_weather_observation_time {
	font-size: 10px;
}

#sales_container {
	float: right;
	width: 30%;
	margin: 0 0 10px 10px;
	border-spacing: 5px;
}

.contact_name {
	font-size: 3em;
	line-height: 1em;
}

.contact_company {
	font-size: 2em;
	line-height: 1em;
}

::selection {
	color: #fff;
	background: #7a7a7a;
}

::-moz-selection {
	color: #fff;
	background: #7b7b7b;
}

#logo {
	text-align: center
}

#logo img {
	border: none;
	margin: 0 auto
}

#logo_lightmode {
	display: block;
}

#logo_darkmode {
	display: none;
}


div#search_for_auto_complete {
	position: absolute;
	width: 80%;
	max-height: 600px;
	overflow: auto;
	top: 44px;
	left: 0;
	right: 0;
	margin: auto;
	background-color: #FFF;
	padding: 0px;
	z-index: 99999;
	-khtml-border-radius: 4px;
	-ms-border-radius: 4px;
	-o-border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border: 1px #CCC solid;
	border-top: none;
	border-radius: 4px;
	-khtml-box-shadow: rgba(0, 0, 0, 0.5) 0 0 10px;
	-ms-box-shadow: rgba(0, 0, 0, 0.5) 0 0 10px;
	-o-box-shadow: rgba(0, 0, 0, 0.5) 0 0 10px;
	-moz-box-shadow: rgba(0, 0, 0, 0.5) 0 0 10px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0 0 10px;
	box-shadow: rgba(0, 0, 0, 0.5) 0 0 10px;
}

#auto_close {
	/*
	display:inline;
	position:absolute;
	right:15px;
*/
	cursor: pointer;
}

ul.contacts {
	list-style-type: none;
	margin: 0;
	padding: 10px;
	text-align: left;
	z-index: 9;
}

ul.contacts div.header {
	text-align: left;
	padding: 10px;
	font-size: 14px;
	font-weight: 500;
	z-index: 9;
}

ul.contacts div.footer {
	text-align: center;
	padding: 10px;
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	z-index: 9;
}

ul.contacts div.footer:hover {
	background-color: white;
}

/*
ul.contacts li:hover {
	background-color:yellow;
	cursor:pointer;
	z-index:9;
}
*/

li.contact {
	list-style-type: none;
	display: block;
	margin: 0;
	padding: 5px;
	height: auto;
	z-index: 9;
	background-color: #FFF;
	cursor: pointer;
}

li.contact a {
	text-decoration: none;
	color: gray !important;
	padding: 5px;
}

li.contact a:hover {
	text-decoration: none;
	color: black !important;
}

li.contact div.image {
	float: left;
	width: 11px;
	height: 11px;
	margin-right: 8px;
	margin-left: 8px;
}

li.contact div.name {
	font-weight: 500;
	font-size: 12px;
	line-height: 1.2em;
	color: #000;
}

.vrow_a {
	background-color: #fff;
}

.vrow_b {
	background-color: #efefef;
}

/* Entire pane */
#dhtmlgoodies_xpPane {
	float: left;
	width: 100%;
	white-space: nowrap;
	left: 0;
}

#dhtmlgoodies_xpPane .dhtmlgoodies_panel {
	margin-left: 0;
	margin-right: 2px;
	margin-top: 10px;
}

#dhtmlgoodies_xpPane .panelContent {
	font-size: 10px;
	/*
		border-left:1px solid #FFF;
		border-bottom:1px solid #FFF;
*/
	padding-left: 2px;
	padding-right: 2px;
	overflow: hidden;
	position: relative;
	clear: both;
	/* background-color:#fff; */
}

#dhtmlgoodies_xpPane .panelContent div {
	position: relative;
}

#dhtmlgoodies_xpPane .dhtmlgoodies_panel .topBar {
	height: 30px;
	padding-right: 8px;
	cursor: pointer;
	overflow: hidden;
}

#dhtmlgoodies_xpPane .dhtmlgoodies_panel .topBar span {
	line-height: 30px;
	vertical-align: middle;
	font-size: 13px;
	font-weight: 600;
	color: #444;
	float: left;
	padding-left: 4px;
}

#dhtmlgoodies_xpPane .dhtmlgoodies_panel .topBar i,
#dhtmlgoodies_xpPane .dhtmlgoodies_panel .topBar svg.icon {
	float: right;
	cursor: pointer;
	padding: 8px 5px;
	line-height: 14px;
}

#dhtmlgoodies_xpPane .dhtmlgoodies_panel .topBar .chevron-down,
#dhtmlgoodies_xpPane .dhtmlgoodies_panel .topBar.open .chevron-up {
	display: none;
}

#dhtmlgoodies_xpPane .dhtmlgoodies_panel .topBar.open .chevron-down,
#dhtmlgoodies_xpPane .dhtmlgoodies_panel .topBar .chevron-up {
	display: block;
}

.priority {
	animation: blink 1s step-start 0s infinite;
	-webkit-animation: blink 1s step-start 0s infinite;
}

.priority-very_high {
	color: red;
	animation: blink 1s step-start 0s infinite;
	-webkit-animation: blink 1s step-start 0s infinite;
}

.priority-high {
	color: orange;
	animation: blink 1s step-start 0s infinite;
	-webkit-animation: blink 1s step-start 0s infinite;
}

@keyframes blink {
	50% {
		opacity: 0.0;
	}
}

@-webkit-keyframes blink {
	50% {
		opacity: 0.0;
	}
}

.priority-normal {
	color: transparent;
}

i.venue_copy {
	color: #900;
	cursor: pointer;
	padding: 0 5px;
	position: relative;
}

i.venue_copy:hover {
	color: #F30;
}

i.venue_help {
	color: green
}

i.venue_help:after {
	position: absolute;
	left: 50%;
	top: 100%;
	margin-top: 11px;
	background: green;
	color: #FFF;
	padding: .5em 1em;
	white-space: normal;
	z-index: 10;
	transition: all 0.18s ease-out 0.18s;
	pointer-events: auto;
	border-radius: 4px;
	font-family: Arial;
	font-size: 12px;
	width: 300px;
}

i.venue_copy:after,
.stage_container label.stage:after {
	position: absolute;
	left: 50%;
	top: 100%;
	margin-top: 11px;
	background: rgba(33, 37, 41, 0.9);
	color: #FFF;
	padding: .5em 1em;
	white-space: nowrap;
	z-index: 10;
	transition: all 0.18s ease-out 0.18s;
	pointer-events: auto;
	border-radius: 4px;
	font-family: Arial;
	font-size: 12px;
	text-transform: uppercase;
}

i.venue_help:hover:after, i.venue_copy:hover:after,
.stage_container label.stage:hover:after {
	content: attr(data-balloon);
	transform: translate(-20%, 0);
}

i.copy_active {
	z-index: 10;
	animation-delay: 0s;
	-webkit-animation-name: bounce;
	animation-name: bounce;
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
}



@-webkit-keyframes bounce {
	0% {
		-webkit-transform: translateY(-100%);
	}

	5% {
		-webkit-transform: translateY(-100%);
	}

	15% {
		-webkit-transform: translateY(0);

	}

	20% {
		-webkit-transform: translateY(-80%);
	}

	25% {
		-webkit-transform: translateY(0%);

	}

	30% {
		-webkit-transform: translateY(-70%);
	}

	35% {
		-webkit-transform: translateY(0%);

	}

	40% {
		-webkit-transform: translateY(-60%);
	}

	45% {
		-webkit-transform: translateY(0%);

	}

	50% {
		-webkit-transform: translateY(-50%);
	}

	55% {
		-webkit-transform: translateY(0%);

	}

	60% {
		-webkit-transform: translateY(-30%);
	}

	65% {
		-webkit-transform: translateY(0%);

	}

	70% {
		-webkit-transform: translateY(-15%);
	}

	75% {
		-webkit-transform: translateY(0);

	}

	80% {
		-webkit-transform: translateY(-10%);
	}

	85% {
		-webkit-transform: translateY(0);

	}

	90% {
		-webkit-transform: translateY(-5%);
	}

	95% {
		-webkit-transform: translateY(0);

	}

	100% {
		-webkit-transform: translateY(0);

	}
}

@keyframes bounce {
	0% {
		-webkit-transform: translateY(-100%);
	}

	5% {
		-webkit-transform: translateY(-100%);
	}

	15% {
		-webkit-transform: translateY(0);

	}

	20% {
		-webkit-transform: translateY(-80%);
	}

	25% {
		-webkit-transform: translateY(0%);

	}

	30% {
		-webkit-transform: translateY(-70%);
	}

	35% {
		-webkit-transform: translateY(0%);

	}

	40% {
		-webkit-transform: translateY(-60%);
	}

	45% {
		-webkit-transform: translateY(0%);

	}

	50% {
		-webkit-transform: translateY(-50%);
	}

	55% {
		-webkit-transform: translateY(0%);

	}

	60% {
		-webkit-transform: translateY(-30%);
	}

	65% {
		-webkit-transform: translateY(0%);

	}

	70% {
		-webkit-transform: translateY(-15%);
	}

	75% {
		-webkit-transform: translateY(0);

	}

	80% {
		-webkit-transform: translateY(-10%);
	}

	85% {
		-webkit-transform: translateY(0);

	}

	90% {
		-webkit-transform: translateY(-5%);
	}

	95% {
		-webkit-transform: translateY(0);

	}

	100% {
		-webkit-transform: translateY(0);

	}
}


hr {
	overflow: visible;
	/* For IE */
	padding: 0;
	border: none;
	border-top: medium double #333;
	color: #333;
	text-align: center;
}

table tr th,
table tbody tr th,
table tr.table_header td {
	padding: 5px;
	font-weight: bold;
	text-transform: uppercase;
	height: 30px;
}

#session_time {
	font-size: 10px;
	color: #979797;
	text-align: center
}

#session_timeout_window {
	z-index: 9999999;
	background-color: #303030;
	opacity: .95;
	filter: alpha(opacity=95);
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	overflow: auto;
	padding: 15px;
	width: auto;
	height: auto;
}

#session_timeout_window .alert_error_container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 20px;
}

input[type="checkbox"][readonly] {
	pointer-events: none;
}

.notify_background_green_five_sec {
	animation: background-fade 5s forwards;
}

@keyframes background-fade {
	0% {
		background: rgba(0, 128, 0, 0.51);
	}

	100% {
		background: transparent;
	}
}

.notify_background_red_five_sec {
	animation: backgroundred-fade 5s forwards;
}

@keyframes backgroundred-fade {
	0% {
		background: rgba(128, 0, 0, 0.51);
	}

	100% {
		background: transparent;
	}
}

.thumbli {
	display: inline-flex;
	position: relative;
	width: 100px;
	height: auto;
	min-height: 150px;
	text-align: center;
	vertical-align: middle;
	align-items: center;
	justify-content: center;
	border: 1px solid #989898;
	padding: 5px;
	margin: 0 5px 5px 0;
}

.thumbli a {
	display: block;
	width: 100%;
	text-decoration: none;
}


.thumbli a span:first-of-type {
	display: block;
	margin-bottom: 10px;
	font-size: 70px;
}

.thumbli a span {
	text-decoration: none;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100px;
	margin: 0 auto;
	font-size: 10px;
}

.thumbli a span img {
	max-width: 100%;
	height: auto;
	margin-bottom: 5px;
}

.thumbli a span:last-of-type {
	padding: 0;
	margin: 0;

}

div.todo_history .thumbli {
	width: 100%;
}

div.todo_history .thumbli a span {
	width: 100%;
}

.lazy-thumb-wrapper {
	position: relative;
	display: inline-block;
	text-align: center;
}

.lazy-thumb-wrapper .fa-file-image {
	opacity: 0.5;
}

.load-thumb-btn {
	display: block;
	margin: 5px auto 0;
	padding: 2px 8px;
	font-size: 10px;
	background: #007bff;
	color: #fff;
	border: none;
	border-radius: 3px;
	cursor: pointer;
}

.load-thumb-btn:hover {
	background: #0056b3;
}

.load-thumb-btn:disabled {
	background: #6c757d;
	cursor: wait;
}

.cnt223 a {
	text-decoration: none
}

.cnt223 {
	min-width: 280px;
	max-width: 600px;
	min-height: 150px;
	margin: 100px auto;
	background: #f3f3f3;
	position: relative;
	z-index: 103;
	padding: 15px 35px;
	border-radius: 5px;
	box-shadow: 0 2px 5px #000
}

.cnt223 p {
	clear: both;
	color: #555;
	font-size: 15px;
	font-family: sans-serif;
	padding-top: 5px;
}

.cnt223 p a {
	color: #d91900;
	font-weight: 700;
}

.cnt223 .close {
	width: 20px;
	height: 20px;
	position: absolute;
	top: -10px;
	right: -10px;
	background: #5372a4;
	border-radius: 100%;
	text-align: center;
	line-height: 20px;
	color: #fff;
}

.cnt223 .close:hover {
	cursor: pointer
}

.cnt223 h3 {
	font-size: 20px;
	padding-top: 5px;
}

.cnt223 h2 {
	font-size: 25px;
	padding-top: 5px;
}

.tooltipmain {
	text-align: center;
}

.tooltipmain p.tooltip {
	outline: none;
	display: inline-block;
	position: relative;
	cursor: pointer;
}

.tooltipmain p.tooltip strong {
	line-height: 30px;
}

.tooltipmain p.tooltip:hover {
	text-decoration: none;
}

.tooltipmain p.tooltip:hover span {
	display: block;
}


.tooltipmain p.tooltip span a {
	font-size: 14px;
	display: block;
	line-height: 24px;
	text-decoration: none;
}

.tooltipmain p.tooltip span {
	z-index: 10;
	display: none;
	padding: 10px;
	line-height: 16px;
	position: absolute;
	background-color: #CCC;
	border-radius: 10px;
	min-width: 180px;
	top: 31px;
	right: 0;
	text-align: right;
}

.tooltipmain p.tooltip {
	outline: none;
	display: inline-block;
	position: relative;
	cursor: pointer;
	padding: 8px 20px;
	background: gray;
	border-radius: 30px;
	color: #fff;
}

.divroundimage {
	width: 80px;
	height: 80px;
	border-radius: 100%;
	overflow: hidden;
	border: 5px solid #ccc;
	display: flex;
	justify-content: center;
	align-items: center;
}

.rimage {
	max-width: 100%;
	height: auto;
	display: inline-block;
}

.wordwrap20percent {
	width: 20%;
	word-break: break-all;
}

.wordwrap80percent {
	width: 80%;
	word-break: break-all;
}

.staff_note {
	background-color: #e8b0a8 !important;
}

.stage_container {
	position: relative;
	display: flex;
	flex-grow: 1;
	padding: 0;
	margin: 0;
	vertical-align: baseline
}

.stage_container label.stage {
	position: relative;
	display: flex;
	flex-grow: 1;
	margin: 0 4px 0 0;
	height: 2px;
	background-color: transparent;
	border: 1px #CCC solid;
}

.stage_container label.stage_1.stage_active {
	background-color: gray;
}

.stage_container label.stage_2.stage_active {
	background-color: green;
}

.stage_container label.stage_3.stage_active {
	background-color: red;
}

.stage_container label.stage_4.stage_active {
	background-color: blue;
}

.stage_container label.stage_5.stage_active {
	background-color: darkgray;
}

#popup_container {
	position: fixed;
	z-index: 9999997;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	display: none;
	overflow: scroll;
	background-color: rgba(0, 0, 0, 0.5);
}

#popup {
	position: fixed;
	background-color: #FFF;
	margin: auto;
	padding: 10px;
	box-shadow: 1px 1px 15px rgba(18, 17, 17, 0.81);
	border-radius: 25px;
	z-index: 9999998;
	overflow: scroll;
	width: 50%;
	height: 90%
}

#popupheader {
	padding: 10px;
	margin-bottom: 10px;
	cursor: move;
	z-index: 10;
	background-color: #CCC;
	color: #000;
	border-radius: 10px;
	text-align: center
}

.nowrap {
	white-space: nowrap
}

.bgcalandar {
	background-color: #FFF !important;
}

.alldaycalandar {
	background-color: #e9e9e9 !important;
}

.alldaycalandar td:first-child {
	background-color: #FFF;
}

.calendar_view_loading {
	height: auto;
	width: 100%;
	text-align: center;
	padding: 25px;
}

.loading_placeholder_20 {
	animation: loading-fade 1.6s ease-in-out infinite;
	background-color: #f0f0f0;
	color: transparent;
	display: inline-block;
	height: 20px;
	width: 100%;
	margin: 10px 0;
}

.loading_placeholder_100 {
	animation: loading-fade 1.6s ease-in-out infinite;
	background-color: #f0f0f0;
	color: transparent;
	display: inline-block;
	height: 100px;
	width: 100%;
	margin: 10px 0;
}

@keyframes loading-fade {
	0% {
		opacity: .2
	}

	50% {
		opacity: 1
	}

	to {
		opacity: .2
	}
}

.noti-content {
	width:100%;padding:10px;box-shadow:0 0 20px rgba(0,0,0,0.15);border:1px solid rgba(137,179,255,1);border-radius:10px;background-color: #fff; box-sizing: border-box
}

#pushmessage {
	color:#333;font-size:14px;line-height:20px;text-align:left;display:block;margin:0
}



  /* Upload Box */
        .upload-box {
            border: 2px dashed #007bff;
            border-radius: 10px;
            padding: 30px;
            text-align: center;
            cursor: pointer;
            background: #f8f9fa;
            width: 50%;
            margin: auto;
        }

        .upload-box p {
            font-size: 16px;
            color: #555;
            margin: 10px 0;
        }

        .upload-box:hover {
            background: #e9ecef;
        }

        /* Thumbnails */
        .filer-items {
            margin-top: 20px;
        }

        .filer-item {
            display: flex;
            align-items: center;
            border: 1px solid #ccc;
            border-radius: 5px;
            padding: 10px;
            margin: 10px 0;
            background: #fff;
            width: 50%;
            margin: auto;
        }

        .filer-thumb-img {
            width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 5px;
            margin-right: 10px;
        }

        .filer-item-title {
            flex-grow: 1;
            font-size: 14px;
            color: #333;
        }

        .filer-item-actions i {
            cursor: pointer;
            margin-left: 10px;
            color: #888;
        }

        .filer-item-actions i:hover {
            color: #007bff;
        }
        
 .fileuploader-items .fileuploader-item .fileuploader-item-image img {
    position: static;
    width: 150px;
    height: 150px;
    object-fit: contain;
    object-position: center;
    transform: unset;
    
}

.fileuploader-items .fileuploader-item .fileuploader-item-icon {
    width: 32px;
    height: 32px;
    
}
/* Title case for uppercase text */
.titlecase {
    text-transform: lowercase;
}
.titlecase::first-letter {
    text-transform: uppercase;
}

/* Staff Note checkbox highlight */
.staff-note-checkbox {
    padding: 4px 10px;
    float: right;
    font-size: 10px;
    background: #fff3e0;
    border: 1px solid #ff9800;
    border-radius: 4px;
    margin-left: 5px;
}
.staff-note-checkbox strong {
    color: #e65100;
}
.staff-note-checkbox .fa-eye-slash {
    color: #ff9800;
    margin-left: 3px;
}

/* After Hours Auto-Response Notice */
.after-hours-notice {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: #fff;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    text-align: left;
}
.after-hours-notice i.fa-moon {
    font-size: 20px;
}

/* Menu Section Headers */
.menu-section-header {
    color: #333;
}
.menu-section-subheader {
    color: #666;
    font-size: 11px;
}

/* Code blocks */
pre.code-block {
    background: #f5f5f5;
    padding: 15px;
    overflow-x: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Table section headers */
tr.section-header td {
    background: #eee;
}

/* Status indicators */
.status-complete {
    color: #28a745;
}
.status-pending {
    color: #999;
}
h3.status-complete {
    color: #28a745;
}
h3.status-pending {
    color: #007bff;
}

/* Accounting page common styles */
.text-muted {
    color: #666;
}
.text-muted-light {
    color: #999;
}
.text-success {
    color: #28a745;
}
.text-danger {
    color: #dc3545;
}
.text-warning {
    color: #f0ad4e;
}
.text-info {
    color: #007bff;
}
.status-active {
    color: green;
}
.status-inactive {
    color: #999;
}
.btn-secondary {
    padding: 5px 15px;
    background: #eee;
    text-decoration: none;
}
.info-box {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}
.empty-message {
    padding: 20px;
    color: #666;
    text-align: center;
}

/* Accounting form styles */
.acct-form {
    background: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}
.acct-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.acct-form input[type="text"],
.acct-form input[type="email"],
.acct-form input[type="number"],
.acct-form input[type="date"],
.acct-form select,
.acct-form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}
.acct-form .form-row {
    display: flex;
    gap: 20px;
}
.acct-form .form-row > div {
    flex: 1;
}

/* Accounting report and section styles */
.summary-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.recon-section {
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}
.settings-section {
    background: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}
.report-table .total-row {
    font-weight: bold;
    background: #f9f9f9;
    border-top: 2px solid #333;
}
.type-badge {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    background: #6c757d;
    color: white;
}
.badge-1099 {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
}

/* Account type badges */
.type-asset { background: #28a745; }
.type-liability { background: #dc3545; }
.type-equity { background: #6f42c1; }
.type-income { background: #007bff; }
.type-expense { background: #fd7e14; }
.system-badge { background: #6c757d; color: white; padding: 2px 6px; border-radius: 3px; font-size: 10px; margin-left: 5px; }

/* Attachment styles */
.attachment-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: #f9f9f9;
    margin-bottom: 5px;
    border-radius: 4px;
}
.attachment-item img {
    max-width: 50px;
    max-height: 50px;
    border-radius: 3px;
}

/* Color picker and tag styles */
.color-preview { display: inline-block; width: 30px; height: 30px; border-radius: 3px; vertical-align: middle; margin-right: 10px; }
.color-picker-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.color-picker-wrap input[type="color"] { width: 50px; height: 35px; border: none; cursor: pointer; }
.preset-colors { display: flex; gap: 5px; flex-wrap: wrap; }
.preset-colors span { width: 25px; height: 25px; border-radius: 3px; cursor: pointer; border: 2px solid transparent; }
.preset-colors span:hover { border-color: #333; }
.tag-badge { display: inline-block; padding: 4px 12px; border-radius: 15px; color: white; font-size: 12px; font-weight: bold; }

/* Journal entry styles */
.je-table { width: 100%; border-collapse: collapse; margin-bottom: 15px; }
.je-table th, .je-table td { padding: 8px; border: 1px solid #ddd; }
.je-table input, .je-table select { width: 100%; padding: 5px; box-sizing: border-box; }
.balance-indicator { padding: 10px; border-radius: 5px; margin-bottom: 15px; }
.balance-indicator.balanced { background: #d4edda; color: #155724; }
.balance-indicator.unbalanced { background: #f8d7da; color: #721c24; }

/* Reconciliation styles */
.recon-stats { display: flex; gap: 20px; margin-bottom: 20px; }
.stat-box { padding: 15px 25px; border-radius: 5px; text-align: center; }
.stat-box .number { font-size: 24px; font-weight: bold; }
.stat-box .label { font-size: 12px; color: #666; }

/* Report print styles */
@media print {
    .no-print { display: none !important; }
}

/* Expense form styles */
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.form-grid.full { grid-template-columns: 1fr; }
.form-group { margin-bottom: 10px; }
.form-group label { display: block; font-weight: bold; margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; }
.tag-checkboxes { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-checkbox { display: inline-flex; align-items: center; padding: 5px 10px; background: #eee; border-radius: 15px; cursor: pointer; }
.tag-checkbox input { margin-right: 5px; }
.amount-col { text-align: right; }
.linked { color: #28a745; }
.actions-col { white-space: nowrap; }
.summary-bar { display: flex; justify-content: space-between; background: #e9ecef; padding: 10px 15px; border-radius: 5px; margin-bottom: 15px; }

/* Journal entry line styles */
.je-lines { width: 100%; margin-top: 15px; }
.je-lines th { background: #eee; padding: 8px; text-align: left; }
.je-lines td { padding: 5px; }
.je-lines input, .je-lines select { width: 100%; box-sizing: border-box; }
.je-lines .line-total { background: #f5f5f5; font-weight: bold; }
.source-badge { padding: 2px 6px; border-radius: 3px; font-size: 10px; background: #6c757d; color: white; }

/* Settings page styles */
.settings-section h3 { margin-top: 0; border-bottom: 1px solid #ddd; padding-bottom: 10px; }
.settings-section label { display: block; margin-bottom: 5px; font-weight: bold; }
.settings-section input[type="text"], .settings-section input[type="number"], .settings-section input[type="date"], .settings-section select {
    padding: 8px; border: 1px solid #ccc; border-radius: 3px; margin-bottom: 15px;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 20px; }
.stat-box { background: #fff; border: 1px solid #ddd; border-radius: 5px; padding: 15px; text-align: center; }
.stat-box .number { font-size: 24px; font-weight: bold; }
.warning-box { background: #fff3cd; border: 1px solid #ffc107; padding: 15px; border-radius: 5px; margin-bottom: 15px; }

/* Reconciliation styles */
.type-credit { color: #28a745; }
.type-debit { color: #dc3545; }
.matched { background: #d4edda !important; }
.unmatched { background: #fff3cd !important; }
.action-btn { padding: 3px 8px; font-size: 11px; cursor: pointer; border: 1px solid #ccc; border-radius: 3px; margin: 2px; background: #fff; }
.action-btn:hover { background: #eee; }

/* Modal styles */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; }
.modal-content { background: white; width: 600px; max-height: 80vh; overflow-y: auto; margin: 50px auto; padding: 20px; border-radius: 5px; }
.modal-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #ddd; padding-bottom: 10px; margin-bottom: 15px; }
.close-btn { font-size: 24px; cursor: pointer; }
.match-option { padding: 10px; border: 1px solid #ddd; margin-bottom: 10px; border-radius: 5px; cursor: pointer; }
.match-option:hover { background: #f5f5f5; }
.confidence { padding: 2px 8px; border-radius: 10px; font-size: 11px; color: white; }
.confidence-high { background: #28a745; }
.confidence-medium { background: #ffc107; color: #333; }
.confidence-low { background: #dc3545; }

/* Report common styles */
.report-header { margin-bottom: 20px; }
.report-header h2 { margin: 0; }
.report-header .date-range { color: #666; font-size: 14px; }
.report-filters { background: #f5f5f5; padding: 15px; border-radius: 5px; margin-bottom: 20px; display: flex; gap: 15px; align-items: end; flex-wrap: wrap; }
.report-filters label { display: block; font-size: 12px; color: #666; margin-bottom: 3px; }
button.preset-btn { padding: 5px 12px; border: 1px solid #ccc; background-color: #fff; color: #333; cursor: pointer; border-radius: 3px; font-size: 12px; font-weight: normal; }
button.preset-btn:hover { background-color: #eee; color: #333; border-color: #ccc; box-shadow: none; }
button.preset-btn.active { background-color: #007bff; color: #fff; border-color: #007bff; }
button.preset-btn.active:hover { background-color: #0069d9; color: #fff; border-color: #0069d9; }
.report-filters input[type="submit"] { padding: 5px 15px; font-size: 12px; }
.report-filters button.text { background-color: #fff; color: #333; border: 1px solid #ccc; font-weight: normal; font-size: 12px; padding: 5px 15px; }
.report-filters button.text:hover { background-color: #eee; color: #333; border-color: #ccc; box-shadow: none; }
.report-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.report-section { margin-bottom: 30px; }
.report-section h3 { margin: 0 0 10px 0; padding-bottom: 5px; border-bottom: 2px solid #333; }
.report-table { width: 100%; border-collapse: collapse; }
.report-table td { padding: 8px 10px; border-bottom: 1px solid #eee; }
.report-table .amount { text-align: right; width: 150px; }
.report-table .subtotal-row { font-weight: bold; background: #fafafa; }
.income-total { color: #28a745; }
.expense-total { color: #dc3545; }
.net-income { font-size: 18px; }
.net-positive { color: #28a745; }
.net-negative { color: #dc3545; }
.summary-item { text-align: center; }
.summary-item .value { font-size: 20px; font-weight: bold; }
.summary-item .label { color: #666; font-size: 12px; }
.assets-color { color: #007bff; }
.liabilities-color { color: #dc3545; }
.equity-color { color: #28a745; }
.no-data { color: #999; font-style: italic; padding: 10px; text-align: center; }
.equation { font-size: 14px; color: #666; margin-top: 10px; }
.balance-check { padding: 15px; border-radius: 5px; margin-bottom: 20px; text-align: center; }
.balance-check.balanced { background: #d4edda; color: #155724; }
.balance-check.unbalanced { background: #f8d7da; color: #721c24; }
.variance-positive { color: #28a745; }
.variance-negative { color: #dc3545; }

/* Budget vs Actual report styles */
.report-table th { text-align: left; padding: 10px; background: #f5f5f5; border-bottom: 2px solid #ddd; }
.report-table th.amount { text-align: right; }
.report-table .variance { text-align: right; width: 120px; }
.report-table .pct { text-align: right; width: 80px; }
.positive { color: #28a745; }
.negative { color: #dc3545; }
.neutral { color: #666; }
.variance-bar { height: 8px; background: #e9ecef; border-radius: 4px; overflow: hidden; width: 100px; display: inline-block; vertical-align: middle; margin-left: 5px; }
.variance-fill { height: 100%; }
.variance-fill.over { background: #dc3545; }
.variance-fill.under { background: #28a745; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.summary-row .label { color: #666; }
.no-budget { color: #999; font-style: italic; }

/* 1099 report styles */
.year-btn { padding: 8px 16px; border: 1px solid #ccc; background: #fff; cursor: pointer; border-radius: 3px; font-size: 14px; }
.year-btn:hover { background: #eee; }
.year-btn.active { background: #007bff; color: #fff; border-color: #007bff; }
.report-table .count { text-align: center; width: 80px; }
.vendor-address { color: #666; font-size: 12px; margin-top: 3px; }
.tax-id { font-family: monospace; background: #f5f5f5; padding: 2px 6px; border-radius: 3px; }
.missing-tax-id { color: #dc3545; font-style: italic; }
.threshold-note { background: #fff3cd; border: 1px solid #ffc107; padding: 10px 15px; border-radius: 5px; margin-bottom: 20px; }
.below-threshold { opacity: 0.6; }
.section-header { margin: 30px 0 15px 0; padding-bottom: 5px; border-bottom: 2px solid #333; }

/* Danger button */
.btn-danger {
    background: #dc3545 !important;
    color: white !important;
    border-color: #dc3545 !important;
}
.btn-danger:hover {
    background: #c82333 !important;
}

/* Inline SVG icons */
svg.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    display: inline-block;
    fill: currentColor;
}
svg.icon.fa-2x {
    width: 2em;
    height: 2em;
}
svg.icon.fa-spin {
    animation: fa-spin 2s linear infinite;
}
@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* AI button pulse animation */
#load-ai-suggestion.button {
    animation: pulse-shadow 1.6s ease-out 0s 3;
}
@keyframes pulse-shadow {
    0% { box-shadow: 0 0 0 0 rgba(74, 122, 181, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(74, 122, 181, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 122, 181, 0); }
}
.pulse-circle {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #4a7ab5;
    border-radius: 50%;
    animation: pulse-circle 1.2s ease-out infinite;
}
@keyframes pulse-circle {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.8); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}


/* Delete button styling for POST forms */
form[style*="display:inline"] button[type="submit"] { color: inherit; }

/* Session timeout modal */
#session_timeout_window .session-modal {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.3);
	padding: 40px;
	width: 380px;
	max-width: 90vw;
	text-align: center;
	font-family: Arial, sans-serif;
}
#session_timeout_window .session-modal-logo {
	margin-bottom: 24px;
}
#session_timeout_window .session-modal-logo img {
	max-height: 40px;
}
#session_timeout_window .session-modal h2 {
	font-size: 20px;
	font-weight: 600;
	color: #333;
	margin: 0 0 12px 0;
}
#session_timeout_window .session-modal p {
	font-size: 14px;
	color: #666;
	margin: 0 0 20px 0;
	line-height: 1.5;
}
#session_timeout_window .session-form-group {
	text-align: left;
	margin-bottom: 16px;
}
#session_timeout_window .session-form-group label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #444;
	margin-bottom: 4px;
	width: auto;
	float: none;
	text-align: left;
	padding: 0;
}
#session_timeout_window .session-form-group input {
	width: 100%;
	padding: 6px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
	float: none;
	margin: 0;
}
#session_timeout_window .session-form-group input:focus {
	border-color: #4a90d9;
	outline: none;
	box-shadow: 0 0 0 2px rgba(74,144,217,0.2);
}
#session_timeout_window .session-modal .button {
	width: 100%;
	padding: 10px;
	font-size: 15px;
	margin-top: 8px;
}
#session_timeout_window .session-modal-footer {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #eee;
}
#session_timeout_window .session-modal-footer a {
	font-size: 13px;
	color: #999;
	text-decoration: none;
}
#session_timeout_window .session-modal-footer a:hover {
	color: #666;
}
@media (prefers-color-scheme: dark) {
	#session_timeout_window .session-modal {
		background: #2C2B31;
		box-shadow: 0 8px 32px rgba(0,0,0,0.6);
	}
	#session_timeout_window .session-modal h2 { color: #e0e0e0; }
	#session_timeout_window .session-modal p { color: #aaa; }
	#session_timeout_window .session-form-group label { color: #ccc; }
	#session_timeout_window .session-form-group input {
		background: #3a3940;
		border-color: #555;
		color: #e0e0e0;
	}
	#session_timeout_window .session-form-group input:focus {
		border-color: #E8BA49;
		box-shadow: 0 0 0 2px rgba(232,186,73,0.2);
	}
	#session_timeout_window .session-modal-footer { border-top-color: #444; }
	#session_timeout_window .session-modal-footer a { color: #777; }
	#session_timeout_window .session-modal-footer a:hover { color: #aaa; }
}


table.standard tr#check_number[style*="display: none"] ~ tr:nth-child(odd):not(.noaltbgcolor) { background-color: #FFF; }
table.standard tr#check_number[style*="display: none"] ~ tr:nth-child(even):not(.noaltbgcolor) { background-color: #F5F5F5; }
