


body, html {
  background-color: white;
  margin: 0;
  padding: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: table;
}
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
*:focus {
  outline: none;
}

#sun div{
  overflow: hidden;
  transition-duration: 0.6s;
  transition-property: transform;
  transform-origin: 50% 55%;
}

#sun div:hover{
    transform: rotate(120deg);
    -webkit-transform: rotate(120deg);
}

#menu{
  /* width: 100%; */
  display: table-cell;
  vertical-align: middle;
}

#container {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  left: 0px;
  -webkit-transition: 0.25s;
  -moz-transition: 0.25s;
  -o-transition: 0.25s;
  transition: 0.25s;
  /*-webkit-box-shadow: -1px 0px 12px 0px rgba(0, 0, 0, .175);
  -moz-box-shadow: -1px 0px 12px 0px rgba(0, 0, 0, .175);
  box-shadow: -1px 0px 12px 0px rgba(0, 0, 0, .175);*/
}



#mainmenu {
  /*border-bottom: 2px solid #ddd;*/
      -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 0 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 10px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 10px;

  height: 100%;
  width: 120px;
  position: fixed;
  right:0px;
  z-index: 99;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  display: table;

  /*background: rgba(255, 255, 255, 0.9);*/
  /* -webkit-transition: 0.25s;
  -moz-transition: 0.25s;
  -o-transition: 0.25s;
  transition: 0.25s; */
  /* -webkit-transform: translate(0, -200px);
  -moz-transform: translate(0, -200px);
  -ms-transform: translate(0, -200px);
  -o-transform: translate(0, -200px);
  transform: translate(0, -200px); */
}



#bottommainmenu {
  /*border-top: 2px solid #ddd;*/
      -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 0 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 10px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 10px;
  overflow-y: hidden;
  overflow-x: auto;
  height: 100px;
  bottom: 0;
  width: 100%;
  position: fixed;
  z-index: 99;
  background: rgba(255, 255, 255, 0.9);
  -webkit-transition: 0.25s;
  -moz-transition: 0.25s;
  -o-transition: 0.25s;
  transition: 0.25s;
  -webkit-transform: translate(0, 100px);
  -moz-transform: translate(0, 100px);
  -ms-transform: translate(0, 100px);
  -o-transform: translate(0, 100px);
  transform: translate(0, 100px);
}


