﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}
/*.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;*/ /* Vertically center the text there */
/*}*/
input.form-control {
    background-color: #FCFCFC;
}

.form-control {
    background-color: #FCFCFC;
}

.fila-min {
    min-height: 80px !important;
}

.cursorPointer {
    cursor: pointer;
}

#button-up {
    width: 60px;
    height: 60px;
    background: #46a2fd;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 50%;
    font-size: 20px;
    position: fixed;
    bottom: 50px;
    right: 50px;
    cursor: pointer;
    border: 4px solid transparent;
    transition: all 300ms ease;
    transform: scale(0);
    z-index: 1000;
}

    #button-up:hover {
        transform: scale(1.1);
        border-color: rgba(0,0,0,0.1);
    }
/* Set style select2 
-------------------------------------------------- */
.select2 {
    width: 100% !important;
}

select.form-control:not([size]):not([multiple]) {
    height: calc(1.5em + 0.75rem + 2px) !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    padding-right: 0;
    height: auto;
    margin-top: -3px;
}

.select2-search__field {
    border: 1px solid #e5e6e7 !important;
    border-radius: 0.25rem !important;
}

.select2-container--default .select2-selection--single,
.select2-selection .select2-selection--single {
    border: 1px solid #e5e6e7 !important;
    border-radius: 0.25rem !important;
    padding: 6px 12px;
    height: 35px !important;
    background-color: #FCFCFC !important;
}

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 26px;
        position: absolute;
        top: 6px !important;
        right: 2px;
        width: 20px
    }


tr td:last-child {
    width: 1%;
    white-space: nowrap;
}

label.form-control {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.texto-largo {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.texto-largo-dos {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

fieldset {
    background-color: #F3F3F4;
}

.datepickerDisableFuture {
    background-color: #FCFCFC !important;
}

.datepickerDisablePast {
    background-color: #FCFCFC !important;
}

.datepickerDisableBeforeContract {
    background-color: #FCFCFC !important;
}

.datepicker {
    background-color: #FCFCFC !important;
}

.swal-wide {
    width: 80% !important;
    height: auto !important;
}

.swal-height {
    max-height: 70vh;
}

.swal2-container {
    z-index: 2001;
}

.required-label {
    font-weight: bold;
}

    .required-label:after {
        color: #e32;
        content: ' *';
        display: inline;
    }
/* Set style paginacion tablas
-------------------------------------------------- */
.paginacion {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
    width:auto;
}

    .paginacion > li > a {
        background-color: #FFFFFF;
        border: 1px solid #DDDDDD;
        color: inherit;
        float: left;
        line-height: 1.42857;
        margin-left: -1px;
        padding: 4px 10px;
        position: relative;
        text-decoration: none;
        width: 34px;
    }

.middle-column {
    float: left;
    margin-left: auto;
    margin-right: auto;
}

.center-content {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* TOOGLE SWICH */
.onoffswitchcustomcustom {
    position: relative;
    width: 64px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.onoffswitchcustomcustom-checkbox {
    display: none;
}

.onoffswitchcustomcustom-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #1ab394;
    border-radius: 2px;
}

.onoffswitchcustomcustom-inner {
    width: 200%;
    margin-left: -100%;
    -moz-transition: margin 0.3s ease-in 0s;
    -webkit-transition: margin 0.3s ease-in 0s;
    -o-transition: margin 0.3s ease-in 0s;
    transition: margin 0.3s ease-in 0s;
}

    .onoffswitchcustom-inner:before,
    .onoffswitchcustom-inner:after {
        float: left;
        width: 50%;
        height: 20px;
        padding: 0;
        line-height: 20px;
        font-size: 12px;
        color: white;
        font-family: Trebuchet, Arial, sans-serif;
        font-weight: bold;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .onoffswitchcustom-inner:before {
        content: "XML";
        padding-left: 10px;
        background-color: #1ab394;
        color: #FFFFFF;
    }

    .onoffswitchcustom-inner:after {
        content: "CSV/XLSX";
        padding-right: 10px;
        background-color: #FFFFFF;
        color: #999999;
        text-align: right;
    }

.onoffswitchcustom-switch {
    width: 20px;
    margin: 0;
    background: #FFFFFF;
    border: 2px solid #1ab394;
    border-radius: 2px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 44px;
    -moz-transition: all 0.3s ease-in 0s;
    -webkit-transition: all 0.3s ease-in 0s;
    -o-transition: all 0.3s ease-in 0s;
    transition: all 0.3s ease-in 0s;
}

.onoffswitchcustom-checkbox:checked + .onoffswitchcustom-label .onoffswitchcustom-inner {
    margin-left: 0;
}

.onoffswitchcustom-checkbox:checked + .onoffswitchcustom-label .onoffswitchcustom-switch {
    right: 0;
}

.onoffswitchcustom-checkbox:disabled + .onoffswitchcustom-label .onoffswitchcustom-inner:before {
    background-color: #919191;
}

.onoffswitchcustom-checkbox:disabled + .onoffswitchcustom-label,
.onoffswitchcustom-checkbox:disabled + .onoffswitchcustom-label .onoffswitchcustom-switch {
    border-color: #919191;
}
/* SWITCHES */
.onoffswitchcustom {
    position: relative;
    width: 54px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.onoffswitchcustom-checkbox {
    display: none;
}

.onoffswitchcustom-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #1AB394;
    border-radius: 3px;
}

.onoffswitchcustom-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    -moz-transition: margin 0.3s ease-in 0s;
    -webkit-transition: margin 0.3s ease-in 0s;
    -o-transition: margin 0.3s ease-in 0s;
    transition: margin 0.3s ease-in 0s;
}

    .onoffswitchcustom-inner:before,
    .onoffswitchcustom-inner:after {
        display: block;
        float: left;
        width: 50%;
        height: 16px;
        padding: 0;
        line-height: 16px;
        font-size: 10px;
        color: white;
        font-family: Trebuchet, Arial, sans-serif;
        font-weight: bold;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .onoffswitchcustom-inner:before {
        content: "XML";
        padding-left: 7px;
        background-color: #1AB394;
        color: #FFFFFF;
    }

    .onoffswitchcustom-inner:after {
        content: "CSV";
        padding-right: 7px;
        background-color: #FFFFFF;
        color: #919191;
        text-align: right;
    }

.onoffswitchcustom-switch {
    display: block;
    width: 18px;
    margin: 0;
    background: #FFFFFF;
    border: 2px solid #1AB394;
    border-radius: 3px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 36px;
    -moz-transition: all 0.3s ease-in 0s;
    -webkit-transition: all 0.3s ease-in 0s;
    -o-transition: all 0.3s ease-in 0s;
    transition: all 0.3s ease-in 0s;
}

.onoffswitchcustom-checkbox:checked + .onoffswitchcustom-label .onoffswitchcustom-inner {
    margin-left: 0;
}

.onoffswitchcustom-checkbox:checked + .onoffswitchcustom-label .onoffswitchcustom-switch {
    right: 0;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #dee2e6 !important;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid #dee2e6 !important;
}

/*.select2-results {
    border: 8px solid #dee2e6 !important;
}*/

.text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.disabled {
    opacity: 0.5;
    pointer-events: none;
}

#error-message {
    color: red;
    margin-top: 10px;
    display: none;
}
