/** Add css rules here for your application. */


/** Example rules used by the template application (remove for your app) */
h1 {
  font-size: 2em;
  font-weight: bold;
  color: #777777;
  margin: 40px 0px 70px;
  text-align: center;
}

.sendButton {
  display: block;
  font-size: 16pt;
}

/** Most GWT widgets already have a style name defined */
.gwt-DialogBox {
  width: 400px;
}

.dialogVPanel {
  margin: 5px;
}

.serverResponseLabelError {
  color: red;
}

.liveUsersPanel > :first-child {
    display: none;
}
.liveUsersPanel > div:nth-child(3) {
    height: 60px;
}

.liveUsersPanel > div{
    position: relative !important;
}
button.whoDrewBtn {
    height: 60px;
    width: 100%;
}

/** Set ids using widget.getElement().setId("idOfElement") */
#closeButton {
  margin: 15px 6px 6px;
}


#menuStrip {
  background-color: #EEEEEE;
}

#uploadPanel, .liveUsersPanel, #layersPanel {
  background-color: #EEEEEE;
  border: 1px solid black;
}

.staticChild {
    position: static !important;
    display: flex;
    align-items: center;
}

.fullWidth{
  width: 100%;
  padding: 0 12px;
}

.liveUsersPanel {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 12px;
}

.liveUsersPanel div:nth-child(2) {
    overflow-y: auto !important;
    flex: 1;
}

#usersTable, #layersTable{
  width: 100%;
  font-size: 1em;
}

#usersTable tr {
    height: 60px;
}
#layersTable tr {
    height: 70px;
}
.blockStatusIcon{
    width: 16px !important;
    height: 16px !important;
    position: absolute;
    z-index: 1;
    bottom: 2px;
    left: 18px;
}

.userName {
    width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    margin-left: 12px;
    border: none;
    outline: none;
    color: #0066cc;
    text-decoration: none;
    cursor: pointer;
    text-align: left;
}
.userName:hover {
    text-decoration: underline;
}

.avatar-container {
    position: relative;
    width: 30px;
    height: 30px;
}
#draw-info-avatar img, .avatar-container img {
    max-width: 100%;
    border-radius: 50%;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#draw-info-avatar img {
  width: 40px;
  height: 40px;
}

.userStatus{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    right: 0px;
    bottom: 4px;
}
.offline.userStatus{
    background: #a1a1a1;
}
.online.userStatus{
    background: #00c004;
}
.pro.userStatus{
    background-color: #835eff;
}
#button {
  padding-top:8px;
  text-align:center;
  vertical-align: middle;
}

#colorsPanel {
  background-color: #EEEEEE;
}

#colorsPanelDarkMode {
  background-color: #EEEEEE;
}

div {
	pointer-events: inherit;
}

.userOptionsButton, .layerOptionsButton {
    padding: 6px 12px;
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border: 1px solid #a6a6a6;
    color: #000000;
    background-color: #eeeeee;
    border-radius: 0px;
    height: 44px;
}

.userOptionsDropdown, .layerOptionsDropdown {
    border: 1px solid #646464;
    display: flex;
    flex-direction: column;
    background-color: #eeeeee;
}

.popupContent .optionsButton {
    width: 100%;
    height: 44px;
    word-wrap: break-word;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    padding: 24px;
    border: none;
    outline: none;
    cursor: pointer;
    background-color: #eeeeee;
    text-decoration: none;
    color: #000000;
    border-bottom: 1px solid #a6a6a6;
}

.userOptionsDropdown .optionsButton:hover {
    background-color: #e3e3e3;
}

.layerOptionsDropdown .optionsButton:hover {
    background-color: #e3e3e3;
}
.layerNameLabel {
    width: 100%;
    display: inline-block;
}

#layersTable tbody {
    width: 100%;
}
#layersTable tr {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 100%;
    padding-right: 14px;
}
#layersTable tr > td:nth-child(2) {
    flex: 1;
}
.active-layer-icon {
    width: 20px;
    height: 20px;
    margin-right: 6px;
    margin-left: 6px;
    top: 2px;
    position: relative;
}

.size-6 {
    height: 20px;
    width: 20px;
}

button.layerHideShowButton {
    cursor: pointer;
    display: flex;
    border-radius: 0px;
    margin-right: 16px;
    padding: 5px 16px;
    height: 44px;
    align-items: center;
}