/* "Gel" Theme for WebERP by Hindra Joshua. */
/***

Based from the previous theme "Gel"
Credits to the original authors.

NOTE:
This CSS is not yet optimized. Some styles maybe 'redundant' or 'unused',
but for the obvious one it will be cleaned up.
To optimized the rest we should examined the whole codes! That would be for
the next project. :)

Design guidelines:
	Fonts are 10pt hight.
	Icons are ??px x ??px size.  (24x24 px ?)
*/

button img {
	/* Describes how button image should be displayed. */
	height:21px;
	width:21px;
}

body {
	font-family:Arial, Verdana, Helvetica, sans-serif;
	font-size:10pt;
	background-color:white;
	margin:0;
	padding:5px;
}

a {
	font-weight:normal;
	text-decoration:none;
	color:blue;
}
a:hover {
	color:blue;
	text-decoration:underline;
}
img {
	border:none;
	vertical-align:middle;
}
p.good {
	font-weight:bold;
	color:green;
}
p.bad {
	font-weight:bold;
	color:red;
}
table {
	background-color:#eeeeee;
	border:0px 0px 2px 2px #222 solid;
	background:#eeeeee;
	width:100%;
}
table.selection {
	background-color:#eeeeee;
	outline-style:solid;
	outline-width:1px;
}
th {
	background-color:#ccc;
	color:#330000;
	font-weight:normal;
	text-align:center;
}
th.ascending {
	cursor:s-resize;
}
th.descending {
	cursor:n-resize;
}
th:after {
	content:"";
	float:right;
	margin-top:7px;
	visibility:hidden;
}
th.ascending:after {
	border-width:0 4px 4px;
	border-style:solid;
	border-color:#000000 transparent;
	visibility:visible;
}
th.descending:after {
	border-bottom:none;
	border-left:4px solid transparent;
	border-right:4px solid transparent;
	border-top:4px solid #000000;
	visibility:visible;
}
td {
	font-family:Arial, Verdana, Helvetica, sans-serif;
	text-align:left;
	vertical-align:top;
}
td.select {
	background-color:#eeeeee;
}
div.centre {
	margin:0 auto;
	text-align:center;
}
input {
	background:url(images/input.png) #eeeeee;
	color:#000000;
	border:0px 0px 1px 1px #000000 dashed;
}
input:hover {
	background:url(images/inputh.png) #eeeeee;
	color:#000000;
	border:1px 1px 1px 1px #000000 solid;
}
input.image {
	border-width:0px;
	background-color:transparent;
}
input.inputerror, input.error, select.error, select.selecterror, label.error {
	color:red;
	border:2px solid red;
}
input:required, select:required, textarea:required {
	background-color:#ffffe0;
}
select {
	background:#eeeeee;
	color:#111;
}
textarea {
	background:url(images/input.png) #eeeeee;
	color:#000000;
	border:0px 0px 1px 1px #000000 dashed;
}
textarea:hover {
}
tr.striped_row:nth-of-type(even) {
	background-color:#cccccc;
}
tr.striped_row:nth-of-type(odd) {
	background-color:#eeeeee;
}
textarea {
	background:url(images/inputtxt.png) #eeeeee;
	color:#000000;
	border:0px 0px 1px 1px #000000 dashed;
	}
