body{
    font-size: 13px;
    font-family: 'Roboto', sans-serif;
    background: #eceff1;
    min-width: 0;
    color: #444;
}


a {
    text-decoration: none !important;
    cursor: pointer;
}

ul{
    list-style: none;
    padding: 0;
}

a:hover{
    text-decoration: none;
}

input.form-control,textarea{
    font-size: 14px !important;
    font-family: 'Open Sans', sans-serif;
    border-radius: 10px;
}

table .form-control, .tabla-facturar{
    font-size: 12px !important;
}

.isDemo {
    padding: 0 20px;
    margin: 0;
}

.btn{
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    border-radius: 10px;
}

.side-nav {
    position: fixed;
    top: 38px;
    width: 170px;
    border: none;
    border-radius: 0;
    overflow-y: auto;
    background-color: #23282d;
    bottom: -200px;
    overflow-x: hidden;
    padding-bottom: 40px;
    padding-left: 0;
}

.side-nav li ul{
    list-style: none;
    background: #32373c;
    padding: 0;
}

.side-nav li ul li a{
    padding-left: 50px;
}

.side-nav li a:hover,
.side-nav li a:focus, .side-nav .nav-link:hover, .side-nav .active a {
    outline: none;
    background-color: #191e23;
    color: #00b9eb;
}
.side-nav li ul li a:hover {
    background-color: #373a3e !important;
}
.side-nav i{
    width: 25px;
}

.wrapper{
    padding: 140px 0 0 0px;
}

.wrapper-header{
    background: white;
    margin-top: -30px;
    height: 68px;
    padding: 15px;
    border-bottom: 1px solid #e2e4e7;
}

.list-group-item{
    background-color: transparent;
}

.wrapper-header .btn-success{
    color: white !important;
}
.wrapper-header .btn{
    margin-left: 20px;
}

.note-editor.note-frame {
    border: 1px solid #e2e4e7 !important;
}

.padding-0{
    padding: 0;
}

header.desktop .dropdown-menu {
    float: left;
    position: absolute;
    margin-top: 0;
    border: 1px solid rgba(0, 0, 0, .15);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background-color: #fff;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

header.mobile {
    display: none;
}

.mobile .navbar{
    background-color: #23282d !important;
}

.mobile .dropdown-menu{
    background: none;
    border: none;
}

.btn-admin button{
    color: #bec7d0 !important;
}

.dropdown-menu .dropdown-item{
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    padding: 8px 60px 8px 30px;
}

.dropdown-menu .dropdown-item:hover{
    color:#0BB783 !important;
    background-color: #F3F6F9;
}

.dropdown-menu .dropdown-item .fas{
    width: 2em;
}

.mobile .dropdown-menu .dropdown-item{
    color: rgba(255,255,255,.5);
    padding: 15px 30px;
}

.mobile .dropdown-menu .dropdown-item:hover{
    background-color: #191e23;
    color: #00b9eb;
}

.mobile .nav-link {
    padding: 16px;
    border-top: 1px solid #57595a;
}

.mobile .nav-link:first-child {
    border-bottom: none;
}

.mobile .dropdown-divider{
    border-top: 1px solid #57595a;
    margin: 0;
}

.blog-table{
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    background: white;
}

.titulo-admin-1{
    float: left;
    margin-right: 20px;
    font-weight: 700;
    font-size: 2em;
}

.titulo-admin-2{
    float: left;
    font-weight: bold;
    color: #e4e4e4;
    margin-top: 5px;
}

.popup-style{
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    padding-bottom: 40px;
    border-radius: 3px;
}

.td-option{
    padding: 0.75rem 0px !important;
    width: 30px;
}

.td-option .fas{
    color: #3d96b4;
}

.td-option .fa-trash-alt,.td-option .fa-times{
    color: #ea4f4f;
}

.note-popover.popover {
    display: none;
}

#respuesta{
    padding: 20px;
}
#respuesta p{
    margin: 0;
}

