/***** Life cycle graph *****/

/* The init state of the life cycle graph */
.initState > rect {
    fill: #5bc0dea1 !important;
    stroke: #46b8da !important;
    stroke-width: 2px !important;
}

/* The goal state of the life cycle graph */
.goalState > rect {
    fill: #5cb85cb5 !important;
    stroke: #4cae4c !important;
    stroke-width: 2px !important;
}

/* The active state of the life cycle graph */
.currentState > rect {
    fill: #f0ad4ead !important;
    stroke: #eea236 !important;
    stroke-width: 2px !important;
}

/* The final state of the life cycle graph */
.finalState > rect {
    fill: #d9534fa1 !important;
    stroke: #d43f3a !important;
    stroke-width: 2px !important;
}

div.dropzone {
    min-height: 54vh;
}

#file-browser {
    min-height: 68vh;
}

canvas.file-basic-info-pdf {
    width: 100%;
}

/* vis.js */
#file-related-by-metadata-graph {
    background: white;
    display: inline-block;
    height: 80vh;
    width: 100%;
}

iframe.file-preview {
    position: relative;
    width: 100%;
    border: none;
    height: 78vh;
}

iframe.file-preview-autodesk {
    position: relative;
    width: 100%;
    border: none;
    height: 65vh;
}

/* Split component in File preview bar splited */
.split {
    display: flex;
    flex-direction: row;
}

.gutter {
    background-color: #eee;
    background-repeat: no-repeat;
    background-position: 50%;
    margin-left: 16px;
    margin-right: 16px;
}

.gutter.gutter-horizontal {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==');
    cursor: col-resize;
}

/* Public document change addons position for mobiles*/
@media screen and (max-width: 700px){
    .default-public-document-content-wrapper {
        flex-direction: column-reverse;
        height: 100%;
    }

    #suggestion-search {
        width: 9rem !important;
    }
}

@media screen and (max-width: 414px) {
    .app-header {
        width: 412px;
        position: fixed;
        overflow: auto;
        left: 0;
        right: 0;
    }
}


/* Login items */
@media (max-height: 45em) {
    .login-container {
        margin-top: 0 !important;
    }
}

/* Login logo */
.athentose-login-logo {
    width: 10rem;
    margin-top: 1rem;
}

/* Dropdown menu with scroll */
.dropdown-menu-scrollable {
    max-height: 85vh !important;
    overflow-y: auto;
}

/* Dropdown contextual menu */
.dropdown-menu-contextual {
    max-height: 27vh !important;
    overflow-y: auto;
    font-size: small; !important;
}

/* Dropdown contextual menu's item */
.dropdown-menu-contextual > .dropdown-item {
    padding: 5px 10px !important;
}
/* Dropdown contextual menu's divider */
.dropdown-menu-contextual > .dropdown-divider {
    margin: 0.3rem 0;
}

/* Dropdown contextual menu's icon */
.dropdown-menu-contextual > .dropdown-item > i {
    margin-left: -5px !important;
    margin-right: 0 !important;
}

/* Line to separate sections */
.separator {
    width: 100%;
    margin-bottom: 5px;
    border-bottom: 1px solid #dddddd;
}

/* Intro.js */
.introjs-hint-dot {
    border: 10px solid rgb(80, 189, 116);
}

.introjs-hint-pulse {
    border: 5px solid rgba(80, 189, 116);
}

.introjs-hints {
    z-index: 1030;
}

/** Stripe Plans **/
.recommended-plan {
    box-shadow: 10px 10px 15px #aaaaaa;
}

.list-styled {
    list-style: inherit;
}

/* password-strength */
.progress-bar-warning {
    background-color: #ffc107 !important;
    height: 18px;
}

.progress-bar-danger {
    background-color: #dc3545 !important;
    height: 18px;
}

.progress-bar-success {
    background-color: #28a745 !important;
    height: 18px;
}

.progress-bloc {
    width: 250px;
}

