html {
  position: relative;
  margin: 0;
  padding: 0;
}
body {
  position: relative;
  margin: 0;
  padding: 0;
  /* changed here */
  min-height: 100vh;
}

.errorline { 
	width: 100%;
    margin: 0px 10px 0px 10px; /* important */
	float:left; /* important */
}

fieldset {
    position:relative;
    padding-top:50px;
    border: 1px solid blue;
}

#nl {
  white-space: pre-line;
}

#nltab {
  white-space: pre-wrap;
}

#defmode {
	float: left;
	width: 950px;
}
.img { 
	width: 25px;
    height: 25px;
    float:left; 
}

.tmodal { 
	width: 100%;
	display: table;
}

.tcol1 { 
	width: 30%;
    height: 30px;
    margin: 0px 0px 0px 0px; /* important */
	padding: 0px 0px 0px 10px;
}
.tcol2 { 
	width: 55%;
    height: 30px;
    margin: 0px 0px 0px 0px; /* important */
}
.tcol3 { 
	width: 10%;
    height: 30px;
}


.tf { 
	width: 100%;
	display: table;
}
.tf1 { 
	width: 5%;
    height: 30px;
}
.tf2 { 
	width: 8%;
    height: 30px;
}
.tf3 { 
	width: 20%;
    height: 30px;
}
.tf4 { 
	width: 8%;
    height: 30px;
}
.tf5 { 
	width: 8%;
    height: 30px;
}
.tf6 { 
	width: 8%;
    height: 30px;
}
.tf7 { 
	width: 8%;
    height: 30px;
}
.tf8 { 
	width: 8%;
    height: 30px;
}
.tf9 { 
	width: 15%;
    height: 30px;
}

.tfd { 
	width: 100%;
	border: 1px solid;
	display: table;
}
.tfd1 { 
	width: 10%;
    height: 30px;
}
.tfd2 { 
	width: 10%;
    height: 30px;
}
.tfd3 { 
	width: 60%;
    height: 30px;
}
.tfd4 { 
	width: 10%;
    height: 30px;
}
.tfd5 { 
	width: 10%;
    height: 30px;
}

.tfl { 
	width: 100%;
	border: 1px solid;
}
.tfl1 { 
	width: 25%;
    height: 30px;
}
.tfl2 { 
	width: 25%;
    height: 30px;
}
.tfl3 { 
	width: 15%;
    height: 30px;
}
.tfl4 { 
	width: 10%;
    height: 30px;
}
.tfl5 { 
	width: 10%;
    height: 30px;
}

.tfx1 { 
	width: 20%;
    height: 30px;
}
.tfx2 { 
	width: 20%;
    height: 30px;
}
.tfx3 { 
	width: 20%;
    height: 30px;
}
.tfx4 { 
	width: 20%;
    height: 30px;
}
.tfx5 { 
	width: 15%;
    height: 30px;
}

.intab {
	border-radius: 1px;
  	border: 1px solid #c0c0c0;
	color: #202020;
  	white-space: pre-wrap;
	width: 95%;
}
.inadd {
	border-radius: 1px;
  	border: 1px solid #c0c0c0;
	color: #202020;
  	white-space: pre-wrap;
	width: 95%;
}
.insum {
	border-radius: 1px;
  	border: 1px solid #c0c0c0;
	color: #202020;
  	white-space: pre-wrap;
	width: 95%;
}
.intabsil {
	border-radius: 1px;
  	border: 1px solid #c0c0c0;
	color: #202020;
  	white-space: pre-wrap;
	background-color:transparent;
  	width: 95%;
}
.inaddsil {
	border-radius: 1px;
  	border: 1px solid #c0c0c0;
	color: #202020;
  	white-space: pre-wrap;
	background-color:transparent;
  	width: 95%;
}
.insumsil {
	border-radius: 1px;
  	border: 1px solid #c0c0c0;
	color: #202020;
  	white-space: pre-wrap;
	background-color:transparent;
  	width: 95%;
}

.intext { 
	width: 100%;
	float:left; /* important */
}
.intextwide { 
	width: 87%;
	margin-left:10%;
	margin-right:2%;
	padding: 2px 5px 2px 5px; 
}
.intextsmall { 
	width: 95%;
	margin-left:2%;
	margin-right:3%;
}


div.outer {
    min-height: 100%;
	width: 100%;
    color: black;
    overflow: hidden;
}
div.inner {
    height: 90%;
	width: 100%;
}
div.pseudoinner {
    height: 0px;
	width: 100%;
}

.outercontainer { 
    min-height: 100%;
    overflow: hidden;
	margin: 3px 3px 3px 7px; 
}

.container { 
	width: 100%;
}

.innercontainer { 
	width: 100%;
	margin: 10px 10px 10px 10px; 
	float:left; /* important */
}

/* small screen definitions */
div.smallheader {
	width: 95%;
	margin-left: 2%;
	margin-right: 3%;
	margin-bottom:2%;
	min-height: 15%;
}
div.smallheaderleft {
	float: left;
	width: 30%;
}
div.smallheaderright {
	float: right;
	width: 65%;
}

.smallhomeimage { 
	width: 70%;
	margin-left: 2%;
	margin-top: 5%;
	float:left; /* important */
}
div.smallheaderline {
	float: left;
}


div.smalllistt0 { 
	width: 95%;
	margin-left: 2%;
	margin-right: 3%;
	margin-bottom:3%;
	min-height: 4em;
	float:left; /* important */
}
div.smalllistt0image { 
	width: 20%;
	float:left; /* important */
}
div.smalllistt0name { 
	width: 35%;
  	white-space: pre-wrap;
	float:left; /* important */
}
div.smalllistt0text { 
	width: 45%;
	overflow: hidden;
  	text-overflow: ellipsis;
  	word-wrap: break-word;
  	display: block;
  	line-height: 1em;
    max-height: 4em;
  	white-space: pre-wrap;
    float:left; /* important */
}

