/*--------------------------------------------------\
| MSA — MYH System Accounting    | default.css      |
|---------------------------------------------------|
| Paleta corporativa MYH Solutions                  |
| Rojo:    #8B0000  botones, acentos, headings      |
| Oscuro:  #1a1a1a  navbar, headers tabla           |
| Surface: #f4f4f4  fondos alternados               |
| Borde:   #d0d0d0  bordes de tabla                 |
\--------------------------------------------------*/

:root {
	--r:  #8B0000;
	--rh: #a00000;
	--dk: #1a1a1a;
	--gr: #2d2d2d;
	--mu: #666666;
	--s1: #f4f4f4;
	--s2: #ebebeb;
	--bd: #d0d0d0;
	--wh: #ffffff;
	--tx: #1a1a1a;
}

body {
	font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
	background: var(--dk);
	font-size: 10px;
	margin: 5px 0 0 5px;
	padding: 0;
}

tr, td, th { font-size: 11px; line-height: 19px; }
textarea   { font-size: 12px; }
input, select { font-size: 11px; padding: 1px; color: var(--tx); background-color: var(--wh); }
select { max-width: 230px; }
option.inactive { text-decoration: line-through; color: gray; }
input.big  { width: 100px; }
input.small{ width: 50px;  }

a             { color: var(--r); font-size: 11px; text-decoration: none; }
a:link        { color: var(--r); text-decoration: none; }
a:active      { color: var(--tx); text-decoration: none; }
a:hover, a:focus { color: var(--rh); text-decoration: underline; }
.inactive     { color: gray; }

button {
	font-size: 11px;
	border: 1px solid var(--r);
	padding: 1px 0px;
}
button img, span { padding: 0px 2px; vertical-align: middle; }

.callout_main {
	font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
	border: none; width: 99%; margin: 0; padding: 0;
}

.main_page {
	background-color: var(--wh);
	border: none; width: 100%; margin: 0; padding: 0;
}

.quick_menu {
	background-color: var(--dk);
	border: 0; margin: 0; padding: 0;
}

.quick_menu_selected {
	font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
	font-size: 13px; border: none; white-space: nowrap;
	margin: 2px; padding: 2px;
	color: #ff8080; font-weight: bolder;
}

.logoutBar {
	padding-right: 1em; background: var(--s1);
	color: var(--tx); border-bottom: 1px solid var(--bd); width: 100%;
}
.bottomBar {
	padding-right: 1em; background: var(--s1);
	color: var(--tx); border-bottom: 1px solid var(--bd); width: 100%;
}
.bottomBarCell { font-size: 10px; line-height: 12px; }
.bottomBar2 {
	padding-right: 1em; background: var(--s1); color: var(--tx);
	border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); width: 100%;
}
.logoutBarRight { text-align: right; }
div.logoutBar {
	padding-right: 1em; background: var(--s1);
	color: var(--tx); border-bottom: 1px solid var(--bd); text-align: right;
}
div.logoutBar a { font-weight: normal; margin-left: 1em; color: var(--r); background-color: transparent; }
div.logoutBar img { vertical-align: top; }

div.tabs {
	padding: 3px 0 0 0; background: none transparent scroll repeat 0% 0%;
	white-space: nowrap; border-collapse: collapse; border-bottom: 1px solid var(--bd);
}
div.tabs a {
	border: 1px solid var(--bd); padding: 3px 10px; font-weight: normal;
	background: var(--wh); color: var(--mu); margin-right: 0; height: 10px;
}
div.tabs a.selected {
	border-top: 1px solid var(--bd); border-right: 1px solid var(--bd);
	border-bottom: 1px solid var(--s1); border-left: 3px solid var(--r);
	font-weight: bold; background: var(--s1); color: var(--r);
}
div.tabs a:hover { background: var(--s1); color: var(--r); }

.menu_group {
	font-size: 13px; padding: 0px;
	color: var(--wh); background-color: var(--dk);
	padding-left: 6px; font-weight: bold;
	border-left: 3px solid var(--r);
}
.menu_group_items {
	background-color: var(--wh); font-weight: normal;
	padding: 9px; border: 1px solid var(--bd);
}

#hotkeyshelp { text-align: right; font-weight: bolder; }
#footer      { position: relative; bottom: -3px; }

.footer td a { color: var(--mu); font-size: 9px; }
.footer {
	font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
	color: #999; font-weight: normal; font-size: 9px;
	text-align: center; width: 100%;
}

.tableheader  { font-weight: bold; background-color: var(--dk); color: var(--wh); text-align: center; }
.tableheader2 { font-weight: bold; background-color: var(--dk); color: var(--wh); text-align: left; }

