*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
body {
    background-color: #f0fbfb;
}
a{
    text-decoration: none;
}
p.jusint{
    text-indent: 15pt; text-align: justify;
    font-size:12pt;
}
input[type=button]{
    cursor: pointer;
}
main{
    font-family: Arial, Helvetica, sans-serif;
}
.main-content{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#ensdfHeader{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    font-family: lucida,tahoma,verdana,helvetica,sans-serif;
}
#ensdfHeaderText{
    position: absolute;
    height: fit-content;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%, -100%);
    text-align: center;
}
#ensdfHeaderText > h1 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
#ensdfHeaderText > p {
    font-size: 14px;
}
.ensdfImage{
    position: relative;
    max-width: 700px;
    width: 100%;
    display:flex;
    align-items: center;
    justify-content: flex-start;
}
.ensdfImage > p{
    height: fit-content;
    font-family: Lucida Console,Lucida Sans Typewriter,monaco,Bitstream Vera Sans Mono,monospace; 
    font-size: 24px;
    white-space: nowrap;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(39%, 40%);
}
.recent-activity{
    margin: 15px 0 10px 0;
}
@media only screen and (max-width: 860px) {
    .ensdfImage{
        justify-content: center;
    }
    .ensdfImage > p{
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 230%);
    }
    #ensdfHeaderText{
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 0%);
    }
}
@media only screen and (max-width: 630px) {
    .ensdfImage > p{
        white-space: unset;
        width: 80%;
        text-align: center;
        transform: translate(-50%, 120%);
    }
    #ensdfHeaderText{
        bottom: 0;
        transform: translate(-50%, 50%);
    }
    .recent-activity{
        margin-top: 30px;
    }
}
.products{
    font-size: 16px;
}
/* Tabs */
.tabs a {
    color: #3366FF;
    cursor: pointer;
}

#tabs_container a:visited{
    color: #3366FF;
}

#tabs_container {
    max-width: 700px;
    width: 100%;
    height: 50%;
    margin: 5px;
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}
#tabs_container ul.tabs {
    font-size: 16px;
    list-style: none;
    height: 25px;
    margin: 0 0 0 40px;
    overflow: hidden;
}
#tabs_container ul.tabs li {
    float: left;
    overflow: hidden;
}
#tabs_container ul.tabs li a {
    padding: 3px 10px;
    display: block;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    margin-right: 2px;
    text-decoration: none;
    background-color: #efefef;
}
#tabs_container ul.tabs li.active a {
    background-color: #fff;
    padding-top: 4px;
}
div.tab_contents_container {
    display: flex;
    justify-content: center;
    border: 1px solid #ccc;
    /* border-top: none; */
    padding: 10px;
}
div.tab_contents {
    display: none;
}
div.tab_contents_active {
    font-family:lucida,tahoma,verdana,helvetica,sans-serif;
    font-size: 11pt;
    display: block;
}
ul.dbtype-selection {
    list-style-type: none;
    /* align: left;	 */
}
.ensdftext {
    border: solid 1px #707070;
    box-shadow: inset 1px 1px 2px 0 #c9c9c9;
}
.ensdftext {
    padding: 5px;
    border: solid 1px #dcdcdc;
    transition: box-shadow 0.3s, border 0.3s;
    box-shadow: inset 1px 1px 2px 0 #707070;
    font-size: medium;
}
.browsein{
    padding-top: 20px;
    font-family: lucida,tahoma,verdana,helvetica,sans-serif;
    font-size: 12pt;
    text-align: center;
}
a:visited {
    text-decoration: none;
    color: #3366FF;
  }
