﻿.loading {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.2);
    display: none;
    z-index: 1061;
}

    .loading.small {
        width: 100%;
        height: 100%;
        position: absolute;
        background-color: rgba(0,0,0,.2);
        display: none;
        z-index: 1059;
    }

.loading-wheel-small {
    margin-top: -60px;
    margin-left: -60px;
    position: absolute;
    top: 50%;
    left: 50%;
}

.loading-wheel {
    margin-top: -50px;
    margin-left: -50px;
    position: absolute;
    top: 50%;
    left: 50%;
}

.sas-loader {
    height:100px;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(-360deg);
    }
}

.selectpicker {
    display: block;
}

.lblMandatory {
    color: red !important;
    display: block;
}

    .lblMandatory:after {
        content: "*";
        color: red;
    }

#lblMandatoryFields {
    display: none;
}

#lblMaintenanceMandatoryFields {
    display: none;
}

.i-clear-search {
    cursor: pointer;
}

.searcher-control {
    width: 95%;
    display: inline;
}

.swal-youtube-player {
    background: transparent !important;
    box-shadow: none !important;
}

    .swal-youtube-player .swal2-close {
        color: #FF9933 !important;
        font-weight: bold;
    }

.toast {
    visibility: hidden; /* Hidden by default. Visible on click */
    width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    position: fixed; /* Sit on top of the screen */
    z-index: 1100; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
}

    .toast.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;
    }
}
