

/*--- General site layout + default styling ---*/

body {
    margin: 0;
    min-height: 100vh;
    display: flex; /* Vertical layout of main elements */
    flex-direction: column;
    align-items: center;
    line-height: 1.5; /* Make default line height more accessible */
    font-family: sans-serif; 
}

* {
    box-sizing: border-box;
}

header, main {
    width: 100%;
    max-width: 960px;
    padding-left: 2em;
    padding-right: 2em;
}

header {
    border-bottom: 1px solid grey;
    margin-bottom: 0.5em;
}

footer {
    margin-top: auto;
    background-color: #d4d4d4;
    align-self: stretch;
    text-align: center;
    padding-top: 1em;
    padding-bottom: 1em;
}

h1 {
    color: #000000;
    font-family: Calbri bold, sans-serif;
    font-size: 26pt;
    margin: 0;
    margin-right: auto;
    white-space: nowrap;
}

h2 {
    color: #1a3d6d;
    font-family: Calibri, sans-serif;
    font-size: 20pt;
    margin: 0;
    margin-right: auto;
    white-space: nowrap;
}

h3,h4,h5,h6 {
    color: #202945;
    font-family: Calibri, sans-serif;
    font-size: 18pt;
    margin-top: 1em;
    margin-bottom: 0.3em;
    font-weight: normal;
    white-space: nowrap;
}

p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    color: #000000;
    font-family: Calibri;
    font-size: 11pt;
    font-weight: lighter;
}

.site-header {
    display: flex;
    align-items: center;
    min-height: 7em;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    color: #000000;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: auto;
    font-size: 2em;
    font-weight: bold;
}

.navigation {
    display: flex;
}

.navigation-footer {
    display: flex;
    -ms-flex-align: center;
    justify-content: center;
}

.navigation-link {
    color: #1a3d6d;
    padding: 0.7em;
    text-decoration: none;
    font-weight: bold;
}

.navigation-link:hover {
    color: #ffffff;
    background-color:#1a3d6d
}

.footer-link {
    color: #1d3d6d;
    padding: 0.7em;
    text-decoration: none;
    font-family: Calibri light, sans-serif;
    font-size: 12pt;
}

.footer-link:hover {
    color: #ffffff;
    background-color:#202945
}

.footer-text {
    color: #1a3d6d;
    padding: 0.7em;
    text-decoration: none;
    font-family: Calibri light, sans-serif;
    font-size: 12pt;
}

.privacy {
    color: #1a3d6d;
    padding: 0.7em;
    text-decoration: underline #1a3d6d 1px;
    font-family: Calibri light, sans-serif;
    font-size: 12pt;
}

/* Table styling */

table {
    margin: 2em 0;
    border-collapse: collapse;
    width: 100%;
}

tr:hover {background-color: #1a3d6d; color:#ffffff}

td {
    border: 1px solid #d7d7d7;
    padding: 0.6em 0.8em;
    text-align: left;
}

th {
    border: 1px solid #d7d7d7;
    padding: 0.6em 0.8em;
    text-align: left;
    background-color: #202945;
    color: #FFFFFF
}


/* Form styling */

form {
    width: 100%;
    border: 1px solid #e5e5e5;
    background-color: #f3f3f3;
    padding: 1.5em;
    margin: 2em 0;
}


label {
    font-size: 0.9em;
}

input[type='text'], input[type='email'], textarea {
    border-style: solid;
    border-width: 1px;
    border-color: #b3b3b3;
    width: 100%;
    margin-bottom: 1em;
    padding: 0.3em;
}

input[type='radio'] {
    display: inline;
    margin-right: 0.5em;
}

textarea {
    resize: none;
}

input[type='submit'] {
    width: auto;
    padding: 0.5em 2em;
    background-color: #1e3da3;
    color: white;
    border-style: none;
    border-radius: 0.3em;
    margin: 1.5em 0 0 0;
}

.form-header {
    margin-top: 0;
}

.form-description {
    margin-bottom: 1.5em;
}

.logo-image {
    width: 200px;
    height: auto;
    justify-content: space-around;
    align-items: baseline;
    margin-top: 10px;
}

.image-container {
    position: relative;
    display: inline-block;
    max-width: 100%;    
}

.overlay-text1 {
  position: absolute;
  top: 10%;
  left: 15%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 24px;
  font-weight: bold;
  font-style: italic;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.overlay-text2 {
  position: absolute;
  bottom: 5%;
  right: -5%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 24px;
  font-weight: bold;
  font-style: italic;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.text-area {
    color: grey;
    font-size: 10px;
}

i {
    font-size: 2em;
    color: #1a3d6d
}