body {
  font-family: 'Tahoma', sans-serif !important;
}

.btn.btn-default.navbar-btn.active {
    background: #049cdb;
    color: #fff;
}

.iconpicker-popover.popover.fade.bottom.in {
    opacity: 1;
}

.iconpicker-popover.popover.fade.in.bottom {
    position: absolute;
    top: 100px !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto;
    width: 334px !important;
    max-width: 350px !important;
}

.iconpicker .iconpicker-item {
  color: #000 !important;
}

.iconpicker-item.iconpicker-selected.bg-primary {
    background: #049cdb !important;
    color: #fff !important;
}

.iconpicker-popover.popover>.arrow {
  display: none !important;
}

/* .resize-handle--bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
    cursor: se-resize;
    background: #fff;
    width: 10px;
    height: 10px;
}

.resize-handle--bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    cursor: s-resize;
    background: #fff;
    width: 10px;
    height: 10px;
}

.resize-handle--right {
    position: absolute;
    right: 0;
    top: calc(50% - 5px);
    cursor: e-resize;
    background: #fff;
    width: 10px;
    height: 10px;
} */

.component {
  touch-action: none;
  user-select: none;
}

.component::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  background: transparent;
  z-index: 9;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: #049cdb !important;
    color: #fff;
}

.nav-pills .nav-link {
    color: var(--bs-btn-color);
}

.tablet {
    height: calc( 100% - 55px );
    position: absolute;
    width: 100%;
    margin-top: -51px;
}

.layout {
    background-color: #000;
    border-radius: 10px;
    margin: 2px 2px 0 2px;
    height: 100%;
    display: flex;
}

.layout .toolbar {
  margin-top: 5px;
  width: 130px;
  margin-left: 5px;
  margin-right: 5px;
  overflow-x: hidden;
  overflow-y: auto;
  flex-shrink: 0;
  padding-left: 1px;
}

.layout .creator {
    background-color: #2F374A;
    margin-top: 5px;
    overflow: auto;
    width: 100%;
    height: auto;
    display: inline-block;
    border-style: solid;
    border-color: rgba(255,255,255,.2);
    border-width: 1px;
    outline: 0;
}

.layout .creator .interface {
    position: relative;
    width: 1920px;
    height: 1080px;
    background-position: center !important;
    background-size: cover !important;
}

.layout .creator .interface::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px);
  background-size: 100px 100px;
}

.layout .creator .interface .component {
    position: absolute;
    overflow: hidden;
}

.layout .creator .interface table {
    width: 100%;
		height: 100%;
		border-collapse: collapse;
}

.layout .creator .interface table td {
    width: 100px;
  	height: 100px;
  	border-right: 1px solid rgba(255,255,255,.2);
  	border-bottom: 1px solid rgba(255,255,255,.2);
}

.layout .properties {
    margin-left: 10px;
    margin-top: 5px;
    width: 320px;
    flex-shrink: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.tool-header {
    background-color: #222;
    width: 125px;
    font-size: .90em;
    margin-left: 4px;
    font-variant: small-caps;
    color: #fff;
    text-align: center;
    border-bottom: 1px solid #908989;
}

.tool-header.big, .tool-content.big {
  width: 310px;
}

.tool-content {
    width: 130px;
    margin-left: 4px;
    margin-bottom: 5px;
    margin-top: 0;
    background-color: #2f374a;
    padding-bottom: 5px;
}

.tool-content .tool-btn {
    font-size: 1.2em;
    height: 27px;
    width: 25px;
    display: inline-block;
    cursor: pointer;
    padding-top: 4px;
    margin-top: 4px;
    margin-left: 1px;
    border-radius: 2px;
    border-color: #333;
    border-style: none;
    color: #fff;
}

.tool-content .row {
  align-items: center;
}

.propertiesComponent {
  display: none;
}

.property {
    text-align: left;
    color: #e0e0e0;
    margin-left: 15px;
    vertical-align: middle;
    font-size: 0.9rem;
    padding: 5px 0;
}

.toolproperty {
    background-color: #7a808e;
    width: 100%;
    font-size: .80em;
    font-variant: small-caps;
    color: #fff;
    text-align: center;
    border-bottom: 1px solid #908989;
}

.buttonConfig {
  display: none;
}

.customComponent .row {
  display: none;
}

input#bgimageInput, input#imagesrc {
    font-size: 12px;
    padding: 9px 12px;
    background: #e9ecef;
}

.rectangle {
  width: 150px;
  height: 150px;
  min-width: 35px;
  min-height: 35px;
  background: rgb(17 17 17 / 50%);
  border: 2px solid #000;
  border-radius: 8px;
}

.text {
  color: #fff;
  background: transparent;
  min-width: 35px;
  min-height: 35px;
  display: flex;
}

.text p {
  margin: 0;
}

.timedate {
    color: #fff;
    background: rgb(17 17 17 / 50%);
    width: 396px;
    height: 92px;
    min-width: 250px;
    min-height: 72px;
    border-radius: 8px;
    border: 1px solid #000;
}

.timedate .hour {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: absolute;
    text-align: center;
    left: 0;
    right: 0;
    font-size: 3rem;
    margin-left: 40px;
}

.timedate .date {
    margin: 0;
    position: absolute;
    top: 0;
    right: 4px;
    font-size: 0.9rem;
}

.timedate .iconTimedate {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 1.8rem;
    background: #000;
    width: 42px;
}

.image {
    width: 100px;
    height: 100px;
    min-width: 35px;
    min-height: 35px;
    background: transparent;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profil {
    color: #fff;
    background: rgb(17 17 17 / 50%);
    width: 396px;
    height: 50px;
    min-width: 132px;
    min-height: 40px;
    border-radius: 8px;
    border: 1px solid #000;
}

.profil p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: end;
    height: 100%;
    position: absolute;
    left: 0;
    right: 10px;
    font-size: 22px;
}

.profil i {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 1.2rem;
    background: #000;
    width: 42px;
}

.status {
    color: #fff;
    background: rgb(17 17 17 / 50%);
    width: 396px;
    height: 50px;
    min-width: 132px;
    min-height: 40px;
    border-radius: 8px;
    border: 1px solid #000;
}

.status p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: end;
    height: 100%;
    position: absolute;
    left: 0;
    right: 10px;
    font-size: 22px;
}

.status i {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 1.2rem;
    background: #FF0000;
    width: 42px;
}

.clock {
    color: #fff;
    background: rgb(17 17 17 / 80%);
    width: 396px;
    height: 50px;
    min-width: 132px;
    min-height: 40px;
    border-radius: 8px;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.clock p {
    margin: 0 5px;
}

.visible-0 {
  display: none;
}

.visible-1 {
  display: flex;
}

.button {
    background: linear-gradient(to top, rgb(0, 0, 0) 50%, rgb(51, 51, 51) 50%);
    height: 80px;
    width: 80px;
    min-height: 20px;
    min-width: 20px;
    border-radius: 6px;
    border: 1px solid #000000;
    color: #fff;
}

.button p {
    font-size: 1rem;
    letter-spacing: 1px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    line-height: 1;
    position: absolute;
    bottom: 0;
    top: 0;  /** SETTINGS CHANGE (0 -> icon - auto -> no icon) **/
}

.button i {
    width: 100%;
    height: 100%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
}

.vnc {
  height: 250px;
  width: 400px;
}

.vnc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
