body.overflow-hidden {
    max-height: 100vh;
    overflow: hidden;
}

.table td,
.table th {
    padding: 5px 10px;
}

table button {
    float: left;
    padding: 5px 15px !important;
}

table a+button {
    float: none;
    height: 38px;
}

table .alert {
    float: left;
    border: none;
}

table .alert.alert-light {
    background-color: transparent;
    color: #000;
}

.popup-error {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    float: left;
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
    background-color: rgb(0 0 0 / 50%);
}

.popup-error .alert {
    text-align: center;
    min-width: 220px;
}

.popup-error .alert p {
    margin-bottom: 5px;
    text-align: left;
}

.popup-error .alert button {
    margin-top: 10px;
}

.loader-container {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    float: left;
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
    background-color: rgb(0 0 0 / 50%);
}

.loader {
    width: 175px;
    height: 80px;
    display: block;
    margin: auto;
    background-image: radial-gradient( circle 25px at 25px 25px, #fff 100%, transparent 0), radial-gradient(circle 50px at 50px 50px, #fff 100%, transparent 0), radial-gradient(circle 25px at 25px 25px, #fff 100%, transparent 0), linear-gradient(#fff 50px, transparent 0);
    background-size: 50px 50px, 100px 76px, 50px 50px, 120px 40px;
    background-position: 0px 30px, 37px 0px, 122px 30px, 25px 40px;
    background-repeat: no-repeat;
    position: relative;
    box-sizing: border-box;
}

.loader::after {
    content: "";
    left: 50%;
    bottom: 30px;
    transform: translate(-50%, 0);
    position: absolute;
    border: 15px solid transparent;
    border-bottom-color: #ff3d00;
    box-sizing: border-box;
    animation: fadePull 1s linear infinite;
}

.loader::before {
    content: "";
    left: 50%;
    bottom: 15px;
    transform: translate(-50%, 0);
    position: absolute;
    width: 15px;
    height: 15px;
    background: #ff3d00;
    box-sizing: border-box;
    animation: fadePull 1s linear infinite;
}

@keyframes fadePull {
    0% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, 0px);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -15px);
        opacity: 0;
    }
}

.tabs {
    display: inline-block;
    width: 100%;
    height: auto;
    margin: 0 0 25px;
    padding: 0;
    border: 1px solid #ddd;
}

.tabs .tabs-nav {
    display: inline-block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #ddd;
    list-style-type: none;
}

.tabs .tabs-nav li {
    display: inline-block;
    width: auto;
    margin: 0;
    padding: 10px;
    border-right: 1px solid #ddd;
}

.tabs .tabs-nav li:last-child {
    border: none;
}

.tabs .tabs-nav li a.active {
    color: #fff !important;
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.tabs .tabs-stage {
    display: inline-block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 10px;
}

.tabs .tabs-stage>div {
    display: none;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

.tabs .tabs-stage>div.active {
    display: inline-block;
}

.tabs .tabs-stage>div a {
    margin-right: 10px;
}

.tabs .tabs-stage>div a.active {
    color: #fff !important;
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}


/* USER */

.user-files .path {
    margin: 0;
    padding: 6px 15px;
    white-space: nowrap;
    max-width: 600px;
    text-overflow: ellipsis;
    display: inline-block;
    overflow: hidden;
}


/* LOGIN */

.login-page {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    min-height: 100vh;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #f5f5f5;
}

.login-page .form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}

.login-page .form-signin .checkbox {
    font-weight: 400;
}

.login-page .form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 5px;
}

.login-page .form-signin .form-control:focus {
    z-index: 2;
}

.login-page .form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.login-page .form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}


/* UPLOAD */

#drop_file_area {
    height: 200px;
    border: 2px dashed #ccc;
    line-height: 200px;
    text-align: center;
    font-size: 20px;
    background: #f9f9f9;
    margin-bottom: 15px;
}

.drag_over {
    color: #000;
    border-color: #000;
}

.thumbnail {
    width: 100px;
    height: 100px;
    padding: 2px;
    margin: 2px;
    border: 2px solid lightgray;
    border-radius: 3px;
    float: left;
}

#upload_file {
    display: none;
}

#uploaded_file {
    display: inline-block;
    width: 100%;
    height: auto;
    margin: 0 0 50px;
    padding: 0;
}

.list-to-upload {
    display: inline-block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    list-style-type: none;
    border: 1px solid #ddd;
}

.list-to-upload li {
    position: relative;
    display: inline-block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 5px 15px 5px 45px;
    line-height: 25px;
    list-style-type: none;
    border-bottom: 1px solid #ddd;
}

.list-to-upload li:last-child {
    border-bottom: 0;
}

.list-to-upload li.complete {
    padding: 5px 15px 5px 15px;
}

.list-to-upload li .spinner {
    display: inline-block;
    float: left;
    width: 24px;
    height: 24px;
    border: 3px solid #ffc107;
    border-radius: 50%;
    border-top: 3px solid #dc1d32;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    margin: 0 15px 0 0;
    position: absolute;
    z-index: 9;
    left: 10px;
    top: 10px;
}

.list-to-upload li p {
    display: inline-block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    line-height: 30px;
}


/* Safari */

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}