/* home */
.content-wrapper.wrapper-home {
    background: #014a97;
    background-size: cover;
}
.wrapper {
    overflow-y: auto !important;
}
.wrapper-home {
    min-height: 600px;
}
.wrapper-home h4 {
    color: #fff;
    font-weight: bold;
}
.wrapper-home .table-vista thead tr th {
    background-color: #014a97;
    color: #fff;
    border: 0;
    border-bottom: 1px solid #fff !important;
}
.wrapper-home .table-vista {
    background-color: rgba(255, 255, 255, .8);
}
.wrapper-home .table-vista tbody tr.bold td {
    font-weight: bold;
}
.wrapper-home .table-vista thead tr th.w30 {
    width: 30px;
}
.wrapper-home .table-vista thead tr th.w100 {
    width: 100px;
}
.wrapper-home .table-vista thead tr th.acciones {
    width: 30px;
}

.wrapper-home .table.table-vista>tbody>tr.danger>td {
    background-color: #e78a80;
}
.wrapper-home .table.table-vista>tbody>tr.warning>td {
    background-color: #ebca78;
}
.wrapper-home .table.table-vista>tbody>tr.success>td {
    background-color: #afd2ab;
}

.table-home.table-vista tbody tr.bold td {
    font-weight: bold;
}
.table-home.table-vista thead tr th.w30 {
    width: 30px;
}
.table-home.table-vista thead tr th.w100 {
    width: 100px;
}

.table-home.table.table-vista>tbody>tr.danger>td {
    background-color: #e78a80;
}
.table-home.table.table-vista>tbody>tr.warning>td {
    background-color: #ebca78;
}
.table-home.table.table-vista>tbody>tr.success>td {
    background-color: #afd2ab;
}

.table-home.table.table-vista td.firmada1 .text-warning {
    opacity: .7;
}

/* login */
.login-page {
    background-color: #a2aad5;
}
.login-box-body {
    background: rgba(255, 255, 255, .9);
}
#login-alert {
    margin-top: 10px;
    margin-bottom: 0;
}
.login-logo h4 {
    text-transform: uppercase;
    color: #014a97;
    font-weight: bold;
    margin-top: 20px;
}

/* nav */
.skin-blue .main-header .navbar,
.skin-blue .main-header .logo,
.btn-primary,
.filtros,
.bg-purple {
    background-color: #014a97 !important;
}
.skin-blue .sidebar-menu > li > a.sidebar-logo,
.skin-blue .sidebar-menu > li:hover > a.sidebar-logo {
    padding: 20px 0;
    border: 0;
}
.sidebar-mini.sidebar-collapse .sidebar-menu > li > a.sidebar-logo,
.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a.sidebar-logo {
    padding: 0;
}
.main-header .sidebar-toggle {
    font-family: 'Font Awesome 5 Free';
}
.skin-blue .sidebar-menu>li:hover>a,
.skin-blue .sidebar-menu>li.active>a {
    border-left-color: #a2aad5;
}

.sidebar .comercial {
    color: #fff;
    margin: 20px 20px 0;
    white-space: normal;
}
.sidebar .comercial h4 {
    margin-bottom: 0;
}
.sidebar .comercial p {
    margin-bottom: 5px;
    font-weight: bold;
}
.sidebar .comercial small {
    color: #b8c7ce;
    word-break: break-all;
}
.sidebar .comercial hr {
    margin: 8px 0;
    border-color: #b8c7ce;
}

/* filtros */
.filtros input,
.filtros select {
    font-size: .8em;
}
.filtros .form-control {
    height: auto;
    padding: 3px 6px;
    border: 0;
}
.filtros select.form-control {
    padding: 3px;
}
.filtros .form-control.disabled {
    border: 0;
    background-color: #ddd;
}
.filtros .filtro-eliminar {
    padding: 2px 2px 3px;
    margin-top: -40px;
    border-radius: 40%;
    line-height: .8;
}
.filtros .filtro-eliminar:hover {
    background-color: #EFA740;
}
.form-inline .filtros-right .form-control {
    float: right;
    font-size: .9em;
    margin-left: 10px;
}
.filtros .filtro-activo {
    background: #00c0ef;
    color: #fff;
    font-weight: bold;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    color: #333;
}
.select2-container {
    width: 100% !important;
}

