.frame {
  display: block;
  margin: 4px;
}

.homeitem {
  display: block;
  position: relative;
  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.pageitem {
  display: block;
  position: relative;
  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.browseitem {
  display: block;
  position: relative;
  margin: 0;
  padding: 0.5em 0.25em;
  border-bottom: 1px solid #ddd;
  overflow: hidden;
  background: inherit;
  cursor: pointer;
}

.browseitem.selected {
  background: #d4dcd8;
}

#blockBody > .browseitem {
  padding: 0.5em 0.25em;
}

.xformfield .browseitem:last-of-type {
  border-bottom: none;
}

.browseitem > div {
  background: inherit;
}

.itemicon {
  display: block;
  float: left;
  width: 1.5em;
  height: 1em;
  line-height: 1em;
  vertical-align: top;
  text-align: center;
  color: #003834;
  position: relative;
  background: inherit;
}

.itemicon > i {
  position: absolute;
  font-size: 40%;
  left: -0.25em; 
  bottom: -0.25em;
  padding: 0.16em;
  line-height: 1em;
  margin: 0;
  border-radius: 0.66em;
  background: inherit;
}

.box {
  display: block;
  position:relative;
  margin: 0.25em;
  background: white;
  border-radius: 8px;
  padding: 0.5em;
  overflow: hidden;
  cursor: pointer;
}

.button {
  display: block;
  position:relative;
  margin: 0.25em;
  background: white;
  border-radius: 8px;
  padding: 0.5em;
  overflow: hidden;
  cursor: pointer;
}

.textbox {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25em;  
}

.textbox3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* number of lines to show */
  line-height: 1.25em;      /* fallback */
   max-height: 3.75em;      /* fallback */
}

ul, ol {
  list-style-position: outside;
  margin-left: 1.25em;
}

li {
  margin-top: 12px;
  margin-bottom: 12px;
}

p {
  margin-top: 12px;
  margin-bottom: 12px;
}

h1, h2, h3 {
  display: block;
  margin: 0.25em 0 0 0;
  padding: 0.25em;
  background: #ccc;
  color: black;
  font-size: bold;
  border-radius: 4px;
}

h1 { font-size: 125%; }
h2 { font-size: 112%; }
h3 { font-size: 100%; }

/* Buttons */

button {
  display: inline;
  position: relative;
  margin: 0.25em;
  padding: 0.4375em 0.25em;
  width: 128px;
  height: 2.25em;
  line-height: 1.25em;
  border: 0.0625em outset #999;
  border-radius: 5px;
  vertical-align: middle;
  
  background: #eee;
  color: black;
  cursor: pointer;

  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: center;
  text-transform: none;
  font-size: inherit;
  
  overflow: hidden;
  outline: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

button:active {
  border: 0.0625em inset #999;
}

button:active span {
  position: relative;
  top: 1px;
  left: 1px;  
}

button:hover {
  background: white;
}

button.selected {
  background: #ffc060;
  cursor: default;
}

button:disabled {
  opacity: 0.5;
}

button i {
  font-size: 1.25em;
  line-height: 1em;
  vertical-align: top;
}

#frameMenu button {
  border: none;
  height: 2.25em;
  padding: 0.5em 0.375em;
  text-align: left;
}



.frameMenuAux .button {
  display: block;
  position: relative;
  margin: 8px;
  border: none;
  border-radius: 5px;
  padding: 0 4px;
  width: auto;
  height: 40px;
  line-height: 40px;
  box-shadow: none;
  text-align: left;
  padding: 0 4px;
  background: white;
  color: black;
  cursor: pointer;
  user-select: none;
}

.frameFootContent {
  display: table;
  table-layout: fixed;
  width: 100%;
  border-spacing: 8px;
  max-width: 320px;
  margin: 0 auto;
}

.frameFootContent .button {
  display: table-cell;
}
 

i {
  text-rendering: optimizeLegibility;
}

