/* Personalizacion de estilos del diseño principal*/


/* Color de fondo */

body {
    background-color: #fff;
}

.panel-body+.panel-body,
.panel-body+.table,
.panel-body+.table-responsive,
.panel-body.has-top-border {
    border-top: 0;
    ;
}

.panel-body+.dataTables_wrapper {
    border-top: 0;
}

.panel-body+*>.dataTables_wrapper {
    border-top: 0;
}

.panel {
    border: 0;
    border-radius: 3px;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.panel-ltop {
    padding: 10px 20px;
    border-top: 2px solid rgb(51, 184, 170);
}

.panel-ldown {
    padding: 10px 20px;
    border-bottom: 2px solid rgb(51, 184, 170);
}

.position-der {
    margin-right: -17px;
    text-align: right;
}

.grafica-hide {
    display: none;
}

.bread {
    float: none !important;
}

.text-icono {
    color: #ffffff !important;
    background-color: #F4511E !important;
    border-color: #F4511E !important;
}

.text-icono:hover {
    color: #ffffff !important;
    background-color: rgb(245, 117, 78) !important;
    border-color: rgb(245, 117, 78) !important;
}

.text-icono-inv {
    color: #F4511E;
    background-color: #fff;
    border-color: #F4511E !important;
}

.text-icono-inv:hover {
    color: #fff;
    background-color: #F4511E;
    border-color: #F4511E !important;
}

.btn-pk {
    padding: 6px 11px !important;
    font-size: 12px;
    border-radius: 2px;
}

.breadcrumb-elements {
    float: right;
    text-align: inherit;
    border-top: 0;
}


/*Tamaño de iconos*/

.gi-1x {
    font-size: 1.5em;
}

.gi-2x {
    font-size: 2em;
}

.gi-3x {
    font-size: 3em;
}

.gi-4x {
    font-size: 4em;
}

.gi-5x {
    font-size: 5em;
}


/* Widgets*/

.grid-container {
    display: grid;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    grid-gap: 10px;
}

.grid-container.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-container.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-container.grid-5 {
    grid-template-columns: repeat(5, 1fr);
}


/* items */

.grid-container div {
    font-size: 16px;
}

.medio:first-child {
    margin-top: 0;
    display: table;
}


/* colores para fondo de widgets */

.item-1 {
    background: #b03532;
}

.item-2 {
    background: #33a8a5;
}

.item-3 {
    background: #30997a;
}

.item-4 {
    background: #6a478f;
}

a {
    color: #263238;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #141a1d;
    text-decoration: none;
}

legend {
    margin-bottom: 20px;
    padding-bottom: 5px;
    color: #333333;
    border-bottom: 1px solid #263238;
    font-size: large;
}

.card {
    padding: 20px;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.16);
}

.select2-container {
    text-align: left;
    font-weight: 700;
}


/* Modificion al page header*/

.page-header {
    margin-top: 0;
    padding: 0;
    border-bottom-width: 0;
}

.pedido-item {
    z-index: 1055;
}

input,
input::-webkit-input-placeholder {
    font-size: 12px;
    line-height: 1.2;
}

@media (min-width: 769px) {
    .page-header .heading-elements.collapse {
        display: block;
        visibility: visible;
    }
    .page-header {
        margin-top: 46px;
        padding: 0;
        border-bottom-width: 0;
    }
    .icons-list>li {
        position: absolute !important;
    }
    .logo-home-m {
        width: 430px;
        height: 210px;
    }
}


/* Formato de botones en modales*/

.footerbar {
    left: 0px;
    right: 0px;
    z-index: 98;
    position: relative;
    height: 58px;
    background-color: #f1f5f8;
    opacity: .95;
    width: 100%;
    margin-bottom: 0px;
}

.botones {
    position: absolute;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 20px;
    padding-left: 20px;
    text-align: right;
    width: 100%;
}

.btn-simple-inv {
    background: #fff;
    color: rgb(31, 42, 73);
}

.btn-simple {
    background: #455A64;
    color: #fff;
}

.btn-simple:hover {
    background: rgb(62, 81, 90);
    color: #fff;
}


/* Panel sin bordes */

.panel-sinbordes {
    padding: 20px;
}


/* Estilos para tabs*/

*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main {
    font: 12px/1 'Poppins', sans-serif;
    min-width: 320px;
    max-width: 100%;
    padding: 20px;
    margin: 0 auto;
    background: #fff;
}

.borde {
    font: 12px/1 'Poppins', sans-serif;
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
}

.espacio {
    padding: 20px;
}

.espacio-ab {
    padding-bottom: 20px;
}

.espacio-ar {
    padding-top: 20px;
}

.text-cabecera {
    font: 13px/1 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 18px !important;
}

