*{padding: 0; margin: 0;}

html {
    font-family: 'Varela';
    scroll-padding-top: 150px; /* height of sticky header */
}
body{
    /*background: powderblue;*/
    overflow-x: hidden;
}

h1{
    font-size: 43px;
    font-family: Rubik;
    margin-top: 6px;
    font-weight: bolder;
}
h1, h2, h4, h3{
    text-align: center;
}

.header{
    background-color: aliceblue;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    float: left;
    left: 10px;
    padding-top: 10px;
    position: absolute;
    top: 0;
    width: 150px;
}

.bpaLogo{
    width: 200px;
    height: auto;
}

.container {
    float: left;
    background:lightsteelblue;
    padding:132px 0 0;
    width:100%;
    font-size: 17px !important;
}

/*.w3-content{
    padding: 20px 20px;
}*/
.mySlides {
    width: 100%;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-size: 40px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    tab-index: 0;
    background-color: #393939;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}


/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin-top: 10px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

a:focus, a:focus button.mySlides, a:focus-within button.dot, button:focus-within button.prev, a:focus-within button.next, button:focus, a:focus img.logo{
    outline: 2px solid red;
}

@-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

.textBox,.footer{
    z-index: 1000;
}

@media (max-width: 500px){
    .prev, .next {
        top: 24%;
    }
}

@media (max-width: 600px){
    .prev, .next {
        top: 26%;
    }
}

@media (max-width: 800px){
    .prev, .next {
        top: 29%;
        margin-top: -11px;
        padding: 10px;
        font-size: 20px;
    }
}

@media (max-width: 1000px){
    .prev, .next {
        top: 33%;
        margin-top: -11px;
        padding: 13px;
        font-size: 30px;
    }
}

img{
    padding: 0;
}
.navBar a img{padding:1px;}

.headerLine{
    background-color: rgb(0, 0, 102);
    padding: 15px 15px;
    color: aliceblue;
}

.button {
    background-color: #fbfbfb;
    color: black;
    padding: 10px;
    text-align: left;
    align-items: stretch;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    margin: 5px;
    cursor: pointer;
    border-radius: 16px;
    border: 1px solid black;
    width: 40%;
    /*min-width: 180px; removed not to set minimum width */
    height: 28px;
}

.button:hover, .button.active {
    background-color: rgb(255, 77, 77);
    color: #fbfbfb;
}

.button img { float:right;border: none;}

.navBar {
    background-color: aliceblue;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: auto;
    white-space: nowrap;
    margin-top:10px;
}

.footer {
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #004085;
    color: black;
}

.footergrid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    background-color: rgb(0, 0, 102);
    padding: 15px;
    color: white;
    font-size: 28px
}
.footergrid-item {
    background-color: rgb(0, 0, 102);
    padding: 10px;
    color: white;
    font-size: 17px;
    margin: 10px 20px;
}
.contactMessage{
    margin:15px 0 0 0;
    text-align: left;
}
.mapspage ul, .mapspage p {
    background-color: aliceblue;
    color: rgb(0,0,102);
    font-style: normal;
    font-size: 19px;
    border-radius: 11px;
    font-weight: 400;
    margin: 19px auto;
    padding: 36px;
    text-align: left;
    width: 70%;
}

#map iframe{
    width: 100%;
    height: 480px;
}

.textBox{
    margin: 20px 20px 20px 20px;
    background-color: aliceblue;
    padding: 40px;
    font-size: 16px;
    color: rgb(0, 0, 102);
}


/* unvisited link */
.footergrid-item a:link, .mapspage a:link {
    font-weight: bold;
    color: rgb(255, 77, 77);
}


/* visited link */

.footergrid-item a:visited{
    font-weight: bold;
    color: white;
}

.mapspage a:visited{
    font-weight: bold;
    color: rgb(0, 0, 102);
}

/* mouse over link */
.footergrid-item a:hover, .mapspage a:hover {
    font-weight: bold;
    color: rgb(36, 143, 36);
}


li span.bold {
    font-weight: bold;
}

