/* CSS reset (from http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/) */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 11px;
	font-family: inherit;
}

* {
 -moz-box-sizing: border-box;
} 
body {
	margin:	0;
	padding: 0;
    background: #fff
	}
body, div, p, th, td, li, label {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #333;
	}
h1 {
	color: #333333;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12pt;
	font-style: normal;
	font-variant: normal;
	font-weight: bold;
	margin-bottom: 10px;
}
h2 {
   font-size: 12px;
   font-weight: bold;
   line-height: 135%;
   }
ul {
	list-style-type: square;
	}
p {
	margin-top: 10px;
	margin-bottom: 10px;
	vertical-align: top;
	}
br
{

}
tr.a td {
	background: #efefef;
	}
.form td {
	vertical-align: top;
	}
input, select, textarea {
	font-size: 11px;
	}
.alert {
	color: #990000;
	font-weight: bold;
	}
.actioncomplete {
	color: #8B9414;
	font-weight: bold;
	}
.prompt {
    font-weight: bold;
    vertical-align: top;
    }
/* global links */
A:link { color: #006bad; text-decoration: none;; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt}
A:visited{ color: #006bad; text-decoration: none;; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt}
A:hover { color: #006bad; text-decoration: underline;; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt}
.text {  font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; color: #000000}
/* global links */

/* grey out rows to indicate inactivity or disabled status */
.greyedout td
{
    color:              #c0c0c0;
}

/* menubar - begin */
#amta-logo {
    padding: 12px 16px 12px 12px;
}
#nav a:link { color: #CCFFFF; text-decoration: none;; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt}
#nav a:visited { color: #CCFFFF; text-decoration: none;; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt}
#nav a:hover { color: #CCFFFF; text-decoration: underline;; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt}
#nav {
	padding-left: 10px;
	padding-top: 6px;
	padding-bottom: 6px;
	padding-right: 6px;
    background-color: #006bad;
    text-align: right;
    color: #ffffff;
	}
/* menubar - end */

/* leftnav - begin */
#leftnav a:link, #leftnav a:visited {
    color: #666;
}
#leftnav a:hover, #leftnav a:active {
    text-decoration: none;
    color: #006bad;
}
#leftnav {
    background-color: #ddd;
    border-style: groove;
    border-top-style: none;
    border-color: #000;
    border-width: 1px;
    margin-left: 6px;
    margin-right: 4px;
    color: #333;
    padding: 4px;
    width: 232px;
}
#leftnav .menu-title {
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 2px;
}
/* leftnav - end */

/* Validation */

.validation-errors div {
	color: #990000;
	font-weight: bold;
}

/* Start forms */

table.form th, table.form td {
    padding-top: 5px;
    text-align: left;
    vertical-align: middle;
}

table.form th {
    font-weight: normal;
    text-align: left;
    padding-right: 5px;
    vertical-align: middle;
}

/* End forms */


#inlinetable td {
	padding: 6px;
	vertical-align: top;
	}
#inlinetable th {
	padding: .3em;
	color: #ffffff;
    background-color: #767676;
    text-align: left;
	}

#scrn
{
  padding:  10px;
  font-style: normal;
  text-align: left;
}

td.tableheading {
	padding: 6px;
	vertical-align: top;
    background-color: #969696;
    color: #ffffff;
    font-weight: bold;
}

#report p
{
    padding:            6px;
}

.widetable {
    margin-top: 15px;
    width: 100%;
    border-spacing: 2px;
}

.widetable th {
    padding: 6px;
    vertical-align: top;
    text-align: left;
    background-color: #969696;
    color: #ffffff;
    font-weight: bold;
}

.widetable td {
    padding: 2px 6px 1px 6px;
    vertical-align: top;
}

.widetable td.tableheading {
    padding: 6px;
    vertical-align: top;
    text-align: left;
    background-color: #AAAAAA;
    color: #ffffff;
    font-weight: bold;
}

/* Make it easier to see the whole line - useful with info on the left but links on the right and wide tables */  
tr.record:hover {
    background-color: #dddddd;
}

.narrowtable {
    border-spacing: 2px;
}

.narrowtable td {
    padding: 2px 6px 1px 6px;
    vertical-align: top;
}

.narrowtable td.tableheading {
    padding: 6px;
    vertical-align: top;
    text-align: left;
    background-color: #AAAAAA;
    color: #ffffff;
    font-weight: bold;
}

.alignright {
    text-align: right;
}

.inactive-user {
    background-color: #EEEEEE;
}


#amta-logo {
    padding: 12px 16px 12px 12px;
}

#imei-inquiry-portal-title {
    font-size: 30pt;
    font-weight: bold;
    text-align: left;
    vertical-align: middle;
    width: 100%;
}

/* Trick to get footer at the bottom content or window */
body {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

#footer {
    margin-top: auto;       /* Makes it go to the bottom of the view */
    border-top: 1px solid #006bad;
    padding: 10px 0;
    display: flex; 
    justify-content: space-between;
}

.footer-left {
    padding-left: 6px;
}

.footer-right {
    padding-right: 6px;
}

/* When the "Print" link is clicked, JS adds .print-result-only to <body> and marks
   .printable ancestors and descendants. The CSS hides everything that isn't part of
   that chain, without overriding any existing display values (so inline flex etc. are
   preserved). A normal Cmd+P prints the full page because the classes are absent. */
@media print {
    .print-result-only *:not(.printable):not(.printable-ancestor):not(.printable-content) {
        display: none !important;
    }
    .print-result-only {
        display: block !important;
        height: auto;
        padding: 2em;
    }
    .print-result-only .widetable th, .print-result-only .widetable td, .print-result-only .widetable td.tableheading {
        font-size: 8pt;
    }
}