/***********************************************************************
** moje.css
***********************************************************************/

/*
For ThumbList2
img.thumbs { border:1px solid #dddddd; margin:2px; padding:4px; vertical-align: middle; }
img.thumbs:hover, table.thumbtable td.thumbtd div.img:hover { border:1px solid red; }
table.thumbtable img.thumbs { border: 0; padding:0; }
table.thumbtable td.thumbtd {  margin:4px; padding:2px;}
table.thumbtable td.thumbtd:hover { border-color:red; }
table.thumbtable { border:1px solid #cccccc; }
table.thumbtable td.thumbtd div.img { border: 1px solid #dddddd; text-align: center;}
 .caption { font-size:.8em; overflow:hidden; padding:0px; line-height:1.1em;}
img.current, table.thumbtable td.thumbtd div.current { border-color: #ff0000;}
*/


/* This sets the overall frame for the site */
body {
  /*background: url(logo.jpg) #ffc no-repeat;*/
  background: #ffffff;
  /*font-family:Verdana,Arial,Helvetica,sans-serif;*/
  font: normal 14px Arial,Helvetica,sans-serif;
  /*font-family:Helvetica;*/
  font-size:14px;
}

/* These control the fixed-width text elements of the page */
textarea, pre, code { font-size:0.9em; }
pre, code { font-family:'Lucida Console','Andale Mono','Courier New',Courier,monospace; border:0px #cccccc dashed; background: #ffffe5; }
pre { line-height:1.2em; }
pre code, code code, pre pre { font-size:100%; }

/* These primarily adjust the size and spacing of heading elements,
** most browsers have atrocious defaults for these. */
h1, h2, h3, h4, h5, h6 { margin-top:1.0em; margin-bottom:0.6em; }
h1, h2, h3, h6 { font-weight:normal; }
h4, h5 { font-weight:bold; }
h1 code, h2 code, h3 code, h4 code { font-size:1em; }
h1 { font-size:1.3em; }
h2 { font-size:1.2em; }
h3 { font-size:1.1em; }
h4 { font-size:1.05em; }
h5 { font-size:1.0em; }
h6 { font-size:1.0em; }

#bigdiv {
  min-width:902px;
  max-width:1200px;
  margin:0 auto 0 auto;
  padding:0px;
  background: #f4f4f4;
}

/*wikiupper start*/

#wikiupper {
  height:118px;
  min-width:902px;
  max-width:1200px;
  margin-top:10px;
  margin-bottom:0px;
  padding:0px;
  border:0px;
  background: #4f4fff url(GATS_logo.png) no-repeat;
}

/* The #wikilogo element is the logo from $PageLogoFmt */
#wikilogo {
  float:left;
  width:600px;
  height:90px;
  margin:0px;
  padding:14px;
  font-size: 2.0em;
  color: #000000;
}
#wikilogo a { text-decoration:none; color:black; }
#wikilogo a:hover { text-decoration:none; color:blue; }

/* This controls the rest of the heading (primarily the search box) */
#wikihead {
  position:relative;
  float:right;
  margin:0px;
  top:90px;
  right:10px;
  /*font-family:Verdana,sans-serif;*/
  font-size:80%;
  color: #a0a0a0;
}
#wikihead input {
  font-size:90%;
  color: black;
}
#wikihead a { text-decoration:none; color: #a0a0a0; }
#wikihead a:hover { text-decoration:underline; color:gray; }

/*wikiupper end*/
/*wikicentrall start*/

#wikicentral {
  min-width:902px;
  max-width:1200px;
  margin:0px;
  margin-top:0px;
  margin-bottom:0px;
  padding:0px;
}

/* These are for the left-sidebar. */
#wikileft {
  float:left;
  width:200px;
  padding:6px;
  margin:0px;
  margin-right:0px;
  border:0px;
  line-height:1.33em;
  font-size:0.9em;
  font-family:Verdana,sans-serif;
  /*background: url(./tlo/lewy.png) #e9e9e9 no-repeat;*/
  background: #e9e9e9 no-repeat;
  color: #111111;
}
#wikileft .vspace { margin-top:1.125em; }
#wikileft a { text-decoration:none; color:black; }
#wikileft a:hover { text-decoration:underline; color:blue; }
#wikileft ul { list-style:none; padding:0px; margin:1px; }
#wikileft li { margin:1px; padding-left: 6px; }
.sidehead {
  margin:0px; padding:4px 2px 2px 2px;
  font-size:1.0em; font-weight:bold; font-style:normal; 
}
.sidehead a 
  { color:#505050; font-weight:bold; font-style:normal; }

#wikiup {
  float:right;
  width:100%;
  margin:0px;
  margin-bottom:0px;
  height: 16px;
  padding:0px;
  /*background: #afafff no-repeat;*/
  background: #f4f4f4 no-repeat;
  border:0px;
  font-size:0.8em;
}

