html {
    overflow-y: scroll;
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 30px;
    padding-right: 0 !important;
}

.navbar-toggle {
    float: left;
    margin-right: 0;
    margin-left: 8px;
}

a:hover {
    text-decoration: none;
}

table a:not(.btn),
.table a:not(.btn) {
    text-decoration: none;
}

a.action {
    margin-right: 10px;
    font-weight: bold;
}

.row.feedback p {
    padding: 15px;
}

label small {
    font-weight: normal;
}

.modal-backdrop {
    z-index: -1;
}

.form-control.active {
    outline: 0;
    border-color: #3FB618;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

table.table {
    width: 100% !important;
}

h2 {
    font-size: 50px;
}

.fa.fa-play-circle {
    font-size: 22px;
}

.keyboard audio {
    width: 47px;
}

.keyboard a {
    font-weight: bold;
}

.menu-options-menu {
    list-style: none;
}

.ui360 a,
.ui360 a:hover,
.ui360 a:focus {
    padding: 2px;
    margin-left: 10px;
    margin-top: -15px;
}

.table-header-bordered tr,
.table-header-bordered tr th {
    border: 1px solid #ddd;
}

.app-mode {
    position: fixed;
    right: 15px;
}

.bg-online {
    background-color: green;
    color: #FFF;
    font-weight: bold;
    padding: 2px;
}

.bg-offline {
    background-color: yellow;
    color: #FFF;
    font-weight: bold;
    padding: 2px;
}

.btn-service {
    margin-left: 8px;
}

/* Sticky footer styles -------------------------------------------------- */

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 45px;
}

.table-condensed>tbody>tr>td.audio {
    padding: 2px 5px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    min-height: 44px;
	height: 44px;
    background-color: #f5f5f5;
}

.footer p {
    margin-top: 10px;
}

.footer a {
    color: #000;
    font-weight: bold;
}

/* Overrides -------------------------------------------------- */

.modal-backdrop {
    z-index: 3;
}

body {
    padding-right: 0 !important;
}

.overflow-ellipsis {
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 1.2em;
    white-space: nowrap;
}

.navbar-fixed-bottom .navbar-collapse,
.navbar-fixed-top .navbar-collapse {
    max-height: 500px;
}

.panel-heading-title {
    padding: 8px 0 !important;
}

.table-condensed {
    margin: 0;
}

.col-sm-7 {
    text-align: right;
}

.info-box {
    padding: 0 10px !important;
}

.table-condensed tr:first-child td {
    border-top: none !important;
}

.table-expand tr:first-child td {
    border-top: 2px #ddd solid !important;
}

.table-shrink {
    margin-bottom: 1px !important;
}

.table-shrink tr:last-child td {
    border-bottom: 1px #ddd solid !important;
}

.table-shrink tr:last-child td.no-bottom-border {
    border-bottom: 2px transparent solid !important;
}

.table-shrink small {
    font-size: 10px;
    font-style: italic;
}

.table-condensed td {
    padding: 3px 4px !important;
}

.panel-heading .fa {
    vertical-align: 1px;
}

.nav-tabs {
    font-size: 12px;
}

.nav-tabs li a {
    padding: 5px 7px;
}

.no-vertical-margin {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.no-horizontal-margin {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.no-top-padding {
    padding-bottom: 0 !important;
}

.no-padding {
    padding: 0 !important;
}

.bottom-panel .nav {
    font-size: 11px !important;
}

.small-file-panel {
    font-size: 11px !important;
    overflow-x: hidden;
    overflow-y: auto;
    height: 235px;
    max-height: 235px;
}

.pull-right {
    margin-right: .5em;
}

.pull-left {
    display: inline;
}

h1 .pull-right {
    margin-right: 0;
}

h1 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

label {
    font-weight: bold;
    margin-top: 5px;
}

.pull-down {
    position: absolute;
    bottom: 10px;
}

.pull-down-right {
    position: absolute;
    bottom: 50px;
    right: 50px;
}

.dialog-html {
    text-align: center;
    font-size: 14px;
    width: 250px;
    padding-bottom: 1.5em;
    overflow: hidden;
    margin: 0 auto;
}

.dialog-html input[type='text'] {
    display: inline;
    width: auto !important;
    text-align: center;
}

.form-right td {
    vertical-align: middle !important;
    padding-top: 5px;
}

.file-panel {
    overflow-x: hidden;
    overflow-y: auto;
    height: 720px;
    max-height: 720px;
}

.opaque {
    opacity: 0.5;
}

.action-details {
    cursor: pointer;
}

.action-details:hover {
    color: blue;
}

.html-details {
    font-size: 12px;
    text-align: left;
    max-height: 420px !important;
    overflow-y: auto;
}

.info-icon {
    margin-right: -3px;
    color: gray;
}

.remark {
    cursor: pointer;
}

.remark:hover {
    color: blue;
}

.attachments {
    margin-bottom: 1em;
}

.attachments>div:nth-of-type(2n) {
    background: #fafafa;
}

/*
    columns in active/processing/steps panels
    responsive cell with auto ... must have fixed width
*/

.content-fixed-width {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fixed-width-short {
    width: 50px;
    min-width: 50px;
    max-width: 50px;
}

.fixed-width-middle {
    width: 70px;
    min-width: 70px;
    max-width: 70px;
}

.fixed-width-default {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}

.fixed-width-long {
    width: 190px;
    min-width: 190px;
    max-width: 190px;
}

.is-dragover {
    background: #eee !important;
    opacity: 0.9;
}

.form-group.required .control-label:after {
    content: "*";
    color: #c77;
    font-size: 12px;
    padding-left: 5px;
}

.control-label.required:after {
    content: "*";
    color: #c77;
    font-size: inherit !important;
    padding-left: 5px;
}

.required-char {
    color: #c77;
    font-size: 12px;
}

.left-title {
    font-weight: bold;
}

.left-title>i {
    margin-right: 0.25em;
    color: gray;
}

.title-buttons>button {
    height: 20px;
}

.dragdrop-panel {
    height: 100%;
}

.ui-tooltip {
    background: #FAFAD0;
    z-index: 999999;
}

.upload-area {
    width: 100%;
    height: 320px;
    text-align: center;
    border: 1px #ccc solid;
    border-radius: 3px;
    line-height: 320px;
}

.form {
    font-size: 12px;
}

.form select,
.form input {
    height: auto !important;
}

.remark-scroll {
    max-height: 530px !important;
    overflow-x: auto;
}

.remark-scroll-small {
    max-height: 450px !important;
    overflow-x: auto;
}

.clickable-row {
    cursor: default;
}

.details-scroll-pane {
    max-height: 200px;
    margin-bottom: 1em;
    overflow-y: auto;
}

.scroll-pane {
    max-height: 200px;
}

.details-pane {
    margin-bottom: 1em;
    overflow-y: auto;
}

.small-details-scroll-pane {
    max-height: 100px;
    margin-bottom: 1em;
    overflow-y: auto;
}

tr.jq-table-row-clickable {
    cursor: pointer;
}

.span-right {
    float: right;
}

.ord-days {
    float: right;
    width: 40px;
    margin-right: 5px;
    margin-top: -5px;
    padding: 0 3px;
    font-size: 12px;
    height: 25px;
}

hr {
    clear: both;
}

.btn-block {
    width: 80%;
    display: block;
    margin: 0 auto;
}

.btns {
    padding-top: 200px;
    width: 10%;
    display: inline;
    float: left;
    height: 500px;
}

#form-div {
    width: 100%;
    display: inline-block;
    margin: 0 auto;
}

.ul-1,
.ul-2 {
    text-align: center;
}

#view p {
    margin-top: 50px;
}

.countries-select {
    width: 10%;
    margin-bottom: 20px;
}

form #iik_file {
    border: 0 !important;
}

