input[type=text], input[type=password], input[type=number], textarea, select, option {
    border: 1px solid #BDC3C7;
    background: #FAFAFA;
    font-family: 'Lato', Helvetica, Arial, sans-serif;
    font-size: 12px;
    line-height: 16px;
    padding: 4px 6px;
    -webkit-appearance: none;
    border-radius: 3px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-transition: border .25s linear, color .25s linear, background-color .25s linear;
    -moz-transition: border .25s linear, color .25s linear, background-color .25s linear;
    -o-transition: border .25s linear, color .25s linear, background-color .25s linear;
    transition: border .25s linear, color .25s linear, background-color .25s linear;
    -webkit-backface-visibility: hidden;
    color: #555;
    margin-left: 3px;
    margin-right: 3px;
}

input[type=text].search {
    background: url(../img/inputs/search.png) no-repeat left 6px center #FAFAFA !important;
    padding-left: 30px;
}

input[type=text].date {
    background: url(../img/inputs/calendar.png) no-repeat left 6px center #FAFAFA !important;
    padding-left: 30px;
}

input[type=text].time {
    background: url(../img/inputs/clock.png) no-repeat left 6px center #FAFAFA !important;
    padding-left: 30px;
    width: 100px;
}

textarea {
    resize: none;
}

input[type=text]:hover,
input[type=password]:hover,
input[type=number]:hover,
input[type=text]:active,
input[type=password]:active,
input[type=number]:active,
textarea:hover, select:hover, option:hover, .ui-spinner:hover {
    border: 1px solid #AAA;
}

textarea:focus,
select:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=number]:focus,
option:focus,
textarea:active,
select:active,
input[type=text]:active,
input[type=password]:active,
input[type=number]:active,
option:active {
    border-color: #238DEE;
    outline: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    color: #238DEE;
}

textarea.invalid, select.invalid, input[type=text].invalid, input[type=password].invalid,
input[type=number].invalid, option.invalid, .ui-spinner.invalid,
.numberInput.invalid > input.number,
input.invalidMac{
    border: 1px solid #CC2020 !important;
    color: #CC2020 !important;
    background-color: #FFD0D0 !important;
}

.ui-spinner.invalid input {
    background: #FFD0D0 !important;
}

.ui-spinner:focus {
    color: #238DEE;
    outline: none;
    border: 1px solid #238DEE;
    background-color: #FFF;
    -moz-box-shadow: 0 0 5px #238DEE, inset 0 3px 2px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 0 5px #238DEE, inset 0 3px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 5px #238DEE, inset 0 3px 2px rgba(0, 0, 0, 0.1);
}

.ui-spinner {
    margin-left: 3px;
    padding: 0;
    height: 23px;
    line-height: 22px;
    border-radius: 3px;
}

.ui-spinner input {
    border: none !important;
    margin: 0 !important;
    line-height: 17px;
}
span.ui-spinner.ui-spinner-disabled.ui-state-disabled {
    opacity: 0.8;
}
input[type=text]:disabled,
input[type=password]:disabled,
input[type=number]:disabled,
input[type=text][disabled=disabled],
input[type=password][disabled=disabled],
input[type=number][disabled=disabled] {
    background-color: #F4F6F6;
    border-color: #D5DBDB;
    color: #D5DBDB;
    cursor: not-allowed;
}

input[type=text][readonly], input[type=password][readonly], input[type=number][readonly], textarea[readonly] {
    background-color: #F4F6F6 !important;
    border-color: #D5DBDB;
    cursor: not-allowed;
    color: #AAA !important;
}

fieldset, .fieldset {
    background: #FFF;
    border: 1px solid #DDD;
    border-radius: 4px;
    padding: 25px;
}

fieldset label, fieldset .label,
.fieldset label, .fieldset .label {
    min-width: 100px;
    max-width: 300px;
    line-height: 29px;
}

.microsoft365 fieldset label, .microsoft365 fieldset .label,
.microsoft365 .fieldset label, .microsoft365 .fieldset .label {
    max-width: 500px;
}

fieldset fieldset,
.fieldset .fieldset {
    margin-top: 15px;
    margin-bottom: 15px;
}

.form-entry input, .form-entry select {
    max-width: 180px;
}

.form-entry {
    width: 380px;
    float: left;
    padding: 0 15px 0 15px;
}

.form-entry label {
    min-width: 160px;
    display: inline-block;
}

