.drts label {
    display: inline-block;
}

.drts table th {
    text-align: left;
}

.drts img {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    max-width: 100% !important;
    box-shadow: none !important;
    vertical-align: middle !important;
    opacity: 1;
}

.drts ul li {
    background: none;
    clear: none !important;
    border: 0;
    margin: 0;
    padding: 0;
}

.drts address,
.drts i {
    margin: 0;
}

.drts select {
    transform: none;
}

.drts .drts-bs-custom-control-inline {
    align-items: center;
}

.drts button {
    box-shadow: none;
    height: auto;
}

.drts .drts-bs-btn {
    background-image: none !important;
}

.drts .drts-bs-btn,
.drts .drts-bs-btn:hover,
.drts .drts-bs-dropdown-menu a,
.drts .drts-bs-nav a {
    text-decoration: none !important;
}

.drts .drts-bs-popover-header:empty {
    display: none;
}

.drts .drts-bs-badge {
    text-decoration: none !important;
}

img.drts-no-image {
    width: 100%;
}

#drts-content {
    margin-bottom: 20px;
}

#drts-nav,
#drts-body {
    clear: both;
}

#drts-nav {
    position: relative;
}

ul.drts-tab-menu {
    list-style: none;
    margin: 10px 0;
    padding: 0;
    float: right;
}

ul.drts-tab-menu li {
    display: inline;
    margin: 0 0 0 0.5em;
    padding: 0;
    white-space: nowrap;
}

ul.drts-tab-menu li:first-child {
    margin-left: 0;
}

.drts-tab-breadcrumbs {
    margin: 10px 0;
    float: left;
}

.drts-clear {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 14px;
    right: 5px;
    color: #b3b3b3;
    cursor: pointer;
}

[class*=drts-col-] > .drts-clear {
    right: 12px;
}

@media (max-width: 992px) {
    .drts-clear {
        font-size: 20px;
    }
}

.drts-data-table .drts-bs-table > tbody > tr > td,
.drts-data-table .drts-bs-table > tfoot > tr > td {
    vertical-align: middle;
}

#drts-modal .drts-form-buttons {
    margin-top: 0 !important;
}

.drts .drts-bs-modal-title {
    font-weight: bold;
    font-size: 20px;
}

.drts .drts-bs-modal-header .drts-bs-close {
    font-size: 24px;
}

.drts .drts-bs-modal-body {
    padding-bottom: 0.5rem;
}

.drts .drts-bs-close:hover {
    cursor: pointer;
}

.drts-bs-table .drts-bs-btn-group {
    display: inline-block;
}

.drts button.drts-bs-list-group-item-action {
    background-image: none !important;
}

.drts button.drts-bs-btn {
    margin: 0;
} /*fix for Safari adding 2px margin*/
.drts .drts-bs-custom-control-input:disabled ~ .drts-bs-custom-control-label::before {
    opacity: 0.6;
}

/* Set z-index larger than WP admin bar */
.swal2-container {
    z-index: 100000 !important;
}

.drts-bs-dropdown-toggle::after {
    position: relative;
}

/* Fix tooltip flickering when hovered */
.drts .drts-bs-tooltip {
    pointer-events: none;
}

.drts .drts-bs-accordion > .drts-bs-card {
    overflow: inherit;
}

.drts-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
    container-type: inline-size;
    container-name: drts-row;
}

.drts-bs-popover .drts-row {
    container-type: normal;
}

.drts-gutter-lg {
    margin-right: -30px;
    margin-left: -30px;
}

.drts-gutter-md {
    margin-right: -15px;
    margin-left: -15px;
}

.drts-gutter-sm {
    margin-right: -5px;
    margin-left: -5px;
}

.drts-gutter-xs {
    margin-right: -2px;
    margin-left: -2px;
}

.drts-gutter-none {
    margin-right: 0;
    margin-left: 0;
}

.drts-gutter-lg.drts-y-gutter > [class*=drts-col-] {
    margin-bottom: 60px;
}

