
body {
    padding: 0;
    margin: 0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance:textfield;
}


/* positioning, spacing and sizing*/
.tar {
    text-align: right;
}

.tal {
    text-align: left;
}

.tac {
    text-align: center;
}

.mvs {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.mhs {
    margin-left: 1rem;
    margin-right: 1rem;
}

.mrs {
    margin-right: 1rem !important;
}

.mts {
    margin-top: 1rem !important;
}

.mbn {
    margin-bottom: 0 !important;
}

.pbm {
    padding-bottom: 1rem;
}

.bls {
    border-left: 1px solid lightgray;
}

/* text remark*/
.remark-1 {
    font-weight: bold;
}

/* inputs */
.input-xs {
    height: 27px;
}

.input-w-xs {
    width: 2.5rem;
    display: inline-block;
}

.input-w-sm {
    width: 10rem;
    display: inline-block;
}

.input-w-fill {
    width: 100%;
}

.h-half {
    height: 250px;
}

.row-flex {
    display: flex;
    align-items: center;
}

.row-flex-stretch {
    display: flex;
    align-items: stretch;
}

.row-flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.row-flex-direction {
    flex-direction: column;
}

.row-padding-sm [class*="col-"] {
    padding-left: 2px;
    padding-right: 2px;
}

.row-padding-sm [class*="col-"]:first-child {
    padding-left: 15px;
}

.row-padding-sm [class*="col-"]:last-child {
    padding-right: 15px;
}


.btn.btn-md {
    max-width: 158px;
    width: 100%;
    border-radius: 0;
    padding: 10px 5px;
    font-size: 1em;
    margin-bottom: 5px;
}

.btn.btn-w-md {
    min-width: 150px;
}


/* buttons */
.btn i:first-child {
    margin-right: 0.5em;
}

.btn-xs {
    font-size: 10px !important;
}

.btn .glyphicon {
    margin-right: 5px;
    vertical-align: top;
    margin-top: 1px;
}

[data-password] {
    cursor: pointer;
}

/* forms */
.form-horizontal .control-label {
    text-align: right;
}

.form-horizontal textarea {
    resize: vertical;
}

.form-ta {
    resize: vertical;
}

.form-info {
  padding: 10px 0;
}

.form-info p {
  font-size: 12px;
  margin-top: -4px;
}

.form-info p > span {
  font-size: 15px;
  margin-left: 9px;
}

.no-wrap {
    white-space: nowrap;
}

.table-control td {
    vertical-align: middle;
}

.form-block {
    display: block !important;
}

/* modals */

.modal-md {
    width: 700px;
    margin-top: 70px;
}

.modal-lg {
    margin-top: 100px;
}

.modal-xlg {
    width: 95%;
    max-width: 1100px;
}

.modal-header .close {
    width: 30px;
    height: 30px;
    margin-right: 15px;
}

.modal-header h4 {
    font-size: 17px;
}
.modal-header {
    padding: 12px 21px;
    background-color: #0071BC;
    overflow: hidden;
    border-radius: 2px 2px 0 0;
    color: white;
}

.modal-footer {
    background-color: #F7F7F7;
    border-radius: 0 0 5px 5px;
    padding: 15px 15px 7px 15px !important;
}

.modal-footer .btn {
    font-size: 12px;
    margin-bottom: 8px !important;
}




/* dialogs */
.k-confirm .k-window-titlebar,
.k-prompt .k-window-titlebar,
.k-widget.k-window.k-dialog.k-alert .k-dialog-titlebar {
    display: none;
}

.k-dialog.k-alert .k-dialog-content, .k-dialog.k-confirm .k-dialog-content, .k-dialog.k-prompt .k-dialog-content {
    padding: 24px 24px;
    font-size: 16px;
}

.k-state-selected {
    box-shadow: none;
    background-color: #d1ebfd !important;
}

.k-widget.k-tooltip-validation {
    border-color: #f00;
    background-color: #ff5353;
    color: white;
    box-shadow: none;
    background-image: none;
    border-radius: 0 0 4px 4px;
    width: calc(100% - 13px);
    margin-top: -3px;
    display: block;
    text-align: left;
    font-size: 12px;
    padding: 4px 0 2px 11px;
}

/* grid */
.k-grid {
    /* la fuente tiene que soportar unicode para la exportación de los grids a pdf*/
    font-family: "DejaVu Sans", "Arial", sans-serif;
}

.k-grid tr td {
    border: none;
}

.grid-simple .k-grid-header {
    display: none;
}

.grid-simple .k-auto-scrollable {
    height: 100% !important;
}

tr.k-state-selected {
    box-shadow: none !important;
    background-color: #d1ebfd !important;
    color: black !important;
}

/* combos */
.k-i-arrow-60-down::before {
    color: #0071BC;
    content: "\e015" !important;
}

.k-i-arrow-60-up::before {
    color: #0071BC;
    content: "\e013" !important;
}

/* selects */
.k-list .k-state-selected,
.k-multiselect .k-state-selected {
    background-color: lightblue !important;
    border-radius: 0 !important;
}

.k-multiselect .k-button {
   background: #357ebd !important;
}

/* gallery */
.image-gallery {
    background-color: #f7f7f7;
    padding: 10px;
    min-height: 110px;
}

.image-gallery-modal img {
    width: calc(100% + 32px);
    height: auto;
    margin: -16px;
}

.lslide {
    overflow: hidden;
    text-align: center;
    background-color: #f7f7f7;
    border-radius: 2px;

    background-image: url('../img/loading.gif');
    background-size: 48%;
    background-repeat: no-repeat;
    background-position: center;
    width: 154.556px !important;
}

.lslide img {
    cursor: pointer;
}

.lslide.active {
    border-left: none;
    background-color: #f7f7f7;
}

.lightSlider {
    width: 500px !important;
    height: 115px !important;
}

