/*
 * EdiNation Apps Pages
 */
@media (max-width: 991.98px) {
    
    .contact-content-show2 {
        visibility: visible;
    }
    
    .app-contact.contact-content-show .contact-navleft,
    .app-contact.contact-content-show .contact-sidebar {
        visibility: hidden;
        transform: translateX(-350px);
    }
  .app-contact.contact-content-show .contact-content {
    visibility: visible;
    transform: translateX(0);
    opacity: 1; } }

@media (min-width: 479px) and (max-width: 991.98px) {
    .app-contact.contact-content-visible .contact-content {
        visibility: visible;
        transform: translateX(305px);
        opacity: 1;
    }
}

@media (max-width: 1199.98px) {
  .app-contact.contact-options-show .contact-content {
    transform: translateX(-260px); }   
}

@media (max-width: 1399.98px) {

    .details-col {
        flex: 0 0 75%;
        max-width: 75%;
    }
}

@media (min-width: 1400px) {
    .details-col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 575.98px) {
    .details-visible {
        top: 256px !important;
    }    
}

@media (min-width: 576px) {
    .details-visible {
        top: 156px !important;
    }    
}

@media (max-width: 1199.98px) {
    .spec-id {
        visibility: hidden;
    }
    .contact-content-header2 {
        border-bottom: 0px solid rgba(72, 94, 144, 0.16);
    }
}

