/* login */
.login-page {
    background: url('../img/bg.jpg') top center no-repeat fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.login-box-body {
    /*background: rgba(255, 255, 255, .9);*/
    background: #fff;
}
#login-alert {
    margin-top: 10px;
    margin-bottom: 0;
}

/* nav */
.navbar-nav > .user-menu > .dropdown-menu > li.user-header {
    height: auto;
    padding: 1px;
}
.navbar-nav > .user-menu > .usuario {
    text-transform: uppercase;
    cursor: default;
}
.login-box, .register-box {
    width: 400px;
}
.login-logo {
    font-family: 'Raleway', sans-serif;
    color: #fff;
    text-transform: uppercase;
}
.login-logo b {
    color: #2dcc70;
    font-weight: bold;
}
.main-header .logo {
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    font-size: 19px;
    padding: 0;
}

/* sidebar */
.sidebar li.header {
    text-transform: uppercase;
    font-size: 16px;
}

/* dashboard */
.dashboard .info-box-text {
    font-size: 18px;
    color: #333;
}
.dashboard .info-box-number {
    font-family: 'Raleway', sans-serif;
    font-weight: normal;
    font-size: 43px;
    float: right;
    color: #999;
}
.dashboard .info-box-number small {
    font-size: 20px;
    color: #bbb;
    position: absolute;
    left: 115px;
    bottom: 23px
}

/* filtros */
.filtros {
    background-color: #2dcc70;
}
.filtros input,
.filtros select {
    font-size: .8em;
}
.filtros .form-control {
    height: auto;
    padding: 3px 6px;
    border: 0;
}
.filtros select.form-control {
    padding: 3px;
}
.filtros input.form-control.desde_hasta {
    width: 45%;
    margin-right: 5px;
    float: left;
}
.filtros .form-control.disabled {
    border: 0;
    background-color: #ddd;
}
.filtros .filtro-eliminar {
    font-size: .8em;
    padding: 0 2px 1px;
    margin: -36px 1px 0 0;
    border-radius: 8px;
    line-height: .8;
}
.filtros .filtro-eliminar.desde_hasta {
    margin: -14px 1px 0 0;
}
.filtros .filtro-eliminar:hover {
    background-color: #EFA740;
}
.form-inline .filtros-right .form-control {
    float: right;
    font-size: .9em;
    margin-left: 10px;
}

/* 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: #f5f5f5;
}

.table.table-vista {
    margin-bottom: 0;
    margin-top: 10px;
    border-bottom: 2px solid #ccc;
}
.table.table-vista th.acciones {
    width: 70px;
}
.table.table-vista th.acciones-15x {
    width: 105px;
}
.table.table-vista th.acciones-2x {
    width: 140px;
}
.table.table-vista .acciones a.disabled {
    color: #ccc;
}
.table.table-vista .acciones a {
    margin-right: 5px;
}
.table.table-vista .acciones a.btn-alta-ok,
.table.table-vista .acciones a.btn-alta-cancel {
    color: #fff;
    margin: 0;
    padding: 0 3px;
}
.table.table-vista .acciones a.btn-alta-ok i,
.table.table-vista .acciones a.btn-alta-cancel i {
    width: 12px;
}

.table.table-vista .success .acciones a,
.table.table-vista .warning .acciones a,
.table.table-vista .danger .acciones a,
.table.table-vista .info .acciones a,
.table.table-vista .primary .acciones a,
.table.table-vista .dark .acciones a {
    /*color: #fff;*/
}
.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 .cursos-div .popover-content {
    font-size: 12px;
}
.table.table-vista .icono {
   border-radius: 50%;
   height: 35px;
}
.table.table-vista td p {
    margin-bottom: 2px;
}
.table.table-vista tr.default {
    background-color: #fff;
}
.table.table-vista tr.sub {
    font-size: .9em;
}
.table.table-vista tr.sub td.sub:before {
    content: "> ";
    content: "\f054";
    font-family: 'Fontawesome';
    margin-right: 10px;
    color: #444;
}
.table.table-vista td span.fa {
    font-size: .8em;
    margin-right: 2px;
}
.table-stock tfoot {
    background-color: #eee;
}
.table-vista td.img-thumb {
    width: 100px;
    min-width: 50px;
}
.table-stock tfoot td {
    border-top: 1px solid #ccc !important;
}
.table-stock small {
    padding-left: 10px;
    color: #666;
    display: block;
}
.td-foot-bt0 {
    border-top: 0 !important;
}
/* vista detalle */
.detalle .box-body h4 {
    margin: 0;
    padding-bottom: 5px;
    vertical-align: top;
}
.detalle .box-body p {
    padding-bottom: 5px;
    margin-bottom: 6px;
}
.detalle .box-body h4,
.detalle .box-body p {
    width: 49%;
    display: inline-block;
    border-bottom: 1px dotted #eee;
}
.detalle .box-body.no-column h4 {
    margin: 4px 0 6px;
}
.detalle .box-body.no-column h4,
.detalle .box-body.no-column p {
    width: 100%;
    display: block;
    border-bottom: 0;
}
.detalle .box-body h4.no-border,
.detalle .box-body p.no-border {
    border: 0;
}
.stock .box-header .box-title {
    font-size: 1.6em;
}

