.loader {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background: url(../img/loading.gif) rgba(255, 255, 255, 0.5);
    background-repeat: no-repeat;
    background-position: center;
    z-index: 9;
}

.crudSystem {
    position: relative;
}

.crudSystem td.actions {
    text-align: right;
    white-space: nowrap;
    width: 0.1%;
}

/*.crudSystem td.actions a {
    vertical-align: top;
}*/

.toggle {
    --width: 50px;
    --height: calc(var(--width) / 2);
    --border-radius: calc(var(--height) / 2);

    display: inline-block;
    cursor: pointer;
}

.toggle__input {
    display: none;
}

.toggle__fill {
    position: relative;
    width: var(--width);
    height: var(--height);
    border-radius: var(--border-radius);
    background: #dddddd;
    transition: background 0.2s;
}

.toggle__input:checked ~ .toggle__fill {
    background: #009578;
}

.toggle__fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: var(--height);
    width: var(--height);
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    border-radius: var(--border-radius);
    transition: transform 0.2s;
}

.toggle__input:checked ~ .toggle__fill::after {
    transform: translateX(var(--height));
}

.buttons {
    padding-top: 15px;
}


/** Responsive .responsivetable**/

@media screen and (max-width: 800px) {

    .responsivetable {
        border: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        border-collapse: collapse;
        border-spacing: 0;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    }

    .responsivetable thead {
        background: #f0f0f0;
        height: 60px !important;
    }

    .responsivetable thead tr th:first-child {
        padding-left: 45px;
    }

    .responsivetable thead tr th {
        text-transform: uppercase;
        line-height: 60px !important;
        text-align: left;
        font-size: 11px;
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }

    .responsivetable tbody {
        background: #fff;
    }

    .responsivetable tbody tr {
        border-top: 1px solid #e5e5e5;
        min-height: 60px;
    }

    .responsivetable tbody tr td:first-child {
        padding-left: 45px;
    }

    .responsivetable tbody tr td {
        height: 60px;
        line-height: 60px;
        text-align: left;
        padding: 0 10px;
        font-size: 14px;
    }

    .responsivetable tbody tr td i {
        margin-right: 8px;
    }

    .responsivetable {
        border: 1px solid transparent;
        box-shadow: none;
    }

    .responsivetable thead {
        display: none;
    }

    .responsivetable tbody tr {
        border-bottom: 45px solid #f8f8f8;
    }

    .responsivetable tbody tr td:first-child {
        padding-left: 10px;
    }

    .responsivetable tbody tr td:before {
        content: attr(data-label);
        float: left;
        font-size: 10px;
        /*text-transform: uppercase;*/
        font-weight: bold;
    }

    .responsivetable tbody tr td {
        display: block;
        text-align: right;
        font-size: 14px;
        padding: 0px 10px !important;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    }

    .crudSystem td.actions {
        width: 100%;
    }
}

/** Responsive .responsivetable**/

/*.ModalBody .card-body {
    padding: 0;
}*/

.ModalBody .card {
    margin-bottom: 0px;
}

/*.form-horizontal .tab-pane {
    padding: 25px 0;
}*/


@media (min-width: 801px) {

    .columnFix {
        width: 1px !important;
        white-space: nowrap !important;
    }
}


.upload_uploadProsess {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
}

.upload_status {
    display: table;
    margin: auto;
    text-align: center;
    color: #3a5350;
    width: 600px;
    height: 150px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 25px 1px rgba(166, 166, 166, 0.75);
    -moz-box-shadow: 0px 0px 25px 1px rgba(166, 166, 166, 0.75);
    box-shadow: 0px 0px 25px 1px rgba(166, 166, 166, 0.75);
    padding: 25px;
    position: fixed;
    top: calc(50% - 75px);
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.upload_borderdiv {
    margin: 25px 0 10px 0;
    background: #035855;
    padding: 2px;
    border-radius: 25px;
}

.upload_lineX {
    border-radius: 25px;
    padding: 10px;
    background: #60bc65;
    width: 50%;
}

@media (max-width: 767px) {
    .listFolder {
        display: none;
    }
}


.input-group > .input-group-prepend {
    flex: 0 0 30%;
}


@media (min-width: 767px) {
    .row-fields {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
    }

    .row-fields > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }
}


/*.repeatable > div:nth-child(odd) {
    background: #f0f0f0;
}*/


.subtablehr {
    margin: .4rem 0;
    border: 0;
    border-top: 1px solid #ddd;
    opacity: .8;
}

.tooltip-inner {
    text-align: left;
    max-width: 400px;
    /* If max-width does not work, try using width instead */
    width: 400px;
}
