﻿/*Inicio: Botón Alerta*/
.Pulsacion {
    box-shadow: 0 0 0 0 rgba(222,67,67, 1);
    -webkit-animation: pulse 1.5s infinite;
    animation: pulse 1.5s infinite;
}

    .Pulsacion:hover {
        color: #DE4343 !important;
        -webkit-animation: none;
        animation: none;
    }

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(222,67,67, 1);
    }

    70% {
        -webkit-box-shadow: 0 0 0 30px rgba(222,67,67, 0);
    }

    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(222,67,67, 0);
    }
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(222,67,67, 1);
        box-shadow: 0 0 0 0 rgba(222,67,67, 1);
    }

    70% {
        -moz-box-shadow: 0 0 0 30px rgba(222,67,67, 0);
        box-shadow: 0 0 0 30px rgba(222,67,67, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(222,67,67, 0);
        box-shadow: 0 0 0 0 rgba(222,67,67, 0);
    }
}

/*Fin: Botón Alerta*/

/*Login*/
.Login {
    float: none;
    margin: 0 auto;
}

@media screen and (min-width: 600px) {
    .Login {
        width: 50%;
        float: none;
        margin: 0 auto;
    }
}

.custom-modal .modal-header {
    padding: 10px !important;
    border-radius: 0;
    background-color: #5ba2e6;
    color: #fff;
}

.custom-modal .modal-content {
    background-color: #f7f7f7;
}

.custom-modal .modal-footer {
    padding: 10px !important;
    border-radius: 0;
    background-color: #f3f3f3;
}

.custom-modal .close {
    color: #fff;
    text-shadow: 0;
}

/*Estilo para controles*/
.Control_Invisible {
    display: none !important;
}

.TextBox_Invisible {
    display: none !important;
}


/*Estilos Popup Mensajes*/
/*Azul*/
.popup-mensaje-azul {
    color: #004085 !important;
    background-color: #cce5ff !important;
    border-color: #b8daff !important;
}

    .popup-mensaje-azul .modal-header {
        border-bottom: 1px solid #b8daff !important;
    }

    .popup-mensaje-azul .modal-footer {
        border-top: 1px solid #b8daff !important;
    }

    .popup-mensaje-azul .btn-outline-primary {
        color: #002752 !important;
        border-color: #002752 !important;
    }

        .popup-mensaje-azul .btn-outline-primary:hover {
            color: #cce5ff !important;
            background-color: #002752 !important;
        }

        .popup-mensaje-azul .btn-outline-primary.focus,
        .popup-mensaje-azul .btn-outline-primary:focus,
        .popup-mensaje-azul .btn-outline-primary:active,
        .popup-mensaje-azul .btn-outline-primary.active {
            box-shadow: 0px 0px 0px 0.2rem #B8DAFF !important;
            background-color: #002752 !important;
            border-color: #002752 !important;
        }

/*Verde*/
.popup-mensaje-verde {
    color: #155724 !important;
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
}

    .popup-mensaje-verde .modal-header {
        border-bottom: 1px solid #c3e6cb !important;
    }

    .popup-mensaje-verde .modal-footer {
        border-top: 1px solid #c3e6cb !important;
    }

    .popup-mensaje-verde .btn-outline-primary {
        color: #155724 !important;
        border-color: #155724 !important;
    }

        .popup-mensaje-verde .btn-outline-primary:hover {
            color: #d4edda !important;
            background-color: #155724 !important;
        }

        .popup-mensaje-verde .btn-outline-primary.focus,
        .popup-mensaje-verde .btn-outline-primary:focus,
        .popup-mensaje-verde .btn-outline-primary:active,
        .popup-mensaje-verde .btn-outline-primary.active {
            box-shadow: 0px 0px 0px 0.2rem #c3e6cb !important;
            background-color: #155724 !important;
            border-color: #155724 !important;
        }