/* 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: 5px 0;
}
.edit-form .div-upload .img-responsive.icono {
   border-radius: 50%;
}
.edit-form .has-error .note-editor {
    border-color: #A94442;
}
.edit-form .panel.note-editor {
    margin-bottom: 5px;
}
.edit-form .input-group-addon {
    font-size: 13px;
    background-color: #eee;
}
.edit-form small {
    color: #999;
}
.edit-form label {
    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;
}
.has-error button {
    border-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 .checkbox label,
.edit-form .radio label {
    padding-left: 0;
}*/
.edit-form .radio label img {
    border-radius: 50%;
    width: 35px;
    height: 35px;
    margin-right: 5px;
    margin-left: 5px;
}
.edit-form .box h3.color {
    margin-top: 0;
    margin-bottom: 6px;
}
.edit-form select.bg-primary {
    background-color: #2dcc70;
    color: #fff;
    font-weight: bold;
}
.edit-form textarea {
    overflow: hidden !important;
}
.form-control:focus {
    border-color: #2dcc70;
}

.edit-form .div-fotos-cargadas {
    padding: 20px;
}
.edit-form .div-fotos-cargadas div {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}
.edit-form .div-fotos-cargadas div .img-thumbnail {
    padding: 0;
    margin: 5px;
    border: 0;
}
.edit-form .col-n {
    width: 8%;
}
.edit-form .col-menos {
    width: 8%;
}
.btn-mas.disabled {
    cursor: not-allowed;
    color: #999;
}
.edit-form .stock .form-group {
    margin-bottom: 0;
}
.edit-form .stock .td-stock p,
.edit-form .stock .td-disp p,
.edit-form .stock .td-ee p,
.edit-form .stock .td-er p {
    margin: 6px 0 0;
    font-size: 100%;
    line-height: 1;
}
.edit-form .stock .btn-r {
    position: absolute;
    right: 20px;
    top: 7px;
}
.edit-form p {
    margin-bottom: 4px;
}
.edit-form blockquote,
.detalle blockquote {
    font-size: 14px;
    margin-bottom: 9px;
    border-bottom: 1px solid #ddd;
    padding: 7px 10px;
}
.edit-form .cancel {
    margin-left: 10px;
}
.div-archivos-cargados {
    padding: 5px 0 10px;
}
.div-archivos-cargados .thumb {
    border: 1px solid #ccc;
    margin-bottom: 5px;
}
.div-archivos-cargados .truncate {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    width: 70%;
    white-space: nowrap;
    overflow: hidden;
    float: left;
    text-overflow: ellipsis;
}
.detalle .div-archivos-cargados .truncate {
    width: 100%;
}

#dropzone-archivos .dz-preview {
    display: none;
}
#dropzone-archivos.dropzone.dz-started .dz-message {
    display: block;
}
.btn-archivo-eliminar {
    margin-right: 6px;
}
.evento-data {
    padding-left: 10px;
    border-left: 5px solid #ccc;
}
.evento-data hr {
    margin-top: 0;
}
.div-codigos {
    margin-bottom: 10px;
}
.form-group-codigos {
    margin-bottom: 5px;
}

/* select2 */
.select2-container {
    width: 100% !important;
}
.select2-container .select2-selection--single {
    height: 34px;
    border-radius: 0;
    border-color: #d2d6de;
}
.has-error .select2-container .select2-selection--single {
    border-color: #A94442;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 32px;
    right: 8px;
}

/* modal */
#modal-cerrar .modal-header {
    background-color: #00a7d0;
    color: #fff;
}
#modal-cerrar td {
    vertical-align: middle;
}
#modal-cerrar .form-group {
    margin: 0;
}
#modal-cerrar .edit-form .col-n {
    width: 25%;
}
#modal-cerrar p.badge {
    font-size: 1em;
}
#modal-cerrar tr.codigos {
    font-size: .9em;
    background-color: #eee;
}
#modal-cerrar tr.codigos td {
    padding: 0;
}
#modal-cerrar tr.codigos .cod {
    padding-left: 30px;
}
#modal-cerrar tr.codigos .check {
    text-align: right;
}
#modal-cerrar tr.codigos .check .checkbox {
    margin: 0;
}

#modal-despachar .modal-header {
    background-color: #00a65a;
    color: #fff;
}
#modal-despachar .badge {
    font-size: 1em;
}
#modal-despachar hr {
    border-color: #fff;
}

#modal-evento .modal-header {
    background-color: #00a7d0;
    color: #fff;
}