/* Search button */
.searchsubmits {
    border-radius: 5px;
    border: 1;
    width: 80px;
    height: 25px;
    background: #eeeeec;
    color: blue;
    font-size: medium;
    font-weight: bold;
}
.searchsubmits:hover, .search-submits:focus {
    background: #ffffff;
}
/* Forms */
#decForm{
    display: flex;
    align-items: center;
    justify-content: center;
}
.decaySelect{
    height: 150px;
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.decaySelect select{
    height: 100%;
}
.decaySelect > p{
    font-weight: bold;
}
.reactionForm table{
    width: 100%;
}
.reactionForm tr{
    height: 30px;
}
.reactionForm th{
    text-align: right;
    white-space: nowrap;
}
.reactionForm td{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}
.reactionForm td > p, .reactionForm td > input, .reactionForm td > select{
    margin-left: 5px;
}
.reactionForm td > input{
    height: 22px;
}
.reactionForm td > p{
    font-size: 12px;
    font-style: italic;
}
.reactionFormHeader{
    margin: 16px 2px 0 2px;
    padding: 16px 0;
    border-top: 3px double #808080;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
#datasetFetch{
    display: none;
}
/* Chart styles */
#cutoffChart{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: fit-content;
    flex: 1 1 430px;
    min-width: 430px;
    max-width: 900px;
    margin-bottom: 10px;
}
#chartControls{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}
#chartControls > label{
    margin-right: 5px;
    font-weight: bold;
    white-space: nowrap;
}
.chartHeader{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.chartContainer {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 600px;
    margin: 0 0 20px 15px
}
#colorLegend{
    width: 100%;
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
#colorLegend > p{
    text-align: center;
    font-weight: bold;
}
#colorLegend table {
    border-collapse: collapse;
    min-width: 250px;
}
#colorLegend table th{
    width: 50px;
    height: 20px;
    border: 1px solid #fff;
    text-align: center;
    color: #fff;
}
#colorLegend table td{
    text-align: center;
    min-width: 25px;
}

.svg-plot, .canvas-plot {
    position: absolute;
    left: 0px; 
    border: 3px solid rgba(0, 0, 0, 0);
}
.border-canvas{
    border: 3px solid var(--GOLDENROD);
    border-radius: 10px;
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.5);
}
#chartMessage{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 2;
    background: var(--TEAL);
    color: #fff;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    pointer-events: none;
    opacity: .8;
    transition: opacity ease-out 2s;
    border-radius: 10px;
}
#chartMessage > i{
    margin-right: 5px;
    font-size: 28px;
}
#tooltip{
    display: none;
    flex-direction: column;
    position: absolute;
    background: var(--TEAL);
    border: 2px solid var(--GOLDENROD);
    color: #fff;
    border-radius: 10px;
    width: 200px;
    pointer-events: none;
    z-index: 3;
    left: 200px;
    top: 150px;
    opacity: .9;
    padding: 2px 5px;
}
#tooltip > p{
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
}

.ensdf-main{
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 10px;
}
.ensdf-header{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    text-align: center;
}
.ensdf-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.ensdf-image > img{
    width: 100%;
    max-width: 500px;
}
.ensdf-search, .ensdf-image{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ensdf-search{
    justify-content: flex-start;
    min-width: 400px;
    max-width: 600px;
    width: 100%;
    margin-bottom: 10px;
}
.ensdf-image {
    justify-content: flex-start;
    min-height: 470px;
}
.ensdf-card {
    border-radius: 10px;
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.5);
    color: #fff;
    float: left;
    font-size: 16px;
    max-width: 600px;
    min-width: 400px;
    overflow: hidden;
    position: relative;
    text-align: left;
    width: 100%;
    margin: 0 5px;
    border: 3px solid var(--GOLDENROD);
}

.ensdf-card img {
    max-width: 100%;
    vertical-align: top;
    position: relative;
    transition: all 1s ease;
}

.ensdf-card figcaption {
    padding: 10px;
    position: absolute;
    bottom: 0;
    z-index: 1;
    width: 100%;
}

.ensdf-card figcaption:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--TEAL);
    content: '';
    background: linear-gradient(180deg, var(--TEAL) 0%, var(--CERULEAN) 100%, var(--CERULEAN) 100%);
    opacity: 0.8;
    z-index: -1;
}
.ensdf-card figcaption > p{
    text-align: center;
}
.ensdf-card figcaption > p > a, .ensdf-card figcaption > p > a:visited{
    color: var(--GOLDENROD);
}
.ensdf-card figcaption > p > a{
    position: relative;
    font-weight: bold;
    white-space: nowrap;
}

.ensdf-card .caption-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 5px;
}

.ensdf-card .caption-buttons>a {
    white-space: nowrap;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--CERULEAN);
    background-color: var(--TEAL);
    padding: 5px;
    margin: 5px 5px;
    min-width: 150px;
    color: #fff;
    box-shadow: none;
    border-radius: 4px;
    transition-duration: 0.4s;
}

.ensdf-card .caption-buttons>a:hover {
    border: 1px solid var(--GOLDENROD);
    background-color: var(--CERULEAN);
}

.ensdf-card .caption-buttons>button>a {
    position: absolute;
    width: 100%;
    height: 30px;
}