#nav-bar {
  display: block;
  position: absolute;
  top: 0px;
  right: calc(50% - 150px);    /* margin: 0 auto; */
  z-index: 98;
  width: 300px;
  height: 15px;
  color: #ff8320;
  text-align: center;
  font-size: 12px;
  background: rgb(255, 255, 255);
}
#nav-bar img {
  width: 20px;
  height: 20px;
  padding: 10px;
}
#nav-text {
  display: table-cell;
  position: absolute;
  left: 40px;
  white-space: nowrap;
  color: white;
  float: left;
  line-height: 40px;
}
#menu-opener.open {
  /*-webkit-box-shadow: rgba(0, 0, 0, 0.8) 0px 0 10px;
  -moz-box-shadow: rgba(0, 0, 0, 0.8) 0 0 10px;
  box-shadow: rgba(0, 0, 0, 0.8) 0 0 10px;*/
  -webkit-transform: translate(0, 200px);
  -moz-transform: translate(0, 200px);
  -ms-transform: translate(0, 200px);
  -o-transform: translate(0, 200px);
  transform: translate(0, 200px);
}
#menu-opener {

  /*
  width: 40px;
  height: 40px;
  float: left;
  cursor: pointer;
  */
  -webkit-transition: 0.25s;
  -moz-transition: 0.25s;
  -o-transition: 0.25s;
  transition: 0.25s;
  -webkit-transform: translate(00px, 0);
  -moz-transform: translate(00px, 0);
  -ms-transform: translate(00px, 0);
  -o-transform: translate(00px, 0);
  transform: translate(00px, 0);
  z-index: 99;
  width: 100px;
  height: 100px;
  left: 0;
  top: 0;
  float: left;
  cursor: pointer;
  position: absolute;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 0px;
}
#menu-opener img {
  margin: 20px 20px 20px 20px;    /* padding: 5px; */
  width: 60px;
}
#ifm {

  /*position: absolute;
  top: 40px;
  height: calc(100% - 40px);
  left: 0;
  bottom: 0;
  right: 0;
  border: 0;
  width: 1px;
  min-width: 100%;
  */

  top: 0;
  height: 100%;
  left: 0;
  bottom: 0;
  right: 0;
  border: 0;
  width: 1px;
  min-width: 100%;
}
#logo {
  position: absolute;
}
#logo a {
  width: 100%;
  height: 200px;
  display: block;
  text-align: center;
}
.caroussel_menu {
  width: 100%;
  right: 0px;
  color: #EEE;
  display: block;
  text-align: center;
  height: 100%;
  padding-top: 0px;
  padding-bottom: 0px;
  text-decoration: none;
  user-select: none;
  position: absolute;
  font-weight: bold;
  font-size: 1.7vh;
}
.menu, .menu ul, .menu li {
  list-style: none;
  margin: 0;
  padding: 0;
  clear: both;
}
.menu-item {
  display: block;
  position: relative;

  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  
}
.menu li {
  background: #F6F6F6;
  border-bottom: 1px solid #ccc;
  position: relative;
  overflow: hidden;
}
.menu-item.off {
      pointer-events: none;

}
.menu-item.off a{

    color: #bbbbbb !important;
}
.menu li:hover {
  background: #FFF;
}
.menu li a {
  color: #505050;
  display: block;
  height: 20px;
  line-height: 20px;
  padding-top: 10px;
  padding-bottom: 10px;  /*font-size: 14px;*/
  text-decoration: none;
  user-select: none;
  position: relative;
}
#menu .menu-item svg {
  width: 30px;
  height: 30px;
  float: left;
  padding-bottom: 5px;
  padding-top: 5px;
  padding-left: 10px;
  padding-right: 10px;
}
/*
#menu .menu-item img {
  width: 30px;
  height: 30px;
  float: left;
  padding-bottom: 5px;
  padding-top: 5px;
  padding-left: 10px;
  padding-right: 10px;
  opacity: 0;
}*/

.menu ul a {
  color: black;
  text-transform: none;
}

/*----*/
.menu-item {
  text-align: center;  /*background: #FFF;*/
  height: 10vh;

}

.taller {
  height: 12vh;
}


.menu-item-img:hover  { 
  -webkit-transform: scale(1.2, 1.2);
  -moz-transform: scale(1.2, 1.2);
  -ms-transform: scale(1.2, 1.2);
  -o-transform: scale(1.2, 1.2);
  transform: scale(1.2, 1.2);
  filter: opacity(90%);

}



.menu .menu-item a {
  color: #333;
  display: block;
  height: 20px;
  line-height: 20px;
  padding-top: 10px;
  padding-bottom: 10px;  /*font-size: 14px;*/
  text-decoration: none;
  user-select: none;
  position: relative;
}
.menu .menu-item svg {
  width: 30px;
  height: 30px;
  float: left;
  padding-bottom: 5px;
  padding-top: 5px;
  padding-left: 10px;
  padding-right: 10px;
}
.menu-item img {
  cursor: pointer;
  display: block;
  height: 7vh;
  margin:0 auto;
  -webkit-transition: 0.25s;
  -moz-transition: 0.25s;
  -o-transition: 0.25s;
  transition: 0.25s;
  filter: opacity(80%);

}