/* calendario */
.table-calendar thead th {
    background-color: #ccc;
    text-transform: uppercase;
    border: solid 1px #999;
    border-bottom: solid 2px #999 !important;
}
.table-calendar tbody td {
    height: 80px;
    width: 14.28% !important;
    min-width: 62px;
    background-color: #fff;
}
/*.table-calendar .feature-box {
    overflow: hidden;
    margin-bottom: 3px;
    padding: 5px !important;
    height: auto !important;
    background: #fff !important;
    border-bottom: solid 3px #ccc;
}
.table-calendar .feature-box .feature-box-icon {
    border-radius: 30px;
    display: inline-block;
    float: left;
    height: 30px;
    line-height: 30px;
    margin-right: 10px;
    position: relative;
    text-align: center;
    top: 0;
    width: 30px;
    background: #ccc;
}
.table-calendar .feature-box .feature-box-info {
    padding-left: 5px;
    padding-top: 3px;
    padding-bottom: 0;
}
.table-calendar .feature-box .feature-box-info p {
    margin: 0;
}
.table-calendar .feature-box .feature-box-info p.label {
    font-size: 1.2em;
    margin: 5px 0;
    display: block;
    white-space: normal;
    text-align: left;
}
.table-calendar .feature-box .feature-box-info h4 {
    margin: 0 0 3px;
    font-weight: bold;
}*/
.table-calendar .calendar-day {
    margin-bottom: 5px;
    padding: 0 0 0 3px;
}
.table-calendar .calendar-day.active {
    background-color: #dd4b39;
    font-weight: bold;
    color: #fff;
}
.table-calendar td .fa {
    background-color: #eee;
}
.table-calendar tbody tr td {
    border: solid 1px #ccc;
    border-bottom: solid 2px #ccc;
}
.table-calendar tbody td.calendar-selected {
    background: #f90;
}
.table-calendar tbody td.calendar-selected .calendar-day {
    color: #fff;
}
.dashboard .pag {
    background-color: #dd4b39;
    min-height: auto;
}
.dashboard .pag h3 {
    margin: 5px 0;
    color: #fff;
}
.dashboard .pag a {
    color: #fff;
}
.dashboard .pag a .fa {
    font-size: .8em;
}

.eventos-calendar-list {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}
.eventos-calendar-list .item {
    border-bottom: solid 3px #ccc;
    background-color: #ddd;
    border-radius: 4px;
    margin-bottom: 5px;
    padding: 8px;
}
.eventos-calendar-list .item p {
    margin-bottom: 3px;
}
.eventos-calendar-list .item p.label {
    font-size: 1.2em;
    margin: 5px 0;
    white-space: normal;
    text-align: left;
}

/* map */
#map {
    height: 250px;
    margin-bottom: 10px;
}
.alert-map {
    margin: 10px 0 0;
}

/* varios */
.mt5 {
    margin-top: 5px;
}

/* dropzone multiple*/
.dropzone {
    background-color: #eee;
    min-height: auto;
    border-width: 1px;
}
.dropzone .dz-preview {
    margin: 5px;
}
.dropzone .dz-preview.dz-image-preview {
    background-color: transparent;
}
.dropzone.dz-preview {
    width: 192px;
    height: 240px;
}
.dropzone .dz-preview .dz-image {
    border-radius: 3px;
    width: auto;
    height: auto;
}
.dropzone .dz-default span {
    color: #555;
}
.dropzone .dz-preview .dz-progress {
    width: 100px;
}
.dropzone .dz-preview .dz-details,
.dropzone .dz-preview .dz-size {
    display: none;
}
.dropzone .btn-foto-eliminar {
    bottom: 5px;
    right: 5px;
    position: absolute;
    z-index: 20;

}
.dropzone .btn-foto-cargada-ok,
.dropzone .btn-foto-destacar {
    bottom: 5px;
    right: 28px;
    position: absolute;
    z-index: 20;
}
.div-fotos-cargadas .btn-foto-cargada-eliminar {
    bottom: 9px;
    right: 11px;
    position: absolute;
    z-index: 20;
}
.div-fotos-cargadas .btn-foto-cargada-ok,
.div-fotos-cargadas .btn-foto-destacar {
    bottom: 9px;
    right: 34px;
    position: absolute;
    z-index: 20;
}
.div-upload .th {
    width: 200px;
}

/* sortable */
.sortable div.sortable-item {
    padding: 4px 8px;
    border: 1px solid #2dcc70;
    margin-bottom: 5px;
    background-color: #fff;
    cursor: ns-resize;
}
.sortable div.sortable-item.sortable-item-sub {
    font-size: .8em;
}
.sortable div.sortable-item.sortable-item-sub:first-child {
    margin-top: 5px;
}
.sortable .sortable-placeholder {
    background-color: #eee;
    border: 1px dashed #ccc;
    padding: 14px;
    margin-bottom: 4px;
}
