:root {
    --upload-main: #439DF0;
    --upload-main-bar: #3B689C;
    --upload-white: #ffffff;
}

a,
.form-check-input,
.form-check-label {
    cursor: pointer !important;
}

.upload {
    position: relative;
    width: 400px;
    min-height: 445px;
    box-sizing: border-box;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding-bottom: 20px;
    background: var(--upload-white);
    -webkit-animation: fadeup 0.5s 0.5s ease both;
    animation: fadeup 0.5s 0.5s ease both;
    transform: translateY(20px);
    opacity: 0;
}

.upload .upload-files header {
    background: var(--upload-main);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-align: center;
}

.upload .upload-files header p {
    color: var(--upload-white);
    font-size: 40px;
    margin: 0;
    padding: 50px 0;
}

.upload .upload-files header p i {
    transform: translateY(20px);
    opacity: 0;
    font-size: 30px;
    color: var(--upload-white);
    -webkit-animation: fadeup 0.5s 1s ease both;
    animation: fadeup 0.5s 1s ease both;
}

.upload .upload-files header p .up {
    font-weight: bold;
    transform: translateX(-20px);
    display: inline-block;
    opacity: 0;
    -webkit-animation: faderight 0.5s 1.5s ease both;
    animation: faderight 0.5s 1.5s ease both;
}

.upload .upload-files header p .load {
    display: inline-block;
    font-weight: 100;
    margin-left: -8px;
    transform: translateX(-20px);
    opacity: 0;
    -webkit-animation: faderight 1s 1.5s ease both;
    animation: faderight 1s 1.5s ease both;
}

.upload .upload-files .body {
    text-align: center;
    padding: 50px 0;
    padding-bottom: 30px;
}

.upload .upload-files .body.hidden {
    display: none;
}

.upload .upload-files .body input {
    visibility: hidden;
}

.upload .upload-files .body i {
    font-size: 65px;
    color: lightgray;
}

.upload .upload-files .body p {
    font-size: 14px;
    padding-top: 15px;
    line-height: 1.4;
}

.upload .upload-files .body p b,
.upload .upload-files .body p a {
    color: var(--upload-main);
}

.upload .upload-files .body.active {
    border: dashed 2px var(--upload-main);
}

.upload .upload-files .body.active i {
    box-shadow: 0 0 0 -3px var(--upload-white), 0 0 0 lightgray, 0 0 0 -3px var(--upload-white), 0 0 0 lightgray;
    -webkit-animation: file 0.5s ease both;
    animation: file 0.5s ease both;
}

@-webkit-keyframes file {
    50% {
        box-shadow: -8px 8px 0 -3px var(--upload-white), -8px 8px 0 lightgray, -8px 8px 0 -3px var(--upload-white), -8px 8px 0 lightgray;
    }

    75%,
    100% {
        box-shadow: -8px 8px 0 -3px var(--upload-white), -8px 8px 0 lightgray, -16px 16px 0 -3px var(--upload-white), -16px 16px 0 lightgray;
    }
}

@keyframes file {
    50% {
        box-shadow: -8px 8px 0 -3px var(--upload-white), -8px 8px 0 lightgray, -8px 8px 0 -3px var(--upload-white), -8px 8px 0 lightgray;
    }

    75%,
    100% {
        box-shadow: -8px 8px 0 -3px var(--upload-white), -8px 8px 0 lightgray, -16px 16px 0 -3px var(--upload-white), -16px 16px 0 lightgray;
    }
}

.upload .upload-files .body.active .pointer-none {
    pointer-events: none;
}

.upload .upload-files footer {
    width: 100%;
    margin: 0 auto;
    height: 0;
}

.upload .upload-files footer .divider {
    margin: 0 auto;
    width: 0;
    border-top: solid 4px var(--upload-main-bar);
    text-align: center;
    overflow: hidden;
    transition: width 0.5s ease;
}

