/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.flexslider .slides > li { 
  background-position: center;
  height: 100%;
  width: 100%;
  display: none; 
  -webkit-backface-visibility: hidden;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.flexslider-container, 
.flexslider .slides, 
.flex-viewport {
    height: 100%;
}


ul.slides {
  margin: 0;
  padding: 0;
}

.flexslider {
  margin: 0; 
  padding: 0; 
  width: 100%; 
  height: 100%; 
  border: 0px; 
  overflow: hidden;
}

.carousel-wrap {
  margin:0 auto 90px auto;
  width: 120%;
  position: relative;
  padding-top:  calc(10vh + 50px)
}

/* fix blank or flashing items on carousel */
.owl-carousel .item {
  position: relative;
  z-index: 100; 
  -webkit-backface-visibility: hidden; 
}

/* end fix */
.owl-nav > div {
  margin-top: -26px;
  position: absolute;
  top: 50%;
  color: #cdcbcd;
}

.owl-nav i {
  font-size: 52px;
}

.owl-nav .owl-prev {
  left: -30px;
}

.owl-nav .owl-next {
  right: -30px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html,body{width: 100%;overflow-x: hidden}   
body.fixed-body{position: fixed;height: 100%;width: 100%;overflow: hidden}
.mobile-item{display: none}


.project-info-details,.home-news-highlight,.hero-txt{transition: all .4s cubic-bezier(0.83, 0, 0.17, 1);}

header{position: fixed;top:0;left: 0;text-align: center;padding:35px 0 20px;width: 100%;z-index: 6;transition: all 0.6s cubic-bezier(0.83, 0, 0.17, 1);background: #FFF}
a{text-decoration: none}
.logo{margin-top: -15px}
.menu{overflow: hidden;display: inline-block;margin: 0 auto;padding: 0}
.menu li{position: relative;float: left;margin: 0 30px} 
.menu li.active h4{border-bottom: 2px solid red}
.menu li a,.menu li h4{color: #000}  
header.black a,header.black h4{color: #333}
.logo{width: 140px;height: 46px;background: url(../img/logo.png) left center no-repeat;background-size: contain;display: block}

 header.home-page.main-page{background: none}
 header.home-page.main-page a{color: #FFF}
 header.home-page.main-page .logo{background: url(../img/logo-white-top.png) left center no-repeat;background-size: contain;}
header.black .logo{background: url(../img/logo.png) left center no-repeat !important;background-size: contain !important;}
header.black{background: #FFF}

#flexslider-bg{position: fixed;z-index: 2;top:0;left: 0;width: 100%;height: 100%}
.flexslider-container{position: fixed}
.hero-txt{position: fixed;z-index: 4;top:180px;left: 0;overflow: hidden;width: 100%}
.hero-txt.active{opacity: 0;top:25vh;}
.loading-bar{position: relative;width: 200px;height: 3px;background: #E3E3E3;margin-top: 10px}
.loading-bar .process{background: #CE1628;position: absolute;left: 0;top:0;height: 100%;width: 0%}
.home-page-inner{position: relative;margin-top: 100vh;background: rgba(36,54,68,.98);z-index: 3;padding-top: calc(10vh + 90px);min-height: 100vh} 
.arrow-scroll-down{position: absolute;width: 20vw;height: 40px;background:  url(../img/arrow.png) center center no-repeat;background-size: 40px;bottom:5vh;left: 40vw;z-index: 99;pointer-events: auto;cursor: pointer}  
.home-news-highlight{position: absolute;bottom:5vh;padding: 15px 30px 15px 15px;padding-left: 180px;background: rgba(255,255,255,.8);transform: translateX(-600px);z-index: 9;width: 400px}
.home-news-highlight.active{transform: translateX(0px);}
.home-news-highlight.fade{opacity: 0}
.home-news-highlight.show{opacity: 0}

.home-news-highlight a{border-bottom: 2px solid #000}
.news-highlight-img{width: 90px;height: 90px;background: url(../img/250408/view02.jpg) center center no-repeat;background-size: cover;position: absolute;left: -110px;top:2px}
.owl-next{right: calc(20% - 90px) !important}
.owl-nav > div{width: 20px}
.slide-bg{position: absolute;width: 100%;height: 100%;background: rgba(0,0,0,.05);z-index: 2}
.slide-image{position: absolute;width: 100%;height: 100%}
#navbar.fixed{top:-200px}
.project-info-details .owl-nav {
    left: 0;
    bottom: -40px;
    position: absolute;
    top: auto;
    pointer-events: auto;
}
.project-info-details .owl-nav .owl-prev{left: 0}
.project-info-details .owl-nav .owl-next{right:-60px !important}

/* project */
.project-list-bg{position: fixed;width: 100%;height: 100%;background: url(../img/projeclist-bg.jpg) center center no-repeat;background-size: cover;}
.page-inner{
  position: relative;
  background: rgba(36,54,68,.8);
  width: 100%;height: 100%;
  /* background: url(../img/projeclist-bg.jpg) center center no-repeat;background-size: cover; */
  z-index: 3;
  padding-top: calc(14vh + 90px);
  min-height: 100vh;

} 
.page-inner .project-list-bg{
  position:fixed;
  top: 0px;
  z-index: -1;
}

.project-listing{padding-left: 0;}
.project-listing li{position: relative;cursor: pointer;margin-bottom: 20px}
.project-listing li .project-in{position: relative;padding:0 0 20px 0}
.project-listing li span{content: "　";width: 200vw;height: 1px;background: #FFF;position: absolute;bottom: 0}
.listing-img{width: 64vw}
.project-status{position: absolute;right: 0;top:4px;display: inline-block;border-radius: 20px;padding: 4px 25px 2px;color: #FFF;background: rgba(255,255,255,.25);opacity: .6}
.project-status.active{background: rgba(255,255,255,.2);opacity: 1;cursor: pointer}
.listing-img-wrap{position: relative;height: 0;width: 100%;transition: all .6s cubic-bezier(0.83, 0, 0.17, 1);
  /* height: 320px; */
  padding-bottom: 40%;
  margin-bottom: 10px}


.project-listing li{opacity: 1;transition: all .2s cubic-bezier(0.83, 0, 0.17, 1);}
.project-listing li:hover{opacity: 1}
.project-head{position: fixed;width: 100%}
.project-info-details .back-btn{background: rgba(36,54,68,1);color: #FFF}

.project-info-wrap .left-arrow,.project-info-wrap .right-arrow{display: none}
.owl-carousel .owl-slide,.project-inner-image{height: auto}
.project-slide-info .container{padding:  0 45px}

/* project-info */

.project-info-details{position: fixed;top:0;left: 0;width: 100%;height: 100%;;background: #E8EBED;z-index: 98;transform: translateY(0%);opacity: 0;pointer-events: none;overflow: scroll}
.project-info-details.active{transform: translateY(0);opacity: 1;pointer-events: auto}
.project-info-wrap{
  position: absolute;
  width: 100%;
  height: 100%;top:0;z-index: 9;
  /*background: rgb(0,0,0);
  background: -moz-linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgb(0 0 0 / 40%) 60%, rgba(0,0,0,0.8) 100%);
  background: -webkit-linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgb(0 0 0 / 40%) 60%, rgba(0,0,0,0.8) 100%);
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgb(0 0 0 / 40%) 60%, rgba(0,0,0,0.8) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);


   background: rgb(0,0,0);
  background: -moz-linear-gradient(180deg, rgb(0 0 0 / 86%) 0%, rgb(0 0 0 / 14%) 14%, rgb(0 0 0 / 62%) 43%, rgba(0,0,0,0.8) 100%);
  background: -webkit-linear-gradient(180deg, rgb(0 0 0 / 86%) 0%, rgb(0 0 0 / 14%) 14%, rgb(0 0 0 / 62%) 43%, rgba(0,0,0,0.8) 100%);
  background: linear-gradient(180deg, rgb(0 0 0 / 86%) 0%, rgb(0 0 0 / 14%) 14%, rgb(0 0 0 / 62%) 43%, rgba(0,0,0,0.8) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1); */


  pointer-events: none



}
.project-slide-info h2,.project-slide-info h3,.project-slide-info h5,.project-slide-info p{color: rgba(36,54,68,1)}
.website-url{border-bottom: 2px solid #FFF}
.left-arrow{position: absolute;width: 20px;height: 40px;background: url(../img/left-arrow.png) center center no-repeat;background-size: contain;top:calc(50% - 20px);left: 20px;z-index: 99;cursor: pointer}
.right-arrow{position: absolute;width: 20px;height: 40px;background: url(../img/right-arrow.png) center center no-repeat;background-size: contain;top:calc(50% - 20px);right: 20px;z-index: 99;cursor: pointer}
footer{padding: 20px 0;text-align: center}
.back-btn,.read-more{background:rgba(255,255,255,.6);display: inline-block;cursor: pointer;padding: 4px 30px 2px;border-radius: 15px;margin-top: -20px}
.website-btn{border-bottom: 2px solid rgba(36,54,68,1)}
.flex-control-nav{position: fixed;top:0}
.dots-list{padding-left: 0}
.dots-list li{width: 8px;height: 8px;background: #FFF;border-radius: 100%;float: left;margin-right: 8px;cursor: pointer;transition: all 0.2s cubic-bezier(0.83, 0, 0.17, 1);}
.dots-list li.active{background: #CE1628}
.project-slide-dot{padding: 20px 0;position: absolute;width: 100%;top: 0;pointer-events: auto}
.project-slide-info{padding: 20px 0;position: absolute;width: 100%;top: 10vh;;}


.single-cover{position: fixed;width: 100%;height: 100%;top:0;left: 0}


/* teams */
.teams-list li{padding-bottom:30px;margin-bottom: 30px;}
.teams-list p{color: #000;line-height: 1.7; text-align: justify; font-size: 16px;}
.teams-list{padding: 0}

/* news */
.news-info{padding-right: 20%}
.popup{position: fixed;width: 100%;height: 100%;top:100%;z-index: 99;top:0;opacity: 0;transition: all 0.3s cubic-bezier(0.83, 0, 0.17, 1);pointer-events: none}
.popup.active{opacity: 1;top:0;pointer-events: auto}
.popup-bg{background: rgba(232,235,237,.95);height: 100%;width: 100%;position: absolute;top:0;left: 0}
.popup-info{position: absolute;width: 100%;height: 100%;padding-top: 20vh}
.back-btn,.read-more{background: rgba(36,54,68,1);color: #FFF;pointer-events: auto}
.back-btn{pointer-events: none}
.popup.active .back-btn,.project-info-details.active .back-btn{pointer-events: auto }
.popup .carousel-wrap{width: 100%;padding-top: 0}
.popup .owl-next{right: 40px !important}
.pop-img{width: 100%;height: 60vh;background: #EEE}
.news-single{margin-bottom: 60px} 

/* contact */
.map{margin-top: -60px}
.contact-page{background: rgba(36,54,68,1);padding-bottom: 80px;position: fixed;top:0;left: 0;width: 100%}
.contact-number{position: relative}
.contact-number span{position: absolute;left: 300px}

/* menu*/


.menu-toggle {
  width: 30px;
  height: 30px;
  position: fixed;
  top: 20px;
  right: 18px;
  cursor: pointer;
  z-index: 9;
  display: none
}
.menu-toggle.on .one {
  -moz-transform: rotate(45deg) translate(6px, 4px);
  -ms-transform: rotate(45deg) translate(6px, 4px);
  -webkit-transform: rotate(45deg) translate(6px, 4px);
  transform: rotate(45deg) translate(6px, 4px);
}
.menu-toggle.on .two {
  opacity: 0;
}
.menu-toggle.on .three {
  -moz-transform: rotate(-45deg) translate(7px, -6px);
  -ms-transform: rotate(-45deg) translate(7px, -6px);
  -webkit-transform: rotate(-45deg) translate(7px, -6px);
  transform: rotate(-45deg) translate(7px, -6px);
}

.one,
.two,
.three {
  width: 100%;
  height: 2px;
  background: #000;
  margin: 6px auto;
  backface-visibility: hidden;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }


}

.onlymobile{
  display: none;
}

/*@media (min-width: 992px) {
  .project-slide-info h2{
    text-shadow: 1px 1px 8px #000000;
  }
  .project-slide-info h3{
    text-shadow: 1px 1px 8px #000000;
  }
  .project-slide-info h5{
    text-shadow: 1px 1px 8px #000000;
  }
  
  .project-slide-info h5.back-btn{
    text-shadow: none;
  }
  .project-info-details p{text-shadow: 1px 1px 8px #000000;}


}*/