/* Static Application Files \ beacon.css */

table {
    font-family: "Lucida Sans Unicode";
    /* font-size: 0.85em; */
}

/* button:hover {
    background-color: red;
} */

 /*
  These are necessary to override a problem from s.css that makes problems in the drop-down lists 
  and buttons in the controls above reports
*/

.a-Menu button.a-Menu-label {
    margin-bottom: 2.5px;
}

.a-Menu button.a-Menu-label:hover, button.a-Menu-label:focus {
    margin-bottom: 2.5px;
    background-color: transparent;
    color: white;
}

.a-Button:hover,
.a-IRR-button--remove:hover,
.a-IRR-dialog button:hover, button:focus,
.a-IRR-controlGroup button:hover, button:focus {
    background-color: darkgray;
    color: white;
}

button, input[type="button"], input[type="reset"], input[type="submit"], .button, #edit-cancel, .addtocal {

    margin: 0 0 0 0;

}

/* this is for ... */
.markdown-page table {
    border-collapse: collapse
}

.markdown-page table td,.markdown-page table th {
    text-align: left!important;
    font-size: 14px;
    box-sizing: border-box;
    padding: 5px;
    border: 0;
    border-bottom: 1px solid rgba(27,27,27,.15);
    border-bottom-width: 1px;
    border-bottom-style: solid
}

.markdown-page table th {
    text-align: center!important;
    font-size: 16px;
    padding: 5px 3px;
    background-color: rgba(27,27,27,.1)
}

.markdown-page table tr:nth-child(even) {
    background-color: rgba(27,27,27,.07)
}

/* this is to fix a setting in s.css making the Related Topics header sit uneven */
.pipeline > li {
    margin-bottom: 0px;
}

.epa-search-button {
    height: 26px;
    margin-right: 5px;
}

.markdown-page .t15afterrows table td .fielddata {
    /* color: red; */
}

.markdown-page .t15afterrows .left {
    font-size: larger;
    position: relative;
    left: 85%;
}

.accordion {
  margin: 0;
  padding: 0;
  border: 1px solid hsl(0deg 0% 52%);
  border-radius: 3px;
  width: 75%;
}

.accordion h3 {
  margin: 0;
  padding: 0;
}

.accordion:focus-within {
  border-color: hsl(216deg 94% 43%);
}

.accordion:focus-within h3 {
  background-color: hsl(0deg 0% 97%);
}

.accordion > * + * {
  border-top: 1px solid hsl(0deg 0% 52%);
}

.accordion-trigger {
  background: none;
  color: hsl(0deg 0% 13%);
  display: block;
  font-size: 1rem;
  font-weight: normal;
  margin: 0;
  /* padding-right: 1.5em;
  padding-left: 1.5em; */
  position: relative;
  text-align: left;
  width: 100%;
  outline: none;
}

.accordion-trigger:focus,
.accordion-trigger:hover {
  background: hsl(216deg 94% 94%);
}

.accordion-trigger:focus {
  outline: 4px solid transparent;
}

.accordion > *:first-child .accordion-trigger,
.accordion > *:first-child {
  border-radius: 5px 5px 0 0;
}

.accordion > *:last-child .accordion-trigger,
.accordion > *:last-child {
  border-radius: 0 0 5px 5px;
}

button {
  border-style: none;
}

h3 button {
    margin: 0; 
    padding: 0;
    padding-right: 0;
    padding-left: 0;    
}

.accordion button::-moz-focus-inner {
  border: 0;
}

.accordion-title {
  display: block;
  pointer-events: none;
  border: transparent 2px solid;
  border-radius: 5px;
  padding: 0.25em;
  outline: none;
}

.accordion-trigger:focus .accordion-title {
  border-color: hsl(216deg 94% 43%);
}

.accordion-icon {
  border: solid currentcolor;
  border-width: 0 2px 2px 0;
  height: 0.5rem;
  pointer-events: none;
  position: absolute;
  right: 2em;
  top: 50%;
  transform: translateY(-60%) rotate(45deg);
  width: 0.5rem;
}