.drts-gutter-md.drts-y-gutter > [class*=drts-col-] {
    margin-bottom: 30px;
}

.drts-gutter-sm.drts-y-gutter > [class*=drts-col-] {
    margin-bottom: 10px;
}

.drts-gutter-xs.drts-y-gutter > [class*=drts-col-] {
    margin-bottom: 4px;
}

.drts-gutter-none.drts-y-gutter > [class*=drts-col-] {
    margin-bottom: 0;
}

.drts-row > [class*=drts-col-] {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 5px;
    padding-left: 5px;
}

.drts-gutter-lg > [class*=drts-col-] {
    padding-right: 30px;
    padding-left: 30px;
}

.drts-gutter-md > [class*=drts-col-] {
    padding-right: 15px;
    padding-left: 15px;
}

.drts-gutter-sm > [class*=drts-col-] {
    padding-right: 5px;
    padding-left: 5px;
}

.drts-gutter-xs > [class*=drts-col-] {
    padding-right: 2px;
    padding-left: 2px;
}

.drts-gutter-none > [class*=drts-col-] {
    padding-right: 0;
    padding-left: 0;
}

/* xs <=320px */
.drts-d-none {
    display: none !important;
}

.drts-d-block {
    display: block !important;
}

.drts-col {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
}

.drts-col-0 {
    display: none !important;
}

.drts-col-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
}

.drts-col-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

.drts-col-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

.drts-col-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.drts-col-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}

.drts-col-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.drts-col-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}

.drts-col-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.drts-col-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
}

.drts-col-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
}

.drts-col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.drts-grow {
    flex-grow: 1;
    max-width: 100%;
}

