﻿* {
    font-size: 100%;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: rgb(247, 247, 247);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

main {
    padding: 0 .75em;
    position: relative;
}

main,
.navMain-content,
.footer-content {
   /* width: 950px;*/
    max-width: 950px;
    margin: 0 auto;
}

/* Top Navigation */
.navMain {
    background-color: #FFF;
    border-bottom: 5px solid #51a1a7;
}

.navMain-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navMain-Logo {
    display: flex;
    align-items: center;
}

.navMain-Logo a {
    height: 100%;
    display: flex;
    align-items: center;
    padding: .5em;
}

.navMain-Logo a img {
    height: auto;
    max-width: 200px;
}

.navMain-hamburger {
    margin-right: 1em;
}

.modalCloseButton,
.navMain-closeButton {
    color: #000;
    font-size: 1.2em;
    cursor: pointer;
}

.modalCloseButton:hover {
    opacity: .6;
}

@media only screen and (min-width: 870px) {
    .navMain-Logo a img {
        max-width: 270px;
        display: flex;
        align-items: center;
    }
}

.navMain-link {
    padding: .5em .75em;
    display: block;
    transition: 0.3s;
    margin: .25em;
    text-decoration: none;
    font-size: 1em;
    color: #000;
    border-radius: 8px;
}

.navMain-link:hover {
    color: #000;
    background-color: #51a1a7;
}

.navMain-desktopLinks {
    display: none;
}

@media only screen and (min-width: 800px) {
    .navMain-desktopLinks {
        display: flex;
        flex-wrap: wrap;
    }

    .navMain-hamburger {
        display: none;
    }
}

/* Side Navigation */
.sidenav {
    height: 100%;
    width: 90%;
    position: fixed;
    z-index: 1;
    top: 0;
    right: -30px;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    transform: translateX(100%);
    background-color: white;
    box-shadow: -23px 0px 15px 0px rgba(0,0,0,0.51);
    -webkit-box-shadow: -23px 0px 15px 0px rgba(0,0,0,0.51);
    -moz-box-shadow: -23px 0px 15px 0px rgba(0,0,0,0.51);
}

.sidenav-layout {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.sidenav-layout-item2 {
    padding: .5em;
    background-color: #51a1a7;
}

@media only screen and (min-width: 870px) {
    .sidenav {
        display: none;
    }
}

.sidenav a {
    padding: .5em .75em;
    display: block;
    transition: 0.3s;
    margin: .25em;
    text-decoration: none;
    font-size: 1em;
    color: #000;
    border-radius: 8px;
}

.sidenav a:hover {
    color: #000;
    background-color: #51a1a7;
}

#sideNavCloseButton {
    position: absolute;
    top: 5px;
    right: 15px;
    margin-left: 50px;
    padding: .1em .2em;
    border-radius: 50%;
    font-size: 1.25em;
}

#toggleNavDrawer {
    color: #000;
    font-size: 2em;
    cursor: pointer;
}

/* Footer */
#desktopFooter {
    display: none;
}

footer {
    margin-top: 2em;
    padding: 0 .5em;
    min-height: 5px;
    background-color: #51a1a7;
}

.footer-item {
    padding: 0 1em 1em 0em;
}

.footer-item h4 {
    margin: 1em 0 .5em 0;
}

.footer-item p {
    margin: .5em 0;
}

.footer-item p,
.footer-item a,
.footer-item h4,
footer p,
footer a,
footer h4,
.footer-item {
    color: black !important;
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.24);
    padding-top: 1em;
}

.footer-itemBottom2 {
    text-align: center;
}

.footer-itemBottom3 {
    text-align: right;
    padding-right: 1em;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

.footer-item-contact {
    display: none;
}

.footerCopyright {
    font-size: .8em;
}

@media only screen and (min-width: 800px) {
    .footer-content {
        flex-wrap: nowrap;
    }

    .footer-item {
        width: 300px;
        padding: 0 1em 1em 1em;
    }

    .footer-item-contact {
        display: block;
    }

    .footer-itemBottom2,
    .footer-itemBottom3,
    #desktopFooter {
        display: block;
    }

    .footerCopyright {
        font-size: 1em;
    }
}