a.hutlink {
  text-decoration: none;
  color: inherit !important;
}
div.all { width: 99vw }
div.hd { display: table; width: 99vw }
div.title { background-color: Brown }
div.subtitle { background-color: Brown; margin-top: 2em }
div.freehut { margin: 0; padding: 0; vertical-align: middle }
div.marker_free {
  background-size: 100% 100%;
  border-radius: 50%;
  border: white;
  border-style: solid;
  border-width: medium;
}
div.marker_medium {
  background-size: 100% 100%;
  border-radius: 50%;
  border: orange;
  border-style: solid;
  border-width: medium;
}
div.marker_busy {
  background-size: 100% 100%;
  border-radius: 50%;
  border: brown;
  border-style: solid;
  border-width: thin;
}
div.marker_reached {
  background-size: 100% 100%;
  border-radius: 50%;
  border: lightgreen;
  border-style: solid;
  border-width: thin;
}
div.marker_notreached {
  background-size: 100% 100%;
  border-radius: 50%;
  border: white;
  border-style: solid;
  border-width: medium;
}
embed.pdf {
  width: 95vw;
  height: 90vh;
}
iframe.meteoadmin { display: inline-block }
figure.cam { display: inline-block }
figure.measure { display: inline-block }
figure.meteoblue { padding: 0px; margin: 0px; display: inline-block }
details.details {
	background-color: white ; 
	color: brown; 
	border-bottom-style: dashed; 
	border-width: 0.1em; 
	margin-top: 1em; 
	margin-bottom: 0.5em; 
	padding: 0.2em;
}
details.subdetails {
	margin-left: 2em; 
}
object.gallerymap { 
  padding: 0px;
  margin: 0px;
  display: inline-block; 
  width: 95vw;
  height: 90vh; 
}
h1 { color: white; margin-left: 0.33em; margin-top: 0.33em; margin-bottom: 0.33em }
h1 a { text-decoration: none; color: white }
h2 { color: white; margin-left: 0.33em; margin-top: 0.33em; margin-bottom: 0.33em }
h2 a { text-decoration: none; color: white }
h3 { color: white; margin-left: 0.33em; margin-top: 0.33em; margin-bottom: 0.33em }
img.cam { max-height: 600px; max-width: 900px; width: 99vw; height: 66vh }
img.freehut { vertical-align: top }
img.activity { width: 20px; height: 20px }
iframe.meteoblue {
	max-width: 1128px;
	max-height: 975px;
	min-width: 394px;
	min-height: 341px;
	-ms-transform-origin: 0 0;
	-moz-transform-origin: 0 0;
	-o-transform-origin: 0 0;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0
}
iframe.meteoadmin {
	width: 95vw;
	height: 90vh;
}
table.freehut { border : 0px }
td.freehut, th.freehut { border-top: 0px; border-left: 0px; border-bottom: 1px dashed brown; border-right: 0px; padding-top: 0.33em; padding-bottom: 0.33em }
td.freehutOccupancy { border-top: 0px; border-left: 0px; border-bottom: 1px dashed brown; border-right: 0px; vertical-align: middle }
td.freehutOccupancy_weekend { border-top: 0px; border-left: 0px; border-bottom: 1px dashed brown; border-right: 0px; background-color: lightgray } 
td.activity { text-align: center}
td.altitude { text-align: center}
table, td, th { border-collapse: collapse; border: 1px solid brown }
tr.reached { background-color: lightgreen }
tr.notreached { color: darkgray }
table.Berge { width: 99vw }
section.gallery {
  line-height: 1;
  -webkit-column-count: auto;
  -webkit-column-gap:   0px;
  -moz-column-count:    auto;
  -moz-column-gap:      0px;
  column-count:         auto;
  column-gap:           0px;
}
section.meteo {
  line-height: 0;
  -webkit-column-count: auto;
  -webkit-column-gap:   0px;
  -moz-column-count:    auto;
  -moz-column-gap:      0px;
  column-count:         auto;
  column-gap:           0px;
}
section.freehut {
  line-height: 0;
  -webkit-column-count: auto;
  -webkit-column-gap:   0px;
  -moz-column-count:    auto;
  -moz-column-gap:      0px;
  column-count:         auto;
  column-gap:           0px;
}
video.cam { max-height: 600px; max-width: 900px; width: 99vw; height: 66vh }