textarea:hover {
	background:url(images/inputhtxt.png) #eeeeee;
	color:#000000;
	border:1px 1px 1px 1px #000000 solid;
}
div.Message {
	border-radius:10px;
	padding:10px 10px 10px 36px;
	margin:5px;
	opacity:1;
	transition:opacity 0.6s; /* 600ms to fade out */
}
div.Message.error {
	background:#ffecec url('images/message-error.svg') no-repeat 10px 50%;
	border:1px solid #f5aca6;
}
div.Message.success {
	background:#e9ffd9 url('images/message-success.svg') no-repeat 10px 50%;
	border:1px solid #a6ca8a;
}
div.Message.info {
	background:#e3f7fc url('images/info.svg') no-repeat 10px 50%;
	border:1px solid #8ed9f6;
}
div.Message.warn {
	background:#fff8c4 url('images/message-warning.png') no-repeat 10px 50%;
	border:1px solid #f2c779;
}
.MessageCloseButton {
	margin-left:15px;
	color:#C8C8C8;
	font-weight:bold;
	float:right;
	font-size:20px;
	line-height:17px;
	cursor:pointer;
	transition:0.3s;
}
.MessageCloseButton:hover {
	color:#606060;
}
#MessageContainerFoot {
	display:none;
}

.dpTbl {
	border:solid navy 1px;
}
.dpTD {
	border:0;
	width:20px;
	background-color:#eeeeee;
	text-align:right;
	cursor:pointer;
}
.dpDayHighlight {
	border:0;
	width:20px;
	background-color:yellow;
	text-align:right;
	cursor:pointer;
}
.dpTDHover {
	border:0;
	width:20px;
	background-color:#cccccc;
	text-align:right;
	cursor:pointer;
}

.table1 { /*** used ***/
	width:90%;
	background:#eeeeee;
	border:1px solid #222;
	margin:0 auto;
}
.tableheader { /* used */
	font-weight:normal;
	background-color:#cccce5;
	color:#330000;
}
.notavailable { /* used */
	font-weight:normal;
	font-style:italic;
	color:#555555;
}
.label { /* used */
	font-weight:bold;
	font-style:normal;
	font-size:120%;
	color:#000000;
	background-color:#cccccc;
}
.table_index { /* used */
	background-color:#eeeeee;
}

.header {
	background-image:url("");
	background-repeat:no-repeat;
	background-attachment:fixed;
	border:none;
	margin:0px;
	padding:0px;
}
input.inputerror { /* used */
	background-color:#fddbdb;
}
textarea.texterror { /* used */
	background-color:#fddbdb;
}
select.selecterror { /* used */
	background-color:#fddbdb;
}
.OsRow { /* used */
	background-color:#234567;
	color:white;
}
li { /* ??? */
	list-style-image:url(bullet.gif);
}

/*** CANVAS ***/

#CanvasDiv {
}

/*** HEADER ***/

#HeaderDiv {
	overflow:hidden; /* REQUIRED:height according to items contained */
	background:url(images/gelblue.png) repeat-x blue;
	background-size:contain;
	color:white;
	padding:3px;
	border:2px outset blue;
	border-radius:20px;
	padding:0 5px;
}
#HeaderWrapDiv {
}

/*** HEADER - APP INFO ***/

#AppInfoDiv {
	float:left; /* REQUIRED:to the left */
}
#AppInfoDiv img {
	vertical-align:middle; /* center image and text vertically */
}
#AppInfoCompanyDiv {
	display:table-cell; /* REQUIRED:as a cell */
}
#AppInfoUserDiv {
	display:table-cell; /* REQUIRED:as a cell */
}
#AppInfoUserDiv a {
	color:white;
	font-weight:bold;
	text-decoration:none;
}
#AppInfoUserDiv a:hover {
	color:white;
	font-weight:bold;
	text-decoration:underline;
}
#AppInfoModuleDiv {
	padding-left:24px;
}

/*** HEADER - QUICK MENU ***/

#QuickMenuDiv {
	float:right; /* to the right side */
	margin-top:2px;
}
#QuickMenuDiv ul {
	list-style:none; /* hide the bullets */
}
#QuickMenuDiv li {
	display:inline-block;
}

/*** links as buttons!!! clicking anywhere in the button will activate
	 the link!!! ***HJ***/

#QuickMenuDiv li a {
	padding:5px; /* links as button */
	border:2px outset transparent; /* un-pressed state */
	border-radius:15px;
	color:white;
	font-weight:bold;
}
#QuickMenuDiv li a:hover {
	padding:5px; /* links as button */
	border:2px inset steelblue; /* pressed state */
	text-decoration:none; /* no underline */
	color:whie;
	border-radius:15px;
}