.chosen-container {
    box-shadow: none;
    margin-left: 3px;
    margin-right: 3px;
    margin-top: -2px;
}

.chosen-container .chosen-single {
    background: #F5F5F5 !important;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    height: 24px;
    text-indent: 0px;
    text-overflow: "";
    border: 1px solid #999;
    box-shadow: none;
    border-radius: 3px;
}

.chosen-container .chosen-results li {
    font-family: 'robotoregular', Lato, Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-style: normal;
}

.chosen-container .chosen-single span {
    margin-right: 22px;
    font-family: 'robotoregular', Lato, Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-style: normal;
}

.chosen-container .chosen-results {
    border-top: 1px solid #E5E5E5;
    margin: 0;
    padding: 0;
}

.chosen-container .chosen-results li.active-result {
    color: #555;
}

.chosen-container .chosen-results li span {
    font-weight: bold;
}

.chosen-container .chosen-results li.active-result.highlighted {
    color: white;
}

.chosen-container-multi .chosen-choices li.search-choice {

}

.chosen-container.ignored {
}

.chosen-container.ignored .chosen-single {
    border: 1px solid #BDC3C7 !important;
    text-align: center;
    color: #888;
}

.chosen-container.ignored.chosen-with-drop a {
    border: 0;
}

.chosen-container .chosen-search {
    border-top: 1px solid #E5E5E5;
    background: #EEE;
}

.chosen-container .chosen-search input {
    border: 0 !important;
    box-shadow: none;
    background: url("../img/search.png") no-repeat scroll 96% center #DDD !important;
    border-radius: 3px !important;
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    -ms-border-radius: 3px !important;
    color: black;
}

.chosen-container .chosen-drop {
    border: 1px solid #AAA !important;
    border-top: 0 !important;
    box-shadow: none;
    background: #FFFFFF;
}

.chosen-container .active-result.highlighted {
    background: #5FB2EB !important;
    /* 	border-radius: 5px!important; */
    /* 	-webkit-border-radius: 5px!important; */
    /* 	-moz-border-radius: 5px!important; */
    /* 	-ms-border-radius: 5px!important; */
}

.chosen-container-multi .chosen-choices li.search-choice {
    border: 2px solid #646464;
    background: #DFDFDF;
    color: #444;
    box-shadow: none;
    margin: 3px 3px 3px 3px;
    font-size: 10px;
}

select {
    -webkit-backface-visibility: hidden;
    margin-left: 3px;
    margin-right: 3px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding: 4px 17px 3px 12px;
    background: url("../img/inputs/bottom-arrow.png") no-repeat scroll right 6px center #F5F5F5;
    text-shadow: 0 1px 0 #FFF;
    font: bold 11px Helvetica, Arial, sans-serif !important;
    color: #444 !important;
    line-height: 26px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    min-height: 21px;
    min-width: 31px;
    outline: none !important;
    vertical-align: middle;
    -webkit-border-radius: 3px;
    -webkit-appearance: none;
    border: 0;
    -webkit-transition: 0.3s ease all;
    -moz-transition: 0.3s ease all;
    -ms-transition: 0.3s ease all;
    -o-transition: 0.3s ease all;
    transition: 0.3s ease all;
}

select:focus, select:active {
    border: 0;
    outline: 0;
    font: bold 11px Helvetica, Arial, sans-serif !important;
    color: #444 !important;
}

.ui-dialog-content > label + input {
    margin-left: 10px;
}

/* == Placeholder == */

::-webkit-input-placeholder {
    font-style: italic;
}

:-moz-placeholder {
    font-style: italic;
}

::-moz-placeholder {
    font-style: italic;
}

:-ms-input-placeholder {
    font-style: italic;
}

/* == autocomplete */

.ui-autocomplete {
    border: 1px solid #6BB8FF;
    background: #8EC0FF;
}

.ui-menu-item {
    font-family: 'Lato', Helvetica, Arial, sans-serif;
    font-size: 12px;
}

.ui-menu .ui-menu-item {
    padding-left: 0;
    list-style-image: none;
}

.ui-menu-item .ui-state-focus {
    background: #6BB8FF;
    border-color: #6BB8FF;
}

.ui-menu .ui-menu-item-wrapper {
    padding-right: 30px;
}

.range.ui-menu-item-wrapper {
    padding: 0px 0px 1px 0px;
    display: flex;
}