.label-danger {
    background-color: #d9534f;
    color: #fff;
    font-size: 100%;
    display: inline-block;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    line-height: 1;
    padding: .25em .4em;
    font-size: 75%;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.password-strength-input {
    border-bottom-left-radius: unset;
    border-bottom-right-radius: unset;
}

.password-strength {
    border-top-left-radius: unset;
    border-top-right-radius: unset;
}

/** Modal DataTable Editor  **/
.DTED_Lightbox_Background {
    display: none;
}

.DTED.DTED_Lightbox_Wrapper {
    width: 47%;
    margin-left: 2%;
}

.DTE_Header, .DTE_Footer, .DTE_Body_Content {
    background-color: #fff !important;
}

div.DTE button.btn, div.DTE div.DTE_Form_Buttons button {
    color: #fff !important;
    background-color: #20a8d8 !important;
    background-image: none !important;
    border-color: #20a8d8 !important;
}

.DTE_Footer {
    margin-bottom: 0.5%;
}

div.DTE div.DTE_Footer {
    border-top: none !important;
}

div.DTE_Field input, div.DTE_Field textarea {
    display: block !important;
    width: 100% !important;
    height: calc(1.5em + .75rem + 2px) !important;
    padding: .375rem .75rem !important;
    font-size: .875rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #5c6873 !important;
    background-color: #fff !important;
    background-clip: padding-box !important;
    border: 1px solid #e4e7ea !important;
    border-radius: .25rem !important;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
}

/** End Modal DataTable Editor  **/

/** Modal Fullscreen **/

div.modal-dialog.ase-modal-fullscreen {
    width: 100%;
    max-width: 100%;
    margin: 0;
    height: 100vh;
    overflow: hidden;
}

div.ase-modal-fullscreen .modal-content {
    border-radius: 0;
    height: 100%;
    border: none;
}

/** End Modal Fullscreen  **/

/** Modal 90 **/
.modal-90w {
    width: 90%;
    max-width: none !important;
}

/** End Modal 90n  **/

/** CodeMirror **/
.CodeMirror {
    height: auto;
}

/** End codeMirror **/

/** Select2 validation **/
.is-invalid + .select2 .select2-selection {
    border-color: #dc3545 !important;
}

.is-valid + .select2 .select2-selection {
    border-color: #28a745 !important;
}

/** End select2 validation **/

/** React select style (like bootstrap) */
.react-select__control {
    border-color: hsl(210, 12%, 91%) !important;
}

.react-select__placeholder {
    top: 45% !important;
}

.react-select__indicator {
    padding: 7px !important;
}

/** End React select style (like bootstrap) */

/** JS Select 2 style (like bootstrap) */
.select2-container {
    display: inline-block !important;
}

.select2-container--athento, .select2-selection--athento,
.select2-selection--athento li, .select2-dropdown--athento li,
.select2-dropdown--athento .select2-search__field {
    font-size: .875rem !important;
}
.select2-container--focus .select2-selection,
.select2-selection--athento.select2-selection:focus,
.select2-dropdown--athento .select2-search__field:focus {
    border-color: #8ad4ee !important;
    box-shadow: 0 0 0 .2rem rgba(32,168,216,.25) !important;
}

.select2-container--open .select2-selection {
    border-color: #e4e7ea !important;
    box-shadow: none !important;
}

/** End JS Select 2 style (like bootstrap) */

/* QueryBuilder styles */

.rule--field {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
    position: relative;
}

.rule--value {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
    position: relative;
    margin-right: 15px;
}

.rule--widget, .widget--widget {
    width: 100%;
}

.rule--operator:empty {
    display: none;
}

.widget--widget input.form-control {
    height: 37px;
    border-color: hsla(210, 13%, 91%, 1);
}

.rule--operator {
    padding: 0 !important;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
    position: relative;
    width: 100%;
}

.rule--body {
    display: flex;
    flex-wrap: wrap;
    text-align: inherit !important;
}

.query-builder {
    overflow: unset !important;
}

.query-builder .group {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #e5e5e5;
}

.query-builder .group--children {
    padding-left: 33px !important;
}

.group--header:not(.no--children):not(.hide--conjs)::before {
    left: 20px !important;
    border-color: #5fa6e3 !important;
}

.group--children > .group-or-rule-container > .group-or-rule::before,
.group--children > .group-or-rule-container > .group-or-rule::after {
    border-color: #5fa6e3 !important;
}

/*End QueryBuilder styles */

.viafirma-icon-link {
    height: 30px;
}

.dropdown-toggle.no-caret:after {
    content: none
}

/* Class to keep fields similar to form-control selectors */
.react-datepicker-wrapper {
    width: 100%;
}

/* Class codemirror 2 */
.react-codemirror2 {
    font-size: 13px;
}

/* Metadata Itable */
.metadata-container-itable .paginate_button .page-link {
    font-size: .765625rem;
}

.metadata-container-itable .paginate_button.previous .page-link {
    border-radius: 0.25rem 0 0 0.25rem;
}

.metadata-container-itable .paginate_button.next .page-link {
    border-radius: 0 0.25rem 0.25rem 0;
}

[data-toggle="collapse"] .fal:first-child:before {
    content: "\f106";
}

[data-toggle="collapse"].collapsed .fal:first-child:before {
    content: "\f107";
}

/* Metadata Panel */
.panel-metadata-preview {
    margin-top: 15px;
}

/* Google recaptcha v3 */
.grecaptcha-badge {
    z-index: 1030;
}

/* Default logout page */
.logout-card {
    margin-top: 20em;
    font-size: 1.7em;
}

/* Margin label metadata preview */
#container-metadata-preview .form-row input{
    margin-bottom: 1rem;
}

