body {
    overflow-x: hidden;
}

/*@media (max-width: 768px) {
   button, a, p, input, select, label {
       font-size: larger !important;
       font-weight: 600 !important;
   }
}*/

/*.app-card {
    max-width: 15rem;
}

.app-card > .card-body {
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .app-card {
        width: calc(50% - 10px);
    }

    .app-card > .card-header {
        padding: 0.4rem;
        font-weight: normal;
        font-size: 0.7rem;
    }

    .app-card > .card-body {
        padding: 0.2rem;
        font-weight: normal;
        font-size: 0.7rem;
    }

    #platform-main-container {
        padding: 0;
    }

}*/

#splash-screen {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);

    width: 100vw;
    height: 100vh;
    bottom: 0px;
    right: 0px;
    z-index: 100000;
    background-color: white;
}

#dq-splash-loading-area {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#dq-loading-spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #008055;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin-left: auto;
    margin-right: auto;
    animation: 2s dq-loading-spinner-animation linear infinite;
}

@keyframes dq-loading-spinner-animation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.full-window {
    position: fixed;
    z-index: 11000;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    border: solid 2px orange;
}

/*.targeted {*/
/* position: fixed;*/
/* z-index: 100;*/
/* !*background-color: white;*!*/
/* left: 20em;*/
/* top: 0;*/
/* height: 100%;*/
/* width: calc(100% - 50em) !important;*/
/* overflow-y: scroll;*/
/* margin: 0 !important;*/
/*}*/

/*.targeted-bg {*/
/* background-color: #FFFFEE;*/
/*}*/

/*.targeted-bg-dark {*/
/* background-color: #444;*/
/*}*/

/*** Bootstrap overrides ***/

.popover {
    z-index: 1030 !important;
}

.transparent-popover .popover-body {
    background-color: transparent !important;
}

.limited-height-popover-5rem .popover-body {
    max-height: 5rem !important;
    overflow-y: auto;
}

.limited-height-popover-10rem .popover-body {
    max-height: 10rem !important;
    overflow-y: auto;
}

.limited-height-popover-20 .popover-body {
    max-height: 20vh !important;
    overflow-y: auto;
}

.limited-height-popover-40 .popover-body {
    max-height: 40vh !important;
    overflow-y: auto;
}

.limited-height-popover-60 .popover-body {
    max-height: 60vh !important;
    overflow-y: auto;
}

.limited-height-popover-80 .popover-body {
    max-height: 80vh !important;
    overflow-y: auto;
}

.ide-popover {
    z-index: 1033 !important;
}

.docPopover {
    z-index: 1031 !important;
}

.docPopover .popover-body {
    max-height: 50vh;
    overflow: auto;
}

@media (min-width: 768px) {
    .xl-popover {
        width: 80rem !important;
        max-width: 80vw !important;
    }

    .large-popover {
        width: 40rem !important;
        max-width: 40vw !important;
    }

    .auto-width-popover {
        max-width: 40vw !important;
    }
}

.dropdown-menu {
    z-index: 1032 !important;
    max-height: 50vh;
    overflow: auto;
}

.tab-pane {
    height: 100%;
    overflow: auto;
}

.control-reverse .custom-checkbox.custom-control,
.control-reverse .custom-radio.custom-control {
    padding-left: 0;
}

.control-reverse.control-xl .custom-checkbox.custom-control,
.control-reverse.control-xl .custom-radio.custom-control {
    margin-bottom: 0.5rem;
}

.control-reverse .custom-checkbox .custom-control-label,
.control-reverse .custom-radio .custom-control-label {
    width: 100%;
}

.control-reverse .custom-checkbox .custom-control-label::before,
.control-reverse .custom-checkbox .custom-control-label::after,
.control-reverse .custom-radio .custom-control-label::before,
.control-reverse .custom-radio .custom-control-label::after {
    position: absolute;
    left: auto;
    right: 0;
}

.control-reverse.control-xl .custom-checkbox .custom-control-label::before,
.control-reverse.control-xl .custom-checkbox .custom-control-label::after,
.control-reverse.control-xl .custom-radio .custom-control-label::before,
.control-reverse.control-xl .custom-radio .custom-control-label::after {
    width: 2rem;
    height: 2rem;
    top: -0.2rem;
}

.control-reverse.control-xl .custom-checkbox,
.control-reverse.control-xl .custom-radio {
    padding-top: 0.2rem;
}