.accordion-trigger:focus .accordion-icon,
.accordion-trigger:hover .accordion-icon {
  border-color: hsl(216deg 94% 43%);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: translateY(-50%) rotate(-135deg);
}

.accordion-panel {
  margin: 0;
  /* padding: 1em 1.5em; */
}

/* For Edge bug https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/4806035/ */
.accordion-panel[hidden] {
  display: none;
}

.markdown-page table {
    width: 100%;
}

/* taken from OneEPA wide and includes Accessibility elements */
.region-preface {
    margin: 0 -1em;
    padding-top: 0px;
    padding-right: 1em;
    padding-bottom: 0px;
    padding-left: 1em;
    border-bottom: 1px solid #d6d7d9;
    font-size: 20px;
}

/* Related Topics section of main page */
@media screen and (min-width: 40em) {
    .region-preface {
        text-align: right;
    }
}
@media only screen and (max-width: 40.063em) { 
    .region-preface {
        display: none;
    }  
}


#toTopButton {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #0071bc; /* Set a background color */
  color: white !important; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  /*padding: 15px; */ /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
  transition: 0.3s;
}

#toTopButton:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}



@media screen and (max-width: 40em) {
    .page-title-bar-jab {
        min-height: 65px;
    }
}


.user_guide_link {
    float:right; 
    padding-top: 4px;
}
@media only screen and (max-width: 63em) { 
    .user_guide_link {
        display: none;
    }  
}

.l-page__footer {
    background-color: var(--a-gv-header-background-color);
    margin-top: 4px;
    padding-bottom: 4px;
    padding-top: 4px;
    margin-left: -16px;
    margin-right: -16px;
}
.l-page__footer .l-constrain, block {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 50px;

}
.l-page__footer-contact, block {
    margin-left: 50px;
}
.l-page__footer-last-updated {
    font-size: 15px;
    line-height: 1.5;
    margin-top: 1px;
    margin-right: 50px;
}
@media only screen and (max-width: 90em) { 
    .l-page__footer-contact, block {
        margin-left: 50px;
    }
    .l-page__footer-last-updated {
        margin-right: 50px;
    }    
}

@media only screen and (max-width: 40.063em) { 
    .l-page__footer-contact, block {
        display: none;
    }
    .l-page__footer-last-updated {
        margin-left: 50px;
        margin-right: 50px;
    }    
}

@media only screen and (min-width: 40.063em) and (max-width: 64em) { } /* min-width 641px and max-width 1024px, use when QAing tablet-only issues */

/* moving this to template */

#tablist-1 {
    padding-left: 15px;
}

.tabs {
    margin-bottom: 0px !important;
}

.tabpanel-instruction{
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

#content a {
    color: #0071bc !important;
    text-decoration: none;
}

/* trying to kill off the tables.  ahhh */
#wrapper{
    margin-left:auto;
    margin-right:auto;
    height:auto; /* this is not needed, as parent container, this div will size automaticly*/
    width:auto; /*this is not needed, as parent container, this div will size automaticly*/
    /* z-index: 999;  */
    /* position:fixed;  */
    /* margin-left: 6px;  */
    margin-top: 3px;
}

.whiteSides {
    font-size: 14px;
}

/*
You can get rid of the inner divs in the css, unless you want to style them.
If you want to style them identicly, you can use concatenation
*/
#inner1, #tabs {
    border: none; /* 1px solid black; */
}

#inner1 {
    padding-left: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
}

#tabs {
    padding-left: 5px;
    height: 25%; /*or whatever percentage is needed*/
    overflow-y: auto;
    overflow-x: hidden;
}

table.padded-table td {
	padding:5.5px;
}


.ui-tabs-nav.ui-helper-reset.ui-helper-clearfix.ui-widget-header.ui-corner-all {
    /* position: fixed;
    width: 99%; */
    margin-left: -4px!important;
    margin-top: 0px!important;
}

