:root {
	--header-height: 56px;
	--footer-height: 35px;	
	--background-color: black;
	--background-color-right: #0087d0;
	--header-ratio-sm: 1;
}

body,html {
	width: 100%;
	height:100%;
	min-width: 100%;
	min-height:100%;
}

body {
	font-family: 'Open Sans', 'Merriweather', 'Helvetica Neue', Arial, sans-serif !important;
}

hr {	
	border-width: 3px;
	border-color: var( --background-color );
	margin-top:5px;
	width: 100%;	
}

hr.light {
	border-color: #fafafa;
}

.hr-sm {
	border-width:1px;
	border-color: var( --background-color );
	margin-top:unset;
	margin-bottom:4px;
}

.hr-w {
	border-color: var( --background-color );
	width: 75% !important;
	padding-bottom: 10px;
}

.hr-r {
	border-color: var( --background-color );
	width: 50% !important;
	padding-bottom: 10px;
	border-width: 2px;
}

.row-bottom {
	border-bottom:1px solid #e8e8e9;
}

label {
	font-weight: bold;
}

.img-responsive {
	width:75%;
	height:75%;
}

a {
	color: #008080;
}

a:hover {
	color: grey;
}

h1,h2,h3,h4,h5,h6 {
	font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

h1 {
	font-size:1.5rem;
}

h2 {
	font-size:1.4rem;
}

h3 {
	font-size:1.3rem;
}

h4 {
	font-size:1.2rem;
}

h5 {
	font-size:1.1rem;
}

h4.light {
	color: #fafafa;
	font-weight: 600;
}

input-display {
	background-color: lightcyan !important;
	min-height: 2.4em;
}

.readonly {
	background-color: lightcyan !important;
}

.group-wide > .input-group > .input-group-prepend {
	width:100%;
}

.group-wide > .input-group > .input-group-text {
	min-width:100%;
	width:100%;
}

.group-wide > .input-group > .input-group-text {
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-width:100%;
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: .375rem .75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;    
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-top-left-radius: .25rem  !important;
    border-top-right-radius: .25rem !important;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.group-wide > .input-group > .form-control {
	white-space:pre-wrap;
	min-width:100%;
	width:100%;
	margin-top:-1px !important;
	margin-left:0px !important;
	border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    border-bottom-left-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}

left {
	position: relative;
	margin: 5px;
	display: inline-block;
}

.bg-primary {
	background-color: #100000 !important;
}

.bg-top {
	margin-top: 100px;
	color: #fafafa;
	background-color: #600000 !important;;
}

.text-faded {
	color: rgba(255, 255, 255, 0.7);
}

.bg-light {
	background-color: #fafafa !important;
	color: #100000;
}

.bg-dark {
	background-color: #200000 !important;
	color: #fafafa;
}

.bg-blue {
	color: var( --background-color );
}

.section-heading {
	margin-top: 0;
}

img :selection {
	color: #fafafa;
	background: transparent;
}

.serv-box {
	max-width: 400px;
}

.text-bold {
	font-weight: bold;
}

.text-right {
	text-align: right;
}

.fld-date {
	width: 50%;
	min-width: 175px;
	max-width: 200px;
	display: inline !important;
}

.fld-time {
	width: 35%;
	min-width: 135px;
	max-width: 150px;
	display: inline !important;
	margin-left: 5px;
}

.errorResp {
	background-color: #bc1e1e !important;
	color: white;
}

.form-control {
	min-height:34px;
}

.form-control:disabled,.form-control[readonly] {
	background-color: lightcyan !important;
}

/**Content**/

.embedded-view-title {
	padding-top:15px;
	font-weight:bold;
	font-size:1.15em;
}

header {
	min-height: var( --header-height );	
	opacity: 0.95;
}

.navbar-title {	
	color:white;
}

.nav-menu-main {
	padding:5px;
}

.image-menu-mobile {
	max-height:17px;
}

.button-menu {
	padding:0px;
}

main {
	padding-top: var( --header-height );
	color: black;
	min-height: calc( 100vh - ( var( --footer-height ) ) );
	padding-bottom:5px;
}

.content {
	padding-left:5px;
	padding-right:5px;
}

/**Footer**/
footer {
	bottom: 0;
	width: 100%;
	height:var( --footer-height ) !important; /* Height of the footer */
	max-height:var( --footer-height ) !important;
	background-color:var( --background-color );
	overflow: hidden;
	padding-top: 5px;
	padding-bottom: 5px;
}


footer * {
	font-size: 1em;
	color:white !important;
}

/**XSP Adjustments**/
.xspInputFieldEditBox {
	display: block !important;
	width: 100%;
	padding: .375rem .75rem !important;
	font-size: 1rem;
	line-height: 1.5;
	color: #495057 !important;
	background-color: #fff !important;
	background-image: none !important;
	background-clip: padding-box !important;
	border: 1px solid #ced4da !important;
	border-radius: .25rem !important;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s
		!important;
	height: 38px !important;
}

.xspInputFieldDateTimePickerIcon {
	height: 24px !important;
}


.navbar {
	background-color:var( --background-color );
	background-image: linear-gradient(40deg, var( --background-color ) 0%, var( --background-color-right ) 100%) !important;
	min-height: var( --header-height );		
}


.navbar-toggler {
	font-size:1rem;	
}

.navbar-nav {
	min-width: 75%;
}

.nav-link {
	font-size: 0.85rem;
	font-weight:normal;
	padding:3px;
	color:white;
}

.nav-link:hover {
	color:white;
	font-weight:bold;
}

.header {
	vertical-align: bottom;
	margin-bottom: 0px;
}

a {
	text-decoration: none;
}

.tofe-overflow {
	overflow-x:auto;
}

.table-wide {
	min-width:1000px;
	width:100%;
}

.nav-tabs .nav-link {
	color:grey;
	font-size:1.15rem;
	border-color:lightgrey;
	border-style:solid;		
}

.nav-tabs > button {
	border:1px;
	border-style:solid;
	border-color:lightgrey;
	padding-left:5px;
	padding-right:5px;	
}

.nav-tabs .nav-link.active {
	color:blue;
	font-weight:bold;
}

.text-align-left {
	text-align: left !important;
}

.xspDataTable {
	width:100%;
}

.data-table-display > thead > tr > th {
	font-weight:bold;
}

.data-table-display > tbody > * {
	vertical-align: top;
}

.data-table-display > tbody > tr > td:nth-child(1) {
	width:125px;
	min-width:125px;
	max-width:125px;
}

.data-table-display > tbody > tr > td:nth-child(2) {
	width:100px;
	min-width:100px;
	max-width:100px;
}

.data-table-display > tbody > tr > td:nth-child(3) {
	width:195px;
	min-width:195px;
	max-width:195px;
}

.data-table-display > thead > tr > th:last-child {
	text-align:right;
}

.data-table-display > tbody > tr > td:last-child {
	text-align:right;
}

.data-table-display-invoices > thead > tr > th {
	font-weight:bold;
}

.data-table-display-invoices > thead > tr > th:nth-child(2) {
	text-align:right;
	padding-right:10px;
}

.data-table-display-invoices > tbody > tr > td:nth-child(2) {
	text-align:right;
	padding-right:10px;
}

.data-table-display-invoices > tbody > tr > td:nth-child(1) {
	width:100px;
	max-width:100px;
	padding-right:10px;
}

#data-transactions_wrapper {
	min-width:1000px;
	width:100%;
}


.data-table-display-list > thead > tr > th {
	font-weight:bold;
}

.data-table-display-list > thead > tr > th:nth-child(1) {
	width:200px;
	min-width:200px;
	max-width:200px;
}

.data-table-display-list > tbody > tr > td:nth-child(1) {
	width:200px;
	min-width:200px;
	max-width:200px;
}

.data-table-display-list > thead > tr > th:nth-child(3) {
	text-align:right;	
}

.data-table-display-list > tbody > tr > td:nth-child(3) {
	text-align:right;
}

.tab-pane > table > tbody > tr > .xspDataTableViewPanelFooterStart {
	display:none;
}

.tab-pane > table > tbody > tr > .xspDataTableViewPanelFooterMiddle {
	display:none;
}

.tab-pane > table > tbody > tr > .xspDataTableViewPanelFooterEnd {
	display:none;
}

.tab-pane > table > tbody > tr > .xspDataTableViewPanelHeaderStart {
	display:none;
}

.tab-pane > table > tbody > tr > .xspDataTableViewPanelHeaderMiddle {
	display:none;
}

.tab-pane > table > tbody > tr > .xspDataTableViewPanelHeaderEnd {
	display:none;
}

@media ( min-width : 992px) {
	#nav {
		border-color: white;
		background-color: white;
	}
	#nav .navbar-brand {
		color: var( --background-color );
	}
	#nav .navbar-brand:focus,#nav .navbar-brand:hover {
		color: var( --background-color );
	}
	#nav .navbar-nav>li.nav-item>a.nav-link {
		padding: 0.5rem 1rem;
	}
	#nav .navbar-nav>li.nav-item>a.nav-link,#nav .navbar-nav>li.nav-item>a.nav-link:focus
		{
		color: var( --background-color );
	}
	#nav .navbar-nav>li.nav-item>a.nav-link:hover,#nav .navbar-nav>li.nav-item>a.nav-link:focus
		:hover {
		color: var( --background-color );
	}
	#nav.navbar-shrink {
		border-bottom: 1px solid rgba(33, 37, 41, 0.1);
		background-color: white;
	}
	#nav.navbar-shrink .navbar-brand {
		color: var( --background-color );
	}
	#nav.navbar-shrink .navbar-brand:focus,#nav.navbar-shrink .navbar-brand:hover
		{
		color: var( --background-color );
	}
	#nav.navbar-shrink .navbar-nav>li.nav-item>a.nav-link,#nav.navbar-shrink .navbar-nav>li.nav-item>a.nav-link:focus
		{
		color: var( --background-color );
	}
	#nav.navbar-shrink .navbar-nav>li.nav-item>a.nav-link:hover,#nav.navbar-shrink .navbar-nav>li.nav-item>a.nav-link:focus
		:hover {
		color: var( --background-color );
	}
}