.ensdf-card h1 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.ensdf-card p {
    font-size: 16px;
    margin-bottom: 0px;
}

.ensdf-card:hover img {
    transform: scale(1.1);
}

.ensdf-search {
    margin-bottom: 10px;
}

.ensdf-tabs{
    display: flex;
    height: 50px;
    margin-left: -2px;
    width: 100%;
}
.ensdf-tabs button{
    float: left;
    max-width: 140px;
    width: 100%;
    border: 1px solid #ddd; 
    outline: none;
    cursor: pointer;
    padding: 8px;
    padding-bottom: 12px;
    transition: all 0.5s ease;
    font-size: 16px;
    margin-right: 5px;
    margin-top:10px;
    border-top: 4px solid var(--GOLDENROD);
    border-right: 2px solid var(--GOLDENROD);
    border-bottom: none;
    background-color: var(--CERULEAN);
    color: #fff;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    white-space: nowrap;
    font-weight: bold;
}
.ensdf-tabs button.active{
    background-color: var(--TEAL);
    margin-top: 0px;
    padding-bottom: 10px;
}
.ensdf-tabs button:hover{
    margin-top: 0px;
    padding-bottom: 10px;
}
.ensdf-tab-content{
    position: relative;
    width: 100%;
    max-width: 600px;
    flex-shrink: 1;
    background: var(--TEAL);
    color: #fff;
    padding: 25px 10px;
    border-radius: 10px;
    border-top-left-radius: 0px;
}
.ensdf-tab-content > .helpButton{
    position: absolute;
    top: 5px;
    right: 5px;
    border-radius: 50%;
    border: 2px solid var(--GOLDENROD);
    height: 20px;
    width: 20px;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.ensdf-tab-content > .helpButton > i{
    font-size: 10px;
    color: var(--GOLDENROD);
}
.ensdf-tab-content > .helpButton:hover > i{
    color: var(--LIGHT);
}
.ensdf-tab-content > .helpButton:hover{
    border: 2px solid var(--LIGHT);
}
.ensdf-tab-content form label{
    font-size: 16px;
    font-weight: bold;
    margin-right: 5px;
    white-space: nowrap;
}
.ensdf-tab-content form input[type=text], .ensdf-tab-content form select{
    height: 25px;
    max-width: 150px;
    width: 100%;
}
.ensdf-tab-content form input[type=submit]{
    height: 25px;
    min-width: 100px;
}
.ensdf-tab-content form p{
    color: var(--GOLDENROD);
    font-size: 14px;
}
.submitButton{
    border: 1px solid var(--TEAL);
    background-color: var(--CERULEAN);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    padding: 5px;
    margin: 5px 5px;
    min-width: 100px;
    width: 100px;
    box-shadow: none;
    border-radius: 4px;
    transition-duration: 0.4s;
}
.submitButton:hover{
    border: 1px solid var(--GOLDENROD);
    background-color: var(--TEAL);
}
.submitButton > i{
    font-size: 16px;
}
.ensdf-tab-content form h1{
    font-size: 14px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--GOLDENROD);
    width: 100%;
}
.ensdf-tab-content form{
    display: none;
    flex-direction: column;
}
.ensdf-tab-content form.active{
    display: flex;
}
.ensdf-tab-content table {
    color: #fff;
}
.ensdf-tab-content table th{
    text-align: right;
    font-size: 16px;
    white-space: nowrap;
    font-weight: bold;
}
.ensdf-tab-content table td{
    text-align: left;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.ensdf-tab-content table td > p{
    min-width: 150px;
    margin-left: 10px;
}
.ensdf-tab-content table td > input, .ensdf-tab-content table td > select{
    margin: 5px;
}
.ensdf-tab-content form .formHeader{
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    align-items: center;
}
.ensdf-tab-content form .split-form{
    display: flex;
    justify-content: center;
}
.ensdf-tab-content .split-form > div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin-left: 10px;
}
.ensdf-tab-content .split-form > div > label{
    margin-bottom: 5px;
}
.form-submit-container{
    display: flex;
    align-items: center;
    justify-content: center;
}
#decay-multiselect{
    height: 150px;
    min-width: 80px;
}
.form-row{
    display: flex;
    align-items: center;
    justify-content: center;
}

