﻿/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


td.details-control {
    position: relative;
}

    td.details-control:before {
        cursor: pointer;
        top: 50%;
        left: 5px;
        height: 14px;
        width: 14px;
        margin-top: -9px;
        display: block;
        position: absolute;
        color: white;
        border: 2px solid white;
        border-radius: 14px;
        box-shadow: 0 0 3px #444;
        box-sizing: content-box;
        text-align: center;
        text-indent: 0 !important;
        font-family: 'Courier New', Courier, monospace;
        line-height: 14px;
        content: '+';
        background-color: #337ab7;
    }

tr.shown td.details-control:before {
    content: '-' !important;
    background-color: #d33333 !important;
}

table.dataTable thead th, table.dataTable thead td {
    padding: 5px 5px !important;
    border-bottom: 1px solid #111;
}

table.dataTable tbody td {
    padding: 5px 5px !important;
}

div.dataTables_wrapper {
    width: 100% !important;
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    visibility: hidden;
    z-index: 1500;
    top: 0;
    right: 0;
}

    .overlay .show {
        display: flex !important;
    }

.loading {
    display: flex;
    visibility: hidden;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    z-index: 1510;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}

    .loading .show {
        display: flex !important;
    }

    .loading .dot {
        position: relative;
        margin: 0px auto;
        width: 2em;
        height: 2em;
        margin: 0.8em;
        border-radius: 50%;
    }

        .loading .dot::before {
            position: absolute;
            content: "";
            width: 100%;
            height: 100%;
            background: inherit;
            border-radius: inherit;
            animation: wave 2s ease-out infinite;
        }

        .loading .dot:nth-child(1) {
            background: #7ef9ff;
        }

            .loading .dot:nth-child(1)::before {
                animation-delay: 0.2s;
            }

        .loading .dot:nth-child(2) {
            background: #89cff0;
        }

            .loading .dot:nth-child(2)::before {
                animation-delay: 0.4s;
            }

        .loading .dot:nth-child(3) {
            background: #4682b4;
        }

            .loading .dot:nth-child(3)::before {
                animation-delay: 0.6s;
            }

        .loading .dot:nth-child(4) {
            background: #0f52ba;
        }

            .loading .dot:nth-child(4)::before {
                animation-delay: 0.8s;
            }

        .loading .dot:nth-child(5) {
            background: #000080;
        }

            .loading .dot:nth-child(5)::before {
                animation-delay: 1s;
            }

@keyframes wave {
    50%, 75% {
        transform: scale(2.5);
    }

    80%, 100% {
        opacity: 0;
    }
}

.show {
    visibility: visible;
}

.overlay {
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

    .overlay.show {
        opacity: 1
    }

.smart-scroll {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.scrolled-down {
    transform: translateY(-100%);
    transition: all 0.3s ease-in-out;
}

.scrolled-up {
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}

.swal2-container {
    z-index: 2000 !important;
}

/*page taking long */
.lds-facebook {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    bottom: 0;
    right: 0;
    position: fixed;
    background-color: red;
    z-index: 9999 !important;
}

    .lds-facebook div {
        display: inline-block;
        position: absolute;
        left: 8px;
        width: 16px;
        background: #fff;
        animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
    }

        .lds-facebook div:nth-child(1) {
            left: 8px;
            animation-delay: -0.24s;
        }

        .lds-facebook div:nth-child(2) {
            left: 32px;
            animation-delay: -0.12s;
        }

        .lds-facebook div:nth-child(3) {
            left: 56px;
            animation-delay: 0;
        }

@keyframes lds-facebook {
    0% {
        top: 8px;
        height: 64px;
    }

    50%, 100% {
        top: 24px;
        height: 32px;
    }
}