@viewport{
    zoom: 1.0;
    width: extend-to-zoom;
}

@media screen and (min-width: 1235px)  {
  img.cam { width: 24.5vw; height: 16vw }
  img.panoramacam { width: 74.5vw; height: 16vh }
  video.cam { width: 24.5vw; height: 16vw }
}
@media screen and (min-width: 800px) and (max-width: 1234px) and (min-device-width: 800px) {
  img.cam { width: 33vw; height: 21vw }
  img.panoramacam { width: 99vw; height: 21vw }
  section.gallery {
    -moz-column-count:    3;
    -webkit-column-count: 3;
    column-count:         3;
  }
  video.cam { width: 33vw; height: 21vw }
}
@media screen and (min-width: 620px) and (max-width: 799px) and (min-device-width: 620px) {
  img.cam { width: 49.5vw; height: 32vw }
  section.gallery {
    -moz-column-count:    2;
    -webkit-column-count: 2;
    column-count:         2;
  }
  video.cam { width: 49.5vw; height: 32vw }
}
@media screen and (max-width: 619px) {
  section.gallery {
    -moz-column-count:    1;
    -webkit-column-count: 1;
    column-count:         1;
  }
}

/* ----------- iPhone 5 and 5S ----------- */
/* Portrait */
@media screen 
  and (device-aspect-ratio: 40/71)
  and (orientation: portrait) {
  div.control-group { font-size: 2em }
  select { height: 1.5em; font-size: 1.3em; border-top: 1px; }
  figcaption { font-size: 2 em }
  h1 { font-size: 3em }
  h3 { font-size: 2em }
  summary.subtitle { font-size: 2em }
  img.cam { width: 99vw; height: 64vw }
  section.gallery {
    -moz-column-count:    1;
    -webkit-column-count: 1;
    column-count:         1;
  }
  video.cam { width: 99vw; height: 64vw }
}
/* Landscape */
@media screen 
  and (device-aspect-ratio: 40/71)
  and (orientation: landscape) {
  select { height: 1.3em; font-size: 1.1em; border-top: 1px; }
  div.control-group { font-size: 2em }
  select.long-txt { font-size: 1.1em }
  img.cam { width: 49.5vw; height: 32vw }
  figcaption { font-size: 2em }
  h1 { font-size: 2em }
  h3 { font-size: 1.5m }
  summary.subtitle { font-size: 1.5em }
  section.gallery {
    -moz-column-count:    2;
    -webkit-column-count: 2;
    column-count:         2;
  }
  video.cam { width: 49.5vw; height: 32vw }
}

/* ---------------- iPad ---------------- */
@media screen
  and (device-aspect-ratio: 3/4)
  and (orientation: portrait) {
  img.cam { width: 49.5vw; height: 32vw }
  summary.subtitle { font-size: 1.3em }
  section.gallery {
    -moz-column-count:    2;
    -webkit-column-count: 2;
    column-count:         2;
  }
  video.cam { width: 49.5vw; height: 32vw }
}

@media screen
  and (device-aspect-ratio: 3/4)
  and (orientation: landscape) {
  h1 { font-size: 1.5em }
  img.cam { width: 33vw; height: 21vw }
  summary.subtitle { font-size: 1em }
  section.gallery {
    -moz-column-count:    3;
    -webkit-column-count: 3;
    column-count:         3;
  }
  video.cam { width: 33vw; height: 21vw }
}

#tooltip
{
  font-size: 0.8em;
  text-align: center;
  color: white;
  background: Brown;
  position: absolute;
  z-index: 100;
  padding: 7px;
}
 
#tooltip:after /* triangle decoration */
{
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: -4px solid transparent;
  border-top: 10px solid Brown;
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  margin-left: -10px;
}

#tooltip.top:after
{
  border-top-color: transparent;
  border-bottom: 10px solid #111;
  top: -20px;
  bottom: auto;
}

#tooltip.left:after
{
  left: 10px;
  margin: 0;
}

#tooltip.right:after
{
  right: 10px;
  left: auto;
  margin: 0;
}