.option-header{
    padding: 10px;
    font-weight: bold;
}

.option-body{
    padding: 10px;
    height: auto;
    background: white;
}

.blog-table td:first-child{
    display: none;
}

.blog-table td p{
    margin-bottom: 0;
}

.blog-table tr td:nth-child(2){
    width: 40%;
}

.blog-table tr:nth-of-type(2n+1){
    background-color: rgba(98, 98, 98, 0.05) !important;
}

.blog-table tr:hover{
    background-color: rgba(228, 228, 228, 0.67) !important;
}

#post_form .form-control{
    font-size: 2.44em !important;
    padding: 1.8rem;
    font-weight: bold;
    border-radius: 0;
    border: 1px solid #e2e4e7;
}

.note-editor.note-frame .note-placeholder,.note-editor.note-frame .note-editing-area .note-editable {
    padding: 1.8rem;
}

.option{
    padding: 15px 20px;
    border-bottom: 1px solid #e2e4e7;
}

.option.image-selected{
    height: 200px;
}

.image-description{
    height:180px !important;
}

#post_image_form .form-control{
    border-radius: 0;
}

.option .form-check{
    padding: 0.3rem 1.25rem;
}

a.simple-link{
    margin-top: 10px;
    color: #0073aa !important;
}
a.simple-link:hover{
    color: #00a0d2 !important;
}

#cat-pane{
    display: none;
}

.-categoria .form-control{
    font-weight: 400;
    font-size: 14px;
    margin: 20px 0;
}

.check-wrapper{
    max-height:120px;
    overflow: auto;
    margin-bottom: 10px;
}

.images-wrapper figure{
    width: 100%;
    height: 140px;
    text-align: center;
}

.images-wrapper{
    overflow: auto;
    padding: 20px 25px 0 0;
    height: 340px;
}

.preview{
    background: #f1f1f1;
    width: 100%;
    height: 400px;
    float: left;
    padding: 20px;
}

.preview figure{
    height: 300px;
    overflow: hidden;
    text-align: center;
}

.preview figure img{
    width: 100%;
}

.preview p{
    line-height: 16px;
    padding-left: 20px;
    word-wrap: break-word;
}

#btn-upload{
    padding: 15px 50px;
}

.wrapper-btn-upload {
    margin-top: 150px;
}

#loading{
    margin-top: 20px;
    display: none;
}

.selected-image{
    box-shadow: inset 0 0 0 1px #fff,inset 0 0 0 5px #4a7eb9;
}

.img-thumbnail{
    height: 100%;
}

#ajax-mensaje{
    margin-top: 20px;
}

#ajax-mensaje p{
    margin: 0;
}

.option figure img{
    display: block;
}

.trash{
    float: left;
}

h3 .simple-link{
    margin-left: 20px;
    font-size: 16px;
    text-decoration: underline;
}

#upload_dialog .wrapper-btn-upload{
    margin-top: 0;
}

.cke_dialog_tabs [title~="Cargar"] {
    display: none !important;
}

/*BIBLIOTECA DE IMAGENES*/

#biblioteca #search_media{
    margin: 10px 0 0 0 !important;
    padding-bottom: 10px;
}

/*SECCION USUARIOS*/

#post_form_user{
    padding: 20px;
}

#post_form_user fieldset{
    margin: 20px 0;
}

#post_form_user label{
    margin: 8px 10px 0 0;
    float: left;
    width: 60px;
}

#rolSelect{
    width: 200px;
}

/*SECCION PAGES*/

#buildSelect{
    width: 200px;
    margin-left: 20px;
}

.orden{
    width: 100px;
}

.plantilla{
    margin: 30px 0;
    box-shadow: 0px 25px 45px -35px rgba(0, 0, 0, 0.8);
    padding: 0;
}

.plantilla section{
    width: 100%;
    background: #808181;
    min-height: 200px;
}

.plantilla img{
    width: 100%;
}

