@import url("https://fonts.googleapis.com/css?family=Lato:300,400,700|Pacifico|Quattrocento+Sans");

:root {
  --green: #279f64;
  --dkgreen: #228b57; /*#1d764a;*/
  --pinky_beige: #F2F1EF;
  --medium_gray: #bdc3c7;
  --orange: #e97e00;
  --red: #cc0000;
  --light_sage:#DAE2E1;
}

/* bootstrap overriding _container style
@media (min-width: 992px) {

	.fft_midgridbottomcell {
		margin-top: 0.05em;
	}
}
*/

/* bootstrap overriding _container style */
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1450px;
    }
}

.qmark-wrapper {
	display: inline-block;
    margin: 0 0 0 5px;
}

.btn-outline-secondary.disabled, .btn-outline-secondary:disabled {
    color: #6c757d;
    background-color: #e5ebea;
}

/* Testing to see if this fixes chart tab issues */

.bannericon {
	float:left;
	margin-right: 10px;
    height: 48px;
}

#results .tab-content>.tab-pane {
/*  display: block; */ /* undo "display: none;" */
  visibility: hidden;
}

#results .tab-content>.active {
  visibility: visible;
}

.general {
	margin-left: .25em;
    margin-bottom: 0.25em;
}

#evModal h4 {
	margin-bottom: 0;
}

/*#download_csv a {
	text-decoration: none;
	cursor: pointer;
}

#download_csv a:hover {
	text-decoration: underline;
	cursor: pointer;
}*/

/* LINK STYLES */

/*a:link , a:visited {
	color: #000000;
	text-decoration: underline;
	text-decoration-color: #999;
  text-decoration-thickness: .01em;
  text-underline-offset: 1.5px;
}

a:hover {
	color: var(--dkgreen);
	text-decoration:none;
}*/

a:link , a:visited {
	color: #000000;
	text-decoration: underline;
	text-decoration-color: #a7a7a7;
  	text-decoration-thickness: .01em;
  	text-underline-offset: 1.5px;
	cursor: pointer;
}

a:hover {
	color: var(--dkgreen);
	text-decoration: underline;
	cursor: pointer;
}


a.helplink:link , a.helplink:visited {
	color: #000000;
	text-decoration: none;
	/*text-decoration-color: #a7a7a7;
  	text-decoration-thickness: .01em;
  	text-underline-offset: 1.5px;*/
	cursor: pointer;
	background-color: var(--light_sage);
	border: 1px solid var(--dkgreen);
	padding: 2px 4px;
}

a.helplink:hover {
	background-color: #fff;
	/*color: var(--pinky_beige);
	text-decoration: underline;*/
	cursor: pointer;
}

#chartTabsContent a {
	text-decoration: none;
	cursor: pointer;
}

#chartTabsContent a:hover {
	text-decoration: underline;
	cursor: pointer;
}


body { margin: 5px 5px;
	   font-family: Calibri; font-size:1em; }

/* overriding bootstrap */
select:disabled {
    opacity: 0.8;
    background-color: #e5ebea;
}

.enabledselect {
	opacity: 1;
    background-color: #fff;
}

.bold {
	font-weight: 600;
}

body.fft {
	margin: 0%; /* come up w/ somthing better to center content */
	font-family: Calibri,'Helvetica Neue',Helvetica,Arial,sans-serif;
	font-size: 0.8em;
	background-color: var(--pinky_beige);
	/*min-width: 1170px;*/
	max-width:1500px;
	line-height: 1.25;
	}


/* adapted from bluesky */
select.fft {
    border: 2px solid #bdc3c7;
    color: #34495e;
    font-size: 1em;
    padding: 0.1em 0.15em; /*padding: 2px 2px;*/
    border-radius: 4px; /*border-radius: 6px;*/
    box-shadow: none;
    margin: 0.25em;
	background-color: white;
}

option.fft {
	padding: 0px;
    margin: 1px 5px;
}

input.fft {
    border: 2px solid #bdc3c7;
    color: #34495e;
    font-size: 0.95em;
    text-indent: 0px;
    border-radius: 4px;
    box-shadow: none;
    margin: 0.25em;
	padding: 0.15em;
}

button.fft {
	padding: 0.15em 0.45em;
    font-size: 1em;
    border-radius: 4px;
	margin: 0.25em;
	color: #333;
    font-weight: 500;
	background-color: #e5ebea;
}

