.logo {
    height: 5vw;
    width: auto;
    display: inline-block;
    padding-left: 1vw;
    padding-right: 1vw;
}

.align {
    position: relative;
    top: 0;
    background: var(--header-background);
}

.navbar {
    margin-top: 0;
    margin-bottom: 0;
    min-height: 0;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.navbar li {
    float: left;
    color: var(--navbar-font-color);
    text-align: center;
    text-decoration: none;
    transition: 0.5s;
}

li a {
    font-size: 0.85em;
}

.navbar li iframe:hover:not(.active) {
    transition: 0.5s;
    background-size: 100% 100%;
}

.navbar li a {
    display: block;
    color: var(--navbar-font-color);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: 0.5s;
    background-image: linear-gradient(var(--navbar-hover), var(--navbar-hover));
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size .5s, color .5s;
}

.navbar li a:hover:not(.active) {
    transition: 0.5s;
    background-size: 100% 100%;
}

.active {
    background-color: var(--navbar-active);
}

.headerTable {
    width: 100%;
    display: table;
}

.headerSpacer {
    display: table-cell;
    width: 10vw;
}

.mobileExpandButton {
    display: none;
}

.mNavbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100%;
}

.mNavbar {
    background: var(--header-background);
}

.mNavbar li {
    float: left;
    color: var(--navbar-font-color);
    text-align: center;
    text-decoration: none;
    transition: 0.5s;
    width: 100%;
}

li a {
    font-size: 0.85em;
}

.mNavbar li iframe:hover:not(.active) {
    background-color: var(--navbar-hover);
    transition: 0.5s;
}

.mNavbar li a {
    display: block;
    color: var(--navbar-font-color);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: 0.5s;
}

.mNavbar li a:hover:not(.active) {
    background-color: var(--navbar-hover);
    transition: 0.5s;
}

.active {
    background-color: var(--navbar-active);
}

.navbar-toggle {
    border: none;
    background: transparent !important;
    transform: scale(1.7, 1.7);
    float: none;
    justify-content: center;
    display: inline;
    vertical-align: middle;
}

.navbar-toggle:hover {
    background: transparent !important;
}

.navbar-toggle:hover .icon-bar {
    background: var(--navbar-hover) !important;
}

.navbar-toggle .icon-bar {
    width: 22px;
    transition: all 0.2s;
    background: var(--navbar-font-color);
    right: -0px;
    position: inherit;
}

.navbar-toggle:not(.collapsed) .icon-bar {
    right: -2px;
    position: inherit;
}

.navbar-toggle .top-bar {
    transform: rotate(45deg);
    transform-origin: 10% 10%;
}

.navbar-toggle .middle-bar {
    opacity: 0;
}

.navbar-toggle .bottom-bar {
    transform: rotate(-45deg);
    transform-origin: 10% 90%;
}

.navbar-toggle.collapsed .top-bar {
    transform: rotate(0);
}

.navbar-toggle.collapsed .middle-bar {
    opacity: 1;
}

.navbar-toggle.collapsed .bottom-bar {
    transform: rotate(0);
}

.mobile-view {
    position: absolute;
    transform: scale(0.6, 0.6);
    display: table-cell;
}

.wastewise-text {
    font-family: Palatino, Palatino Linotype, Palatino LT STD, Book Antiqua, Georgia, serif;
}
/* ONE LINE */
@media (min-width: 768px) {
    .navbar-collapse.collapse.in {
        display: block !important;
    }
    .navbar-collapse.collapse {
    display: none !important;
    height: auto !important;
    padding-bottom: 0;
    overflow: visible !important;
}
}
@media screen and (min-width: 1307px) {
    .mNavbar {
        display: none;
    }

    .headerIconMobile {
        display: none;
    }

    .navbar {
        /* background: rgb(0, 0, 0); */
        padding-top: 1px;
        padding-bottom: 1px;
        margin-bottom: 0%;
    }

    .align {
        position: relative;
    }

    .navbar ul {
        position: relative;
        float: right;
    }

    .headerNavbar,
    .headerIcon {
        display: table-cell;
        vertical-align: middle;
    }

    .headerNavbarSameRow {
        display: table-cell;
        vertical-align: middle;
    }

    .headerNavbarRow {
        display: none
    }

    .tableIconRow {
        width: 100%;
        display: table-row;
    }

    .wastewise-text {
        color: var(--navbar-font-color);
        font-weight: lighter;
        font-size: 4.5rem;
        display: inline-block;
        position: relative;
        top: 1.25rem;
        left: -1.5rem;
    }
}

@media (min-width: 816px) {
    .navbar-collapse.collapse {
        display: none !important;
        height: auto !important;
        padding-bottom: 0;
        overflow: visible !important;
    }

    .body-paragraph {
      font-size: 1.3vw;
    }

    .we-are {
      font-size: 1.7vw;
    }

    .wastewise-text {
        color: var(--navbar-font-color);
        font-weight: lighter;
        font-size: 4.5rem;
        display: inline-block;
        vertical-align: baseline;
    }
}

@media screen and (min-width: 816px) and (max-width: 1306px) {

    .mNavbar {
        display: none !important;
    }

    .headerIconsMobile {
        display: none;
    }

    .logo {
        width: 14vw;
        height: auto;
        display: inline-block;
    }

    .align {
        text-align: center;
    }

    .navbar ul {
        display: inline-block;
        list-style-type: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    .navbar li {
        float: left;
    }

    .navbar li a {
        display: block;
        color: var(--navbar-font-color);
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
    }

    .navbar li a:hover:not(.active) {
        background-color: var(--navbar-hover);
    }

    .active {
        background-color: var(--navbar-active);
    }

    .headerNavbar,
    .headerIcon {
        display: table-cell;
        vertical-align: middle;
        width: 100vw;
    }

    .headerSpacer {
        display: none;
    }

    .headerIconRow {
        display: table-row;
    }

    .headerNavbarSameRow {
        display: none;
    }

    .headerNavbarRow {
        display: table-cell;
        vertical-align: middle;
    }

    .tableIconRow {
        width: 100%;
        display: table-row;
    }
    .body-paragraph {
      font-size: 2vw;
    }
    .we-are {
      font-size: 2.5vw;
    }
    .wastewise-text {
        color: var(--navbar-font-color);
        font-weight: lighter;
        font-size: 4.5rem;
        display: block;
        position: unset;
    }
}

@media screen and (max-width: 815px) {
    .about-row:not(:last-child) > td {
            display: table-row;
    }
    .logo {
        width: 14vw;
        height: auto;
        display: inline-block;
    }

    .mobileExpandButton {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        font-size: 7vw !important;
        padding: 5px 5px 5px 5px;
        height: 100%;
    }

    .headerNavbarSameRow {
        display: none;
    }

    .headerNavbarRow {
        display: none;
    }

    .align {
        text-align: none;
    }

    .navbar {
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .navbar li a {
        display: block;
        color: var(--navbar-font-color);
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
    }

    .navbar li a:hover:not(.active) {
        background-color: var(--navbar-hover);
    }

    .body-paragraph {
      font-size: 3vw;
      text-align: center
    }

    .we-are {
      font-size: 3.5vw;
      text-align: center
    }
    .wastewise-text {
        color: var(--navbar-font-color);
        font-weight: lighter;
        font-size: 3rem;
        display: inline-block;
        margin-bottom: 0;
        vertical-align: middle;
    }
}