/*
Theme Name: EGA
Author: Digital Expression
Description: WP theme for EGA
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ega
*/


@font-face {
    font-family:'ega';
    src: url('fonts/PxGrotesk-Regular.eot');
    src: url('fonts/PxGrotesk-Regular.eot?#iefix') format('embedded-opentype'),
    url('fonts/PxGrotesk-Regular.woff2') format('woff2'),
    url('fonts/PxGrotesk-Regular.woff') format('woff'),
    url('fonts/PxGrotesk-Regular.svg#PxGrotesk-Regular') format('svg');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-00FE;
}

.videoContainer {
width: 500px;
margin: 0 auto 50px;
}
.videoFix {
height: 100px;
}


.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
margin-right: 15px;
margin-left: 15px;
}
.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



html, body, .site {
  height: 100%;
  min-height: 100%;
  font-family: 'ega';
  background-color: transparent;
}

body {
  color: black;
  font-size: 1.4rem;
  padding: 0px 50px 0px 50px;
  overflow: scroll;
  overflow-x: hidden;
}

body.home {
  overflow: hidden;
}

a, a:focus {
  position: relative;
  color: black;
  transition: 0.3s ease;
}


a:hover {
  text-decoration: none;
  color: #8d8d8d;
}

/*a:after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: black;
  transition: width 0.35s ease;
}*/

a:hover:after, .current-menu-item a:after{
  width: 100%;
}

p {
  margin: 0 0 20px;
}




/*HEADER*/


.site-header {
  position: relative;
  z-index: 77;
}
.navbar {
  border: none;
  margin-bottom: 0;
  height: auto;
  padding-top: 15px;
}

.navbar-collapse {
  padding: 0;
}

.navbar-nav>li {
  margin: 0 30px 0 0;
}

.navbar-nav>li>a {
  padding: 0;
  color: #8d8d8d;
}

.navbar-nav>li>a:hover {
  color: #000;
}

.navbar-nav>li.active>a {
  color: #000;
}



.navbar-nav>li>a:hover {
  background-color: transparent;
}

.navbar-brand {
  font-size: 1.4rem;
  padding: 0;
  height: auto;
}

.navbar-brand:after {display: none;}

.navbar-header {
  height: auto;
}


/*HOME*/

.site-content {
  height: calc(100% - 50px);
}

.site-main {
  position: relative;
}

.home-main, .single-work-main {
  height: 100%;
  position: relative;
}

.languages {
  position: absolute;
  right: 50px;
  bottom: 15px;
  z-index: 99;
  background-color: #fff
}

.social {
  position: absolute;
  right: 100px;
  bottom: 15px;
  z-index: 99;
  background-color: #fff
}

.social a {
  padding: 0 5px;
  color: #4f4f4f;
}

.social a:hover {
  color: #8d8d8d;
}


  /*slideshow*/

.full-slideshow, .full-slideshow .slick-list, .full-slideshow .slick-track, .full-slideshow .slide {
  height: 100%;
  outline: none !important;
  overflow: visible;
}

.single-work .full-slideshow .slick-list {

}

.full-slideshow .image {
  height: calc(100% - 50px);
  overflow: hidden;
  text-align: center;
  background-size: auto 100%;
  background-position: center;
  background-repeat: no-repeat;
}
.full-slideshow .slick-arrow {
  position: absolute;
  width: 50%;
  height: calc(100% - 100px);
  z-index: 99;
  background-color: transparent;
  border: none;
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
}

.full-slideshow .slick-arrow:focus {
  outline: none;
}

.full-slideshow .slick-prev {
  cursor: w-resize;
}

.full-slideshow .slick-next {
  cursor: e-resize;
  right: 0;
  top: 0;
}

.full-slideshow .legend {
  padding-top: 15px;
}



.full-slideshow .legend a:hover {
  opacity: 0.7;
  transition: all 0.3s ease;
}


.full-slideshow .legend a:after {
  width: 100%;
}

  /*News*/

.news-button {
  position: absolute;
  right: 50px;
  top: 15px;
  z-index: 99;
  cursor: pointer;
}

.admin-bar .news-button {
  top: 44px;
}


.news-button:hover {
  text-decoration: none;
  color: #8d8d8d;
}