/* .ui-tabs {
    margin-top: 50px;
} */

.ui-tabs .ui-tabs-panel {
    background: none repeat scroll 0 0 transparent;
    display: block;
    padding: .5em;
    margin: 0em;
}

.multi_selectlist {
    margin-left: 13px;
    margin-bottom: 13px;
}

#search_frame {
    height: 375px;
    width: 100%;
}

#content ul, #content ol {
    margin: 0 0em 1.5em;
}

.controls {
 text-align: right;
 margin-bottom: 1em;
}

.controls li {
  display: inline;
}

button {
  background: #000;
  color: #000 !important;
  border: 0;
  font-size: 0.85rem;
  border-radius: 0.25rem;
}



/*
Custom elements are inline by default
*/

h2 button {
    color: #0071bc;
}


toggle-section {
  display: block;
}

/*
Only applies if script runs and
`role="region"` is added
*/
toggle-section[role="region"] {
  border-width: 2px 0;
  border-style: solid;
}

toggle-section[role="region"] + toggle-section {
  border-top: 0;
}

/* new tabs */
.tabsFOOBAR {
  font-family: "lucida grande", sans-serif;
}

.tabs h3 {
    /* padding-top: 12px; */
    padding-left: 5px;
    margin-bottom: 6px;
    font-size: 20px;
    font-weight: normal;
    font-family: "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
}
#tablist-1 {
    padding-left: 15px;
}

[role="tablist"] {
  min-width: 100%;
}

[role="tab"],
[role="tab"]:focus,
[role="tab"]:hover {
  display: inline-block;
  position: relative;
  z-index: 2;
  top: 2px;
  margin: 0;
  margin-top: 4px;
  padding: 3px 3px 4px;
  border: 1px solid hsl(219deg 1% 72%);
  border-bottom: 2px solid hsl(219deg 1% 72%);
  border-radius: 5px 5px 0 0;
  background: hsl(220deg 20% 94%);
  outline: none;
  font-weight: bold;
  letter-spacing: .5px;
  max-width: 22%;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
}



[role="tab"][aria-selected="true"] {
  padding: 2px 2px 4px;
  margin-top: 0;
  border-width: 2px;
  border-top-width: 6px;
  border-top-color: rgb(36 116 214);
  border-bottom-color: hsl(220deg 43% 99%);
  background: hsl(220deg 43% 99%);
}

[role="tab"][aria-selected="false"] {
  border-bottom: 1px solid hsl(219deg 1% 72%);
}

[role="tab"] span.focus {
  display: inline-block;
  margin: 2px;
  padding: 4px 6px;
}

/* [role="tab"]:hover span.focus, */
[role="tab"]:focus span.focus,
[role="tab"]:active span.focus {
  padding: 2px 4px;
  border: 2px solid rgb(36 116 214);
  border-radius: 3px;
}
[role="tab"]:hover span.focus {
  /* padding: 4px 6px;
  /* border: 2px solid red;*/
  background-color: #d6d7d9;
}


[role="tabpanel"] {
  padding: 5px;
  border: 2px solid hsl(219deg 1% 72%);
  border-radius: 0 5px 5px;
  background: hsl(220deg 43% 99%);
  min-height: 10em;
  width: 100%;
  overflow: auto;
  font-size: 15px; /* getting the size to fit more on each screen */
}

/* remove border and fix font-size on About page */
#tabpanel-2-1 {
    font-size: 17px;
}

#tabpanel-2-1 td {
    padding: 0px;
}

#about-page-content td {
    padding: 0px;
}

/* no padding on the map */
#tabpanel-2-2 {
    padding: 0px;
}

[role="tabpanel"].is-hidden {
  display: none;
}

[role="tabpanel"] p {
  margin: 0;
}
/* this stuff is here to overwrite s.css */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  max-width: 100%;
  vertical-align: baseline; /* IE7 */
}

.page-title {
    margin-top: 0.25em;
    font-size: 22px;
    padding-bottom:10px;
}