﻿body {
    overflow-x: hidden;
}

/* Navbar */

.login-iris-logo {
    width: 150px;
    height: 44px;
    margin: 0 auto;
    display: block;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

.brand-logo {
    width: 100%;
    height: 24px;
    background-size: auto 24px;
    background-repeat: no-repeat;
    background-position: center center;
}

.brand-logo__text {
    color: transparent;
}

/* Badges */

.image-badge {
    display: inline-block !important;
    background-repeat: no-repeat !important;
    background-position: center left !important;
}

.image-badge--18px {
    padding-left: 22px !important;
    background-size: 18px auto !important;
}

.image-badge--olimpo {
    background-image: url(../img/badges/olimpo.png) !important;
}

.image-badge--harftechnologies {
    background-image: url(../img/badges/harftechnologies.jpg) !important;
}

/* Form defaults */

.form-text {
    display: block;
}

.form-layout label,
.form-layout .form-control,
.form-layout .form-text {
    margin-bottom: 5px !important;
}

/* jQuery validate */

.valid,
.valid ~ .select2 .select2-selection {
    border-color: #6fc080 !important;
}

.input-validation-error,
.input-validation-error ~ .select2 .select2-selection {
    border-color: #dd6777 !important;
}

.field-validation-error {
    color: #dd6777;
    font-size: x-small;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Select2 */

.select2-container {
    width: 100% !important;
    display: block !important;
}

.select2-selection__rendered {
    line-height: 32px !important;
}

.select2-container .select2-selection--single {
    height: 34px !important;
}

.select2-selection__arrow {
    height: 32px !important;
}

.select2-dropdown, .select2-selection {
    border-color: #e4e4e4 !important;
    border-radius: 0 !important;
}


select.error ~ .select2-container .select2-selection {
    border-color: #dd6777 !important;
    border-bottom: solid 2px #dd6777 !important;
}

/* DataTable */

.dataTable th {
    font-size: 85% !important;
}

.datatable-custom-header {
    margin-bottom: 20px;
}

    .datatable-custom-header:after {
        clear: both;
        content: '';
        display: block;
    }

.datatable-custom-body {
    overflow-x: auto;
}

.datatable-custom-footer {
    margin-top: 20px;
}

.dataTables_filter label {
    display: flex;
    align-items: center;
    justify-content: center;
}

.datatable-highlighted-row {
    background-color: #d0eaf6 !important;
}

/* Google ReCAPTCHA */

.grecaptcha-badge {
    display: none;
}

/* Documentos fiscales */

.documento-fiscal {
    margin: .5em 0;
    padding: 1em;
    border-width: 1px;
    border-style: solid;
    border-color: #eaeaea;
    border-radius: 5px;
}

.documento-fiscal__nombre {
    font-weight: bold;
}

.documento-fiscal__especificacion {
    color: #888;
    margin: .5em 0;
    padding: 0 1em;
    font-size: 95%;
    min-height: 50px;
    border-bottom: solid 1px #eaeaea;
}

.documento-fiscal__opciones-adjunto,
.documento-fiscal__opciones-sin-adjuntar {
    display: inline;
}

/* Cuentas bancarias */

.cuenta-bancaria td {
    vertical-align: middle !important;
}

.cuenta-bancaria--preferida {
    background-color: #6ec7e6 !important;
    background-color: rgba(110, 199, 230, 0.15) !important;
}

/* Text overflow */

.text-overflow-mw75,
.text-overflow-mw150,
.text-overflow-mw250 {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.text-overflow-mw75 {
    max-width: 75px;
}

.text-overflow-mw150 {
    max-width: 150px;
}

.text-overflow-mw250 {
    max-width: 250px;
}

/* Vertical align */

th.vertical-align-middle,
td.vertical-align-middle,
tr.vertical-align-middle th,
tr.vertical-align-middle td {
    vertical-align: middle !important;
}

/* Title for tooltips */

span[title],
.tooltip-this[title] {
    cursor: help;
}

.tooltip-this[title] {
    border-bottom: dotted 1px;
}

/* Helpers */

.caps-small {
    font-variant: small-caps;
    letter-spacing: .05em;
    text-transform: lowercase;
}

.cs-small-caps {
    font-variant: small-caps;
    text-transform: lowercase;
    letter-spacing: .05em;
}

.cs-text-small {
    font-size: small;
}

/* Lity */

.lity-active body {
    height: 100vw;
    overflow: hidden;
}

/* Checkbox */

.iris-checkbox {
    cursor: pointer;
}

.iris-checkbox__input {
    display: none;
}

.iris-checkbox__input ~ .iris-checkbox__checked-icon {
    display: none;
}

.iris-checkbox__input ~ .iris-checkbox__unchecked-icon {
    display: initial;
}

.iris-checkbox__input:checked ~ .iris-checkbox__checked-icon {
    display: initial !important;
}

.iris-checkbox__input:checked ~ .iris-checkbox__unchecked-icon {
    display: none !important;
}

.form-control-static--dashed {
    border-bottom: dashed 1px;
}

.form-control-static--monospaced {
    font-size: 105%;
    font-family: monospace;
}