.plantilla section .row > div{
    height: 130px;
    border: 5px solid #CCC;
    background: #00a19a;
    padding: 0;
}

.plantilla section .row > div p{
    padding: 20px;
    font-size: 18px;
    color: white;
    width: 100%;
    height: 100%;
    margin: 0;
}

.plantilla section .row > div:hover{
    background: #52a19f;
    cursor: pointer;
}

.margin-0{
    margin: 0 !important;
}

.btn-cancelar-page{
    margin: 7px 20px;
}

.build{
    background: #1fb71f;
    color: white;
    padding: 3px 15px;
    border-radius: 2px;
    font-size: 11px;
    font-style: normal;
}

.td-build{
    margin: 0 10px;
}

/*SECCION MEDIA*/

.media{
    margin-bottom: 30px;
}

.media-wrapper{
    position: relative;
    background: white;
    width: 100%;
}

.media-wrapper figure img{
    width: 100%;
}

.btn-delete{
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 10px;
    background: #e64328;
    color: white;
    border-radius: 2px;
    transition: 0.3s all ease-in-out;
}

.btn-delete:hover{
    -webkit-transform:scale(1.2);
    transform:scale(1.2);
}

.btn-edit{
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px;
    background: #007bff;
    color: white;
    border-radius: 2px;
    transition: 0.3s all ease-in-out;
}

.btn-edit:hover{
    -webkit-transform:scale(1.2);
    transform:scale(1.2);
}

.media-image, .gallery-image{
    max-height: 150px;
    overflow: hidden;
    margin: 0;
    padding: 1px;
    cursor: pointer;
}

/*LIGHTBOX*/
#lightbox .modal-header{
    padding-bottom: 0;
}

#lightbox .modal-body{
    padding-top: 0;
}

.modal-header{
    border-bottom: 0 !important;
}

#image-preview{
    background: #f1f1f1;
    width: 100%;
    float: left;
    padding: 20px;
}

#image-preview figure{
    height: auto;
    overflow: hidden;
    text-align: center;
}

#lightbox #image-preview figure img{
    width: 100%;
}

#image-preview p{
    word-wrap: break-word;
}

/*MENUS*/

#nav-tabContent{
    padding: 30px;
    background: white;
}

.list-page-item,.list-social-item{
    padding: 3px 0;
    display: flex;
}

.list-page-item span,.list-social-item span{
    float: left;
    width: 50%;
}

.list-social-menu span{
    width: 100px;
    float: left;
}

.list-page-menu,.list-social-menu{
    padding: 5px 20px;
    background: #ddf5fc;
    margin: 2px;
    border-radius: 2px;
}

.list-page-menu .edit-name{
    font-size: 12px;
    color: #0c80c0;
    cursor: pointer;
    margin-left: 10px;
}

.list-page-menu i,.list-social-menu i{
    float: right;
    margin-top: 5px;
    cursor: pointer;
}

.add_to_menu,.add_to_menu_social{
    float: left;
    color: #0073aa;
    cursor: pointer;
}

.add_to_menu:hover,.add_to_menu_social:hover{
    text-decoration: underline;
    color: #3484aa;
}

.sub-1{
    margin-left: 30px;
}

.sub-2{
    margin-left: 80px;
}

.ui-placeholder{
    height: 35px;
    width: 100%;
    border: 1px dashed #b4b4b4;
}

input.link{
    border: 1px solid #CCC;
    margin-left: 10px;
    padding: 0 10px;
}

/*SECTION*/

.section-tools{
    margin-top: 20px;
}

.modal-header{
    padding: 1rem 1.7rem;
}

.modal-header .close{
    padding: 0 !important;
    margin: 0;
}

.modal-body{

}

.section-options{
    position: absolute;
    right: -40px;
    z-index: 999;
}

.section-options i{
    background: #ea4f4f;
    padding: 10px;
    color: white;
}

.post-data-request > div{
    margin: 30px 0;
}

#section-image-selected{
    margin-top: 20px;
}

