/* 
    Created on : 30-Apr-2024, 13:12:40
    Author     : Just Checking
*/

@media only screen and (max-width: 800px) {
	
	.mobile-only {
		visibility: visible;
		display: run-in;
	}
	
	.desktop-only {
		visibility: hidden;
		display: none;
	}
	
	#app-container {
		top: 0px;
		bottom: 0px;
		left: 0px;
		right: 0px;
	}
	
	#menu {
		display: none;
	}
		
	
}

@media only screen and (min-width: 801px) {
	
	.mobile-only {
		visibility: hidden;
		display: none;
	}
	.desktop-only {
		visibility: visible;
		display: run-in;
	}
	
	#app-container {
		top: 0;
		bottom: 0;
		left: 200px;
		right: 0px;
	}
	
	#app-header {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
	}
	
	#menu {
		display: block;
	}
	
	
		
}

@font-face {
  font-family: 'ITCAvantGardeGothicProBook';
  src: url('/fonts/itcavantgardepro-bk-webfont.ttf')  format('truetype'); /* Safari, Android, iOS */
}

html,
body {
	font-family: ITCAvantGardeGothicProBook,"Century Gothic",Arial,Helvetica,Verdana,sans-serif;
	background-color: #EEEEEE;
	margin: 0;
	padding: 0;
	font-size: 12pt;
}

#app-container {
	position: fixed;
	background-color: white;
}

#menu {
	position: fixed;
	top: 40px;
	bottom: 0;
	left: 0;
	width: 200px;
	background-color: white;
	z-index: 5000;
	user-select: none;
}

.mobile #menu {
	border-right: 1px solid silver;
	box-shadow: #888 5px 0px 5px;
}

#menu .menu-item {
	display: block;
	padding: 10px;
	cursor: pointer;
	text-decoration: none;
	color: black;
}

#menu .menu-item:hover {
	background-color: #CCC;
}

#menu .menu-item:visited {
	color: black;
}


#menu .menu-item i {
	display: inline-block;
	width: 30px;
	text-align: center;
}


input[type="text"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"] {
	padding: 10px;
	font-family: 'ITCAvantGardeGothicProBook', Verdana, sans-serif;
	font-size: 12pt;
}

input[type="button"],
input[type="submit"],
button {
	
	padding: 10px 20px;
	border: 0;
	font-family: 'ITCAvantGardeGothicProBook', Verdana, sans-serif;
	font-size: 12pt;
	background-color: #4466FF;
	color: white;
	cursor: pointer;
	
}

input[type="button"]:disabled,
input[type="submit"]:disabled,
button:disabled {
	background-color: #888;
}

input[type="number"] {
	-moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

select {
	
	padding: 10px 20px;
	border: 1px solid silver;
	font-family: 'ITCAvantGardeGothicProBook', Verdana, sans-serif;
	font-size: 12pt;
	background-color: white;
	
}

textarea {
	
	padding: 10px 10px;
	font-family: 'ITCAvantGardeGothicProBook', Verdana, sans-serif;
	font-size: 12pt;
	border: 1px solid silver;
	
}

form > p {
	
	margin: 10px 0px;
	
}

#app {
	position: absolute;
	top: 40px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	background-image: url("/images/spin-200px.gif");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 20%;
	overflow-y: auto;
}

#app #wait-text {
	
	position: absolute;
	top: 60%;
	width: 100%;
	text-align: center;
	
}

#app-header {
	height: 40px;
	background-color: white;
	user-select: none;
}

#app-header a,
#app-header img {
	height: 30px;
	padding: 5px;
	padding-top: 10px;
}

#menu-button {
	vertical-align: middle;
	background-color: white;
	height: 46px;
	cursor: pointer;
}

#header-left {
	position: absolute;
	height: 48px;
	top: 1px;
	left: 1px;
	width: 150px;
	vertical-align: middle;
	text-align: left;
}

#header-right {
	position: absolute;
	height: 48px;
	top: 1px;
	right: 1px;
	width: 150px;
	vertical-align: middle;
	text-align: right;
}

.error {
	background-color: #FEE;
	color: #C44;
	padding: 10px;
}

.info {
	background-color: #EEE9FF;
	color: #4455CC;
	padding: 10px;
}

.middle {
	vertical-align: middle;
}

.center {
	text-align: center;
}

h1 {
	font-size: 16pt;
	font-weight: bold;
	margin: 10px 0px 5px 0px;
	padding: 0;
}

#system-message-icon {
	display: inline-block;
	vertical-align: middle;
	padding: 4px;
	font-size: 30px;
	color: #666;
}

#sos-button {
	display: inline-block;
	vertical-align: middle;
	border: 0;
	margin: 4px;
	padding: 4px 10px;
	font-size: 20px;
	vertical-align: middle;
	background-color: red;
	color: white;
	font-weight: bold;
}

.tab-group-headers {
	font-size: 0;
	
}

.tab-group-headers .tab-group-header {
	
	display: inline-block;
	vertical-align: bottom;
	border-bottom: 2px solid #EEE9FF;
	font-size: 16px;
	text-align: center;
	padding: 5px 0;
	
}

.tab-group-headers .tab-group-header:hover {
	background-color: #EEF4FF;
	cursor: pointer;
}

.tab-group-headers .tab-group-header.selected {
	
	border-bottom: 2px solid #4466FF;
	color: #4466FF;
	
}

.section-header {
	
	background-color: #CCC;
	color: black;
	padding: 5px;
	font-size: 14px;
	color: #444;
}

.bg-red-light {
	background-color: #FCC;
}
.bg-amber-light {
	background-color: #FEC;
}
.bg-green-light {
	background-color: #CFC;
}
.bg-blue-light {
	background-color: #CDF;
}
.bg-purple-light {
	background-color: #FCF;
}
.bg-yellow-light {
	background-color: #FFD;
}

.hint {
	
	margin: 5px;
	padding: 5px;
	color: blue;
	background-color: #CDF;
	
}

.hint.good {
	background-color: #CFC;
	color: green;
}
.hint.good > i {
	color: green !important;
}
