/* CSS Document */

input {
    color:#333333;
    background-color:#EFEFEF;
    height:16px;
    line-height:16px;
    border:1px solid #CCC;
    padding:5px;
    text-align:left;
    font-size:13px;
    margin:0px;
    box-sizing:content-box;
    border-radius:0.2em 0.2em 0.2em 0.2em;
}
textarea {
    color:#333333;
    background-color:#EFEFEF;
    line-height:16px;
    border:1px solid #CCC;
    padding:5px;
    text-align:left;
    font-size:13px;
    margin:0px;
    box-sizing:content-box;
    resize: none;
    border-radius:0.2em 0.2em 0.2em 0.2em;
}
select {
    color:#333333;
    background-color:#EFEFEF;
    height:16px;
    line-height:16px;
    border:1px solid #CCC;
    padding:5px;
    padding-left:0px;
    padding-right:0px;
    width:135px;
    text-align:left;
    font-size:13px;
    margin:0px;
    box-sizing:content-box;
    border-radius:0.2em 0.2em 0.2em 0.2em;
}

input[type="text"] {
    width:135px;
}
input[type="text"]:disabled {
    background-color:#DFDFDF;
    color:#AAA;
    border:1px solid #CFCFCF;
}
textarea:disabled {
    background-color:#DFDFDF;
    color:#AAA;
    border:1px solid #CFCFCF;
}
select:disabled {
    background-color:#DFDFDF;
    color:#AAA;
    border:1px solid #CFCFCF;
}

input[type="checkbox"] {
    height:auto;
    width:auto;
    line-height:normal;
}

input[type="radio"] {
    height:auto;
    width:auto;
    line-height:normal;
}

input[type="submit"] {
    background-color:#FFFFFF;
    color:#333;
    border:1px solid #DFDFDF;
    padding-left:25px;
    padding-right:25px;
    padding-top:5px;
    padding-bottom:5px;
    cursor:pointer;
    margin:0px;
    border-radius:0.4em 0.4em 0.4em 0.4em;
}
input[type="submit"]:hover {
    background-color:#CFCFCF;
    color:#333;
    border:1px solid #CFCFCF;
    padding-left:25px;
    padding-right:25px;
    padding-top:5px;
    padding-bottom:5px;
    cursor:pointer;
    margin:0px;
    border-radius:0.4em 0.4em 0.4em 0.4em;
}
input[type="submit"]:active {
    background-color:#CFCFCF;
    color:#333;
    border:1px solid #CFCFCF;
    padding-left:25px;
    padding-right:25px;
    padding-top:5px;
    padding-bottom:5px;
    cursor:pointer;
    margin:0px;
    border-radius:0.4em 0.4em 0.4em 0.4em;
}

input[type="button"] {
    background-color:#FFFFFF;
    color:#333;
    border:1px solid #DFDFDF;
    text-align:center;
    padding:5px;
    cursor:pointer;
    margin:0px;
    border-radius:0.4em 0.4em 0.4em 0.4em;
}
input[type="button"]:hover {
    background-color:#CFCFCF;
    color:#333;
    border:1px solid #CFCFCF;
    text-align:center;
    padding:5px;
    cursor:pointer;
    margin:0px;
    border-radius:0.4em 0.4em 0.4em 0.4em;
}
input[type="button"]:active {
    background-color:#CFCFCF;
    color:#333;
    border:1px solid #CFCFCF;
    text-align:center;
    padding:5px;
    cursor:pointer;
    margin:0px;
    border-radius:0.4em 0.4em 0.4em 0.4em;
}
input[type="button"]:disabled {
    background-color:#CFCFCF;
    color:#AAA;
    border:1px solid #CFCFCF;
    text-align:center;
    padding:5px;
    cursor:inherit;
    margin:0px;
    border-radius:0.4em 0.4em 0.4em 0.4em;
}

input[type="button"].mini {
    font-size:10px;
    background-color:#FFFFFF;
    color:#333;
    border:1px solid #DFDFDF;
    text-align:center;
    padding-bottom:1px;
    cursor:pointer;
    margin:0px;
    border-radius:0.4em 0.4em 0.4em 0.4em;
}
input[type="button"].mini:hover {
    font-size:10px;
    background-color:#CFCFCF;
    color:#333;
    border:1px solid #CFCFCF;
    text-align:center;
    padding-bottom:1px;
    cursor:pointer;
    margin:0px;
    border-radius:0.4em 0.4em 0.4em 0.4em;
}
input[type="button"].mini:active {
    font-size:10px;
    background-color:#CFCFCF;
    color:#333;
    border:1px solid #CFCFCF;
    text-align:center;
    padding-bottom:1px;
    cursor:pointer;
    margin:0px;
    border-radius:0.4em 0.4em 0.4em 0.4em;
}

