@import url('https://fonts.googleapis.com/css2?family=Noto+Sans&family=Noto+Sans+JP&family=Noto+Sans+SC&family=Noto+Sans+Thai&display=swap');

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Noto Sans', 'Noto Sans JP', 'Noto Sans SC', 'Noto Sans Thai', sans-serif;
}
.header {
    background: #ffffff;
    color: #005100;
}
.header > div,
.header > span {
    display: inline-block;
    vertical-align: middle;
}
h1 {
    padding: 0 0.5em;
    margin: 0;
    display: inline-block;
}
.menu {
    background-color: #2E7D32;
    height: 2.6em;
}
.menu > *
{
  vertical-align: top;
}
.menu > button {
  background-color: #429043;
  color: #ffffff;
  height: 2em;
  margin: 0.2em 0.4em;
  cursor: pointer;
}
.horizontal-box {
    height: calc(100% - 6em);
}
.userlist {
    background-color: lightgray;
    width: 15em;
}
.userlist > div > *
{
  vertical-align: middle;
}
.content {
    background-color: white;
    width: calc(100% - 20em);
}
.userlist-item {
    cursor: pointer;
    display: block;
    width: 100%;
}
.userlist-gender-M {
    background-color: #0066CC;
    color: white;
}
.userlist-gender-F {
    background-color: #FF4081;
    color: white;
}
.userlist-gender-P {
    background-color: #FFC107;
}
.userlist-gender-TM {
    background-color: #90caf9;
}
.userlist-gender-TF {
    background-color: #8E24AA;
    color: #ffffff;
}
.inline-block {
    display: inline-block;
}
.user-conversation-info {
    padding: 0.3em 0.7em;
    font-weight: bold;
    font-size: 120%;
}
button {
  height: 100%;
  width: 7em !important;
  border-radius: 0;
  border: solid 1px #999;
  margin: 0 2px;
  min-height: 2.3em;
}
.no-style {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    outline: none;
    cursor: pointer;
    width: 31px !important;
    height: 29px !important;
}
.no-style > img {
width: 31px;
height: 31px;
}
.smiley-bar {
    display: flex;
    flex-direction: row;
    max-width: 200px;
    bottom: 89px;
    position: absolute;
    font-size: 24pt;
    right: 3px;
    width: 400px;
    height: auto;
    word-wrap: anywhere;
    border: 1px solid gray;
    box-shadow: 2px 2px 4px lightgray;
    padding: 2px;
    overflow: hidden;
    flex-wrap: wrap;
}
.smiley-bar .wt-menuitem {
    margin-right: 2px;
}
.system-message {
    font-weight: bold;
    font-style: italic;
}
.output-line {
    vertical-align: top;
}
.Wt-dialog {
    border: 1px solid rgb(102, 102, 102);
    box-shadow: 2px 2px 4px #999;
    min-width: 20em;
    max-width: 60em;
    background-color: #f0f0f0;
    padding: 0.2em;
}
.Wt-dialog > div > div > div > h4 {
    margin: 0;
}
.handle {
  top: calc(50% - 0.55rem) !important;
  margin-left: 2px;
  width: 1rem !important;
  height: 1rem !important;
  background-color: black;
  border: 0;
  border-radius: 1rem;

  &:focus {
    box-shadow: 0 0 0 1px #fff, 0 0 0 .25rem rgba(red($primary), green($primary), blue($primary), .25);
  }
}
.search-line {
    overflow: visible !important;
}
.popup-style {
    position: relative;
}
.countries-drop-down {
    overflow: auto;
    background: RGBA(248, 248, 248, 0.8);
    position: absolute;
    max-height: 10em;
    display: inline-block;
    top: 100%;
    left: 58px;
    z-index: 20;
    border: 1px solid #666;
    box-shadow: 2px 2px 4px #666;
    padding: 2px;
}
main {
    margin: 1em;
    overflow: auto;
}
.flag-icon {
    margin: 0.25em 0.5em 0 0;
}
.menu-info-text {
    display: inline-block;
    padding: 0.375em 0.4em;
    color: #2E7D32;
    border: 1px solid #fff;
    background-color: lightgray;
    margin: 0.1em 0.2em;
}
.selectBoxes-drop-down-trigger {
    cursor: pointer;
}
.selectBoxes-drop-down-trigger > .selectBoxes-dropdown {
    display: none;
    position: absolute;
    top: 1.2em;
    overflow: auto;
    background: RGBA(248, 248, 248, 0.8);
    max-height: 10em;
    z-index: 1;
    border: 1px solid #666;
    box-shadow: 2px 2px 4px #666;
    padding: 2px;
    left: 9em;
}
.selectBoxes-drop-down-trigger:hover > .selectBoxes-dropdown {
    display: inline-block;
}
.output-box-format {
    border: 1px solid #999;
    padding: 1px 6px;
    margin-bottom: 0.2em;
    border-radius: 3px;
    line-height: 2em;
}
.ouput-box-format-self {
    background-color: #eaeaea;
}
.output-box-format-other {
    background-color: #fff;
}
.padding-right {
    padding-right: 1em;
}