/*** BODY ***/

#BodyDiv {
	clear:both; /* REQUIRED */
	overflow:hidden; /* REQUIRED */
	color:#000000;
	background:whitesmoke;
	text-align:center;
}
#BodyDiv table {
	width:auto; /* automatic width */
	margin:0 auto;
	margin-bottom:10px;
}
#BodyDiv .centre {
	margin:0 auto 10px;
	text-align:center;
}

/*** BODY - MAIN MENU ***/

#MainMenuDiv {
	float:left; /* REQUIRED:to the left side */
	white-space:nowrap; /* don't break text */
	text-align:center;
	width:11%;
	background:url(images/gelbluev.png) repeat-y blue;
	background-size:contain;
	border:2px outset blue;
	border-radius:20px;
	margin-top:5px;
	padding:3px;

}
#MainMenuDiv ul {
	list-style:none; /* REQUIRED:hide bullets */
	padding:0; /* REQUIRED:remove extra gaps (ex-bullets) */
	margin:0;
}
#MainMenuDiv li {
	list-style:none; /* REQUIRED */
	padding:0; /* REQUIRED */
}
#MainMenuDiv li a { /* link as button!!! not-pressed state */
	display:block; /* REQUIRED */
	padding:3px;
	border:2px outset transparent;
	color:white;
	font-weight:bold;
	border-radius:15px;
}
#MainMenuDiv li a:hover { /* link as button!!! pressed state */
	text-decoration:none;
	padding:3px;
	border:2px inset steelblue;
	background:none;
	border-radius:15px;
}
#MainMenuDiv .main_menu_selected a { /* the selected button */
	text-decoration:none;
	padding:3px;
	border:2px inset steelblue;
	background:none;
	border-radius:15px;
}

/*** BODY - SUB MENU ***/

#SubMenuDiv {
	display:table;
	margin-left:auto;
	margin-right:auto;
	 	padding-top:5px;
	width:87%;
	text-align:left;
}
#SubMenuDiv ul {
	list-style-type:none; /* REQUIRED:hide bullets */
	padding:0; /* REQUIRED:remove extra gaps (ex-bullets) */
	margin:0;
	border:thin solid #000000;
	margin-left:3px;
}
#SubMenuDiv li {
	list-style:none; /* REQUIRED:hide the bullets */
	width:100%; /* REQUIRED:make item full width */
	background:#eeeeee;
}
#SubMenuDiv li img {
	vertical-align:middle; /* verticall align icon with the text */
}
#SubMenuDiv .menu_group_headers {
	background:url(images/menu_bg_white.png) repeat-x silver;
	text-align:center;
	color:#000000;
	padding-top:2px;
	padding-bottom:2px;
}
#SubMenuDiv .menu_group_item p {
	color:blue; /* This is the color for bullets, I like it to be the same as the anchor color, but it's up to you */
	text-indent:-10px; /* this makes the bullet to appear as the li tag previously used */
	margin:0 0 0 12px; /* One thing that I didnÂ´t like of the li was that it had no left margin applied */
}
#SubMenuDiv a:link, a:visited { /* links */
	color:blue;
	text-decoration:none;
}
#SubMenuDiv a:hover {
	color:blue;
	text-decoration:underline;
}
#SubMenuDiv .menu_group_item { /* menu items */
	padding-top:2px;
	padding-bottom:2px;
}
#SubMenuDiv .menu_group_item:hover {
	background:#bfd8ff;
}
#TransactionsDiv {
	display:table-cell;
}
#InquiriesDiv {
	display:table-cell;
}
#InquiriesDiv div { /* default div, used for custom report header */
	background:#dddddd;
	color:#000000;
	padding:2px;