.filtros .select2 {
    height: 20px;
}
.filtros .select2 .select2-selection--single {
    height: 20px;
    border-radius: 0;
    border: 0;
}
.filtros .select2 .select2-selection--single.filtro-activo .select2-selection__rendered {
    color: #fff;
}
.filtros .select2 .select2-selection--single .select2-selection__rendered {
    height: 20px;
    line-height: 16px;
    font-size: .8em;
}
.filtros .select2 .select2-selection--single .select2-selection__arrow {
    height: 16px;
}
/* paginacion */
.pagination {
    margin: 3px 0 0;
}
.pagination > li > a {
    margin-bottom: 3px;
}
.pag {
    text-align: center;
    padding-top: 3px;
    overflow: hidden;
    background-color: #D2D6DE;
    min-height: 44px;
}
.pag-total {
    text-align: left;
}
.pag-total p {
    margin: 4px 0 0;
}
.pag-pags {
    text-align: right;
}

/* tabla vista */
.table.table-vista > thead > tr > th {
    border-bottom: 2px solid #ddd;
}
.table.table-vista > tbody > tr > td {
    border-top: 1px solid #ddd;
}
.table.table-vista > tbody > tr:hover {
    background-color: #E2E4EA;
}
.table.table-vista {
    margin-bottom: 0;
    margin-top: 10px;
    border-bottom: 2px solid #ccc;
}
.table.table-vista th.acciones {
    width: 60px;
}
.table.table-vista th.acciones-md {
    width: 90px;
}
.table.table-vista th.acciones-4 {
    width: 120px;
}
.table.table-vista th.acciones-5 {
    width: 150px;
}
.table.table-vista .acciones {
    text-align: center;
}
.table.table-vista .acciones a.disabled {
    color: #ccc;
}
.table.table-vista .acciones a {
    color: #014a97;
    margin-right: 5px;
}
.table.table-vista tbody td input {
    padding: 0;
    vertical-align: sub;
}
.table.table-vista .acciones .popover a {
    color: #fff;
}
.table.table-vista tbody td {
    cursor: pointer;
}
.table.table-vista.no-link tbody td {
    cursor: default;
}
.table.table-vista > tbody > tr > td.hover,
.table.table-vista > thead > tr > th.hover {
    background-color: #E2E4EA;
}
.table.table-vista > tbody > tr > td.hover:hover {
    background-color: #fff;
}

/* formularios */
.edit-form .div-upload .upload-info {
    font-size: 85%;
    margin: 5px 0 0;
    line-height: 18px;
}
.edit-form .div-upload .cargando {
    margin-left: 10px;
}
.edit-form .div-upload .img-responsive {
   margin-bottom: 5px;
}
.edit-form .div-upload a img,
.div-fotos-cargadas a img {
    cursor: zoom-in;
}
.edit-form .has-error .note-editor {
    border-color: #dd4b39;
}
.edit-form .panel.note-editor {
    margin-bottom: 5px;
}
.select2-container--default .select2-selection--single {
    border-color: #ccc;
    height: 34px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 31px;
}
.select2-results__option {
    padding: 1px 6px;
}
.select2-container--default .select2-selection--single,
.select2-selection .select2-selection--single {
    padding: 6px;
}
.edit-form .has-error .select2-container--default .select2-selection--single {
    border-color: #dd4b39;
}
.edit-form .has-error .select2-container--default .select2-selection--multiple {
    border-color: #dd4b39;
}
.edit-form .input-group-addon {
    font-size: 13px;
}
.edit-form .div-fotos-cargadas div {
    position: relative;
    width: 49%;
    display: inline-block;
    margin-bottom: 10px;
    /*max-height: 145px;*/
    overflow: hidden;
    vertical-align: middle;
}
.edit-form small {
    color: #999;
}
.edit-form label {
    color: #357CA5;
    display: block;
}
.edit-form .form-group .checkbox label,
.edit-form .form-group .radio label {
    color: #333;
}
.edit-form .form-group.has-error .checkbox label,
.edit-form .form-group.has-error .radio label,
.has-error .control-label {
    color: #dd4b39;
}
.edit-form .checkbox,
.edit-form .radio {
    margin-top: -5px;
}
.edit-form .nivel1 {
    margin-left: 20px;
}
.edit-form .nivel2 {
    margin-left: 40px;
}
.edit-form .nivel3 {
    margin-left: 60px;
}
.edit-form small.text-dark {
    color: #444;
}
.datepicker table tr td {
    vertical-align: middle;
}
.today.day {
    background-color: #fdb813 !important;
}
.active.day {
    background-color: #014a97 !important;
}
.disabled.day {
    background-color: #eee !important;
    color: #999 !important;
}
.precio0 input {
    border-color: #dd4b39;
}
.precio-pais {
    width: 125px;
}