.dropdown-li .fa {
    transform: scale(0.7, 0.7);
}

table .fa {
    font-size: inherit;
    vertical-align: 0;
}

.table-tr {
    width: 20% !important;
}

.inner-table {
    margin: 0 !important;
    border: 1px solid #999 !important;
}

.inner-table td {
    font-size: 13px;
    padding: 3px 2px !important;
    text-align: right
}

.inner-table td,
.inner-table th {
    text-align: right
}

div.ui-tooltip {
    word-wrap: break-word !important;
}

.form-textarea {
    min-height: 80px;
}

.label-div .fa {
    color: black !important;
}

input.iconpicker-search {
    width: 100%;
}

.label-text {
    width: 19% !important;
    display: inline;
    float: right;
}

.label-input {
    width: 30% !important;
    display: inline;
    float: right !important;
    margin-right: 1% !important;
}

.form-password {
    margin-top: 100px !important;
}

.form-password label {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

.form-password form {
    padding: 50px !important;
}

.info-span {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.event-div {
    display: inline;
    float: right;
    margin-top: 0;
    margin-left: 5px;
}

.event-info {
    display: block;
    font-size: 10px;
    margin-bottom: -5px;
    margin-top: -4px;
    margin-left: -25px;
}

.event-info>span {
    margin-left: 4px;
}

.event-name {
    margin: 0;
    margin-bottom: 2px;
}

.event-section a {
    vertical-align: text-top;
}

.select-days {
    width: 70px !important;
    display: inline-block !important;
}

.event-days-select {
    margin-bottom: 20px;
}

.info-warn {
    color: orange;
}

.info-error {
    color: red;
}

td.day {
    box-shadow: none !important;
}

#calendar {
    height: 480px;
    width: 95%;
    margin: 0 auto;
}

#repeat {
    display: block;
    transform: scale(2.5, 2.5);
    border-style: solid;
    box-shadow: none;
    border: none;
    border-width: 0;
    border-radius: 0;
    margin-top: 10px;
    margin-left: 60px;
}

.day {
    width: 30px !important;
}

input[type='file'] {
    width: 250px;
    max-width: 250px;
}

.direction-select,
.label-input,
.tooltip-input,
.label-text {
    padding: 0px 3px;
    height: 20px;
    font-size: 11px;
}

textarea {
    resize: none
}

span.error-tooltip {
    float: right;
    margin-right: 3px;
    padding-top: 6px;
}

.toggle-panels {
    color: #777;
}

.toggle-panels:hover {
    color: blue;
}

.search-owner-agents {
    width: 250px;
    display: inline;
}

.left-panel .fa {
    width: 16px;
    height: 16px;
}

td.strikeout {
    text-decoration: line-through;
}

#details_panel .info-icon {
    color: #a94442;
}

.blank-right-panel {
    overflow: hidden;
    height: 757px;
    border-style: dotted;
}

span.disabled,
span.disabled a {
    color: gray !important;
}

.btn-check,
.btn-uncheck {
    padding: 7px 15px 5px !important;
    line-height: 1.2;
}

.ui-item-custom {
    padding: 3px 1em 3px .4em;
}

.info table tr,
.info table td {
    padding: 5px !important;
}

.textarea-auto {
    height: auto !important;
}