/* CLASSES OVERLAY */

.selectionOverlay {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    opacity: 70%;
    border-width: 5px;
    border-style: solid;
    border-color: #007777;
}

.containerSelectionOverlay {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    opacity: 70%;
    border-width: 1px;
    border-color: red !important;
    border-style: dotted;
}

.hoverOverlay {
    position: absolute;
    width: 100%;
    height: 100%;
    /*display: none;*/
    top: 0px;
    left: 0px;
    opacity: 30%;
    background-color: #00AAAA;
    z-index: 1001;
}

.eventShieldOverlay {
    cursor: grab;
    z-index: 1001;
}

/* END CLASSES OVERLAY */


.show-mobile {
    display: none !important;
    ;
}

.show-desktop {
    display: inline !important;
}

@media (max-width: 767px) {
    /*.targeted {*/
    /*  left: 15em;*/
    /*  width: calc(100% - 35em) !important;*/
    /*}*/
}

@media (max-width: 767px),
(max-height: 575px) {
    /*.targeted {*/
    /* left: 0em;*/
    /* width: 100% !important;*/
    /*}*/

    .show-mobile {
        display: inline !important;
        ;
    }

    .show-desktop {
        display: none !important;
        ;
    }

    .modal-dialog {
        max-width: 100% !important;
        max-height: 100% !important;
        margin: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 100% !important;
    }

    .modal-body {
        height: 100% !important;
    }

    .modal-content {
        max-width: 100% !important;
        max-height: 100% !important;
        height: 100% !important;
    }

}

@media (max-width: 1199px),
(max-height: 767px) {
    .modal-xl.modal-dialog {
        max-width: 100% !important;
        max-height: 100% !important;
        margin: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 100% !important;
    }

    .modal-xl .modal-body {
        height: 100% !important;
    }

    .modal-xl .modal-content {
        max-width: 100% !important;
        max-height: 100% !important;
    }
}

.opacity-001 {
    opacity: 1%;
}

.inlined-dialog {
    background-color: rgba(128, 128, 128, 0.1);
    padding: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
}

.drop-zone {
    padding: 0.3em;
    /*background-color: #999;
    opacity: 0.5;*/
}

.active-drop-zone {
    padding: 0.3em;
    background-color: Highlight;
}

.target-drop-zone {
    background-color: orange;
}

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

.text-decoration-line-through {
    text-decoration: line-through;
}

.text-decoration-none {
    text-decoration: none;
}

/*.popover {*/
/* z-index: 1001 !important;*/
/*}*/

/** Custom style for select **/

.select-view-simple-list .btn-group-toggle>.btn {
    border-radius: 0;
}

.select-view-simple-list .dropdown-menu {
    padding: 0;
}

.select-view-simple-list .dropdown-menu .b-dropdown-form {
    padding: 0;
}

.select-view-simple-list .dropdown-menu .b-dropdown-form input {
    margin-left: 1rem;
    margin-right: 1rem;
}

.select-view-simple-list .btn-group-toggle>.btn:hover {
    color: var(--color-gray-800);
    background-color: var(--color-gray-200);
}

.select-view-simple-list .btn-group-toggle>.btn.active {
    color: var(--color-gray-800);
    background-color: var(--color-gray-300);
}

.select-view-simple-list .dropdown-menu .btn-group-toggle>.btn:not(:last-child) {
    border-bottom: 1px solid var(--color-gray-400);
}

.select-view-simple-list .b-sidebar .btn-group-toggle>.btn {
    border: 1px solid var(--color-gray-400);
}

.b-dropdown.dropdown button:nth-child(1) {
    border-radius: 0.2rem;
}

.b-dropdown.dropdown button:nth-child(2) {
    border-radius: 0 0.2rem 0.2rem 0;
}

.b-dropdown.dropdown button.btn-outline-secondary {
    color: var(--color-body-text);
}

.b-dropdown.dropdown button.btn-outline-secondary:nth-child(1):hover {
    background-color: transparent !important;
}

.form-group.is-invalid .b-dropdown.dropdown button {
    border-color: var(--color-danger) !important;
}

.form-group.is-valid .b-dropdown.dropdown button {
    border-color: var(--color-success) !important;
}

.searchable-dropdown .dropdown-item {
    padding-left: 0;
    padding-right: 0;
}

