body, html{
	/* font-family: Univers, Arial, sans-serif;  */
}

.form-container{
	margin: 1em auto;
	padding: 0;
}

#form_container{
	background-color: white;
	text-align: center;
}

.center{
	justify-content: center;
	text-align: center;
}

.menu_block{
	display: inline-block;
	width:100%;
	max-width:1200px;
	min-width: 500px; 
	padding: 2px;
	margin-left: 5px;
	margin-right: 5px;
	margin-bottom: 5px;
}

.heading > h3{
	text-align: center;
	width: 100%;
	background-color: #344891;
	color: #ffffff;
	padding-top: 0.25em;
	padding-bottom: 0.25em;
	margin-top:-1px;
	font-weight: none;
}

.elem{
	padding: 0.5em;
}

.genericButton{
	padding: 3px 6px; 
	background-color:#e5e5e5;
	color:black;
	border: none;
	text-decoration: none;	
	border-radius: 4px;
}
.genericButton:hover{
	background-color: #cccccc;
	color: black;
}

#lat, #lon{
	width: 4em;
}

.flex{
	display: flex;
	flex-wrap: wrap;
}

#map_container{
	width: 100%;
	max-width: 850px;
	height: 325px;
}

#info_container{
	flex-direction: column;
	text-align: left;
}

/******************************************************/
/* For input selection - popup box with base temps by crop */
/* The Modal (background) */
.tbase-modal {
	display: none; /* Hidden by default */
	position: fixed;  /* Stay in place */
	z-index: 100; /* Sit on top */
	left: 0;
	top: 40%;
	left: 50%;
	width: 360px; 
	/* min-height: 500px; */
	/*overflow: scroll;*/ /* Enable scroll if needed */
	margin-left: -100px;
	margin-top: -150px;
	padding: 5px;
	background-color: white;
	box-shadow: 2px 5px 10px 1px gray;

}
  
/* Modal Content/Box */
.tbase-modal-content {
	margin-top: 11px;
	width: 350px;
	padding-right:2px;
}

/* New styles fo rtbase selection -- as buttons */
.btn-group .tbase_button_default {
background-color: #ffffff; /* Green */
border:none;
color: #000000;
padding: 5px 15px;
text-align: center;
text-decoration: none;
font-size: 12px;
display: block;
}

.btn-group .tbase_button_sel {
background-color: #4156a1;
border:none;
color: #ffffff;
padding: 5px 15px;
text-align: center;
text-decoration: none;
font-size: 12px;
display: block;
}

.btn-group .tbase_button:not(:last-child) {
border-bottom: none; /* Prevent double borders */
}

.btn-group .tbase_button_default:hover {
/*background-color: #6f7d1c;*/
background-color: #24347b;
color: #ffffff;
}

.btn-group .tbase_button_sel:hover {
/* background-color: #6f7d1c; */
background-color: #24347b;
color: #ffffff;
}

/******************************************************/
/* Submit Button */
.submitButton{
	padding: 10px; 
	background-color:#990000;
	color:white;
	font-size:1.25em;
	border: none;
	text-decoration: none;
	font-weight: bold;
	width: 100%;
	max-width:1200px;
}
.submitButton:hover {
	background-color: #5e0000;
	color: #ffffff;
}

/******************************************************/
/* Year buttons and Historical Avg Buttons */
.unSelYearButton{
	padding: 4px 7px;
	--background-color:#e5e5e5;
	color:black;
	border: none;
	border-radius: 4px;
	text-decoration: none;	
}

.unSelYearButton:hover{
	background-color: #cccccc;
	color: black;
}

.selYearButton{
	padding: 4px 7px; 
	background-color:#4156a1;
	color:#ffffff;
	border: none;
	border-radius: 4px;
	font-weight: bold;	
}

.selYearButton:hover{
	background-color: #24347b;
	color: #ffffff;
}

.hidden{
	display: none;
}

/******************************************************/
/******************************************************/
/* Adding highcharts-specific css */
#chart_container, .highcharts-data-table table {
    min-width: 600px; 
    max-width: 1200px;
    margin: 1em auto;
    height: 600px;
}

.highcharts-figure,
.highcharts-data-table table {
    min-width: 320px;
    max-width: 1200px;
    margin: 1em auto;
}

.chart {
    height: 450px;
}

.highcharts-data-table table {
    font-family: Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px solid #ebebeb;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
    font-weight: 600;
    padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}

.highcharts-annotation-label{
        text-align: center;
} 

.highcharts-data-table table {
	border-collapse: collapse;
	border: 1px solid #EBEBEB;
	margin: 10px auto;
	text-align: center;
	width: 100%;
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
	font-weight: 600;
    padding: 0.5em;
}

.highcharts-data-table td, .highcharts-data-table th, .highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr, .highcharts-data-table tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}


/******************************************************/
/* Paste this css to your style sheet file or under head tag */
/* This only works with JavaScript, 
if it's not present, don't show loader */
.no-js #loader { display: none;  }
.js #loader { display: block; position: absolute; left: 100px; top: 0; }
.se-pre-con {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url(https://products.climate.ncsu.edu/oper/gdd_explore/loader.gif) center no-repeat rgba(255,255,255,0.8);
}
