/*
* ===== Color Schema =====
* Primary Color
* 	Medium Blue: #004990
*   Grey Blue: #63809c
*	Light Blue: #DBE5EF
*	Dark Blue: #1C355E
* 	Alternative Dark Blue: 3F4B63
*
* Secondary Color
*	Medium Blue: #306FAA
*	Light Blue: #468FCF
*
* Accent Color
* 	Yellow: #C4B300
*
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

/* =====================
   MODERNIZED GLOBAL STYLES
   ===================== */
:root {
  --primary-color: #25495e;
  --primary-dark: #1e40af;
  --secondary-color: #64748b;
  --accent-color: #fbbf24;
  --background: #f8fafc;
  --surface: #fff;
  --text-main: #1e293b;
  --text-light: #64748b;
  --border-radius: 0.5rem;
  --transition: 0.2s cubic-bezier(.4,0,.2,1);
}

body {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  background: var(--background);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header, footer {
  background: var(--surface);
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(30,41,59,0.04);
  padding: 1.5rem 0;
}

.main-footer {
  background: var(--surface);
  color: var(--text-light);
  border-top: 1px solid #e5e7eb;
  margin-top: auto;
  padding: 1.5rem 0;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}
.footer-links ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--primary-dark);
}

/* Modern Buttons */
.button, input.button, button.button, a.button, span.button {
  display: inline-block;
  padding: 0.5em 1.25em;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary-color);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 1px 2px rgba(30,41,59,0.04);
  text-decoration: none;
}
.button:hover, input.button:hover, button.button:hover, a.button:hover, span.button:hover {
  background: var(--primary-dark);
  color: #fff;
}
.button.button_secondary {
  background: #fff;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}
.button.button_secondary:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Modern Forms */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--border-radius);
  padding: 0.5em 0.75em;
  background: #fff;
  transition: border var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px #2563eb22;
  outline: none;
}
label {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25em;
  display: inline-block;
}