/*Amarillo*/
.popup-mensaje-amarillo {
    color: #856404 !important;
    background-color: #fff3cd !important;
    border-color: #ffeeba !important;
}

    .popup-mensaje-amarillo .modal-header {
        border-bottom: 1px solid #ffeeba !important;
    }

    .popup-mensaje-amarillo .modal-footer {
        border-top: 1px solid #ffeeba !important;
    }

    .popup-mensaje-amarillo .btn-outline-primary {
        color: #856404 !important;
        border-color: #856404 !important;
    }

        .popup-mensaje-amarillo .btn-outline-primary:hover {
            color: #fff3cd !important;
            background-color: #856404 !important;
        }

        .popup-mensaje-amarillo .btn-outline-primary.focus,
        .popup-mensaje-amarillo .btn-outline-primary:focus,
        .popup-mensaje-amarillo .btn-outline-primary:active,
        .popup-mensaje-amarillo .btn-outline-primary.active {
            box-shadow: 0px 0px 0px 0.2rem #ffeeba !important;
            background-color: #856404 !important;
            border-color: #856404 !important;
        }

/*Rojo*/
.popup-mensaje-rojo {
    color: #721c24 !important;
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
}

    .popup-mensaje-rojo .modal-header {
        border-bottom: 1px solid #f5c6cb !important;
    }

    .popup-mensaje-rojo .modal-footer {
        border-top: 1px solid #f5c6cb !important;
    }

    .popup-mensaje-rojo .btn-outline-primary {
        color: #721c24 !important;
        border-color: #721c24 !important;
    }

        .popup-mensaje-rojo .btn-outline-primary:hover {
            color: #f8d7da !important;
            background-color: #721c24 !important;
        }

        .popup-mensaje-rojo .btn-outline-primary.focus,
        .popup-mensaje-rojo .btn-outline-primary:focus,
        .popup-mensaje-rojo .btn-outline-primary:active,
        .popup-mensaje-rojo .btn-outline-primary.active {
            box-shadow: 0px 0px 0px 0.2rem #f5c6cb !important;
            background-color: #721c24 !important;
            border-color: #721c24 !important;
        }

/*Paginación tablas*/
.pagination-ys {
    /*display: inline-block;*/
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    .pagination-ys table > tbody > tr > td {
        display: inline;
    }

        .pagination-ys table > tbody > tr > td > a,
        .pagination-ys table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            color: #D9AC04;
            background-color: #ffffff;
            border: 1px solid #dddddd;
            margin-left: -1px;
        }

        .pagination-ys table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            margin-left: -1px;
            z-index: 2;
            color: #aea79f;
            background-color: #f5f5f5;
            border-color: #dddddd;
            cursor: default;
        }

/*Estilo Menu*/

#sidebar-menu a {
    line-height: 1.3;
}

#sidebar-menu ul li .menu-arrow {
    -webkit-transition: -webkit-transform .15s;
    -o-transition: -o-transform .15s;
    transition: transform .15s;
    position: absolute;
    right: 20px;
    top: 15px;
    display: inline-block;
    font-family: 'Font Awesome 5 Free';
    line-height: 18px;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}

    #sidebar-menu ul li .menu-arrow:before {
        content: "\f105";
        font-weight: 900;
    }

#sidebar-menu ul li a.subdrop .menu-arrow {
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

#sidebar-menu ul ul {
    display: none;
}

    #sidebar-menu ul ul li {
        border-top: 0;
    }

        #sidebar-menu ul ul li.active a {
            color: #D9AC04;
        }

    #sidebar-menu ul ul a {
        color: #fff;
        -webkit-transition: all 0.3s ease-out;
        -moz-transition: all 0.3s ease-out;
        -o-transition: all 0.3s ease-out;
        -ms-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
        display: block;
        padding: 10px 20px 10px 30px;
        word-wrap: break-word;
    }

        #sidebar-menu ul ul a:hover {
            color: #fff !important;
            background-color: #D9AC04;
            border-left: 2px solid #D9AC04;
        }

        #sidebar-menu ul ul a i {
            margin-right: 5px;
        }

    #sidebar-menu ul ul ul a {
        padding-left: 50px;
    }

