#mainport {
    opacity: 0;
}

#mainport.active {
    opacity: 1;
    position: fixed;
    top: var(--vnix-port-top);
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    background-color: var(--vnix-port-bgcolor) !important;
}

#mainport header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    font-size: 1rem;
    text-align: center;
}

#mainport header .title {
    font-size: 1.2rem;
    font-weight: bolder;
}

#mainport .btn-std-1 {
    background-color: var(--vnix-btn-bgcolor-primary) !important;
}

#mainport .btn-std-1:hover {
    background-color: var(--vnix-btn-bgcolor-primary-hover) !important;
    color: inherit;
}

#mainport .btn-std-2 {
    background-color: var(--vnix-btn-bgcolor-secondary) !important;
}

#mainport .btn-std-2:hover {
    background-color: var(--vnix-btn-bgcolor-secondary-hover) !important;
    color: inherit;
}

/* aside after mainport */
aside#user-preferences {
    position: fixed;
    right: 25%;
    bottom: 0;
    /*cursor: pointer;*/
    /*font-style: italic;*/
}

aside#user-preferences .btn {
    color: rgba(255, 255, 255, .5);
}

aside#user-preferences .btn:hover {
    color: rgba(255, 255, 255, .85);
}

main.panel {
    position: absolute;
    padding: 0;
    overflow: visible;
    cursor: text;
}

.vnix-dt-00 [data-type-input],
.vnix-dt-00 [data-type-calc] {
    padding-top: 0.725rem;
    border-top: 1px inset rgb(254, 254, 252);
    border-left: 1px inset rgb(254, 254, 252);
    border-right: 1px solid rgb(254, 254, 240);
    border-bottom: 1px solid rgb(254, 254, 240);
}

.vnix-dt-00 [data-type-html] {
    margin: unset;
}

.vnix-dt-00 [data-type-html] .btn {
    width: 100%;
    white-space: nowrap;
}

.vnix-dt-00 [data-type-html] .sectioncol.heading {
    margin: unset;
    position: absolute;
    bottom: 3px;
}

.vnix-dt-00 [data-type-input] select.custom-select {
    background-position: right 2px center;
    cursor: pointer;
}

.vnix-dt-00 [data-type-input] label,
.vnix-dt-00 [data-type-calc] label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 1px 0 1px;
    white-space: nowrap;
    line-height: 1.25;
    font-size: 0.7rem;
    font-weight: bolder;
}

.vnix-dt-00 [data-type-input] .dateColumn,
.vnix-dt-00 [data-type-calc] .dateColumn {
    letter-spacing: 1px;
}

.vnix-dt-00 [data-type-input="3"] > label > i::before,
.vnix-dt-00 [data-type-input="16"] > label > i::before {
    position: absolute;
    padding: 0 8px 8px 2px;
    left: 0;
    top: 0;
}

.vnix-dt-00 .tox-tinymce {
    border: none !important;
}

[alert-on="1"] {
    box-shadow: 0 2px 0 0 red !important;
}

[alert-on="2"] {
    box-shadow: 0 2px 0 0 orange !important;
}

[alert-on="3"] {
    box-shadow: 0 2px 0 0 yellow !important;
}

.tagName {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    height: 40px;
    width: 200px;
    padding-left: 0.5em !important;
    padding-right: 0.5em !important;
    line-height: 1;
    font-size: .833rem !important;
}

#swacct-pro.tagName {
    right: 404px;
}

.forms-timeline {
    border: 1px solid hsla(0, 0%, 0%, 0.1);
    padding: 1em;
    margin: 0 1em 1em 0;
    border-bottom: 1px solid hsla(0, 0%, 0%, 0.2);
    overflow-y: hidden;
    overflow-x: scroll;
    background-color: hsl(0, 0%, 97%);
}

.forms-timeline .overflow-auto {
    overflow: hidden !important;
}

.editor-html {
    font-size: .9em;
}

.editor-html.whitespace-pre-wrap {
    white-space: normal;
}

dialog.modal.show {
    background-color: hsla(0, 0%, 0%, 0.2);
    border: 0;
}

dialog.modal.show .modal-message {
    display: none;
}

dialog.modal.show.running .modal-footer {
    display: none;
}

dialog.modal.show.running .modal-message {
    display: flex;
}

dialog.modal.show.running .dialog-cancel {
    display: none;
}

.input-form {
    border: 3px double hsla(0, 0%, 0%, 0.05);
    border-radius: 3px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.input-form .input-group-text {
    border: 0;
    font-size: 0.8em;
    border-radius: 3px !important;
    margin-right: 1px;
    padding: 0;
}

.input-form .form-control.currency {
    margin-left: -16px !important;
    background-color: transparent;
}

.input-form.label-w-0 .input-group-text {
    width: auto;
    max-width: 180px;
}

.input-form.label-w-1 .input-group-text {
    width: 40%;
    max-width: 180px;
}

.input-form.label-w-2 .input-group-text {
    width: 40%;
    max-width: 250px;
}

.input-form .form-control {
    font-size: 0.9em;
    border-radius: 3px !important;
}

.input-form.readonly .form-control {
    border: 0;
    border-bottom: 1px solid #ddd;
    border-radius: 0 !important;
    white-space: nowrap;
    overflow: hidden;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: inherit;
}

