/*----------------------------------------------------------------------
location.css holds CSS3 style definition used by location.html in the website.
Application: Website CultLib
Platform   : CSS3
------------------------------------------------------------------------
Copyright  : http://creativecommons.org/publicdomain/zero/1.0/
Developed  : Hartwig Thomas, Zurich, Switzerland, 2022
Created    : Dec 2022, Hartwig Thomas
----------------------------------------------------------------------*/
/*======================================================================
media-independent rules
======================================================================*/
@import "sfpd.css";

main
{
  height: var(--main_height);
  width: var(--main_width);
}

main>div
{
	overflow-y: auto;
  cursor: default;
}

main>div:first-child
{
  width: var(--main_width);
  height: auto;
}

main>div:first-child>img
{
  width: 95%;
  height: auto;
}

main>div>p
{
  font-size: 12pt;
}

main>div:last-child
{
  height: calc(0.9 * (var(--main_height) - var(--main_width)));
  width: 90%;
}

@media (orientation: landscape)
{
  main>div:first-child
  {
    height: var(--main_height);
    width: var(--main_height);
  }
  
  main>div:last-child
  {
    width: calc(0.9 * (var(--main_width) - var(--main_height)));
    height: 100%;
  }

  main>div>p
  {
    margin-top: 0;
  }
  
}