#wikiup a { text-decoration:none; color: #eeeeee; padding-left: 10px; padding-top:3px;}
#wikiup a:hover { text-decoration:underline; color: #7070ff; }

#wikititle {
  float:left;
  color: #eeeeee;
}

/* These affect the main content area. */
#wikibody2 {
  float:right;
  margin:0px;
  width:100%;
  padding:0px;
  padding-top:0px;
  padding-bottom:20px;
  background: #f4f4f4 no-repeat;
  border:0px;
  font-size:1.0em;
}

#wikibody {
  margin:0px;
  width:90%;
  padding-left:50px;
  padding-right:50px;
  font-size:1.0em;
}

#wikicmds {
  float:right;
  padding-top: 4px;
  padding-right: 6px;
  white-space:nowrap;
  /*font-family:Verdana,sans-serif;*/
  /*letter-spacing:-0.2px;*/
  /*word-spacing:0px;*/
  font-size:0.9em;
  color: #f4f4f4;
}
#wikicmds ul { list-style:none; margin:0px; padding:0px; }
#wikicmds li { display:inline; margin:0px 4px; }
#wikicmds li a { text-decoration:none; color:#f9f9f9; border:none; }
#wikicmds li a.createlink { display:none; }
#wikicmds li a:hover { text-decoration:underline; color:#686868; }
.pagegroup { margin-top:4px; margin-bottom:2px; }
.pagetitle { line-height:1em; margin:0px; font-size:1.4em; font-weight:normal; }
.wikiaction { margin-top:4px; margin-bottom:4px; }
#wikitext { margin-top:12px; line-height:1.33em; }
#wikitext table { font-size:1.0em; line-height:1.33em; } /* For MSIE 5.5 */

/* These are for the edit form. */
#wikiedit form { margin:0px; width:100%; }
#wikiedit textarea { width:100%; }
.wikimessage { margin-top:4px; margin-bottom:4px; font-style:italic; }

/*wikicentrall end*/
/*wikifoot start*/

/* These affect the lines at the very bottom. */
#wikifoot {
  padding-left:225px;
  padding-bottom:4px;
  height: 1.0em;
  /*border-top:1px #cccccc solid;*/
  color: #b5b5b5;
  /*font-family:Verdana,sans-serif;*/
  font-size:0.8em;
  background: #cccccc;
}

#wikifoot a { text-decoration:none; color:#b5b5b5; }
#wikifoot a:hover { text-decoration:underline; color:gray; }

/*wikifoot end*/

/* These affect the printed appearance of the web view (not the separate
** print view) of pages.  The sidebar and action links aren't printed. */
@media print {
  body { width:auto; margin:5px; padding:0.5em; }
  #wikihead, #wikileft, #wikicmds, .footnav { display:none; }
  #wikifoot { padding:2px; }
}

/* IOA mobile layout: narrow screens */
@media screen and (max-width: 1001px) {
  html, body { max-width: 100%; }
  #bigdiv, #wikiupper, #wikicentral {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  #wikiupper { height: auto; min-height: 90px; background-size: auto 100%; }
  #wikilogo { box-sizing: border-box; float: none; width: 100%; max-width: 100%; height: auto; padding: 8px; }
  #wikilogo img { display: block; max-width: 100%; height: auto; }
  #wikihead { box-sizing: border-box; position: static; float: none; width: 100%; margin: 0; padding: 6px 10px; }
  #wikihead form { max-width: 100%; }
  #wikicentral > table,
  #wikicentral > table > tbody,
  #wikicentral > table > tbody > tr,
  #wikicentral > table > tbody > tr > td { display: block; box-sizing: border-box; width: 100% !important; max-width: 100%; }
  #wikileft { box-sizing: border-box; float: none; width: 100%; max-width: 100%; margin: 0 0 10px; }
  #wikiup, #wikibody2 { box-sizing: border-box; float: none; width: 100%; max-width: 100%; height: auto; }
  #wikibody { box-sizing: border-box; width: 100%; max-width: 100%; padding: 8px 12px; overflow-wrap: anywhere; }
  #wikitext img, #wikibody img, #wikibody iframe, #wikibody object,
  #wikibody embed, #wikibody video { max-width: 100%; height: auto; }
  #wikitext table { display: block; box-sizing: border-box; max-width: 100%; overflow-x: auto; }
  #wikibody pre, #wikibody code { max-width: 100%; overflow-x: auto; }
  #wikicmds { box-sizing: border-box; float: none; width: 100%; white-space: normal; }
  #wikifoot { box-sizing: border-box; height: auto; padding: 8px; }
  #wikifoot .footnav, #wikifoot .lastmod { box-sizing: border-box; float: none !important; width: 100% !important; padding: 4px 0; }
}
