* {
   font-size: 14px;
   line-height: 1.4em;
   margin: 0;
   border: none;
   font-family: Helvetica, Arial, sans-serif;
   max-height: 999999px;  /* prevent Chrome/Android font boosting */
   box-sizing: border-box;
}

html, body {
   width: 100%;
   height: 100%;
   padding: 0;
   margin: 0;
   background-color: #234;
   overflow: auto;
}

div.nav {
   width: 178px;
   padding: 0 10px;
   color: #ffa;
   background-color: #234;
   overflow: hidden;
   max-height: calc(100% - 171px);
   overflow-y: auto;
}

div.nav img {
   max-width: 24px;
}

div.nav * {
   color: #ffd;
}

div.nav_logo {
   width: 178px;
   height: 140px;
	padding: 14px 0;
   text-align: center;
}

div.nav_logo img {
   width: 120px;
}

div.nav_logo a {
   background-color: transparent;
}

div.menu {
   width:100%;
}

div.menu > * {
   width: 100%;
   padding: 4.5px 6px;
   line-height: 1.1em;
}

.touch div.menu > * {
   padding: 6px 6px;
}

div.menu > a:link {
	display: block;
	text-decoration: none;
}

div.menu > a:hover {
   color: #fff;
   background-color: #554;
}

div.menu > div.current {
   color: #fff;
   background-color: #775;
   padding: 4.5px 6px;
}

.touch div.menu > div.current {
   padding: 6px 6px;
}

div.menu > div.hr {
   width: 100%;
   height: 0;
   padding: 0;
   margin: 2px 0;
   border-bottom: solid 1px #aaa;
}

div.menu > a.lang {
   color: #fff;
}

div.updated {
   width: 178px;
	padding: 14px;
   color: #aa8;
   margin-top: 20px;
}


div.header {
   height: 70px;
   background: #234;
   overflow: hidden;
   position: absolute;
   top: 0;
   left: 178px;
   right: 0;
}

div.header_logo {
   display: none;
}

div.header_text {
   overflow: hidden;
   height: 100%;
   padding-top: 4px;
}

div.header_text img {
   height: 100%;
}

div.header_menubutton {
   display: none;
}

div.content_frame {
   border-left: solid 1px #666;
   border-top: solid 1px #ccc;
   background-color: #ffd;
   position: absolute;
   overflow: auto;
   top: 68px;
   bottom: 0;
   left: 178px;
   right: 0;
}

div.content {
   width: 900px;
   max-width: 100%;
   overflow: hidden;
   padding: 12px 18px 10px 18px;
}





p {
	color: #026;
	font-weight: normal;
	margin: 4px 0 0 0;
}

h2 {
	color: #a00;
	font-size: 1.5em;
	font-weight: bold;
	margin: 30px 0 6px 0;
   line-height: 1.1em;
}

h1 {
	color: #a00;
	font-size: 1.8em;
	font-weight: bold;
	margin: 10px 0;
   line-height: 1.1em;
}

b {
	font-weight: bold;
	color: inherit;
}

strong {
	font-size: 1.1em;
	font-weight: bold;
	color: inherit;
}

em {
	font-size: inherit;
   font-style: normal;
   color: #a00;
}

a {
   color: #008;
}

div.content_hdr p {
	font-size: 1.1em;
	font-weight: bold;
   color: #008;
}

div.content_hdr a {
   display: block;
   margin-left: 1.4em;
   padding-left: 24px;
   font-weight: bold;
   line-height: 1.8em;
   color: #008;
}

table,form {
	margin: 0;
	border-style: none;
	width: 100%;
}


table {
	table-layout: fixed;
   border-collapse: separate;
   border-spacing: 0;
}

td {
   vertical-align: top;
   border-style: none;
   padding: 4px;
   margin-bottom: 2px;
}

table.news {
   border-top: 1px solid #b00;
   table-layout: fixed;
}

table.grey td {
   background-color: #ddd;
}

table.grey td:nth-child(1) {
   width: 60%;
}

table.news td {
   border-bottom: 1px solid #b00;
}

table.instruments {
	border-top: 1px solid #888;
}

table.instruments td {
	border-bottom: 1px solid #888;
}

table.instruments td:nth-child(1), table.news td:nth-child(1) {
   width: 50%;
}

