/* FIX THEME */
.select2-search-choice-close {
    background-image: url('../js/select2/select2.png') !important;
}

ul.list-unstyled {
    margin-bottom: 0;
}

table.datatable tbody tr form {
    display: inline
}

table.datatable tbody tr .form-group {
    margin: -18px auto 0;
}

table.datatable tbody tr .modal-body .form-group {
    margin: 0px 15px 15px;
}

table.datatable tbody tr .select2-container .select2-choice {
    height: 27px;
    line-height: 26px;
    padding-left: 10px;
}

table.datatable tbody tr .select2-container .select2-choice .select2-arrow {
    width: 30px;
}

.table > thead > tr > th {
    color: #000;
}

.panel-options {
    font-size: 14px;
}

.panel-options .select2-chosen {
    font-size: 12px;
}

.panel-options i {
    font-size: 15px;
    color: #006 !important;
}

.panel-heading > .panel-title {
    font-weight: bold;
    padding: 11px 15px;
    line-height: 25px;
}

.panel-title h4 {
    font-size: 13px;
    line-height: 17px;
}

h2 {
    border-bottom: 2px solid #ebebeb;
    margin-bottom: 15px;
    padding-bottom: 10px;
    font-size: 20px;
}

.panel-with-form-small .form-group {
    margin: 4px 0 0;
    display: inline-block;
    vertical-align: middle;
}

.panel-with-form .form-group {
    min-width: 200px;
    display: inline-block;
    margin: -7px 0 0;
    vertical-align: middle;
}

.panel-with-form .form-group {
    width: 210px;
}

.panel-with-form .select2-container {
    width: 100%;
}

.panel-with-form .select2-container .select2-choice {
    height: 27px;
    line-height: 26px;
    padding-left: 10px;
}

.panel-with-form .select2-container .select2-choice .select2-arrow {
    width: 30px;
}

.page-body .select2-container .select2-choice {
    height: 31px;
    line-height: 31px;
}

.form-horizontal .control-label {
    line-height: 31px;
    padding-top: 0;
}

select.select2 {
    z-index: -1;
    opacity: 0;
    padding: 0;
    margin: 0;
    margin-left: -6%;
    margin-top: -1px;
    width: 1px;
    height: 1px;
    display: block !important;
}

.select2.form-control {
    line-height: 1 !important;
    /*min-width: 230px;*/
}

.label-unidad {
    line-height: 31px;
}

.progress-loading {
    text-align: center;
}

.progress-loading h4 {
    font-weight: bold;
    font-size: 12px;
    margin-bottom: -15px;
    color: white;
}

.progress {
    margin-bottom: 6px;
}

.page-body .select2.visible {
    /*display: block !important;
    min-width: 230px;*/
}

.badge {
    float: right;
}

table.datatable tbody tr form.form-spacing {
    margin: 10px 0;
    display: inline-block;
}

.ticket h2 {
    font-size: 18px;
}

.ticket p {
    margin-bottom: 5px;
}

.btn-group form {
    display: inline-block;
}

.btn-group form button {
    padding: 5px 8px;
    font-size: 10px;
    font-weight: bold;
}

.min-70 {
    min-width: 70px;
}

.min-100 {
    min-width: 100px !important;
}

.min-150 {
    min-width: 150px !important;
}

.min-200 {
    min-width: 200px !important;
}

.min-250 {
    min-width: 250px !important;
}

.min-300 {
    min-width: 300px !important;
}

#s2id_autogen1 {
    min-width: 1px !important;
}

.table-responsive {
    overflow-x: scroll !important;
}

td a {
    margin-top: 4px;
    margin-bottom: 4px;
}

td button {
    margin-top: 4px;
    margin-bottom: 4px;
}

@media (max-width: 767px) {
    .btn-change-mesero .btn {
        margin-bottom: 8px;
        width: 100%;
    }

    .btn-change-mesero {
        width: 100%;
    }

    .btn-change-status .btn {
        margin-bottom: 8px;
        width: 100%;
    }

    .btn-change-status {
        width: 100%;
    }

    #tabla-pedidos a {
        margin-bottom: 8px;
        width: 100%;
    }
    #tabla-deliverys{
        margin-bottom: 250px !important;
    }

}

.fileinput-exists .alert-foto {
    display: none;
}

.panel-gradient > .panel-heading > .panel-options {
    padding-top: 15px;
    padding-bottom: 5px;
}

.panel-gradient > .panel-heading > .panel-options .btn {
    margin-left: 10px;
    margin-top: -10px;
    color: white;
    padding: 6px;
}

.panel-gradient > .panel-heading > .panel-options a.btn i {
    color: white !important;
}

.panel-gray hr {
    border-top-color: #ccc;
}

.panel-gray hr:before {
    margin: 0 auto;
    display: table;
    content: 'O bien';
    margin-top: -10px;
    background: #eeeeee;
    padding: 0 5px;
    font-weight: bold;
}

.dropdown-menu a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.select2-min-width {
    min-width: 300px;
}

#panel-sectores .panel-body .ui-sortable-helper {
    background: #f9f9f9;
    border: 1px solid #eee;
    display: table;
    padding-top: 20px;
    padding-bottom: 20px;
}

.dropzone {
    width: 600px;
    margin-bottom: 10px;
}
#listDistribuciones label img{
    height: 65px;
}
.tab-content {
    display: table;
    width: 100%;
}

.login-page .login-header {
    background: #ffffff !important;
}
.spinner {
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-left-color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}