* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

:after, :before{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body{
    position: relative;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.42857143;
    font-size: 10px;
    font-family: Montserrat;
    font-family: sans-serif;
    font-weight: 300;
}

header {
    position: fixed;
    width: 100%;
    height: 75px;
    background: transparent;
    z-index: 20;
    box-shadow: 0px 0px 0px rgba(0,0,0,0);
    transition: all 0.3s ease-in-out;
}

header #iconHolder{
    position: relative;
    display: inline-block;
    vertical-align: top;
    height: 100%;
    width: 20%;
    margin-left: -4px;
    opacity: 1;
    z-index: 9;
    transition: opacity 0.2s ease-in-out;
}

header #iconHolder.hide{
    opacity: 0;
}

header #icon{
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 100%;
    height: 100%;
    background-image: url("../imgs/logos/resolve/icon-text-white.svg");
    background-size: 100% 2.5em;
    background-origin: content-box;
    background-position: center;
    background-repeat: no-repeat;
}

header #hamburger{
    display: none;
}

header #mainNav{
    position: relative;
    display: inline-block;
    width: 80%;
    height: 100%;
    margin: 0;
    vertical-align: top;
    text-align: right;
    padding: 20px;
    z-index: 2;
    transition: padding 0.3s ease-in-out;
}

header #mainNav li{
    position: relative;
    display: inline-block;
    height: 100%;
    width: 200px;
    list-style: none;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    border-radius: 4px;
    transition: color 0.3s, background 0.3s, ease-in-out;
}

header #mainNav li:hover,
header #mainNav li.active,
header #mainNav li:active{
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

header #mainNav li a{
    position: absolute;
    display: table;
    height: 100%;
    width: 100%;
    text-decoration: none;
    font-size: 1.4em;
    font-family: Montserrat;
    font-weight: 400;
    letter-spacing: 1px;
    color: inherit;
}

header #mainNav li a span{
    display: table-cell;
    vertical-align: middle;
    color: inherit;
}

header.fixed{
    box-shadow: 0px 5px 20px rgba(0,0,0,0.5);
    background: rgba(255, 255, 255, 0.9);
    height: 60px;
}

header.fixed #icon{
    background-image: url(../imgs/logos/resolve/icon-text-green.svg);
    background-size: 100% 2.5em;
}

header.fixed #mainNav{
    padding: 10px 20px;
}

header.fixed #mainNav li{
    color: #7e8890;
}

header.fixed #mainNav li:hover,
header.fixed #mainNav li.active,
header.fixed #mainNav li:active{
    color: black;
    background: rgba(0, 0, 0, 0.05);
}


.res{
    /* color: #528e40; */
}

.panelTitle{
    position: relative;
    font-size: 1.6em;
    padding: 30px 30vw 30px 30vw;
    text-align: center;
    color: #7e8890;
}

.panelTitle > div{
    font-family: Montserrat;
    font-size: 2rem;
    font-weight: 200;
    color: rgb(85, 85, 155);
}


@media only screen and (max-width : 1024px) {

    header #mainNav li{
        width: 150px;
    }


    .panelTitle{
        padding: 30px;
    }
}

@media only screen and (max-width : 768px) {

    header{
        height: 75px;
    }

    header #iconHolder{
        width: 100%;
        margin-left: 0;
    }

    header #iconHolder.hide{
        opacity: 1;
    }

    header #iconHolder.hide #icon{
        opacity: 0;
    }

    header #icon{
        width: 100%;
        background-position: left;
        margin-left: -78px;
        color: rgba(0, 0, 0, 0.7);
        /* padding-right: 75px; */
    }

    header #hamburger{
        position: relative;
        display: inline-block;
        vertical-align: top;
        height: 100%;
        width: 75px;
        background: none;
        border: none;
        color: #ddd;
        font-size: 1.5em;
        z-index: 101;
        transition: color 0.3s, background 0.3s, ease-in-out;
    }

    header.fixed #hamburger{
        color: rgba(0, 0, 0, 0.7);
    }

    header #hamburger.active,
    header #hamburger:active,
    header.showMobileNav #hamburger{
        color: black;
    }

    header #mainNav{
        width: 100%;
        max-height: 0px;
        height: auto;
        padding: 0px;
        background: white;
        overflow: hidden;
        box-shadow: none;
        transition: max-height 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    }

    header.showMobileNav{
        background: white;
    }

    header.showMobileNav #icon{
        background-image: url("../imgs/logos/resolve/icon-text-green.svg");
        background-size: 100% 2.5em;
    }

    header.showMobileNav #mainNav{
        max-height: 500px;
    }

    header #mainNav li,
    header.fixed #mainNav li{
        width: 100%;
        height: 70px;
        background: white;
        color: #7e8890;
    }

    header #mainNav li:hover,
    header #mainNav li.active,
    header #mainNav li:active{
        color: black;
        background: rgba(0, 0, 0, 0.05);
    }

    header #mainNav,
    header.fixed #mainNav{
        box-shadow: 0px 15px 20px rgba(0,0,0,0.2);
        background: white;
        padding: 0;
    }

    .panelTitle{
        padding: 20px;
    }

}