body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}

input {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}

select {
  font-size: 16px;
}

button {
  font-size: 16px;
}

.nicetable {
  border-collapse: collapse;
  border: 1px solid black;
}

.nicetable td {
  border: 1px solid black;
  padding: 5px;
}

.content {
  margin-top: 20px;
}

.menutd {
    height:100%;
    background-color: #DDCCFF;
}
.menutd:hover {
    background-color: #AAAAFF;
}

.dropdown {
  position: relative;
  display: inline-block;
  z-index: 5;
}

.dropdown-content {
  display: none;
  position: absolute;
  margin-top: 8px;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 6;
}

.dropdown-content p {
  color: black;
  text-decoration: none;
  padding: 8px;
  display: block;
}

.dropdown-content p:hover {
  background-color: #4CAF50;
}

.dropbtn {
  background-color: #4CAF50;
  color: white;
  padding: 8px;
  border: none;
  cursor: pointer;
  display:inline;
}

.docbtn {
  background-color: #1c87c9;
  padding: 8px;
  border: solid black 1px;
}

.wrap-button {
  background-color: #219325;
  color: white;
  padding: 8px;
  border: none;
  cursor: pointer;

}

@media only screen and (orientation: landscape) {

  .grd_right {
    position:absolute;top:50px;width:58%;height:100%;left:42%;
  }

  .grd_left {
    position:absolute;top:50px;width:40%;height:100%;
  }
}

@media only screen and (orientation: portrait) {
  body {
    font-size: 2.5em;
  }
  input{
    font-size: 1.2em;
    width:100%;
    border-width:thick;
  }

  select{
    font-size: 1em;
    width:100%;
    border-width:thick;
  }

  .dropbtn {
    font-size: 1em;
  }

  .wrap-button{
    font-size: 1em;
  }

  .uname {
    position: fixed; 
    bottom:0%;
    right:0%;
  }

  .grd_right {
    position: relative;
    width:100%;
    height: unset;
  }

  .grd_left {
    position: relative;
    width:100%;
    height: unset;
  }
  
}



.appname {
  background-color: lightblue;
  font-weight: bold;
  color:orangered;
}

.uname {
  cursor:default;
}

.cview {
  cursor:default;
  background-color: #1c87c9;
}

@keyframes spinner {
  0% {
    transform: translate3d(-50%, -50%, 0) rotate(0deg);
  }
  100% {
    transform: translate3d(-50%, -50%, 0) rotate(360deg);
  }
}

.spin::before {
  animation: 1.5s linear infinite spinner;
  animation-play-state: inherit;
  border: solid 5px #cfd0d1;
  border-bottom-color: #1c87c9;
  border-radius: 50%;
  content: "";
  height: 40px;
  width: 40px;
  position: absolute;
  top:0;
  left:0;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
}

#line {
  border-bottom: 1px black dotted;
  overflow:visible;
  height:9px;        
  margin: 5px 0 10px 0;
}

#line span {
  background-color: white;        
  padding: 0 5px;
}​ 

/* (A) SPEECH BOX */
.speech {
  /* (A1) FONT */
   font-size: 1.1em;
 
  /* (A2) COLORS */
  color: #fff;
  background: #a53d38;
 
  /* (A3) DIMENSIONS + POSITION */
  padding: 20px;
  border-radius: 10px;
  margin: 50px auto;
  max-width: 320px;
}

/* (B) ADD SPEECH "CALLOUT TAIL" */
/* (B1) USE ::AFTER TO CREATE THE "TAIL" */
.speech::after {
  /* (B1-1) ATTACH TRANSPARENT BORDERS */
  content: "";
  border: 20px solid transparent;
 
  /* (B1-2) NECESSARY TO POSITION THE "TAIL" */
  position: absolute;
}
 
/* (B2) BOTTOM "CALLOUT TAIL" */
.bottom.speech::after {
  /* (B2-1) DOWN TRIANGLE */
  border-top-color: #a53d38;
  border-bottom: 0;
 
  /* (B2-2) POSITION AT BOTTOM */
  bottom: -20px; left: 50%;
  margin-left: -20px;
}

/* (B2) BOTTOM "CALLOUT TAIL" */
.bottomgreen.speech::after {
  /* (B2-1) DOWN TRIANGLE */
  border-top-color: #4CAF50;
  border-bottom: 0;
 
  /* (B2-2) POSITION AT BOTTOM */
  bottom: -20px; left: 50%;
  margin-left: -20px;
}

.lectbox {
   width:90%;
   vertical-align: middle;
   border:#1c87c9 2px solid;
   padding: 5px;
   margin: 5px;
   border-radius: 5px;
}

.lectable {
  border:1px solid;
  border-collapse: collapse;
  width:100%;
  font-size:12px;
  font-weight: bold;
}

.lectable td {
  border:1px solid;
  border-collapse: collapse;
  padding:4px;
}

.lectable button {
  font-size:12px;
}

.lectable input {
  font-size:12px; 
}

.icon {
  width: 1.2em;
  height: 1.2em;
  cursor:pointer;
  background-size: contain;
  border:none;
  vertical-align:middle;
}

.ic_trash {
  background-image: url("trash.svg");
}

.ic_add {
  background-image: url("plus.svg");
  display: inline-block;
}

.ic_edit {
  background-image: url("edit.svg");
}

.ic_copy {
  background-image: url("copy.svg");
}

.icontable {
  float:right;
}

.icontable tr td {
  border:none;
  padding-top:0;
  padding-bottom:10;
}

 /* The Modal (background) */
 .modal {
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  display: table;
  overflow: hidden;
}

.modal-helper {
  display: table-cell;
  vertical-align: middle;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 0% auto; 
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
} 

.genbox {
  width:90%;
  vertical-align: middle;
  border:#1c87c9 2px solid;
  padding: 5px;
  margin: 5px;
  border-radius: 5px;
}

.longedit {
  width:32em;
}