.inline-filter label {
    display: inline;
    float: left;
    margin: 27px 10px 0 0;
}

.inline-filter div {
    display: inline;
    float: left;
    width: 30px !important;
    height: 20px;
    margin-top: 25px;
}

.no-border {
    border: 1px white solid;
}

.table-condensed td.slider-cell {
    padding: 0 !important;
    font-size: 12px;
}

.slider-horizontal {
    height: 16px;
}

.slider-handle {
    margin-top: 2px;
    width: 15px;
    height: 15px;
}

.navbar-collapse {
    max-height: none !important;
}

.navbar-nav li a {
      display: flex;
      align-items: center;
}

/*.navbar-collapse.in .event-div,
.navbar-collapse.in .navbar-nav li i,
.navbar-collapse.collapsing .navbar-nav li i,
.navbar-collapse.collapsing .event-div {
    margin-top: 1px;
    margin-left: 0;
}*/

.form-group-param-type {
    height: 200px;
}

.form-group-inline {
    display: inline;
    float: left;
    margin-right: 2% !important;
}

.form-group-inline-block {
    display: inline-block;
    width: 100%;
}

.form-group-inline .control-label.col-md-6,
.form-group-inline .control-label.col-md-5,
.form-group-inline .control-label.col-md-4,
.form-group-inline .control-label.col-md-3,
.control-label.col-md-6,
.control-label.col-md-5 {
    padding-left: 0;
    padding-right: 0;
    text-align: left;
}

.btn-select-status {
    width: 80%;
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
}

.btn-dropdown-status {
    width: 20%;
    border: 1px solid #ccc;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}

.input-group-dossier-status .dropdown-menu input,
.input-group-dossier-status .dropdown-menu label {
    vertical-align: middle;
    margin: 0;
}

div.event-message {
    white-space: nowrap;
    max-width: 900px;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 320px;
}

span.nowrap {
    white-space: nowrap;
}

.group-actions {
    margin: 5px 0;
}

.group-actions label {
    cursor: pointer;
}

.group-actions .chk {
    margin-right: 15px;
}

.panel-column {
    padding: 5px 10px;
    border-right: 1px solid #ccc;
    margin: 0;
    font-weight: bold;
    text-align: center;
    height: 25px;
}

.list-group-item .fa-cog {
    float: right;
}

.list-group-item {
    display: inline-block;
    width: 100%;
}

select.readonly {
    background: #eee !important
}

select.readonly-additional {
    background: #eee !important
}

div.preview-letter {
    max-height: 220px;
    overflow-y: auto
}

div.preview-sms {
    max-height: 320px;
    overflow-y: auto
}

div.preview-email {
    max-height: 420px;
    overflow-y: auto
}

.form-group-second-column,
.form-group-second-column input,
.form-group-second-column textarea {
    padding-right: 0 !important;
}

.form-group-second-column input,
.form-group-second-column label,
.form-group-first-column input,
.form-group-first-column label {
    display: inline-block;
}

.form-group-parent {
    display: inline-block;
    width: 100%;
    padding: 0 15px;
}

.form-group-parent label {
    text-align: right !important;
}

.form-group-parent .form-group-first-column {
    margin-left: -15px;
    padding-left: 0;
}

.form-group-parent .form-group-second-column {
    padding-left: 0;
    float: right;
    margin-right: -30px;
}

#invoice_creditor.readonly {
    opacity: 0.7;
}

.textarea-s {
    height: 80px !important;
}

.panel-heading-default {
    color: #333 !important;
    background-color: #f5f5f5 !important;
    border-color: #ddd !important;
}

.panel-heading-success {
    color: #3c763d !important;
    background-color: #dff0d8 !important;
    border-color: #d6e9c6 !important;
}

.panel-button {
    width: 100%;
    display: inline-block;
    height: 50px;
}

.action {
    color: #337ab7;
    cursor: pointer;
}

.notifier-icon {
    font-size: 30px;
}

.hide-table-row {
    display: none;
}

.show-table-row {
    display: table-row;
}

.table-row td {
    vertical-align: middle !important;
}

.empty-table-row td {
    border-top: none !important;
}

.col-no-padding {
    padding-left: 0 !important;
    padding-right: 10px;
}

.checkbox-no-padding {
    line-height: normal !important;
    margin: 0 !important;
}

.document-panel {
    min-height: 92px;
    overflow: hidden;
}

.panel .filters {
    width: 95px;
    padding-left: 0 !important;
}

.no-top-border td {
    border-top: 1px transparent solid !important;
}

.no-bottom-border td {
    border-bottom: none !important;
}

input::-webkit-calendar-picker-indicator {
    display: none;
    /* remove default arrow */
}

.nav .fa-fw {
    text-align: left;
}

#totals-sum-page-2>div {
    margin: 0;
    padding: 0;
}

.manage-cost-debt-form .select2 {
    display: block;
    width: 100% !important;
}

.underline {
    text-decoration: none;
}