.titletext {
	font-weight: bold; font-size: 13px;
	border-bottom: 2px solid var(--r);
	padding: 5px; width: 100%; color: var(--dk);
}
.headingtext  { font-weight: bold; font-size: 13px; color: var(--r); }
.headingtext2 { font-size: 13px; color: var(--dk); }
.headingtext3 { font-weight: bold; font-size: 10px; color: var(--dk); }
.errortext    { font-size: 13px; color: var(--r); font-weight: bold; }

.inputsubmit {
	font-size: 11px; border: none; border-radius: 3px; padding: 4px 12px;
	background-color: var(--r); color: var(--wh) !important; cursor: pointer;
	font-family: 'Segoe UI', Arial, sans-serif; font-weight: 600;
}
.inputsubmit:hover { background-color: var(--rh); color: var(--wh) !important; }

.ajaxsubmit {
	font-size: 11px; border: none; border-radius: 3px; padding: 4px 12px;
	background-color: var(--r); color: var(--wh) !important; cursor: pointer;
	font-family: 'Segoe UI', Arial, sans-serif; font-weight: 600;
}
.ajaxsubmit:hover { background-color: var(--rh); color: var(--wh) !important; }

.oddrow  { background-color: var(--s1); }
.evenrow { background-color: var(--s2); }