.tools-resources{
    display: flex;
    flex-direction: column;
    width: 100%;
}
/* Resources */
.tools-resources{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.ensdf-resources{
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}
.ensdf-resource-card{
    background-image: linear-gradient(to bottom right, var(--TEAL), var(--CERULEAN));
    border: 3px solid var(--GOLDENROD);
    border-radius: 10px;
    color: #fff;
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.5);
    margin: 20px;
}
.ensdf-resource-card h1{
    font-size: 24px;
}
.ensdf-resource-card-content{
    position: relative;
    padding: 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-wrap: wrap;
}
.ensdf-resource-card-content > h1{
    margin-bottom: 20px;
    text-align: center;
}
.ensdf-resource-card-content > div{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    max-width: 400px;
}
.ensdf-resource-card-content a {
    text-decoration: none;
    font-weight: bold;
    color: var(--GOLDENROD);
    position: relative;
    text-align: center;
    white-space: nowrap;
    font-size: 14px;
}
.ensdf-resource-card p{
    margin-top:5px;
    padding: 5px;
    font-size: 14px;
}
.ensdf-resource-card-content i, .banner > h1 i{
    color: var(--GOLDENROD);
    font-size: 24px;
    margin-right: 10px;
    width: 24px;
    text-align: center;
}
.ensdf-resource-card-content a:after, .ensdf-card a:after{
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--GOLDENROD);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
  }
  
  .ensdf-resource-card-content a:hover:after, .ensdf-card a:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }
  /* Banner */
.banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin: 40px 20px 20px 20px;
    display: flex;
    background-image: linear-gradient(to bottom right, var(--TEAL), var(--CERULEAN));
    border: 3px solid var(--GOLDENROD);
    border-radius: 10px;
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.5);
}
.banner > h1, .ensdf-resource-card-content > h1{
    position: absolute;
    margin: 0;
    bottom: 100%;
    left: 15px;
    background-color: var(--TEAL);
    padding: 0 15px;
    color: #fff;
    border: 3px solid var(--GOLDENROD);
    border-bottom: none;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    font-size: 24px;
    padding-top: 5px;
}
.card {
    cursor: pointer;
	margin: 20px 10px 10px 10px;
	flex: 1 1 125px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--CORNFLOWER);
	text-align: center;
	max-width: 125px;
}
.card:hover i{
    color: var(--LIGHT);
}
.card:hover .icon{
	border: 4px solid var(--LIGHT);
}
.icon {
	display: flex;
	align-items: center;
	justify-content: center;
    /* background-image: linear-gradient(to bottom right, var(--TEAL), var(--CERULEAN)); */
    background: var(--TEAL);
	width: 80px;
    height: 80px;
	border: 4px solid var(--GOLDENROD);
	border-radius: 100%;
    box-shadow: rgb(0, 0, 0, .5) 3px 3px 6px 0px inset, rgba(0, 0, 0, 0.1) -3px -3px 6px 1px inset;
}

.card p {
    position: relative;
	color: #fff;
	font-weight: bold;
	font-size: 18px;
	text-align: center;
	white-space: nowrap;
	text-shadow: 2px 2px 3px rgba(0,0,0,.6);
    margin-top: 5px;
}
.card p > span {
	position: absolute;
	bottom: -1.5rem;
	left: 0;
}
.card i {
	font-size: 35px;
	padding: 15px;
    color: var(--GOLDENROD);
}
/* Recent Form */
#recentForm{
    justify-content: center;
    align-items: center;
}
#recentDateContainer.active, #recentIntervalContainer.active{
    display: table-row;
}
#recentDateContainer, #recentIntervalContainer{
    display: none;
}
#recentForm input[type=checkbox]{
    width: 18px;
    height: 18px;
}
#recentForm > div{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}
#recentForm > table{
    width: fit-content;
    align-self: flex-start;
}
#recentForm > table td{
    padding-left: 20px;
}
#recentForm > table th{
    width: 236px;
}
#recentForm input[type="date"]{
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#recentFormSubmission{
    display: none;
}
.recentFormContainer{
    white-space: nowrap;
}
.ensdfSearchHeader{
    position: absolute;
    top:85px;  
    right:5px;
}
.ensdfSearchHeader > .ensdf-tab-content{
    height: 50px;
    background: var(--CORNFLOWER) !important;
    padding: 5px 10px !important;
    border-radius: 10px !important;
    opacity: .9;
}
.ensdfSearchHeader > .ensdf-tab-content button:hover {
    background-color: var(--CORNFLOWER) !important;
}