﻿/* TOAST */
div.toast {
    transition: all linear 0.5s;
    width: 350px;
    margin-left: -175px;
    background-color: #333333;
    color: #ffffff;
    text-align: center;
    font-size: small;
    border-radius: 15px;
    padding: 5px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 60px;
}

    div.toast.ng-hide {
        margin-left: -150px;
        width: 300px;
        color: transparent;
        background-color: transparent;
    }

    div.toast.ng-hide-add,
    div.toast.ng-hide-remove {
        transition: all linear 0.5s;
    }
/* LOADER */
div.loading {
    border: 16px solid #fbfbbc;
    border-top: 16px solid #f0f000;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
    margin-top: calc(20% - 60px);
    margin-left: calc(50% - 60px);
    position: absolute;
    z-index:999999;
}

@media only screen and (max-width: 600px) {
    div.loading {
        margin-top: calc(50% - 35px);
        margin-left: calc(50% - 35px);
        width: 70px;
        height: 70px;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes load7 {
    0%, 80%, 100% {
        box-shadow: 0 1em 0 -1em #ffffff;
    }

    40% {
        box-shadow: 0 1em 0 0 #FFF;
    }
}

.glyphicon-compressed {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    font-size: 1.2em;
}
/* MODALs */
div.ModalVentana {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    /*z-index: 1050;*/
    z-index: 1056;
    margin: 0;
    height: 98vh;
    overflow-y: auto;
}

div.ModalFondo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /*z-index: 1040;*/
    z-index: 1055;
    background-color: rgba(0,0,0,.5);
    padding: 0;
    margin: 0;
}

div.ModalVentana .modal-header {
    background-color: rgba(0,0,150,1);
    color: #ffffff;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

    div.ModalVentana .modal-header h5 {
        display: inline;
        font-weight: bold;
    }

    div.ModalVentana .modal-header .close {
        color: #F00;
        font-size: 2em;
        margin: -0.3em;
    }

div.ModalVentana.Move .modal-header .close {
    background-color: #b00;
    color: #fff;
}

div.ModalVentana.Move .modal-content {
    border: #000 solid 3px;
    background-color: #EEE;
}

div.ModalVentana.Move .modal-header:hover {
    cursor: move;
}