/*
 * Base structure
 */

 @font-face {
  font-family: 'AvantGarde Bk BT';
  src: url('/assets/fonts/AGB/ITC Avant Garde Gothic Book.eot'); /* IE9 Compat Modes */
  src: url('/assets/fonts/AGB/ITC Avant Garde Gothic Book.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/assets/fonts/AGB/ITC Avant Garde Gothic Book.woff') format('woff'), /* Modern Browsers */
       url('/assets/fonts/AGB/ITC Avant Garde Gothic Book.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('/assets/fonts/AGB/ITC Avant Garde Gothic Book.svg#6f7c69d1460f5eba107b4f32a0673e34') format('svg'); /* Legacy iOS */
       
  font-style:   normal;
  font-weight:  normal;
}
 @font-face {
  font-family: 'AvantGarde Bk BT';
  src: url('/assets/fonts/AGB/ITC Avant Garde Gothic Bold.eot'); /* IE9 Compat Modes */
  src: url('/assets/fonts/AGB/ITC Avant Garde Gothic Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/assets/fonts/AGB/ITC Avant Garde Gothic Bold.woff') format('woff'), /* Modern Browsers */
       url('/assets/fonts/AGB/ITC Avant Garde Gothic Bold.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('/assets/fonts/AGB/ITC Avant Garde Gothic Bold.svg#6f7c69d1460f5eba107b4f32a0673e34') format('svg'); /* Legacy iOS */
       
  font-style:   normal;
  font-weight:  bold;
}



html { 
  margin:0;
  padding:0;
  height: 100%;
  background: #ffffff left top no-repeat fixed;
  -webkit-background-size: cover; /* pour Chrome et Safari */
  -moz-background-size: cover; /* pour Firefox */
  -o-background-size: cover; /* pour Opera */
  background-size: cover; /* version standardisée */
}

body{
  font-family: 'AvantGarde Bk BT';
  letter-spacing: 0.1em;
  line-height: 1.8em;
}

.page-content ul {
  padding-left: 17px;
}


area:focus {
  border:0;
  border-shadow: 0;
}

html.landing #framecontent {
  left: -210px;
}
html.landing #maincontent {
  left: 100%;
}
html.landing .footer-forms {
  display: none;
}
html.landing .home-container {
  min-width: 450px;
}
html.landing body {
  overflow: hidden;
}
html.landing .intro-anim-container,
html.landing .intro-img-container {
  margin-bottom: -175px;
  margin-left: -175px;
  position: absolute;
  bottom: 50%;
  left: 50%;
  width: 350px;
  height: 350px;
  /*background: url(/assets/img/anim_arcenv.png) center center no-repeat;*/
  border: 0;
}
html.landing .intro-anim-container embed,
html.landing .intro-anim-container object {
  position: absolute;
  z-index: 9999;
}
@media (min-width: 768px) {
  .intro-img-container {
    display:none;
  }
}






.page-content,
.article-content {
  text-align: justify;
}



body{
margin: 0;
padding: 0;
border: 0;
overflow: hidden;
height: 100%; 
max-height: 100%;
min-height: 100%;
}

#framecontent{
position: absolute;
top: 0;
bottom: 0; 
left: -190px;
width: 210px; /*Width of frame div*/
height: 100%;
overflow: hidden; /*Disable scrollbars. Set to "scroll" to enable*/
background: rgba(200,200,200,0.7);
}

#framecontent .innertube{
  margin: 0 20px 100px 20px; /*Margins for inner DIV inside each DIV (to provide padding)*/
}

@media (min-width: 768px) {
  #framecontent{
    left: 0;
  }
}

#maincontent{
position: fixed;
top: 0; 
left: 20px; /*Set left value to WidthOfFrameDiv*/
right: 0;
bottom: 0;
overflow: auto; 
background: #fff;
min-height: 100%;
padding-bottom: 4rem;

}

#maincontent .innertube{
  margin: 0 20px 20px 20px; /*Margins for inner DIV inside each DIV (to provide padding)*/
}

#maincontent.team .innertube{
  margin: 0; /*Margins for inner DIV inside each DIV (to provide padding)*/
}

@media (min-width: 768px) {
  #maincontent{
    left: 210px;
  }
}



* html body{ /*IE6 hack*/
padding: 0 0 0 210px; /*Set value to (0 0 0 WidthOfFrameDiv)*/
}

html.landing .background-mask {
  background: white;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}



* html #maincontent{ /*IE6 hack*/
height: 100%; 
width: 100%; 
}

.footer-forms {
  position: fixed;
  z-index:9999;
  bottom: 20px;
  left:20px;
  right: 20px;
}
@media (min-width: 768px) {
  .footer-forms {
    left:210px;
  }
}















/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}