.underline:hover {
    text-decoration: underline;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.commission {
    font-size: 12px;
}

.commission .json-view {
    width: 100%;
    border: none;
}

.btn-icon {
    height: 19px !important;
}

.submenu-item {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.document-file-name-wrap {
    width: 330px;
    max-width: 330px;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.field-config-column {
    width: 100px !important;
}

.table-selected-row {
    background: #DFF0D8;
    color: black;
}

.tooltip-view {
    color: black;
    cursor: default;
}

.menu-icon {
    width: 22px !important;
    max-width: 22px;
    text-align: center !important;
}

.no-vertical-padding {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.hr-s {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.hr-xs {
    margin-top: 0px !important;
    margin-bottom: 10px !important;
}

.no-box-shadow {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.no-bottom-margin {
    margin-bottom: 0 !important;
}

.icon-red:hover {
    color: red;
    cursor: pointer;
}

.switch-control {
    padding-top: 20px;
}

.switch-control>div>label {
    font-size: 13px;
    display: block;
    margin: 12px 5px 0 0;
}

.switch-control>.label-div {
    height: 40px;
    display: inline;
    float: left;
}

.switch-control .toggle {
    height: 27px;
    min-height: 27px;
    margin-top: 6px;
}

.title-btn {
    margin-top: 5px;
}

.ui-tooltip hr {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    border-top: 1px solid #575757;
}

.no-horizontal-margin {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.adjust-col-inputs {
    margin-left: -5px !important;
}

.bonitet-remark {
    padding-top: 3px;
}

.popup-text-cell {
    border-top: 1px solid #272727 !important;
}

.popup-text-scroll {
    overflow-y: auto;
}

.hr-black {
    color: #272727 !important;
    border-color: #272727 !important;
}

.h-200 {
    height: 200px !important;
}

.h-260 {
    height: 260px !important;
}

.mandator-debt-switch .toggle {
    margin-left: calc(50% - 55px);
}

.mandator-debt-switch>label {
    text-align: left !important;
    display: block;
}

.sweet-alert .cancel {
    background-color: #C1C1C1;
}

.sweet-alert .cancel {
    color: white;
    border: none;
    box-shadow: none;
    font-size: 17px;
    font-weight: 500;
    -webkit-border-radius: 4px;
    border-radius: 5px;
    padding: 10px 32px;
    margin: 26px 5px 0;
    cursor: pointer;
}

.table-attachments {
    height: 157px;
    overflow-y: auto;
    max-height: 157px;
}

.inline-checkbox {
    margin-top: 7px !important;
}

#websocket_status {
    border-right: 2px black solid;
}

.btn-export {
    margin-right: 2px;
}

.inline-slider {
    height: 30px;
}

.inline-slider>.slider>div {
    margin-top: 8px;
}

.inline-slider .slider-track {
    margin-top: 0 !important;
}

.table-header-button {
    margin-top: -5px;
}

.table-separator {
    border-top: 1px solid #aaa !important;
}

.contacts-table-titles {
    margin: 10px 0 0 !important;
    font-size: 15px;
}

.switch-disable {
    cursor: not-allowed;
}

.table.col-md-4 {
    margin-right: 2px;
    width: 33.2% !important;
}

.d-none {
    display: none;
}

.hidden {
    display: none !important;
}

.help-swal {
    width: 60% !important;
    overflow-y: scroll;
    margin-left: -30% !important;
    height: 60% !important;
    overflow: hidden !important;
}

p.help-normal {
    color: #000000;
}

pre.help-code {
    background-color: #e0e0e0;
    color: #404040;
}

h1.help-heading1 {
    color: #000000;
}

h2.help-heading2 {
    color: #ff0000;
}

h3.help-heading3 {
    color: #0044ff;
}

/* CUSTOM MODAL FOR INSERT PICTURE */

[aria-label="Insert Picture"] .modal-content {
    /* TODO IMPROVE CSS selector */
    width: 600px;
    height: 400px;
}

img.img-search-pictures {
    max-width: 500px;
    max-height: 200px;
}

table.dataTable tbody tr.CREATED {
    background-color: #d68e22be;
}

table.dataTable tbody tr.CONCEALED {
    background-color: #9cc97cef;
}

table.table {
    width: 100%;
}

div#help-content {
    text-align: left;
    height: 475px !important;
    max-height: 475px !important;
    overflow-y: auto;
}

span.btn {
    cursor: default;
}

.help-swal .swal-close-button {
    /*
    THIS IS NOT USED
    BUT IF IT WILL BE USED IT NEEDS TO BE REPAIRED BECAUSE CLOSE BUTTON IS TOO
    CLOSE TO CONTENT, IT DOESN'T LOOK NICE
    */
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: #797979;
    font-size: 35px;
}

.help-swal .swal-close-button:hover {
    color: #ff0000;
}

.sweet-alert .panel-heading h2 {
    margin: 5px 0 5px 16px !important;
    text-align: left !important;
    font-size: 18px !important;
}

.sweet-alert .panel-heading {
    margin-bottom: 20px !important;
    border: none !important;
    padding: 5px 15px !important;
}

.sweet-alert .panel-default {
    margin-left: -17px !important;
    margin-right: -17px !important;
    margin-top: -17px !important;
}

.sweetalert-text {
    text-align: left !important;
    padding-left: 17px !important;
}

.sweetalert-text .sa-button-container {
    text-align: center !important;
}

.task-log-swal {
    width: 1600px;
    height: 800px;
    margin-left: -800px;
    overflow: scroll;
}

.task-log-swal #iik-items-table {
    font-size: 10px;
}

.task-log-swal #iik-items-table th {
    text-align: center;
}

div.event-message:hover {
    text-decoration: underline;
}

.group-list input[type=text] {
    width: 78% !important;
}

.group-list button {
    margin-left: 5px;
    margin-top: 1px;
}

.swal-medium {
    width: 800px;
    margin-left: -400px;
}

.swal-group .form-vissible input {
    display: block;
    margin-top: 0;
}

.swal-group .form-vissible .text-left>* {
    margin-top: 10px;
}

.swal-custom-close {
    margin-top: -73px;
    margin-bottom: 50px;
}

.swal-custom-close .icon-red {
    margin-left: 723px;
    height: 30px
}

.panel-groups .file-upload {
    display: none;
}

.incident-group-remark {
    width: 620px;
}

.default-group {
    letter-spacing: 2px;
    margin-right: 17px;
    margin-top: 6px;
    font-weight: bold;
}

.template-text,
.highlightTextarea-container,
.highlightTextarea-highlighter {
    line-height: 1.5em !important;
}

.template-keyword-selector {
    margin-top: .5em;
    overflow-y: auto;
}

.template-keyword-selector ul {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

.template-keyword-selector li {
    line-height: 100%;
    width: 100%;
    list-style: none;
    cursor: pointer;
    padding-left: .5em;
    padding-right: .5em;
    border-radius: 2px;
    margin: 2px 0;
}

.template-keyword-selector li:hover {
    background-color: #fcf8e3 !important;
    font-weight: bold;
}

.panel-keywords table {
    border: 1px solid #ccc;
}

.panel-keywords td {
    vertical-align: middle !important;
}

.panel-keywords table label {
    margin-left: 1em;
}

#table_config td,
.table-group td,
.table-keywords td {
    vertical-align: middle !important;
}

.new-keyword {
    width: 150px;
}

.new-keyword-label {
    padding-top: 5px;
    font-weight: normal;
}

.pull-right {
    margin-right: .5em;
}

.main h1>a.pull-right {
    margin-right: .5em;
}

.main h1>a.pull-right:first-of-type {
    margin-right: 0;
}

.panel-keywords label {
    margin-top: 5px;
}

.keyword {
    cursor: pointer;
    padding: .25em 1em;
    border-radius: 2px;
}

.keyword:hover {
    background-color: #fcf8e3 !important;
}

.operations {
    min-width: 50px;
}

#table-messages td:nth-of-type(3) {
    white-space: nowrap;
}

.my-jquery-tooltip-styling {
    max-width: 700px;
}

.color-text {
    font-size: 11px;
    cursor: text;
}

.color-text i {
    color: #337ab7;
    font-style: normal;
}

@font-face {
    font-family: 'dotsfont';
    src: url('/plugin/fonts/dotsfont/dotsfont.eot');
    src: url('/plugin/fonts/dotsfont/dotsfont.eot?#iefix') format('embedded-opentype'),
        url('/plugin/fonts/dotsfont/dotsfont.woff') format('woff'),
        url('/plugin/fonts/dotsfont/dotsfont.ttf') format('truetype'),
        url('/plugin/fonts/dotsfont/dotsfont.svg#dotsfontregular') format('svg');
}

.password {
    font-family: 'dotsfont';
}

.no-wrap {
    white-space: nowrap;
}

.no-horizontal-margin {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.no-horizontal-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.no-right-padding {
    padding-right: 0;
}

button.vertical {
    padding-top: 7px;
    height: 30px;
}

.sweet-overlay {
    z-index: 9990 !important;
}

.import-edit-swal {
    width: 1400px;
    margin-left: -700px;
    overflow-y: hidden;
    z-index: 9991;
}

.import-edit-swal h2 {
    /* Do not display swal h2 title */
    display: none;
}

.triage-swal,
.quarantine-swal {
    width: 700px;
    margin-left: -350px;
    max-height: 100%;
    overflow-y: auto;
    z-index: 9991;
}

.triage-swal h2 {
    /* Do not display swal h2 title */
    display: none;
}

th.import-edit.required:after {
    content: "*";
    color: #c77;
    font-size: 12px;
    padding-left: 5px;
}

.next-button {
    font-size: 18px;
}

.area-2x-height {
    height: 25em !important;
}

table.import-config tbody td {
    vertical-align: middle;
}

table.import-config tbody td label {
    margin-top: 3px;
}

#import-edit-table .action:focus {
    color: #000;
}

.symptom-datum {
    color: red;
}

.pointer {
    cursor: pointer !important;
}

.message-parts {
    padding-left: 10px;
}

/* Fix sweetalert */

.sweet-alert fieldset input {
    /* Do not display fieldset input */
    display: none;
}

textarea#remark,
textarea#contact_remark,
textarea#contact_person_remark,
textarea#person_remark,
textarea#app_code_status_message,
textarea#triage_remark {
    height: auto;
}

#travel-form #div_test_in_quarantine,
#travel-form #div_recent_contact_positive,
#travel-form #div_time_app_code_sent,
#contact-form #div_person_identity {
    margin-bottom: 2em;
}

#contact-div,
#contact-div input,
#contact-div textarea,
#contact-div select {
    font-size: 12px !important;
}

