a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

input:not([type]) {
    border: solid thin #c5c5c5;
    height: 16px;
    padding: 2px 2px 3px;
    border-radius: 3px;
}

input[type="text"] {
    border: solid thin #c5c5c5;
    height: 16px;
    padding: 2px 2px 3px;
    border-radius: 3px;
}

input[type="date"] {
    border: solid thin #c5c5c5;
    height: 16px;
    padding: 2px 2px 3px;
    border-radius: 3px;
}

input[type="date"]::-webkit-inner-spin-button {
    opacity: 0
}

input[type="date"]::-webkit-calendar-picker-indicator {
    background: url(../images/buttons/calendar.png) center/80% no-repeat;
    color: rgba(0, 0, 0, 0);
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    background: url(../images/buttons/calendar.png) center/80% no-repeat;
    cursor: pointer;
}

input[type="time"] {
    border: solid thin #c5c5c5;
    height: 16px;
    padding: 2px 2px 3px;
    border-radius: 3px;
}

input[type="time"]::-webkit-inner-spin-button {
    opacity: 0
}

input[type="time"]::-webkit-calendar-picker-indicator {
    background: url(../images/buttons/clock.png) center/80% no-repeat;
    color: rgba(0, 0, 0, 0);
}

input[type="time"]::-webkit-calendar-picker-indicator:hover {
    background: url(../images/buttons/clock.png) center/80% no-repeat;
    cursor: pointer;
}

input[type="number"] {
    border: solid thin #c5c5c5;
    height: 16px;
    padding: 2px 2px 3px;
    border-radius: 3px;
}

input[type="tel"] {
    border: solid thin #c5c5c5;
    height: 16px;
    padding: 2px 2px 3px;
    border-radius: 3px;
}

input[type="password"] {
    border: solid thin #c5c5c5;
    height: 16px;
    padding: 2px 2px 3px;
    border-radius: 3px;
}

textarea {
    border: solid thin #c5c5c5;
    padding: 2px 2px 3px;
    border-radius: 3px;
    resize: none;
}

input[type="checkbox"] {
    margin-left: 0px;
    width: 12px;
    height: 12px;
}

select {
    border: solid thin #c5c5c5;
    background-color: #ffffff;
    height: 23px;
    padding: 2px 2px 3px;
    border-radius: 3px;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
}

::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.ui-widget {
    font-family: 'Fira Sans', sans-serif !important;
}

.menutable td.keys {
    font-family: 'Fira Mono', monospace; border: none;
    margin: 0px;
    padding: 0px;
}

.mono {
    font-family: 'Fira Mono', monospace;
}

.nomar {
    margin-top: 0px !important; margin-bottom: 0px !important;
}

.scrollable {
    width: 800px; height: 500px; overflow-y: scroll; padding-right: 3px;
}

.datatable {
    margin: 2px 0; border-collapse: collapse;
}

.datatable td {
    border: 1px solid #C0C0C0; padding: 3px; text-align: left;
}

.datatable th {
    border: 1px solid #C0C0C0; padding: 3px; text-align: left; cursor: default;
}

.menutable {
    border: none; border-collapse: collapse; margin: 0px; padding: 0px
}

.menutable tbody {
    border: none;  margin: 0px; padding: 0px
}

.menutable td {
    border: none;  margin: 0px; padding: 0px
}

.headertable {
    border: none; border-collapse: collapse; margin: 0px; padding: 0px
}

.headertable tbody { border: none;  margin: 0px; padding: 0px }

.headertable td { border: none; padding: 3px }