/*.news-button:after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: black;
  transition: width 0.35s ease;
}

.news-button:hover:after{
  width: 100%;
}*/

.news-container {
  position: absolute;
  z-index: 111;
  background-color: #efecec;
  width: 33%;
  height: 100%;
  top: 0;
  right: -40%;
  padding: 15px 50px;
  transition: all 1s ease;
  /*overflow-y: scroll;*/
}

.news-container.active {
  right: 0;
  transform: translateX(0);
}

.close-news-outside {
  display: none;
  position: fixed;
  width: 67%;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 999;
}
.close-news-outside.active {
  display: block;
}

.news-container .close {
  float: right;
  opacity: 1;
}
.news-container .close img {
  width: 15px;
  height: 15px;
}

.news-container .close:hover {
  transition: all 0.35s ease;
  opacity: 0.2;
}

.news-list {
  margin-top: 50px;
  padding: 0;
  list-style: none;
}

.news-list li {
  border-bottom: 1px solid #858585;
  padding: 10px 0 50px 0;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list li .content {
  margin-top: 20px;
}



.news-list .image {
  margin-top: 20px;
}

.news-list .image img{
  max-width: 100%;
}

/*Office*/

.full-image {
  margin-bottom: 30px;
}

.full-image img {
  max-width: 100%;
}

.member.panel {
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.member a:focus {
  text-decoration: none;
  color: #000;
}

.member ul {
  padding-left: 20px;
  list-style: none;
  color: #8d8d8d;
  margin-bottom: 20px;
}

.member ul a {
  color: #8d8d8d;
}

.member ul a:hover {
  text-decoration: underline;
}

.panel-group .panel+.panel {
  margin: 0;
}
.introduction-btn {
  color: #8d8d8d!important;
}
.introduction-btn.collapsed {
  color: #000!important;
}

.collapsed-content {
  padding: 0;
  margin: 0;
  list-style: none;
}

.collapsed-content li {
  margin-bottom: 100px;
}

.collapsed-content li:last-child {
  margin-bottom: 0;
}

.collapsed-content li a {
  color: #8d8d8d;
}

.collapsed-content li a:focus {
  text-decoration: none;
}

body.fr .read-more-collapse.collapsed:after {
  content: "Lire la suite";
}

body.fr .read-more-collapse:after {
  content: "Réduire";
}

body.en .read-more-collapse.collapsed:after {
  content: "Read more";
}

body.en .read-more-collapse:after {
  content: "Close";
}

.collapsed-content li a:hover {
  opacity: 0.7;
}

.collapsed-content .know-more-container {
  margin-top: 30px;
}

.nav-tabs.secondary-menu {
  position: absolute;
  left: 50%;
  top: -35px;
  z-index: 99;
}
.nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus {
  background-color: transparent;
}

.nav-tabs {
  border: none;
}

.nav-tabs>li {
  margin: 0 30px 0 0;
}

.nav-tabs>li>a {
  padding: 0;
  border: none;
}

.nav-tabs.secondary-menu li>a:after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: black;
  /*transition: width 0.35s ease;*/
}

.nav-tabs>li>a:hover {
  background-color: transparent;
  border:none;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
  color: black;
}

.nav-tabs>li.active>a:after, .nav-tabs>li.active>a:focus:after, .nav-tabs>li.active>a:hover:after {
  width:  100%;
}



.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
  border: none;
}

.tab-office {padding-top: 100px;}

.profile-container {
  width: 500px;
  margin: 0 auto 50px;
}

.team-container, .contact-container {
  width: 500px;
  margin: 0 auto;
}


.team-container ul,
.contact-container ul  {
  padding: 0;
  list-style: none;
}

/*.team-container ul li:nth-child(2n+2):after {
  content: "";
  display: block;
  clear: both;
}*/

.office-title {
  margin-bottom: 20px;
}

.office-content {
  margin-bottom: 30px;
}


.award {
  margin-bottom: 30px;
}
.award a {
  color: #8d8d8d;
}

.award a:hover {
  opacity: 0.7;
}
.award a:after{
  width: 110%;
}

.award p {
  margin-bottom: 0;
}

.contact {
  margin: 50px 0;
}
.contact a:hover {
  opacity: 0.7;
}
.contact a:after{
  width: 100%;
}
.contact .social {
  position: static;
  margin-top: 10px;
}

