@import url('https://fonts.googleapis.com/css2?family=Carlito:ital,wght@0,400;0,700;1,400;1,700&display=swap');

a { text-decoration: none; }

h1
{
	padding: 0;
	margin: 0;
}

body
{
	background: url(../images/GrecsduRoi.jpg) repeat top left fixed;
	font-family: Calibri, "Carlito", "PT Sans", Helvetica, sans-serif;
	font-weight: 400;
}

#wrapper
{
	width: 790px;
	height: auto;
	margin: 0 auto 0 auto;
	border: 0;
	padding: 0;
	text-align: left;
	background-color: #EDEBDC;
}

#overlay
{
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background-color: rgba(0,0,0,0.7);
  z-index: 10; 
  cursor: pointer;
}

#imgCenter
{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
}

.italic { font-style: italic; }

.semibold { font-weight: 600; }

.red { color: #f00; }

.semibold-red
{
	color: #f00;
	font-weight: 600;
}

.strike { text-decoration: line-through; }

.smallcaps { font-variant: small-caps; }

.sup
{	
	font-size: 7pt;
	vertical-align: super;
}

.mono
{
	font-family: Menlo, "Courier New", monospace;
	font-size: 9pt;
}

#nav
{
	float: left;
	overflow: hidden;
	width: 165px;
	height: 100%;
	position: fixed;
	top: 103px;
	color: #111;
	background-color: #EDEBDC;
	font-family: "Gill Sans", "Gill Sans MT", "Gill Sans Std", Calibri, Helvetica, sans-serif;
	font-size: 9pt;
	text-transform: uppercase;
	text-align: center;
}

#nav ul
{
	display: block;
	clear: left;
	float: top;
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

#nav p
{
	color: #00439A;
	text-align: center;
/*	line-height: 0.01em;*/
	margin: -5px 0px -4px 0px;
}

#nav a
{
	display: block;
	color: #00439A;
	padding: 12px 16px;
	line-height: 1.25em;
}

#nav a.menu
{
	padding: 12px 16px 6px 16px;
	line-height: 1.25em;
}

#nav li li a
{
	display: block;
	color: #00439A;
	padding: 6px 8px;
	font-size: 7.75pt;
	line-height: 1.25em;
}

#nav a:visited
{
	background-color: #EDEBDC;
	color: #3677F5;
}

#nav a:hover
{
	background-color: #3677F5;
	color: white;
}

#nav a:active
{
	background-color: #00439A;
	color: white;
}

/*#nav a:active:hover {
	background-color: #00439A;
	color: white;
	font-weight:600;
}*/

#header
{
	position: fixed;
	top: 0px;
	height: 103px;
	width: 790px;
	color: white;
	background-color: #00439A;
	clear: left;
	text-align: center;
	z-index:100;
}

#article
{
	max-width: 90%;
	margin-top: 103px;
	margin-left: 165px;
	padding: 0px 20px 100px 20px;
	border-left: 0px;
	overflow: auto;
	color: #222;
	font-size: 11pt;
	font-family: inherit;
	background-color: #FFF;
	scroll-snap-type: y mandatory;
	z-index:0
}

#article h2
{
	padding-top: 15px;
	scroll-snap-align: start;
	scroll-margin-top: 103px;
	scroll-snap-margin-top: 103px;
	font-size: 12pt;
	font-family: "Gill Sans", "Gill Sans MT", "Gill Sans Std", Calibri, Helvetica, sans-serif;
	text-align: center;
	text-transform: uppercase;
	font-weight: normal;
}

#article h3
{
	padding-top: 10px;
	scroll-snap-align: start;
	scroll-margin-top: 108px;
	scroll-snap-margin-top: 108px;
	font-size: 11pt;
	font-family: "Gill Sans", "Gill Sans MT", "Gill Sans Std", Calibri, Helvetica, sans-serif;
	text-align: center;
	text-transform: uppercase;
	font-weight: normal;
}

#article p
{
	font-size: 11pt;
	text-align: justify;
}

#article p.note
{
	margin-left: 20px;
	margin-right: 20px;
	font-size: 10.5pt;
	text-align: justify;
}

#article p.smallnote
{
	margin-left: 20px;
	margin-right: 20px;
	font-size: 10pt;
	text-align: justify;
}

#article p.img
{
	text-align: center;
	margin: -10px auto;
	display: block;
}

#article p.gnu
{
	font-size: 9pt;
	font-family: Menlo, "Courier New", monospace;
	margin: 25px 75px 0px 75px;
}

#article a:link
{
	color: #444;
	text-decoration: none;
	border-color: #ccc;
	border-width: 0 0 1px 0;
	border-style: none none solid none;
	padding: 2px 0px 1px 0px;
}

#article a:visited
{
	color: #777;
	border-color: #ccc;
	border-width: 0 0 1px 0;
	border-style: none none dotted none;
}

#article a:hover
{
	color: white;
	text-decoration: none;
	background-color: #3677F5;
	border-color: #3677F5;
}

#article a:active
{
	background-color: #00439A;
	color: white;
	border-color: #CCCCFF;
	border-width: 0 0 1px 0;
	border-style: none none solid none;
}

#article a.red:link
{
	color: #f00;
	text-decoration: none;
	border-color: #ccc;
	border-width: 0 0 1px 0;
	border-style: none none solid none;
	padding: 2px 0px 1px 0px;
}

#article a.red:visited
{
	color: #FF9300;
	border-color: #ccc;
	border-width: 0 0 1px 0;
	border-style: none none dotted none;
}

#article a.red:hover
{
	color: white;
	text-decoration: none;
	background-color: #3677F5;
	border-color: #3677F5;
}

#article a.red:active
{
	background-color: #00439A;
	color: white;
	border-color: #CCCCFF;
	border-width: 0 0 1px 0;
	border-style: none none solid none;
}

#article ul
{
	color: #222;
	font-size: 11pt;
	text-align: justify;
	margin: 0px 10px 0px 0px;
}

#article ul.none { list-style-type: none; }

#article ul.disc { list-style-type: disc; }

#article ul.mono
{
	list-style-type: none;
	text-align: left;
	font-family: Menlo, "Courier New", monospace;
	font-size: 9pt;
}

#article li
{
	scroll-snap-align: start;
	scroll-margin-top: 118px;
	scroll-snap-margin-top: 118px;
}

.index {
	display: grid;
	grid-template-columns: 70px auto;
	column-gap: 20px;
	margin: 15px 20px 15px 20px;
}

.item {
	background-color: #fff;
	color: #000;
	font-family: inherit;
	font-size: 10.5pt;
}

.work {
	grid-column: 1 / span 2;
}

footer
{
	width: 790px;
	position: fixed;
	bottom: 0;
	color: white;
	background-color: #00439A;
	clear: left;
	font-family: inherit;
	font-size: 9pt;
	text-align: center;
}

footer a:link
{
	color: white;
	text-decoration: none;
	border-color: #CCC;
	border-width: 0 0 1px 0;
	border-style: none none solid none;
	padding: 2px 0px 1px 0px;
}

footer a:visited
{
	color: #DDD;
	border-color: #DDD;
	border-width: 0 0 1px 0;
	border-style: none none dotted none;
}

footer a:hover
{
	color: white;
	text-decoration: none;
	background-color: #3677F5;
	border-color: #3677F5;
}

footer a:active
{
	background-color: #EDEBDC;
	color: #00439A;
	border-color: #00439A;
	border-width: 0 0 1px 0;
	border-style: none none solid none;
}

@media only screen and (max-width: 640px) and (orientation: portrait) {
/* For widths less than or equal to 640px,
   in portrait mode,
   take 100% of the screen width,
   don't show any background img,
   put navbar at the bottom,
   and don't adjust the text size */
  #wrapper {
	width: 100%;
	background-color: #00439A;
	-webkit-text-size-adjust: none;
  }

  #header {
	position: relative;
	height: 10px;
	width: 100%;
  }

  #article {
	max-width: 100%;
	margin-left: 0px;
	padding: 0px 20px 12px 20px;
  }

  #nav {
	float: none;
	overflow: hidden;
	width: 100%;
	height: auto;
	position: relative;
	top: -8px;
  }

  #nav ul { float: none; }

  footer {
	width: 99%;
	position: relative;
	top: -8px;
	padding: 10px 3px 1px 1px;
  }

 .img-responsive {
    width: auto;
    max-width: 100%;
    height: auto;
  }
}

