html, body {
	margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

/* bloque le zoom sur l'input  https://stackoverflow.com/questions/4472891/how-can-i-disable-zoom-on-a-mobile-web-page */
:root {
  touch-action: pan-x pan-y;
  height: 100% 
}

a {
  color: orangered;
  font-weight: 500;
}

#streetartmap_canvas {
		position: absolute;
		top: 50px;
		left: 0px;
		right: 0px;
		bottom: 0px;
	}



.material-icons {
    color: #ffffff;
}

.center-icon {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

#menu-smartphone{
  display: none;
}

.android-drawer {
  border-right: none;
}

.android-drawer-separator {
  height: 1px;
  background-color: #dcdcdc;
  margin: 4px 0;
}
.mdl-layout__header-row {
  padding: 0 16px 0 0px;
}
.android-drawer .mdl-navigation__link.mdl-navigation__link {
  font-size: 14px;
  color: #757575;
}

.android-drawer span.mdl-navigation__link.mdl-navigation__link {
  color: #03a9f4;
}
.mdl-layout__drawer .mdl-navigation .mdl-navigation__link {
    padding: 12px 24px;
 }
 .mdl-layout__drawer {
    width: 200px;
}
.mdl-navigation__header {
	width: 100%;
	height: 50px;
	background-color: #03a9f4;
	color: #FFFFFF;
	line-height: 50px;
	text-align: center;
	font-size: bold;
  margin: auto;

}
.mdl-layout__header {
  z-index: 10;
  height: 50px;
  min-height: 50px;
}


#navFilterColor{
    background-color: #35befd;
}

.mdl-layout__header#filtersbar{
  position: fixed;
  top:0px;
  z-index: 5;
 
}


.mdl-layout__header#filtersbar-active{
  position: fixed;
  top:0px;
  z-index: 5;
  animation: goDown 0.5s;
  animation-fill-mode: forwards;
  
}

.mdl-layout__header#filtersbar-deactive{
  position: fixed;
  top: 50px;
  z-index: 5;
  animation: goUp 0.5s;
  /* animation-direction: reverse; */
  animation-fill-mode: forwards;
  
}

@keyframes goDown {
	0% { top: 0px; }
	100%   { top: 50px; }
}

@keyframes goUp {
	0% { top: 50px; }
	100%   { top: 0px; }
}


.icontab { font-size: 24px; }

.mdl-layout__drawer .mdl-navigation {
	padding-top: 0px;
}

.mdl-navigation__link {
    line-height: 12px;
    font-weight: 600;
}
.android-navigation .mdl-navigation__link:hover, .android-navigation .mdl-navigation__link.buttonfocus {
      border-bottom: 8px solid #ffffff;
    }
.mdl-layout__drawer-button {
  margin: 0px;
}
.mdl-layout__header-row {
  height: 50px;
}
.mdl-layout__header-row .mdl-navigation__link {
  height: 50px;
  line-height: 50px;
  cursor: pointer;
}

.demo-card-image.mdl-card {
  width: 256px;
  height: 256px;

}
.demo-card-image > .mdl-card__actions {
  height: 52px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
}
.demo-card-image__filename {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.android-navigation-container.filtertab{
  width: 100%;
}
.android-navigation-container.filtertab > .android-navigation.mdl-navigation{
  display: flex;
  justify-content: space-evenly;
}
/* .android-navigation-container.filtertab > .android-navigation.mdl-navigation :nth-child(n){
  flex: 1;
  
} */

.container {
  
  display: block;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  user-select: none;
  font-size: 1em;
  font-weight: 600;
  user-select: none;
  text-transform: uppercase;
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: -10%;
  left: 0;
  height: 20px;
  width: 20px;
  border: white;
  border-radius: 5px;
  border-style: solid;
  border-width: 2px;
  
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: rgba(255, 255, 255, 0.25);
}

/* When the checkbox is checked, add a blue background */
/* .container input:checked ~ .checkmark {
  background-color: #35befd;
} */

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

#divSlider{
  display: flex;
  flex-direction: row;
}

#sliderdate{
  min-width: 200px;
  flex: 3;
  margin-left: 1em;
  margin-right: 1em;
  border-radius: 10px;
  background-color: #35befd;
}

.datediv{
  flex:1;
}

.noUi-handle.noUi-handle-lower, .noUi-handle.noUi-handle-upper {
  width: 20px;
  height: 20px;
  right: -10px;
  top: -2px;
  border-radius: 10px;
}