.header_button {
	font-family:'Helvetica Neue', Helvetica, Calibri, Arial, sans-serif;
	font-weight:600;
	border-width: 2px;
	border-color: var(--green);
}

button.fft2 {
	padding: 0.15em 0.5em;
	font-size: 1.1em;
    border-radius: 4px;
	margin: 0em 0.5em 0.25em 0.5em;
	line-height: 1.15;
}

/* from https://jsfiddle.net/cSSUA/209/ */
.btn-wrapper {
  display: inline-block;
  margin: 0px;
}

.btn-wrapper .btn[disabled] {
  /* don't let button block mouse events from reaching wrapper */
  pointer-events: none;
}

.btn-wrapper.disabled {
  /* OPTIONAL pointer-events setting above blocks cursor setting, so set it here */
  cursor: not-allowed;
}

table.fft {
	padding: 0px;
	margin: 0px;
	width: auto;
}

table.fft td {
	padding: 0em 0.5em;
	vertical-align:middle;
	text-wrap-mode: nowrap;
}

.container {
	/*margin-left:1;%*/
	margin-left:0;
	padding-left:0;
}

.topbox {
    margin-bottom: 20px;

}

.outbox {
	margin: 1em 1em 0em 1.65em;
}
.inbox {
	background-color: #e5ebea;
	border: 1px solid #c0c0c0;
	padding: 0.25em 0.5em;
    margin: 0 0.4em 0 0.75em;
	border-radius: 4px;
}

/* The navigation bar */
.navbar {
  	overflow: hidden;
  	position: fixed; /* Set the navbar to fixed position */
  	top: 0; /* Position the navbar at the top of the page */
  	width: 100%; /* Full width */
	background-color: var(--light_sage);
    border-bottom: 1px solid var(--green);
	z-index: 5;
	padding-top: .25rem;
    padding-bottom: .25rem;
	min-width: 1085px;
}

/* Modifying bootstrap styles */
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #495057;
    background-color: #f3f3f3;
    border-color: #ccc #ccc var(--light_sage);
}

.nav-link {
	color:#495057;
}

.nav-tabs .nav-link {
    margin-bottom: -3px;
	font-size:1.1em;
}

.nav-link:focus, .nav-link:hover {
    color:#fff;
	background-color: #666;
}

#title-area {
	font-family: "Tenor Sans", Candara, sans-serif;
	width: 1425px;
	/* min-width: 720px; keep buttons from overlapping title */
	/* max-width: 1100px; keep buttons where you can see them */
	margin-left: 1.5rem;
	margin-right: 2.5rem;
	text-wrap: nowrap;
}

#title-area h1 {
	font-size:2.25rem;
	margin: 8px 0 0 5px;
	text-shadow: 2px 2px silver;
}

.dlinks h6 {
	font-weight: bold;
    font-size: 1em;
}

.dlinks p {
	margin: 3px;
}

/*.dlinks a:link, a:visited {
	text-decoration: none;
}

.dlinks a:hover {
	text-decoration: underline;
}*/

#download_ev_link, #download_links {
	padding: 2px;
	border:1px solid #c0c0c0;
	background-color: #EBEBEB;
	border-radius: 4px;
	margin: 0 5px 5px 5px;
}

.buttonbox {
	padding: 5px;
	background-color: #CCC;
	text-align: center;
	float: right;
	margin-right: 7px;
	margin-top: 1.5px;
    border: var(--orange) solid 2px;
    border-radius: 4px;
}

.buffer {
	/*padding:2.5em;*/
    padding: 2.1em;
}