#fullscreen img {
  opacity: 0;
}
#fullscreen {
  z-index: 100;
  position: absolute;
  background-color: #F6F6F6;
  border: 1px solid #ccc;
  top: 0px;
  left: 0px;
  width: 20px;
  height: 20px;
  padding: 5px;
  cursor: pointer;
}
#fullscreen:hover {
  background-color: #fff;
}
#signature {
  z-index: 100001;
  display: block;
  position: absolute;
  padding: 5px;
  bottom: 0px;
  left: 0px;
}
#signature a {
  color: #505050;
  font-size: 12px;
  text-decoration: none;
}
#programme {
  color: #333 !important;
  font-size: 20px;
  font-weight: bold;
  padding-top: 20px;    /* padding-bottom: 20px; */
  padding-left: 20px;
  position: absolute;
  left: 100px;
  top: 0;
}
#help:hover, #closeApp:hover {
  top:10px; 
}
#help {
  z-index: 100;
  position: absolute;
  background-color: #F6F6F6;
  border: 1px solid #ccc;
  top: 0px;
  left: 30px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

#closeApp {

  z-index: 100;

  position: absolute;

  top: 0px;
  right:37px;
  width: 45px;
  height: 45px;
  cursor: pointer;

}
#help a, #closeApp a {
  text-decoration: none;
  display: block;

  height: 45px;
  text-align: center;
  line-height: 30px;
}
#title{
    overflow: hidden;
    position: absolute;
    top: 0px;
    left: 100px;
    height: 80px;
    width: calc(100% - 120px);
    min-width: 750px;
    display: block;
    font-size: 35px;
    text-align: left;
    padding: 10px;
}
#menufade{
      position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    top: 0px;
    background: white;
    z-index: 100;
}
#containerfade{
      position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    top: 0px;
    background: white;
    z-index: 98;
}


.menuSelected  a  img{
  transform: scale(1.1, 1.1);
  filter: opacity(100%);
}

.program-description{
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 0 10px;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 10px;
  box-shadow: rgba(0, 0, 0, 0.2) 0 0 10px;
  position: absolute;
  bottom: 20px;
  left: 15px;
  border-radius: 20px;
  background-color: white;
  padding: 10px 20px 10px 20px;
  width: 390px;

}





.project-name{
  display: block;
  font-size: 22px;
  font-weight: bold;
}

.project-address{
  display: block;
  text-align: left;
  white-space: nowrap;
}

.img-logo{
  width:40px;
  float:left;
  margin-right:10px;
  margin-left:-10px;
  margin-top:3px;

}


.img-info{
  float :right;
  width:40px;
  margin-top:3px;
}

.typologie-text{
  text-align: left;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: calc( 100% - 120px );
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 45vw; /* Could be more or less, depending on screen size */
  max-width: 350px;
  border-radius: 20px;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  top:-20px;
  position: relative;
  right: -10px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#myInput{
  width:120px;
}

.input-pass{
  /* margin:0 auto; */
  margin-top: 10px;
  text-align: center;
}

input[type=submit] {
  color: white;
}

input {
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
}

#div-fav{
  position: relative;
}

#favcounter, #snapcounter {
  float: left;
  position: absolute;
  right: calc( 50% - 4.5vh);
  top: 4vh;
  z-index: 1000;
  background-color: #ff720d;
  /* padding: 5px; */
  color: #FFFFFF;
  font-weight: bold;
  width: 3vh;
  height: 3vh;
  line-height: 3vh;
  border-radius: 50%;
}


@media screen and (max-width: 980px) {
  .program-description{
    display: none !important;
  }

  .modal{
    width: calc( 100% - 80px );

  }
}
  

@media screen and (max-height: 720px) {

  #mainmenu{
    width:80px;
  }

  #ifm{
    min-width: calc(100% - 80px) !important;
  }


}

input, input:before, input:after {
  -webkit-user-select: initial;
  -khtml-user-select: initial;
  -moz-user-select: initial;
  -ms-user-select: initial;
  user-select: initial;
 } 

 input{
  cursor: text;
}


@media screen and (max-height: 650px) {

  .program-description{
    display: none !important;
  }
}

@media screen and (max-height: 720px) {


  .modal{
    min-width: calc(100% - 80px) !important;
  }


}


@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: portrait) {
  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    height: 100vw;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
}