.upload .upload-files footer .divider span {
    display: inline-block;
    transform: translateY(-25px);
    font-size: 12px;
    padding-top: 8px;
}

.upload .upload-files footer.hasFiles {
    height: auto;
}

.upload .upload-files footer.hasFiles .divider {
    width: 100%;
}

.upload .upload-files footer.hasFiles .divider span {
    transform: translateY(0);
    transition: transform 0.5s 0.5s ease;
}

.upload .upload-files footer .list-files {
    width: 320px;
    margin: 0 auto;
    margin-top: 15px;
    padding-left: 5px;
    text-align: center;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 210px;
}

.upload .upload-files footer .list-files::-webkit-scrollbar-track {
    background-color: rgba(211, 211, 211, 0.25);
}

.upload .upload-files footer .list-files::-webkit-scrollbar {
    width: 4px;
    background-color: rgba(211, 211, 211, 0.25);
}

.upload .upload-files footer .list-files::-webkit-scrollbar-thumb {
    background-color: rgba(77, 182, 172, 0.5);
}

.upload .upload-files footer .list-files .file {
    width: 300px;
    min-height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    -webkit-animation: fade 0.35s ease both;
    animation: fade 0.35s ease both;
}

.upload .upload-files footer .list-files .file .name {
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 80px;
    text-align: left;
}

.upload .upload-files footer .list-files .file .progress {
    width: 175px;
    height: 5px;
    border: solid 1px lightgray;
    border-radius: 2px;
    background: linear-gradient(to left, rgba(77, 182, 172, 0.2), var(--upload-main)) no-repeat;
    background-size: 100% 100%;
}

.upload .upload-files footer .list-files .file .progress.active {
    -webkit-animation: progress 30s linear;
    animation: progress 30s linear;
}

@-webkit-keyframes progress {
    from {
        background-size: 0 100%;
    }

    to {
        background-size: 100% 100%;
    }
}

@keyframes progress {
    from {
        background-size: 0 100%;
    }

    to {
        background-size: 100% 100%;
    }
}

.upload .upload-files footer .list-files .file .done {
    cursor: pointer;
    width: 40px;
    height: 40px;
    background: var(--upload-main);
    border-radius: 50%;
    margin-left: -10px;
    transform: scale(0);
    position: relative;
}

.upload .upload-files footer .list-files .file .done:before {
    content: "View";
    position: absolute;
    top: 0;
    left: -5px;
    font-size: 24px;
    opacity: 0;
}

.upload .upload-files footer .list-files .file .done:hover:before {
    transition: all 0.25s ease;
    top: -30px;
    opacity: 1;
}

.upload .upload-files footer .list-files .file .done.anim {
    -webkit-animation: done1 0.5s ease forwards;
    animation: done1 0.5s ease forwards;
}

.upload .upload-files footer .list-files .file .done.anim #path {
    -webkit-animation: done2 2.5s 0.5s ease forwards;
    animation: done2 2.5s 0.5s ease forwards;
}

.upload .upload-files footer .list-files .file .done #path {
    stroke-dashoffset: 7387.5942382813;
    stroke-dasharray: 7387.5942382813 7387.5942382813;
    stroke: var(--upload-white);
    fill: transparent;
    stroke-width: 50px;
}