/* == RADIO & CHECKBOXES */

label.radio, label.checkbox, label.switch {
    color: #333;
    font-family: 'robotomedium_italic', Lato, Helvetica, Arial, sans-serif;
    letter-spacing: 0.02em;
    font-size: 12px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-left: 3px;
    -webkit-transition: color .3s linear, background .2s linear;
    -moz-transition: color .3s linear, background .2s linear;
    -o-transition: color .3s linear, background .2s linear;
    transition: color .3s linear, background .2s linear;
    min-width: 20px;
}

input[type=radio].radio, input[type=checkbox].checkbox, input[type=checkbox].switch {
    display: none;
}

input[type=radio].radio + label.radio, input[type=checkbox].checkbox + label.checkbox {
    padding-left: 20px;
    height: 20px;
    display: inline-block;
    line-height: 20px;
    background: no-repeat left center;
    vertical-align: middle;
    cursor: pointer;
}

input[type=radio].radio.filter-choice + label.radio {
    padding-left: 0;
}

label.checkbox {
    background-image: url(../img/buttons/checkbox.png);
}

input[type=checkbox].checkbox:checked + label.checkbox {
    background-image: url(../img/buttons/checkbox_checked.png);
}

input[type=checkbox].checkbox.override:checked + label.checkbox {
    background-image: url(../img/buttons/override_checked.png);
}

input[type=checkbox].checkbox.override + label.checkbox {
    background-size: 14px;
    background-image: url(../img/buttons/override.png);
}

input[type=checkbox].checkbox.common.setting + label.checkbox {
    background-size: 14px;
    background-image: url(../img/buttons/checkbox.png);
}

input[type=checkbox].checkbox.common.setting:checked + label.checkbox {
    background-image: url(../img/buttons/checkbox_checked.png);
}

input[type=checkbox].checkbox.common.setting.quiet + label.checkbox {
    visibility: hidden;
}

.fieldset .label input[type=checkbox].checkbox.common.setting + label.checkbox,
.fieldset .label input[type=checkbox].checkbox.common.setting:checked + label.checkbox,
.fieldset input[type=checkbox].checkbox.common.setting + label.checkbox,
.fieldset input[type=checkbox].checkbox.common.setting:checked + label.checkbox,
.fieldset .label input[type=checkbox].checkbox.override + label.checkbox,
.fieldset .label input[type=checkbox].checkbox.override:checked + label.checkbox,
.fieldset input[type=checkbox].checkbox.override + label.checkbox,
.fieldset input[type=checkbox].checkbox.override:checked + label.checkbox {
    min-width: 10px;
}

input[type=checkbox][disabled].checkbox.override + label.checkbox, input[type=checkbox].disabled.checkbox + label.checkbox,
input[type=checkbox][disabled].checkbox.common.setting + label.checkbox, input[type=checkbox].disabled.checkbox.common.setting + label.checkbox {
    background-image: url(../img/buttons/checkbox_disabled.png);
    color: #777;
    text-decoration: none;
    cursor: not-allowed;
}

input[type=checkbox][disabled].checkbox.common.setting:checked + label.checkbox, input[type=checkbox].disabled.checkbox.common.setting:checked + label.checkbox,
input[type=checkbox][disabled].checkbox:checked + label.checkbox, input[type=checkbox].disabled.checkbox:checked + label.checkbox {
    background-image: url(../img/buttons/checkbox_checked_disabled.png);
    color: #777;
    text-decoration: none;
    cursor: not-allowed;
}

input.checkbox.hidden + label.checkbox, input.radio.hidden + label.radio {
    display: none !important;
}

form.hidden {
    display: none;
}

input.hidden {
    display: none;
}

input.mac {
    text-transform: uppercase;
}

input[type=radio].radio + label.radio {
    background-image: url(../img/buttons/radio.png) !important;
    color: #000000 !important;
    text-decoration: none;
}

input[type=radio].radio:checked + label.radio {
    background-image: url(../img/buttons/radio_checked.png) !important;
    color: #288ACC !important;
    text-decoration: none;
}

input[type=radio][disabled].radio + label.radio {
    background-image: url(../img/buttons/radio_disabled.png);
    color: #777;
    text-decoration: line-through;
    opacity: 0.6;
    cursor: auto;
}

input[type=radio][disabled].radio:checked + label.radio {
    background-image: url(../img/buttons/radio_checked_disabled.png);
    color: #777;
    text-decoration: line-through;
}