@media only screen and ( max-device-width:450px) {
	header {
		font-size:0.85em;
	}	
}

@media print {
	@page {
		size: letter;
		margin: 0.5cm;
	}
	body,html { /** font-size: 0.75em !important; **/
		float: unset;
	}
	main {
		border: 1px !important;
		border-color: black;
		min-width: 1024px;
		min-height: 100%;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		position: abolsute;
		top: 0px;
		margin-top: 0px;
		padding: 0px;
	}

	#nav,nav,header,footer {
		display: none !important;
	}
	.container {
		min-width: 1000px !important;
		width: 100% !important;
		float: left !important;
	}
	.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12
		{
		float: left;
	}
	.col-md-12 {
		width: 100%;
	}
	.col-md-11 {
		width: 91.66666667%;
	}
	.col-md-10 {
		width: 83.33333333%;
	}
	.col-md-9 {
		width: 75%;
	}
	.col-md-8 {
		width: 66.66666667%;
	}
	.col-md-7 {
		width: 58.33333333%;
	}
	.col-md-6 {
		width: 50%;
	}
	.col-md-5 {
		width: 41.66666667%;
	}
	.col-md-4 {
		width: 33.33333333%;
	}
	.col-md-3 {
		width: 25%;
	}
	.col-md-2 {
		width: 16.66666667%;
	}
	.col-md-1 {
		width: 8.33333333%;
	}
}

