/*----------------------------------------------------------------------
structure.css holds CSS3 style definition used by structure.html in the website.
Application: Website CultLib
Platform   : CSS3
------------------------------------------------------------------------
Copyright  : http://creativecommons.org/publicdomain/zero/1.0/
Developed  : Hartwig Thomas, Zurich, Switzerland, 2021
Created    : June 2021, Hartwig Thomas
----------------------------------------------------------------------*/
/*======================================================================
media-independent rules
======================================================================*/
@import "sfpd.css";

main>div:first-child
{
  width: calc(100% / 3);
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

main>div:first-child>object
{
	height: 100%;
	width: 100%;
}

main>div:last-child
{
	--size_text_font: 11pt;
  font-size: var(--size_text_font);
	width: 90%;
  height: var(--main_height);
	overflow-y: auto;
}

.board strong::after
{
	content: "\A   ";
	white-space: pre; /* or pre-wrap */
}

@media (orientation: landscape)
{
	main>div:first-child
	{
    height: 90%;
    width: auto;
    max-height: calc(0.9 * var(--main_height));
  }
  
  main>div:last-child
  {
    height: 90%;
    width: calc(90% - 0.9 * var(--main_height));
  }

  main>div>p
  {
    margin-top: 0;
  }
  
}

