/*
    Colors
    Body background: #CFD5E6
    Top Bar:      #405180
    Header Text:  #3056BF
    Header Text 2: #405180  (greyer version of the above)
    
    Error Blocks: #E6D4CF (Pink/red)
    Warning Blocks: #E6D673 (Yellow)  
    Alternate Yellow Error Text: #807740 (Dark Orange/Brown)
    Form/Content Blocks: #E6E2CF  (pale yellow/beige)
    Error/Warning Text: #BF5430  (Orange/Red)
    Error/Warning Text 2: #805040 (Darker Orange/Red) #704030 (Warning box text)

*/

body {
    font: 12px arial, sans-serif;
    text-align: left;
    padding: 0px;
}

.gridcontainer {
	/*Grid Layout 2023 - Ben */
	display: grid;
	grid-template-areas: 
		"header header header"
		"article article article"
		"footer footer footer";
	grid-template-rows: 60px 1fr 50px;  
	grid-template-columns: 50px 1fr 50px;
	grid-row-gap: 0px;
	grid-column-gap: 0px;
	height: 100vh;
	margin: 0;
}

#pageHeader {
  grid-area: header;
  background: #1e2d3b;
  color: #ffffff;
  text-decoration: none;
  }
#pageFooter {
  grid-area: footer;
  background: #1e2d3b;
  color: #ffffff;
  }
#mainMenu { 
  display: none;      
  background: #e1f0ff;  
  }

#mainArticle { 
  grid-area: article;      
  }
#mainNav { 
  display: none;
  background: #edcd21;  
  }
#mainNav { 
  display: none;
  background: #edcd21;  
  }
#siteAds { 
  display: none; 
  background: #edcd21;
  padding: 10px;
  } 
/* Stack the layout on small devices/viewports. */
@media all and (max-width: 575px) {
  body { 
    grid-template-areas: 
      "header"
	  "menu"
      "article"
      "ads"
      "nav"
      "footer";
    grid-template-rows: 80px 80px 1fr 70px 1fr 70px;  
    grid-template-columns: 1fr;
 }
}  

.gridcontainermenu {
	/*Grid Layout 2023 for select boxes on pages - Ben */
	display: grid;
	grid-template-areas: 
		"title title title title title"
		"cell1 cell2 cell3 cell4 cell5";
	grid-template-rows: 30px 200px;  
	grid-template-columns: 200px 200px 100px 100px 1fr;
	grid-row-gap: 10px;
	grid-column-gap: 10px;
	height: 250px;
	margin: 0;
}

#title {
  grid-area: title;
  color: #ffffff;
  text-decoration: none;
  }
#cell1 {
  grid-area: cell1;
  color: #ffffff;
  text-decoration: none;
  }
#cell2 {
  grid-area: cell1;
  color: #ffffff;
  text-decoration: none;
  }
#cell3 {
  grid-area: cell1;
  color: #ffffff;
  text-decoration: none;
  }
#cell4 {
  grid-area: cell1;
  color: #ffffff;
  text-decoration: none;
  }
#cell5 {
  grid-area: cell1;
  color: #ffffff;
  text-decoration: none;
  }
/* Stack the layout on small devices/viewports. */
@media all and (max-width: 575px) {
  .gridcontainermenu { 
    grid-template-areas: 
      "header"
	  "menu"
      "article"
      "ads"
      "nav"
      "footer";
    grid-template-rows: 30px 1fr;  
    grid-template-columns: 1fr;
 }
}  


#main {
    font: 12px arial, sans-serif;
    /*width: 960px;*/
    text-align: left;
    /*display: block; */
    margin-right: auto;
    margin-left: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0;
    /*border: 1px solid #336;*/
    border: 1px solid #949494;
    /*background: #cfd5e6;*/	
    background: #f7fafc;
    /* background: #ffffff; */
}

#helpmain {
    font: 12px arial, sans-serif;
    width: 580px;
    text-align: left;
    /*display: block; */
    margin-right: auto;
    margin-left: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0;
    /* background: #CFD5E6; */
    background: #ffffff;
}

#footer {
    clear: both;
}

#breadcrumbs {
    font-weight: bold;
    position: relative;
    top: 10px;
}


#display-logo {
    background: url('/media/images/ctrl_logo.png?w=285') no-repeat;
    background-size: 142px 45px;
    width: 285px;
    height: 60px;
    /* background: #003366; */
	margin: 15px 15px 15px 30px; 
}

#print-logo {
    display: none;
}

#display-location {
    display: block;
    position: relative;
    top: 15px;
}