/* dropzone */
.div-dropzone h5 {
    font-weight: bold;
    margin-bottom: 5px;
}
.div-dropzone h5:first-child {
    margin-top: 0;
}
.dropzone {
    background-color: #eee;
    border-width: 1px;
    border-radius: 5px;
    min-height: 100px;
}
.dropzone .dz-preview {
    display: none;
}
.dropzone.dz-started .dz-message {
    display: block !important;
}
.dropzone.dz-started .dz-message span {
    color: #555;
}
.dropzone-files-nuevos div {
    padding: 5px 0 0;
}
.dropzone-files-cargados div {
    padding: 5px 0 0;
}
/* varios */
.mt0 {
    margin-top: 0 !important;
}
.mt5 {
    margin-top: 5px !important;
}
.mt10 {
    margin-top: 10px !important;
}
.mb0 {
    margin-bottom: 0 !important;
}
.pr20 {
    padding-right: 20px !important;
}
.pb0 {
    padding-bottom: 0 !important;
}

.table>tbody.div-pedido>tr>td,
.table>tfoot>tr>td {
    vertical-align: middle;
}
.producto-total {
    font-weight: bold;
}
.table.table-pedidos>tbody>tr>td {
    font-size: 11px;
    padding: 2px;
}
.table-pedidos select.form-control {
    font-size: 11px;
    height: auto;
    padding: 4px;
}
.table-pedidos .total {
    font-weight: bold;
}
.pedido-buscar-reset {
    margin-left: 10px;
    display: inline-block;
}
.btn-reset {
    display: block;
    margin-top: 5px;
}
div.dataTables_wrapper div.dataTables_info {
    display: none;
}
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc_disabled:before {
    left: 0;
}
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:after {
    left: 8px;
}
.table>thead:first-child>tr:first-child>th {
    padding-left: 20px;
}
.table>thead:first-child>tr:first-child>th.sorting_disabled {
    padding-left: 0;
}
.edit-form .dataTables_filter label {
    font-weight: bold !important;
    color: #333;
}
.edit-form .dataTables_filter label input {
    font-weight: normal;
}
.form-pedidos .lead {
    margin-top: 10px;
    font-size: 18px;
}
.form-pedidos .alert span.lead {
    position: relative;
    top: -3px;
    margin-left: 10px;
}
.img-catalogo {
    width: 135px;
}
.pl-8 {
    padding-left: 8px;
}
.btn-canjear {
    color: #fff !important;
}
.widget-user {
    padding: 20px 20px 15px;
    border-radius: 10px;
}
.widget-user .widget-user-header {
    height: 240px;
}
.widget-user .box-footer {
    padding: 0;
    border: 0;
}
.widget-user .box-footer .btn {
    margin-top: 15px;
}
.widget-user .widget-user-username {
    margin-top: 15px;
    margin-bottom: 0;
    font-weight: bold;
    font-size: 30px;
    display: inline-block;
    height: 34px;
    overflow: hidden;
}
.widget-user .widget-user-username + span {
    margin-left: 20px;
}
.widget-user .widget-user-username + span.home-coins {
    background-color: rgba(255, 255, 255, .5);
    padding: 5px 8px;
    color: #333;
    font-size: 20px;
    position: relative;
    top: -4px;
}