/* switch*/

input[type=checkbox].checkbox + label.checkbox {
    padding-left: 46px;
    height: 20px;
    display: inline-block;
    line-height: 20px;
    background: no-repeat left center;
    vertical-align: middle;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 3px;
}

input[type=checkbox].checkbox + label.checkbox.forceManualDn {
    overflow: visible;
}

label.checkbox, input[type=checkbox].checkbox + label.checkbox {
    background-size: 40px;
    background-image: url(../img/buttons/switch.png);
}

input[type=checkbox].checkbox:checked + label.checkbox {
    background-image: url(../img/buttons/switch_checked.png);
}

label.checkbox, input[type=checkbox].checkbox + label.checkbox.all {
    background-size: 40px;
    background-image: url(../img/buttons/switch_all.png);
}

input[type=checkbox].checkbox:checked + label.checkbox.all {
    background-image: url(../img/buttons/switch_checked_all.png);
}

input[type=checkbox][disabled].checkbox + label.checkbox, input[type=checkbox][readonly].checkbox + label.checkbox, input[type=checkbox].disabled.checkbox + label.checkbox {
    background-image: url(../img/buttons/switch_disabled.png);
    color: #777;
    text-decoration: none;
    cursor: not-allowed;
}

input[type=checkbox][readonly].checkbox:checked + label.checkbox, input[type=checkbox][disabled].checkbox:checked + label.checkbox, input[type=checkbox].disabled.checkbox:checked + label.checkbox {
    background-image: url(../img/buttons/switch_checked_disabled.png);
    color: #777;
    text-decoration: none;
    cursor: not-allowed;
}

.ColVis_collection > li > label > input {
    vertical-align: sub;
}

/** Sub-header / Buttonset (Radio-choosing) **/
.ui-checkboxradio-radio-label {
    background: #FFF !important;
    color: #069EDA !important;
    border: 2px solid #069EDA !important;
    box-shadow: none !important;
    font-family: Helvetica, Arial, sans-serif !important;
    font-weight: bold !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    line-height: 22px !important;
}

.ui-checkboxradio-icon {
    background: #AAA !important;
    box-shadow: none !important;
    border: none !important;
}

.ui-checkboxradio-radio-label.ui-state-active .ui-checkboxradio-icon {
    background: #000 !important;
    border: 5px solid #D0D0D0 !important;
}

input[type=radio] + label.ui-checkboxradio-radio-label.ui-state-hover,
input[type=radio] + label.ui-checkboxradio-radio-label:hover {
    background: #D1E1FB !important;
    color: #069EDA !important;
    border: 2px solid #069EDA !important;
}


input[type=radio] + label.ui-checkboxradio-radio-label.ui-state-active
    /*, input[type=radio]:checked + label.ui-checkboxradio-radio-label */
{
    border: 2px solid #069EDA !important;
    background: #069EDA !important;
    color: #FFF !important;
}


/** ERRORS **/

input[type=text].error, input[type=number].error, input[type=password].error, textarea.error, select.error, option.error {
    color: white;
    border-color: rgb(248, 0, 0);
    background: #FF5454;
}

.speeddial-label, .speeddial-value, .blf-invalid {
    width: 180px;
    overflow: hidden;
}

.highlightTextarea > input.ui-autocomplete-input.speeddial-value {
    background: none !important;
    width: 196px;
}
.device-phone-button .highlightTextarea-container{
    height:auto !important;
}
.line-phoneButton {
    box-sizing: content-box !important;
}

.speeddial-value {
    background: url("../img/buttons/phone.png") no-repeat 5px center !important;
    padding-left: 25px !important;
}

.speeddial-label {
    background: url("../img/buttons/user.png") no-repeat 5px center !important;
    padding-left: 25px !important;
}

.lamp-field {
    background: url("../img/buttons/phone-blf.png") no-repeat 5px center !important;
    padding-left: 25px !important;
}

.badge-container {
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    margin: -5px 0;
    min-width: 100px;
    background: #AFAFAF;
    border-radius: 4px;
    font: bold 10px Helvetica, Arial, sans-serif;
    text-align: center;
    color: #FFF;
}

.badge-round {
    position: relative;
    display: inline-block;
    border-radius: 50px;
    line-height: 19px;
    font-size: 0;
    padding: 0;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    min-width: 0;
}

