/* Navigation */

nav {
    height: 100px;
    position: fixed;
    transition: all 0.3s ease-in-out;
    width: 100%;
    z-index: 10;
    color:#fff;
    display: flex;
    padding: 0px 20px;
    flex-direction: row;
    justify-content: space-between;
    top:0;
    /*background-image: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0));*/
}

@media only screen and (min-width:992px) {
    nav {
        height: 150px;
        position: fixed;
        transition: all 0.5s ease-in-out;
        width: 100%;
        z-index: 10;
        color:#fff;
        display: flex;
        padding: 0px 20px;
        flex-direction: row;
        justify-content: space-between;
    }
}

@media only screen and (min-width:1200px) {
    nav {
        padding:0px 60px;
    }
}

.toggle-down nav {
	background-color:#fff;
	height:70px;
}

.logo {
    top: 0;
    background-image:url('/img/bld_logo.png');
    background-size: 210px;
    background-repeat: no-repeat;
    background-position: center;
    bottom: 0;
    left: 20px;
    width:210px;
    z-index: 10;
    transition: all ease .3s;
    z-index: 99999999;
}

.toggle-down .logo {
	background-image:url('/img/bld_logo_c.png');
}

@media only screen and (min-width:992px) {
    .logo {
        top: 0;
        /* background-image:url('img/logo-white.svg'); */
        background-size: 250px;
        background-repeat: no-repeat;
        background-position: center;
        bottom: 0;
        left: 60px;
        width:250px;
        z-index: 10;
        transition: all ease .3s;
        z-index: 99999999;
    }
}

.menuWrapper {
    height: 100%;
    display: flex;
    align-content: center;
    font-size: 1.25rem;
    position: relative;
    z-index: 999999999;
}

.contactLink {
    display: none;
    margin-right: 30px;
}

.navOpen .contactLink {
    color:#fff;
}

@media only screen and (min-width:992px) {
    .contactLink {
        display:block
    }
}

.buttonAnimated.contactLink::after {
  content: "";
  height: 0x;
  width: 0;
  background-image: url('');
  margin-left: 0px;
  transition: 0.3s ease;
}

.menuWrapper .buttonAnimated {
    align-self: center;
}

.hamburger {
    padding: 0px;
}

.hamburger:hover {
  opacity: 1;
}

.hamburger-box {
  text-align: left;
  display: flex;
  align-items: center;
  padding-bottom: 1px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    right:0px;
    background: #fff;
}

.background .hamburger-inner,
.background .hamburger-inner::before,
.background .hamburger-inner::after {
    background: #fff;
}


.navOpen .hamburger-inner,
.navOpen .hamburger-inner::before,
.navOpen .hamburger-inner::after {
    background: #fff;
}

.hamburger-inner:hover,
.hamburger-inner:hover:before,
.hamburger-inner:hover:after {
    background: var(--r-midblue);
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background: var(--r-midblue);
}

.hamburger-label {
    display: inline-block;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  height: 2px;
}

.navOpen .hamburger-label {
    color:#fff;
}

/* OVERLAY MENU */

.overlay {
    position: fixed;
    right:-100%;
    bottom:0;
    top:0;
    width:100%;
    
    transition: right .5s ease-in-out;
    -moz-transition: right .5s ease-in-out;
    -webkit-transition: right .5s ease-in-out;

    display: flex;

    z-index: 5;

}

.overlay.active {
    right:0;
}

.overlay .closeButton {
    display: none;
    width: 0;
    height: 100%;
    border:0px;
    background-color: transparent;
}


.overlay-content {
    margin-left: auto;
    width:100%;
    background-color: #fff;
    padding-left:20px;
    padding-right: 20px;
    height:100%;
    position: relative;
    -webkit-box-shadow: -2px 0px 5px 1px rgba(0,0,0,0.2);
	-moz-box-shadow: -2px 0px 5px 1px rgba(0,0,0,0.2);
	box-shadow: -2px 0px 5px 1px rgba(0,0,0,0.2);
}

@media only screen and (min-width: 1500px) {

    .overlay.active {
   
    }

    .overlay-content {
        width:33.333333%;
        padding-left:60px;
        padding-right: 60px;
    }

    .overlay .closeButton {
        display: block;
        width: 66.66666%;
        height: 100%;
        border:0px;
        
    }

}


nav ul,
.sub ul {
    padding-top: 150px;
    padding-left: 0px;
    list-style-type: none;
    vertical-align: top;
    min-height: 100%;
}

.overlay .verticalText {
        padding-top: 150px;
}

nav ul li {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #36608326;
    min-height: 61px;
}

nav ul li a {
    letter-spacing: 0.02em;
    padding-top: 15px;
    padding-bottom: 15px;
    display: block;
    text-decoration: none;
    font-weight: 400;
    color: var(--r-midblue);

    display: inline-flex;
    align-items: center;

    width:80%;
}

nav ul li a:hover {
    text-decoration: none;
    color: var(--r-midblue);
    padding-left: 10px;
}

nav ul li a:hover .navArrow {
    width:120px;
    background-color: var(--r-midblue);
}

.navImage {
    position: absolute;
    top:0;
    right:0;
    height: 100%;
    width:50%;
    background-image: url('/x/img/homepage-header-2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.phoneButton {
    padding-top:15px;
    padding-bottom: 15px;
}

.phoneText {
    display: none;
}

.phoneIcon {
    display: flex;
    height: 20px;
    width:20px;
    max-width: 100%;
}

nav ul li button {
    border:0;
    line-height: 45px;
    font-size: 28px;
    width: 20%;
    text-align: center;
    color: #fff;
    fill:(--r-midblue);
    background-color: transparent;
    display: flex;
    padding: 8px 0px;
    justify-content: end;
    margin-left: auto;
}

nav ul li button span {
    display: flex;
    justify-content: center;
    border-radius: 50%;
    padding: 10px 8px 10px 12px;
    transition:  0.25s ease-in-out;
}

nav ul li button:hover span {
    background: #36608326;
    
}

.sub {
    background-color: #fff;
    border:0;
    z-index: 15;
    padding-left:20px;
    padding-right: 20px;
    position: fixed;
    top: 0px;
    right: -100%;
    margin: 0;
    list-style-type: none;
    height: 100%;
    min-height: 100%;
    width: 100%;
    overflow: scroll;

    transition: right .45s ease-in-out;
    -moz-transition: right .45s ease-in-out;
    -webkit-transition: right .45s ease-in-out;

}

.subClose {
	height:60px;
}

.subClose {
	border-radius:30px;
	background-color:#36608326;
	width: max-content;
  	padding: 0px;
  	height: 44px;
  	margin-top: 10px;
  	align-self: start;
  	justify-content: start;
  	margin-left: 0;
  	transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
}

.subClose svg {
	transform:rotate(180deg);
}

.subClose .closeText {
	align-items: center;
	color:var(--r-midblue);
	font-size:var(--bs-body-font-size);
	padding: 10px 24px 12px 0px;
}

.subClose:hover {
	background-color:var(--r-green);
}

.subClose:hover span {
	background-color:transparent;
}

@media only screen and (min-width: 1500px) {
    .sub {
        width: 33.333333%;
        padding-left:20px;
        padding-right: 20px;
    }
}

@media only screen and (min-width: 1500px) {

    .sub {
        padding-left:60px;
        padding-right: 60px;
    }

}

.sub.subActive {
    right: 0;
}

.subClose {
	fill:var(--r-midblue);
}


#postPage nav {
	background-image:none;
}

