@charset "utf-8";

body {
	color: #999;
	background-color: #000;
	font-size: 12pt;
}
a:link, a:visited {
	text-decoration: underline;
	color: #999;
}
a:hover, a:active {
	color: #F00;
	text-decoration: underline;
}
a.block:link, a.block:visited {
	text-decoration: underline;
	text-align: center;
	padding: 2px;
	display:block;
}
a.block:hover, a.block:active {
	color: #F00;
	text-decoration: underline;
	background: #FFCC66;
}

div.tn_table {
	display: table;
}
figure.tncells {
	display: table-cell;
	float: left;
	text-align: center;
	height: 170px;
	overflow: hidden;
	width: 150px;
	min-width: 150px;
	padding: 10px;
	margin: 5px;
	border-radius: 15px;
	border: 1px solid #333;
	vertical-align:middle;
}
img.nav_but {
	vertical-align:middle;
	border-style: none;
}
footer {
	font-size: 80%;
    text-align: center;
    padding-top: 2em;
    padding-right: 10px;
    padding-left: 10px;
}

.smalltext {
	font-size: 10pt;
}
.tn {
	border: 1px solid #FFF;
}
#tn_table {
	display: table;
	clear: left;
	vertical-align: top;
}
#tn_table .tncells figcaption {
	font-size: 80%;
}
img.landscape {
	margin-top: 15px;
}

#navmenu, #bottom_menu {
    text-align: left;
	padding-left: 0px;
}
#navmenu li, #bottom_menu li {
    list-style: none;
    float: left;
    padding-right: 0.2em;
    padding-left: 0.2em;
}
#navmenu li a, #bottom_menu li a {
    display: block;
    padding-left: 0.4em;
    padding-right: 0.4em; 
    background-color: #333;
    color: #FFF;
    text-decoration: none;
}
#navmenu li.but_pulldown a {
    background-color: #333;
}
#navmenu li a:hover, #bottom_menu li a:hover {
    background-color: #F00;
    color: #FFF;
}
#navmenu li ul {
    display: none;
    width: 12em;
    background-color: #333;
    z-index: 99;
    border: 1px solid #FFF;
	font-size: 12pt;
}
#navmenu li:hover ul, #navmenu li.hover ul {
    display: block;
    position: absolute;
    padding: 4px;
}
#navmenu li:hover li, #navmenu li.hover li {
    float: none;
}
#navmenu li:hover li a, #navmenu li.hover li a {
    background-color: #333;
    padding-top: 3px;
    padding-bottom: 3px;
}
#navmenu li li {
	padding-top: 0.1em;
	padding-bottom: 0.1em;
    color: #333;
}
#navmenu li li a:hover {
    background-color: #F00;
    color: #FFF;
}
#navmenu li a.menu_button, #bottom_menu li a.menu_button {
    border-radius: 5px;
	padding-top: 2px;
	padding-left: 3px;
	padding-right: 3px;
	margin-left: 3px;
	margin-right: 3px;
}
#navmenu li img.menu_button, #bottom_menu li img.menu_button {
    height: 2.4em;
	width: 2.4em;
}
#navmenu p.menu_button {
	padding-top: 0.5em;
	height: 2.4em;
	overflow: hidden;
}

/* for full fto */
#ftodiv {
	position:fixed;
	left:auto;
	top:0;
	padding: 20px;
	width:1px;
	max-width:980px;
	height:1px;
	background-color: #000;
/*	background: rgba(24, 24, 24, 0.85);*/
	visibility: hidden;
	z-index: 1;
/*	-webkit-backface-visibility: hidden;  /* for Android 2.x - set viewport "user-scalable=no" is better, but => pads failed  */
}
#fullfto_box {
	display: table;
	float: left;
	width: 75%;
	height: 500px;
	background-image: url("/loadfile.php?gif=loading2");
	background-repeat: no-repeat;
	background-position: 49% 30%;
}
#fullfto_box figure {
	display: table-cell;
	text-align: center;
	vertical-align: top;
}
#fullfto_box figcaption {
	margin-bottom: 10px;
	color: #CCC;
}
img#fullfto {
	margins: 10px;
	text-align: center;
	border: 1px solid white;
}
#nav_box {
	float: left;
	text-align: center;
	width: 20%;
}
header {
	position: relative;
	margin-bottom: 15px;
	line-height: 120%;
	padding-bottom: 15px;
	padding-right: 5px;
	padding-left: 5px;
	font-size: 11pt;
	color: #CCC;
}
/*header img {
	padding-left: 5px;
	font-size: 1.2em;
}*/
header #navbuttons {
	width: 140px;
	margin-left: 2em;
	margin-bottom: 1.5em;
}
#ftoDetails {
	position:absolute;
	left: 50%;
	width: 25%;
	top: 50px;
	z-index:2;
	font-size: 10pt;
	color: #000;
	text-align: center;
	visibility: hidden;
	border: 3px solid #00F;
}
#ftoDetails table {
	text-align: left;
}
#ftoDetails table td {
	vertical-align: top;
	padding: 3px;
}
div.button {
	float: left;
	width: 10%;
	margin-top: 10px;
	text-align: center;
}
div.rect {
	width: 20%;
	padding-top: 20px;
	font-size: 0.9em;
}
#p_Likeit {
	color: #CCC;
}
#copyright {
	clear: left;
	padding-top: 2em;
}
#cpr {
	clear: left;
	text-align: center;
	font-style: italic;
	vertical-align: bottom;
	font-size: 10pt;
	padding-top: 2em;
	margin-right: 25%;
}
img#calibration_bar {
	border:1px solid #333;
	width: 100%;
	max-width: 416px;
}

/* center page for wide scrn */
@media only screen and (min-device-width:981px)
{
  #container {
	  max-width: 980px;
	  margin: auto;
  }
}

/* 1-col */
@media only screen and (max-device-width:499px)
{
  figure.tncells {
	width: 33%;
	margin: 5px 5px 5px 0px;
	padding: 0px;
	padding-top: 5px;
  }
  #tn_table {
	margin-left: 0px;
  }
}

/* 2-col */
@media only screen and (max-device-width:360px)
{
  figure.tncells {
	width: 47%;
	margin: 5px 5px 5px 0px;
	padding: 0px;
	padding-top: 5px;
  }
  #tn_table {
	margin-left: 0px;
  }
}

/* for full fto ... */
@media only screen and (max-device-width:850px)
{
  #ftodiv {
	padding: 0px;
	padding-top: 10px;
  }
  #fullfto_box {
	width: 70%;
  }
  #fullfto_box img.landscape {
	width: 92%;
	margin-top: 0;
  }
  #fullfto_box img.portrait {
/*	max-height: 270px !important;*/
	width: auto;
  }
  #fullfto_box  figure figcaption {
	height: 12pt;
	font-size: 10pt;
	overflow: hidden;
  }
  #heading, #show_details {
	display: none;
  }
  div.button {
	width: 20%;
  }
  div.rect {
	width: 20%;
  }
  #cpr {
  	margin-right: 0;
  }
}

@media only screen and (max-device-width:850px) and (orientation: portrait)
{
  #fullfto_box {
	width: 100%;
	height: auto;
	min-height: 150px;
  }
  #fullfto_box  figure figcaption {
	height: auto;
  }
  div.rect {
	width: 30%;
	padding-top: 0px;
  }
}