/* Modern Table */
table {
  width: 100%;
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
th, td {
  padding: 0.75em 1em;
  text-align: left;
}
th {
  background: var(--primary-color);
  color: #fff;
  font-weight: 700;
}
td {
  border-bottom: 1px solid #e5e7eb;
}
tr:last-child td {
  border-bottom: none;
}

/* Modern Card/Box */
.card, .box, .infoBox, .warningBox, .okBox, .blueInfoBox, .yellowWarningBox {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(30,41,59,0.06);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Modern Utility Classes */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-4 {
  gap: 1rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.p-4 {
  padding: 1rem;
}
.rounded {
  border-radius: var(--border-radius);
}
.shadow {
  box-shadow: 0 2px 8px rgba(30,41,59,0.06);
}

/* Responsive Design */
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  table, th, td {
    font-size: 0.95rem;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 0.95rem;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0 1rem;
  }
  header, footer, .main-footer {
    padding: 1rem 0.5rem;
  }
  table, th, td {
    font-size: 0.9rem;
  }
}

/* ========== END MODERNIZED SECTION ========== */

/* Legacy styles below are retained for compatibility, but consider updating usages to the modern classes above. */

/* general style
------------------------------------ */
p, b,a,i,u,em,table,th,td,tr,form,select,option,input,textarea,div,li{
	font-size: 1em;
	font-family: "Open Sans",arial,sans-serif,verdana,unicode MS;
	text-align: left;
}
p, h1, h2, h3, pre {
	margin: 0;
	padding: 5px 0;
}
h1 {
	margin:.5em 0 .25em;
	font-size:1.5em;
	color: #004990;
    font-weight: 600;
}
h2 {
	margin: .4em 0 .2em;
	font-size: 1.3em;
	color: #333;
    font-weight: 600;
}
h3 {
	margin: .2em 0;
	color: #666;
	font-size: 1.1em;
	font-weight:600;
}
h3.line {
	margin:0;
	padding-bottom: 0;
	border-bottom: #999 2px solid;
}
h4, h5, h6 {
    font-weight: 600;
}
b {
    font-weight: 600
}
h2 + p {
	margin-top: -.5em;
}
h2 + h3 {
	margin-top: -1em;
}
a,
a:active,
a:visited,
span.a {
	color: #306FAA;
	text-decoration:none;
	cursor: pointer;
}
a:hover {
	color: #004990;
	text-decoration:underline;
}
a.text{
	color: #333;
	text-decoration:none;
}
a.text:hover, a.text:active {
	text-decoration:underline;
}
a.disabled,
a.disabled:active,
a.disabled:visited,
a.disabled:hover {
	color: #999;
	text-decoration:none;
}

/* clear
------------------------------------ */
.clear:after {
    clear: both;
}
/* force element clear floats */
.clear:before, .clear:after {
    content: " ";
    display: table;
}


/* form style
------------------------------------ */
form {
	margin:0;
}
input, textarea, select {
    background: none repeat scroll 0 0 rgb(255, 255, 255);
    border: 1px solid rgb(170, 170, 170);
    border-radius: 3px 3px 3px 3px;
    font-family: "Open Sans", "Helvetica Neue",Arial,Verdana,"Nimbus Sans L",sans-serif;
    font-size: 1em;
    padding: 4px 5px;
}
input:focus, textarea.focus, select:focus{
	border-color: #396E8E;
	box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), 0 0 3px rgba(80, 167, 238, 0.6);
}
input[readonly],
select[readonly] {
	background-color: #eee;
}
select {
	font-family: "Open Sans", "Helvetica Neue",Arial,Verdana,"Nimbus Sans L",sans-serif;
}
td.label {
	text-align:right;
	vertical-align:top;
	padding:4px !important;
}
td.buttonBlock{
	padding: 1em 0;
	text-align:right;
}
td.fixedWidthChildren > * {
	width: 220px;
}
div.buttonBlock{
    background: none repeat scroll 0 0 #F6E8A9;
    border-bottom: 1px solid #999999;
    border-top: 2px solid #F4F1E1;
    padding: 5px;
}
.fullField input, .fullField textarea{
	width: 95%;
}
.fullField select{
	width: 98%;
}
input.button,  a.button, span.button, button.button {
	margin: 2px;
	padding: 2px 6px;
	color:#fff;
	background-color:#306FAA;
	border: 1px solid #306FAA;
	text-decoration:none;
	border-radius:4px;
  	-webkit-border-radius: 4px;
  	cursor: pointer;
}
input.button,  a.button, span.button {
	font-weight: 600
}
input.button.mAu, a.button.mAu, span.button.mAu, button.button.mAu {
	margin: auto;
}
.input.button.button_secondary , a.button.button_secondary , span.button.button_secondary {
	color:#306FAA;
	background-color:#fff;
}
input[type="image" i] {
	background-color: initial;
}
button.button_secondary {
	color:#306FAA;
	background-color:#fff;
	border: 1px solid #306FAA;
	border-radius: 0.2rem;
	padding: 0.2rem 0.4rem;
	cursor: pointer;
}

.button_gray,
a.button_gray,
.button_gray:visited {
	margin: 2px;
	padding: 2px 6px;
	font-weight: normal;
	color:#333;
	background-color:#eee;
	border: 1px solid #999;
	text-decoration:none;
	border-radius:4px;
  	-webkit-border-radius: 4px;
  	cursor: pointer;
}

/* use .button_disabled with .button together */
.button_disabled {
	color:#999 !important;
	background-color:#eee !important;
	border: 1px solid #ccc !important;
  	cursor: none !important;
	pointer-events: none !important;
}
.button_clear,
a.button_clear,
.button_clear:visited {
    margin: 0;
    padding: 2px 10px;
    box-sizing: border-box;
    border: 1px solid #CCC;
    border-radius: 3px;
    color: #333;
    font-size: 1em;
    height: 1.6em;
    line-height: 1em;
    text-decoration: none;
    text-shadow: 0 1px 0 #FFF;
    vertical-align: baseline;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
}
.button_clear:focus,
.button_clear:hover {
    background: transparent linear-gradient(to bottom, #FFF 0%, #F7F7F7 100%) repeat scroll 0 0;
    border-color: #999;
    color: #000;
    text-decoration: none;
    text-shadow: 0 1px 0 #FFF;
}
.button_text{
	padding: 0 10px !important;
	height: 1.2em !important;
	border-width: 0 0 0 1px;
}
.required {
	color: #f00;
}
.disabledInput {
	pointer-events: none;
	border: 0;
}

/* fieldset
------------------------------------ */
div.fieldset{border-width:1px 0;border-style:solid none;padding:10px 10px 10px 20px;}
div.fieldset em{font-weight:600;font-style:normal;}
div.fieldset label{font-weight:600;cursor:pointer;}
div.fieldset td.label{font-weight:600;text-align:right;}
div.lightfill{background-color:#FcFcFc;border-top-color:#FFF;border-bottom-color:#e1e1e1;}
div.darkfill{background-color:#F6F6F6;border-top-color:#FFF;border-bottom-color:#C1C1C1;}

.advbutton, .handButton {
	padding: 6px 10px;
	color: #fff !important;
    font-family: "Open Sans", serif;
	font-size:14px;
	background-color: #187BA5;
	border: 1px solid #187BA5;
	text-decoration: none;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	cursor: pointer;

}
.taskButton {
    padding: 6px 10px;
    color: #187BA5 !important;
    font-family: "Open Sans", serif;
    font-size:14px;
    background-color: #fff;
    border: 1px solid #187BA5;
    text-decoration: none;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    cursor: pointer;

}
.advbutton:hover, .handButton:hover {
	text-decoration: none;
	color: #fff;
}

/* table style
------------------------------------ */
table {
	empty-cells: show;
}
th {
    font-weight: 600;
}
caption{
	padding-bottom:8px;
	font-size: 1.2em;
	font-weight: 600;
}
/* firefox hack begin */
table>caption {padding-bottom:0; }
/* firefox hack end */
table.full {
	width:100%;
}
table.tight{
	border-collapse: collapse;
}
table.tight td{
	padding: 0;
}
table.grid {
	border-collapse: collapse;
	border: 0 solid yellow;
	margin-top: 8px;
	margin-bottom: 8px;
}
table.grid caption {
	text-align: left;
	color: #333;
}
table.grid td, table.grid th {
	border: 1px solid #999;
	padding: 4px;
}
table.grid th {
	background-color: #25495e;
	font-weight: 600;
}
table.grid th.blank {
	background-color: #fff !important;
}
table.line {
	margin: 0;
	padding: 5px;
	border-collapse: collapse;
	background-color: #fff;
}
table.line caption {
	text-align: left;
	color: #333;
}
table.line td, table.line th {
	padding: 4px;
	border-bottom: #ccc 1px solid;
}
table.line th{
	color:#fff;
	background:#56566C;
}
table.line td.label {
	text-align:left;
	vertical-align:top;
	padding: 4px;
}
table.grid .itemList-actions {
	min-width: 6rem;
}


/* image style
------------------------------------ */
img {
	border: 0;
	width: auto;
	height: auto;
}
div.imageOnLeft {
	float:left;
	margin-right:1em;
}



/* list style
------------------------------------ */
ul {
	margin: 0;
	padding: 0 1.4em;
}
li.seperator{
	margin: 5px 0 2px!important;
	padding: 0 !important;
	border-bottom: 1px dotted #B6AD98;
	font-size: 1px;
}
li.bigSeperator{
	margin: 20px 0 5px!important;
	padding: 0 !important;
	border-bottom: 1px solid #A1A3B7;
  font-size: 1px;
}
/* no bullet
------------------------------------ */
ul.nobullet{
	margin: 0;
	padding: 0;
	list-style-type:none;
}
ul.nobullet ul.nobullet{
	padding: 0 2em;
	list-style-type:none;
}
/* link list
------------------------------------ */
.links-list{
	margin: 0;
	padding: 0;
}
.links-list li {
	margin: 0;
	padding: 8px 0 0 21px;
	text-indent: -21px; /* hanging index */
	line-height: 150%;
	list-style-position:outside;
	list-style-type:none;
	overflow: hidden;
}
.links-list li a{
	padding:0 0 0 21px;
}
.links-list li a.add{
	background-position: 0 -45px;
}
.links-list li a.chart{
	background-position: 0 -85px;
}
.links-list li a.tbl{
	background-position: 0 -127px;
}
.links-list li a.print{
	background-position: 0 -169px;
}
.links-list li h4{
	margin:0;
	padding:0 0 0 10px;
	color:#004990;
}
.links-list li ul li{
	margin-left: -1em;
}
/* quick link box
------------------------------------ */
#qlinks {
	margin: 0 0 1.2em;
	width: 230px;
}
#qlinks .links-list{
	padding: 0 0 2px;
	background: #f7f7eb;
	border-top: 1px dotted #3274d0;
	border-bottom: 1px dotted #3274d0;
}
/* bigItem List
------------------------------------ */
.bigItem-list{
	margin:0;
	padding: 0 0 2px;
}
.bigItem-list li {
	margin: .5em 0;
	padding: .5em 0;
	line-height: 1.1em;
	list-style-position:outside;
	list-style-type:none;
}
.bigItem-list li a{
	padding:0 0 0 26px;
}
/* inline List
------------------------------------ */
ul.inlineList {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.inlineList>li {
    padding-left: 10px;
    padding-right: 0;
    vertical-align: top;
    display: inline-block;
}
.inlineList>li:first-child {
    padding-left: 0;
}


/* toggle style
------------------------------------ */
span.toggleDownImg, span.toggleUpImg {
	float: right;
	outline: 0;
	display: block;
	width: 16px;
	height: 16px;
	padding: 0;
	margin: 0;
	background-image: url('/ati/common/images/icon_chevron_circle_down-ec27e168315ca9ff0e8372bfa9191ffc.svg');
	background-position: 0 0;
}
span.toggleUpImg {
	transform: rotate(180deg);
}


/* color
------------------------------------ */
.blue {color:#306FAA}

/* background color
------------------------------------ */
.bg_beige{background: #F0F0F3;}
.bg_beige1{background: #f7f7eb;}
.bg_beige2{background: #fbfbf5;}
.bg_beige3{background: #eee;}

.bg_white{background: #fff;}

.bg_blue10{background: #ECF4FA;}
.translucent{opacity: 0.3;}


/* border
------------------------------------ */
.bt { border-top: #E3E4E9 1px solid; } /* duplicate bt class here !!! otherwise bt won't work. */
.bt { border-top: #E3E4E9 1px solid; }
.br { border-right: #E3E4E9 1px solid;}
.bb { border-bottom: #E3E4E9 1px solid;}
.bl { border-left: red 1px solid;}
.btr { border-right: #E3E4E9 1px solid; border-top: #E3E4E9 1px solid;}


/* icons
------------------------------------ */
.icon-print {
	padding-left: 18px;
}
.icon-cost {
	padding-left: 18px;
}
.icon_edit {
	background-image:url('/ati/common/images/edit_pencil_small-2262bfbbca2c9ce7583ebb28ff2af65d.png');
	width: 18px;
	height: 17px;
	margin-right: 4px;
	display: inline-block;
}


/* tag
------------------------------------ */
.tag {
    display: inline;
    margin-left: 8px;
    padding: 1px 5px;
    color: #306FAA;
    font-size: 11px;
    font-weight: normal;
    text-decoration: none;
    line-height: 13px;
    height: 15px;
    white-space: nowrap;
    border-radius: 3px;
}
.tag_green{
	background-color:#13AE2D;
}
.tag_yellow{
	background-color:#D2A41C;
}
.tag_forest{
	background-color:#7B996A;
}


/* comment style
------------------------------------ */
.comment{
	padding: .2em 0;
	border-bottom: 1px solid #eee;
}
.comment:last-child{
	border-bottom: none;
}
.comment-header{
	font-size: .85em;
	color: #777;
}
.comment-content {
	padding: .2em 0;
}



/* miscellneous
------------------------------------ */
.h100 {
	height: 100%;
}
.posRelative {
	position: relative;
}
sup{
	font-size:0.9em;
}
.note {
	font-size: 0.8em;
	color: #666;
}
.small {
	font-size: 0.85em;
}
.warningBox{
	padding:1em;
	background: #ffd;
	border-top:2px solid #A31919;
}
.warningBox2{
	padding:1em;
	background: #FFF5DA;
	border: 1px solid #EDAE01;
	margin-bottom: 1em;
}
.warningBox3{
	padding:1em;
	background-color: #FFF5DA;
	border: 2px solid #EDAE01;
}
.yellowWarningBox {
	border: 1px solid #946C00;
	background: #FFEEBF;
	padding: 1rem;
	border-radius: 3px;
}
.blueInfoBox {
	border: 1px solid #ccc;
	background:#D9F4FA;
	padding: 1rem;
	border-radius: 3px;
}

.yellowWarningIcon {
	fill: #946C00;
	width: 2rem;
	height: 2rem;
	margin-right: 20px;
}

.yellowWarningMessage {
	font-size: 14px;
}

.videoPrivacyBoxRequired {
	border: 1px solid #B31B20;
	background: #F9E2E2;
	padding: 1rem;
	border-radius: 3px;
}
.okBox{
	padding:1em;
	background: #ffd;
	border:1px solid #390;
	border-top:2px solid #390;
}
.flash-message {
    background-color: #D1F3D0;
    background-repeat: no-repeat;
    background-position: 10px 9px;
    border: 1px solid #378230;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    color: rgb(0, 0, 0);
    font-size: 12px;
    line-height: 20px;
    padding: 5px 10px 5px 12px;
}
.errorMsg{
	padding:.8em 1em;
	vertical-align:middle;
}
.error{
	margin: 4px 0;
	color: #A31919;
}
.disabled {
	color: #CCC;
}
.placeholder {
	color: #666;
}
.hightlight {
	font-weight:600;
	background: #FFFAB5;
}
.hightlightBox{
	padding:1em;
	background: #FFFAB5;
	border:1px solid #e1d787;
	border-top:2px solid #e1d787;
}
span.hightlight {
	padding: .2em .5em;
}
.spacer_30 {
	height:30px;
}
.mt1 {
	margin-top: 0.5rem;
}
.mb1 {
	margin-bottom: 0.5rem;
}
div.seperator {
	margin: 15px 0;
	font-size: 0;
	border-bottom: 1px solid #ccc;
}
.middle {
	vertical-align:middle;
}
.top {
	vertical-align:top;
}
.bottom {
	vertical-align:bottom;
}
.left {
	text-align:left;
}
.right {
	text-align:right;
}
.center{
	text-align:center;
}
.lfloat{
	float:left;
}
.rfloat{
	float:right;
}
.on {
	background-color: #eee;
}
.hide {
	display:none;
}
.even{
	background: #F0F0F8;
}
.odd{
	background: #F7F7F7;
}
.nowrap{
	white-space: nowrap;
}
.line {
	border-bottom: #999 1px solid;
}
.w100 {
	width: 100%;
}
.flex1 {
  flex: 1;
}
.flexRow {
  display: flex;
}
.flexDirCol {
	flex-direction: column;
}
.flexWrap-wrap {
	flex-wrap: wrap;
}
.justifyCenter {
	justify-content: center;
}
.justifyEnd {
	justify-content: flex-end;
}
.justifySpaceBetween {
  justify-content: space-between;
}
.alignBaseline {
	align-items: baseline;
}
.alignCenter {
	align-items: center;
}
.rotate270 {
  transform: rotate(270deg);
}
.rotate180 {
  transform: rotate(180deg);
}
.rotate90 {
  transform: rotate(90deg);
}
.ml2 {
  margin-left: .5rem;
}
.z1 {
	z-index: 1;
}
.deleteLink {
	color: #D9273E;
	text-decoration:none;
	cursor: pointer;
}
.deleteLink:hover {
	color: #D9273E;
	text-decoration:underline;
}
.viewLink {
	color: #fff;
	text-decoration:none;
	cursor: pointer;
}
.viewLink:hover {
	color: #fff;
	text-decoration:underline;
}

.fixedWidth {
	min-width: 2.5rem;
}
/* fontawesome
------------------------------------ */
.fa-info-circle {
	color: #666666;
}

.cancel-button {
    margin: 2px;
    padding: 2px 6px;
    border: 1px solid lightgrey;
    text-decoration: none;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    cursor: pointer;
}

.pointer {
	cursor:pointer;
}
.pointerNone {
    pointer-events: none;
}

.content-grid {
    display: grid;
    grid-template-columns: 15% 83%;
    grid-gap: 1rem;
    width: 100%;
    height: 100%;
}

.content-grid .top {
    vertical-align: top;
}

.content-grid .main-content {
    vertical-align: top;
    width: 100%;
}