.text-iconos {
    font: inherit;
    font-size: 11px;
    font-weight: normal;
}

.tab-contenedor {
    display: none;
    /*padding: 20px 0 0;
    border-top: 1px solid #ddd;*/
}

.tab-class {
    display: none;
}

.etiqueta {
    display: inline-block;
    margin: 0 0 0;
    padding: 15px 25px;
    font-weight: 500;
    font-size: small;
    text-align: center;
    color: #bbb;
    border: 1px solid transparent;
    background-color: rgb(236, 238, 239);
}

.etiqueta:before {
    font-family: fontawesome;
    font-weight: normal;
    margin-right: 10px;
}

.etiqueta:hover {
    color: #888;
    cursor: pointer;
}

.tab-class:checked+.etiqueta {
    color: #fff;
    background-color: rgb(38, 166, 154);
}

.btn-pder {
    margin-right: -20px;
}

.btn-pizq {
    margin-right: -20px;
}

#tab1:checked~#content1,
#tab2:checked~#content2,
#tab3:checked~#content3,
#tab4:checked~#content4 {
    display: block;
    border-top: 2px solid #26a69a;
}

@media screen and (max-width: 769px) {
    .etiqueta {
        font-size: 0;
    }
    .etiqueta:before {
        margin: 0;
        font-size: 18px;
    }
    .logo-home-m {
        width: 375px;
        height: 172px;
    }
}

@media screen and (max-width: 400px) {
    .logo-home-m {
        width: 312px;
        height: 144px;
    }
    .etiqueta {
        padding: 15px;
    }
    .btn-group {
        margin-bottom: 1px;
    }
    .btn {
        margin-bottom: 2px;
        margin-top: 2px;
    }
    .content {
        padding: 10px 10px 10px 8px !important;
    }
    /*.btn-group,
    .btn-group-vertical {
        position: relative;
        vertical-align: middle;
        justify-items: center;
        align-items: center;
        display: grid;
    }*/
    .icons-list>li {
        position: relative;
    }
    .grid-container {
        display: inline-block !important;
    }
    .col-xl-3 {
        padding-top: 5px !important;
    }
    .col-xl-4 {
        padding-top: 5px !important;
    }
}

.m-portlet.m-portlet--tabs .m-portlet__head {
    padding: 0 2.2rem;
}

.m-portlet .m-portlet__head {
    border-bottom: 1px solid #ebedf2;
}

.m-portlet .m-portlet__head {
    display: table;
    padding: 0;
    width: 100%;
    padding: 0 2.2rem;
    height: 5.1rem;
}

.sinborde {
    border-top: none !important;
}

.conborde {
    border-top: 1px solid #ebedf2;
}


/* Modificar color de estado deshabilitado en el boostrap*/

.panel-white>.panel-heading {
    border-bottom: 1px solid #ddd;
}

.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
    cursor: not-allowed;
    opacity: 0.65;
    background-color: #e5e5e5;
    border-color: #eee;
    box-shadow: none;
}

.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus {
    background-color: #e5e5e5;
    border-color: #eee;
}

.page-header-content+.breadcrumb-line {
    border-bottom: 1px solid #bbc9c78f;
}

.page-header-default .page-header-content+.breadcrumb-line {
    border-bottom-width: 1;
}

.page-header-default .breadcrumb-line:not([class*=bg-]) {
    /* background-color: #fcfcfc; */
    box-shadow: 0px 0px 10px 0px #cfeeeb7d;
}

.sombra-card:hover {
    box-shadow: 3px 4px 20px 2px #23c7b7a3;
}

.panel-trans {
    background-color: #3f51b599;
    border: 1px solid #142b93e3;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.82);
}

.logo-login {
    width: 200px;
    height: 110px;
}

.table>tfoot>tr>th {
    border-top: 2px solid #0da697;
}

.text-foot {
    font-size: 16px;
    font-weight: 600;
}

.boton-icono {
    margin-top: 17px;
    margin-left: -15px;
}

.posicion-der {
    float: right;
}

.dataTable thead .sorting::before {
    color: #ffffff;
}

.dataTable thead .sorting::after {
    color: #ffffff;
}

.breadcrumb {
    font-size: 15px;
    font-weight: 600;
}

.form-control:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: rgb(51, 184, 170);
    border-width: 2px;
}

.form-control {
    font-weight: 600;
}


/**Estilo diseño responsivo**/

.icon-menu-open:before {
    content: "\ec58";
}

@media screen and (max-width: 480px) {
    table.dataTable > tbody > tr:last-child > td:last-child > ul {
        position: relative;
    }

    table.dataTable > tbody > tr:last-child  > td:last-child  > ul > li > span > ul > li > ul {
        width: 370px;
        margin-left: -183px;
        position: relative;
    }
}