#sidebar-menu .label {
    margin-top: 2px;
}

#sidebar-menu .subdrop {
    color: #fff !important;
    background-color: #C99C03;
    border-left: 2px solid #D9AC04;
}

#sidebar-menu .submenu ul .submenu .menu-arrow {
    top: 10px !important;
}

#sidebar-menu > ul > li > a {
    color: #FFF;
    display: block;
    padding: 12px 12px 15px 12px;
    font-weight: 400;
    font-size: 0.90rem;
    border-left: 2px solid transparent;
}

    #sidebar-menu > ul > li > a:hover {
        color: #FFF;
        background-color: #D9AC04;
        text-decoration: none;
        border-left: 2px solid #D9AC04;
    }

    #sidebar-menu > ul > li > a > span {
        vertical-align: middle;
    }

#sidebar-menu ul li a i {
    display: inline-block;
    font-size: 18px;
    line-height: 17px;
    margin-left: 3px;
    margin-right: 15px;
    text-align: center;
    vertical-align: middle;
    width: 20px;
}

#sidebar-menu ul li a .drop-arrow {
    float: right;
}

    #sidebar-menu ul li a .drop-arrow i {
        margin-right: 0;
    }

#sidebar-menu > ul > li > a.active {
    color: #ffffff !important;
    background-color: #6194c1;
}

.menu-title {
    padding: 12px 20px !important;
    letter-spacing: .035em;
    pointer-events: none;
    cursor: default;
    font-size: 13px;
}

.footer {
    border-top: 1px solid rgba(115, 140, 152, 0.2);
    bottom: 0;
    color: #818a91;
    text-align: left !important;
    padding: 10px;
    position: absolute;
    right: 0;
    left: 250px;
    background-color: #fff;
}

#main.enlarged .menu-title {
    display: none;
}

#main.enlarged .menu-arrow {
    display: none !important;
}

#main.enlarged .footer {
    left: 70px;
}

#main.enlarged #sidebar-menu ul ul {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 1px 10px 0 rgba(0, 0, 0, 0.08);
}

#main.enlarged .left.main-sidebar {
    width: 70px;
    z-index: 5;
}

    #main.enlarged .left.main-sidebar #sidebar-menu > ul > li > a {
        padding-left: 10px;
    }

        #main.enlarged .left.main-sidebar #sidebar-menu > ul > li > a:hover {
            background-color: #64b0f2;
        }

    #main.enlarged .left.main-sidebar span.pull-right {
        display: none !important;
    }

    #main.enlarged .left.main-sidebar #sidebar-menu ul > li {
        position: relative;
        /*white-space: nowrap;*/
    }

        #main.enlarged .left.main-sidebar #sidebar-menu ul > li:hover > a {
            background-color: #64b0f2;
            position: relative;
            width: 260px;
        }

        #main.enlarged .left.main-sidebar #sidebar-menu ul > li:hover > ul {
            display: block;
            left: 70px;
            position: absolute;
            width: 190px;
            padding: 5px 0;
            background: #ffffff;
        }

            #main.enlarged .left.main-sidebar #sidebar-menu ul > li:hover > ul a {
                background: #ffffff;
                border: none;
                box-shadow: none;
                padding-left: 15px;
                position: relative;
                width: 190px;
                z-index: 6;
                color: rgba(43, 61, 81, 0.8);
            }

                #main.enlarged .left.main-sidebar #sidebar-menu ul > li:hover > ul a:hover {
                    color: #004D85 !important;
                }

        #main.enlarged .left.main-sidebar #sidebar-menu ul > li:hover a span {
            display: inline;
        }

        #main.enlarged .left.main-sidebar #sidebar-menu ul > li > ul {
            display: none;
        }

    #main.enlarged .left.main-sidebar #sidebar-menu ul ul li:hover > ul {
        display: block;
        left: 190px;
        margin-top: -36px;
        position: absolute;
        width: 190px;
    }

    #main.enlarged .left.main-sidebar #sidebar-menu ul ul li > a span.pull-right {
        -ms-transform: rotate(270deg);
        -webkit-transform: rotate(270deg);
        position: absolute;
        right: 20px;
        top: 12px;
        transform: rotate(270deg);
    }

    #main.enlarged .left.main-sidebar #sidebar-menu ul > li > a span {
        display: none;
        /*padding-left: 10px;*/
    }

    #main.enlarged .left.main-sidebar #sidebar-menu > ul > li > a {
        padding: 15px 20px;
        min-height: 52.09px;
    }

        #main.enlarged .left.main-sidebar #sidebar-menu > ul > li > a i {
            margin-right: 20px !important;
            font-size: 20px;
        }

    #main.enlarged .left.main-sidebar #sidebar-menu ul > li:hover > a {
        position: relative;
        width: 260px;
        background-color: #535b63;
        color: #ffffff;
    }

        #main.enlarged .left.main-sidebar #sidebar-menu ul > li:hover > a i {
            color: #ffffff;
        }