table.instruments td:nth-child(2)>img, table.news td:nth-child(2)>img {
   max-width: 100%;
}

img.shadow, table.instruments td:nth-child(2)>img, table.news td:nth-child(2)>img {
   box-shadow: 2px 2px 4px 1px #9ab;
   margin: 2px;
}

img.original, table.instruments td:nth-child(2)>img[title=Original], table.news td:nth-child(2)>img[title=Original] {
   box-shadow: 2px 2px 4px 1px #a88;
   border: dashed 1px #8888;
}

table.links { 
	background-color: #ddd; 
}

table.links td { 
	padding: 8px; 
}

table.links>tbody>tr>td:nth-child(1) { 
	width: 33%; 
}

table.links>tbody>tr>td:nth-child(1) img { 
	max-width: 100%; 
	max-height: 100px;
	border: 1px solid; 
   background-color: #fff;
}

table.links p { 
	font-weight: bold; 
}

table.contact { 
	background-color: #ddd; 
}

table.contact td { 
	padding: 8px; 
}

table.contact td:nth-child(1) { 
	width: 20%; 
	font-weight: 
	bold; color: #a00; 
}

div.privacy { 
	max-width: 600px; 
}

div.privacy > h2 { 
	font-size:1.1em; 
}

div.contact_images {
	display: flex;
	justify-content: space-between;
	width: 100%;
   aspect-ratio: 3.33 / 1;
	margin-bottom: 4px;
}



img {
	border: none;
}

ul {
   color: #026;
	margin: 3px 0;
   list-style-image: url(../img/arrow_right_red.svg);
}

li {
   margin: 6px 0;	
}

li * {
	line-height: 1.5em;
	font-weight: bold;
	text-decoration: none;
}

.touch li {
   padding: 2px 0;
}

table a {
   color: #a00;
   text-decoration: none;
   background-image: url(../img/arrow_right_red.svg);
   background-repeat: no-repeat;
   background-position: 4px 50%; 
   background-size: 13px;
   padding: 0 2px 0 18px;
}

input,textarea {
	color: #008;
	font-family: Courier New, Courier, monospace;
}

input.submit {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

img#TitleImage {
   max-width: 100%;
}

p.title {
   margin-top: 12px;
   margin-bottom: 8px;
   font-size: 1.2em;
	font-weight: bold;
}

p.indent {
   padding-left: 1.5em;
}

table.news p.title {
	font-size: 1.2em;
	font-weight: bold;
   margin-top: 12px;
   color: #a00;
}

p.img_text {
	margin: 0;
	color: #a00;
} 

p.img_text::before {
   content: "^ ";
   font-weight: bold;
} 

p.price {
   font-size: 1.2em;
   font-weight: bold;
   color: #664;
   margin: 0;
}



@media screen and (max-width:800px), screen and (max-device-width:800px) {
   div.nav {
      position: absolute;
      top: 56px;
      right: 8px;
      transition: max-height 0.5s;
      max-height: 0;
      padding: 0;
   }
   div.nav1 {
      box-shadow: 0px 1px 10px 1px #ccc;
      max-height: 600px;
      z-index: 9999;
      max-height: calc(100% - 60px) !important;
   }
   div.nav_logo {
      display: none;
   }
   div.header {
      left: 0;
      height: 50px;
      padding: 2px 0 0 10px;
   }
   div.header_logo {
      display: block;
	   position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      padding: 6px 12px;
   }
   div.header_logo * {
      height: 100%;
   }
   div.header_menubutton {
      display: block;
	   position: absolute;
      right: 0;
      top: 0;
      bottom: 0;
      padding: 16px 12px;
	   cursor: pointer;
	   background-color: #234;
   }

   div.header_menubutton > img {
      pointer-events: none;
   }

   div.header_text {
      position: absolute;
      left: 70px;
      top: 0;
      bottom: 0;
      display: block;
   }
   div.content_frame {
      left: 0;
      top: 50px;
   }
	table.instruments td:nth-child(2) img.shadow, table.news td:nth-child(2) img.shadow, table.grey td:nth-child(2) img.shadow {
      max-width: 120px;
	   max-height: 120px;
	}
   .large_screen_only {
      display: none;
   }
}

