body {
    font-family: Arial, sans-serif;
    margin: 0;
}

.titleanddescription {
    text-align: left;
    width: 690px;
}

.titleanddescription p {
    margin-top: -15px;
    font-style: italic;
}

header {
    background-color: #003b70;
    padding: 20px;
    text-align: center;
    position: relative;
    top: 0;
    margin: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em;
    color: #ffffff;
    padding-top: 10px;
}

.webpage main h1 {
    color: #aa1f2e;
    font-style: normal;
}

social {
    padding-right: 10px;
}

img.socialnetthumb {
    width: 20px !important;
    filter: brightness(0);
    padding-left: 5px;
    padding-right: 5px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    position: relative;
    display: inline-block;
    margin-right: 20px;
}

nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #d0d1d2;
    opacity: 1;
    padding: 0;
    margin: 0;
    list-style: none;
    margin-left: 0px;
    margin-right: 0px;
    border-top-style:solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-right-style: solid;
    width: max-content;
    text-align: left;
    z-index: 10000000000;
}

nav ul li:hover > ul {
    display: block;
}

nav ul li ul li {
    display: block;
    margin-right: 0;
}

nav ul li ul li ul {
    top: 0;
    left: 100%;
}

nav ul li ul li {
    display: block;
    margin-right: 0;
    width: fit-content;
    min-width: 100px;
    height: 25px;
    padding-top: 6px;
}

nav {
    position: absolute;
    top: 120px;
    background-color: #aa1f2e;
    width: 100%;
    left: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Add down arrow to any <li> that has nested <ul> */
nav ul li.has-submenu > a::after {
    content: " ▼";
    display: inline-block;
    margin-left: 5px;
}

a.active {
    font-weight: 900;
}

main {
    /* margin: 20px; */
    /* margin-bottom: 150px; */
    max-width: 1100px;
    margin: auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 40px;
    margin-bottom: 100px;
}

footer {
    padding-top:10px !important;    
    background-color: #003b70;
    color:#ffffff;
    padding-bottom: 20px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 2em;
    cursor: pointer;
}

.menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.menu li {
    margin: 0 1em;
}

.menu a {
    text-decoration: none;
    color: #ffffff;
}

.alert-bar {
    background-color: #ffcc00;
    color: #000;
    padding: 10px;
    text-align: center;
    margin-top: 22px;
    margin-bottom: -20px;
}

video.video-element {
    width: 100%;
}

audio.audio-element {
    width: 100%;
}

img.image-element {
    width: 100%;
}

#pdf-container {
    width: 100%;
    height: 80vh;
    display: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    resize: vertical;
}

/* Page Animation    */   
main {
    animation: fadeInAnimation 2s;
    -webkit-animation: fadeInAnimation 2s;
    -moz-animation: fadeInAnimation 2s;
    -o-animation: fadeInAnimation 2s;
    -ms-animation: fadeInAnimation 2s;
    animation-iteration-count: 1;
    /* animation-fill-mode: forwards; */
}

/* Menu Animation    */  
.menu {
    animation: fadeInAnimation 1s;
    -webkit-animation: fadeInAnimation 1s;
    -moz-animation: fadeInAnimation 1s;
    -o-animation: fadeInAnimation 1s;
    -ms-animation: fadeInAnimation 1s;
    animation-iteration-count: 1;
}

/* Dropdown Menu ANimations */
nav ul li ul {
    animation: fadeInAnimation 1s;
    -webkit-animation: fadeInAnimation 1s;
    -moz-animation: fadeInAnimation 1s;
    -o-animation: fadeInAnimation 1s;
    -ms-animation: fadeInAnimation 1s;
    animation-iteration-count: 1;
}


nav ul li ul li ul {
    animation: fadeInAnimation 1s;
    -webkit-animation: fadeInAnimation 1s;
    -moz-animation: fadeInAnimation 1s;
    -o-animation: fadeInAnimation 1s;
    -ms-animation: fadeInAnimation 1s;
    animation-iteration-count: 1;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.loginbox {
    width: 350px;
    border: 1px solid #d1d1d1;
    background-color: #efefef;
    padding: 10px 30px 30px 30px;
    margin-top: 40px;
    border-radius: 25px;
}

body.passwordprotectedpage {
    background-color: #003b70;
}

table img.image-element {
    width: 250px;
}

.table {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.box {
    width: 250px;
    text-align: center;
    padding: 20px;
    margin-left: auto;
    margin-right: auto;
}

.box img.image-element {
    border-style: solid;
    border-width: 1px;
    border-color: #003b6f;
}

button {
    background-color: #aa1f2e;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 13px;
}

@media (max-width: 960px) {
    .titleanddescription h1 {
        font-size: 1.4em;
        margin-top: 24px;
    }
}

@media (max-width: 900px) {
   .table {
       grid-template-columns: 1fr 1fr;
   }
}

@media (max-width: 795px) {
   .table {
       grid-template-columns: 1fr;
   }
   button {
       border: solid;
       border-width: 1px;
   }
}

@media (max-width: 380px) {
    .titleanddescription h1 {
        font-size: 0.9em !important;
        margin-top: 24px !important;
    }
    .titleanddescription p {
        font-size: 0.9em;
        margin-top: 8px;
    }
}