.overduebg  { background-color: #f8d7da; }
.overduefg  { color: var(--r); }
.currentfg  { color: var(--r); font-weight: bold; }
.redfg, a.redfg { color: var(--r); font-weight: bold; }
.settledbg  { background-color: #d4edda; }
.settledfg  { color: #276749; }
.inquirybg  { background-color: #fefefe; }
.currencybg { background-color: #f8d7da; }
.stockmankobg { background-color: #fce4ec; }
.stockmankofg { color: var(--r); }

table.tablestyle       { border-collapse: collapse; border: 1px solid var(--bd); }
table.tablestyle td    { border-collapse: collapse; border: 1px solid var(--bd); }
table.tablestyle2      { border-collapse: collapse; border: 1px solid #e0e0e0; }
table.tablestyle2 td   { border-collapse: collapse; border: 1px solid #e0e0e0; }
table.tablestyle_inner { border-collapse: collapse; border: 1px solid var(--s1); }
table.tablestyle_inner td { border-collapse: collapse; border: 1px solid var(--s1); }
.tablestyle_noborder { padding: 3px; }

.label { background-color: var(--s1); color: var(--tx); }

#loginscreen { background: var(--dk); }

.login {
	width: 360px;
	border: 1px solid var(--bd);
	border-left: 4px solid var(--r);
	border-radius: 6px;
	background-color: var(--wh);
	box-shadow: 0 4px 20px rgba(0,0,0,.35);
}
.login td.tableheader {
	line-height: 40px; border: none;
	background-color: var(--dk); color: var(--wh);
	font-size: 14px; font-weight: 600; padding-left: 16px;
}
.login select,
.login input[type=text],
input[type=password] {
	height: 32px; width: 230px; padding-left: 8px;
	box-sizing: border-box;
	border: 1px solid var(--bd); border-radius: 4px;
	background-color: var(--wh); outline: none;
	font-family: 'Segoe UI', Arial, sans-serif;
	transition: border-color .15s;
}
.login input[type=text]:focus,
input[type=password]:focus {
	border-color: var(--r);
	box-shadow: 0 0 0 3px rgba(139,0,0,.12);
}
.login input[type=button],
input[type=submit] {
	background-color: var(--r); border: none; border-radius: 4px;
	color: var(--wh); padding: 8px 20px; text-decoration: none;
	margin: 4px 2px; cursor: pointer;
	font-family: 'Segoe UI', Arial, sans-serif;
	font-weight: 600; font-size: 13px; transition: background-color .15s;
}
.login input[type=button]:hover,
input[type=submit]:hover { background-color: var(--rh); }

.amount { font-family: 'Segoe UI', Arial, Helvetica, sans-serif; font-size: 11px; text-align: right; }
input.amount { padding-right: 0px; }

.editbutton {
	color: var(--r); background-color: transparent;
	border-style: none; text-decoration: underline; cursor: pointer;
}
.navibutton[disabled], .navibutton[disabled] span {
	color: #aaa; text-decoration: none; cursor: auto;
}
button.navibutton {
	font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
	font-size: 11px; font-weight: bold; color: var(--dk);
	padding: 0 3px; background-color: transparent; border-style: none; cursor: pointer;
}
.navibutton span { text-decoration: underline; }
.navibar {
	padding: 0 3px; color: var(--dk); border-collapse: collapse;
	background-color: var(--s1);
}
.navibar tr td { border: none; }
.listsubmit { display: none; }

ul.ajaxtabs {
	padding: 3px 0 0 0; margin: 3px 3px 0 3px;
	font: 12px 'Segoe UI', Tahoma, Verdana; font-weight: bold;
}
ul.ajaxtabs li { list-style: none; margin: 0; display: inline; }
ul.ajaxtabs li button {
	background-color: var(--s1); padding: 3px 8px; margin: 0px;
	border-top: 1px solid var(--bd); border-right: 1px solid var(--bd);
	border-bottom: none; border-left: none; font-weight: bold; color: var(--mu);
}
ul.ajaxtabs li button:hover { border-top: 1px solid var(--bd); color: var(--r); }
div.spaceBox {
	background-color: var(--bd); height: 8px;
	border-bottom: 1px solid var(--bd); border-left: 1px solid var(--bd);
	border-right: 1px solid var(--bd); margin: 0 3px 0px 3px;
}
div.contentBox { border: 1px solid var(--bd); margin: 0 3px 3px 3px; }
ul.ajaxtabs li button.current,
ul.ajaxtabs li button.current:hover {
	border-left: 3px solid var(--r); background-color: var(--dk); color: var(--wh);
}

#hints {
	font-size: 13px; padding: 5px; border-bottom: 1px solid var(--bd);
	margin: -4px -2px -2px; border: 1px solid var(--bd);
	background-color: #fffff0; white-space: nowrap;
}

#CCIframe { display:none; left:0px; position:absolute; top:0px; height:250px; width:270px; z-index:99; }
#CC { position:absolute; background-color:var(--wh); margin:0; padding:0; display:none; z-index:100; }
#CC table { font-family:'Segoe UI',arial,verdana,sans-serif; font-size:8pt; border-left:1px solid #333; border-right:1px solid #333; }
#CC th { font-weight:normal; text-align:center; }
#CC th a { font-weight:normal; text-decoration:none; color:var(--wh); padding:1px; }
#CC td { text-align:center; }
#CC .header  { background-color:var(--dk); }
#CC .weekday { background-color:#eee; color:#000; }
#CC .weekend { background-color:#ffc; color:#000; }
#CC .weekno  { background-color:#f0d0d0; color:#555; }
#CC .current { border:1px solid #333; background-color:var(--r); color:var(--wh); }
#CC .weekday, #CC .weekend, #CC .current { display:block; text-decoration:none; border:1px solid #fff; width:2em; }
#CC .weekday:hover, #CC .weekend:hover, #CC .current:hover { color:var(--wh); background-color:var(--r); border:1px solid #999; }
#CC .previous { text-align:left; }
#CC .next { text-align:right; }
#CC .previous, #CC .next { padding:1px 3px 1px 3px; font-size:1.4em; }
#CC .previous a, #CC .next a { color:var(--wh); text-decoration:none; font-weight:bold; }
#CC .title { text-align:center; font-weight:bold; color:var(--wh); }
#CC .empty { background-color:#ddd; border:1px solid #fff; }

div.err_msg {
	margin:10px; padding:8px 12px;
	border:1px solid var(--r); border-left:4px solid var(--r);
	background-color:#fff0f0; color:var(--r); text-align:center; border-radius:4px;
}
div.warn_msg {
	margin:10px; padding:8px 12px;
	border:1px solid #cc7700; border-left:4px solid #cc7700;
	background-color:#fffbee; color:#884400; text-align:center; border-radius:4px;
}
div.note_msg {
	margin:10px; padding:8px 12px;
	border:1px solid #2d6a4f; border-left:4px solid #2d6a4f;
	background-color:#f0fff4; color:#1b4332; text-align:center; border-radius:4px;
}

#title { margin-bottom:10px; width:100%; }

@media screen and (min-width:1024px) {
	body, .headingtext3 { font-size:11px; }
	textarea { font-size:13px; }
	tr, td, th, input, select, a, button, .inputsubmit, .ajaxsubmit, .amount, button.navibutton { font-size:12px; }
	.quick_menu_selected, .menu_group, .titletext, .headingtext, .headingtext2, .errortext, #hints { font-size:14px; }
	.bottomBarCell { font-size:11px; line-height:13px; }
	.footer, .footer td a { font-size:10px; }
	#CC table { font-size:9pt; }
	#CC .previous, #CC .next { font-size:1.4em; }
}
@media screen and (min-width:1200px) {
	body, .headingtext3 { font-size:12px; }
	textarea { font-size:14px; }
	tr, td, th, input, select, a, button, .inputsubmit, .ajaxsubmit, .amount, button.navibutton { font-size:13px; }
	.quick_menu_selected, .menu_group, .titletext, .headingtext, .headingtext2, .errortext, #hints { font-size:15px; }
	.bottomBarCell { font-size:12px; line-height:14px; }
	.footer, .footer td a { font-size:11px; }
	#CC table { font-size:10pt; }
	#CC .previous, #CC .next { font-size:1.4em; }
}