#team {
    width: 60%;
    margin: 25px auto;
    display: flex; flex-direction: row;
}

#team div {
    text-align: center;
    background-color: aliceblue;
    color: rgb(0, 0, 102);
    width: 45%;
    height: 30%;
    padding: 3px 0;
    margin-right: auto;
    border-bottom: 8px solid rgb(0, 0, 102);
}

#team img{
    margin: 10px;
    width: 67%;
    height: 75%;
}

#about hr, #team hr {
    height: 5px;
    background-color: rgb(0,0,102);
    margin-bottom: 5px;
}

#about {
    width: 75%;
    padding: 20px;
    color: rgb(0,0,102);
    text-align: center;
    margin: 25px auto;
    background-color: aliceblue;
    border-bottom: 8px solid rgb(0, 0, 102);
}



/* Responsive layout - makes a one column layout instead of a two-column layout */
@media (max-width: 1000px) {
    .topnav a img {
        display:none;
    }

    .topnav {
        display: flex;
    }

    .navbutton {
        width:18% !important;
    }
    h1{
        font-size:35px;
        text-align:right !important;
        margin:21px 10px 10px 0;
        font-weight:bold;
    }
    .w3-display-left, .w3-display-right{
        top:38%;
    }
}
@media (max-width: 800px) {
    .navbutton {
        font-size:20px;
        margin:5px 5px 5px 5px;
        /* height: 30px; */
        padding: 8px 10px;
    }

    h1{
        font-size:38px;
        text-align:right !important;
        margin:14px 10px 10px 0;
        font-weight:bold;
    }
    .w3-display-left, .w3-display-right{
        top:30%;
    }

    .logo{
        width: 120px;
    }
}

@media (max-width: 600px) {
    h1{
        font-size:20px;
        text-align:right !important;
        margin:32px 10px 10px 0;
        font-weight:bold;
    }
}


textarea {
    width: 100%;
}
.pure-group, .thankyou_message{ font-size: 16px; }

.button-success {
    color: white;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    background: rgb(255, 77, 77);
    font-size: 19px;
    float: right;
    padding: 6px 6px;
    border-radius: 6px;
    font-weight: bold;
}

#name, #email {
    width: 100%;
}
.honeypot-field {
    display: none;
}
/* responsive navigation */
.topnav {
    background-color: aliceblue;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    margin-top:16px;
}

.topnav a {
    float: left;
    display: block;
    color: black;
    text-align: center;
    padding: 12px 15px;
    text-decoration: none;
    font-size: 20px;
}

.topnav a:hover {
    background-color: rgb(255, 77, 77);
    color: white;
}

.navbutton {
    background-color: #fbfbfb;
    color: black;
    padding: 6px;
    text-align: left;
    align-items: stretch;
    text-decoration: none;
    display: inline-block;
    font-size: 21px;
    margin: 5px;
    cursor: pointer;
    border-radius: 18px;
    border: 2px solid black;
    width: 40%;
    height: 27px;
    font-weight: bold;
}
.navbutton img {
    float:right;
    border: none;
}

.topnav a.active {
    background-color: rgb(255, 77, 77);
    color: white !important;
}

.topnav .icon {
    display: none;
}

.visually-hidden{
position : absolute !important;
height:1px !important;
width: 1px !important;
overflow: hidden;
}

legend{margin:10px;}
.mandatory{font-size:0.8em; font-style:italic; color:lightsteelblue;}
.mancolor{font-weight:bold;vertical-align:super;color:lightsteelblue;}
@media screen and (max-width: 800px) {
    .navbutton {width:auto !important;}
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
        background-color: #fbfbfb;
        color: black;
        float: right;
        position: fixed;
        display: block;
        right: 5px;
        border:2px solid black;
        border-radius: 14px;
        margin-top: 4px;
    }

    .topnav.responsive .icon {
        position: absolute;
        right: 10px;
        top: 4px;
        background-color: rgb(255, 77, 77);
        color:black;
        border: none;
    }

    .topnav.responsive {
        position: relative;
        display: block;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}
/*end responsive navigation */