.searchable-dropdown .b-dropdown-form {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/******* BV PATCH *******/

.form-group>div {
    height: 100%;
}

.btn-link:focus {
    outline: none;
    box-shadow: none;
}

.embed-responsive-9by16 {
    padding-bottom: 150%;
}

.embed-responsive-3by4 {
    padding-bottom: 125%;
}

.embed-responsive-9by21 {
    padding-bottom: 175%;
}

/******* Editor *******/

pre.ace_editor {
    margin-bottom: 0px;
}

.ace_editor {
    border: solid 1px lightgray;
}

.ace_fold {
    background-image: none !important;
    background-color: var(--info) !important;
    width: auto !important;
    color: white !important;
    height: 1rem !important;
}

.primary-marker {
    position: absolute;
    border: solid var(--info) 2px;
    background-color: #88888830;
}

.secondary-marker {
    position: absolute;
    border-bottom: solid var(--info) 2px;
}

.inspectable-marker {
    position: absolute;
    border-bottom: solid var(--info) 2px;
    background-color: #88888830;
    cursor: pointer !important;
    pointer-events: auto;
}

/****** Scrollable tabs ******/

.scrollable-tabs-wrapper {
    position: relative;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  .scrollable-tabs-wrapper .nav-tabs, .scrollable-tabs-wrapper .nav-pills {
    flex-wrap: nowrap !important;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
  }
  
  .scrollable-tabs-wrapper .nav-tabs::-webkit-scrollbar, .scrollable-tabs-wrapper .nav-pills::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  
  .scroll-left-tab-button,
  .scroll-right-tab-button {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    font-weight: bold;
    user-select: none;
    cursor: pointer;
    padding: 0;
    border: none;
  }
  
  .scroll-left-tab-button {
    left: 0;
  }
  
  .scroll-right-tab-button {
    right: 0;
  }

/****** Boostrap 5 patch ******/

.overflow-y-auto {
    overflow-y: auto;
}

.overflow-x-auto {
    overflow-x: auto;
}

.overflow-y-hidden {
    overflow-y: hidden;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

.vh-10 {
    height: 10vh !important;
}

.vh-20 {
    height: 20vh !important;
}

.vh-30 {
    height: 30vh !important;
}

.vh-40 {
    height: 40vh !important;
}

.vh-50 {
    height: 50vh !important;
}

.vh-60 {
    height: 60vh !important;
}

.vh-70 {
    height: 70vh !important;
}

.vh-80 {
    height: 80vh !important;
}

.vh-90 {
    height: 90vh !important;
}

.border-1 {
    border-width: 1px !important;
}

.border-2 {
    border-width: 2px !important;
}

.border-3 {
    border-width: 3px !important;
}

.border-4 {
    border-width: 4px !important;
}

.border-5 {
    border-width: 5px !important;
}

.rounded-0 {
    border-radius: 1px !important;
}

.rounded-1 {
    border-radius: 0.1rem !important;
}

.rounded-2 {
    border-radius: 0.3rem !important;
}

.rounded-3 {
    border-radius: 0.8rem !important;
}

.fs-1,
.fs-1 * {
    font-size: 2.5rem;
}

.fs-2,
.fs-2 * {
    font-size: 2rem;
}

.fs-3,
.fs-3 * {
    font-size: 1.75rem;
}

.fs-4,
.fs-4 * {
    font-size: 1.5rem;
}

.fs-5,
.fs-5 * {
    font-size: 1.25rem;
}

.fs-6,
.fs-6 * {
    font-size: 1rem;
}

.opacity-0 {
    opacity: 0;
}

.opacity-1 {
    opacity: 0.2;
}

.opacity-2 {
    opacity: 0.4;
}

.opacity-3 {
    opacity: 0.6;
}

.opacity-4 {
    opacity: 0.8;
}

.opacity-5 {
    opacity: 1;
}

#dq-root-container.vertical-layout {
    flex-direction: column;
}

#dq-root-container.vertical-layout {
    flex-direction: row;
}

#dq-root-container.vertical-layout #content {
    width: 100%;
}

#dq-root-container.vertical-layout nav.main-navbar {
    height: 100%;
}

#dq-root-container.vertical-layout .navbar,
#dq-root-container.vertical-layout .navbar-collapse {
    flex-direction: column;
}

#dq-root-container.vertical-layout .navbar .navbar-nav {
    flex-direction: column;
}