div.smalllistt1 { 
	width: 95%;
	margin-top:4%;
	margin-left:2%;
	margin-right:3%;
	float:left; /* important */
}
div.smalllistt1image { 
	width: 50%;
	float:left; /* important */
}
div.smalllistt1name { 
	width: 50%;
  	white-space: pre-wrap;
	float:left; /* important */
}
div.smalllistt1text { 
	width: 100%;
 	padding-top: 20px; 
    overflow: hidden;
  	text-overflow: ellipsis;
  	word-wrap: break-word;
  	display: block;
  	line-height: 1em;
  	white-space: pre-wrap;
    float:left; /* important */
}

.smallheadline { 
	width: 95%;
	margin-left:2%;
	margin-right:3%;
	white-space: pre-wrap;
	float:left; /* important */
}
.smallbigimage { 
	width: 95%;
	margin-left:2%;
	margin-right:3%;
	float:left; /* important */
}
.smalltext { 
	width: 95%;
	margin-left:2%;
	margin-right:3%;
	white-space: pre-wrap;
}
div.smalltile { 
	aspect-ratio: 3 / 4;
	width: 100%;
	float:left; /* important */
}

/* end of small screen definitions */


/* wide screen definitions */
div.wideheader {
    min-height: 100px;
    height: 5%;
    margin-left:10%;
    width: 85%;
}
div.wideheaderleft {
	float: left;
	width: 25%;
}
div.wideheaderright {
	float: right;
	margin-top: 5%;
    width: 70%;
	float: left;
}

div.widelistt0 { 
	width: 87%;
	margin-left: 10%;
	margin-right: 3%;
	margin-bottom:3%;
	min-height: 4em;
	float:left; /* important */
}
div.widelistt0image { 
	width: 20%;
	float:left; /* important */
}
div.widelistt0name { 
	width: 35%;
  	white-space: pre-wrap;
	float:left; /* important */
}
div.widelistt0text { 
 	height: 100%;
	width: 45%;
	overflow: hidden;
  	text-overflow: ellipsis;
  	word-wrap: break-word;
  	display: block;
  	line-height: 1em;
    max-height: 4em;
  	white-space: pre-wrap;
    float:left; /* important */
}


div.widelistt1 { 
	width: 87%;
	margin-left:10%;
	margin-right:3%;
	margin-bottom:3%;
	float:left; /* important */
}
div.widelistt1image { 
	width: 40%;
	float:left; /* important */
}
div.widelistt1name { 
	width: 60%;
	float:left; /* important */
}
div.widelistt1text { 
	width: 60%;
 	padding-top: 20px; 
    overflow: hidden;
  	text-overflow: ellipsis;
  	word-wrap: break-word;
  	display: block;
  	line-height: 1em;
  	white-space: pre-wrap;
    float:left; /* important */
}
div.widetile { 
	aspect-ratio: 3 / 4;
	width: 33%;
	float:left; /* important */
}
img.imgfit {
    width: 95%;
    height: 80%;
    object-fit: cover;
}

.widehomeimage { 
	width: 80px;
	height: 100%;
	padding: 15px 30px 5px 0px; 
	margin: 2px 2px 2px 2px; 
	float:left; /* important */
}

.wideheadline { 
	width: 80%;
	margin-left:10%;
	margin-right:10%;
	padding: 2px 5px 2px 5px; 
	white-space: pre-wrap;
	float:left; /* important */
}
.widebigimage { 
	width: 80%;
	margin-left:10%;
	margin-right:10%;
	padding: 2px 5px 2px 5px; 
	float:left; /* important */
}
.widesmallimage { 
	width: 80%;
	margin-left:10%;
	margin-right:10%;
	padding: 2px 5px 2px 5px; 
	float:left; /* important */
}
.widetext { 
	width: 80%;
	margin-left:10%;
	margin-right:10%;
	padding: 2px 5px 2px 5px; 
	white-space: pre-wrap;
}
/* end of wide screen definitions */


#lanov {
    position: absolute; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 150px;
    top: 50px;
    right: 50px;
  	padding: 10px 10px 10px 10px;
    background: #fff59d;
    border: 1px solid gray;
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

#modalform {
    position: absolute; /* Sit on top of the page content */
    display: none; /* Hidden by default */
	min-width: 90%;
    top: 5%;
    left: 5%;
    background: #cccccc;
    border: 1px solid gray;
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}



.itemName { 
	padding: 0px 5px 0px 5px; 
}


.menuNameWide { 
	padding: 5px 25px 5px 0px; 
}
.menuNameSmall { 
	padding: 10px 0px 10px 0px; 
}

.language { 
	padding: 5px 5px 5px 5px; 
	float:right;
}
.regist { 
	padding: 5px 5px 5px 5px; 
	color: #808080;
	float:right;
}

.error { 
	padding: 5px 5px 5px 5px; 
  	font-weight: bold;
	color: red;
}

.marker{
	position: absolute;
    top: 0px;
    right: 0px;
    width:150px;
    right:0;
}

::placeholder {
  color: #c0c0c0;
}

textarea {
	display: table-cell;
	border-radius: 1px;
  	border: 1px solid #c0c0c0;
  	width: 95%;
 	padding: 0.5em;
}
label {
	display: table-cell;
}

td {
	display: table-cell;
}

.ITALIC {
  	font-style: italic;
}
.BOLD {
  	font-weight: bold;
}
.OTHER {
	background: #cccccc;
}
.SELECTED {
    color: #cc00cc;
}


H1, H2, H3, DIV, P { font-family: Arial }
