header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

html{
    --top-spacing: 100px;
    scroll-padding-top: var(--top-spacing);
    display: block;
    box-sizing: border-box;
    position: relative; 
}

body{
	margin: var(--top-spacing);
	font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
	color: #444;
	font-size: 16px;
    padding: 0;
}

.container{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
    width: 100%;
}

.item{
	flex-basis: auto;
}

img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    position: unset;
}

h3{
    text-align: center;
    color: #25479e;
}

h1{
    text-align: center;
    color: #25479e;
    text-decoration: underline;
}

h4{
    text-align: center;
    color: #25479e;
}

p{
    text-align: center;
    color: #25479e;
    text-size: 20pt;
}

section{
    padding-bottom: 25px
}

ul{
    padding: 0 20px;
    color: #25479e;
}
    
li{
    padding-top: 8px;
    color: #25479e;
    font-size: 9pt;
}

.topnav {
    margin-left: -35px;
    height: 80px;
    position: sticky;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    box-shadow: 0 2px 10px 0 rgba(25, 25, 112,0.2);
}

.topnav-logo img{
    margin-top: -80px;
    display: block;
    height: 80px;
    float: left;
    position: relative;
}

.topnav a {
  font size: 1.125rem;
  color: midnightblue;
  margin-left: 1.75rem;
  position: relative;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.8;
}

.topnav a:hover {
  opacity: 1;
}

.topnav a:hover:after {
  transform: scalex(1);
}

.topnav a:after{
    transition: 0.3s ease;
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: midnightblue;
    transform: scalex(0);
    position: absolute;
    bottom: -2px;
    left: 0;
    }

.topnav a.active {
  background-color: #25479e;
  color: white;
}

.column {
    width: 35%;
    margin: 0 auto;
    min-height: 100vh;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center
}

@media (max-width: 959px) {
    .column {
        width:100%;
        min-height: 0;
        height: auto;
        display: block;
        padding-top: 60px
    }
}

.column .inner {
    padding: 0 50px;
    margin: 0 auto;
    max-width: 485px
}

@media (max-width: 959px) {
    .column .inner {
        padding:0 30px
    }
}

.column a,.column a:active,.column a:visited {
    color: #25479e;
    text-decoration: none
}

.column a:hover {
    color: #c45e1b
}

.column img {
    width: 220px;
    display: block;
    margin: 0 auto;
}

.column h1 {
    font-family: 'Arvo', serif;
    color: #444;
    font-size: 30px;
    font-weight: 400;
    text-align: center;
    margin: 24px 0
}

.column label {
    display: block;
    color: #777;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 10px 0
}

.column label.regular {
    font-weight: 400
}

.column input[type=text],.column input[type=password] {
    display: block;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 18px;
    line-height: 1;
    padding: 13px 15px;
    color: #444;
    -webkit-appearance: none
}

.column input[type=text]:focus,.column input[type=password]:focus {
    outline: 0;
    border-color: #82c8ff
}

.column input[type=checkbox] {
    display: inline-block;
    margin-right: 6px
}

.column button {
    display: block;
    width: 100%;
    line-height: 1;
    background-color: white;
    border: 2px solid #25479e;
    border-radius: 3px;
    color: #25479e;
    font-size: 18px;
    font-weight: 700;
    padding: 16px 15px;
    cursor: pointer
}

.column button:hover {
    background-color: #25479e;
    color: white;
}

button {
  --borderWidth: 2;
  --boxShadowDepth: 3.5;
  --buttonColor: midnightblue;
  --fontSize: .8;
  --horizontalPadding: 7.5;
  --verticalPadding: 3.5;
  
  background: transparent;
  border: calc(var(--borderWidth) * 1px) solid var(--buttonColor);
  box-shadow: calc(var(--boxShadowDepth) * 1px) calc(var(--boxShadowDepth) * 1px) 0 #888;
  color: var(--buttonColor);
  cursor: pointer;
  font-size: calc(var(--fontSize) * 1rem);
  font-weight: bold;
  outline: transparent;
  padding: calc(var(--verticalPadding) * 1px) calc(var(--horizontalPadding) * 1px);
  transition: box-shadow 0.15s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

button:hover {
  box-shadow: calc(var(--boxShadowDepth) / 2 * 1px) calc(var(--boxShadowDepth) / 2 * 1px) 0 darkblue;
}

button:active {
  box-shadow: 0 0 0 darkblue;
}

button a{
    color: midnightblue;
}

button a:visited{
    color: midnightblue;
}

section {
    display:flex;
    flex-wrap:wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.flip-card {
  background-color: transparent;
  width: 300px;
  height: 300px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  background-color: #fff;
  color: black;
}

.flip-card-back {
  background-color: #fff;
  color: white;
  transform: rotateY(180deg);
}

.flip-card-back a{
 text-decoration: none;
 height: 300px
}

.footerContainer{
    width: 100%;
    padding: 10px 0px 0px;
    border-top: 1px solid midnightblue;
}

.socialIcons{
    display: flex;
    justify-content: center;
    gap: 20px;
}

.socialIcons a{
    text-decoration: none;
    padding: 5px;
    background-color: midnightblue;
    margin: 5px;
    border-radius: 30%;
    opacity: 0.9;
}

.socialIcons a i{
    font-size: 2em;
    color: white;
}

.socialIcons a:hover{
    background-color: white;
    transition: 0.3s ease;
}

.socialIcons a:hover i{
    color: midnightblue;
    transition: 0.3s ease;
}

.footerContainer img{
    height: 80px;
}

.footerNav{
    margin: 10px 0;
}

.footerNav ul{
    display: flex;
    justify-content: center;
    gap: 50px;
    list-style: none;
}

.footerNav ul li a{
    color: midnightblue;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    position: relative;
}

.footerNav ul li a:hover{
    opacity: 1;
}

.footerNav ul li a:hover:after{
    transform: scalex(1);
}

.footerNav ul li a:after{
    transition: 0.25s ease;
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: midnightblue;
    transform: scalex(0);
    position: absolute;
    bottom: -2px;
    left: 0;
}

@media (max-width: 700px){
    .footerNav ul{
        flex-direction: column;
    }
    .footerNav ul li{
        width: 100%;
        text-align: center;
        margin: 10px;
    }
}

@media (max-width: 490px){
    p{
    align-items: center;
    }
    body{
        width: 100%;
        margin-left: 0;
        margin-top: 100px;
    }
}

@media (max-width: 380px){
    .topnav-logo img{
    display: none;
    }
    p{
    align-items: center;
    }
    body{
        width: 100%;
        margin-left: 0;
        margin-top: 100px;
    }
}

#subscribe{
    color: midnightblue;
    text-decoration: none;
    font-size: 1.0em;
    opacity: 0.7;
    position: relative;
}

#subscribe:hover{
    opacity: 1;
}

#subscribe:hover:after{
    transform: scalex(1);
}

#subscribe:after{
    transition: 0.25s ease;
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: midnightblue;
    transform: scalex(0);
    position: absolute;
    bottom: -2px;
    left: 0;
}

/*Omnilert Web Widget*/
#sc-smartboard-container{
    display:block;
	background-color: white;
    width: 300px;
    padding: 5px;
	border: 2px solid red;
    text-align: center;
    align-self: center;
    margin-bottom: 15px;
}

.sc-smartboard-subject{
	font-weight: bold;
    color: red;
    text-align: center
}

.sc-smartboard-datetime{
	font-size: small;
	font-variant: small-caps;
    color: red;
}

.sc-smartboard-message{
	font-family: Arial, Helvetica, sans-serif;
    color: red;
}