#print-location {
    display: none;
}

h1 {
    font-size: 24px;
    color: #000000;
    margin: 15px; /* 0px 15px 0px;*/
    padding: 0px;
    /*clear: right;*/
     width: 800px;
}

h2 {
    font-size: 18px;
    color: #000000;
    margin: 15px; /*0px 5px 0px;*/
    padding: 0px;
}

a h2 {
    text-decoration: none;
}

h3 {
    font-size: 14px;
    color: #000000;
    margin: 5px 0px 5px 0px;
    padding: 0px;
}

h4 {
    font-size: 12px;
    margin: 5px 0px 5px 0px;
    padding: 0px;
}

p {
    margin: 5px 0px 5px 0px;
    padding: 0px;
}

input {
    margin: 10px;
    padding: 10px;
    box-shadow: 3px 3px 5px 0px #949494;
    border-radius: 3px;
    background-color: #fff;
    border: 2px #949494;
}

textarea {
    margin: 10px;
    padding: 10px;
    box-shadow: 3px 3px 5px 0px #949494;
    border-radius: 3px;
    border: 2px #949494;
}

select {
    margin: 10px;
    padding: 10px;
    box-shadow: 3px 3px 5px 0px #949494;
    border: 2px #949494;
}

hr {
    margin: 0px;
    padding: 0px;
}

#header {
    height: 80px;
    padding: 5px;
    margin: 0px;
    color: #ffffff;
    /* background: #405180; */
    /*background: #003366; */
    background: #edcd21;
}

#header a {
    color: #ffffff;
}

.sidenav {
    width: 105px;
    height: auto;
    position: fixed;
    overflow-x: hidden;
    float: left;
    clear: left;
    padding: 10px;
    margin: 0px;
    border-right: 1px solid #949494;
}

.sidenav a {
    text-decoration: none;
}

.sidenav a:hover {
    background-color: ffffff;
}

#leftnavblock {
    /*width: 470px;*/
    width: 105px;
    height: auto;
    float: left;
    clear: left;
    padding: 10px; 
    margin: 0px;
    /* border-right: 1px solid #aaa; */
    border-right: 1px solid #949494;
}

#rightnavblock {
    width: auto; /*450px;*/
    padding: 0px 5px 0px 10px;
    margin: 20px;
}
#leftblock {
    width: 200px;
    height: auto;
    float: left;
    /*clear: left;*/
    padding: 0px 5px 5px 10px;
    margin: 0px;
    display: block;
    /* border-right: 1px solid #aaa; */
}

#leftblock ul {
    margin: 5px 0px 5px 0px;
    padding: 0px;
}

#leftblock li {
    float: left;
    clear: left;
    width: 190px;
    list-style-type: none;
    margin: 0px 0px 0px 5px;
    padding: 5px 0px 5px 0px;
}

#leftblock select {
    width: 150px;
}

#rightblock {
    width: 800px;
    float: left;
    padding-left: 100px;
    margin: 0px;
    padding-top: 75px;
    /* border-left: 1px solid #aaa; */
}

#helpmenu {
    width: 150px;
    height: auto;
    float: left;
    clear: left;
    padding: 10px;
    margin: 10px;
    border-right: 1px solid #aaa;
}

#helpmenu a {
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    /*color: #3056BF;*/
    color: #000000;
}

#help {
    padding-left: 200px;
    padding-right: 5px;
    margin: 10px;
}

#help h3 {
    padding-top: 10px;
}

#warning_block h2 {
    color: #1e2d3b;
    /*color: #807740;*/
}

#warning_block {
    border: 1px solid #333;
    /*background-color: #E6D673;*/
    background-color: #ffe26d;
    margin: 5px 5px 5px 0px;
    padding: 5px 10px 5px 10px;
    display: block;
    color: #333333;
    /*color: #704030;*/
}

#error_block h2 {
    /*color: #BF5430;*/
    color: #1e2d3b;
}

#error_block {
    border: 1px solid #000;
    /*background-color: #E6D4CF;*/
    background-color: #ffe26d;
    margin: 5px 5px 5px 0px;
    padding: 5px 10px 5px 10px;
    display: block;
    color: 333333;
    /*color: #704030;*/
}

#hint_block {
    float: left;
    border: none;
    /*background-color: #efefef;
    background-color: #ffe26d;*/
    font-size: 14px;
    margin: 10px 0px 0px 0px;
    display: block;
    width: auto;
    clear: left;
}

#hint_block h2 {
    font-size: 14px;
}

#hint_block h3 {
    font-size: 12px;
    padding: 2px;
}

