/*
Note: #284E77 is a darker #326279 for WCAG AAA font standard
*/

#regionContainer{
  display:flex;
  flex-wrap: wrap-reverse;
  align-items: flex-end;
}

/* Default links*/
main a, main a:visited {
 color: #284E77 
}

/******************************************************************************* 
Media Queries
*******************************************************************************/

/* mobile */
@media all and (max-width: 769px) {
  #regionBiscuit{
    width: 100%;
    max-width:100%;
  }
  #regionMap {
    width: 100%;
    min-width:100%;
    max-height: 450px;
    margin-bottom:35px;  
  }
  
  #regionNameBlock{  
    font-size: 22px;
    padding: 5px;
  }
   
  .nameBlockSubtitle{
    font-size: 11px;
  }
  
  #mobileTitle{
    display: block;
    padding-top: 10px;
    padding-left: 10px;
  }
  
  .ausBiscuit{
    display: none;
  }
  
}

/* any screen bigger than 640px */
@media all and (min-width: 771px) {
  #regionBiscuit{
    width:65%;
    max-width:100%;
  }
  #regionMap {
  	/*usually width = 100% = 1135px, width = 614 approx. widescreen ratio*/
  	height: 614; 
  }
  
  #regionNameBlock{  
    font-size: 28px;
    padding: 10px;
  }
  
  .nameBlockSubtitle{
    font-size: 14px;
  }
  
  #mobileTitle{
    display: none;
  }
}

/******************************************************************************* 
Map components
*******************************************************************************/

/*Removes the zoom to from popups*/
.esriPopup .action.zoomTo { 
  display: none; 
}

#regionMap{
  flex:1;
  top:20;  
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  position: relative;
  background-clip: padding-box;
  order:1;
  margin-bottom:15px;
}

#homeZoomButton{
  color: #4C4C4C;
  box-sizing: border-box;
  padding-top: 6px;
  line-height: 25px;
  border: 1px solid #57585A;
  position: absolute;
  width: 32px;
  height: 32px;
  z-index: 30;
  direction: ltr;
  text-align: center;
  background-color: #FFF;
  color: #4C4C4C;
  user-select: none;
  border-radius: 5px;
  top: 95px;
  left: 20px;
}

#homeZoomButton:hover{
  background-color: #eee; 
}

/******************************************************************************* 
Styles for the year selector
*******************************************************************************/

#yearSelectorLabel {
  width:190px;
  float: left;
  font-size: 14px;
  height: 20px;
  vertical-align: middle;
  border: 1px solid #57585A;
  border-right: none;
  background-color: #fff;
  box-sizing: content-box;
  padding: 6px;
  border-radius: 4px 0px 0px 4px;
}

#yearSelector {
  width:60px;
  float: left;
  font-size: 14px;
  font-weight: normal;
  height: 20px;
  vertical-align: middle;
  user-select: none;
  border: 1px solid #57585A;  
  background-color: #fff;
  box-sizing: content-box;
  touch-action: manipulation;
  cursor: pointer; 
  padding: 6px;
  border-radius: 0px 4px 4px 0px;
}

#yearSelectorDescription {
  float: left;
  padding: 6px;
}

/******************************************************************************* 
Styles for the link saving
*******************************************************************************/
#savePage{
	float: left;
	margin-bottom: 10px;
}

#saveLink{
	font-weight: bold;	
}

#copyLink{
	font-size: 16px;
	font-family: -apple-system, system-ui, BlinkMacSystemFont, Segoe UI,
		Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji,
		Segoe UI Symbol;
	font-weight: 400;
}

/******************************************************************************* 
Styles for the drop down tables
*******************************************************************************/
/* Style the button that is used to open and close the collapsible content */
.collapsible {
  background-color: #eeeeee;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 18px;
  color: #284E77;
  transition: background-color .15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  font-weight: bold;
}

.panelDesc {
  font-weight: normal;
  font-size: 15px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
  background-color: #ccc;
}

.collapsible:after {
  transition:transform .15s ease,-webkit-transform .15s ease;
  font-family: ABS-Icons;  
  content: '\E900'; /*ABS icon "v"*/
  color: #326279;
  float: right;
  margin-left: 5px;
}

.active:after {
  font-family: ABS-Icons;
  content: "\E900"; /*ABS icon "v"*/
  transform:translateY(-10%) rotate(-180deg);
}

.tableContent {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  padding: 0 18px;
  background-color: white;
}

.tableContent tr:nth-child(even){
  background-color: #f5f5f5;
}

/* For mobile, show only the description and last column for datatables
@media all and (max-width: 640px) {
  .tableContent td, 
  .tableContent th{
    display:none;
  }
  
  .tableContent td:nth-last-child(1), 
  .tableContent th:nth-last-child(1),
  .tableContent td:nth-child(2),
  .tableContent th:nth-child(2){
    display:table-cell;
  }
}
*/
/******************************************************************************* 
Downloads
*******************************************************************************/

#data-download{
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    margin-top: 10px;
}

#dloadxls{
  color: #284E77
}

#dloadcsv{
  color: #284E77
}