@-webkit-keyframes done2 {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes done2 {
    to {
        stroke-dashoffset: 0;
    }
}

@-webkit-keyframes done1 {
    50% {
        transform: scale(0.5);
        opacity: 1;
    }

    80% {
        transform: scale(0.25);
        opacity: 1;
    }

    100% {
        transform: scale(0.5);
        opacity: 1;
    }
}

@keyframes done1 {
    50% {
        transform: scale(0.5);
        opacity: 1;
    }

    80% {
        transform: scale(0.25);
        opacity: 1;
    }

    100% {
        transform: scale(0.5);
        opacity: 1;
    }
}

.upload .upload-files footer .importar {
    width: 125px;
    outline: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    margin: auto;
    border: solid 1px var(--upload-main);
    color: var(--upload-main);
    background: transparent;
    padding: 8px 15px;
    font-size: 12px;
    border-radius: 4px;
    font-family: Roboto;
    line-height: 1;
    cursor: pointer;
    transform: translateY(15px);
    opacity: 0;
    visibility: hidden;
}

.upload .upload-files footer .importar.active {
    transition: transform 0.5s 1.5s ease, opacity 0.5s 1.5s ease, background;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.upload .upload-files footer .importar:hover {
    background: var(--upload-main);
    color: var(--upload-white);
}

/* TreeView - start */
.tree ul {
    padding-top: 20px;
    position: relative;

    transition: all 2s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 2s;
}

.tree li {
    float: left;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 5px 0 5px;

    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
}

/*We will use ::before and ::after to draw the connectors*/

.tree li::before,
.tree li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 1px solid #ccc;
    width: 50%;
    height: 20px;
}

.tree li::after {
    right: auto;
    left: 50%;
    border-left: 1px solid #ccc;
}

/*We need to remove left-right connectors from elements without
any siblings*/
.tree li:only-child::after,
.tree li:only-child::before {
    display: none;
}

/*Remove space from the top of single children*/
.tree li:only-child {
    padding-top: 0;
}

/*Remove left connector from first child and
right connector from last child*/
.tree li:first-child::before,
.tree li:last-child::after {
    border: 0 none;
}

/*Adding back the vertical connector to the last nodes*/
.tree li:last-child::before {
    border-right: 1px solid #ccc;
    border-radius: 0 5px 0 0;
    -webkit-border-radius: 0 5px 0 0;
    -moz-border-radius: 0 5px 0 0;
}

.tree li:first-child::after {
    border-radius: 5px 0 0 0;
    -webkit-border-radius: 5px 0 0 0;
    -moz-border-radius: 5px 0 0 0;
}

/*Time to add downward connectors from parents*/
.tree ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 1px solid #ccc;
    width: 0;
    height: 20px;
}

.tree li a {
    border: 1px solid #ccc;
    padding: 15px 20px;
    text-decoration: none;
    color: #666 !important;
    font-family: arial, verdana, tahoma;
    font-size: 1.4em;
    display: inline-block;

    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;

    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
}

.tree li a i {
    color: #666 !important;
}

/*Time for some hover effects*/
/*We will apply the hover effect the the lineage of the element also*/
.tree li a:hover,
.tree li a:hover+ul li a {
    /* background: #d1c4e9; color: #000; border: 1px solid #d1c4e9; */
    background: var(--kt-primary);
    color: #ffffff !important;
    border: 1px solid var(--kt-primary);
}

.tree li a:hover i,
.tree li a:hover+ul li a i {
    color: #ffffff !important;
}

/*Connector styles on hover*/
.tree li a:hover+ul li::after,
.tree li a:hover+ul li::before,
.tree li a:hover+ul::before,
.tree li a:hover+ul ul::before {
    border-color: #94a0b4;
}

/* TreeView - end */