.contact-editing {
    background-color: #5BC0DE !important;
    font-weight: bold;
}

#contact-div .input-group {
    margin-bottom: -5px !important;
}

#travel-form h4 {
    margin-top: 0 !important;
}

#travel-form *[disabled],
#travel-form *[readonly],
#contact-form *[disabled],
#contact-form *[readonly] {
    cursor: default !important;
}

#travel-form label,
#contact-form label,
#travel-form span.error-tooltip,
#contact-form span.error-tooltip {
    padding-top: 6px;
}

.sweet-alert input.check-small,
.sweet-alert input.reasons {
    margin-bottom: 5px;
}

.sweet-alert input.reasons,
.sweet-alert select.reasons {
    margin-left: 15px;
    width: 350px;
    margin-bottom: 5px;
}

.sweet-alert input.reasons {
    margin-top: 0;
    padding: 0 4px;
}

.sweet-alert input.check-small {
    z-index: 10000 !important;
}

label.p20 {
    width: 20%;
}

label.p18 {
    width: 18%;
}

#table-persons th:nth-of-type(12),
#table-persons td:nth-of-type(12),
#table-persons th:nth-of-type(13),
#table-persons td:nth-of-type(13) {
    text-align: center;
}

/*Select2 ReadOnly Start*/

select[readonly].select2-hidden-accessible + .select2-container {
    pointer-events: none;
    touch-action: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
    background: #eee;
    box-shadow: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection__arrow, select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {
    display: none;
}

/*Select2 ReadOnly End*/

#contact-manager p {
    padding-top: 12px;
}

