
/*-----------------------------------------------
             Menu Popups
-------------------------------------------------*/


/*-----------------------------
      Project Menu Popup 
-------------------------------*/

.projectsCloseButton {
  position: absolute;
  top: 0px;
  width: 36px;
  height: auto;
  top: 46px;
  right: 46px;
  cursor: pointer;
  opacity: 1;
  color:#fff;
  font-size: 40px !important;
    -moz-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;  
}

.projectsCloseButton:hover {color: #E62636 !important;}

.ProjectsMenu {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  height: 100vh;
  width: 100vw;
  z-index: -9;
  background: linear-gradient(45deg, #283E41 0%, #112224 100%);
  
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;

  -webkit-box-align: center;
  -moz-box-align: center;

  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;  
  
    -moz-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;    
}

.ProjectsMenu.active {
  opacity: 1;
  pointer-events: auto !important;
  z-index: 9999999999999 !important;
}

.projectsMenuInner {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;

  -webkit-box-align: center;
  -moz-box-align: center;

  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;    
}

.projectsMenuLeft,
.projectsMenuRight{
  width: 50%;
}

.projectsMenuLeft {text-align: center;}

.popupMenuTitle {
  font-family:"Sailec W05 Bold";
  font-size: 65.3px;
  color: #FFFFFF;
  letter-spacing: 0;
  line-height: 1.2em;  
}

.projectsMenuRight ul{
  margin: 0px;
  margin-bottom: 0px !important;
  list-style: none !important;
}

.projectsMenuRight ul li {
  list-style: none !important;
  margin: 0px;
  padding: 0px;
}

.projectsMenuRight ul li a {
  display: inline-block;
  color: #ddd;
  font-size: 22px;
  line-height: 1.2em;
  letter-spacing: -0.08px;  
  padding: 20px 0px;
  position: relative;
}
.projectsMenuRight ul li a:hover {
  color:#fff;
}

.projectsMenuRight ul li a:after {
  content: '';
  background: #E62636;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  width: 0px;
  height: 1px;
  margin: 0 auto;
  opacity: 0;
  
    -moz-transition: all 0.5s ease-out;
    -webkit-transition: all 0.25s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

.projectsMenuRight ul li a:hover:after {
  opacity: 1;
  width: 100%;
}


.dark-overlay {
  position: fixed;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #283E41 0%, #112224 100%);
  z-index: 9999;
  pointer-events: none;
}

.projectImages,
.projectOverlayImages{
  position: fixed;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  width: 100vw;
  height: 100vh;
  background-size: cover !important;
  background-position: center center !important;
  z-index: -9;
  pointer-events: none; 
  opacity: 1;
    -moz-transition: all 0.6s ease-out;
    -webkit-transition: all 0.6s ease-out;
    -o-transition: all 0.6s ease-out;
    transition: all 0.6s ease-out;
}

.projectOverlayImages {
  opacity: 0;
}


.projectOverlayImages.active {
  z-index: -1;
  opacity: 0.3;
}

.dark-overlay.active {
  pointer-events: inherit;
}

.project-menu {
  background: #172729;
  bottom: 0px;
  right: 0px;
  left: 0px;
  z-index: 9999;
  margin: 0px auto;
  width: 100%;
  max-width: 700px;
  pointer-events: none;
  opacity: 0;
  /*transform: translateX(400px);*/
}

.project-menu-inner {
  height: calc(100% - 80px);
  padding: 10px 20px;
  overflow-x: scroll !important;    
  margin-top: 80px;
}

.project-menu.active {
  pointer-events: auto;  
}

.project-menu-header{
  display: block;
  font-size: 20px;
  letter-spacing: -0.14px;
  font-family:"Sailec W05 Bold";
  padding: 30px 30px;
  border-bottom: 1px solid rgba(151,151,151,0.2);
  background: #fff;
  color: #051C2C;
  overflow: hidden;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 9;
}

.project-menu h3{
  display: block;
  font-size: 20px;
  letter-spacing: -0.14px;
  font-family:"Sailec W05 Bold";
  color: #051C2C;
}

.project-menu h3 span{
  position: relative;
  display: block;
}

.projectCloseButton {
  position: absolute;
  width: 36px;
  height: auto;
  top: 26px;
  right: 15px;
  cursor: pointer;
  z-index: 9;
  
    -moz-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;  
}

.projectCloseButton:hover {
  color: #E62636;
}

.project-menu ul,
.project-menu ul li {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

.project-menu ul li {
  position: relative;
  cursor: pointer;
  padding: 0px 0px;
  margin: 10px auto;
  background:#fff;
  
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  
    -moz-transition: all 1s ease-out;
    -webkit-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    transition: all 1s ease-out;
}

.project-menu ul li:hover {
  background:#fff;
}

.project-menu ul li a {
  position: absolute;
  top: 0px;
  left: 0px;
  bottom: 0px;
  right: 0px;
  z-index: 9999
}

.project-menu ul li h4 {
  display: block;
  font-size: 20px;
  line-height: 1.2em;
  letter-spacing: -0.14px;
  font-family:"Sailec W05 Bold";  
  margin-bottom: 10px;
    -moz-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;  
}

.project-menu ul li em {
  font-style: normal;
}

.project-menu ul li:hover h4,
.project-menu ul li:hover em{
  color: #051C2C !important;
}

.project-menu .left-half {
  width: 30% !important;
  overflow: hidden;
  position: relative;
  
     -webkit-transition: all 1000ms cubic-bezier(0.270, 0.595, 0.010, 1.000);
     -moz-transition: all 1000ms cubic-bezier(0.270, 0.595, 0.010, 1.000);
     -o-transition: all 1000ms cubic-bezier(0.270, 0.595, 0.010, 1.000);
     transition: all 1000ms cubic-bezier(0.270, 0.595, 0.010, 1.000);
    /* custom */
     -webkit-transition-timing-function: cubic-bezier(0.270, 0.595, 0.010, 1.000);
     -moz-transition-timing-function: cubic-bezier(0.270, 0.595, 0.010, 1.000);
     -o-transition-timing-function: cubic-bezier(0.270, 0.595, 0.010, 1.000);
     transition-timing-function: cubic-bezier(0.270, 0.595, 0.010, 1.000);
    /* custom */  
}

.project-menu .left-half:after {
  content:'';
  position: absolute;
  background: rgba(0,0,0,0.1);
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  width: 100%;
  height: 100%;
     -webkit-transition: all 1000ms cubic-bezier(0.270, 0.595, 0.010, 1.000);
     -moz-transition: all 1000ms cubic-bezier(0.270, 0.595, 0.010, 1.000);
     -o-transition: all 1000ms cubic-bezier(0.270, 0.595, 0.010, 1.000);
     transition: all 1000ms cubic-bezier(0.270, 0.595, 0.010, 1.000);
    /* custom */
     -webkit-transition-timing-function: cubic-bezier(0.270, 0.595, 0.010, 1.000);
     -moz-transition-timing-function: cubic-bezier(0.270, 0.595, 0.010, 1.000);
     -o-transition-timing-function: cubic-bezier(0.270, 0.595, 0.010, 1.000);
     transition-timing-function: cubic-bezier(0.270, 0.595, 0.010, 1.000);
    /* custom */  
}

.project-menu li:hover .left-half:after {
  background: rgba(0,0,0,0);  
}

.project-menu .right-half {
  position: relative;
  width: 80% !important;
  padding: 30px 40px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex; 
  
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;

  -webkit-box-align: center;
  -moz-box-align: center;

  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center; 
  
     -webkit-transition: all 1000ms cubic-bezier(0.270, 0.595, 0.010, 1.000);
     -moz-transition: all 1000ms cubic-bezier(0.270, 0.595, 0.010, 1.000);
     -o-transition: all 1000ms cubic-bezier(0.270, 0.595, 0.010, 1.000);
     transition: all 1000ms cubic-bezier(0.270, 0.595, 0.010, 1.000);
    /* custom */
     -webkit-transition-timing-function: cubic-bezier(0.270, 0.595, 0.010, 1.000);
     -moz-transition-timing-function: cubic-bezier(0.270, 0.595, 0.010, 1.000);
     -o-transition-timing-function: cubic-bezier(0.270, 0.595, 0.010, 1.000);
     transition-timing-function: cubic-bezier(0.270, 0.595, 0.010, 1.000);
    /* custom */  
}

.project-menu .right-half:before {
  content:'';
  border-top: 100px solid transparent;
  border-right: 100px solid #f2f2f2;
  position: absolute;
  bottom: 0px;
  right: 0px;
  height: 0px;
    -moz-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.project-menu li:hover .right-half:before {
  border-top: 0px solid transparent; 
  border-right: 0px solid #eee;
  z-index: 1;
}

.project-menu .right-half-inner {width: 100%;}

.project-menu .left-half img{
  width: 100%;
  margin-bottom: -6px !important;
  transform: scale(1.05);
  
     -webkit-transition: all 1000ms cubic-bezier(0.270, 0.595, 0.010, 1.000);
     -moz-transition: all 1000ms cubic-bezier(0.270, 0.595, 0.010, 1.000);
     -o-transition: all 1000ms cubic-bezier(0.270, 0.595, 0.010, 1.000);
     transition: all 1000ms cubic-bezier(0.270, 0.595, 0.010, 1.000);
    /* custom */
     -webkit-transition-timing-function: cubic-bezier(0.270, 0.595, 0.010, 1.000);
     -moz-transition-timing-function: cubic-bezier(0.270, 0.595, 0.010, 1.000);
     -o-transition-timing-function: cubic-bezier(0.270, 0.595, 0.010, 1.000);
     transition-timing-function: cubic-bezier(0.270, 0.595, 0.010, 1.000);
    /* custom */
}

.project-menu ul li:hover img{
  transform: scale(1.002);
}

/*-----------------------------
      Search Menu Popup 
-------------------------------*/


.closeButton,
#searchCloseButton {
  color:#fff;
  font-size: 40px !important;
}

.closeButton:hover,
#searchCloseButton:hover {
  color: #E62636;
}

#searchCloseButton,
.closeButton,
#closeButton{
  position: absolute;
  top: 0px;
  width: 36px;
  height: auto;
  top: 46px;
  right: 46px;
  cursor: pointer;
  z-index: 99;
  
    -moz-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;  
}

#searchCloseButton:hover,
.closeButton:hover {opacity: 0.7;}

.popupSearch {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  height: 100vh;
  width: 100vw;
  z-index: -9;
  background: linear-gradient(45deg, #283E41 0%, #112224 100%);
  
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;

  -webkit-box-align: center;
  -moz-box-align: center;

  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;  
  
    -moz-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;    
}

.popupSearch.active {
  opacity: 1;
  z-index: 9999999 !important;  
  pointer-events: auto;
}

.popupSearchInner {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;

  -webkit-box-align: center;
  -moz-box-align: center;

  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;    
}

h2#searchPanelTitle {
  color: #fff;
  font-size: 65px;
  line-height: 70px;  
  font-family:"Sailec W05 Bold";
  margin-right: 25px;
}

.popupSearchInner input {
  margin: 0px !important;  
  height: 54px;
  border: none;
  box-shadow: none;
  padding: 10px;
  font-size: 16px;
  color: #000 !important;
  display: inline-block !important;  
  float: left;
}

.popupSearchInner input:focus {
  box-shadow: none !important;
  outline: none !important;
  border: none !important;
}

.popupSearchInner button {
  float: left;
  display: inline-block !important;
  background: #D8D8D8;
  border: none;
  box-shadow: none;
  height: 54px;
  width: 50px;
  line-height: 1.4em;
      -moz-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.popupSearchInner button span{
   line-height: 1.4em; 
    -moz-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.popupSearchInner button:hover {background: #f1f1f1;}
.popupSearchInner button:hover span{color: #051C2C;}

/*------------------------------
      Sectors Popups
--------------------------------*/

/*---- menu styles ----*/

#closeButton {
  position: absolute;
  top: 0px;
  width: 36px;
  height: auto;
  top: 46px;
  right: 46px;
  cursor: pointer;
  
    -moz-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;  
}

#closeButton:hover {opacity: 0.7;}

.popupMenu {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  height: 100vh;
  width: 100vw;
  z-index: -9;
  background: linear-gradient(45deg, #283E41 0%, #112224 100%);
  
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;

  -webkit-box-align: center;
  -moz-box-align: center;

  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;  
  
    -moz-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;    
}

.popupMenu.active {
  opacity: 1;
  z-index: 9999999 !important;
  pointer-events: auto;
}

.popupMenuInner {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;

  -webkit-box-align: center;
  -moz-box-align: center;

  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;    
}

.popupMenuLeft,
.popupMenuRight{
  width: 50%;
}

.popupMenuLeft {text-align: center;}

.popupMenuTitle {
  font-family:"Sailec W05 Bold";
  font-size: 65.3px;
  color: #FFFFFF;
  letter-spacing: 0;
  line-height: 1.2em;  
}

.popupMenuRight ul{
  margin: 0px;
  margin-bottom: 0px !important;
  list-style: none !important;
}

.popupMenuRight ul li {
  list-style: none !important;
  margin: 0px;
  padding: 0px;
}

.popupMenuRight ul li a {
  display: inline-block;
  color: #ddd;
  font-size: 22px;
  line-height: 1.2em;
  letter-spacing: -0.08px;  
  padding: 20px 0px;
  position: relative;
}

.expertisePopupMenuRight ul li a {
  font-size: 18px;
  padding: 15px 0px;
}

.popupMenuRight ul li a:hover {
  color:#fff;
}

.popupMenuRight ul li a:after {
  content: '';
  background: #E62636;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  width: 0px;
  height: 1px;
  margin: 0 auto;
  opacity: 0;
  
    -moz-transition: all 0.5s ease-out;
    -webkit-transition: all 0.25s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

.popupMenuRight ul li a:hover:after {
  opacity: 1;
  width: 100%;
}