.divider { border: 1px solid #C0C0C0; padding: 0px; height: 1px; }

.href:hover { text-decoration: underline; }

.nounderline { text-decoration: none !important; }

.ui-dialog .ui-dialog-titlebar-custom-1 { position: absolute; right: 30px; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }

.ui-dialog .ui-dialog-titlebar-custom-1 span { display: block; margin: 1px; }

.ui-dialog .ui-dialog-titlebar-custom-1:hover, .ui-dialog .ui-dialog-titlebar-custom-1:focus { padding: 0; }

.ui-dialog .ui-dialog-titlebar-custom-2 { position: absolute; right: 59px; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }

.ui-dialog .ui-dialog-titlebar-custom-2 span { display: block; margin: 1px; }

.ui-dialog .ui-dialog-titlebar-custom-2:hover, .ui-dialog .ui-dialog-titlebar-custom-2:focus { padding: 0; }

.code-toolbar-button { border: 1px solid #E8E8E8; cursor: pointer; }

.code-toolbar-button:hover { border: 1px solid #0a246a; background-color: #b2bbd0; }

.wordwrap { white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; }

.ce-state-highlight { background: #f5f5b5; color: #060200; }

.bold { font-weight: bold; }

.grayed { opacity: 0.5; }

.ui-icon { display: inline-block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }

.size {
    white-space: nowrap; /* Отменяем перенос текста */
    overflow: hidden; /* Обрезаем содержимое */
    padding: 5px; /* Поля */
    text-overflow: ellipsis; /* Многоточие */
}

.size:hover {
    background: #f0f0f0; /* Цвет фона */
    white-space: normal; /* Обычный перенос текста */
}

.noTitleStuff .ui-dialog-titlebar { display: none }

.schedule-error { background-color: #e2f8ff }

.schedule-highlight { background-color: #5cf442 }

:focus { outline: none; }

.hoverable:hover {
    text-decoration: underline;
    cursor: pointer;
}

.nopointer {
    cursor: default!important;
}

.small-button {
    padding: 2px 3px;
    vertical-align: middle !important;
    height: 24px !important;
    font-size: 13px;
}

.input-button {
    height: 23px !important;
}

.ui-state-disabled {
    pointer-events: auto !important;
}

.small-button-icon {
    color: #000000;
    text-decoration: none;
    display: block;
    line-height: 16px;
    height: 16px;
    background-position: center center;
    background-repeat: no-repeat;
    outline: none;
    padding-left: 18px;
    white-space: nowrap;
    margin-top: -1px;
}

.small-button-icon-with-text {
    color: #000000;
    text-decoration: none;
    display: block;
    line-height: 16px;
    height: 16px;
    background-position: left center;
    background-repeat: no-repeat;
    outline: none;
    vertical-align: middle !important;
    padding-left: 20px;
    white-space: nowrap;
    margin-top: -1px;
    font-size: 12px;
}

.ui-dialog .ui-resizable-se {
    width: 14px;
    height: 14px;
    right: 3px;
    bottom: 3px;
    background-position: -80px -224px;
    z-index: 29999 !important;
}

.xmpp-roster-item:hover {
    background: #CCCCCC;
    cursor: default;
}

.xmpp-muc-item:hover {
    background: #CCCCCC;
    cursor: default;
}

.xmpp-icon {
    color: #000000;
    text-decoration: none;
    display: block;
    line-height: 20px;
    height: 20px;
    background-position: 6px center;
    background-repeat: no-repeat;
    outline: none;
    padding: 1px 5px;
    padding-left: 18px;
    white-space: nowrap;
}

.xmpp-icon-right {
    color: #000000;
    text-decoration: none;
    display: block;
    line-height: 20px;
    height: 20px;
    width: 17px;
    background-position: center;
    background-repeat: no-repeat;
    outline: none;
    white-space: nowrap;
}

.xmpp-online {
    background-image: url(../images/xmpp/online.png);
}

.xmpp-chat {
    background-image: url(../images/xmpp/chat.png);
}

.xmpp-away {
    background-image: url(../images/xmpp/away.png);
}

.xmpp-dnd {
    background-image: url(../images/xmpp/dnd.png);
}

.xmpp-xa {
    background-image: url(../images/xmpp/xa.png);
}

.xmpp-offline {
    background-image: url(../images/xmpp/offline.png);
}

.xmpp-message {
    background-image: url(../images/xmpp/message.png);
}

.xmpp-sms {
    background-image: url(../images/xmpp/sms.png);
    background-repeat: no-repeat;
    background-size: 16px 16px;
}

.xmpp-call {
    background-image: url(../images/xmpp/call.png);
    background-repeat: no-repeat;
    background-size: 16px 16px;
}

.xmpp-muc {
    background-image: url(../images/xmpp/muc.png);
}

.xmpp-empty {
    background-image: url(../images/xmpp/empty.png);
}

.hidden {
    display: none;
}

.fix-button-for-input {
    vertical-align: top !important;
    height: 23px !important;
}

.hr-text {
    line-height: 1em;
    position: relative;
    outline: 0;
    border: 0;
    color: black;
    text-align: left;
    height: 1.5em;
    /*
    opacity: .5;
    */
    font-size: 8pt;
}

.hr-text:before {
    content: '';
    background: linear-gradient(to right, transparent, rgba(128, 128, 128, 0.75));
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
}

.hr-text:after {
    content: attr(data-content);
    position: relative;
    display: inline-block;
    color: black;
    padding-left: 0em;
    padding-right: 0.5em;
    line-height: 1.5em;
    color: #818078;
    background-color: #ffffff;
}

.grayscale {
    filter: grayscale(100%);
    filter: gray;
    opacity: 0.4;
}

.emoji {
    width: 1.25em;
    height: 1.25em;
    display: inline-block;
    margin-top: -2px;
    background-size: 1.25em;
}

.xmpp-right-button:hover {
    filter: saturate(300%);
}

.xmpp-right-button-alt {
    filter: hue-rotate(270deg);
}

.xmpp-right-button-busy {
    filter: hue-rotate(160deg);
}

.xmpp-emoji-selector:hover {
    border: solid thin #AAAAAA;
    cursor: pointer;
}

.xmpp-emoji-selector {
    border: solid thin #ffffff;
    font-size: 120%;
    margin: 1px;
    padding: 1px;
    display: inline-block;
}

.xmpp-quote {
    border-left: 3px solid #777;
    margin: 1px;
    padding: 1px 1px 1px 5px;
    display: table;
}

.xmpp-paragraph {
    display: inline;
}

.xmpp-ul {
    display: table;
    margin: 0;
    padding-left: 25px;
}

.xmpp-heading {
    display: inline;
}

.xmpp-nextcloud-folder:hover {
    background: #CCCCCC;
    cursor: default;
}

.xmpp-nextcloud-file:hover {
    background: #CCCCCC;
    cursor: default;
}

.borderable {
    border: 1px solid #C0C0C0;
}

.small-font {
    font-size: 75%;
}

.leaflet-control-layers-toggle {
    width: 30px !important;
    height: 30px !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input:invalid {
    border: 1px solid #f1a899;
    background: #fddfdf;
    color: #5f3f3f;
}