.exported-msg {
    vertical-align: -2px;
    margin-left: .5em;
}

#contact-manager input {
    border-radius: 4px;
}

.add-contact-button {
    margin-bottom: 5px;
}

hr.hr-small {
    margin-top: 15px;
    margin-bottom: 15px;
}

#user-2fa-form *[readonly] {
    cursor: text !important;
}

.small-margin-right {
    margin-right: 20px;
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

.smaller-label-padding {
    padding-top: 3px !important;
}

#contact-form .form-group,
#travel-form .form-group {
    margin-bottom: 5px;
}

#contact-div .form-group {
    margin-bottom: 8px;
}

.jdmt-logo {
    margin-top: .35em;
}

#delete-remark {
    width: 100%;
}

#travel-form textarea,
#contact-form textarea {
    overflow-x: hidden;
    border-radius: 3px;
}

h4.no-top-margin {
    margin-top: 0;
}

#contact-div .form-control {
    padding-top: 4px;
    padding-bottom: 4px;
}

.transparent {
    background: transparent;
}

.export-title {
    margin-left: 1em;
}

.export-title small {
    font-size: 20px;
}

.small-padding-bottom {
    padding-bottom: 15px;
}

.small-padding-top {
    padding-top: 3px;
}

.email-padding-bottom {
    padding-bottom: 25px;
}

.triage-form-vpadding {
    padding-top: 3px;
    padding-bottom: 3px;
}

.font-weight-bold {
    font-weight: bold;
}

.font-format-size {
    font-style: normal !important;
}

#quarantine-form textarea {
    margin-bottom: 1em;
    overflow-x: hidden;
    height: auto;
    resize: vertical;
    max-height: 250px;
}

#quarantine-form .reasons {
    font-size: 15px !important;
}

#quarantine-form input[type=radio],
#quarantine-form input[type=checkbox] {
    margin-top: 4px;
    margin-bottom: 11px;
}

#quarantine-form .reasons label {
    cursor: pointer;
    margin: 0;
    width: 100%;
    padding: 0 !important;
}

#quarantine-form .reasons span {
    padding-top: 1px;
    padding-left: 0;
}

#quarantine-form h3 {
    margin-top: .125em;
    margin-bottom: .625em;
}

.overview-content {
    font-size: 18px;
}

.calc {
    color: #8CD4F5;
    text-align: center;
    cursor: pointer;
    padding: 0 3px;
    z-index: 10000;
}

.calc:hover {
    color: black;
}

#current_date {
    text-align: center;
}

.small-table {
    font-size: 12px;
}

.small-table td {
    width: 50%;
}

.small-table td input {
    text-align: center;
    margin: 0 0 0 .5em;
    background: #eee;
}

.quarantine-label {
    padding-top: 14px !important;
}

#list-table tr td:first-of-type {
    width: 50px;
    text-align: center;
    font-size: 20px;
    line-height: 150%;
}

#list-table th.required:after {
    content: "*";
    color: #c77;
    font-size: 12px;
    padding-left: 5px;
}

#list-table button.delete-row,
#list-table button.add-row {
    margin-top: 3px;
    width: 30px;
}

#cancel_quarantine {
    max-width: 105%;
    overflow: hidden;
    text-overflow: ellipsis;
}

div#history-remark,
div#call-history-remark {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 10px;
}

#table-remark-history,
#table-call-remark-history {
    margin-bottom: 0;
}

.recall label {
    cursor: pointer;
}

.recall input[type='radio'] {
    margin: 0;
}

textarea.smallarea {
    height: 3.75em;
}

#contact-form label.reach {
    padding-top: 0;
}

#contact-form #recipient_total,
#contact-form #message_total,
#contact-form #counter,
#contact-form #keywordcounter {
    margin-top: 5px;
}

div.font-size-13px {
    font-size: 13px;
}

.call-status label {
    margin: 0 !important;
    margin-right: 1.5em;
    cursor: pointer;
}

.call-status input[type='radio'] {
    margin: 0;
}

.left-padding-3em {
    padding-left: 3em;
}

#div_person_identity {
    margin-bottom: .5em !important;
}

.badge-label {
    vertical-align: 1px;
}

#next_call_manual_dtp {
    float: left;
}

#same_group_label {
    cursor: pointer;
}

#contact-call-filter .user_group_div .select2-selection__choice {
    float: none !important;
    display: inline-block !important;
}

#contact-call-filter .user_group_div .select2-selection {
    height: 12px;
}

#contact-call-statistic tr:first-child td:not(.dataTables_empty),
#table-contact-daily-list tr:first-child td:not(.dataTables_empty),
#contact-early-release-statistic tr:first-child td:not(.dataTables_empty),
#table-person-daily-list tr:first-child td:not(.dataTables_empty) {
    border-bottom: 2px solid #aaa !important;
    font-weight: bold;
}