/* catalogo */
.filtros-catalogo .box-body .form-group {
    position: relative;
}
.filtros-catalogo .form-control {
    border-radius: 5px;
}
.filtros-catalogo input {
    padding-right: 40px;
}
.filtros-catalogo .btn-catalogo-filtro-buscar {
    position: absolute;
    right: 0;
    top: 25px;
}
.filtros-catalogo .btn-catalogo-filtro-limpiar {
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: right;
}
.filtros-catalogo .panel-body {
    padding: 0 10px;
}
.info-box-coins {
    margin-bottom: 0;
}
.info-box-coins .info-box-content {
    padding: 35px 10px;
    text-align: center;
}
.info-box-coins .info-box-content h3 {
    font-weight: bold;
    font-size: 35px;
    line-height: 40px;
    margin: 0;
    padding: 0;
}
.info-box-coins .info-box-icon {
    height: 110px;
    padding: 15px 0;
}

.info-box-coins-catalogo .info-box-content h3 {
    line-height: 30px;
    margin: 25px 0;
    font-weight: bold;
}
.info-box-cart h3 {
    line-height: 30px;
    margin: 10px 0;
}

.catalogo .vista .widget-user .widget-user-header {
    height: auto;
    padding: 2px 20px 9px;
}
.catalogo .vista .widget-user .description-text {
    text-transform: none;
}
.catalogo .vista .widget-user h3.description-header {
    font-size: 25px;
}
.catalogo .vista .widget-user h5.description-header {
    font-weight: normal;
}
.catalogo .vista .widget-user .box-footer .description-block.description-block-img {
    margin-top: 0;
    margin-bottom: 15px;
}
.catalogo .vista .widget-user .box-footer .btn {
    margin: 0 0 5px;
}
.sidebar-collapse .sidebar-logo,
.sidebar-collapse .comercial {
    display: none;
}
.content-wrapper.content-wrapper-catalogo {
    margin-left: 0;
}
#modal-mas-info .modal-header button {
    color: #fff !important;
    opacity: .7;
    font-size: 30px;
}
.cart-dropdown {
    color: #333;
    left: 15px;
    width: 95%;
    margin-top: -15px;
    padding: 5px 10px;
}
.cart-dropdown-content p {
    margin-bottom: 0;
}
.btn-carrito-ver {
    color: #fff;
}
.btn-carrito-vaciar {
    text-align: right;
}
.btn-carrito-vaciar:hover {
    color: #333;
}
.sticky th {
    position: sticky;
    top: 0;
    background-color: #eee;
}
.nav-prebadge {
    z-index: 999;
    width: auto !important;
    padding-top: 10px;
    padding-bottom: 10px;
    height: 0;
}


.open-button{
    color:#FFF;
    background:#0066CC;
    padding:10px;
    text-decoration:none;
    border:1px solid #0157ad;
    border-radius:3px;
}

.open-button:hover{
    background:#01478e;
}

.popup {
    position:fixed;
    top:0px;
    left:0px;
    background:rgba(0,0,0,0.75);
    width:100%;
    height:100%;
    display:none;
}

/* Popup inner div */
.popup-content {
    width: 700px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 40px;
    margin-top: 100px;
    box-shadow: 0px 2px 6px rgba(0,0,0,1);
    border-radius: 3px;
    background: #fff;
    position: relative;
}

/* Popup close button */
.close-button {
    width: 25px;
    height: 25px;
    position: absolute;
    top: -10px;
    right: -10px;
    border-radius: 20px;
    background: rgba(0,0,0,0.8);
    font-size: 20px;
    text-align: center;
    color: #fff;
    text-decoration:none;
}

.close-button:hover {
    background: rgba(0,0,0,1);
}

@media screen and (max-width: 720px) {
.popup-content {
    width:90%;
    }   
}