/*	border:thin outset silver;*/
}
#MaintenanceDiv {
	display:table-cell;
}

/*** FOOTER ***/

#FooterDiv {
	clear:both; /* REQUIRED */
	overflow:hidden;
	color:gray;
	background:url(images/bar.png) repeat-x d3d3d3;
	border:thin solid d3d3d3;
}
#FooterWrapDiv {
	overflow:hidden;
	padding:3px;
}
#FooterLogoDiv {
	background:white;
	border-radius:8px;
	float:left;
	padding:3px;
	margin-left:44%; /* to the center (approx) */
}
#FooterVersionDiv {
	clear:both; /* below the logo */
	text-align:center;
}
#FooterTimeDiv {
	display:block;
	float:right;
	line-height:2.8em; /* Center the text vertically.
						[vertical-align has no effect on text alone] */
}
#Report {
	/* Division id for reports. */}
#Report table {
	/* Body of a report formatted with table tag. */
}
/* BEGIN Class selectors of the style for all devices. ---------------------- */
.centre {
	text-align:center;
	/* Class selector to horizontal align a text (centre) in an element. */
}
.number {
	text-align:right;
	/* Class selector to horizontal align a number (right) in an element. */
}
.text {
	text-align:left;
	/* Class selector to horizontal align a text (left) in an element. */
}
.gallery {
	margin:5px;
	float:left;
	/* Class selector to let an element float to the left. */
}
.field_help_text {
	font-style:italic;
	/* Class selector for field help text. */
}
.page_help_text {
	background-color:#d3d3d3;
	background-image:url(images/question.svg);
	background-position:top left;
	background-repeat:no-repeat;
	border:#a52a2a 1px solid;
	color:#000000;
	font-weight:normal;
	margin:0 auto;
	padding-bottom:2px;
	padding-left:28px;
	padding-top:2px;
	text-align:center;
	width:80%;
	/* Class selector for page help text. Hidden/displayed by the ShowPageHelp parameter. */
}
.page_info_text {
	background:#d3d3d3 url(images/info.svg) top left no-repeat;
	border:#a52a2a 1px solid;
	color:#000000;
	font-weight:normal;
	margin:0 auto;
	padding-bottom:2px;
	padding-left:10px;
	padding-top:2px;
	text-align:center;
	width:80%;
	/* Class selector for page info text. */
}
.page_title_text {
	color:#000000;
	font-weight:bold;
	padding-bottom:2px;
	padding-top:2px;
	text-align:center;
	/* Class selector for page title text. */
}
.sheet {/* Uncomment this to use sheet style preview
	background-color:#ffffff;
	border:0;
	box-shadow:26px 16px 8px 0 rgba(0, 0, 0, 0.5);
	color:#000000;
	margin:5%;
	padding:5%;*/
	/* Class selector for sheet style preview. */
}
/* END Class selectors of the style for all devices. ------------------------ */
/* END Style for all devices.================================================ */


/* If you want to use a cascading style sheet for a small device width, uncomment line "<meta name="viewport" content="width=device-width, initial-scale=1" />" on includes/header.php and use the following sections. */

@media only screen and (max-device-width:767px) {
	/* Style for new browser in a device with a rendering width less than 768px (xs - Extra small devices - Phones). */
	.field_help_text {display:none;/* Hides field help text. */}
	.page_help_text {display:none;/* Hides page help text. */}
}

@media only screen and (min-device-width:768px) and (max-device-width:991px) {
	/* Style for new browser in a device with a rendering width between 768px and 992px (sm - Small devices - Tablets). */
}

@media only screen and (min-device-width:992px) and (max-device-width:1199px) {
	/* Style for new browser in a device with a rendering width between 992px and 1200px (md - Medium devices - Desktops). */
}

@media only screen and (min-device-width:1200px) {
	/* Style for new browser in a device with a rendering width greater than 1200px (lg - Large devices - Larger desktops). */
}