.work {
  display: block;
  text-align: center;
  position: relative;
  margin: 15px 0;
  width: 100%;
  min-width: 100%;
  padding-top: 60%;
  cursor: crosshair;
}

.work:hover:after {
  display: none;
}

.grid-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: inline-block;
  vertical-align: middle;
}

.work img{
  max-width: 90%;
  max-height: 100%;
  height: auto;
  z-index: 99;
  opacity: 1;
  transition: all 0.2s ease;
  position:relative;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  top:50%;
}

.work:hover {
  color: #000;
}

/*.work:hover img{
  opacity: 0.1;
}*/

.work .embed-responsive {
  margin-top: 20%;
}

.work .caption {
  position: absolute;
  width: 100%;
  bottom: -25px;
  left: 0;
  z-index: 33;
  transition: all 0.2s ease;
  opacity: 0;
}

.work .caption span {
  position:relative;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  top:50%;
}


.work:hover .caption {
  opacity: 1;
}

/*all projects*/

#all {
  padding-top: 50px;
  z-index: 0;
}
.bootstrap-select {
  height: auto;
}
.bootstrap-select .dropdown-menu {
  position: static;
  float: none;
  top: auto;
  left: auto;
  transition: 1s ease;
  overflow: visible!important;
  display: block!important;
}

.work-filters .dropdown-toggle {
  display: none;
}

.work-filters .bootstrap-select.btn-group .dropdown-menu {
  padding: 0 0 10px 0;
  margin: 0;
  box-shadow: none;
  border: none;
  border-radius: 0;
}
.work-filters a {
  text-decoration: underline;
  display: block;
}
.work-filters a:focus, .work-filters a:hover  {
  color: #000;
}
.work-filters a.collapsed{
  text-decoration: none;
}

.work-filters .dropdown-menu>li>a {
  padding: 0;
  color: #000;
}

.work-filters .dropdown-menu>li>a:hover, .work-filters .dropdown-menu>li>a:focus {
  background-color: transparent;
  outline: none;
}

.work-filters .dropdown-menu>li.selected a {
  color: #8d8d8d;
}

.work-filters .dropdown-menu>li.disabled {
  display: none;
}

.bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a span.check-mark {
  font-size: 1rem;
  margin-top: 0;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
  padding: 15px 10px;
  border-color: black;
}

.table>tbody>tr>td.image-td, .table>thead>tr>th.image-td {
  padding-left: 0;
}

.table>thead>tr>th {
  border: none;
  padding-top: 0;
}

.table-hover>tbody>tr {
  color: #000;
  transition: 0.5s ease;
  cursor: pointer;
}

.table-hover>tbody>tr.collapse-row:hover {
  color: #000;
}

.table-hover>tbody>tr:hover {
  color: #8d8d8d;
  background-color: transparent;
}




.table-hover>tbody>tr.collapse-row:hover {
  background-color: transparent;
}


.table>tbody>tr.collapse-row td {
  padding: 0;
  border: none;
}

.work-tr ul {
  padding: 0;
  list-style: none;
}

.work-tr ul li{
  display: inline-block;
}

.work-tr ul li:after{
  content: ",";
}

.work-tr ul li:last-child:after{
  content: "";
}

.project-description {
  padding: 0 30% 15px 10px;
  width: calc(100% - 250px);
  float: left;
}

.image-td {
  width: 250px;
}

.project-image {
  padding-top: 5px;
  padding-right: 20px;
  padding-bottom: 20px;
  float: left;
  width: 250px;
}


.project-info a:after {
  width: 100%;
}

.project-image img {
  max-width: 100%;
  height: auto;
}




/*carte*/
.atlas-container {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: #ebebeb;
}

#map {
  width: 100%;
  height: 100%;
}

#atlas {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 0;
}

.location {
  font-style: italic;
}

#atlas-map {
  height: 100%;
  width: 100%;
}



/*single work*/

.single-work-info {
  position: fixed;
  height: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  display: block;
  padding: 15px 50px;
  background-color: rgba(255,255,255,0.9);
  z-index: 999;
  overflow: scroll;
  max-height: 100vh;
}