.tabla-gestionar{
    margin-top: 20px;
}

.bg-custom-green {
    background-color: #dddddd !important;
}

.title-bar{
    background: #434544;
    padding: 10px 20px;
    margin-bottom: 20px;
    border-radius: 3px;
}

.botones-accion{
    width: 15%;
    /*text-align: right;
    padding-right: 20px !important;*/
}

.botones-accion button{
    margin: 2px;

}

.tabla-gestionar td{
    vertical-align: middle !important;
}

.panel-herramientas{
    background: #E9E9E9;
    padding: 10px 20px;
    border-radius: 3px;
    margin: 20px 0;
}

.seccion-wrapper{
    padding: 30px 0px;
}

.seccion-item{
    padding: 20px;
    background: #c6efdf;
    border: 2px dashed #51888f;
    margin: 5px 0;
}

.btn-quitar-seccion{
    margin-top: -6px;
}

.custom-select{
    font-size: 14px !important;
}

.texto-error{
    color: red;
    margin-bottom: 0;
}

.seccion-opciones{
    background: #F2F2F2;
    padding: 30px;
    border: 2px solid #E3E3E3;
    border-radius: 3px;
}

.total-venta{
    background: black;
    color: lime;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
}

.buscar_documento{
    position: absolute;
    top: 30px;
    right: 0;
}

.buscar_lote{
    position: absolute;
    top: 30px;
    left: 0;
}

.loading{
    display : block;
    position : fixed;
    z-index: 100;
    background-repeat : no-repeat;
    background-position : center;
}

.top-header{
    background-color: #f3ca00;
}

.top-header .dropdown{
    margin: 0 !important;
}

.top-header .dropdown-toggle{
    padding: 2px 10px;
    border: 0;
    color: black !important;
}

.top-header .dropdown-toggle:hover{
    background-color: #383b3e;
}

.top-header p{
    float: left;
    margin: 5px 0 3px 0;
    color: black;
}

.middle-header{
    background: black;
}

.middle-header a{
    color: white !important;
}

.middle-header .nav-item{
    transition: all 0.3s;
}

.middle-header .nav-item:hover{
    background: rgba(108,108,108,0.5);
    border-radius: 3px;
}

.middle-header .dropdown-item{
    color: #5e5e5e !important
}

.navbar{
    padding: 0;
}

.navbar-brand{
    width: 80px;
    padding: 0;
}

.navbar-brand img{
    width: 100%;
}

label{
    margin-bottom: 0;
}

.btn-primary{
    color:white !important;
}

.titulo-admin-3{
    color:#8C8C8C;
    font-size: 1.5em;
}

[v-cloak]{
    display: none;
}

.card{
    box-shadow: 0 0.46875rem 2.1875rem rgba(4,9,20,0.03), 0 0.9375rem 1.40625rem rgba(4,9,20,0.03), 0 0.25rem 0.53125rem rgba(4,9,20,0.05), 0 0.125rem 0.1875rem rgba(4,9,20,0.03)
}

.boton_adjunto{
    position: absolute;
    top: 20px;
    right: 15px;
}

.report-total{
    margin: 0;
    padding:0;
    font-size: 1.5em;
    font-weight: bold;
}

.td-anulado{
    background: #ffbfbf !important;
}

.bol-hover:hover{
    text-decoration: underline;
    color: #0070e4;
}
.copy{
    color: #828282;
}

.input-button{
    display: flex;
}