#info_block {
    float: left;
    border: none;
    /*background-color: #efefef;
    background-color: #ffe26d;*/
    font-size: 14px;
    margin: 10px 0px 0px 0px;
    display: block;
    width: auto;
    clear: left;
}

#info_block h2 {
    font-size: 14px;
}

#overview_block {
    border: 1px solid #333;
    /*background-color: #efefef;*/
    background-color: #e1f0ff;
    font-size: 12px;
    margin-top: 10px;
    padding: 2px 5px 2px 5px;
}

#nav_block {
    border: 1px solid #333;
    /*background-color: #efefef;*/
    background-color: #e1f0ff;
    font-size: 12px;
    margin-top: 10px;
    padding: 2px 5px 2px 5px;
}

#action_block {
    border: 1px solid #333;
    /*background-color: #efefef;*/
    background-color: #ffffff;
    margin: 10px;
    padding: 5px;
    /*float: left;*/
    box-shadow: 5px 5px 10px 0px #949494;
    border-radius: 3px;
}

#action_block h3 {
    font-size: 12px;
}

#admin_block {
    border: 1px solid #333;
    /*background-color: #efefef;*/
    background-color: #e1f0ff;
    font-size: 12px;
    margin-top: 10px;
    padding: 2px 5px 2px 5px;
}
#report_block {
    border: 1px solid #333;
    /*background-color: #efefef;*/
    background-color: #e1f0ff;
    font-size: 12px;
    margin-top: 10px;
    padding: 2px 5px 2px 5px;
}
.login{
    width:400px;
    height: auto;
    font-weight: bold;
    text-align:right;
    float: right;
    margin: 10px;
	color: #ffffff;
}

.login a {
    color: #ffffff;
	text-decoration: underline;
}

.leftcontent {
    width: 250px;/*200px;*/
    height: auto;
    float: left;
    /* border-right: 1px solid #aaa; */
    padding: 20px;
}

#left_div_sample_analysis {
	width: 350px;
}

.leftcontent li {
	list-style-type: none;
}

.rightcontent {
    /* border: 1px solid #333; */
    /* background-color: #efefef;*/
    display: block;
    margin: 10px;
    padding: 10px;
	/*text-align: -webkit-center;*/
    float: left;
    /* border-left: 1px solid #aaa; */
}

.rightcontent h2 {
    font-size: 14pt;
    font-weight: bold;
    }

#equipment_select {
    margin: 1px;   
	width: 200px;
}
#component_select {
    margin: 1px;
	width: 200px;
}

.noprint {
    display: none;
}

.pagebreak {
    display: none;
}

.printonly {
    display: block;
}

#comparison_primary_info {
    width: 370px;
    margin: 0px;
    padding: 2px 2px 2px 2px;
    float: left;
    clear: left;
    //background-color: #CCDDFF;
}

#comparison_secondary_info {
    width: 370px;
    margin: 0px;
    padding: 2px 2px 2px 2px;
    float: right;
    //background-color: #CCFFCC;
}

#component_plot_area {
    margin: 0px;
    padding: 0px;
    height: 255px;
}

.errorlist ul {
    margin: 2px 0px 2px 0px;
    padding: 0px;
}

.errorlist li {
    margin: 0px;
    padding: 0px;
    color: #805040;
    list-style-type: none;
}

.resultbox {
    border: 1px solid #000; 
    /*background: #efefef;*/
    background: #ffffff;
    padding: 20px; /*0px 5px 0px 5px;*/
    margin: 10px;
    box-shadow: 5px 5px 10px 0px #949494;
    border-radius: 3px;
    width: 800px;
}

.resultbox legend {
    font-weight: bold;
    font-size: 14px;
    /*color: #333399;*/
    padding: 0px;
    margin: 0px;
}
.component_plot {

    border: 1px solid #CCC;
    background: #efefef;
    padding: 0px 5px 0px 5px;
    margin: 0px;
    box-shadow: 5px 5px 10px 0px #949494;
    border-radius: 3px;
	width: 600px;
}

.component_plot legend {
    font-weight: bold;
    color: #333399;
    padding: 0px;
    margin: 0px;
}

.formlayout {
    font-size: 12px;
    text-align: left;
    background: #ffffff;
    padding: 20px;
    margin: 10px;
}

.formlayout label {
    width: 200px;
    display: inline;
    float: left;
}

.formlayout th {
    background: #ffffff;
    padding: 5px;
    margin: 5px;
}

.formlayout td {
    background: #ffffff;
}

.formlayout p {
    clear: left;
}