#main.enlarged .content-page {
    margin-left: 70px;
}

#main.enlarged .navbar-custom {
    margin-left: 70px;
}

#main.enlarged .headerbar .headerbar-left {
    width: 70px !important;
}

    #main.enlarged .headerbar .headerbar-left .logo span {
        display: none;
        opacity: 0;
    }

    #main.enlarged .headerbar .headerbar-left .logo i {
        margin-right: 0;
    }

#main.enlarged #sidebar-menu > ul > li:hover > a.open :after {
    display: none;
}

#main.enlarged #sidebar-menu > ul > li:hover > a.active :after {
    display: none;
}

#main.enlarged .user-detail {
    bottom: 0;
    padding: 15px 0;
    width: 70px;
    text-align: center;
}

    #main.enlarged .user-detail .dropup {
        margin: 0 auto;
        margin-left: 17px;
    }

    #main.enlarged .user-detail h5 {
        display: none;
    }

    #main.enlarged .user-detail p {
        position: absolute;
        right: 15px;
        top: 32px;
    }

        #main.enlarged .user-detail p span {
            display: none;
        }

#main.enlarged #sidebar-menu ul ul li.active a {
    color: #0f9df7;
}



/*RADIO BUTTON*/
input[type=checkbox], input[type=radio] {
    margin-right: 4px;
}

.checkbox label, .radio label {
    font-weight: normal !important;
    padding-right: 8px;
}

/*SUBIR ARCHIVOS*/
.jFiler-theme-default .jFiler-input {
    position: relative;
    display: block;
    width: auto !important;
    height: 35px;
    margin: 0 0 15px 0;
    background: #fefefe;
    border: 1px solid #cecece;
    font-size: 12px;
    font-family: sans-serif;
    color: #888;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    -webkit-box-shadow: rgba(0,0,0,.25) 0 4px 5px -5px inset;
    -moz-box-shadow: rgba(0,0,0,.25) 0 4px 5px -5px inset;
    box-shadow: rgba(0,0,0,.25) 0 4px 5px -5px inset;
}

.jFiler-theme-default .jFiler-input-button {
    display: block;
    float: right;
    height: 100%;
    padding-top: 8px;
    padding-left: 3px !important;
    padding-right: 2px !important;
    border-left: 1px solid #ccc;
    color: #666666;
    text-align: center;
    background-color: #fefefe;
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#fefefe),to(#f1f1f1));
    background-image: -webkit-linear-gradient(top,#fefefe,#f1f1f1);
    background-image: -o-linear-gradient(top,#fefefe,#f1f1f1);
    background-image: linear-gradient(to bottom,#fefefe,#f1f1f1);
    background-image: -moz-linear-gradient(top,#fefefe,#f1f1f1);
    -webkit-transition: all .1s ease-out;
    -moz-transition: all .1s ease-out;
    -o-transition: all .1s ease-out;
    transition: all .1s ease-out;
}