/* IE 10+ */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
   .onlyinie { 
		display: inline !important;
   }
   
   footer {
		position: relative !important;
	}
}

/** INDEX PAGE **/

h4, h5 {
	padding-top:5px;
}

a {
	color:darkblue;
	font-weight:600;
}

nav-menu-like * a.nav-link {
	font-weight:unset;
	font-size:0.9rem;
}

a.list-group-item {
	font-size:0.85em;
	color:black;
	font-weight:unset;
}

.serviceName {
    font-size: 0.85rem;
    font-weight: bold;
    color: darkblue;
    /* border-bottom-width: 2px; */
    /* border-bottom-style: dotted; */
    padding-bottom: 5px;
}

hr {
	margin-top:0.5rem;
	width: unset;
	border-width: 3px;
	border-color: var( --background-color );
}

.fc-title, .fc-time {
	color: white;
}

/** HEADER MENU **/
.hr-menu {
	width: 100%;
	border-width: 1px;
	border-color: var( --background-color );
	padding-bottom: 2px;
	padding-top: 1px;
	margin: 0px;
}

.menu-header {
	padding-left: 5px;
	font-weight: bold;
}

.message-warn {
	background-color:yellow;
}

.message-emrg {
	background-color:red;
}

.message-info {
	background-color:white;	
}

.domino-richtext {
	overflow-x:auto;
}

.domino-richtext * {
	/** max-width: 100% !important; **/
	font-size: unset !important;
	font-family: unset !important;
}

.domnino-richtext img {
	height: unset !important;
	padding:5px;
}

.domino-richtext table {
	width: 100% !important;
	max-width: 100% !important;
}

.domino-richtext table>thead>tr>th {
	width: auto !important;
}

.domino-richtext table>tbody>tr>td {
	width: auto !important;
}

.domino-richtext * iframe {
	max-width: 100% !important;
	width:100% !important;
}

.content {
	background-color: white;
}

.box-item {
	padding:5px;
	box-sizing:border-box;
	border-bottom-left-radius:.25rem;
	border-bottom-right-radius:.25rem;
	border-top-left-radius:.25rem;
	border-top-right-radius:.25rem;
	background-clip:padding-box;
}