/* sm >320px */
@container drts-row (min-width: 320px) {
    .drts-sm-d-none {
        display: none !important;
    }

    .drts-sm-d-block {
        display: block !important;
    }

    .drts-col-sm {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    .drts-col-sm-1 {
        -ms-flex: 0 0 8.333333%;
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .drts-col-sm-2 {
        -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .drts-col-sm-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .drts-col-sm-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .drts-col-sm-5 {
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .drts-col-sm-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .drts-col-sm-7 {
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .drts-col-sm-8 {
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .drts-col-sm-9 {
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }

    .drts-col-sm-10 {
        -ms-flex: 0 0 83.333333%;
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .drts-col-sm-12 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .drts-sm-grow {
        flex-grow: 1;
        max-width: 100%;
    }
}
/* md >480px */
@container drts-row (min-width: 480px) {
    .drts-md-d-none {
        display: none !important;
    }

    .drts-md-d-block {
        display: block !important;
    }

    .drts-col-md {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    .drts-col-md-0 {
        display: none !important;
    }

    .drts-col-md-1 {
        -ms-flex: 0 0 8.333333%;
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .drts-col-md-2 {
        -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .drts-col-md-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .drts-col-md-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .drts-col-md-5 {
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .drts-col-md-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .drts-col-md-7 {
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .drts-col-md-8 {
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .drts-col-md-9 {
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }

    .drts-col-md-10 {
        -ms-flex: 0 0 83.333333%;
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .drts-col-md-12 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .drts-md-grow {
        flex-grow: 1;
        max-width: 100%;
    }
}
/* lg >720px */
@container drts-row (min-width: 720px) {
    .drts-lg-d-none {
        display: none !important;
    }

    .drts-lg-d-block {
        display: block !important;
    }

    .drts-col-lg {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    .drts-col-lg-0 {
        display: none !important;
    }

    .drts-col-lg-1 {
        -ms-flex: 0 0 8.333333%;
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .drts-col-lg-2 {
        -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .drts-col-lg-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .drts-col-lg-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .drts-col-lg-5 {
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .drts-col-lg-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .drts-col-lg-7 {
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .drts-col-lg-8 {
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .drts-col-lg-9 {
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }

    .drts-col-lg-10 {
        -ms-flex: 0 0 83.333333%;
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .drts-col-lg-12 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .drts-lg-grow {
        flex-grow: 1;
        max-width: 100%;
    }
}
/* xl >960px */
@container drts-row (min-width: 960px) {
    .drts-xl-d-none {
        display: none !important;
    }

    .drts-xl-d-block {
        display: block !important;
    }

    .drts-col-xl {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    .drts-col-xl-0 {
        display: none !important;
    }

    .drts-col-xl-1 {
        -ms-flex: 0 0 8.333333%;
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .drts-col-xl-2 {
        -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .drts-col-xl-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .drts-col-xl-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .drts-col-xl-5 {
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .drts-col-xl-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .drts-col-xl-7 {
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .drts-col-xl-8 {
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .drts-col-xl-9 {
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }

    .drts-col-xl-10 {
        -ms-flex: 0 0 83.333333%;
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .drts-col-xl-12 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .drts-xl-grow {
        flex-grow: 1;
        max-width: 100%;
    }
}

.drts-dw-container {
    container-type: inline-size;
    container-name: drts-dw;
}

.dw.drts-dw-2 {
    -webkit-column-count: 6;
    -moz-column-count: 6;
    column-count: 6;
}

.dw.drts-dw-3 {
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
}

.dw.drts-dw-4 {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
}

.dw.drts-dw-6 {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
}

.dw.drts-dw-12 {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
}

@container drts-dw (min-width: 320px) {
    .dw.drts-dw-sm-2 {
        -webkit-column-count: 6;
        -moz-column-count: 6;
        column-count: 6;
    }

    .dw.drts-dw-sm-3 {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
    }

    .dw.drts-dw-sm-4 {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }

    .dw.drts-dw-sm-6 {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }

    .dw.drts-dw-sm-12 {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

@container drts-dw (min-width: 480px) {
    .dw.drts-dw-md-2 {
        -webkit-column-count: 6;
        -moz-column-count: 6;
        column-count: 6;
    }

    .dw.drts-dw-md-3 {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
    }

    .dw.drts-dw-md-4 {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }

    .dw.drts-dw-md-6 {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }

    .dw.drts-dw-md-12 {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

@container drts-dw (min-width: 720px) {
    .dw.drts-dw-lg-2 {
        -webkit-column-count: 6;
        -moz-column-count: 6;
        column-count: 6;
    }

    .dw.drts-dw-lg-3 {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
    }

    .dw.drts-dw-lg-4 {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }

    .dw.drts-dw-lg-6 {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }

    .dw.drts-dw-lg-12 {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

@container drts-dw (min-width: 960px) {
    .dw.drts-dw-xl-2 {
        -webkit-column-count: 6;
        -moz-column-count: 6;
        column-count: 6;
    }

    .dw.drts-dw-xl-3 {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
    }

    .dw.drts-dw-xl-4 {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }

    .dw.drts-dw-xl-6 {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }

    .dw.drts-dw-xl-12 {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

.drts a > i {
    text-decoration: none;
}

.drts .drts-bs-btn i + span,
.drts-icon + span {
    margin-left: 0.3em;
}

.drts-icon + span,
.drts-icon + span + span {
    vertical-align: middle;
}

.drts img.drts-icon,
i.drts-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    vertical-align: middle;
}

i.drts-icon {
    box-sizing: border-box;
    position: relative;
    background-color: #fff;
    color: #444;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    font-size: 16px;
    padding: 8px;
    text-align: center;
}

.drts img.drts-icon-sm,
.drts i.drts-icon-sm {
    width: 24px;
    height: 24px;
}

i.drts-icon-sm {
    font-size: 12px;
    padding: 6px;
}

i.drts-icon:before {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.drts img.drts-icon-is-full {
    width: auto;
}

.drts .drts-ajax-loading {
    background-position: center center !important;
    background-image: url("../images/ajax-loader.gif") !important;
    background-repeat: no-repeat !important;
    -webkit-transition: none !important;
    transition: none !important;
}

.drts div.drts-ajax-loading,
div.drts-ajax-loader {
    background-image: url("../images/ajax-loader2.gif") !important;
    min-height: 64px;
    min-width: 64px;
}

div.drts-ajax-loader {
    background-position: center 100px !important;
    background-repeat: no-repeat !important;
    background-color: #fff !important;
    position: absolute;
    z-index: 9999;
    opacity: 0.6;
}

.drts-system-widget-meta,
.drts-system-widget-meta li {
    padding: 0 !important;
    background: none !important;
    list-style: none !important;
}

.drts-system-widget-meta li {
    display: inline-block !important;
    font-size: 0.9em;
}

.drts-system-widget-meta li:last-child {
    margin: 0 !important;
}

.drts-system-widget img {
    max-width: none !important;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    opacity: 1;
}

.drts-system-widget-no-image {
    background-color: #e0e0e0;
}

.drts-system-widget .drts-display-element-header {
    display: none;
}

.drts-system-widget .drts-form label {
    font-size: 1em !important;
}

.drts-system-widget .drts-entity-taxonomy-terms > div {
    margin-bottom: 10px;
}

.drts .irs--flat .irs-min,
.drts .irs--flat .irs-max,
.drts .irs--flat .irs-from,
.drts .irs--flat .irs-to,
.drts .irs--flat .irs-single {
    font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
    border-radius: 1px;
}

.drts .irs--flat .irs-from,
.drts .irs--flat .irs-to,
.drts .irs--flat .irs-single,
.drts .irs--flat .irs-bar,
.drts .irs--flat .irs-handle > i:first-child {
    background-color: #467fcf;
}

.drts .irs--flat .irs-from::before,
.drts .irs--flat .irs-to::before,
.drts .irs--flat .irs-single::before,
.drts .irs--flat .irs-from::after,
.drts .irs--flat .irs-to::after,
.drts .irs--flat .irs-single::after {
    border-top-color: #467fcf;
}

.drts .irs--flat .irs-bar {
    background-image: none;
}

.drts .irs--flat .irs-grid-text {
    color: #999;
}

.drts .irs--flat .irs-grid-pol {
    background: #e1e4e9;
}

.drts .drts-form {
    margin: 0;
}

.drts-form-type-sortablecheckboxes .ui-sortable-handle:hover {
    cursor: move;
}

/*Remove box shadow BS adds to active buttons*/
.drts-pagination .drts-bs-btn.drts-bs-active,
.drts-pagination .drts-bs-btn:active,
.drts-form-switch .drts-bs-btn.drts-bs-active,
.drts-form-switch .drts-bs-btn:active {
    box-shadow: none !important;
}

/* Prevent colors changing on hover*/
.drts-form-switch .drts-bs-btn-outline-secondary:not(.drts-bs-active):hover {
    color: #868e96 !important;
    background-color: transparent !important;
    border-color: #868e96 !important;
}

.drts-form-buttons .drts-bs-btn:last-child {
    margin-right: 0 !important;
}

.drts .drts-form-type-grid .drts-bs-form-group {
    margin-bottom: 0;
}

.drts-form-field-radio-options-expand,
.drts .drts-bs-collapsed .drts-form-field-radio-options-collapse {
    display: none;
}

.drts-form-field-radio-options-collapse,
.drts .drts-bs-collapsed .drts-form-field-radio-options-expand {
    display: inline;
}

.drts .drts-bs-custom-control input {
    opacity: 0 !important;
}

/* Align with label and give enough space for drag&drop */
.drts .drts-bs-form-row .drts-form-field-options {
    padding-top: calc(0.375em + 1px);
}

.drts-form-field-radio-options > .drts-bs-custom-control {
    margin-bottom: 0.5em;
}

.drts-form-field-radio-options label {
    font-weight: normal;
}

.drts .drts-form-field.drts-form-field-removable,
.drts .drts-form-row.drts-form-field-removable {
    border-top: 1px dashed #ccc;
    padding-top: 1.5em;
    margin-top: 1.5em;
}

.drts.drts-main .drts-form-field.drts-form-field-removable,
.drts.drts-main .drts-form-row.drts-form-field-removable {
    padding-top: 1em;
}

.drts button.drts-form-field-remove {
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 0;
    margin-top: -1px !important;
    display: none;
    z-index: 999;
}

.drts .drts-form-field-removable:hover button.drts-form-field-remove {
    display: inline-block;
}

span.drts-form-field-prefix {
    margin-right: 0.3em;
    display: inline-block;
}

span.drts-form-field-suffix {
    margin: 0 0.3em;
    display: inline-block;
}

span.drts-form-field-required {
    font-weight: bold;
    margin-left: 4px;
    display: inline-block;
    color: #cd201f;
}

.drts-form-type-selecthierarchical .drts-form-type-select:first-child {
    margin-top: 0;
}

.drts-form-type-selecthierarchical .drts-form-type-select {
    margin-bottom: 0;
    margin-top: 15px;
}

.drts-form-type-colorpicker .huebee__cursor {
    width: 30px;
    height: 30px;
}

.drts-form-type-colorpicker .huebee.is-hidden,
.drts-form-type-colorpicker .huebee__cursor.is-hidden {
    display: block !important;
 /* WP sets display:none to .is_hidden on admin side */
}

.drts .drts-form-error,
.drts-form-has-error .drts-form-description {
    display: none;
}

.drts-form-has-error .drts-form-error {
    display: block;
}

.drts-form-field label {
    margin-bottom: 0.3em;
}

.drts-form > .drts-form-field > label {
    font-size: 1.2em !important;
    font-weight: 600;
}

.drts-field-filter-option-more {
    display: block;
    margin-top: 10px;
}

div.drts-form-field-radio-option-description {
    padding: 0 0 0.75em 1.5em;
}

.drts-form-field-main {
    position: relative;
}

.drts-form-field .drts-clear {
    visibility: hidden;
}

input.drts-form-type-textfield-with-clear {
    padding-right: 20px !important;
}

.drts-form-field-radio-options-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 350px;
}

.drts-form-field-radio-options-scroll::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
    background-color: #f7f7f7;
    border-radius: 4px;
}

.drts-form-field-radio-options-scroll::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

.drts-form-upload-row img {
    max-height: 150px;
}

@media (max-width: 768px) {
    .drts-form-timepicker-day {
        margin-bottom: 15px;
    }
}

button.drts-form-field-option-icon {
    min-width: 50px;
}

.drts-form-field-option-color {
    flex-grow: 0.5 !important;
}

.drts-form-field-option-sort:hover,
.drts-form-field-rangelist-option-sort:hover {
    cursor: move;
}

.drts-form-tableselect-cb {
    width: 2.2em;
}

.drts-form-file-button {
    position: relative;
}

.drts-form-file-button input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    -ms-filter: "alpha(opacity=0)";
    cursor: pointer;
}

.drts-form-type-colorpalette input:checked + i {
    visibility: visible !important;
}

.drts .drts-form-colorpalette-btn {
    border-radius: 0;
    color: #fff;
    z-index: 0 !important;
}

.drts .drts-form-colorpalette-btn-white,
.drts .drts-form-colorpalette-btn-white:hover {
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
}

.drts .drts-form-colorpalette-btn-white,
.drts .drts-form-colorpalette-btn-yellow,
.drts .drts-form-colorpalette-btn:hover {
    color: #eee;
}

.drts-form-picker {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    margin-top: -0.5rem;
    margin-bottom: -0.5rem;
    padding: 4px;
}

.drts-form-picker-search {
    margin: 5px 2px;
}

.drts-form-picker-pager {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.drts-form-picker-pager > span {
    text-align: center;
}

.drts-form-picker-items .drts-row {
    flex-wrap: nowrap;
}

.drts-form-picker-pager button,
.drts-form-picker-item {
    min-width: 38px;
    min-height: 31px;
    margin: 2px !important;
}

.drts-form-picker-pager button {
    margin: 2px 3px !important;
}

.drts-form-picker-trigger > div {
    display: inline-block;
}

.drts-form-picker-trigger > span {
    margin-left: 10px;
}

.drts .drts-form-picker-popover {
    max-width: 480px;
}

.drts-form-type-buttons label.drts-bs-btn {
    margin: 3px 0 !important;
}

.drts-form-type-addmore {
    margin-top: 1em;
}

.drts-form-type-datepicker .drts-bs-form-control[readonly] {
    background-color: #fff;
}

.drts-form-type-checkbox,
.drts-form-type-item {
    margin-bottom: 1rem;
}

td > .drts-form-type-checkbox,
td > .drts-form-type-item {
    margin-bottom: 0;
}

button.drts-form-select-remove-selected {
    margin: 0 !important;
}

.drts-form-type-select .dashboardcode-bsmultiselect li {
    margin: 0;
}

.drts .huebee {
    z-index: 5;
}

.drts-form-datepicker-calendar .vanilla-calendar-arrow {
    height: 1.5rem;
}

.drts-form-datepicker-calendar .vanilla-calendar-time input {
    padding: 0;
}

.drts .drts-form-datepicker-calendar {
    position: absolute;
    z-index: 99999;
    margin-top: 2px;
    box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3);
}

.drts .wp-media-buttons img {
    max-width: 20px !important;
}

.drts .fa-youtube-square:before {
    content: "\f431" !important;
}

.drts-field-label {
    font-weight: bold;
}

.drts-field-video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    margin-bottom: 5%;
}

.drts-display-element > .drts-field-video:last-child {
    margin: 0;
}

.drts-field-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.drts .drts-form-type-field-query .drts-form-field,
.drts .drts-form-type-field-condition .drts-form-field {
    margin-bottom: 0;
}

.drts-field-color-icon {
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    line-height: 1;
    border-radius: 50%;
    width: 16px;
    height: 16px;
}

.drts-entity-form-field > label {
    font-size: 1.2em;
    font-weight: 600;
}

.drts .drts-map-map img {
    max-width: none !important;
    background-color: transparent !important;
    opacity: 1 !important;
}

.drts-map-map {
    color: #333;
    background-color: #eee;
}

.pac-container .pac-item {
    background-color: #fff !important;
    color: #333 !important;
}

.drts-form-has-error .drts-map-map {
    border: 1px solid #cd201f;
}

.drts-map-marker-content .drts-bs-card-title {
    font-size: 1.25em;
}

.drts-map-marker-content .drts-bs-card-img-overlay {
    background-image: linear-gradient(#111, transparent);
    border-radius: calc(0.25em - 1px);
}

.drts input[type=checkbox] {
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    display: inline-block;
}

.drts input[type=radio] {
    -webkit-appearance: radio;
    -moz-appearance: radio;
    display: inline-block;
}

.drts li,
.drts dd {
    margin-bottom: 0;
}

#drts-body {
    margin-top: 10px;
}

.drts-bs-table {
    border-spacing: 0;
}

.drts-form label {
    font-weight: 600;
    font-size: 14px;
}

.drts-form label.drts-bs-custom-control-label {
    font-weight: normal;
}

/* Fix checkbox position slightly */
.drts-form label.drts-bs-custom-control-label:before,
.drts-form label.drts-bs-custom-control-label:after {
    top: 0.15rem;
}

.drts a {
    text-decoration: none !important;
}

.drts a:focus {
    box-shadow: none !important;
}

.drts input[readonly] {
    background-color: #fff !important;
}

.drts-tab-breadcrumbs,
ul.drts-tab-menu {
    margin: 10px 0 0;
    padding: 0;
}

#drts-nav {
    margin-bottom: 1em;
}

.drts-form > .drts-form-field > label,
.drts-form > .drts-bs-tab-content > .drts-bs-tab-pane > .drts-form-field > label,
.drts-form-label-lg > label {
    line-height: 1.6em;
    font-size: 1.3em !important;
    margin: 1.5em 0 1.3em;
}

.drts-form > .drts-form-field:first-of-type > label,
.drts-bs-modal-body .drts-form > .drts-form-field > label {
    margin-top: 0;
}

.drts-form > .drts-bs-tab-content > .drts-bs-tab-pane > .drts-form-field:first-of-type > label {
    margin-top: 0.5em;
}

.drts-form > .drts-form-field > .drts-form-field > label,
.drts-form > .drts-form-field > .drts-form-field > .drts-form-field > label,
.drts-form-field .drts-form-label-lg > label {
    font-weight: normal;
    font-size: 1.1em !important;
    margin: 0.5em 0 1em;
    text-transform: uppercase;
    color: #999;
}

.drts-form .postbox > .inside > .drts-form-field > label {
    display: none;
}

.postbox .drts-form-field,
.postbox .drts-form-field * {
    box-sizing: border-box;
}

.postbox .drts-form-field .wp-switch-editor {
    box-sizing: content-box;
    border: 1px solid #e5e5e5;
}

.postbox .drts-form-field {
    padding: 0;
    border: 0;
    min-width: 0;
}

.postbox .drts-bs-form-control {
    margin: 0;
}

.drts-entity-form-field > label {
    padding-bottom: 6px;
}

.postbox-container [id^=drts] .inside {
    padding: 10px 12px;
}

/* Override WP to match with BS*/
.drts-form input[type=number] {
    height: 38px;
    line-height: 1.5;
}

.drts-bs-nav-tabs > a {
    font-size: 14px;
    line-height: 24px;
}

table.wp-list-table .column-drts_entity_image {
    width: 52px;
    text-align: center;
    white-space: nowrap;
}

@media screen and (max-width: 782px) {
    table.wp-list-table .column-drts_entity_image {
        display: none !important;
    }
}

input.drts-bs-form-control,
select.drts-bs-form-control {
    margin: 0;
}

.drts-breadcrumbs {
    margin: 0.5em 0;
}

.drts .drts-bs-table {
    background-color: #f8f9fa;
}

.drts-form-field .select2-container .select2-selection--single .select2-selection__rendered,
.drts-form-field .select2-container .select2-selection--single .select2-selection__arrow {
    font-size: 1rem;
}

.drts .drts-bs-form-group {
    margin-bottom: 1.5em;
}

/* Override height:28px applied to number fields by WP */
.drts input[type=number] {
    height: auto;
}

.wp-admin .drts select {
    max-width: none;
}

.drts-form-field input[type=checkbox]:checked::before {
    display: none;
}

.drts-form-field input[type=checkbox]:focus {
    box-shadow: none;
}

.drts .drts-bs-input-group-text {
    font-size: 0.9rem;
}

.form-field .drts-bs-form-text,
.form-field .drts-entity-form-field > label {
    display: none;
}

#addtag .form-field > .drts-form-field,
#edittag .form-field > td > .drts-form-field {
    width: 95%;
}

.form-field .drts-form-field input.drts-bs-form-control,
.form-field .drts-form-field textarea.drts-bs-form-control {
    width: 100%;
}

.form-field .drts-form-field input.wp-color-picker {
    width: 90px;
}

.drts-directory-admin-editdirectory {
    margin-top: 1rem;
}

.drts-csv-table {
    margin-bottom: 20px;
}

.drts-csv-table td {
    word-break: break-all;
}

.drts .drts-csv-admin-export-export .drts-form-type-field-query {
    margin-bottom: 1em;
}

.drts .drts-csv-admin-export-export .drts-form-type-field-query.drts-form-field-removable {
    margin-top: 1em;
    padding-top: 1em;
}