/* Hide arrows in preview for mobile */
@media screen and (max-width: 700px){
    .document-preview-container .change-document-preview{
        display: none;
    }
}

/* Adding text-decoration-line-through */
.text-decoration-line-through{
    text-decoration: line-through;
}

/* Search panes disable links */
div.dtsp-panesContainer a{
    pointer-events: none;
}

/* Saved search input */
.form-row div.saved-search {
    border-right: 2px solid #EFEFEF;
    margin-right: 12px;
    padding-right: 16px;
}

.font-weight-600 {
    font-weight: 600;
}

.text-gray {
    color: #5d5d5d;
}

.no-resize {
    resize: none;
}

.qb-lite .group--header:not(:hover) .group--actions {
    opacity: 1 !important;
}

.rule--header {
    opacity: 1 !important;
}

div.dataTables_scrollBody {
    border-left: 0 !important;
}

div.dataTables_processing.card {
    border: 0 !important;
    z-index: 99999;
    background: transparent;
}

div.dt-button-collection {
    width: auto !important;
}

.table-loader{
   visibility:hidden;
}

.table-loader:before {
    display: table-caption;
    content: " ";
    width: 100%;
    height: 50px;
}

.filepond--file-status .filepond--file-status-sub {
  max-width: 450px;
  white-space: nowrap;
  overflow: hidden !important;
  text-overflow: ellipsis;
}

@media screen and (max-width: 700px){
    .filepond--file-status .filepond--file-status-sub {
        max-width: 100px;
    }
}

/* React ladda button styles */
.ladda-button .ladda-label {
    z-index: 0;
}

/* Metadata category custom styles. */
.metadatatype-category .btn.focus, .metadatatype-category .btn:focus {
    box-shadow: 0 0 0 .2rem rgb(95, 166, 227);
    z-index: 998;
    position: relative;
}

.metadatatype-category .metadatatype-category-content {
    background-color: rgb(250, 250, 250);
    border-bottom: 2px solid rgb(238, 238, 238);
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.metadatatype-category.no-header {
    margin-top: 1rem;
}

.metadatatype-category.no-header::before {
    content: '';
    width: 2rem;
    height: 2rem;
    border-left: 3px dotted #e6e6e6;
    position: absolute;
    border-top: 3px dotted #e6e6e6;
}

.metadatatype-category-content > .category-fixed {
    position: absolute;
    color: #5fa6e3;
    transform: rotate(-32deg);
    margin-top: -1.1rem;
    margin-left: -0.6rem;
    font-size: 1.05rem;
}

.metadatatype-category hr {
    border-top: 2px solid rgb(238, 238, 238);
}

/* Metadata types custom styles. */
.metadata-type-content {
    max-height: 15rem!important;
    overflow-y: auto;
}

.metadata-type-content.ase-scrollbox::before {
    margin: 0 0 -18px;
    height: 26px;
}

.metadata-type-content.ase-scrollbox::after {
    margin: -5px 0 0;
}

.metadatatype-category a > .category-badge {
    left: 0.5rem;
    font-size: 1.1em;
    display: none;
}

.metadatatype-category a.collapsed > .category-badge {
    margin-top: 1px;
    display: block;
    animation: fadeIn .6s;
}

.metadatatype-category a > .category-badge .badge-info {
    color: white;
    background-color: rgb(95, 166, 227);
}

.stripped-warning {
  background-size: 50px 50px;
  background-color: #ffe761;
  color: #000;
  background-image: -webkit-linear-gradient(-45deg, rgba(0, 0, 0, .04) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, .04) 50%, rgba(0, 0, 0, .04) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(-45deg, rgba(0, 0, 0, .04) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, .04) 50%, rgba(0, 0, 0, .04) 75%, transparent 75%, transparent);
  background-image: linear-gradient(135deg, rgba(0, 0, 0, .04) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, .04) 50%, rgba(0, 0, 0, .04) 75%, transparent 75%, transparent);
}

.bg-light-gray {
    background-color: rgb(250, 250, 250);
}