@media only screen and (min-width: 641px) and (max-width: 960px) and (orientation: portrait) {
/* For widths between 641px and the desktop site's width,
   in portrait mode,
   take 75% of the screen width (show 25% of background img),
   put navbar at the bottom,
   and don't adjust the text size */
  #wrapper {
	width: 75%;
	background-color: #00439A;
	-webkit-text-size-adjust: none;
  }

  #header {
	position: relative;
	height: 10px;
	width: 100%;
  }

  #article {
	max-width: 100%;
	margin-left: 0px;
	padding: 0px 20px 12px 20px;
  }

  #nav {
	float: none;
	overflow: hidden;
	width: 100%;
	height: auto;
	position: relative;
	top: -8px;
  }

  #nav ul { float: none; }

  footer {
	width: 99%;
	position: relative;
	top: -8px;
	padding: 10px 3px 1px 1px;
  }

 .img-responsive {
    width: auto;
    max-width: 100%;
    height: auto;
  }
}

@media only screen and (max-width: 960px) and (orientation: landscape) {
/* For widths less than or equal to the desktop site's width,
   in landscape mode,
   take 70% of the screen width (show 30% of background img),
   put navbar at the bottom,
   and don't adjust the text size */
  #wrapper {
	width: 70%;
	background-color: #00439A;
	-webkit-text-size-adjust: none;
  }

  #header {
	position: relative;
	height: 10px;
	width: 100%;
  }

  #article {
	max-width: 100%;
	margin-left: 0px;
	padding: 0px 20px 12px 20px;
  }

  #nav {
	float: none;
	overflow: hidden;
	width: 100%;
	height: auto;
	position: relative;
	top: -8px;
  }

  #nav ul { float: none; }

  footer {
	width: 99%;
	position: relative;
	top: -8px;
	padding: 10px 3px 1px 1px;
  }

 .img-responsive {
    width: auto;
    max-width: 100%;
    height: auto;
  }
}