.noUi-connect {background-color: whitesmoke;}

.noUi-handle:before, .noUi-handle:after {display: none;}

 /*******************************************/
#view {
  position: fixed;
  top: 20px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 10;
  background-color: #ffffff;
  display: none;
  box-shadow: 0px 0px 1em black;
}

#blockinfophoto{
  display: flex;
  flex-direction: row;
  height: 100%;
}

#infopict {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}


#navpicid{
  flex: 1;
  display: flex;
  flex-direction: row;
  color: #ffffff;
  background-color: #1daff3; 
  padding: 1em;
}

#idpict{
  flex: 6;
  font-size: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;

}
/* 
#infoandmap{
  flex: 90;
  height: 100%;
  display: flex;
  flex-direction: column;

} */

#titlephoto{
  flex: 5;
  color: #ffffff;
  /* background-color: #1daff3; */
  font-size: 1.5em;
  line-height: 2em;
  /* vertical-align: middle; */
  /* text-align: left; */
  display: flex;
  flex-direction: column;

}
#nomartiste, #typesa, #prisephoto, #event{
flex: 1;
padding-left: 1em;
display: flex;
align-items: center;
}

#nomartiste{
  background: #25baff;
}

#typesa{
  background-color: #31beff;
}

#prisephoto{
  background-color: #42c3ff;
}

#event{
  background-color: #53c9ff;
}

#mappict {
  flex: 4;
  background-color: #03a9f4;
}

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

#contentphoto {
  flex: 2;
  background-size: contain;
  color:rgb(55, 165, 255);
}

#pict{
  height: 100%;
}

#credit{
  position: relative;
  bottom: 4%;
  padding-left: 5%;
  text-shadow: 0px 0px 4px black;
  color: white;
}



#close{
 
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 55;
}

#share{
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 50;
}

#sharemap{
  z-index: 50;
}
#buttongotomap{
  flex: 0.5;
  background: rgb(255,82,82);
  position: relative;
  color: white;
  text-align: center;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

}

#buttongotomap a{
  color: #ffffff;
}


 /*******************************************/

.framemini{
  width: 100%; 
  height: 250px;
  background-size: contain;
  font-size: 1.2em;
  color: black;
  display: flex;
  align-items: center;
  text-align: center;
}





 
@media screen and (orientation: landscape){
  .mdl-layout__header{
    display: block;
  }
  .mdl-layout__header .mdl-layout__drawer-button {
    margin: 0px;}
}






.informations{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: auto;
  padding-bottom: 2em;
}


div.bloctext{
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  flex: 1;
  margin: 0em 5em 0em 5em;
}

div.bloctext :last-child{
  margin: 0em 0em 2em 0em;
}

div.bloctext > h1{
  font-size: 3em;
}
div.bloctext > h2{
  font-size: 2em;
  padding-top: 1%;
}

div.bloctext.disclaimer{
  text-align: center;
}


@media screen and (orientation: portrait){

  #streetartmap_canvas {
		position: absolute;
		top: 0px;
		left: 0px;
		right: 0px;
		bottom: 8%;
	}

/* 
  #iconehome{
    display: block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(http://chilledoutco.org/streetartmap/img/home_smartphone.png) no-repeat;
    width: 72px; 
    height: 72px;
    padding-left: 72px;
  } 
  */

  .icontab { font-size: 72px; }
/*
  #iconecoco{
    display: block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(http://chilledoutco.org/streetartmap/img/coco_smartphone.png) no-repeat;
    width: 72px;
    height: 72px;
    padding-left: 72px;
  }

  #iconeinsta{
    display: block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(http://chilledoutco.org/streetartmap/img/insta_smartphone.png) no-repeat;
    width: 72px; 
    height: 72px; 
    padding-left: 72px; 
  }

 */

 #menu-smartphone{
  display: block;
}


  .mdl-layout__header .mdl-layout__drawer-button{
    position: relative;
    top: 25%;
  }


  .mdl-layout__header-row{
    height: 100%;
    display: flex;
  }

  .mdl-layout__header--waterfall {
    min-height: 100%;
  }

  .mdl-layout__header{
    display: block;
    height: 8%;
    min-height: 50px;
    bottom: 0px;
    position: fixed;

  }

  #filtersbar-active .mdl-layout__header,#filtersbar-deactive .mdl-layout__header{
    display: contents;
  }

  .mdl-navigation__header {
    width: 100%;
    height: 50px;
    background-color: #03a9f4;
    color: #FFFFFF;
    line-height: 50px;
    text-align: center;
    font-size: bold;
    margin: auto;
  
  }

  .mdl-layout__header-row .mdl-navigation {
    height: 100%;
    display: flex;
}