@media (min-width: 1200px) {
    .spec-id {
        visibility: visible;
    }
    .contact-content-header2 {
        border-bottom: 1px solid rgba(72, 94, 144, 0.16);
    }
}

    @media (min-width: 992px) and (max-width: 1199.98px) {
        .contact-content-show2 {
            visibility: hidden;
        }

        .app-contact.contact-options-show .contact-navleft,
        .app-contact.contact-options-show .contact-sidebar {
            transform: translateX(-260px);
        }
    }

    @media (min-width: 1200px) {
        .contact-content-show2 {
            visibility: hidden;
        }
        
        .app-contact.contact-options-show .contact-content-sidebar {
            opacity: 1;
            visibility: visible;
        }
    }

    @media (max-width: 1700px) {
        .footer-haiku {
            visibility: hidden;
        }
    }

    .contact-wrapper {
        /*background-color: #f8f9fc;*/
        position: fixed;
        top: 55px;
        bottom: 0;
        left: 0;
        right: 0;
    }

    @media (min-width: 992px) {
        .contact-wrapper {
            top: 60px;
        }
    }

    .contact-wrapper-two {
        position: relative;
        height: 100%;
        top: 0;
    }

        .contact-wrapper-two .contact-content-header {
            right: 0;
        }

        .contact-wrapper-two .contact-content-body {
            right: 0;
        }

    @media (min-width: 1200px) {
        .contact-wrapper-two .contact-content-sidebar {
            opacity: 0;
            visibility: hidden;
        }
    }

    .contact-navleft,
    .contact-sidebar,
    .contact-content {
        transition: all 0.3s;
    }

    @media (prefers-reduced-motion: reduce) {
        .contact-navleft,
        .contact-sidebar,
        .contact-content {
            transition: none;
        }
    }

    .contact-navleft {
        background-color: #fff;
        position: absolute;
        top: 0;
        bottom: 0;
        border-right: 1px solid rgba(72, 94, 144, 0.16);
        width: 54px;
        padding: 15px 10px;
    }

    @media (min-width: 992px) {
        .contact-navleft {
            width: 60px;
        }
    }

    .contact-navleft .nav-link {
        padding: 0;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1b2e4b;
        border-radius: 0.25rem;
        transition: all 0.2s ease-in-out;
    }

    @media (prefers-reduced-motion: reduce) {
        .contact-navleft .nav-link {
            transition: none;
        }
    }

    .contact-navleft .nav-link:hover, .contact-navleft .nav-link:focus {
        color: #1b2e4b;
    }

    .contact-navleft .nav-link.active {
        color: #0168fa;
    }

        .contact-navleft .nav-link.active svg {
            fill: rgba(1, 104, 250, 0.2);
        }

    .contact-navleft .nav-link + .nav-link {
        margin-top: 10px;
    }

    .contact-navleft .nav-link svg {
        width: 20px;
        stroke-width: 2.2px;
        fill: rgba(27, 46, 75, 0.1);
    }

    .contact-sidebar {
        background-color: #fff;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0px;
        right: 0;
    }

    @media (min-width: 480px) {
        .contact-sidebar {
            right: auto;
            width: 305px;
            border-right: 1px solid rgba(72, 94, 144, 0.16);
        }
    }

    @media (min-width: 992px) {
        .contact-sidebar {
            width: 325px;
        }
    }

    @media (min-width: 1200px) {
        .contact-sidebar {
            width: 340px;
        }
    }

    .contact-sidebar-header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 55px;
        border-bottom: 1px solid rgba(72, 94, 144, 0.16);
        display: flex;
        align-items: center;
        padding: 0 0
    }

        .contact-sidebar-header .feather-search {
            color: #8392a5;
            align-self: center;
            width: 18px;
            stroke-width: 2.8px;
            margin-right: 10px;
            margin-top: -2px;
        }

        .contact-sidebar-header .search-form {
            flex: 1;
            display: flex;
            align-items: center;
        }

            .contact-sidebar-header .search-form .form-control {
                border-width: 0;
                background-color: transparent;
                font-size: inherit;
                padding: 0;
                color: #1b2e4b;
            }

    .contact-sidebar-body {
        position: absolute;
        top: 55px;
        left: 0;
        right: 0;
        bottom: 0;
    }

        .contact-sidebar-body .tab-pane:first-child .contact-list-divider::before {
            width: 27px;
        }

    .contact-list .media {
        color: #1b2e4b;
        padding: 10px;
        align-items: flex-end;
        border-radius: 0.25rem;
    }

        .contact-list .media:hover, .contact-list .media:focus {
            background-color: #f5f6fa;
            cursor: default;
        }

            .contact-list .media:hover .avatar-online::after,
            .contact-list .media:hover .avatar-offline::after, .contact-list .media:focus .avatar-online::after,
            .contact-list .media:focus .avatar-offline::after {
                box-shadow: 0 0 0 2px #eff2f7;
            }

    @media (min-width: 992px) {
        .contact-list .media:hover nav, .contact-list .media:focus nav {
            display: flex;
        }
    }

    .contact-list .media + .media {
        margin-top: 2px;
    }

    @media (min-width: 480px) {
        .contact-list .media.active {
            background-color: #eef0f7;
        }

            .contact-list .media.active .avatar-online::after,
            .contact-list .media.active .avatar-offline::after {
                box-shadow: 0 0 0 2px #e5e9f2;
            }
    }

    .contact-list .media-body span {
        color: #8392a5;
        display: block;
        line-height: 1.02;
    }

    .contact-list nav {
        display: none;
        align-items: center;
        align-self: center;
    }

        .contact-list nav a {
            display: block;
            color: #8392a5;
        }

            .contact-list nav a:hover, .contact-list nav a:focus {
                color: #1b2e4b;
            }

            .contact-list nav a + a {
                margin-left: 5px;
            }

        .contact-list nav svg {
            width: 16px;
        }

    .contact-list-divider {
        display: flex;
        align-items: center;
        color: #8392a5;
        font-size: 10px;
        font-weight: 500;
        font-family: -apple-system, BlinkMacSystemFont, "Inter UI", Roboto, sans-serif;
        text-transform: uppercase;
        letter-spacing: .5px;
        margin: 15px -10px 10px;
    }

        .contact-list-divider:first-child {
            margin-top: 0;
        }

        .contact-list-divider::before, .contact-list-divider::after {
            content: '';
            display: block;
            height: 1px;
            background-color: rgba(229, 233, 242, 0.7);
        }

        .contact-list-divider::before {
            margin-right: 5px;
            width: 15px;
        }

        .contact-list-divider::after {
            margin-left: 5px;
            flex: 1;
        }

    .contact-content {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        visibility: hidden;
        transform: translateX(100vw);
        opacity: 0;
        transition: all 0.3s;
    }

    @media (prefers-reduced-motion: reduce) {
        .contact-content {
            transition: none;
        }
    }

    @media (min-width: 480px) {
        .contact-content {
            left: 0;
            transform: translateX(320px);
        }
    }

    @media (min-width: 992px) {
        .contact-content {
            left: 325px;
            transform: none;
            visibility: visible;
            opacity: 1;
        }
    }

    @media (min-width: 1200px) {
        .contact-content {
            left: 340px;
        }
    }

    .contact-content-header {
        background-color: #fff;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 55px;
        border-bottom: 1px solid rgba(72, 94, 144, 0.16);
        display: flex;
        align-items: center;
        padding: 0 20px;
    }

    @media (min-width: 1200px) {
        .contact-content-header {
            /*right: 290px;*/
            padding: 0 25px;
        }
    }

    .contact-content-header .nav-link {
        color: #8392a5;
        font-size: 11px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: .5px;
        padding: 0;
    }

        .contact-content-header .nav-link:hover, .contact-content-header .nav-link:focus {
            color: #525f70;
        }

        .contact-content-header .nav-link.active {
            color: #0168fa;
            font-weight: 600;
            position: relative;
        }

            .contact-content-header .nav-link.active::before {
                content: '';
                position: absolute;
                bottom: -19px;
                left: 0;
                width: 100%;
                border-bottom: 1px solid #0168fa;
            }

        .contact-content-header .nav-link + .nav-link {
            margin-left: 30px;
        }

        .contact-content-header .nav-link span {
            display: none;
        }

    @media (min-width: 576px) {
        .contact-content-header .nav-link span {
            display: inline;
        }
    }

    .contact-content-body {
        position: absolute;
        top: 55px;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .contact-content-sidebar {
        background-color: #fff;
        position: absolute;
        top: 0;
        right: -260px;
        bottom: 0;
        border-left: 1px solid rgba(72, 94, 144, 0.16);
        width: 260px;
        padding: 20px;
    }

    @media (min-width: 1200px) {
        .contact-content-sidebar {
            width: 290px;
            padding: 25px;
            right: 0;
        }
    }

    .contact-edit-photo {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 24px;
        height: 24px;
        background-color: #e5e9f2;
        color: #8392a5;
        border-radius: 100%;
        position: absolute;
        bottom: 0;
        right: 0;
        box-shadow: 0 0 0 3px #fff;
    }

        .contact-edit-photo:hover, .contact-edit-photo:focus {
            color: #1b2e4b;
            background-color: #c0ccda;
        }

        .contact-edit-photo svg {
            width: 12px;
            stroke-width: 3px;
        }

    .contact-call-nav {
        display: flex;
    }

        .contact-call-nav a {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            width: 34px;
            height: 34px;
            border-radius: 100%;
            color: #fff;
        }

            .contact-call-nav a svg {
                width: 16px;
                stroke-width: 2.6px;
            }

            .contact-call-nav a + a {
                margin-left: 8px;
            }

            .contact-call-nav a.nav-call {
                background-color: #00cccc;
            }

                .contact-call-nav a.nav-call:hover, .contact-call-nav a.nav-call:focus {
                    background-color: #009999;
                }

            .contact-call-nav a.nav-video {
                background-color: #f10075;
            }

                .contact-call-nav a.nav-video:hover, .contact-call-nav a.nav-video:focus {
                    background-color: #be005c;
                }

            .contact-call-nav a.nav-msg {
                background-color: #0168fa;
            }

                .contact-call-nav a.nav-msg:hover, .contact-call-nav a.nav-msg:focus {
                    background-color: #0153c7;
                }

    .contact-actions {
        display: flex;
        position: relative;
        margin-top: -2px;
    }

        .contact-actions a {
            display: flex;
            align-items: flex-end;
            color: #1b2e4b;
        }

            .contact-actions a:hover, .contact-actions a:focus {
                color: #0168fa;
            }

            .contact-actions a svg {
                width: 16px;
                stroke-width: 2.6px;
                margin-right: 5px;
            }

            .contact-actions a + a {
                margin-left: 20px;
            }

    .contact-content-nav .nav-link {
        color: #1b2e4b;
        display: flex;
        align-items: center;
        padding: 0;
    }

        .contact-content-nav .nav-link:hover, .contact-content-nav .nav-link:focus {
            color: #0168fa;
        }

        .contact-content-nav .nav-link + .nav-link {
            margin-top: 10px;
        }

    .contact-content-nav svg {
        position: relative;
        margin-top: -2px;
        width: 18px;
        margin-right: 12px;
    }


    .contact-sidebar-header .chat-plus {
        width: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #0168fa;
        border-right: 1px solid rgba(72, 94, 144, 0.16);
    }

        .contact-sidebar-header .chat-plus:hover, .contact-sidebar-header .chat-plus:focus {
            color: #1b2e4b;
        }

    .contact-sidebar-header a {
        padding: 3px 6px;
        /*color: #8392a5;*/
        border-radius: 0.25rem;
    }

        .contact-sidebar-header a:hover, .contact-sidebar-header a:focus {
            color: #1b2e4b;
        }

    .contact-sidebar-header svg {
        width: 18px;
    }

    .contact-sidebar-header .dropdown-link {
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-left: 20px;
        padding-right: 15px;
        position: relative;
        z-index: 5;
    }

        .contact-sidebar-header .dropdown-link > span {
            color: #8392a5;
        }

            .contact-sidebar-header .dropdown-link > span svg {
                width: 18px;
                height: 18px;
            }

        .contact-sidebar-header .dropdown-link:hover > span, .contact-sidebar-header .dropdown-link:focus > span {
            color: #1b2e4b;
        }

    .contact-sidebar-header .dropdown-menu {
        box-shadow: none;
        width: 100%;
        /*max-width: 255px;*/
        border-width: 0 0 1px 1px;
        border-color: rgba(72, 94, 144, 0.16);
        padding: 10px;
        margin: 55px -5px 0 -1px;
        border-radius: 0;
        transform: none !important;
    }

    @media (min-width: 480px) {
        .contact-sidebar-header .dropdown-menu {
            border-width: 0 0 1px;
            width: 100%;
            max-width: none;
            margin: 55px 0 0;
        }
    }

    .contact-sidebar-header .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -10px;
        right: 15px;
        border-bottom: 10px solid rgba(192, 204, 218, 0.53);
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
    }

    .contact-sidebar-header .dropdown-menu::after {
        content: '';
        position: absolute;
        top: -8.5px;
        right: 16px;
        border-bottom: 9px solid #fff;
        border-left: 9px solid transparent;
        border-right: 9px solid transparent;
    }

    .contact-sidebar-header .dropdown-divider {
        margin: 5px 10px;
    }

    .contact-sidebar-header .dropdown-item {
        display: flex;
        align-items: center;
        padding: 4px 10px;
    }

        .contact-sidebar-header .dropdown-item svg {
            width: 16px;
            margin-right: 10px;
        }

    .container {
        max-width: 100%;
    }

    /* input file*/
    .inputfile2 {
        width: 0.1px;
        height: 0.1px;
        opacity: 0;
        overflow: hidden;
        position: absolute;
        z-index: -1;
    }

        .inputfile2 + label {
            margin-bottom: 0;
            cursor: pointer;
            height: 56px;
        }

    /* drop down edi codes*/
    .dropdown-menu.statictransform {
        transform: translate3d(0px, 19px, 0px) !important;
    }

    /* errors table*/

