
/* ********** Mainmenu *********** */

#mainmenu {
    
    padding: 30px 30px;
    white-space: nowrap;
    z-index: 400;
    flex-grow: 0;
    flex-shrink: 1;
    
}

#mainmenu #hamburger{
    position: relative;
    border: none;
    border-top: 2px solid #EB5C5D;
    border-bottom: 2px solid #EB5C5D;
    height: 7px;
    box-sizing: content-box;
    display: inline-block;
    width:49px;
    cursor: pointer;
    margin-top: 5px;
    
}

#mainmenu ul{

    margin: 0;
    padding: 0;
    margin-left: 15px;
    display: inline-block;
}

#mainmenu li{
    margin: 0;
    font-family: "Styrene B Web",sans-serif;
    font-size: 14px;
    list-style: none;
    display: inline-block;
    padding: 0px 8px 0px 8px;
    border: none;
    border-right: 2px solid #707070;
    
    text-transform: uppercase;
    
}

#mainmenu li.last{    
    border: none;
    
}

#mainmenu li a {
    color: #959399;
    text-decoration: none;
}

#mainmenu li a.active {
    color: #2c2939;
}



#logo{
    background-image: url("../images/logo-tw.png");
    background-position: top;
    background-repeat: no-repeat;
    top: 40%; /* 314 +11 */
    left: 47px;
    position: absolute;
    width: 49px;
    height: 54px;
}

#mainmenu #leasingMenu{
    position: absolute;
    right: 120px;
    top:30px;

    margin: 0;
    font-family: "Styrene B Web",sans-serif;
    font-size: 14px;
    list-style: none;
    display: inline-block;
    
    
    text-transform: uppercase;
}

#mainmenu #leasingMenu a{    
    color: #959399;
    text-decoration: none;
}


@media (max-width:1120px) {
    #leasingMenu .opportunities {
        display:none;
    }


}




#mainmenu #pulldown {
    position: absolute;
    top:35px;
    left: 0px;
    width: 100%;
    margin: 0;
    padding: 0;
    z-index: 1000;
    min-width: 150px;
    

}

#mainmenu #pulldown li{
    background-color:#eb5d5c;
    border: unset;
    margin: 0;
    display: block;
    
    border-bottom: 1px solid white;
    cursor: pointer;
}

#mainmenu #pulldown li:hover{
    background-color:#af4747;
}

#mainmenu #pulldown li.lastItem{
    border: none;
}

#mainmenu #pulldown li a{
    padding: 10px;
    display: block;
    color: white;
}

#tw_nyc{
    position: absolute;
    left: 100px;
    top:-5px;
    z-index: 600;
    display: none;
}

@media screen and (orientation:portrait) { 
    #mainmenu ul {
        display: none;
    }

    #mainmenu #switchPhoto {
        display: none;
    }


    #tw_nyc{
        display: block;
    }
}

@media screen and (orientation:landscape) {


 }

 #switchPhoto{
     position: absolute;
     visibility: hidden;
     right:20px;
     top:20px;
     background-image: url("../images/btnPhotoOff.png");
     background-size: contain;
     background-repeat: no-repeat;
     width:75px;
     height:39px;
     cursor: pointer;
 }

 #switchPhoto.active{
    background-image: url("../images/btnPhotoOn.png");
    width:75px;
    height:39px;
}

@media 
(-webkit-min-device-pixel-ratio: 2) { 
        
    #switchPhoto{
        background-image: url("../images/btnPhotoOff2x.png");
        

    }
   
    #switchPhoto.active{
        background-image: url("../images/btnPhotoOn2x.png");

   }  

}




/*
https://lugolabs.com/caret

*/
.caret.down {
    position: relative;
    top:-8px;
    display: inline-block;
  }
  
  .caret.down:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-top: 7px solid #494949;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
  }
  
  .caret.down:after {
    content: '';
    position: absolute;
    left: 2px;
    top: 0;
    border-top: 5px solid #fff;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
  }


  .caret.up {
    position: relative;
    top:-8px;
    display: inline-block;
  }
  
  .caret.up:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-bottom: 7px solid #494949;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
  }
  
  .caret.up:after {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    border-bottom: 5px solid #fff;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
  }