.mdl-layout__header-row>* {
  height: 100%;
  flex: 1;
}

  .mdl-layout__header-row .mdl-navigation__link {
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 2em;
    flex: 1;
    justify-content: center;
  }

 
  .android-navigation .mdl-navigation__link:hover, .android-navigation .mdl-navigation__link.buttonfocus {
    border-top: 8px solid #ffffff;
    border-bottom: none;
  }

  .android-header-spacer.mdl-layout-spacer {
    display: none;
  }



  .hideinhandled, .mdl-navigation__link.hideinhandled{
   display: none;
 }


 .mdl-layout__header#filtersbar{
  position: fixed;
  top: 92%;
  z-index: 5;
 
}

.android-navigation-container.outerlink{
  flex:2;
}
.android-navigation-container.innerlink{
  flex:1;
}


.mdl-layout__header#filtersbar-active{
  position: fixed;
  top: 92%;
  z-index: 5;
  animation: goUpSmart 0.5s;
  animation-fill-mode: forwards;
  
}

.mdl-layout__header#filtersbar-deactive{
  position: fixed;
  top: 84%;
  z-index: 5;
  animation: goDownSmart 0.5s;
  animation-fill-mode: forwards;
  
}

@keyframes goDownSmart {
	0% { top: 84%; }
	100%   { top: 92%; }
}

@keyframes goUpSmart {
	0% { top: 92%; }
	100%   { top: 84%; }
}

.container { font-size: 2em;}

#sliderdate{
  margin: 0.5em 0em 0.5em 0em;
}

#divSlider{
  flex-direction: column;
  align-items: center;
  font-size: 2em;
}


 /*******************************************/
 #view {
  position: fixed;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 20px;
  z-index: 10;
  background-color: #ffffff;
  display: none;
  box-shadow: 0px 0px 1em black;
}

#blockinfophoto{
  display: flex;
  flex-direction: column-reverse;
  height: 100%;
}


/* PHOTO */
#contentphoto {
  flex: 4;
  background-size: contain;
  height: 100%;
  color:rgb(55, 165, 255);
}
#pict{
  width: 100%;
  height:100%;
  background-size: contain;
  
}
/* PHOTO */

/* INFO */

#infopict {
  flex: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
}


/* ID */
#navpicid{
  flex: 1;
  display: flex;
  flex-direction: row;
  color: #ffffff;
  background-color: #1daff3; 
  padding: 1em;
  order: 2;
}

#idpict, #next, #previous{
  font-size: 2em;
  display: flex;
  align-items: center;
  justify-content: center;

}

#idpict{
  flex: 6;
}

/* ID */

/* 
#infoandmap{
  flex: 6;
  height: 100%;
  display: flex;
  flex-direction: row;

} */

#titlephoto{
  flex: 5;
  color: #ffffff;
  /* background-color: #31bcfc; */
  font-size: 2.5em;
  line-height: 1.2em;
  /* vertical-align: middle; */
  /* text-align: left; */
  display: flex;
  flex-direction: column;
  order: 1;
  justify-content: center;

}

#nomartiste, #typesa, #prisephoto, #event{
flex: 1;
display: flex;
align-items: center;
justify-content: center;
}

#nomartiste{
  background: #25baff;
}

#typesa{
  background-color: #31beff;
}

#prisephoto{
  background-color: #42c3ff;
}

#event{
  background-color: #53c9ff;
}

#mappict {
  flex: 4;
  background-color: #03a9f4;
  order: 3;
}

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

/* INFO */


#close{
  /* height: 20px;
  width: 20px; */
  position: absolute;
  top: 38%;
  right: 30px;
  z-index: 55;
}

#share{
  position: absolute;
  bottom: 30px;
  right: 50%;
  z-index: 50;
}


#buttongotomap{
  flex: 0.8;
  order: 3;
  
}

#buttongotomap a{
  font-size: 1.8em;
}

 /*******************************************/

 .informations{
   text-align: center;
   height: 90%;
 }

 div.bloctext{
  margin: 0em 1em 0em 1em;
  font-size: 2em;
  line-height: 1.5em;
}

div.bloctext > h1{
  text-align: center;
}

div.bloctext > h2{
  padding-top: 10%;
}

}
