/* TEMP HIDE */
.cp87400-3 {
    display: none;
}

/* MODAL OVERLAY & CLOSE BUTTONS */
.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -100;
    opacity: 0;
    top: 0;
    right: 0;
    cursor: pointer;
    transition: opacity ease 0.3s;
    box-sizing: border-box;
}

body.menu-clicked .overlay {
    z-index: 800;
    opacity: 1;
    background: rgba(255, 255, 255, 0.7);
}

.menu-button {
    position: absolute;
    right: 0;
    z-index: 300;
    opacity: 1;
    top: 50%;
    width: 50px;
    transition: opacity ease 0.3s;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    cursor: pointer;
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 600px) {
    .menu-button {
        width: 70px;
    }
}

.menu-button:hover {
    opacity: 0.7;
}

.menu-button img {
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    opacity: 1;
    transition: opacity ease 0.3s;
}

.side-modal-wrap {
    color: #8D8C8C;
    position: fixed;
    background: rgba(25, 24, 24, 0.96);
    z-index: -100;
    opacity: 0;
    top: 0;
    width: 100%;
    height: 100%;
    right: -100%;
    cursor: pointer;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0px 0px 100px #000;
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
    box-sizing: border-box;
    z-index: 800;
    color: #fff;
}

body.menu-clicked .side-modal-wrap {
    opacity: 1;
    right: 0;
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 600px) {
    .side-modal-wrap {
        width: 400px;
        height: 100%;
        right: -400px;
    }
}

.modal-top {
    position: relative;
    padding: 2rem 3rem;
    position: absolute;
    top: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 800px) {
}

.modal-top img {
    display: block;
    max-width: 200px;
}

.close-button {
    position: absolute;
    right: 3rem;
    z-index: 300;
    opacity: 1;
    width: 20px;
    height: 20px;
    transition: opacity ease 0.3s;
    cursor: pointer;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.menu-clicked .close-button {
    opacity: 1;
    z-index: 100;
}

.side-modal-wrap a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all ease 0.3s;
}

.modal a:hover {
    color: rgba(255, 255, 255, 1);
}

.side-modal-wrap input[type="text"], .side-modal-wrap input[type="tel"], .side-modal-wrap textarea {
    background: none;
    min-width: 100%;
    padding: 0 1rem;
    margin: 0;
    outline: none;
    margin-bottom: .5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: border ease 0.3s;
    color: #fff;
}

.side-modal-wrap textarea {
    min-height: 70px;
    margin: 0;
    padding: 1rem;
}

.side-modal-wrap input[type="text"]:focus, .side-modal-wrap input[type="tel"]:focus, .side-modal-wrap textarea:focus {
    background: none;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #fff;
}

.side-modal-wrap ::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #ccc;
}

.side-modal-wrap ::-moz-placeholder {
    /* Firefox 19+ */
    color: #ccc;
}

.side-modal-wrap ::-ms-input-placeholder {
    /* IE 10+ */
    color: #ccc;
}

.side-modal-wrap ::-moz-placeholder {
    /* Firefox 18- */
    color: #ccc;
}

.side-modal-wrap .contact h4 {
    margin-bottom: 0rem;
    font-size: 3rem;
    color: #fff;
    text-transform: uppercase;
    font-size: 2rem;
    letter-spacing: .1vw;
    font-weight: 800;
}

.nav-wrap {
}

.contact-wrap {
    font-size: 1.5rem;
}

.side-modal-wrap .contact-side .contact-table {
    margin: 0rem;
}

.side-modal-wrap .contact-side .contact-table tr {
    float: left;
}

.contact-side .contact-table td {
    padding-right: 2rem;
    padding-bottom: 1rem;
}

.contact-clicked .contact-wrap, .menu-clicked .nav-wrap {
    opacity: 1;
    right: 0;
}

.center-inner {
    position: relative;
    left: 0;
    overflow: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: auto;
    margin: 0 0;
    padding: 0 3rem;
    margin-top: 81px;
    height: calc(100% - 130px);
}

.contact-form {
    position: relative;
    right: 0;
    font-size: 1.5rem;
}

.contact-button input {
    margin: 2rem 0;
}

.side-modal-wrap .social-icons {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    text-align: center;
    padding-bottom: 1rem;
    box-sizing: border-box;
}

.side-modal-wrap .social-icons a {
    margin: 0 .5rem;
    color: rgba(255, 255, 255, 0.7);
    display: inline-block;
    text-align: center;
    transition: all ease 0.3s;
    color: #fff;
    font-size: 2rem;
}

.side-modal-wrap .social-icons i, .side-modal-wrap .social-icons img {
    height: 17px;
    line-height: 1;
    display: block;
}

