﻿/* LOADER */
div.loading {
    /*border: 16px solid #f3f3f3;*/ /* Light grey */
    /*border-top: 16px solid #fff656;*/ /* yellow */
    /*border-bottom: 16px solid #3498db;*/ /* Blue */
    /*
            border-top:16px dashed #1ce126;
            border-right:16px dashed #1ce126;
            border-left:16px dashed #1ce126;
            border-bottom:16px dashed #1ce126;
            */
    padding: 0;
    margin: 0;
    background-image: url('/imagenes/load.png');
    position: fixed;
    z-index: 9998;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
    margin-top: calc(20% - 60px);
    margin-left: calc(50% - 60px);
}
div.loadingFondo {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9997;
    background-color: #fff;
    opacity: 0.4;
    cursor: progress;
}

    @media only screen and (max-width: 600px) {
        div .loading {
        margin-top: calc(50% - 50px);
    }
}

@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;
    }
}

/* 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: 9999;
    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;
}

/*MODAL FULL SCREEN*/
.modalFull {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    min-width: 100% !important;
    background: #fff;
    z-index: 1049;
}

    .modalFull .modalFull-dialog {
        position: fixed;
        margin: 0;
        min-width: 100% !important;
        height: 100%;
        padding: 0;
    }

    .modalFull .modalFull-content {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border: 2px solid #3c7dcf;
        border-radius: 0;
        box-shadow: none;
        min-width: 100% !important;
    }

    .modalFull .modalFull-header {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 50px;
        padding: 10px;
        background: #6598d9;
        border: 0;
        border-radius: 0px;
    }

    .modalFull .modalFull-title {
        font-weight: 300;
        font-size: 2em;
        color: #fff;
        line-height: 30px;
    }

    .modalFull .modalFull-body {
        position: absolute;
        top: 50px;
        bottom: 60px;
        min-width: 100%;
        font-weight: 300;
        overflow: auto;
    }

    .modalFull .modalFull-footer {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 60px;
        padding: 10px;
        background: #f1f3f5;
    }

    .modalFull::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 10px;
        background: #f1f3f5;
        border-left: 1px solid darken(#f1f3f5, 10%);
    }

    .modalFull::-webkit-scrollbar-thumb {
        background: darken(#f1f3f5, 20%);
    }
@media (min-width: 768px) {
    .modal-xl {
        width: 75%;
        max-width: 1500px;
    }
    .modal-xxl {
        width: 90%;
        max-width: 1500px;
    }
}
/* DESPLEGABLE PERSONALIZADO */
input:focus ~ .Desplegable, .Desplegable:hover { /* Orders_form >> AddProduct [Productos y PPAlts] */
    visibility: visible;
}
input:disabled:hover ~ .Desplegable, .Desplegable:after:active {
    visibility: hidden;
}
.Desplegable {
    visibility: hidden;
    width: 110%;
    position: absolute;
    z-index: 100000000 !important;
    padding: 0;
    margin: 0;
    max-height: 250px;
    overflow-x: auto;
    border: solid 0.1em #6598d9;
}
/*
input.inputDesplegable {
    border-right: solid 1.3em #808080;
    border-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 22.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 28.8 28.8' style='enable-background:new 0 0 28.8 28.8;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} %3C/style%3E%3Cg%3E%3Cg id='c106_arrow'%3E%3Cpath class='st0' d='M28.7,5.8l-14,17.7c-0.2,0.2-0.5,0.2-0.7,0L0.1,5.8C0,5.7,0,5.5,0,5.4c0.1-0.1,0.2-0.2,0.4-0.2h27.9 c0.2,0,0.3,0.1,0.4,0.2C28.8,5.5,28.8,5.7,28.7,5.8z'/%3E%3C/g%3E%3Cg id='Capa_1_26_'%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    border-image-repeat: stretch;
    border-image-width:auto;
}*/
    .Desplegable p {
        width: 100%;
        background-color: #FFF;
        color: #447ca5;
        margin: 0;
        padding: 0.2em 0.5em;
        font-size: 0.9em;
    }
        .Desplegable p:hover {
            cursor: pointer;
            background-color: #447ca5;
            color: #d1d5d8;
        }
        .Desplegable p:active {
            cursor: grabbing;
            background-color: #000000;
            color: #fb5252;
        }
.modal-body .Desplegable{ /* Esto lo hacemos para los modales */
    position:fixed;
    min-width:250px;
    width:auto;
}