/*table.dataTable.errors-table{
    display: block;
}
    table.dataTable.errors-table tbody {
        display: block;
    }

    table.dataTable.errors-table tbody tr{
        display: block;
    }*/

        table.dataTable.errors-table tbody tr td {
            word-wrap: break-word;
            word-break: break-all;
            white-space: normal;
        }

    table.dataTable.errors-table tbody tr.selected {
        background-color: rgba(255, 0, 0, 0.1);
    }

    table.dataTable.errors-table td {
        color: #dc3545;
        padding: 10px;
        align-items: flex-end;
        border-width: 1px;
        background-color: rgba(255, 0, 0, 0.1);
        cursor: pointer;
    }

    .errorMarker2 {
        position: absolute;
        background: rgba(59, 175, 218, 0.4);
        z-index: 20;
        background-color: rgba(255, 0, 0, 0.1);
    }

    table.dataTable.transactions-table tbody tr.selected {
        background-color: #f8f9fc;
    }

    table.dataTable.transactions-table td {
        /* border: none !important;*/
        /*color: #dc3545;*/
        padding: 10px;
        align-items: flex-end;
        /*border-radius: 0.25rem;*/
        border-width: 1px;
        /*background-color: rgba(255, 0, 0, 0.1);*/
        cursor: pointer;
    }

        table.dataTable.transactions-table td:hover, table.dataTable.transactions-table td:focus {
            background-color: #f8f9fc;
        }

    .dataTables_wrapper .dataTables_filter {
        float: left !important;
    }

    /* ace*/
    .ace-demo {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        position: relative;
        border-radius: 5px;
        border: none;
        border: 2px solid #ddd;
        width: 100%;
        height: calc(100vh - 214px);
        border: none;
    }

        .ace-demo.ack {
            height: calc(100vh - 206px);
        }

    .tab-content-style {
        min-height: calc(100vh - 263px);
    }


    .list-inline-skills {
        font-size: 12px;
        display: flex;
        flex-wrap: wrap;
    }

        .list-inline-skills .list-inline-item {
            margin-right: 5px;
            margin-bottom: 5px;
        }

            .list-inline-skills .list-inline-item a {
                display: block;
                background-color: #fff;
                border: 1px solid #c0ccda;
                padding-top: 3px;
                padding-bottom: 1px;
                padding-left: 8px;
                padding-right: 8px;
                color: #1b2e4b;
                border-radius: 0.25rem;
            }



    .list-inline-item a:hover, .list-inline-item a:focus {
        color: #141c2b;
        text-decoration: none;
        background-color: #f4f5f8;
    }

    .ps > .ps__rail-y {
        z-index: 1002 !important;
    }

    .jstree-default .jstree-hovered {
        background: #f4f5f8;
    }

    .jstree-default .jstree-context {
        background: #f4f5f8;
    }

    .jstree-default .jstree-clicked {
        /*background: #e3e7ed;*/
        background: #e3e7ed;
    }

    .dropdown-toggle::after {
        vertical-align: middle;
    }

    .temp-model {
        background: #00cccc;
    }

    .ace_scrollbar::-webkit-scrollbar {
        height: 4px;
        width: 4px;
    }

    .ace_scrollbar::-webkit-scrollbar-track {
        position: absolute;
        border-radius: 0;
        left: 0;
        background-color: rgba(72, 83, 114, 0.06);
    }

    .ace_scrollbar::-webkit-scrollbar-thumb {
        position: absolute;
        border-radius: 0;
        left: 0;
        background-color: #97a3b9;
    }

    .jsTreeS {
        background-image: url('../../lib/jstree/segment.svg') !important;
        background-position: center center !important;
        background-size: auto;
    }

    .jsTreeL {
        background-image: url('../../lib/jstree/loop.svg') !important;
        background-position: center center !important;
        background-size: auto;
    }

    .jsTreeA {
        background-image: url('../../lib/jstree/all.svg') !important;
        background-position: center center !important;
        background-size: auto;
    }

    .jsTreeM {
        background-image: url('../../lib/jstree/message.svg') !important;
        background-position: center center !important;
        background-size: auto;
    }

    .jsTreeE {
        background-image: url('../../lib/jstree/element.svg') !important;
        background-position: center center !important;
        background-size: auto;
    }

    .jsTreeC {
        background-image: url('../../lib/jstree/composite.svg') !important;
        background-position: center center !important;
        background-size: auto;
    }

    .jsTreeSR {
        background-image: url('../../lib/jstree/segmentr.svg') !important;
        background-position: center center !important;
        background-size: auto;
    }

    .jsTreeLR {
        background-image: url('../../lib/jstree/loopr.svg') !important;
        background-position: center center !important;
        background-size: auto;
    }

    .jsTreeAR {
        background-image: url('../../lib/jstree/allr.svg') !important;
        background-position: center center !important;
        background-size: auto;
    }

    .jsTreeER {
        background-image: url('../../lib/jstree/elementr.svg') !important;
        background-position: center center !important;
        background-size: auto;
    }

    .jsTreeCR {
        background-image: url('../../lib/jstree/compositer.svg') !important;
        background-position: center center !important;
        background-size: auto;
    }

    .contact-content-header2 {
        background-color: #fff;
        position: absolute;
        top: 55px;
        left: 0;
        right: 0;
        width: 100%;
        
        /*display: flex;*/
        align-items: center;
        padding: 20px;
    }

    .details-col {
        position: relative;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }

.dd-edirules {
    max-height: 600px;
    overflow: auto;
    width:300px;
}

.dd-edicodes {
    position: relative;
    max-height: 600px;
    /*overflow: auto;*/
}