.componentimage {
    clear: left;
    padding: 0px 15px 0px 5px;
    margin: 0px;
}

form label {
    width: 150px;
    display: inline;
    float: left;
}

.threshold_summary {
    margin: 0px;
    padding: 2px 5px 2px 5px;
    /*background-color: #efefef;*/
}

.threshold_summary label {
    width: 180px;
    float: left;
    clear: left;
}

.threshold_summary p {
    padding: 0px;
    margin: 2px 0px 2px 0px;
}

.container_float {
    float: left;
    padding: 10px; /*2px 5px 5px 0px;*/
    clear: left;
}

.sample_report_fieldset {
    height: 155px;
    border: 1px solid #ccc;
    padding: 2px;
    margin: 2px;
    page-break-inside: avoid;
	width: 700px;
}

.sample_report_fieldset label {
    width: 110px;
    display: inline;
    float: left;
    page-break-after: avoid;
}

.breakpoint {
    height: 0px;
}

.component_list_fieldset {
    height: auto;
    border: 1px solid #ccc;
    padding: 2px;
    margin: 2px;
    /* page-break-inside: avoid; */
}

.component_list_fieldset label {
    width: 110px;
    display: inline;
    float: left;
    page-break-after: avoid;
}

.sample_report_table {
    width: 800px;
    padding: 0px 5px 10px 10px;
    margin: 0px;
}

.sample_report_table label {
    width: 110px;
    display: inline;
    float: left;
}

.sample_report_table td {
    padding: 5px;
    vertical-align: top;
    background: #e1f0ff;
}

.sample_equipment_group {
    /*padding-bottom: 5px;*/
}

.working_dialog {
    top: 200px;
    left: 260px;
    position: absolute;
    width: 10em;
    text-align: center;
    vertical-align: middle;
    height: 4.6em;
    border: 1px solid #999;
    background-color: #fff;
    padding: 2px;
    margin: 4px;
}

.cursor_change {
    cursor:pointer;
    /*
     options for IE and NS include default, crosshair, move, text,
     wait, help, n-resize (ne, e, se, s, sw, w, nw)
     options for IE only include hand, progress, not-allowed, no-drop,
     vertical-text, all-scroll, col-resize, row-resize, url(uri)
     options for NS only include pointer (same as hand for IE)
    */
}

.cursor_change a {
    text-decoration: none;
    color: #704030;
}
/*added 5/22/23 - when grid design wouldn't allow js to work*/
#tblequipselect{
	font-size: 12px;
	text-align: left;
	width: 600px;
	table-layout: fixed;
}

/*added 3/29/23 - was in inctrl-main.css but not this file, even though it is called in index.html*/
.tbllayout{
	font-size: 12px;
	text-align: left;
	width: 100%;
	padding-top: 10px;
}


.tbllayout th, td {
	padding: 1px;
	margin: 1px;
}

.tbllayout h1 {
	font-size: 16px;
}

.tbllayout h2 {
	font-size: 14px;
}

.tbllayoutsub1 {
	font-size: 12px;
	width: 800px;
}

.tbsub1header {
	background: #d6deec;
	padding: 2px 0px 2px 5px;
	border; 1px solid #999;
	font-size: 12px;
	font-weight: bold;
	color: #336666;
	width: 817px;
}

/*added 4/11/2023 blocks for menu type items */
.menu_block {
	background: #fff;
	border: 1px solid #000;
	padding: 10px;
	margin: 20px;
	box-shadow: 5px 5px 10px 0px #949494;
	border-radius: 3px;
	height: 150px;
	width: 300px;
	float: left;
	position: relative;
}

.menu_block h1 {
	font-size: 18px;
	color: #000;
	margin: 5px;
	padding: 5px;
}

.menu_block p {
	font-size: 12px;
	color: #000;
	margin: 5px;
	padding: 5px;
}

.menu_block a {
	font-size: 12px;
	color: #edcd21;
	text-align: right;
	margin: 10px;
	padding: 10px;
	text-decoration: none;
}

.bottomright {
	position: absolute;
	bottom: 5px;
	right: 5px;
}
/*form input size */
#id_company {
	width: 85ch;
}

#id_address_1 {
	width: 105ch;
}

#id_address_2 {
	width: 105ch;
}

#id_city {
	width: 55ch;
}

#id_state {
	width: 55ch;
}

#id_province {
	width: 55ch;
}

#id_postal_code {
	width: 55ch;
}

#id_country {
	width: 55ch;
}

#id_phone {
	width: 25ch;
}

#id_fax {
	width: 25ch;
}

#id_component { display: none;}