.input-button input{
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.input-button i{
    padding: 10px;
    background: #27b79c;
    color: white;
    min-width: 40px;
    text-align: center;
}

.rol-opciones{
    float: right;
    margin-top: -8px;
}

.modal-permisos .custom-checkbox{
    width: 100%;
}

.middle-header li.disabled{
    opacity:0.4;
}
.permisos-submodulo{
    margin-left: 20px;
}
.dropdown-menu .dropdown-item{
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    padding: 8px 60px 8px 30px;
}

.dropdown-menu .dropdown-item:hover{
    color:#0BB783 !important;
    background-color: #F3F6F9;
}

.dropdown-menu .dropdown-item .fas{
    width: 2em;
}
.badge{
    font-weight: normal;
}
.flecha{
    margin: 5px 15px 0 0;
    color: #666666;
}

th a .icon-hover{
    display: inline-block;
    visibility: hidden;
}
th a:hover .icon-hover{
    visibility: visible;
}

th a .icon-hover-active{
    visibility: visible;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}
.input-group-text{
    padding-top: 0;
    padding-bottom: 0;
    font-size: 14px !important;
    font-family: 'Open Sans', sans-serif;
}

hr {
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
}

.orden-produccion .card {
    box-shadow: none;
    padding: 25px 20px;
    color: white;
    display: inline-block;
    width: 100%;
    font-size: 17px;
}

.orden-produccion .activo{
    background-color: #ff8d00 !important
}

.orden-produccion .card{
    box-shadow: none;
    transition: 0.2s ease-out all;
    min-height: 170px;
}

.no-shadow{
    box-shadow: none !important;
}

.pin{
    border: 1px solid white;
    background: #efeeee;
    font-size: 25px;
    cursor: pointer;
    transition: 0.1s all;
}

.pin:hover{
    background: #e3e2e2;
}

.check-control {
    position: absolute;
    top: 5px;
    right: 5px;
}
.check-control i{
    font-size: 25px;
}

.orden-produccion .card {
    overflow: hidden;
}

.orden-activa .card-wrapper {
    width: 100%;
    position: absolute;
    animation: slide 10s infinite;
    left:0;
    top:0;
}
.card-wrapper-style{
    margin-top:30px; height: 120px
}
.orden-produccion .bg-warning{
    color:black;
}

.autocomplete-wrapper{
    position: absolute;
    z-index: 99999;
    background: white;
    width: 140%;
    box-shadow: 0 3px 13px 1px rgb(0 0 0 / 17%);
    overflow-y: auto;
    max-height: 340px;
}

@keyframes slide {
    0% {
        transform: translateY(0); /* Comienza sin ningún desplazamiento horizontal */
    }
    10% {
        transform: translateY(-60%); /* Desplaza completamente a la izquierda en la mitad de la animación */
    }
    40% {
        transform: translateY(-60%); /* Desplaza completamente a la izquierda en la mitad de la animación */
    }
    50% {
        transform: translateY(-60%); /* Desplaza completamente a la izquierda en la mitad de la animación */
    }
    60% {
        transform: translateY(0); /* Termina en la posición original */
    }
    100% {
        transform: translateY(0); /* Termina en la posición original */
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(0.8);
    }
}

@keyframes pulse2 {
    0% {
        transform: scale(0.95);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(0.95);
    }
}

.pulse {
    animation: pulse 1s infinite; /* 2s es la duración de la animación, puedes ajustarlo según tus preferencias */
}
.pulse2 {
    animation: pulse2 1s infinite; /* 2s es la duración de la animación, puedes ajustarlo según tus preferencias */
}



/*RESPONSIVE*/

@media (max-width: 992px) {
    #buscador{
        margin-top: 10px !important;
    }
    #image_dialog .modal-body{
        height: auto;
    }
    .wrapper{
        padding: 120px 0 0 0px;
    }
    .autocomplete-wrapper{
        position: absolute;
        z-index: 99999;
        background: white;
        width: 100%;
        box-shadow: 0 3px 13px 1px rgb(0 0 0 / 17%);
        overflow-y: auto;
        max-height: 340px;
    }
}

@media (max-width: 768px) {
    header.desktop {
        display: none;
    }

    header.mobile {
        display: inline;
    }

    .side-nav{
        display: none;
    }

    #media-image{
        max-height: 250px;
        overflow: hidden;
        margin: 0;
    }
    .middle-header .nav-item a {
        font-size: 18px;
        padding: 10px;
    }

}