.side-modal-wrap .social-icons a:hover {
    opacity: 0.5;
}

/* MAIN NAV */
.nav {
    position: relative;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.nav ul#navmenu {
    margin: 0;
    border: 0 none;
    padding: 0;
    text-align: center;
    list-style: none;
    z-index: 1000;
}

.nav ul#navmenu li {
    margin: 0;
    border: 0 none;
    padding: 0;
    display: block;
    list-style: none;
    position: relative;
}

.nav ul#navmenu ul {
    margin: 0;
    border: 0 none;
    padding: 0;
    list-style: none;
    display: none;
    position: absolute;
    left: 0;
}

.nav ul#navmenu ul li {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Root Menu */
.nav ul#navmenu a {
    padding: .3rem 0;
    display: block;
    margin: 0 auto;
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
}

.nav ul#navmenu .li87756 a {
    display: block;
    width: 110px;
    font-size: 1.4rem;
    text-align: center;
    font-family: 'Jost', sans-serif;
    margin-top: 1rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    line-height: 1;
    text-transform: capitalize;
    letter-spacing: 0px;
}

.nav ul#navmenu .li87756 a:after {
    display: none;
}

.nav ul#navmenu a:after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 0;
    left: 50%;
    height: 2px;
    background: #fff;
    transition: width ease 0.3s;
}

.nav ul#navmenu a:hover:after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 200px;
    left: 50%;
    margin-left: -100px;
    height: 2px;
    background: #fff;
}

.nav ul#navmenu .ul3 {
    display: none !important;
}

/* Root Menu Hover Persistence */
.nav ul#navmenu a:hover, .nav ul#navmenu li:hover a {
    opacity: 0.5;
}

/* Selected */
.nav ul#navmenu a.selected, .nav ul#navmenu li:hover a.selected {
    color: rgba(255, 255, 255, 0.5);
}

/* SUB NAV */
#sub-nav {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 2rem;
    box-sizing: border-box;
    justify-items: end;
    padding: 3rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid #fff;
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 600px) {
    #sub-nav {
        min-width: 240px;
        width: 240px;
        margin: 0;
        min-height: 220px;
        border: 0;
        padding-right: 0;
        border-left: 2px solid #fff;
    }
}

#sub-nav:empty {
    display: none;
}

#sub-nav .navicon {
    display: none;
}

#sub-nav ul, #sub-nav li {
    margin: 0;
    border: 0 none;
    padding: 0;
    list-style: none;
    width: 100%;
}

#sub-nav li {
    display: block;
}

#sub-nav a {
    text-decoration: none;
    display: block;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1;
    padding: .4rem 0;
    width: 100%;
    font-size: 1.5rem;
    text-align: center;
    white-space: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all ease 0.3s;
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 600px) {
    #sub-nav a {
        text-align: right;
    }
}

#sub-nav .l1 a {
    font-weight: 600;
    margin-bottom: 1rem;
}

#sub-nav a:hover, #sub-nav a.selected {
    color: rgba(255, 255, 255, 1);
}

#sub-nav .ul3 {
    display: none;
}

/* 3rd Level Nav Above Content */
#sub-nav2 {
    bottom: 0;
    width: 100%;
    padding-top: 4rem;
}

#sub-nav2 ul, #sub-nav2 li {
    margin: 0;
    border: 0 none;
    padding: 0;
    list-style: none;
}

#sub-nav2 .l1, #sub-nav2 .l2 {
    display: none;
}

#sub-nav2 li {
    display: block;
}

#sub-nav2 li a {
    display: block;
    padding: .25rem 1rem;
    line-height: 1;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 800px) {
    #sub-nav2 li {
        display: block;
        float: left;
    }

    #sub-nav2 li a {
        display: block;
        padding: 1rem;
        line-height: 1;
        margin-right: 1rem;
        text-decoration: none;
        color: rgba(255, 255, 255, 0.5);
        text-align: center;
    }
}

#sub-nav2 li a:hover {
    color: #fff;
}

#sub-nav2 li a.selected {
    background: #fff;
    color: #1A1919;
}

#sub-nav2 .ul4 {
    display: none;
}

/* FOOTER NAV Basic, Level 1 only */
.footer-nav ul#navmenu {
    margin: 0;
    padding: 0;
}

.footer-nav ul#navmenu li {
    display: block;
    margin: 0;
    padding: 0;
    font-weight: 600;
}

.footer-nav ul#navmenu li a {
    padding: 1rem 0;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.4rem;
    text-decoration: none;
}

.footer-wrap .li87756 a {
    display: none;
}

.footer-nav .l1 {
    margin: 0;
    padding: 0;
}

/* HIDE LEVELS 2,3,5 */
.footer-nav ul ul {
    display: none;
}