.st-panel {
    height: 760px;
}

.st-panel-header {
    height: 30px;
}

.st-panel-footer {
    height: 870px;
}

.st-panel-middle .text-left {
    padding-top: 6px;
}

.st-page-content {
    min-height: 700px;
    max-height: 700px;
    overflow-y: auto;
}

.st-reserved {
    margin-top: 4px;
    margin-left: 4px;
    width: 20px;
}

.st-panel-left input {
    margin-right: .5em;
}

.st-info-container .st-info:first-child {
    margin-top: 0;
}

.st-info {
    cursor: pointer;
    font-size: 15px;
    font-weight: normal;
    display: flex;
}

.st-info:hover {
    background-color: #ccc;
}

.st-info.checked {
    color: #01b700;
}

.st-info.level1 {
    margin-top: 1em;
}

.st-info.level2 {
    font-style: italic;
    margin-left: 20px;
}

.st-info p {
    margin-left: 10px;
}

.exposure-survey .select2-results__options {
    font-size: 12px !important;
}

.big-height .select2-selection--multiple {
    min-height: 60px !important;
}

.not-reached-time {
    font-size: 10px;
    border: none;
    text-align: center;
}

.st-panel-right #history-remark {
    max-height: 340px !important;
    overflow-y: auto;
}

.st-overview {
    padding-left: 1em;
    line-height: 150%;
}

.table-events {
    margin-top: .5em;
    margin-bottom: .75em;
}

.table-events > tbody > tr:nth-of-type(1n) {
    background-color: #f9f9f9;
}

.table-events > tbody > tr:nth-of-type(2n) {
    background-color: #f9f9f9;
}

.table-events > tbody > tr:nth-of-type(3n) {
    background-color: #fff;
}

.table-events > tbody > tr:nth-of-type(4n) {
    background-color: #fff;
}

.table-events:hover > tbody > tr:hover {
    background-color: #f5f5f5;
}

#speed_tracing_view_panel div.st-info {
    font-size: 13px;
    cursor: default;
}

.event-buttons button {
    margin-right: 1em;
}

.btn-group-vertical {
    margin-bottom: 30px !important;
}

.buttons-vertical-left {
    padding-right: 5px !important;
}

.buttons-vertical-right {
    padding-left: 5px !important;
}

#delete_not_reached {
    margin-top: 1px;
}

.call-in {
    margin-bottom: .5em;
    width: 100%;
    text-align: left;
}

div.scrolling {
    max-height: 100px;
    overflow-y: auto;
}

table#reachList {
    width: 100%;
}

table#reachList td:first-of-type,
table#reachList td:last-of-type {
    text-align: center;
}

#quarantine-form input[type="radio"] {
    box-shadow: none;
}

#accordion .panel-title {
    margin-top: 4px !important; /* TODO Do not use !important if possible */
    margin-bottom: 4px;
    font-size: 13px;
    color: #2e6da4;
}

#accordion .panel-title a {
    display: block;
}

#contact-form .has-feedback .form-control,
#travel-form .has-feedback .form-control {
    padding-right: 0px;
}

#travel-form input {
    border-radius: 3px;
}

/* 3-state switch, adapted from https://codepen.io/kristijanpetr/pen/yLLxYdE */

.switch-toggle {
    float: left;
    background: white;
    height: 30px;
    border-radius: 4px;
    border: 1px #ccc solid;
}

.switch-toggle input {
    position: absolute;
    opacity: 0;
    margin: 0; padding: 0;
}

.switch-toggle input + label {
    padding: 7px 17px;
    float: left;
    color: #444;
    cursor: pointer;
    transition: background-color 500ms ease;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    border-right: 1px #ccc solid;
}

.switch-toggle input + label:last-of-type {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-right: none;
}

.switch-toggle input + label:hover {
    opacity: .9;
}

.switch-toggle input:checked + label {
    color: white;
    background: green;
    transition: right 500ms ease, background-color 500ms ease, box-shadow 500ms ease;
}

.switch-toggle input:checked + label:nth-of-type(1) {
    background: #D9534F; /** red **/
}

.switch-toggle input:checked + label:nth-of-type(2) {
    background: #337AB7; /** blue **/
}

.switch-toggle input:checked + label:nth-of-type(3) {
    background: #5CB85C; /** green **/
}

.show-st-records-swal {
    width: 1600px;
    height: 800px;
    margin-left: -800px;
}

.show-st-records-swal #show-st-records-table th {
    text-align: center;
}

div#show-st-records-div {
    overflow-y: auto;
    overflow-x: auto;
    height: 650px;
}

a.disabled-link,
a.disabled-link:visited ,
a.disabled-link:active,
a.disabled-link:hover {
    background-color:#fafafa !important;
    color:#777 !important;
    font-style: italic;
}

.requests-container .message {
    margin: 0 0 1em;
}

.requests-container .message .text {
    margin: 0;
    font-size: 13px !important;
}

.requests-container .in {
    margin-left: 10em !important;
    text-align: left !important;
}

.requests-container .attachment {
    padding: 0 !important;
}

.subtitle {
    padding-top: .5em;
}

.right-panel th {
    font-size: 16px;
    font-weight: normal;
}

#table-travel-requests .collapse-row.collapsed + tr {
    display: none;
}

#new-travel-request {
    padding-bottom: 10px;
}

.infotext {
    margin-top: 10px;
    margin-left: 2em;
    background: white;
    padding: 0.5em;
    border-radius: 3px;
}

.infotext span {
    font-weight: bold;
    text-align: left;
    font-size: 12px;
    margin: 1em;
}