/*
 * Sidebar
 */

/* Hide for mobile, show later */
@media (min-width: 768px) {
  .side-menu {
    padding-top: 100px;
  }
}

.sidebar a {
  color: black;
}

.home-button {
  position: absolute;
  left: 105px;
  margin-left: -50px;
  bottom: 20px;
}
@media (min-width: 768px) {
  .landing .home-button img {
    display:none;
  }
}

.footer {
    padding: 10px;
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1000;
    height:;
    background: rgba(210,210,210,0.9);
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background: rgba(0,0,0,0.6);
    /*border-right: 1px solid #eee;*/
  }
}

/* Sidebar navigation */
.nav-sidebar {
  list-style-type: none;
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar a {
  text-decoration: none;
  padding-left: 0;
  color: #cfcfcf;
  color: black;
  /*font-weight: bold;*/
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 10px;
  background-color: transparent;
}
.nav-sidebar li.active > a,
.nav-sidebar li.active > a:hover {
  color: white;
}
.nav-sidebar > li > ul > li a {
  letter-spacing: 0.1em;
  font-size: 0.8em;
}
.nav-sidebar > li > a .puce {
  display: inline-block;
  margin-right: 10px;
  width: 12px;
  height: 12px;
  background-position: left top;
  background-repeat: no-repeat;
  background-image: url(/assets/img/menu_puce_default.png);
  -webkit-transition: all .2s;
  transition: all .2s;
}
.nav-sidebar > li.urba > a .puce {
  background-image: url(/assets/img/menu_puce_urba.png);
}
.nav-sidebar > li.archi > a .puce {
  background-image: url(/assets/img/menu_puce_archi.png);
}
.nav-sidebar > li.archive > a .puce {
  background-image: url(/assets/img/menu_puce_archive.png);
}
.nav-sidebar li a:hover {
  color: #fff;
}
.nav-sidebar > li > a:hover {
  color: #fff;
  background-color: transparent;
}
.nav-sidebar > li > a:hover .puce {
  background-position: 0 -19px;
  -webkit-transition: all .2s;
  transition: all .2s;
}
/*.nav-sidebar > li.urba > ul > li > a:hover,
.nav-sidebar > li.urba > ul > li.active > a {
  color: #bfe0c0;
}
.nav-sidebar > li.archi > ul > li > a:hover,
.nav-sidebar > li.archi > ul > li.active > a {
  color: #c3dff0;
}
*/.nav-sidebar > .active > a {
  color: #fff;
  /*background-color: #428bca;*/
}
.nav-sidebar > li.active > a .puce {
  background-position: 0 -19px;
}
.nav-tabs.nav-justified > li > a {
  margin-bottom: 0;
  border-bottom: 0;
}
.nav-tabs.nav-justified > li.active > a {
  font-weight: bold;
}

/* Home page */


.home-container {
  height: 80%;
  padding-left: 15%;
  margin-right: 0;
  margin-top: 3%;
  position: relative;
  padding-bottom: 50px;
}
@media (min-width: 768px) {
  .home-category-container {
    float: left;
  }
  .home-category-content {
    float: left;
  }

  .home-container.solo {
    margin-top: 10%;
  }

}
.home-category-container {
  position: relative;
}
.home-category-container img {
  max-width: 250px;
}
.home-category-container.archi {
  padding-top: 80px;
  position: relative;
}
.home-category-container.urba {
  padding-bottom: 92px;
  position: relative;
}
.home-category-container .home-overlay {
  position: absolute;
  z-index: 9999;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.home-category-container.archi .home-overlay {
  background: url(/assets/img/picto_archi.png) 40px top no-repeat;
  padding-top: 52px;
}
.home-category-container.urba .home-overlay {
  background: url(/assets/img/picto_urba.png) 40px bottom no-repeat;
  padding-bottom: 28px;
}
.archi .home-overlay .category-name {
  margin-left: 60px;
  letter-spacing: 0.22em;
}
.urba .home-overlay .category-name {
  margin-left: 60px;
  position: absolute;
  bottom: 60px;
  letter-spacing: 0.45em;
}
.home-category-content {
  list-style: none;
  list-style-type: none;
  padding-left: 15px;
}
.home-category-content.archi {
  margin-top: 10px;
}
.home-spacer {
   margin-bottom: 0;
}

@media (min-width: 768px) {
  .home-category-content.archi {
    margin-top: 80px;
  }
  .home-category-content.urba {
    position: relative;
    bottom: -200px;
  }
  .home-container.solo .home-category-content.urba {
    bottom: auto;
    top: 80px;
  }
  .home-container.solo .home-category-container.urba {
    margin-top: 80px;
  }

  .home-container {
    padding-bottom: 0;
  }

  .home-spacer {
     margin-bottom: 30px;
  }
}

.home-category-content .highlight {
  margin: 1px -1px 0 0;
  display: inline-block;
  width: 15px;
  line-height: 1.2em;
  padding: 0 0 0 4px;
  background-position: -16px center;
  background-repeat: no-repeat;
  -webkit-transition: all .5s;
  transition: all .5s;
}
.home-category-content li a {
  color: #333;
}
.home-category-content li a:hover {
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.08em;
}
.home-category-content.urba li a:hover .highlight {background-image: url(/assets/img/home_menu_bg_urba.png);}
.home-category-content.archi li a:hover .highlight {background-image: url(/assets/img/home_menu_bg_archi.png);}
.home-category-content li a:hover .highlight {
  color: white;
  background-position: left center;
  -webkit-transition: all .2s;
  transition: all .2s;
}


/* Form */
form .help-block {
  float: right;
  height: 1.2em;
  line-height: 1.2em;
}



/* Project template */

#maincontent.urba {
    background: white url(/assets/img/picto_urba_pages.png) 10px bottom no-repeat;
}
#maincontent.archi {
    background: white url(/assets/img/picto_archi_pages.png) 10px bottom no-repeat;
}
#maincontent.archive {
    background: white url(/assets/img/picto_archive_pages.png) 10px bottom no-repeat;
}

