/*  Copyright TRUX Route Management Systems Inc. 
	Author: Sanjeev Rajput
	Created: Decemeber 20 2011 */
	
/* Online Help Specific Styling */

#work_area {
border-top:1px solid #b6b8b7;
background-color:#f6f8fb;
}

#help_nav {
width:21%;
margin-top:10px;
margin-left:5px;
padding:10px;
float:left;
line-height: 1.7em;
border-top:1px dashed #CCC;
border-bottom:1px dashed #CCC;
}

#help_nav a {
text-decoration:underline;
}

#help_content {
width:70%;
margin:10px;
padding:10px;
float:right;
border:1px solid #ccc;
background-color:#fff;
}

#content {
padding:10px;
line-height:1.3em;
}

#content h2 {
margin:15px 0px 15px 0px;
font-size:1.6em;
}

#content h3 {
font-size:1.05em;
margin:10px 0px 10px 5px;
color:#333333;
}

.simple_list {
margin:15px;
margin-left:40px;
}

.simple_list li {
list-style:none;
}

.note {
margin:10px 0px 20px 0px;
padding:5px;
background-color:#FFFFCC;
border:1px solid #CCC;
}

.note h1 {
font-size:12pt;
font-weight:bold;
}

.steps {
margin:15px;
margin-left:40px;
}

.steps .fieldname {
font-weight:bold;
}

.link_list {
margin:15px;
margin-left:30px;
font-size:1.05em;
line-height:1.5em;
}

.link_list a {
text-decoration:underline;
}

#alt_help {
width:100%;
border-top:1px dashed #CCC;
}

#alt_help ul {
margin-left:20px;
list-style-type:none;
}

/* Help uses a smaller header and its own two-column content layout. */
html body.cws-help-page #header {
  background: #ffffff;
  border-top: 12px solid var(--cws-navy);
  box-shadow: none;
}

html body.cws-help-page #header_area {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: min(1224px, calc(100% - 64px));
  height: 106px;
  padding: 0;
}

html body.cws-help-page .banner_logo {
  width: 245px;
  height: 58px;
  margin: 0;
}

html body.cws-help-page #work_area {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  align-items: start;
  gap: 26px;
  min-height: calc(100vh - 250px);
}

html body.cws-help-page #work_area > h1 {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  font-size: clamp(28px, 2.2vw, 36px);
}

html body.cws-help-page #help_nav {
  box-sizing: border-box;
  float: none;
  width: auto;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--cws-line);
  background: #f5f8f9;
}

html body.cws-help-page #help_nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

html body.cws-help-page #help_nav a {
  display: block;
  padding: 9px 12px;
  border-left: 3px solid transparent;
  color: var(--cws-navy);
  text-decoration: none;
  line-height: 1.4;
}

html body.cws-help-page #help_nav a:hover,
html body.cws-help-page #help_nav a[aria-current="page"] {
  border-left-color: var(--cws-orange);
  background: #e7f3f5;
  color: var(--cws-teal);
}

html body.cws-help-page #help_content {
  box-sizing: border-box;
  float: none;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--cws-line);
  background: #ffffff;
}

html body.cws-help-page #content {
  padding: 0;
  line-height: 1.65;
}

html body.cws-help-page #breadcrumb {
  margin: 0 0 22px;
  color: var(--cws-muted);
}

html body.cws-help-page #content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
}

html body.cws-help-page #content h2 {
  margin: 28px 0 14px;
  font-size: 26px;
}

html body.cws-help-page #content h3 {
  margin: 20px 0 9px;
  color: var(--cws-navy);
  font-size: 20px;
}

html body.cws-help-page .note {
  margin: 24px 0;
  padding: 18px;
  border: 1px solid #d3e9eb;
  border-left: 4px solid var(--cws-cyan);
  background: #f0f9fa;
}

html body.cws-help-page .note h1 {
  margin: 0 0 12px;
  font-size: 18px;
}

html body.cws-help-page .note h1::after {
  display: none;
}

html body.cws-help-page #alt_help {
  box-sizing: border-box;
  margin-top: 28px;
  padding: 18px 0 0;
  border-top: 1px solid var(--cws-line);
  color: var(--cws-muted);
}

html body .cws-help-examples {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-left: 3px solid var(--cws-cyan);
  background: #edf8fa;
  color: var(--cws-muted);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 800px) {
  html body.cws-help-page #work_area {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  html body.cws-help-page #help_nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html body.cws-help-page #help_content {
    padding: 20px;
  }
}