.img-round {
	box-sizing:border-box;
	border-bottom-left-radius:.5rem;
	border-bottom-right-radius:.5rem;
	border-top-left-radius:.5rem;
	border-top-right-radius:.5rem;
	background-clip:padding-box;
}

nav-search * {
	vertical-align: top;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.dropdown-menu {
	background-color: ivory;
}

nav-menu-common {
	color: white;
	margin-right: auto;
}

nav-menu-common>div>ul>li>a {
	color: white !important;	
}

nav-menu-mobile>div {
	padding: .375rem .75rem;
}

nav-menu-mobile>div>* {
	display: inline-flex;
	color: white !important;
}

.menu-right {
	float: right !important;
	position: relative;
}

.list-group-item:hover, .dropdown-item:hover {
	color: white;
	font-weight: bold;
	background-color: blue;
	border-color: blue;
}

.list-group-item {
	padding:0.75rem;
}

.list-group-header, .list-group-header:hover {
	text-align: center;
	font-weight: bold;
	color: white;
	background-color: darkblue;
	border-color: darkblue;
}

.icon-li-logo {
	list-style-image: url( /images/favicon-16x16.png );
}

.fld-date {
	width: 60%;
	min-width: 175px;
	max-width: 200px;
	display: inline !important;
}

.fld-time {
	width: 35%;
	min-width: 135px;
	max-width: 150px;
	display: inline !important;
	margin-left: 5px;
}

.xspTextViewColumn a {
	font-weight:unset;
}

.errorDisp {
	padding: 5px;
	background-color: #bc1e1e !important;
	color: white;
}

.form-control.is-invalid {
	border-width: 3px;
}

@media ( min-width : 1250px ) {
	nav-menu-common>div>ul>li {
		padding-right: 15px;
	}
}

@media ( min-width : 992px ) {
	mobileonly, .mobileonly {
		display: none;
	}
	.domino-richtext * img {
		max-width: 100% !important;
		margin: unset !important;
		height: unset !important;
	}
	
	.fixed-top {
		/** position: unset; 
		z-index: unset;
		**/
		top: 0;
		right: 0;
		left: 0;
	}
}

@media ( max-width : 992px ) {
	body {
		background-color: white;
		background-image: unset !important;
		background-attachment: unset;
		background-position: unset;
		background-repeat: no-repeat;
		background-size: unset;
	}

	header {
		overflow-y: auto;
		max-height: -webkit-fill-available;
	}
	nav-menu-mobile>div>button {
		border-color: white !important;
	}
	nav-menu-mobile>div>h4 {
		padding-left: 10px;
	}

	#navbarLine2 {
		padding: 5px;
	}

	nav-search {
		padding-top: 5px;
	}

	mobileonly * {
		color: white;
	}

	.desktoponly {
		display: none;
	}
		
	.container {
		max-width: unset;
		width: 100%;
	}

	.domino-richtext * img {
		max-width: 100% !important;
		margin: unset !important;
		height: unset !important;
		padding:5px;
	}
		
	footer * {
		font-size:0.75rem;
	}
	
}

@media ( max-width : 768px ) {
	.container {
		max-width: unset;
		width: 100%;
	}

	nav-menu-common {
		margin-left: unset;
	}

	.domino-richtext table>thead>tr>th {
		width: auto !important;
	}
	.domino-richtext table>tbody>tr>td {
		width: auto !important;
	}
	.domino-richtext table>tbody>tr>td>* {
		width: auto !important;
	}
	
	.domino-richtext * img {
		max-width: 100% !important;
		margin: unset !important;
		height: unset !important;
		padding:5px;
	}
		
	header {
		overflow-y: auto;
		max-height: -webkit-fill-available;
	}
}

@media (max-width:575px){
	main {
		padding-top: calc( ( var( --header-height ) * var( --header-ratio-sm ) ) + 5px );
		min-height: calc( 100vh - ( var( --footer-height ) ) );	
	}
		
	nav-menu-common {
		background-color:unset;
	}
	
	.navbar-collapse {	    
    	background-color: unset;
    	border-bottom-left-radius: unset;
    	border-bottom-right-radius: unset;
    	background-clip: unset;
    	/** padding-bottom: 10px; **/
	}
	
	.nav-line-1 {
		width:100%;
		max-width:100%;
		padding-left:unset;
		margin-right:unset;
		background-color: white;
		background-image: linear-gradient(40deg, var( --background-color) 0%, var( --background-color-right) 100%) !important;
		border-top-style:ridge;
		border-top-color:white;
		border-bottom-left-radius: .5rem; 
		border-bottom-right-radius : .5rem;
		background-clip: padding-box;
		overflow:hidden;
		margin-bottom:-5px;						
	}
}