.single-work-info .nav-tabs>li.active>a, .single-work-info .nav-tabs>li.active>a:focus, .single-work-info .nav-tabs>li.active>a:hover {
  color: #8d8d8d;
}

[role=button] {
  cursor: pointer;
}

.single-work-info .nav-tabs>li:last-child {
  margin-right: 0;
}

.single-work-main .full-slideshow,
.single-work-main .full-slideshow {
/*  height: 100%;
  transition: 0.5s ease;*/
}


.single-work-main .full-slideshow .image {
  height: 100%;
}



.project-collapse {
  padding-top: 30px;
}

.project-collapse p {
  text-align: justify;
  margin-right: 30px;
}

.project-collapse ul {
  list-style: none;
  padding-left: 0;
  margin-right: 20px;
}

.project-collapse .project-details {
  color: #8d8d8d;
  text-decoration: none;
  position: absolute;
  bottom: -5px;
}

.project-collapse .project-details:hover {
  text-decoration: underline;
}

.project-collapse a{
  text-decoration: underline;
}

.italic {
  font-style: italic;
}

.title-part .location {
  display: inline-block;
}


/* media modal */
.modal-backdrop {
  background-color: #fff;
}
.modal-backdrop.in {
  background-color: #fff;
  opacity: 1;
}
.modal-dialog {
  margin: 50px;
  width: calc(100% - 100px);
  height: calc(100% - 100px);
  cursor: url("img/cross-pointer.png"), pointer;
}
.modal-content {
  border-radius: 0;
  border: none;
  background-color: transparent;
  box-shadow: none;
  line-height: 100%;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  height: 100%;
  text-align: center;
}

.modal-dialog img {
  max-width: 70%;
  height: auto;
}

.single-work-padding {
  padding-bottom: 100px;
}

.br {
  margin:0!important;
  clear: both;
  display: none!important;
}

.si-wrapper-top {
  transform: none!important;
  -webkit-transform: none!important;
  margin-top: -9px!important;
  top: 2px;
  left: 0px;
}
.si-frame {
  border-radius: 0!important;
  flex: 0!important;
}

.si-has-border .si-content-wrapper {
  border: 1px solid #000!important;
  padding: 10px!important;
}

.si-pointer-top {
  display: none!important;
}

.si-content img {
  display: block;
  margin: 0 auto;
  width: 240px;
  margin-top: 20px;
}

@media (max-width: 1200px) {
  .news-container {
    width: 40%;
    position: fixed;
    transform: translateX(100%);
    right: 0;
  }
  .nav-tabs.secondary-menu {
    padding-left: 50px;
  }
  .project-description {
    padding-right: 20%;
  }
}

@media (max-width: 992px) {
  body {
    padding: 0 20px 0 20px;
  }
  .news-container {
    position: fixed;
    width: 100%;
    transform: translateX(100%);
    right: 0;
  }
  .nav-tabs.secondary-menu {
    left: 58%;
    padding-left: 0;
  }
  .project-description {
    padding: 0px 15px 15px 10px;
  }
  .title-part {
    margin-bottom: 30px;
  }
  .single-work-info {
    padding: 15px 20px;
  }
  .full-slideshow .image {
    background-size: contain;
  }
}

@media (max-width: 768px) {

  .single-work-info {
    /*position: relative;*/
    padding: 15px 0;
  }
  .single-work-info .nav-tabs>li>a {
    padding: 5px 0;
  }
  .navbar-toggle .icon-bar {
    background-color: #000;
  }
  .navbar-toggle {
    margin: 2px 0 0 0;
    padding: 0;
  }
  .news-button {
    right: 55px;
  }
  #menu-menu-principal {
    margin: 15px 0;
  }
  .site-content {
    border-top: 1px solid #ebebeb;
  }
  .full-slideshow .legend {
    position: absolute;
    bottom: 15px;
  }
  .nav-tabs.secondary-menu {
    position: relative;
    top: 0;
    left: 0;
    margin-top: 15px;
    margin-bottom: 40px;
  }
  .profile-container, .team-container, .contact-container {
    width: 100%;
  }


  .tab-office {
    padding-top: 0px;
  }
  .nav-tabs>li {
    margin: 0 32px 0 0;
  }
  .nav-tabs>li:last-child {
    margin-right: 0;
  }
  #all {
    padding-top: 0;
    z-index: 0;
  }
  .work-filters {
    margin-bottom: 50px;
  }

  .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 15px;
  }

  .table>tbody>tr>td.image-td, .table>thead>tr>th.image-td {
    padding-left: 15px;
  }

  .table>thead>tr>th {
    border: none;
    padding: 15px;
  }
  .location-td {
    width: auto;
  }
  .project-image, .project-description {
    padding: 0;
    white-space: initial;
  }
  .project-image, .project-description {
    padding: 0px 15px 20px;
  }
  .single-work-info .nav-tabs>li:nth-child(7) {
    margin-right: 0;
  }
  .full-slideshow, .full-slideshow .slick-list, .full-slideshow .slick-track, .full-slideshow .slide {
    height: 75vw;
  }
  .single-work-main .tab-content, .single-work-main .tab-pane {
    height: auto;
  }
  .work {
    padding-top: 0;
    margin-bottom: 30px;
  }
  .grid-image-container {
    position: static;
  }
  .work img {
    max-width: 100%;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    top: 0;
  }
}

