﻿body {
}
.btn-mid {
    font-size: 1.1rem !important;
}

#new_loading_div {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: black;
    opacity: .5;
    z-index: 99999;
    display: none;
}

#loading_text {
    font-size: 40px;
    color: white;
    width: 100vw;
    text-align: center;
    margin-top: 60vh;
    font-weight: bold;
}


#GreyBackground {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    background-color: grey;
    z-index: 9999;
    opacity: 0.5;
    filter: alpha(opacity=50); /* For IE8 and earlier */
    display: none;
}

#ProgressText {
    display: none;
    position: fixed;
    font-size: 30px;
    font-weight: bold;
    top: 57vh;
    color: white;
    text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
    z-index: 999999;
    width: 100%;
    text-align: center;
}

.overlay {
    position: absolute;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 99998;
    background-color: rgba(0,0,0,0.2);
    display: none;
}

.loader {
    position: absolute;
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    left: calc(50vw - 60px);
    top: calc(50vh - 60px);
    z-index: 99999;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
    z-index: 99999;
}

    /* Show the snackbar when clicking on a button (class added with JavaScript) */
    #snackbar.show {
        visibility: visible; /* Show the snackbar */
        /* Add animation: Take 0.5 seconds to fade in and out the snackbar. 
   However, delay the fade out process for 2.5 seconds */
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

.pointer:hover {
    cursor: pointer;
}

.dt-icon:hover {
    cursor: pointer;
}

/* From the portal global CSS file */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 100;
    }
}

body {
    background-color: white;
}

/* Stuff that was inline before this file */
table.dataTable thead .sorting_asc:after {
    content: "";
}

table.dataTable thead .sorting:after {
    content: "";
}

table.dataTable thead .sorting_desc:after {
    content: "";
}

.even {
    background-color: #f2f2f2 !important;
}

tr.odd > .sorting_1 {
    background-color: white !important;
}

tr.even > .sorting_1 {
    background-color: #E9E9E9 !important;
}

.sorting_asc, .sorting_desc {
    background-color: #f2f2f2 !important;
}

.small {
    color: grey;
    font-size: 13px;
    max-width: 400px;
}
/* End of inline stuff */

/* Datatables */
.dataTables_wrapper {
    animation: 1s ease-out 0s 1 fadeIn;
}

.display {
    display: none;
}

.glyphicon, .fa {
}

.fa-info-circle {
    color: blue;
}

.dtIcon:hover {
    color: black;
    cursor: pointer;
    line-height: 30px !important;
    width: 50px !important;
    text-align: center !important;
    font-size: 30px !important;
}

.fa-cloud-upload-alt {
    color: green;
}


.dtIcon {
    transition: color 0.5s ease;
    line-height: 30px !important;
    width: 50px !important;
    text-align: center !important;
    font-size: 30px !important;
}

.fa-plus-square {
    color: green;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.content-wrapper {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 12.5px;
    max-height: 100vh;
}

.dataTable {
    padding-top: 7px;
}

.dataTables_length {
    padding-right: 15px;
    margin-top: 7px;
}

.export-button {
    min-width: 140px;
    margin-top: 2.5px;
    margin-bottom: 2.5px;
}

div.dt-button-collection {
    width: auto;
    padding-top: 5px;
    padding-bottom: 5px;
}

.dtIconSmall {
    transform: scale(0.75);
}

.dtButtonSmall {
    padding-top: 1px;
    padding-bottom: 1px;
}

.btn {
    font-size: 0.7rem;
}

.btn-outline-dark {
    color: black;
}

.hideOnMobile {
    display: inline-block;
}
.hidden {
    display: none;
}

/* Custom popover width */
.popover {
    width: 400px;
    max-width: 400px;
    z-index: 1049;
}

@media (min-width: 768px) {
    .modal-xl {
        width: 90%;
        max-width: 1200px;
    }
    .modal-xxl {
        width: 95vw;
        max-width: 95vw;
    }
}

@media (max-width: 768px) {

    .hideOnMobile {
        display: none;
    }
}

@media (min-width: 992px) {
    .hideUntilMobile {
        display: none;
    }
}


.inline-form-label {
    width: 100%;
}


.light-grey {
    color: lightgray !important;
}

.ct-red {
    color: red !important;
}

.ct-green {
    color: green !important;
}

.ct-yellow {
    color: #CCCC00 !important;
}

.ct-purple {
    color: purple !important;
}