.badge-round::after {
    line-height: 15px;
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 50px;
    font-size: 8px;
    font-family: "Font Awesome\ 5 Pro";
}

.badge-round.valid::after {
    content: '\f00c'
}

.badge-round.danger::after,
.badge-round.dark::after {
    content: '\f00d'
}


.badge.action {
    background: #2196F3;
}

.badge.secondary {
    background: #B600FF;
}

.badge.danger {
    background: #DC3545;
}

.badge.valid {
    background: #28A745;
}

.badge.warning {
    background: #FF8F00;
}

.badge.light {
    background: #808080;
}

.badge.dark {
    background: #2B2B2B;
}

.alert {
    position: relative;
    padding: 1em;
    border: 1px solid #777;
    background: #EEE;
    border-radius: 3px;
    margin: 15px;
    padding-left: 40px;
    color: #777;
}

.alert::after {
    content: '';
    display: block;
    clear: both;
}

.alert > h1 {
    font-weight: bold;
    padding-bottom: .5em;
}


.alert::before {
    content: '\f075';
    display: block;
    margin: -1px;
    top: 0;
    left: 0;
    bottom: 0;
    width: 30px;
    position: absolute;
    color: white;
    border-radius: 3px 0 0 3px;
    font-family: 'Font Awesome\ 5 Pro';
    font-weight: 200;
    text-align: center;
    vertical-align: middle;
    line-height: 35px;
    font-size: 18px;
    background: #777;
}

#fieldset_recorded .fx-paginate-select-item {
    float: none;
    display: block;
}

.alert.action {
    border-color: #428BCA;
    background-color: rgba(66, 139, 202, .1);
    color: #428BCA;
}

.alert.action::before {
    content: '\f05a';
    background: #428BCA;
}

.alert.valid {
    border-color: #5CB85C;
    background-color: rgba(92, 184, 92, .1);
    color: #5CB85C;
}

.alert.valid::before {
    content: '\f071';
    background: #5CB85C;
}


.alert.danger {
    border-color: #D9534F;
    background-color: rgba(217, 83, 79, .1);
    color: #D9534F;
}

.event-error-message.alert.danger {
    display: inline-block;
    width: -webkit-fill-available;
}

.alert.danger > li {
    padding-left: 8px;
}

.alert.danger::before {
    content: '\f071';
    background: #D9534F;
}

.alert.warning {
    border-color: #F0AD4E;
    background-color: rgba(240, 173, 78, .1);
    color: #F0AD4E;
}

.alert.warning::before {
    content: '\f071';
    background: #F0AD4E;
}

.greetingsExpired.filed > input.date {
    display: inline-block;
}

.greetingsExpired.empty > input.date {
    display: none;
}

.param.audio > audio {
    vertical-align: middle;
}

.param.audio.empty > button.upload,
.param.audio.filed > button.delete,
.param.audio.filed > audio {
    display: inline-block;
}

.param.audio.filed > button.upload,
.param.audio.empty > button.delete,
.param.audio.empty > audio {
    display: none;
    font-weight: 900;
    padding-left: 5px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

span.contains-trigger:before {
    font-family: 'Font Awesome 5 Pro';
    content: "\f1e6";
    font-weight: bold;
    font-size: 12px;
}

span.is-trigger.before:before {
    content: '\f325';
    font-family: 'Font Awesome\ 5 Pro';
    font-weight: 200;
    font-size: 10px;
}

span.is-trigger.after:before {
    content: '\f322';
    font-family: 'Font Awesome\ 5 Pro';
    font-weight: 200;
    font-size: 10px;
}

.highlightTextarea.pattern textarea {
    font: 400 12px / 16px Lato, Helvetica, Arial, sans-serif;
}

.ui-menu .li-sub-menu-item-wrapper > .ui-menu-item-wrapper,
.ui-menu .ui-menu-item-wrapper.sub-menu-item-wrapper{
    padding-right: 10px;
}

.fxdialog .param span.site{
    vertical-align: middle;
}
.fxdialog .param span.site .button.wp-sitecomplete{
    vertical-align: top;
}

span.input-icon {
    position: relative;
    margin-right: -28px;
    width: 20px;
    text-align: center;
    display: inline-block;
    height: 24px;
    vertical-align: middle;
    line-height: 23px;
    margin-left: 5px;
    color: #888;
}

span.input-icon + input[type=text] {
    padding-left: 6px;
    text-indent: 14px;
}