.project-text {
  background: white;
  background: rgba(255,255,255,0.8);
}

.category-title {
  font-weight: bold;
  /*display:none;*/
}
.project-description {
}
ul.nav-tabs.nav-justified >.active > a,
ul.nav-tabs.nav-justified >.active > a:hover
 {border:none; font-weight: bold;}

.project-images img,
.archives-images img {
  border: 1px solid #CCC;
}


@media screen and (max-height: 800px) {
  .project-images,
  .archives-images,
  .partners-images {
    max-width: 500px;
  }
}
@media screen and (max-height: 500px) {
  .project-images,
  .archives-images,
  .partners-images {
    max-width: 300px;
  }
}

@media (min-width: 768px) {

  .project-row {
    margin-top: 50px;
    display: table;
  }

  .project-left-column {
    display: table-cell;
    /*height: 600px;*/
    float: none;
    /*border:1px solid blue;*/
    background-size: 50%;
  }

  .project-right-column {
    display: table-cell;
    float: none;
    height: 100%;
    min-height: 100%;
    /*border:1px solid blue;*/
    vertical-align: top;
  }

  .project-title {
    margin-top: 0;
  }

  .project-description {
    max-height: 220px;
    overflow: auto;
    line-height: 1.3em;
  }

  .category-title {
    letter-spacing: 0.5rem;
    display: inline;
  }


  .category-title {
      letter-spacing: 0.5rem;
      display: inline;
      position: fixed;
      bottom: 85px;
      left: 260px;
      white-space: nowrap;
  }

  .rotate {
      -webkit-transform: rotate(270deg);
      -webkit-transform-origin: left bottom;
      -moz-transform: rotate(270deg);
      -moz-transform-origin: left bottom;
      -ms-transform: rotate(270deg);
      -ms-transform-origin: left bottom;
      -o-transform: rotate(270deg);
      -o-transform-origin: left bottom;
      transform: rotate(270deg);
      transform-origin: left bottom;
  }
}

.partners-titles ul.list-unstyled li.active,
.archives-titles ul.list-unstyled li.active {
  font-weight: bold;
}

.partner-title {
  font-size: 1.3em;
}
.active .partner-title {
  font-weight: bold;
}
.partners-list li {
  line-height: 1.3em;
  margin-bottom: 15px;
}

li.padded {
  margin-top: 2em;
}


address {
  display: block;
}

address span {
  display: block;
}
@media (min-width: 768px) {
  address {
    display: block;
    margin-top: 25px;
  }
}


.identity-block {
  padding: 2px 2px 5px 5px;
  background: white;
  position: absolute;
  width: 100%;
  top: 0;
  display: none;
}
@media (min-width: 768px) {
  .identity-block {
    font-size: .8em;
    width: 150px;
  }
  #identity-1 {
    top: 6%;
    left: 70%;
  }
  #identity-2 {
    top: 7%;
    left: 60%;
  }
  #identity-3 {
    top: 5%;
    left: 40%;
  }
  #identity-4 {
    top: 7%;
    left: 20%;
  }
  #identity-5 {
    top: 10%;
    left: 3%;
  }
}
.identity-block strong {
  display: block;
  background: black;
  padding-left: 5px;
  color: white;
  margin: 0;
}
.identity-block span {
  display: block;
  margin: 0;
  border-left: 1px solid black;
  padding-left: 5px;
}


.btn-inverse {
  background: black;
  color: white;
}