@media (max-width: 767px) {
  .project-collapse-interne {
    padding-top: 30px;
    height:310px !important;
    overflow: scroll !important;
  }
}

@media (max-width: 660px) {
  .br {
    display: block!important;
  }
  .single-work-info .nav-tabs>li:nth-child(3) {
    margin-right: 0;
  }
}



/* //////////////// TEAM //////////////// */

.team-container{
  width: 100%;
}

.team-page{
  position: relative;
  cursor: inherit;
  text-align: center;
  padding: 20px;
}

.team-page .hover{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  height: 100%;
  opacity: 0;
  padding-top: 31%;
  -webkit-transition: all 0.5s ease;
     -moz-transition: all 0.5s ease;
      -ms-transition: all 0.5s ease;
       -o-transition: all 0.5s ease;
          transition: all 0.5s ease;
}

.team-page .hover .mail{
  text-decoration: none;
  color: black;
}

.team-page .hover .mail:hover{
  text-decoration: underline;
  color: black;
}

.team-page:hover .hover{
  background-color: rgba(255, 255, 255, 0.85);
  opacity: 1;
  -webkit-transition: all 0.5s ease;
     -moz-transition: all 0.5s ease;
      -ms-transition: all 0.5s ease;
       -o-transition: all 0.5s ease;
          transition: all 0.5s ease;
}

.team-page .image {
  width: 100%;
  overflow: hidden;
}

.team-page .image img {
  width: 100%;
  margin: 0 auto;
  display: block;
}

ul.nav-team-page {
  margin-left: 35px;
}

ul.nav-team-page li.active {
  border-bottom: 1px solid black;
}



/* //////////////// CONTACT //////////////// */

.tab-contact .image-contact{
  margin:0;
}

.tab-contact .image-contact img{
  width: 100%;
}

.tab-contact .contact .social i{
  color: black;
}

.contact-container ul li{
  margin-bottom: 30px;
}

.slider-office.slick-dotted.slick-slider {
  margin-bottom: 60px;
}


.contact-container {
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 890px) {
  .contact-container { width: 880px;}
}

.bloc-contact-bloc{
  margin-bottom: 70px;
}

/* //////////////// WORK //////////////// */

.work {
  height: 240px;
}

.work img {
  max-width: inherit;
  height: 100%;
  width: auto;
}

.work .grid-image-container {
  padding: 20px;
  overflow: hidden;
}

.site-main {
  margin-bottom: 50px;
}

.slider-technical-gallery,
.full-slideshow {
  height: 100%;
  overflow: hidden;
}

.img-slider-technical,
.slide-full-slideshow {
  height: 700px;
}

.single-work .img-slider-technical,
.single-work .slide-full-slideshow {
  height: auto;
}

.img-slider-technical img,
.slide-full-slideshow img{
  max-width: 100%;
  margin: 0 auto;
}

.slider-technical-gallery .slick-dots {
  bottom: 5px;
}

.full-slideshow .slick-dots {
  bottom: 69px;
}


.slick-initialized .slick-slide{
	outline: none;
  overflow: hidden;
}




@media (max-width: 767px) {
.videoContainer {
width: 100%;
margin: 0 auto 50px;
}
}