input[type="button"].blue {
    background-color:#ececec;
    color:#3076B6;
    border:1px outset #999;
    border-radius:0.2em 0.2em 0.2em 0.2em;
}
input[type="button"].blue:hover {
    background-color:#ececec;
    color:#3076B6;
    border:1px inset #999;
    border-radius:0.2em 0.2em 0.2em 0.2em;
}
input[type="button"].blue:active {
    background-color:#ececec;
    color:#3076B6;
    border:1px outset #999;
    border-radius:0.2em 0.2em 0.2em 0.2em;
}

input[type="button"].inp_but_bg_grey {
    cursor:pointer;
    background-color:#ececec;
    border:1px solid #999;
}
input[type="button"].inp_but_bg_grey:hover {
    cursor:pointer;
    background-color:#ececec;
    border:1px inset #999;
}
input[type="button"].inp_but_bg_grey:active {
    cursor:pointer;
    background-color:#ececec;
    border:1px inset #999;
}

input[type="button"].inp_but_bg_red {
    cursor:pointer;
    background-color:#990000;
    color:#FFF;
    border:1px solid #999;
}
input[type="button"].inp_but_bg_red:hover {
    cursor:pointer;
    background-color:#990000;
    color:#FFF;
    border:1px inset #999;
}
input[type="button"].inp_but_bg_red:active {
    cursor:pointer;
    background-color:#990000;
    color:#FFF;
    border:1px inset #999;
}

input[type="checkbox"].check {
    appearance: none;
    background-color: transparent;
    color: #333;
    border-width:0px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    display:flex;
    border-width:0px;
}
input[type="checkbox"].check::before {
    content: '\f584';
    position: relative;
    font-family: bootstrap-icons !important;
    font-size: 16px;
    top:3px;
    left:2px;
}

input[type="checkbox"].check:checked {
    background-color: transparent;
    color: var(--bs-success);
}
input[type="checkbox"].check:checked::before {
    content: '\f271';
    font-size: 20px;
    top:0px;
    left:0px;
}

input[type="checkbox"].check:checked:disabled {
    background-color: transparent !important;
    cursor: default !important;
}

input[type="checkbox"].check:disabled {
    background-color: transparent !important;
    cursor: default !important;
}

input[type="checkbox"].check-sm::before {
    font-size: 11px;
    top:1px;
    left:1px;
}
input[type="checkbox"].check-sm:checked::before {
    font-size: 14px;
    top:0px;
    left:0px;
}

input[type="checkbox"].check-lg::before {
    font-size: 22px;
    height:28px;
    width:30px;
    top:1px;
    left:1px;
}
input[type="checkbox"].check-lg:checked::before {
    font-size: 26px;
    height:28px;
    width:30px;
    top:0px;
    left:0px;
}


.form-switch .form-check-input.form-check-input-toggle-red-green {
    height: 14px;
    width: 38px;
}
.form-switch .form-check-input.form-check-input-toggle-red-green {
    background-color: var(--bs-danger);
    border-color: var(--bs-danger);
}
.form-switch .form-check-input.form-check-input-toggle-red-green:checked {
    background-color: var(--bs-success);
    border-color: var(--bs-success);
}

.select2-selection.select2-selection--multiple {
    height:33px;
    overflow-x: hidden;
}

.select2-search__field {
    height: 28px;
}

.tooltip {
    z-index: 999999998;
}
.swal2-container {
    z-index: 999999999;
}
.swal2-content > .swal2-select {
    width:100%;
    height: auto;
}

.btn-double-icon::before {
    padding-right: .25rem!important
}
.border-start-white {
    border-right-color: white !important;
}

.badge {
    font-weight: normal !important;
}

.round-10 {
    border-radius: 10px;
    height:10px;
    width:10px;
    display: inline-block;
}

.note-editable > p {
    margin-bottom: 0px;
}

.form-switch > .form-check-input {
    height:6px;
}

.ani_shake {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}