


a[href*="parent-"] {
    cursor: pointer;
    pointer-events: none;
}
header,
footer {
    background-color: var(--comp);
    color: var(--mainDark);
}
header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: .5rem 0;
}
.contactBar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding-left: 2rem;
    align-items: center;
}
.contactBar p {
    display: inline;
}
.logo-nav {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    font-family: headings;
}
.logoContainer {
    display: grid;
    grid-template-areas: 
    "logo logotext"
    "logo logotextsub";
    align-items: center;
    padding-left: 20rem;
}
.logoContainer a {
    text-decoration: none;
    color: inherit;
}
.logo {
    grid-area: logo;
    width: 6rem;
    height: 6rem;
    background-image: url(../images/logo.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.logo a {
    width: 100%;
    height: 100%;
    display: block;
}
.logotext {
    grid-area: logotext;
    margin-bottom: -20px;
    font-weight: bold;
    font-size: 2rem;
}
.logotextsub {
    grid-area: logotextsub;
}
footer {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
}
footer p {
    margin: 0;
}
nav {
    font-size: 1.2rem;
    display: flex;
    justify-content: space-around;
}
nav>ul {
    display: flex;
    justify-content: center;
}
nav ul ul {
    position: absolute;
    background-color: var(--comp);
    color: var(--neutralLight);
    border-top: 5px solid var(--mainDark);
    min-width: 12rem;
    top: 2rem;
    z-index: 1;
    box-shadow: 13px 27px 16px -4px rgba(0, 0, 0, .5);
}
ul ul li {
    padding: 1rem;
    border-bottom: 1px solid var(--mainDark);
}
nav li {
    position: relative;
    min-width: 7em;
    text-align: center;
}
nav a {
    transition: .3s;
}
nav a:hover {
    color: var(--mainDark);
}
[for="menubutton"] {
    display: none;
}
.current {
    opacity: .3;
}
.current a {
    pointer-events: none;
}
.current a:hover {
    color: initial;
}
.social {
    text-align: right;
    margin-right: 2rem;
}
.social a {
    margin-right: 1em;
    font: normal normal normal 14px/1 FontAwesome;
    color: var(--mainLight);
    text-decoration: none;
    font-size: 1.5rem;
    transition: .3s;
}
.social a:hover {
    color: var(--mainDark);
}
.social a[href*="facebook"]::before {
    content: "\f09a";
}
.social a[href*="twitter"]::before {
    content: "\f099";
}
.social a[href*="youtube"]::before {
    content: "\f167";
}
.social a:last-of-type {
    margin-right: 0;
}
.social img {
    display: none;
}
#menubutton {
    display: none;
}
@media only screen and (max-width: 770px) {
    header {
        padding: 1rem .5rem;
    }
    .nav li {
        text-align: left;
        min-width: 5.5rem;
    }
    .social {
        margin-right: 0;
    }
}
@media only screen and (max-width: 590px) {
    header input {
        margin-left: -9999px;
    }
    [for="menubutton"] {
        display: block;
        position: absolute;
        left: 16px;
        color: white;
        z-index: 20;
        font-size: 2rem;
        text-decoration: none;
        background-image: url(images/graphics/hamburgerOpen.png);
        width: 36px;
        height: 36px;
    }
    #menubutton:checked+[for="menubutton"] {
        background-image: url(images/graphics/hamburgerClose.png);
        width: 41px;
        height: 42px;
    }
    nav {
        flex-direction: column;
        width: 0;
        overflow: hidden;
        transition: width .3s;
        color: transparent;
    }
    #menubutton:checked+label+nav ul ul {
        display: block!important;
        visibility: visible!important;
        position: static;
    }
    #menubutton:checked+label+nav {
        width: 100%;
        background-color: var(--mainDark);
        color: var(--neutralLight);
        position: absolute;
        left: 0;
    }
    #menubutton:checked+label+nav li {
        padding: 1rem;
    }
    #menubutton:checked+label+nav ul ul li:last-of-type {
        padding-bottom: 0;
    }
    #menubutton:checked+label+nav .submenu {
        padding-bottom: 0;
    }
    #menubutton:checked+label+nav>ul {
        display: block;
        margin-top: 5rem;
    }
    .sf-sub-indicator {
        display: none;
}
}