.custom-alert {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-color: #fff;
      border: 1px solid #ccc;
      padding: 20px;
      border-radius: 5px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

/*td {font-family: verdana; font-size:8pt;}*/ /* font styles aren't being inherited from body w/in tables in Firefox */
.footnote {
	margin-top: 0;
	margin-bottom: 0;
}

p.fft_slim {
	/*margin-top: 0.25rem; margin-bottom: 0.35rem;*/
	margin:0;
}

p.fft_med { margin-top: 0.25rem; margin-bottom: 1rem; }

#page { page-break-before: always; } /* Deprecated it may be, but it works. */

ul.valerror {padding-left: 1rem;}
ol {margin-top:0px;}
li {padding-bottom:3px; padding-top:3px;}

.alertmsg {
	/*display: block;*/
    color: rgb(204, 0, 0);
	height: 23.35em;
    overflow-y: auto;
}

.page-footer {
	margin-top:2em;
    padding: 20px 0;
    position: relative;
	text-align: center;
}

/* Create horizontal line above footer content
.page-footer:before {
    content: '';
    width: 50%;
    left: 25%;
    height: 1px;
    border-top: 1px dotted rgb(189, 195, 199);
    position: absolute;
    top: -1px;
}*/

.page-footer h4 {
    width: 75%;
    text-align: center;
    border-bottom: 1px solid #BEBEBE;
    line-height: 0.1em;
    margin: 0px 0 30px;
    display: inline-block;
    font-size: 1.2em;
}

.page-footer h4 span {
    background: var(--pinky_beige);
    padding:0 10px;
}

.page-footer ul {
    text-align: left;
	list-style-type: square;
}

.page-footer ul li {
    padding-right: 15px;
}

.page-footer hr {
	margin: 0.5em 0;
	height: 0.75px;
}

.footerbox {
	border:1px #BEBEBE solid;
	width:600px;
	margin:auto;
	padding-top:10px;
	text-align: left;
}

.footer_links_header {
	margin-left:10px;
	letter-spacing: 1px;
	font-weight: bold;
    color: #666;
}

/*.page-footer  a:link, a:visited {
	text-decoration: none;
	cursor: pointer;
}

.page-footer a:hover {
	text-decoration: underline;
	cursor: pointer;
}*/


option {
	padding:0px;
	margin: 1px 5px;
}

.fft_arrow_toggle {
	vertical-align: baseline;
	margin-right: 0.2em;
}

.fft_gridrow {
	margin: 0.25em;
	padding: 0.1em;
}

.fft_gridcell {
	background-color: var(--light_sage);
	border: 1px solid var(--green); /*#8ebddc*/
	padding: 0.5em;
	/*margin: 0.4em;*/
	margin: 0.4em 0 0.4em 0.1em; /*0.25em*/
	border-radius: 4px;
	/* overflow: auto;  Adds scroll bar when table too wide */
}

.fft_midgridcell {
	margin-left: -0.3em;
}

.tree_node {
	font-size: 1.1em;
}

/*.fft_midgridbottomcell {

}*/

.fft_header_gridcell {
	background-color: lightgrey;
	border: 1px solid var(--orange); /* gray */
	border-radius: 4px;
	padding: 0.5em;
	margin: 0.5em;
	display: inline-block; /* Allows to expand */
	width: 100%;
	/* min-width: fit-content;  Prevents width of container from contracting such that tables overflow the borders */
	min-width: 1310px;
}

.fft_sectionheader {
	font-family: Calibri, sans-serif; /* "Tenor Sans", Candara */
	font-size:1.2em;
	font-weight: 500;
}

.fft_cellheader {
	font-family: Calibri, sans-serif; /* "Tenor Sans", Candara */
	font-size:0.8rem;	/*105%*/
}

.fft_upload {
	margin: 0.15em 0.25em;
	text-wrap: nowrap;
}

.header_gridcell {
	padding: 0.5em;
	margin: 0.4em 0 0.4em 0.4em;
	border-radius: 4px;
}


.disabled {

}

.centered {
	text-align: center;
}

.extra_padding_vertical {
	padding-top: 1.8em;
	padding-bottom: 1.75em;
}

.sage {background-color:#fff} /* ? */

.slateblue {background-color:var(--light_sage); /*lightsteelblue;*/
	border-radius: 5px;
	padding:0.5em;
	margin:0.5em;}

.padded {
	padding:1em;
}

.tablebuffer {
	padding:0.25em 1em ;
}

.stratum_edit {
	padding: 1em;
}

.stratum_header {color:#2b85c1;}


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 5000; /* Sit on top */
  padding-top: 25px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

#evScenarioModal {
    z-index: 5500; /* Higher z-index to appear on top */
}


/* Modal Content */
.modal-content {
  /*background-color: #fefefe;*/
  margin: auto;
  padding: 10px;
  border: 1px solid #888;
  /*width: 655px;*/
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-top: -10px;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}




/* FONT STYLES (Trying to wean off of class and put into context tags,
                but where styles aren't applying from body tag, gotta go this route.) */
.bitty {font-size:8pt; font-family:Verdana;}
.bittybit {font-size:7pt; font-family:Verdana;}
.bittyplus {font-size:9pt; font-family:Verdana;}
.bittybold {font-size:8pt; font-family:Verdana; font-weight:bold;}
.title {font-size:8pt; font-family:Verdana; letter-spacing:2pt;}



.nolink:link , .nolink:visited {font-family: verdana, helvetica, arial, sans-serif; color: #000000; text-decoration: none; font-weight: normal; }
.nolink:hover {color: #000000; text-decoration: none; border-bottom:1px solid #999;}

.grayline:link , .grayline:visited {border-bottom:1px solid #999;}
.grayline:hover {border-bottom:0px;}

/* FORM FIELD STYLES */
.narrow_select { margin:2px 0px; font-size:7pt; font-family:Verdana; padding:0px;}
.narrow_select_yellow {	margin:2px 0px; font-size:7pt; font-family:Verdana; background-color:cornsilk; }
.compactbutton { padding:0px; font-size:7pt; font-family:Verdana; }

.text-shadow {
  text-shadow:
    -2px -2px white,
    -2px 2px white,
    2px -2px white,
    2px 2px white;
}

.underline {
  background-size: 1px 1em;
  box-shadow:
    inset 0 -0.175em white,
    inset 0 -0.2em #000;
  display: inline;
}


body {
    font-family: sans-serif
}
.btn-container{
    text-align: center;
}
.dialog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background-color: rgba(0, 0, 0, 0.50);*/
    z-index: 999999
}
.dialog-overlay .dialog {
    width: 400px;
   /* margin: 100px auto 0;*/
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,.2);
	border: 1px black solid;
    border-radius: 3px;
    overflow: hidden;
	/* position box in middle of screen (not a certain distance from page top) */
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.dialog-overlay .dialog header {
    padding: 10px 8px;
    background-color: #f6f7f9;
    border-bottom: 1px solid #e5e5e5
}
.dialog-overlay .dialog header h3 {
    font-size: 14px;
    margin: 0;
    color: #555;
    display: inline-block
}
.dialog-overlay .dialog header .fa-close {
    float: right;
    color: #c4c5c7;
    cursor: pointer;
    transition: all .5s ease;
    padding: 0 2px;
    border-radius: 1px
}
.dialog-overlay .dialog header .fa-close:hover {
    color: #b9b9b9
}
.dialog-overlay .dialog header .fa-close:active {
    box-shadow: 0 0 5px #673AB7;
    color: #a2a2a2
}
.dialog-overlay .dialog .dialog-msg {
    padding: 12px 10px
}
.dialog-overlay .dialog .dialog-msg p{
    margin: 0;
    font-size: 15px;
    color: #333
}
.dialog-overlay .dialog footer {
    border-top: 1px solid #e5e5e5;
    padding: 8px 10px
}
.dialog-overlay .dialog footer .controls {
    direction: rtl
}
.dialog-overlay .dialog footer .controls .button {
    padding: 5px 15px;
    border-radius: 3px
}
.button {
  cursor: pointer
}
.button-default {
    background-color: rgb(248, 248, 248);
    border: 1px solid rgba(204, 204, 204, 0.5);
    color: #5D5D5D;
}
.button-danger {
    background-color: #f44336;
    border: 1px solid #d32f2f;
    color: #f5f5f5
}
.link {
  padding: 5px 10px;
  cursor: pointer
}



/* TABLE STYLES */
.gray_table {
	border:1px solid #ccc;
  	background-color:#EBEBEB;
  	padding: 5px 7px;
  	margin: 5px;
}

.csite_gray_table {
	border:1px solid #ccc;
  	background-color:#EBEBEB;
  	padding: 3px 3px;
  	margin: 3px;
}

/* Black-bordered table: A table w/ clean black border around the outside. Cells need to be styled separately to get grid.
.bb_table {
 	border:1px solid #000;
 	border-collapse:collapse;
 	font-family:verdana;
 	font-size:8pt;
	page-break-inside: avoid;
}*/

.borderless_table {
	font-family: Verdana;
 	font-size: 8pt;
}

/* Black-bordered cell: A cell w/ clean black border.*/
.bb_td {
	border:1px solid #000;
 	border-collapse:collapse;
	padding: 3px;
}

.borderless_td {
	border:0px;
 	padding:5px;
}

.cramped {
	padding:0px;
	margin:0px;
}

/* Double-bordered styles to match published tables */
.double_bottom {
	border-top: 1px solid #000;
	border-left:  1px solid #000;
	border-right:  1px solid #000;
	border-bottom: 3px double #000;
 	border-collapse:collapse;
	padding: 3px;
}

.double_top {
	border-top: 3px double #000;
	border-left:  1px solid #000;
	border-right:  1px solid #000;
	border-bottom: 1px solid #000;
 	border-collapse:collapse;
	padding: 3px;
}

.double_topleft {
	border-top: 3px double #000;
	border-left:  3px double #000;
	border-right:  1px solid #000;
	border-bottom: 1px solid #000;
 	border-collapse:collapse;
	padding: 3px;
}

.double_bottomleft {
	border-top: 1px solid #000;
	border-left:  3px double #000;
	border-right:  1px solid #000;
	border-bottom: 3px double #000;
 	border-collapse:collapse;
	padding: 3px;
}

.double_bottomright {
	border-top: 1px solid #000;
	border-left: 1px solid #000;
	border-right: 3px double #000;
	border-bottom: 3px double #000;
 	border-collapse:collapse;
	padding: 3px;
}

.double_left {
	border-top: 1px solid #000;
	border-left:  3px double #000;
	border-right:  1px solid #000;
	border-bottom: 1px solid #000;
 	border-collapse:collapse;
	padding: 3px;
}

.double_right {
	border-top: 1px solid #000;
	border-left: 1px solid #000;
	border-right: 3px double #000;
	border-bottom: 1px solid #000;
 	border-collapse:collapse;
	padding: 3px;
}

/* ============ HEADER STYLE ============ */
.header_body {
	margin: 4px 0px;
	padding: 0px;
	background-color:#AAC0D9;
}

.header_table {
	padding:0px;
	margin:0px;
}

.header_td {
	padding: 3px 10px;
	border-bottom:1px solid #000000;
}

.selected_td {
	margin: 0px 5px;
	padding: 0px 10px;
	border-width: 1px;
	border-style:solid;
	border-color: #000000 #000000 #EAEADF #000000;
	background-color: #EAEADF;
}

/* Header links: */
.header_link:link , .header_link:visited {
	font-size:7.5pt;
	font-family: verdana;
	color: #000000;
	text-decoration: none;
}

.header_link:hover {
	color:#000000;
	text-decoration: underline;
	background-color: #EAEADF;
}

.selected_link:link, .selected_link:active, .selected_link:visited, .selected_link:hover {
	font-size:8pt;
	font-family: verdana;
	color: #000000;
	text-decoration: none;
	font-weight:bold;
}

/* ======================== SPLASH SCREEN STYLE ========================== */

div#main { margin: 10px; padding: 10px; width: 801px}	/* Main width has to be > picture width (576) + blurb width */
div#blurb { float: right; width: 204px; margin: 0px; padding: 0px;}
.gray_box {
	border: 1px solid #808080;
	background-color: #EBEBEB;
	margin: 5px;
	padding: 5px 5px 5px 10px;
}

/* ======================== CUSTOM SITE BUILDER STYLE ========================== */
.yellow_box {
	border: 1px solid #808080;
	background-color: cornsilk;
	margin: 3px;
	padding: 3px;
}

/* ======================== DOCUMENTATION STYLE ========================== */
/*  refstyle is handy for formatting reference lists */
.refstyle {
	margin-left:9.0pt;
	margin-top: 5px;
	margin-bottom: 7px;
	text-indent:-7.0pt
}

/* ======================== DPS HELP STYLE ========================== */
ol.bold_numbered_list {
	font-family: Verdana;
	font-size: 8pt;
	font-weight: bold;	/* Have to make whole list bold to make numbers bold */
	margin-left: 15px;
	padding-left: 5px;
	margin-top:0px;
}

ol.condensed_list {
	margin-left: 15px;
	padding-left: 5px;
	font-weight: normal;
	margin-top:0px;
	margin-bottom:0px;
}


div#helptitle {
	font-weight:bold;
	/*width: 978px; */
	width:auto;
	background-color:#FFFFFF;
	border:1px solid #000;
	padding: 3px 5px;
  	margin: 10px 5px 0px 5px;
}

div#helpbox {float: left; width: 1000px;}
div#helptoc { float: left; width: 200px; }
div#helpmain { margin-left: 200px;}

.hover_img a { position:relative; }
.hover_img  span { position:absolute; display:none; z-index:99; }
.hover_img a:hover span { display:block; }
