/*@import url('https://fonts.googleapis.com/css?family=Quattrocento');
@import url('https://fonts.googleapis.com/css?family=Oswald');*/

html {
    height: 100%;
}

body {
    background: #d6e5ff;
    color: #000000;
    font-family: sans-serif;
    /*link="#FFFFFF" vlink="#FFFFFF" alink="#FF0000"*/
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
    font-weight: 300;
    font-size: 14pt;
    padding: 0;
    margin: 5% 15% 10% 15%;
    width: 70%;
    height: 85%;
    overflow: scroll;
}
select {
    font-family: sans-serif;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
    font-weight: 300;
    width: 200px;
    padding: 4px 4px;
    margin: 4px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
input[type=text] {
    font-family: sans-serif;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
    font-weight: 300;
    width: 100px;
    padding: 4px 4px;
    margin: 4px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
input[type=submit] {
    background-color: #062e6d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight:bold;
    font-family: sans-serif;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
    width: 300px;
    padding: 4px 4px;
    margin: 4px 0;
}
input[type=submit]:hover {
    background-color: #0a4a9c;
}
input[type=reset] {
    background-color: #FFFFFF;
    color:#000000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight:bold;
    font-family: sans-serif;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
    width: 300px;
    padding: 4px 4px;
    margin: 4px 0;
}
input[type=reset]:hover {
    background-color: #F44242;
}
a {
    color:#004dc9;
:visited {
    color:#003996;
}
:active {
    color:#FF0000;
}
:focus{
    color:#133670;
}
}
h1 {
    font-family: sans-serif;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
    font-weight: bold;
    font-size: 48pt;
    color: #062e6d;
}
h2 {
    font-family: sans-serif;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
    font-weight: 450;
    font-size: 24pt;
    color: #1c488e;
}
h3 {
    font-family: sans-serif;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
    font-weight: 300;
    font-size: 16pt;
    color: #000000;
}
ul {
    margin: 20px;
    list-style-type: none;
}
dl.location  {
    dd {
        margin-bottom: 20px;
    }
}
.fullSize {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    width: 100%;
    height: 100%;
}

.halfSize {
    display: block;
    position: relative;
    top: 0;
    left: 0%;
    border: 0;
    width: 100%;
    height: 75%;
}

.banner_image{
    background-color: #0045b5;
    border-color: #0045b5;
    border-radius: 5px;
}
.left{
    float:left;
    display: inline;
}
.right{
    float:right;
    display: inline;
}
#loadingOverlay {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.9;
    width: 100%;
    height: 100%;
    display: none;
}

#loadingOverlay h1 {
    text-align: center;
    position: relative;
    top: 50%;
    margin-top: -0.5em;
}

.sandcastle-loading #loadingOverlay {
    display: block;
}

.sandcastle-loading #toolbar {
    display: none;
}

#toolbar {
    margin: 5px;
    padding: 2px 5px;
    position: absolute;
    z-index: 50;
}

#map {
    height: 500px; /* Set the height of the map */
    width: 100%;   /* Set the width of the map */
    margin-top: 1rem;
}

.examples-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}
.example-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.example-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: bold;
}
.example-card dl {
    margin: 0;
}
.example-card dt {
    display: inline;
}
.example-card dt::after {
    content: ": ";
    font-weight: normal;
}
.example-card dd {
    display: inline;
    margin-left: 0;
}
.example-card dd::after {
    content: "";
    display: block;
    margin-bottom: 0.5em;
}
.impact-summary-list {
    margin: 0;
}
.impact-summary-list dt {
    display: inline;
    font-style: italic;
    margin-left: 40px;
}
.impact-summary-list dt::after {
    content: ": ";
}
.crater-dimensions-aside {
    margin-left: 40px;
    margin-bottom: 3em;
}
.impact-summary-list dd {
    display: inline;
    margin-left: 0;
}
.impact-summary-list dd::after {
    content: "";
    display: block;
    margin-bottom: 0.5em;
}
.mercalli {
    font-weight: bold;
    color: #09405a;
}
.mercalli-list {
    margin: 0;
    margin-top: 1rem;
}
.mercalli-list dt {
    display: inline;
    margin-left: 40px;
}
.mercalli-list dt::after {
    content: ". ";
}
.mercalli-list dd {
    display: inline;
    margin-left: 0;
}
.mercalli-list dd::after {
    content: "";
    display: block;
    margin-bottom: 0.8em;
}
.masonry-list {
    margin: 0;
    margin-top: 1rem;
}
.masonry-list dt {
    display: inline;
    margin-left: 40px;
}
.masonry-list dt::after {
    content: ". ";
}
.masonry-list dd {
    display: inline;
    margin-left: 0;
}
.masonry-list dd::after {
    content: "";
    display: block;
    margin-bottom: 0.65em;
}
.glossary-title {
    font-size: 24pt;
    font-weight: bold;
    text-align: center;
}
.glossary-list dt {
    font-weight: bold;
}
.glossary-list dd {
    margin-bottom: 1em;
}
ul.damage {
    list-style-type: disc;
}
.note {
    font-style: italic;
    font-size: small;
    color: #555555;
    margin-top: 1rem;
}
.discussion {
    margin-top: 2rem;
    padding: 0 1rem 1rem 1rem;
    border: 1px solid #cccccc;
    h3 {
        font-style: italic;
    }
    font-size: small;
}
div.target-type {
    margin-left: 40px;
    input {
        margin-top: 10px;
    }
}

.error {
  color: red;
  font-size: 0.8rem;
  margin-top: 5px;
  display: block;
}

.authors {
    font-size: 16pt;
}

footer {
        font-size: x-small;
}

input:invalid {
  border: 1px solid red;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}