@-webkit-keyframes fadeup {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeup {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@-webkit-keyframes faderight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes faderight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@-webkit-keyframes fade {
    to {
        opacity: 1;
    }
}

@keyframes fade {
    to {
        opacity: 1;
    }
}

@media (max-width: 400px) {
    .upload {
        width: 100%;
        height: 100%;
    }
}

.conversation:hover,
.conversation.active {
    background-color: var(--kt-primary) !important;
}

.conversation:hover .conversation-title,
.conversation.active .conversation-title {
    color: var(--kt-white) !important;
}

.conversation:hover .text-muted,
.conversation.active .text-muted {
    color: var(--kt-gray-300) !important;
}

.conversation-title {
    color: var(--kt-gray-700) !important;
}

.conversation .text-muted {
    color: var(--kt-gray-400) !important;
}

.select2-container .select2-selection--single {
    height: 3.5rem !important;
}

.dataTable i {
    font-size: 1.4rem !important;
}

.stepper-icon {
    cursor: pointer;
}

.navigation-card {
    height: 320px;
}

.navigation-card:hover {
    transform: scale(1.05);
    transition: transform .5s ease;
}

.navigation-card:hover i,
.navigation-card:hover .navigation-card-title,
.navigation-card:hover .navigation-card-description {
    color: #ffffff !important;
}

.navigation-card i {
    font-size: 4rem;
}

.navigation-card-title {
    margin-top: 1.4rem;
    margin-bottom: 0;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    color: #202020;
}

.navigation-card-description {
    margin-top: 0;
    text-align: center;
    color: var(--kt-text-muted);
}

.custom-input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.card.card-sticky.mt-6.sticky-steps-buttons {
    z-index: 1050 !important;
}

#kt_app_sidebar {
    z-index: 10001 !important;
}

.dataTables_paginate {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

.dataTables_paginate .paginate_button {
    cursor: pointer;
    padding: .8rem 1.4rem;
    margin: 0 .2rem;
    color: #ffffff;
    background-color: #2D70F4;
    border-radius: .4rem;
    transition: background-color .3s ease;
}

.dataTables_paginate .paginate_button:hover {
    color: #ffffff;
    background-color: #284C9C;
}

.dataTables_paginate .disabled,
.dataTables_paginate .disabled:hover {
    cursor: default;
    background-color: #7487B9;
}

.dataTables_paginate .current,
.dataTables_paginate .current:hover {
    cursor: default;
    color: #2D70F4;
    background-color: #edf2f4;
}

.dataTables_filter {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.dataTables_filter input {
    margin-left: .2rem;
    padding: .2rem .5rem;
    border: none;
    border-bottom: 1px solid #2D70F4;
}

.dataTables_filter input:focus {
    border-bottom: 1px solid #284C9C;
    outline: none;
}

.dataTables_length {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.dataTables_processing {
    display: none !important;
}

.dt-button .dt-down-arrow {
    color: #ffffff !important;
}


#alert-layout {
    z-index: 15000 !important;
}

.center-element {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-item:hover {
    color: #fff;
    /* Change text color on hover */
}

.dropdown-item-success:hover {
    background-color: #198754;
    /* Success color */
}

.dropdown-item-danger:hover {
    background-color: #dc3545;
    /* Danger color */
}

.dropdown-item-warning:hover {
    background-color: #ffc107;
    /* Warning color */
}

.dropdown-item-info:hover {
    background-color: #7239ea;
    /* Warning color */
}

.dropdown-item-primary:hover {
    background-color: #009ef7;
    /* Warning color */
}

.page-loader-button-close {
    top: 1rem;
    right: 1rem;
    position: absolute;
}

.dashed-outline {
    opacity: .7 !important;
    position: relative !important;
}

.dashed-outline::before {
    content: '' !important;
    position: absolute !important;
    top: -5px !important;
    left: -5px !important;
    right: -5px !important;
    bottom: -5px !important;
    border: 2px dashed var(--kt-gray-500) !important;
    pointer-events: none !important;
}

.drag-element {
    cursor: grab !important;
}

.drawing-element {
    position: relative !important;
}

.drawing-element-title {
    position: absolute !important;
    display: none;
    background-color: var(--kt-gray-500);
    color: white;
    padding: 5px;
    border-radius: 0 3px 0 0;
    top: -35px;
    left: -5px;
    white-space: nowrap;
}

.drawing-element:hover::before {
    content: '' !important;
    position: absolute !important;
    top: -5px !important;
    left: -5px !important;
    right: -5px !important;
    bottom: -5px !important;
    border: 2px solid var(--kt-gray-500) !important;
    pointer-events: none !important;
}