.autoresize {
    min-height: 0 !important;
    height: auto;
    width: 100%;
    border: 1px #ccc solid;
    border-radius: 3px;
    max-height: 10em;
    padding: .25em .5em;
    overflow: auto;
}

.autoresize:focus {
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}

.autoresize[readonly] {
    background: #eee;
}

div.has-error textarea.autoresize {
    border: 1px #a94442 solid;
}

div.available-patterns {
    max-height: 500px !important;
    overflow-y: auto;
    margin-top: 3px;
}

div.available-wildcards {
    max-height: 110px !important;
    overflow-y: auto;
    margin-top: 3px;
    margin-bottom: 1em;
}

.big-edit {
    border: 1px gray solid; 
    border-radius: 3px;
    padding: .25em;
    height: 650px !important;
    overflow-y: auto;
}

.big-edit:focus {
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}

.small-table td {
    font-size: 12px !important;
}

.smaller-table {
    height: 450px !important;
    overflow: auto;
}

.middle-table {
    height: 400px !important;
    overflow: auto;
}

.available-wildcards table tr td:first-of-type,
.available-patterns table tr td:first-of-type {
    cursor: pointer;
    font-weight: bold;
    user-select: none;
}

.highlightTextarea-highlighter {
    line-height: 1.2em;
}

.highlightTextarea-highlighter mark {
    background: #ffff00;
}

#travel-archive-filter {
    margin-top: -17px;
    margin-bottom: 17px;
}

.travel-request-type-label {
    vertical-align: -5px;
    padding-left: 20px;
}

label.text-left {
    vertical-align: -5px;
}

table.person-select-table input[type=checkbox],
table.location-select-table input[type=checkbox] {
    margin: 0;
    vertical-align: 1px;
}

table.location-select-table tr td:first-of-type,
table.person-select-table tr td:first-of-type {
    text-align: center;
}

h4.edit-list-table-title {
    margin-top: 0;
}

#table-families tr td:first-of-type {
    text-align: center;
}

.select-all-none {
    cursor: pointer;
}

.select-all-none input {
    vertical-align: 1px;
}

.margin-level-0 {
    margin-left: 0;
}

.margin-level-1 {
    margin-left: 20px;
}

.margin-level-2 {
    margin-left: 40px;
}

.margin-level-3 {
    margin-left: 60px;
}

.action-icon {
    font-size: 16px;
}

table.table-overview tbody tr:nth-of-type(even) { background-color: #aec2da; }
table.table-overview tbody tr:nth-of-type(odd) { background-color: #c7d5e6; }

table tbody tr.even {background-color: #c7d5e6 !important; }
table tbody tr.odd {background-color: #aec2da !important; }

table th.right,
table td.right {
    text-align: right !important;
    padding-right: 50px !important;
}

div.spacer {
    height: 1em;
}

.no-margin {
    margin: 0 !important;
}

h3 { margin-top: 0 !important }

.user-dropdown div.dropdown-menu {
    max-height: 400px;
    overflow-y: scroll;
}

.d-lg-none {
    display: flex;
    align-items: center;
}


/* responsive */

@media (max-width:1200px) {
    .fa-circle-user::before, .fa-user-circle::before {
        vertical-align: -8px;
    }
}

@media (max-width: 991px) {
    
    .user-dropdown {
        border-top: 1px solid #aaa;
    }
    
    .navbar-nav .dropdown-menu {
        width: 100%;
    }

}

.select-user {
    color: #ffa500
}

.vertical-align-center {
    margin-top: 4px !important;
}

#optin-div label.pointer {
    cursor: pointer !important;
}

.orange {
    color: #a40;
}

.blue {
    color: #04a;
}

.green {
    color: #061;
}

.stats-table tr td:first-of-type,
.stats-table tr th:first-of-type {
    width: 5%;
    min-width: 100px;
}

.stats-table tr td:last-of-type,
.stats-table tr th:last-of-type {
    width: 5%;
    min-width: 90px;
}

#optin-filter {
    padding-top: 5px;
}

.default-cursor {
    cursor: default !important;
}

.actions {
	text-align: right;
	width: 120px !important;
}

.actions .fa {
	font-size: 16px;
	margin-left: .25em;
}

.navbar .fa-lg {
	margin-right: .35em;
}

.dropdown-menu .fa {
	margin-right: .25em;
}

.operations .fa,
.operations .far {
	font-size: 14px;
	margin-left: .1em;
	margin-right: .1em;
}

.dataTables_paginate.paging_maxcom {
    margin-top: 0.85em !important;
    margin-bottom: 1em !important;
}

.card {
    margin-top: 1em !important;
    margin-bottom: 1em !important;
}

.info-icon-tooltip {
	font-size: 14px;
	border-top: 3px transparent solid;
}

.navbar {
	padding-top: 10px;
	padding-bottom: 10px;
}

.footer p {
	margin-bottom: 0;
}

.action i.fa,
.operations i.fa,
.action i.far,
.operations i.far,
.action i.fas,
.operations i.fas
{
    font-size: 16px;
}

.swal2-icon.swal2-warning {
    color:#ffc107 !important;
    border-color:#ffc107 !important;
}

.swal2-icon.swal2-error {
  border-color: #dc3545 !important;
  color: #dc3545 !important;
}

.swal2-icon.swal2-error [class^="swal2-x-mark-line"] {
    background-color: #dc3545 !important;
}

.version-text{
    color: #00000069;
    vertical-align:sub;
}

.top-right-btn {
    margin-top:12px;
}